@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: #ffffff;
	color: #034ea1;
	margin: 0;
}

body, div {
	font-family:'Lato-Regular';
	font-size:10pt;
}

a {
	color:#5965ab;
	text-decoration:none;
}

a:hover {
	color:#8585c1;
	text-decoration:underline;
}

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: 24px;
	margin-bottom: 20px;
	margin-top: 0px;
	text-shadow:0 0 1px transparent;
}

h1, h2, h3{
color: #034ea1;
}

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

header{
	background-color: #ffffff;
  border-bottom:6px solid #ffcd00;
	position: relative;
	display: table !important;
	width: 100%;
}

#header_left{
	display:table-cell;
}

#logo{
	height: 150px;
	display:table-cell;
	vertical-align:middle;
	text-align:left;
}
#logo img{
	margin: 10px;
	max-height: 150px;
	max-width: 320px;
}

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

#title span#page_title{
	margin: 15px;
	display:inline-block;
	text-align:center;
  font-family:'Lato-Heavy', Arial, sans-serif;
  font-weight:bold;
  text-transform:uppercase;
  font-size:30px;
  line-height:32px;
}



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

#lang_select{
	width: 40px;
}

#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:hover{
	cursor: pointer;
}

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

#banner{
	/*border-bottom: 6px solid #a9ca43;*/
	margin: 0;
	padding: 0;
}

#banner img {
  display:block;
  width:100%;
  height:auto;
}

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

nav {
	background-color: #034ea1;
	width: 200px;
	display: table-cell;
	vertical-align:top;
	font-family:'Lato-Regular', Arial, sans-serif;
	font-weight:normal;
	padding:10px 0;
}

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

nav ul li {
	padding:5px 10px;
}

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

nav ul li a:hover{
	color: #ffcd00;
	text-decoration:none;
}

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

nav ul:not(:first-of-type) li.menu_header {
	padding: 30px 10px 5px 10px;
}

nav.right{
	display: none;
}

#content{
	width: 100%;
	padding: 10px;
	background-color:rgba(248,248,248,1);
	min-height: 400px;
	display: table-cell;
}

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

#content a{
	color: #0084ea;
}
#content a:hover{
	text-decoration: underline;
}

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

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

#content h3 {
  margin-top:0;
}

h3:empty {
	display: none;
}

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;
}


h2{
	font-weight: bold;
	font-size: 24px;
	margin-bottom: 30px;
	margin-top: 10px;
	text-shadow:0 0 1px transparent;
}

p.info{
	font-size: 12px;
}

#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;
}



h4.err{
	color: #971515;
}

h4.ok{
	color: #4dad54;
}

#settings input[type=text]{
	width: 50px;
}

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

.settings_box{
	border: 1px solid #dbdcdf;
	margin: 10px 0;
	
	border-collapse: collapse;
}

.settings_box h4{
	padding: 5px;
	margin: 0;
	background-color: #e8e8e8;
}
.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 .title td{
	font-weight: bold;
	background-color: #E8E8E8;
	padding: 5px;
}

.settings_box .hover_tr{
	background-color: #dfe0e5;
}
.settings_box textarea{
 width: 99%;
}

table.settings_box{
 width: 100%;
}

#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: 250px;
}
.jez{
	width: 200px;
	margin-left:10px;
}
.sciezka{
	width: 200px;
}
.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;
}

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

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

.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:4px;*/
	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 {
	border:1px solid #606060;
	background:url("../img/gradient_p2.png");
}

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

.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;
}

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

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

.jez {
	margin-left:10px;
}

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

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

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

.clear{
	clear: both;
}

.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: #ffffff;
}






@media screen and (max-width: 930px) {
	#wrapper{
		max-width: 730px;
	}
	#content{
		max-width: 530px;
	}

	#content iframe[src*="youtube"], #content iframe[src*="youtu.be"] {
		height:280px;
	}

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

	#title {
		height:166px;
	}

	#title span#page_title {
		font-size:24px;
		line-height:26px;
	}

	#logo {
		height:166px;
	}

	#logo img {
		max-height: 166px;
		max-width: 260px;
		height: auto;
	}

	.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;
	}

	#register{
		max-width: 300px;
		display: block;
		border-top: 1px solid #808080;
		border-left: none;
		padding-top: 30px;
		padding-left:5px;
		margin-left: 5px;
		max-width: 180px;
	}
}


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

	header{
		height:150px;
	}

	#title {
		height:150px;
	}

	#title span#page_title{
		margin: 5px;
		font-size:20px;
		line-height:22px;
	}

	#logo{
		height: 150px;
	}

	#logo img {
		max-height: 150px;
		max-width: 200px;
	}

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

	#content{
		max-width: 450px;
	}
	#content iframe[src*="youtube"], #content iframe[src*="youtu.be"] {
		height:240px;
	}
	nav{
		max-width: 170px;
	}
	nav ul{
		max-width: 170px;
 }

	a.photo img{
		height: 135px;
	}

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

	#register{
		max-width: 300px;
		display: block;
		border-top: 1px solid #808080;
		border-left: none;
		padding-top: 30px;
	}

}


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

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

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

	#title span#page_title{
		margin: 3px 10px;
		font-size:16px;
		line-height:18px;
	}

	#logo{
		height: auto;
		vertical-align: middle;
	}
	#logo img{
		max-height: 90px;
		max-width: 35vw;
    height:auto;
		margin: 0;
	}
	#hamburger{
		display: block;
	}
  #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;
	}

	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:14px;
	}

	.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) {

	#title span#page_title{
		font-size:12px;
	}

	.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;
	}


}



