html, body, h1, h2, div, span, p, a, em, font, img, center, ol, ul, li {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
img{max-width:100%;	height: auto;}
body {
line-height: 1;
min-width: 320px;
}
ul {
list-style: none;
}

body {
	background-color: #eeeeee;
	font-family: Tahoma, Geneva, sans-serif;
}

#headblock, #back-soc
{
	width: 965px;
	margin: 0 auto;
}
#back-soc
{
	margin-top: 20px;
	font-size: 32px;
}
#headblock  a {
	color: #69F;
}
.head
{
	width: 55%;
	float: left;
}

h1{
	float: right;
	width: 45%;
	font-size: 14px;
	color: #27293e;
	font-family: Verdana, Geneva, sans-serif;
	line-height: 1.2em;
	text-align: right;
	margin-top: 20px;
}
h2, h2 a {
	font-size: 26px;
	color: #27293e;
	font-family: Verdana, Geneva, sans-serif;
	line-height: 1em;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
}

#join-desk, #pics-desc{
	font-size: 24px;
	font-weight: bold;
	color: #27293e;
	text-align: center;
	line-height: 1.5em;
	margin: 30px 0;
	display: inline-block;
	width: 100%;
}
#join-desk img {margin: 10px 0 0;}
#pics-desc {	margin: 0px;}
#pics-desc span{	text-transform: uppercase;text-decoration: underline;}

#m-cont {
	width: 970px;
	margin: 2px auto;
	overflow: hidden;
}

.m-main-block  {width: 100%; min-height: 410px;text-align: center;}

.m-cont-foot {
	width: 99.5%;
	margin: 20px auto;
}
/* top menu */
#ddmenu {
	display: inline;
	width: 100%;
	font-size: 18px;
	font-weight: bold;
	float: left;
	text-decoration: none;
	color: #fff; 
	padding: 0;
	border-radius: 6px;
	background-color: #aaa;
	cursor: pointer;
	outline: none;
	margin: 0 3px 7px;
}

#ddmenu li { display: block; position: relative; float: left; }

#ddmenu li a {
  display: block;
  float: left;
  padding: 0 12px;
  line-height: 42px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}
#ddmenu li:hover > a { background: #ce0000; }

#ddmenu ul {
  position: absolute;
  top: 55px;
  width: 624px;
  background: #fff;
  display: none;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  border-radius: 10px;
  box-shadow: 0 0 7px #000;
}

#ddmenu ul::after, #ddmenu ul::before {
  content: "";
  position: absolute;
  top: -8px;
  bottom: 100%;
  left: 20px;
  width: 16px;
  height: 16px;
  background: #fff;
    box-shadow: 0 0 7px #000; /* Добавляем тень для уголка */
      transform: rotate(45deg); /* Поворачиваем на 45º */
    -webkit-transform: rotate(45deg);
  z-index: -1;
}

#ddmenu ul::before {
    z-index: 1; /* Накладываем поверх, чтобы скрыть следы тени */
    box-shadow: none; /* Прячем тень */
   }

#ddmenu ul li { 
  font-size: 0.9em; 
}

#ddmenu ul li a {
  display: block;
  width: 142px;
  padding: 6px 7px;
  font-size: 14px;
  line-height: 1em;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
  text-transform: capitalize;
  color: #27293e;
}
#ddmenu ul li a:hover {
  background: #e28383;
  color: #fff;
}
.triangle_down:before {
	z-index:0;
	border:6px solid transparent;
	border-top:6px solid #fff;
	content:"";
	height:0;
	left:3px;
	margin:-1px 0 0 -4px;
	position:absolute;
	top:50%
}
.triangle_down
	{
	display:block;
	height:0;
	overflow:hidden;
	padding:2.5em 7px 0;
	position:absolute;
	right:0;
	top:0;
	width:0;
	}
	
a {
	color: #27293e;
	text-decoration: none;
}

a.active, a:hover {
	color: #ce0000;
}

