﻿html {
   line-height: 1;
   position:relative;
   min-height:100%;
}
a {color: #a84435;}
a img {
   border: none;
}
	@font-face {
		font-family: Decor;
		src: url('/inc/fonts/Decor.ttf');
	}

	body {
		width: 100%;
		margin:0 0 82px;
		background: url('/images/header_repeat.jpg') repeat-x
					/*url('/images/scroll_bg.jpg') repeat-x 0 287px;*/;
		font-family: Arial;
    margin-bottom: 135px;
	}
	
	body:before {
		content:"";
		position:absolute;
		width: 40%;
		height:226px;
		top:0;
		right:0;
		background:url('/images/header_repeat_right.jpg') repeat-x;
		z-index:-2;
	}
	
	a:hover {text-decoration:none;}
		
	#wrapper {
		width:1200px;
		margin: 0 auto;
		min-height:100%;
		height: auto !important;
		height:100%;
		overflow:hidden;
		position:relative;
		padding-bottom:25px;
	}
	
	.admin-bar #PagePeel{top:27px;}

 /*Extra 20px height and width to allow for shadow and movement*/
 #PagePeel{
     height:120px;
     overflow:hidden;
     position:absolute;
     right:0;
     top:0;
     width:120px;
     z-index:90;
 }
   
 #PagePeel svg{
     overflow: hidden;
     position: absolute !important;
     right: 0;
     top: 0;
 }

 #PagePeel .pointCursor:hover{cursor:pointer;}

	
/* Header
-----------------------------------------------------------------------------*/	
	#header {
		position:relative;
		height:226px;
		background:url('/images/header.jpg') no-repeat;
	}
	
	#logo {
		display:block;
		width:390px;
		height:151px;
		position:absolute;
		background:url('/images/logo.jpg') no-repeat;
		top:16px;
		left:48px;
	}
	
	.adress {
		font:18px Arial;
		position:absolute;
		left:545px;
		top:167px;
		width:250px;
		text-align:right;
		line-height:1.5em;
	}
	
#icons_block {
	position:absolute;
	width:110px;
	height:45px;
	left:833px;
	top:174px;
	font:11px Arial;
}	
	
#icons_block img {
	clear:both;
	float:left;
	padding:3px 7px;
}	
#icons_block a{line-height:1.4em; color:#474747;}
		
	.searchbar {
		width:221px;
		background:#fff;
		height:20px;
		position:absolute;
		top:188px;
		left:962px;
		overflow:hidden;
		border:1px solid #adaca7;
		border-top:2px solid #adaca7;
	}
	
	.box {
		position:absolute;
		left:14px;
		background:#fff;
		width: 189px;
		height: 20px;
		border: none;
		outline:none;
		color:#000;
		font-size:normal 11px Arial;
	}
	
	.box::-webkit-input-placeholder{color:#acacac;}

	.submit {
		height: 19px;
		width: 18px;
		background: url('/images/search_but.jpg') no-repeat;
		border: none;
		cursor:pointer;
		outline:none;
		position:absolute;
		right:0;
	}	
/* menu
-----------------------------------------------------------------------------*/	
#menu {
	width:1300px;
	height:62px;
	list-style:none;
	padding-left:41px;
	margin: 0;
}

#menu > li{
	float:left;
	border-right:1px solid #6c1305;	
}

#menu  li a , #menu  li span{
	padding:22px 32px;
	color:#fff;
	font: 14px Arial;
	display:block;
	text-decoration:none;
}

#menu  .granty >a,
#menu  .granty >span {
  font-size: 0;
  width: 184px;
  height: 60px;
  background: url('../images/grant.svg') no-repeat 50%;
  background-size: 84% auto;
  box-sizing: border-box;
}

#menu .granty .hidden_submenu {
  width: 170px;
}

#menu  li:last-child {border:none;}

#menu  li a:hover, #menu  li span {
	background-color:#a84435;
}

#menu li .hidden_submenu {
	display:none;
	position: absolute;
	z-index: 100;
	width: 150px;
	background-color: #a84435;
	color: white;
	border: 1px solid #6c1305;
	margin-left: -1px;
	list-style:none;
	padding: 0 0 0 12px;
}

#menu li .hidden_submenu ul {
	position: absolute;
	z-index: 100;
	width: 150px;
	background-color: #a84435;
	color: white;
	border: 1px solid #6c1305;
	margin-left: 150px;
	list-style:none;
	padding: 0 0 0 12px;
}

#menu li .hidden_submenu ul li {
	float:none;
	border:0px;	
}

#menu li .hidden_submenu a {
	padding:6px 0px;
	color:#fff;
	font: 14px Arial;
	display:block;
	text-decoration:none;
}

#menu li .hidden_submenu a:hover {
	text-decoration:underline;
}

#menu li:hover > .hidden_submenu {
	display:block;
}

#content {
  -ms-user-select: none; 
  -moz-user-select: none; 
  -webkit-user-select: none; 
  user-select: none; 
}

/* slider
-----------------------------------------------------------------------------*/	

#slider {             
	height: 159px;  
	margin-bottom:32px;   
}

#slider img{
	display:block;
	float:left;
	 border: 12px solid #c28b7b; /* IE */
    -moz-border-image: url('/images/border.png') 12 12 12 12 repeat; /* Firefox 4 */
    -webkit-border-image: url('/images/border.png')  12 12 12 12 repeat; /* Safari 5 и Chrome */
    -o-border-image: url('/images/border.png')  12 12 12 12 repeat; /* Opera 10.5 */
    border-image: url('/images/border.png')  12 12 12 12 repeat; /* CSS3 */
	margin: 8px 15px;
	height:105px;
	-webkit-box-shadow: 0 0 6px 3px rgba(0,0,0,0.4);
	box-shadow: 0 0 6px 3px rgba(0,0,0,0.4);
