body{
	background-color: #dddddd;
	margin: 0;
}

body, div {
	font-family:Verdana;
	font-size:10pt;
}

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

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


img{
	border: 0;
}

hr{
	margin: 20px 0;
}

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


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

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

#banner{
margin: 0;
padding: 0;
}
#banner a{
margin: 0;
padding: 0;
display: block;
}
#banner img{
width: 100%;
height: auto;
margin: 0;
padding: 0;
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: fit-content;
	height: auto;
}

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

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

table.settings_box{
 width: 100%;
}

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

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

.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;
}
.clear{
	clear: both;
}

#news_grafika {
margin-bottom: 15px;
}


#news_grafika img{
width: 200px;
}

a.photo{
display: inline-block;
margin: 0 10px 10px 0;
}
a.photo img{
display: block;
height: 142px;
}



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, a.button {
	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, textarea.error{
 background-color: #FFABAE;
}

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

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



#baner{
margin: 0;
padding: 0;
}
#baner a{
margin: 0;
padding: 0;
display: block;
}
#baner img{
width: 100%;
height: auto;
margin: 0;
padding: 0;
display: block;
}

@media screen and (max-width: 930px) {
	#wrapper{
		max-width: 730px;
	}
	#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) {

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

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

	a.photo img{
		height: 135px;
	}

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

}

@media screen and (max-width: 620px) {
	#content iframe[src*="youtube"], #content iframe[src*="youtu.be"] {
		height:240px;
		height:56vw;
	}

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

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


}
