body, h1, h2, h3, h4, p, ul, li, form { padding:0; margin:0;}
ul {
	list-style: none;
	margin: 0;
	padding: 0;
	}
img {
    border: none;
}
body, table  {
	border: 0;
	font: normal 12px Verdana, Arial, Helvetica, sans-serif;
	color:#333;
	margin:auto;
	text-align:center;
	background-color: #fff;
	line-height:1.2;
}

a {
	color:#d40306;
	text-decoration: none;
}
a:hover {
	color: #ccc;
	text-decoration:underline;
}
.clear-all { clear:both; font-size:0;}
.clear-left { clear:left; font-size:0;}
.clear-right { clear:right; font-size:0;}
.hide { display:none;}
/* header */
#header_bg { 
	height:176px;
	background-color:#333;
}
#header,  #content{
	margin:auto;
	color:#FFF;
	width:1007px;
	text-align:left;
}

 #content{ width:80%; }
#content {color:#333;}
#logo_op { float:left; position:relative;}
#header_photos{
	margin-left:265px;
}
#header_photos img{ width:55%; }
#main_menu{
	margin-left:271px;
}
#photo_top_line { height:12px; }
#photo_bottom_line { background: #fff url(../img/photo_bg_bottom.gif) repeat-x top left; height:13px;}
.photo_box{
	margin: 15px 7px 8px 7px;
	display: table; 
	position: relative; 
	overflow: hidden;
 	height: 128px;
 	width: 128px;
 	float: left;
 	background-color: #404040;
 	overflow: hidden;
 	box-shadow: 0px 0px 10px 3px #2D2D2D;
 	border: solid 1px #2D2D2D;
}
.photo_box2{
	#position: absolute; 
	#top: 50%; 
	#left: 50%; 
	display: table-cell; 
	vertical-align: middle; 
	text-align:center;
}
.user_photo_box .photo_box2{ padding: 2px 0 0 4px;}
.photo_box3{
	#position: relative; 
	#top: -50%; 
	#left: -50%;
}

.photo_wrapper{
	display:table-cell;
	position:static;
	text-align:center;
	vertical-align:middle;
}
.block3 {
left:auto;
margin:0 auto;
text-align:center;
top:auto;
}


.menu { font-size:14px;}
.menu li{ display:inline; margin:0 16px 0 9px;}
.menu li a{ color:#fff;}
#login_bar_bg{ 
	font-size:11px;
	height:24px;
	border-top:2px solid #fff;
	background: #e6e6e6 url(../img/bg_user_bar.gif) repeat-x top left;
}
#login_bar { 
	text-align:right;  
	margin:auto;
	width:957px;
}
#login_form_div { 
	text-align:right;
	position:relative;
	 
}
#login_form { 
	position:relative;
	font-size:11px;
	color:#333;
	margin:0;
	padding:0;
}
#l_passwd { 
	position: absolute; 
	right: 124px; 
	z-index:10;
	top:5px;
	}
