
@font-face {
  font-family:Lato-Heavy;
  src:url("./lato-heavy-webfont.woff");
  font-weight:bold;
}

@font-face {
  font-family:Lato-Light;
  src:url("./lato-light-webfont.woff");
  font-weight:normal;
}

@font-face {
  font-family:Lato-Regular;
  src:url("./lato-regular-webfont.woff");
  font-weight:normal;
}

body{
	background-color: #dbe5f6;
	color: #0050aa;
	margin: 0;
}

body, div {
	font-family:Lato-Regular;
}

a{
	color: rgba(0,174,249,1);
	text-decoration: none;
}

a[href$=".pdf"], .pdf {
	padding-left:20px;
	background:url("../img/pdf32.png") no-repeat left top;
	background-size:16px 16px;
}

a[href$=".xls"], a[href$=".xlsx"], .xls {
	padding-left:20px;
	background:url("../img/xls32.png") no-repeat left top;
	background-size:16px 16px;
}

a[href$=".doc"], a[href$=".docx"], .word {
	padding-left:20px;
	background:url("../img/word32.png") no-repeat left top;
	background-size:16px 16px;
}

a[href$=".ppt"], a[href$=".pps"], a[href$=".pptx"], a[href$=".odp"], .ppt {
	padding-left:20px;
	background:url("../img/ppt32.png") no-repeat left top;
	background-size:16px 16px;
}

a[href$=".zip"], a[href$=".7z"], .zip {
	padding-left:20px;
	background:url("../img/zip32.png") no-repeat left top;
	background-size:16px 16px;
}

img{
	border: 0;
}

hr{
	margin: 20px 0;
}

h1{
	font-size: 20px;
	margin-bottom: 20px;
	margin-top: 0px;
	text-shadow:0 0 1px transparent;
	color: #0050aa;
}

h2, h3{
color: #0050aa;
font-weight: normal;
}

h1 ~ .news_data {
    margin-top: -15px;
}

#wrapper{
	width: 930px;
	margin: 0 auto;
}

header{
	display: block;
	width: auto;
	border-right: 14px solid rgba(255,205,0,1);
	background-color: #ffffff;
	min-height: 210px;
	position: relative;
}
#header_left{
	display: table-cell;
}

#logo{
	height: 210px;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

#logo a img{
	margin: 0;
	max-height: 190px;
}

#title{
	text-align: left;
	text-transform: uppercase;
	display: table-cell;
	height: 210px;
	vertical-align: middle;
}

#title span#page_title{
	color: #0050aa;
	margin: 30px 30px 30px 0;
	font-size: 170%;
	font-weight: bold;
	display:inline-block;
}


#header_right {
	display: table-cell;
	height: 15px;
	margin: 10px;
	position: absolute;
	top: 0;
	right: 0;
}

#lang_select{
width: 60px;
}

#hamburger{
	color: #e8eaf2;
	width: 33px;
	height: 33px;
	margin: 7px 12px;
	text-align: center;
	vertical-align: middle;
	border: 1px solid #e8eaf2;
	border-radius: 3px;
	background-color: rgba(232,234,242,0.2);
	display: none;
}

#hamburger .fa{
	line-height: 2;
	font-size: 16px;
}

#banner{
	border-bottom: 6px solid rgba(255,205,0,1);
	margin: 0;
	padding: 0;
}

#banner img {
	width:100%;
	height: 233px;
	margin: 0;
	padding: 0;
	display:block;
}

#content-wrapper{
	display: table;
	width: 100%;
}

nav {
	font-family: Lato-Regular;
	text-transform: uppercase;
	background-image: none;
	max-width: 200px;
	background-color: #ffffff;
	width: 200px;
	display: table-cell;
	vertical-align: top;
}

nav ul{
	margin: 0 0 20px 18px;
	padding: 18px 20px 0 0;
	list-style: none;
	font-size: 18px;
	line-height: 21px;
	font-weight: normal;
	width: 200px;
}

nav ul li {
	padding: 7px;
}

nav ul li a{
	color: #0050aa;
	text-decoration:none;
}

nav ul li a:hover{
	color: rgba(0,174,249,1);
	text-decoration:none;
}


nav ul li.menu_header span{
	text-decoration:none;
	font-weight: bold;
}

nav.right{
	display: none;
}

#content{
	padding: 25px 25px 10px 25px;
	font-size: 16px;
	line-height: 20px;
	background-color:#ffffff;
	width: 100%;
	min-height: 400px;
	display: table-cell;
}