height:105px;
}
 	

/* News and content
-----------------------------------------------------------------------------*/		
#news_block {
	margin-right:37px;
	float:left;
	width: 350px;
	padding-left:20px;
	overflow:hidden;
	background: url('/images/news_stripe.jpg') no-repeat right center;
}

#news_block_on_sec {
	margin-right:37px;
	float:left;
	width:380px;
	padding-left:20px;
	padding-right: 12px;
	overflow:hidden;
	background: url('/images/news_stripe.jpg') no-repeat right center;
}

h1, h2 {font:36px Decor;color:#000; text-align:center;margin:0;}

.news {
    min-height: 180px;
    font: 15px Arial;
    margin-bottom: 20px;
    position: relative;
	line-height:1.5em;
}


#content .news img {
	box-shadow: 0 0 1px 2px rgba(0,0,0,0.2);
    width: 180px;
    height: 180px;
	float:right;
	position:static;
	    margin-left: 30px;
}

.news a {
	color:#8b1d0e;
	font:18px Arial;
	line-height:1.4em;
}

.news p {
	margin: 0;
	padding: 0;
}


#content {
	font:normal 14px Arial;
	overflow:hidden;
	padding-right:23px;
}

#content ul.childpages{
	list-style-type:circle;
	padding-left: 16px;
}

#content ul.childpages li {
	padding-top: 6px;
}

#content ul.childpages a{
	color: black;
	text-decoration: underline;
	font-size: 12pt;
}

#content ul.childpages li:hover{
	list-style-type: disc;
}

#content ul.childpages li:hover a{
	text-decoration:none;
}

/* Footer
-----------------------------------------------------------------------------*/

#footer_bg {
	height:82px;
  height: 135px;
	width:100%;
	background: url('/images/footer_bg.jpg') repeat;
	position:absolute;
	left:0;
	bottom:0;
}

#footer {
	width:1160px;
	margin:auto;
	position:relative;
	padding:0 20px;
}
#footer  a {color:#494949;}

.copyright, .developer, .counter {
	font:12px Arial;
	float:left;
	margin-top:26px;
	line-height:1.6em;
	color:#494949;
}
#footer .copyright {width:320px;}
#footer .counter {margin-left:70px;}

#footer .developer {
	float:right;
	text-align:right;
	width:220px;
}

#footer .developer a{margin-right:-3px;}

/* Portfolio */
.one_project {
	display: inline-block;
	vertical-align: top;
	width: 198px;
	border: 1px dashed gray;
	margin: 0px 12px 24px 12px;
	text-align: center;
	padding-top: 20px;
}

.one_project a:last-child{
	display: inline-block;
	height: 20px;
	line-height: 20px;
	color: black;
	text-decoration: none;
}
.one_project:hover a:last-child{
	text-decoration:underline;
}

.gallery_in {
	margin-top: 6px;
}

.gallery_in a{
	display: inline-block;
	width: 150px;
	height: 150px;
	margin: 0px 12px 24px 12px;
}

.where, .where a {
	color: #7a7a7a;
	text-decoration:none;
	margin-bottom: 12px;
}

.where a:hover {
	text-decoration: underline;
}

.where span {
	color: black;
}

/* MAP */
.map_ul {
	margin: 0;
}

#content ul.map_ul{
	list-style-type:circle;
	padding-left: 16px;
}

#content ul.map_ul li {
	padding-top: 6px;
}

#content ul.map_ul a{
	color: black;
	text-decoration: underline;
	font-size: 12pt;
}

#content ul.map_ul li:hover{
	list-style-type: disc;
}

#screen {
	width: 2000px;
	height: 100%;
	background: #000;
	position: fixed;
	top:0;
	left:0;
	z-index:101;
    opacity: 0.7; /* Значение прозрачности */
    filter: alpha(Opacity=70); /* Прозрачность в IE */	
	display: none;
}

.form_into_contest {
width: 475px;
height: 464px;
background: url('/images/popup_back.png');
position: fixed;
top: 100px;
margin-left: -90px;
z-index: 102;
text-align: center;
padding: 24px 12px 12px 12px;
display: none;
}

.form_into_contest input[type="text"] {
	width: 400px;
	text-align:center;
	margin: 0 auto;
	display: block;
	margin-top: 6px;
	margin-bottom: 10px;
}

.form_into_contest_init_button {
	color: #8B1D0E;
	text-decoration:underline;
	cursor: pointer;
}
.form_into_contest_init_button:hover {
	text-decoration: none;
}

.slider_img:hover {
cursor:pointer;
}

.navi {
	text-align: center;
}
.navi  a {    background: #8b1d0e;
    color: #FFF;
    text-decoration: none;
    padding: 5px 10px;
    line-height: 30px}

.afisha {float:left;width: 25%;min-height: 270px;}

#content .afisha img {
    box-shadow: 0 0 1px 2px rgba(0,0,0,0.2);
    width: 180px;
    height: 180px;
    float: none;
    position: static;
    margin-right: 30px;
    display: block;
    margin: 0 auto;
}
#content .afisha a {
    color: #8b1d0e;
    font: 18px Arial;
    line-height: 1.4em;
    margin: 5px 20px;
    text-align: center;
    display: block;
}
.soc_icon {
	position: absolute;
    bottom: 10px;
    left: 50px;
}
.soc_icon_footer {
	position: absolute;
    bottom: -60px;
    left: 50%;
}
.soc_icon img, .soc_icon_footer img {margin-right: 5px;}

#footer .confident {
  position: absolute;
  font: 12px Arial;
  line-height: 1.6em;
  color: #494949;
  width: 100%;
  left: 0;
  top: 83px;
  padding: 0 20px;
}