#login_form>#l_passwd  { bottom:-2px;}
#ul_login, #ul_pass { 
	border:0;
	width:112px; 
	background: #e6e6e6 url(../img/bg_login_input.gif) repeat-x top left;
	padding:1px 0 0 9px; 
	height:22px; 
	font: normal 11px Verdana, Arial, Helvetica, sans-serif;
	color:#333;
	line-height:19px;
}
.sbm {
 	border:0; 
 	background-color:transparent; 
	font: bold 11px Verdana, Arial, Helvetica, sans-serif;
	color:#333;
	cursor:pointer;
	height:23px; 
}
#login_error { float:left; width:570px; text-align:right; padding-top:5px; color:#cc0000; z-index:9999; position:relative;}
#personal_menu { padding-top:5px;}
.tasks_alert { text-decoration:blink; color:#FF0000;}
#i_search { width:70px;}
#user_navi-search #i_search { border:0; background-color:#f2f2f2; padding:4px 10px; width:65x; color:#333; }
.user-auth_submenu { padding:10px 0; margin-left:-10px;}
.user-auth_submenu a { padding:10px; display:block; color:#333; text-decoration:none;}
.user-auth_submenu a span{ color:#8c8c8c; font-size:10px;}
.user-auth_submenu a:hover, .user-auth_submenu a.active  { background-color:#fafafa; }
#user_pag { padding:11px 10px 25px 10px; text-align:center;}
#user_pag a { padding:10px 12px; margin:0 1px; display:inline-block; color:#333; text-decoration:none;}
#user_pag a:hover, #user_pag a.active { background-color:#fafafa;}
#user_pag .pag-active { padding:10px 12px; margin:0 1px; display:inline-block; color:#333;  background-color:#fafafa;  border: 1px solid #DDDDDD;}
.user_pag { padding:11px 10px 25px 10px; text-align:center;}
.user_pag a { padding:10px 12px; margin:0 1px; display:inline-block; color:#333; text-decoration:none;}
.user_pag a:hover, #user_pag a.active { background-color:#fafafa;}
.user_pag .pag-active { padding:10px 12px; margin:0 1px; display:inline-block; color:#333;  background-color:#fafafa; border:1px solid #ddd;}
#personal_menu a{ color:#000; padding:3px; }
.alert { color:#cc0000; padding-left:20px;}
#footer_bg { 	padding:20px 0 20px 0; background-color:#333;}
#footer{	margin:auto;	color:#FFF;	width:1007px;	text-align:left;}
#footer a{	color:#d9d9d9;}
.footer_box { margin-left:46px; float:left;}
.footer_box ul li ul{ padding-left:8px;}
.footer_box ul { color:#444;}
#footer ul li ul li a{ color: #a6a6a6;}
#lang_selector_bg { padding:10px 0 8px 0; background: #262626 url('../img/bg_lang.gif') repeat-x top left;}
#lang_selector{	margin:auto;	color:#f2f2f2;	width:1007px;	text-align:left;}
#lang_selector strong { margin-left:46px;}
#lang_selector a{	color:#d9d9d9; margin-left:25px;}
#ch_lang { display:inline;}
.fb_last{ margin-right:0px;}
.td_right { text-align:right;}
.td_left { text-align:left;}
.page_title h1{ font-size:12px;}

/*homepage*/

#content-home 
{	margin:auto;
	color:#333;
	width:80%;
	text-align:left;
}

#home-slider{ margin-top: 8px;  width: 60%; float: left; margin-bottom:50px; background-color:#fff;  }
#home-photoweek{ margin-top: 8px; width: 40%; float: left; max-height:370px;  overflow: hidden; }
.img-100p {width:100% }

#home-history{  width: 40%; float: left; }
.home-history-wrapper { padding:50px 0 50px  10px;}
.home-history-wrapper img{ margin-right: 5px;}

#home-news, #home-comments, #home-blessings, #home-forum, #home-ig, #home-fb{  width: 33%; float: left;  background-color:#fff; }

.swiper-container { margin-right:20px !important}
.slider-caption a{ color:#000;}
.slider-caption-title { font-weight:bold; font-size:1.7em; padding-top:7px;}
.slider-userlink, .slider-userlink  a{ color:#999;}

.home-box-wrapper{ width:90%;}
.home-list  {  margin-bottom:30px;}
.home-list  li{ padding-bottom:3px; margin-bottom:3px;}
.box-flex { display:flex;}





/* photo */
#photo-wrapper {padding:15px; }
.photo-navigator{
	position:relative;
	margin:auto;
	width:1007px;
	text-align:left;
	height:32px;
	vertical-align:bottom;
}
.photo_navigator-box1 { float:left; width:146px; height:32px;}
.photo_navigator-box { float:left; padding:16px 0 0 30px;}
.photo_navigator-box img{ vertical-align:text-bottom }
.photo_navigator-box a{ padding:0 5px; color:#333;}
#photo-position{
	width:1007px;
	margin:auto;
	text-align:left;
}
#photo-main{
	text-align:center;
	//margin-left:176px;
	}
#bg_rotator { 
	margin-top:15px;
        margin-left: 450px;

}
.bg_rotator_box {
	width:15px;
	height:15px;
	float:left;
}
#photo-decsription{
	margin:auto;
	margin-top:7px;
	margin-bottom:15px;
	width:1007px;
	text-align:left;

}
#photo-decsription a { color:#333;}
#photo-decsription img{ vertical-align:middle;}
#photo-decsription-left, #photo-decsription-left2{
	float:left;
	width:160px; 
	text-align:right;
}
#photo-decsription-right, #photo-decsription-right2 {
	margin-left:176px;
	width:800px;
}

#photo_author, #photo_title {
	margin-bottom:10px;
}
#photo-decsription-right2 {
	padding-top:24px;
	color:#8c8c8c;
	line-height:14px;
}
#photo-decsription-left2 { 
	padding-top:10px; 
	font-size:10px;
	line-height:14px;
}
.author_online { 
	color:8c8c8c; 
	text-decoration:blink;
	font-size:9px;
}
#photo-stats { margin-top:40px; color:#8c8c8c; position:relative;}
#photo-stats h1{ color:#333; font-size:12px; padding-bottom:4px;}
.photo-stats-title { font-size:9px; color:#333;}
#photo-add_to { float:right;}
.photo-admin_panel { 
	background-color:#FFFFCC;
	position:relative;
	margin:auto;
	width:656px;
	text-align:left;
	margin-top:15px;
}
#photo-comments {
	margin-top:40px;
}

#admin_panel-add_delete { float:right; width:300px; text-align:right;}
#set_add {
	text-align:left; 
	padding:20px; 
	display:none;
	background:#fff;
}

#add_photo-wrapper{
	margin:auto;
	margin-top:10px;
	width:1007px;;
	text-align:left;
	padding: 10px 0;
}
#add_photo-title {
	padding-left:176px;
	font-size:13px;
	font-weight:bold;
}