#content p:first-of-type{
	margin-top: 0;
}

#content a{
	color: rgba(0,174,249,1);
}

#content a:hover{
	color: rgba(0,174,249,1);
	text-decoration: underline;
}

#content iframe[src*="youtube"], #content iframe[src*="youtu.be"] {
	width:100%;
	height:400px;
	border:none;
}

h3:empty {
	display: none;
}

footer{
	display: table;
	border-collapse: separate;
	border-spacing: 25px;
	width: 100%;
	background: #0050aa;
	color: #ffffff;
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 18px;
}

footer a {
	color: rgba(255,205,0,1);
	text-decoration: none;
}

footer a:hover {
	color: rgba(255,205,0,1);
	text-decoration: underline;
}

footer h2{
	color: #ffffff;
}

footer > div{
	display: table-cell;
	margin: 0;
	padding: 0;
	text-align: left;
	vertical-align: top;
	width: 200px;
	background: none;
	text-transform: none;
	font-family: Lato-Regular;
	font-size: 14px;
	line-height: 18px;
}

footer > div#footer_content :first-of-type{
margin-top: 0;
}

footer > div#footer_content :last-of-type{
margin-bottom: 0;
}

footer > div:last-child{
	width: auto;
}

footer > div img {
	display: block;
	width: 200px;
	height: auto;
}

footer > div h2 {
	display: block;
	margin: 6px 0 0 0;
	font-size: 18px;
	line-height: 22px;
	text-transform: uppercase;
}

img.img_default{
width: 100%;
height: auto;
}

img.img_left{
width: 200px;
height: auto;
float: left;
margin-right:25px;
margin-bottom:15px;
}

img.img_right{
width: 200px;
height: auto;
float: right;
margin-left:25px;
margin-bottom:15px;
}

img.img_center{
width: 200px;
height: auto;
margin: 15px auto;
display: block;
}

img.img_center2{
width: 450px;
height: auto;
margin: 15px auto;
display: block;
}



#login{
	width: 300px;
	display: inline-block;
}

#login input{
	width: 200px;
	margin: 3px;
	padding: 0;
	height: 20px;
}
#login select{
	width: 202px;
	margin: 3px 3px 3px -1px;
	padding: 0;
	height: 22px;
}
#login .button{
	width: 80px;
	height: 26px;
}

#register{
	border-left: 1px solid #808080;
	display: inline-block;
	height: 100px;
	margin-left: 30px;
	text-align: center;
	vertical-align: top;
	width: 280px;
}
#register a{
	color: #000000;
	display: inline-block;
	margin-top: 20px;
	width: 120px;
}
#register a:hover{
	text-decoration: none;
	color: #000000;
}


h4.err{
	color: #971515;
}

h4.ok{
	color: #4dad54;
}


.navigation{
	text-align: right;
	padding: 0 10px;
}

table.settings_box{
 width: 100%;
}

.settings_box{
	border: 1px solid #9e9e9e;
	border-radius:2px;
	margin: 10px 0;
	
	border-collapse: collapse;
}


.settings_box .title, .settings_box .title td, .settings_box h4 {
	background:#d9d9d9 url("../img/gradient.png") repeat-x 0 0/1px 105%;
	border-bottom:1px solid #d0d0d0;
	margin: 0;
	padding: 5px;
}

.settings_box span.label{
	display: block;
	padding: 3px 3px 1px 3px;
}
.settings_box div.options{
	display: block;
	padding-left: 15px;
	margin-bottom: 8px;
}

.settings_box td{
	padding: 2px;
}

.settings_box .hover_tr {
	background:url("../img/gradient_p2.png") repeat-x 0 0/1px 105%;
}

.settings_box ul {
	padding-left:25px;
}

.settings_box textarea{
 width: 99%;
}



#menu_box{
  border: 1px solid #DBDCDF;
}

#menu_box .title {
	font-weight: bold;
	background-color: #E8E8E8;
	padding: 5px;

}

#menu_box .title span{
	margin: 2px;
}

#menu_box span{
	display: inline-block;

}


.wid{
	width: 40px;
}
.naglowek{
	width: 80px;
}
.nazwa{
	width: 200px;
}
.jez{
	width: 200px;
	margin-left:10px;
}
.sciezka{
	width: 280px;
}
.del{
	width:20px;
}

#menu_box ul{
	margin: 0;
	padding: 0;
}

#menu_box li{
	display: block;
	padding: 5px;
	margin: 2px;
	background-color: #f3f4f7;
	border: 1px solid #e5e7ef;
}