.bottom_thumb_top , .main_thumb_block {
	display:inline-block;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-webkit-box-shadow: 0 0 2px 2px #CCCCCC;
    box-shadow: 0 0 2px 2px #CCCCCC;
	background-color:#ffffff;
	margin:6px 3px;
	padding:5px;
	zoom: 1;
    *display: inline;
}
.bottom_thumb_top a{
	display:inline-block;
	text-align:center;
	font-size: 12px;
	font-weight:bold;
	text-decoration:underline;
	width: 151px;
	margin: 2px;
	padding-top:5px;
	padding-bottom:5px;
	zoom: 1;
    *display: inline;
}
.bottom_thumb_top a img{
	width:140px;
	height:180px;
	border:1px solid #cccccc;
}
.bottom_thumb_top a:hover{text-decoration:none;}
.bottom_thumb_top a:hover img{border:1px solid #000;}
.main_thumb_block a img{
	text-align:center;
	width:300px;
	border:1px solid #cccccc;
}
div.main_thumb_block:hover {
	-webkit-box-shadow: 3px 2px 3px 3px #CCCCCC;
    box-shadow: 3px 2px 3px 3px #CCCCCC;
}
.main_thumb_tags {
	white-space: nowrap;
	overflow: hidden;
	width:300px;
	text-align: left;
}
.main_thumb_tags  a{
	font-size: 12px;
	font-weight:bold;
	text-align: left;
	margin-top: 7px;
	text-decoration:underline;
}
.main_thumb_tags  a:hover{
	text-decoration:none;
}
.pix-img img{
	display: block;
	margin: 0 auto;
}
/*search form*/
.searchform {
float: right;
	display: inline-block;
	zoom: 1; /* ie7 hack for display:inline-block */
	 *display: inline;
	border: solid 1px #cccccc;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0 1px 0px rgba(0,0,0,.1);
	-moz-box-shadow: 0 1px 0px rgba(0,0,0,.1);
	box-shadow: 0 1px 0px rgba(0,0,0,.1);
	background: #f1f1f1;
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ededed));
	background: -moz-linear-gradient(top,  #fff,  #ededed);
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ededed'); /* ie7 */
    -ms-filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ededed'); /* ie8 */
	margin: 3px 7px;
	padding: 3px 5px;
}
.searchform input {
        font: normal 12px/100% Arial, Helvetica, sans-serif;
}
.searchform .searchfield {
	background: #fff;
	padding: 6px 6px 6px 8px;
	width: 202px;
	border: solid 1px #cccccc;
	outline: none;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
}
.searchform .searchbutton {
	color: #fff;
	border: solid 1px #cccccc;
	font-size: 11px;
	height: 27px;
	width: 27px;
	text-shadow: 0 1px 1px rgba(0,0,0,.6);
	background: #ce0000;
	background: -webkit-gradient(linear, left top, left bottom, from(#ce0000), to(#27293e));
	background: -moz-linear-gradient(top, #ce0000, #27293e);
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ce0000', endColorstr='#27293e'); /* ie7 */
    -ms-filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ce0000', endColorstr='#27293e'); /* ie8 */
}
.searchform .searchbutton:hover {
	background: -webkit-gradient(linear, left top, left bottom, from(#27293e), to(#ce0000));
	background: -moz-linear-gradient(top, #27293e, #ce0000);
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#27293e', endColorstr='#ce0000'); /* ie7 */
    -ms-filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#27293e', endColorstr='#ce0000'); /* ie8 */
}

/*page navi*/
#page_navi
{
	text-align: center;
	width: auto;
	padding: 10px;
	color: #000;
}
/*curent page*/
.apc {
	border: solid 1px #27293e;
	padding: 2px 4px 2px 4px;
	margin: 1px;
	background-color: #ffffff;
	font-weight: bold;
	font-size: 12px;
}

/*links on pages*/
.ap A:link, .ap A:visited, .ap A:active {
	border: solid 1px #27293e;
	padding: 2px 4px 2px 4px;
	margin: 1px;
	color: #000;
	text-decoration: none;
	font-size: 12px;
	font-weight: bold;
	background-color: #cccccc;
}
/*selected links on pages*/
.ap A:hover {
  background: #e28383;
  color: #fff;
}
.back-to
{
	text-align: center;
	float: left;
}

/*socseti*/
.social {
    display: inline;
	float: right;
}
 .back a {
    text-align: center;
    height: 34px;
    float: left;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15), inset 0 0 50px rgba(0,0,0,0.1);
    border-radius: 6px;
    margin: 0 10px 10px 0;
    padding: 6px;
}
.social a{
    text-align: center;
    width: 34px;
    height: 34px;
    float: left;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15), inset 0 0 50px rgba(0,0,0,0.1);
    border-radius: 6px;
    margin: 0 10px 10px 0;
    padding: 6px;
}
.back a {background: #ce0000; color: #fff;}
.twitter a {background: #33CCFF; color: #fff;}
.facebook a {background: #3C5A99; color: #fff;}
.pinterest a {background: #CB2027; color: #fff;}
.reddit a {background: #FF4500; color: #fff;}
.tumblr a {background: #34526f; color: #fff;}

.back a:hover, .twitter a:hover, .facebook a:hover, .pinterest a:hover, .reddit a:hover, .tumblr a:hover {filter: opacity(0.8);}

.webmaster {
	font-size: 14px;
	color: #000;
	text-align: center;
}
.webmaster strong{
	font-size: 18px;
}
.webmaster a{
	text-align: left;
	color: #00458A;
	text-decoration: none;
}
.webmaster a:hover{
	color: #000;
}
.webmaster a img{
	margin:5px;
	border: solid 1px #003b5c;
}
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.flex-grow {
  flex: 1 0 auto;
}
#copyright, #copyright a {
	font-size: 13px;
	color: #000;
	margin: 20px auto;
	text-align: center;
	width: 95%;
}

.side-bner{
	text-align: center;
	overflow: hidden;
	display: flex;
	justify-content: center;
}
.h_bner
{
	display: inline-block;
	margin: 8px;
	zoom: 1;
    *display: inline;
}
.hob
{
	text-align: center;
	font-size: 22px;
	font-weight: bold;
	line-height: 1.3;
	margin: 5px;
	height: 160px;
	margin: 0 auto;
}
.hob, .hob>nav
{
	text-align: center;
	-webkit-transform-origin:0 0 0;-moz-transform-origin:0 0 0;-ms-transform-origin:0 0 0;-o-transform-origin:0 0 0;transform-origin:0 0 0;
	-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1);

}
.clearfix
{
	clear:both;
}
/*page up key*/
#toTop {
    position:fixed;
    z-index:9999;
    bottom:205px;
    right: 5px;
    background: url(/images/up.png) no-repeat;
	opacity: 0.5;
    width: 55px;
    height: 55px;
    border: none;
    padding: 0px;
    cursor: pointer;
    color: transparent;
    text-decoration: none;
    font-size:0px;
}
#toTop:hover {opacity: 0.8;}

@media (min-width: 1288px){
#headblock, #m-cont  {width: 1293px;}
.topfree {font: bold 16px Arial, sans-serif;}

}
@media (max-width: 1287px){
.bottom_thumb_top a{
	width: 152px;
	margin: 2px 0;
}
}
@media (max-width: 979px){
.show_top {display:none !important;}
h1{
	font-size: 12px;
	margin-top: 10px;
}
.m-main-block  {min-height: 505px;}
#headblock, #back-soc {width: 635px;}
#m-cont   {width: 642px;}
#ddmenu ul {width: 432px;}
#ddmenu ul li a {width: 130px;}
.hide {display:none;}
#back-soc{font-size: 24px;}
.social a {width: 28px;height: 28px;}
.back a {height: 28px;}
}
@media (max-width: 639px){
#headblock, #m-cont, #back-soc {width: 320px;}
.head {width: 100%;}
h1 {display:none}
#ddmenu {display:none;}
.bottom_thumb_top {
	margin:4px 2px;
	padding:3px;
}
#back-soc{font-size: 16px;}
.social a {width: 18px;height: 18px;margin: 0 5px 5px 0;}
.back a {height: 18px;}
.side-bner {display: block;}
}
@media (max-width: 321px){
#headblock, #m-cont, #back-soc {width: 98%;}
#join-desk, #pics-desc{
	font-size: 16px;
	margin: 10px;
}
#pics-desc{margin: 0px;}
.bottom_thumb_top a img, .main_thumb_block a img {width:100%;}

#page_navi {padding: 10px;}
.apc {
	border-width: 1px;
	padding: 1px 2px 1px 2px;
	font-size: 8px;
	margin: 0px;
}
.ap A:link, .ap A:visited, .ap A:active {
	border-width: 1px;
	padding: 1px 2px 1px 2px;
	font-size: 8px;
	margin: 0px;
}
.ap A:hover {
	border-width: 1px;
	padding: 1px 2px 1px 2px;
	margin: 0px;
}
}