.photo-comment_item { margin-bottom:20px;}
.flag-comment { float:left; margin-top:2px;}
.photo-comment_desc { margin-left:25px;}
.photo-comment_date { font-size:9px; color:#8c8c8c;}
#photo-add_vote { margin-top:80px;}
.vote_txtarea2 { 
	width:492px; 
	height:173px;
	border:0;
	background: #fff url(../img/bg_vote.gif) no-repeat top left;
}
.vote_txtarea_input { 
	width:479px; 
	height:159px;
	border:1px solid #ccc;
	box-shadow: 0px 0px 10px 3px #D6D6D6;
	margin:7px;
	padding:10px;
	background-color:#f2f2f2;
	overflow:auto;
}
#exif, #iptc { 
	background-color:#eee;
    color: #8C8C8C; 
    padding: 10px;
    text-align: left;
}
#photo-google_maps {
	width:790px;
	height:500px;
	border:1px solid #fff;
	background-color:#fff;
}
#photo-mapa  { width: 790px; height: 500px; border: 1px solid #ccc; background: #eee; margin:5px; }
/* photo end */


/* news */
#news_single { padding:20px;}
#news_single-title { font-size:18px; color:#990000; padding-bottom:7px;}
#news_single-photo { padding:0 10px 0 0; float:left;}
.news_list-item { background-color:#f2f2f2; padding:8px; margin-bottom:30px;}
.news_list-photo {  float:left; margin-right:20px;}
.news_list-date { font-size:10px; color:#999;}
.news_list-lid {  float:left;}
.news_single-item { padding:10px; background-color:#f2f2f2; }
.news_single-photo {  float:right; width:245px;}
.news_single-title { padding-bottom:10px;}
.news_single-txt_margin {  margin-right:260px;}

#content_window { text-align:center; background-color:#000000; color:#FFFFFF; height:100%;}
.news_list-item h2 {  padding-bottom:7px;}
.news_list-item h2 a{ color:#000; font-size:15px; font-weight:bold; }
/* comments */
.comment-item { border-bottom:1px solid #efefef; padding:8px; margin-bottom:4px;}
.comment-photo { width: 260px; text-align: right; float: left; margin-right: 10px;}
.comment-txt a{ color: #000; }
.comment-date{ color: #999; }

/* donation*/
#wide_txt {
	margin:20px ;
	width:80%
	line-height:16px;
}
#paypal {
	width: 552px;
	height:173px;
	background: #fff url(../img/pay_pal.gif) no-repeat top left;
	margin:20px 0;
}
#paypal h3 { padding:49px 0 5px 23px; font-size:12px;}
#paypal h4 { padding:22px 0 5px 23px; font-size:12px; }
#paypal form {padding-left:23px;}
.send_money { background-color:#8c8c8c; color:#fff; border:0; padding:2px  4px; margin:0; cursor:pointer; }
#moneybookers {
	width: 493px;
	height:133px;
	background: #fff url(../img/monybookers.gif) no-repeat top left;
	margin:20px 0;
	
}
#moneybookers form { padding-left:22px; padding-top:89px;}
/* donation end*/

/* Glosowanie za pomoca gwiazdek*/
.ratingBlock {
	height: 17px;
	position: relative;
	background-image: url('../img/stars.gif');
	background-position: top left;
	background-repeat:no-repeat;
	width:72px;
	margin:10px;
}
.ratingBlock a{
	width: 24px;
	height: 17px;
	float: left;
	outline: none;
	z-index: 20;
	
}
.ratingBlock a:hover{background: #fff url('../img/star_active.gif') no-repeat top left ;}
.vote_str_active, .vote_str_over  {background: #fff url('../img/star_active.gif') no-repeat top left ;}
/* Glosowanie za pomoca gwiazdek end*/
#home_banner { padding-left:80px; padding-top:10px; padding-bottom:30px; width: 600px;}
#flags-home{ text-align:right; padding:10px 20px; width: 50%; float: right; }
#flags-home img { margin-bottom:2px;}
.home-photo_set {margin: 0 0 20px 0; float:left; }
.home-photo_set-post { border:double 6px #000; padding: 5px;}
.set_title-home {margin-bottom: 10px;}
.set_title-home a, .set_title2-home a{ color:#000}
.home_left {float: left; margin-right: 50px; margin-top:30px; width: 480px;}
.home_right {float: left; width: 400px; margin-top:30px;}
.set_title-home-feast a{color:#D40306;}
.alert-home h1 { font-size:19px;}
.home-foto_week { width:480px; float:left; margin-right:50px;    }
.home-foto_5y {  float:left; }
.home-news { padding-top:30px; margin-left:50px; width:780px }
/* add photo*/
#addphoto-form {
	width:670px;
	
	margin-left:176px;
	background: #fff url('../img/bg_addphoto.gif') repeat-y top left ;
	position:relative;
}
#addphoto-form_top {background: #fff url('../img/bg_addphoto_top.gif') repeat-y top left ; height:16px}
#addphoto-form_bottom {
	background: #fff url('../img/bg_addphoto_bottom.gif') repeat-y top left ; 
	height:16px}
#addphoto, #si_form  { line-height:20px;}	
#addphoto label, #si_form label {
	width:160px;
	text-align:right;
	margin-right:30px;
	display:inline-table;
	vertical-align:top;
}
.addphoto-input, .addphoto-select {
	border:0px;
	width:448px;
	margin:3px 0;
}

.addphoto-file{	border:0px;  width:390px; margin:3px 0; background-color:#fff; outline-color:#FF0000;  }
#add_photo-title img { vertical-align:text-bottom; padding:0 3px;}
#add_photo-bg_rotator {margin:3px 0; }
#add_photo-bg_rotator label{ float:left;}
#add_photo-bg_rotator .bg_rotator_box { width:22px; height:22px;}
#addphoto .radio_label { width:200px; text-align:left; margin-left: 10px; }
#si_form .addphoto_margin1 .radio_label { text-align:left; margin-left: 10px; }
.addphoto_margin1 { margin-left:192px; position:relative; top:-10px;}
#addphoto-cc { padding:7px  0 0 18px; display:none; font-size:11px;}
#addphoto-cc .radio_label { width: 390px; text-align: left; margin-left:10px; }
.pr_desc { display:none; background-color:#FFFFFF; border:1px solid #ddd; width:413px; font-size:10px; line-height: 16px; padding: 10px 15px 11px;}
.pr_desc a{ float:right; font-weight:bold; color:#000;}
#addphoto-google { display:none; margin-top:10px;} 
#mapka  { width: 448px; height: 400px; border: 1px solid #8c8c8c; background: #ccc; margin:7px 0 7px 190px; }
#szukanyAdres {border:0px; width:300px;}
#addphoto-google a.google_search { background-color:#8c8c8c; color:#fff; padding:2px 8px;}
.addphoto_button { background-color:#8c8c8c; color:#fff; padding:2px 30px 2px 15px; margin:0 13px 15px 0; border:0;  cursor:pointer;}
/* add photo end*/
/*registration*/
.input_225 { width:225px;}
.input_90 { width:90px;}
#login_alert {f
    color: #8A8A8A;
    display: none;
    margin-left: 203px;
    width: 454px;
}
.breakline {background: transparent url('../img/break-line.gif') no-repeat top left ; height: 3px; width: 480px; margin: 15px 0 20px 176px; }
#add_input { margin-left: 10px; background-color: #8C8C8C; color:#fff; padding: 2px 10px;}
.signin-reg{    line-height: 16px;    margin: 0 178px;    }
.registr_required {color: #8A8A8A;  margin: 2px 0 -12px 189px;}
.addphoto label {margin-right: 32px;}
/*registration end*/

/*user*/
#user-mapa {	width:950px;	height:500px; }
#user_navi_bar { margin: auto; text-align: left;  width: 957px; height: 48px;}
#user_navi-search { padding:10px 0 0 10px; float:left;}
#user_navi-select { padding:18px 0 0 10px; margin-left: 237px;}
#user_navi-select a{ color: #333333; margin:0;}
#user_navi-select .arr_end { margin-right:26px;}
#user_navi-select img { vertical-align: text-bottom;}
#user-bg { padding-top: 16px; background: #f2f2f2 url('../img/bg_foot.gif') repeat-x bottom left;}
#user-info {    margin: auto;    text-align: left;    width: 80%;}
#user-info h1 { font-size: 16px;}
#user-info h1.style1 { color:#cc0000;}
#user_left { width: 20%; margin: 0 17px 0 33px; float: left;}
#user_right { width: 70%;  float: left;}
.user_photo_box {
    width: 288px;
    height: 288px;
    background-color: #fff;
    display: table;
    float: left;
    overflow: hidden;
	margin: 0px 13px 14px 0px;
 	border: 1px solid #D6D6D6;
 	box-shadow: 0px 0px 10px 3px #D6D6D6;
	position:relative;
}
#user_photo-buttons { float:right; width:62px; padding-top:7px;}
#user_photo-buttons img{ margin-bottom:5px;}
.user_desc {clear:left;}
.user-add_photo { color: #fff; padding: 70px 5px 0 5px; display:block; font-weight:bold;}
.user_photo_box .no-photo{ background:#ccc url(../user/no-photo.jpg) no-repeat 0px 0px; height:108px; width:108px; margin-left:6px; co}

.user-add_photo-inline_wrapper{background-color: #fff;  padding:155px 0; }
.margin_0{ margin: 0;}
.user-auth_info a { color: #000; font-weight: bold;}
.user-auth_info a:hover { text-decoration: underline;}
.user-auth_ico { padding-top:12px;}
.user-auth_ico img{ margin-right:4x;}
.user_auth-sub-space { margin-bottom:10px;}
.user_desc-title { color:#8c8c8c; font-size:9px;}
.user-auth_item { padding: 10px 0;}
.user-web { color:#333;}
#user-edit_profile { text-align:left; background-color:fff; color:#000;}
#user-edit_profile-title { color:#000;}
.edit_form-title { font-weight: bold; padding-bottom: 10px; width:520px;}
.edit_form label {
    width:160px;
    text-align:right;
    margin-right:10px;
    display:inline-table;
}
.edit_form input, .edit_form select,  .edit_form textarea {
        border:1px solid #d9d9d9;
	width:255px;
	margin:3px 0;}
.edit_form input checkbox{ margin-right: 100px;}
.edit_form .user_radio_rights{ width: 50px; border:0;}
.edit_form .send_button { background-color: #8C8C8C; color:#fff; padding: 2px 10px; border:0; cursor: pointer;}
.edit_form-result { padding: 40px 0;}
.valign-top{ vertical-align: top; padding-top: 4px;}
.valign-middle{ vertical-align: middle; }
#cd_communicator_type { width: 70px;}
#cd_communicator_id {width: 200px;}
.edit_form input.checkbox_edituser { width:20px;}
.user_edit-photorights .addphoto_margin1  { margin-left:155px;}
.user_edit-photorights .pr_desc { width:240px;}
.user_edit-photorights label { text-align:left;}
.user_edit-photorights #addphoto-cc  input { width:20px; margin-left:20px; border:0;}
.user_edit-photorights #addphoto-cc .radio_label { width:286px;}
.users_box { padding:30px 0px 80px 120px; float:left; color:#999; font-size:14px;}
.users_box a{ color:#333;}
#user_navi-select .active { font-weight:bold;}

#user_left .user_photo_box { width:180px; height:180px;}
/*user end*/
.page_title { padding-bottom:10px; font-weight:bold;}
#content_txt ul {list-style-type: circle; padding-left: 20px;}
#content_txt ul li{ padding:4px 0; }
.att_box{ width:505px;}
.att_box-top { background: #fff url('../img/bg_att_top.gif') no-repeat top left ; 	height:16px; }
.att_box-middle { padding:2px 27px; background: #fff url('../img/bg_att_middle.gif') repeat-y top left }
.att_box-bottom { background: #fff url('../img/bg_att_bottom.gif') no-repeat top left ;	height:16px; }
.bp_name { color:#000; font-weight: bold;}
.forum a { color:#333;}
.rm_done { color:#ccc;}
/*gallery */
#gallery_banner { padding-left:255px; padding-bottom:20px;}
#gallery_photos { padding-left:0px;}
.photo_blocked { background-color:#FF6600 !important;}
.category_box { padding:30px 80px 80px 80px; float:left; color:#999;}
.country_box { padding:30px 0px 80px 120px; float:left; color:#999;}
.category_box a, .country_box a{ color:#333;}

/*ranking */
#rank-selector { padding:20px; background-color:#fff;}
#rank-categories { padding:20px 0;}

/*sets */
.set_item { float: left; width: 230px; height: 180px;}
.set_title, .set_photo { text-align: center;}

/* stats*/
.stat_left {width: 150px; text-align: right; float: left; clear: left; margin-right: 10px;}
.stat_right {width: 200px; text-align: left; float: left; font-weight: bold; }

.body {background-color:#000;}


@media (orientation: portrait), (max-width:800px) {
	#header, #login_bar, #content, #footer, #user-info, #lang_selector, #photo-decsription, .photo-navigator, #photo-position,  #add_photo-wrapper, .home-foto_5y, #wide_txt  { width: 100%;}
    #header img {width:90%;}
    #header_photos, .swiper-pagination { display: none !important;}
	#header_bg { height:90px;}
	#logo_op { width: 100px; }
   	#main_menu { padding: 20px 0 0 0; margin:0; width:100%;}
	#main_menu a, #login_bar, #login_bar a, #login_bar input, #login_bar label{ font-size:2em;}
	#login_bar_bg { height:50px; background-image:none;}
	#content-home, #login_bar,  #home-slider, #home-photoweek, #home-history, #home-news, #home-comments, #home-blessings, #flags-home, #home-fb, #login_bar_bg, #main, #user-info  {  width: 100%; float: none;  }
	#flags-home img{ width:40px}
	
	
	
	.swiper-container { margin-right:0px !important}
	#home-slider {  font-size: 3em; margin-bottom:50px;}
	.slider-caption-title { font-size: 1.5em;}
	.slider-userlink { display:block;}
	#home-photoweek {  font-size: 3em; max-height:unset;}
	#home-history {  font-size: 5em;  }
	#home-history a img{width:160px;}
	.home-box-wrapper { padding:0 20px; font-size: 2em;}
	.box-flex {display: block;}
	
	
	.footer_box { width:28%; font-size: 2em;}
	#lang_selector {font-size: 2em;}
	#ch_lang { display:inline-grid;}
	
	#gallery_photos {    padding-left: 30px;}
	.user_pag { font-size:3em;}
	.users_box { padding:30px 0px 80px 120px; float:left; color:#999; font-size:2em; }
	#form1, #form1 input { font-size: 2.5em; }
	
	#licz {border:2px  solid #000; width:40px; background-color:#ccc;}
}