#menu_box li.del_li{
	background-color: #d0b6bb;
}

span.label_lang {
	display:inline-block;
	width:30px;
}

.form_box span.label{
	display: inline-block;
	width: 150px;
}

.form_item{
	display: table;
	margin: 2px;
}
.form_item span, .form_item div{
	display: table-cell;
	vertical-align: middle;
}

.form_item input[type=text], .form_item input[type=password]{
	width: 200px;
}

.payment_table{
	display: table;
	border: 1px solid grey;
}
.payment_item{
	display: table-row;
}
.payment_label{
	display: table-cell;
	width: 90%;
	padding: 5px 10px;
	border-right: 1px solid grey;
	border-bottom: 1px solid grey;
}
.payment_label span, .payment_label div{
	display: inline-block;
	vertical-align: middle;
}
.payment_label span{
	min-width: 200px;
}
.payment_label div{
	margin-left: 20px;
}
.payment_price{
	display: table-cell;
	min-width: 60px;
	padding: 5px 10px;
	text-align: right;
	border-bottom: 1px solid grey;
}
.payment_item:last-of-type .payment_label, .payment_item:last-of-type .payment_price{
	border-top: 1px solid grey;
	border-bottom: 0;
	font-weight: bold;
}

.del_tr, .del_li, #menu_box li.del_li, .settings_box .del_tr{
	background-color: #d0b6bb;
}
.new_tr, .new_li, #menu_box li.new_li, .settings_box .new_tr{
	background-color: #c8e8d7;
}

select {
	border:1px solid #9e9e9e;
	border-radius:2px;
	padding:3px;
	background-color:#ffffff;
	margin:2px 0;
}

input[type=text], input[type=password] {
	border:1px solid #9e9e9e;
	border-radius:2px;
	padding:4px;
	background-color:#ffffff;
	margin-bottom:2px;
}

input[type=submit], input[type=button], #register a {
	border:1px solid #9e9e9e;
	border-radius:2px;
	padding:4px 10px;
	background:#d9d9d9 url("../img/gradient.png") repeat-x 0 0/1px 105%;
}

input[type=submit]:hover, input[type=button]:hover, #register a:hover {
	border:1px solid #606060;
	background:url("../img/gradient_p2.png");
}

img.lista {
	vertical-align:middle;
	margin:3px;
}

input.error, select.error{
 background-color: #FFABAE;
}



.news{
padding: 15px 0;
border-bottom: 1px solid grey;
}
.news:hover{
cursor: pointer;
}
.news:last-of-type{
border-bottom: none;
}
.news_title{
	font-weight: bold;
	font-size: 110%;
}
.news_data,.news_author{
	opacity: 0.6;
	font-size: 80%;
}
.news_text{
 text-align: justify;
 margin: 10px 0;
}

.news_full_text{
 margin: 10px 0;
}

.news_text p{
margin: 0;
}

.news_photo_s img{
width: 150px;
float:left;
margin-right:25px;
margin-bottom:15px;
}

.news_photo_m img{
width: 300px;
float:left;
margin-right:25px;
margin-bottom:15px;
}


.news_more{
display: block;
float: right;
}


#news_grafika {
margin-bottom: 15px;
}


#news_grafika img{
width: 200px;
}

#sortable_gallery{
list-style-type: none;
margin: 0;
padding: 0;
}
#sortable_gallery li{
margin: 3px;
display: inline-block;
}

#sortable_gallery li div.gallery_image{
padding: 6px;
background-color: #aaaaaa;
border: 1px solid #666666;
border-radius: 3px;
text-align: center;
}

#sortable_gallery li div.gallery_image input[type="text"]{
min-width: 100px;
width: 100%;
margin: 5px 0 0 0;
}

div.gallery_image img{
max-width: 500px;
max-height: 200px;
height: 150px;
}

#photos{
display:block;
}

.delete_x{
width: 20px;
height: 20px;
border: 1px solid #333333;
border-radius: 10px;
background-color: #cccccc;
background-image: url('../img/del.png');
background-repeat: no-repeat;
background-position: center center;
float: right;
margin: -10px;
}

div.photo_gallery{
 font-size: 0;
 line-height: 0;
 max-width: 680px;
}
a.photo{
display: inline-block;
margin: 0 10px 10px 0;
}
a.photo img{
display: block;
height: 142px;
}

#content #blueimp-gallery a{
color: #fff;
}




@media screen and (max-width: 930px) {

	header {
		min-height:none;
		height:165px;
	}

	#title {
		height:165px;
	}

	#logo {
		height:165px;
	}

	#logo a img{
		max-height: 130px;
	}

	#title span#page_title{
		font-size: 135%;
	}

	#banner img {
		height: 183px;
	}

	#wrapper{
		max-width: 730px;
	}
	#content{
		max-width: 530px;
	}

	#content iframe[src*="youtube"], #content iframe[src*="youtu.be"] {
		height:280px;
	}
	
	.news_photo_m img{
		width: 100%;
		margin-bottom: 20px;
	}

	a.photo img{
		height: 150px;
	}

	div.gallery_image img{
		max-width: 450px;
		max-height: 150px;
		height: 150px;
	}

	img.img_center2{
		width: 350px;
	}
}

@media screen and (max-width: 730px) {

	header {
		min-height: 150px;
		height:160px;
	}

	#title {
		height:140px;
	}

	#title span#page_title {
		font-size:110%;
	}

	#logo {
		height: 140px;
	}

	#logo a img {
		height:110px;
	}

	#banner img {
		height: 155px;
	}

	#wrapper{
		max-width: 620px;
		width: 100%;
	}

	#content{
		max-width: 450px;
	}
	
	#content iframe[src*="youtube"], #content iframe[src*="youtu.be"] {
		height:240px;
	}
	
	nav{
		max-width: 180px;
	}
	nav ul{
		max-width: 180px;
	}
	footer > div{
		width: 180px;
	}
	footer > div img {
		display: block;
		width: 170px;
		height: auto;
	}

	footer > div h2{
		font-size: 16px;
	}

	a.photo img{
		height: 16.5vw;
	}

	div.gallery_image img{
		max-width: 400px;
		max-height: 120px;
		height: 120px;
	}
}



@media screen and (max-width: 620px) {

	header {
		height: 50%;
		min-height: 50px;
		min-width: 221px;
		max-width: 620px;
	}

	#header_left{
		height: 50%;
		min-height: 50px;
		max-width: 620px;
		width: 100%;
	}
	#header_right{
		position: relative;
		vertical-align: top;
		padding: 5px;
		text-align: center;
	}

	#title {
		max-width: 400px;
		height: 50px;
		min-height: 50px;
		max-height: 140px;
		text-align: left;
		width: 100%;
	}

	#title span#page_title {
		font-size:110%;
		margin: 3px 10px;
	}

	#logo{
		height: 80px;
	}
	#logo a img{
		max-height: 80px;
		margin: 0;
	}

	#banner img {
		height: 25vw;
	}

	#content{
		max-width: 620px;

	}
	
	#content iframe[src*="youtube"], #content iframe[src*="youtu.be"] {
		height:240px;
		height:56vw;
	}
	
	nav{
		display: none;
	}
	nav.mobile_nav{
		position: absolute;
		right:0;
		top:72px;
		display: block;
		width: 200px;
		max-width: 200px;
		background-color: #fffae6;
	}

	nav.mobile_nav ul{
		width: 200px;
		max-width: 200px;
	}

	#hamburger{
		display: block;
	}

	#footer_img,#footer_title{
		display: none;
	}


	a.photo img{
		height: 27vw;
		width: auto;
	}

	div.gallery_image img{
		max-width: 400px;
		max-height: 140px;
		height: 140px;
	}
}
@media screen and (max-width: 450px) {
	#title span#page_title{
		font-size: 100%;
	}
	#logo a img{
		max-width: 35vw;
		height:auto;
		margin: 0;
	}
	.news_photo_s img{
		width: 100%;
		margin-bottom: 20px;
	}
	img.img_left, img.img_right, img.img_center, img.img_center2{
		width: 100%;
		margin-left: 0;
		margin-right: 0;
		margin-bottom: 20px;
		margin-top: 10px;
	}

	a.photo img{
		width: 100%;
		height: auto;
		max-height:none;
	}

	div.gallery_image img{
		max-width: none;
		max-height: none;
		width: 100%;
		height: auto;
	}

}


@media screen and (max-width: 400px) {
	.form_item {
		display: block;
		margin-top: 4px;
		margin-bottom:: 4px;
		}
  .form_item span.label{
		display: block;
	}
	.form_item input[type=text],.form_item input[type=password], .form_item select, form_item span.hidden_input{
		display: block;
		width: 95%;
		max-width: 340px;
	}

}

@media screen and (max-width: 350px) {
	#title span#page_title{
		font-size: 80%;
		margin: 2px;
	}

}


