html, body {
    height:100%;
    width:100%;
    margin:0;
    padding:0;
}
body  { font-family:Arial, Helvetica, sans-serif !important}
body img {border:none}

#main { background:url(../img/bg_main.jpg) top center no-repeat; background-color:#9e9990}
#inner {
	background: no-repeat center center fixed;
    background-color:#9e9990;}
	  

a, a:visited {color:#28231e}
a:hover {text-decoration:none}

.mini:hover {border:5px solid #fff; outline-offset:-4px;}

.mar20 {margin-top:20px; margin-bottom:20px}
.mar10 {margin-top:10px; margin-bottom:10px}
.mh1 {min-height: 330px;}
.grad { background:url(../img/1.png) no-repeat}
.padding1 {
	padding-top:30px;
	padding-bottom: 30px;
}
.al_right {
	text-align:right;
}

h1 {
	font-size:36px;
	color: #28231e;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style:italic;
	text-shadow: 1px 1px 1px #afaba3;
	filter: dropshadow(color=#afaba3, offx=1, offy=1);
	font-weight:normal;
	margin: 0 0 0 0;
	line-height: 0.7;
}

.menu { background:#6d6962; width:280px; height:210px; float:left}
.menu ul {
	list-style-type: none;
	color: white;
	position:relative;
	margin: 0;
	padding: 0;
}
.menu ul a {
	color:white;
	text-decoration:none;
	font-size:20px;
	line-height:1.5;
	display: block;
	padding: 4px;
	padding-left: 44px;
}

.menu ul li {
	position:relative;
	width: 100%;
	height: 29px;
	margin: 10px 0;
}
.menu ul li a:hover, .current_mat {
	background: url(../img/stripe.png) no-repeat;
	display: block;
	/*position: absolute;*/
width: 292px;
	height: 29px;
	left: -40px;
	padding-left: 44px;
}

 
.stripe {
	width:301px;
	height:37px;
	position:absolute;
	background:url(../img/stripe.png) no-repeat;
	left: -1px;
	top: -40px;
	color: white;
	padding: 11px 0 0 11px;
}
.stripe2 {
	width: 301px;
height: 37px;
position: absolute;
background: url(../img/stripe.png) no-repeat;
left: -1px;
top: -18px;
color: white;
padding: 11px 0 0 11px;
}
.stripe a {
	font-size:11px;
	color:#FFF
}


.logo {position:absolute; width:335px; height:147px; border:none;top: 20px;
left: -12px;;}
.header {
	height:180px;
	width:100%;
	float:left
}
#label {font-size:30px !important; font-weight:normal !important}
.coll a, #label{
	text-align: center;
	float: left;
	margin-top: 15px;
	width: 100%;
	color: #28231e;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style:italic;
	text-shadow: 1px 1px 1px #afaba3;
	filter: dropshadow(color=#afaba3, offx=1, offy=1);
	font-weight:bold;
	text-decoration:none;
	font-size: 14px;
	padding:6px 0;
	display:block;
	
	}
.coll a:hover {background:#27221e; color:white}
.coll > a:hover:after {
		content: '';
		position: absolute;
		left: 55px;
		top: 135px;
		border-left: 10px solid transparent;
		border-right: 10px solid transparent;
		border-bottom: 10px solid #27221e;
			
	}
.colll {
	text-align: center;
	float: left;
	margin-top: 25px;
	width: 100%;
	color: #28231e;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style:italic;
	text-shadow: 1px 1px 1px #afaba3;
	filter: dropshadow(color=#afaba3, offx=1, offy=1);
	font-weight:bold;
	text-decoration:none
	}	
.fsize12 { font-size:12px}

.main_menu {
	position: absolute;
	width: 797px;
	height: 112px;
	top: 74px;
	left: 320px;
}
.main_menu_inner {top: 20px !important}
.main_menu ul {list-style-type: none;padding-left: 75px;}
.main_menu ul a {
	color: #28231e;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style:italic;
	text-shadow: 1px 1px 1px #afaba3;
	filter: dropshadow(color=#afaba3, offx=1, offy=1);
	font-size: 24px;
	text-decoration:none;
}
.main_menu ul a:hover {text-decoration:underline}
.main_menu ul li {
	display:block;
	float:left;
	margin:0 15px
}

.foot {font-size:12px; color:#28231e }
.foot a {color:#28231e; text-decoration:underline}
.foot a:hover { text-decoration:none}
.foot a:visited: { color:#28231e}

.selected {
	color:#FFF;
	background:#28231e no-repeat 30px 0;
	padding:5px 0;
	margin-top:20px;
	display: block;
}
.selected span { background:url(../img/tri.png)}
.knomo {
	color:#fefefe;
	display: block;
	margin: 20px 130px;
	padding: 3px 20px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	background: rgb(50,35,30);
	background: -moz-linear-gradient(left,  rgba(50,35,30,1) 0%, rgba(129,68,56,1) 100%);
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(50,35,30,1)), color-stop(100%,rgba(129,68,56,1)));
	background: -webkit-linear-gradient(left,  rgba(50,35,30,1) 0%,rgba(129,68,56,1) 100%);
	background: -o-linear-gradient(left,  rgba(50,35,30,1) 0%,rgba(129,68,56,1) 100%);
	background: -ms-linear-gradient(left,  rgba(50,35,30,1) 0%,rgba(129,68,56,1) 100%);
	background: linear-gradient(left,  rgba(50,35,30,1) 0%,rgba(129,68,56,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#32231e', endColorstr='#814438',GradientType=1 );
	border:1px solid #32231e;
	font-size:18px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style:italic;
	text-shadow: 1px 1px 1px #000;
	filter: dropshadow(color=#000, offx=1, offy=1);
	float: left;
	}
a:visited.knomo  {color:#fefefe}

a.current_main {color: #7B1711 !important;border-bottom: 1px #7B1711 solid;text-decoration: none !important;}
span.logo {position: absolute;
top: 0;
width: 335px;
height: 238px;}

.main_grid {width: 130px;
float: left;
margin: 20px 10px; position:relative}


.mytable {
border-collapse: collapse;width:690px
}

.mytable td {border:1px solid #420d09; padding:5px}


.news_item {
 background: #6D6962;
 float: left;
 color: white;
 margin-bottom: 20px;
}
 p.date {text-align:right;padding: 0 10px 0 0 !important;}
 .news_item p {padding:10px}
 
.news_item  a {padding: 0 0 10px 10px;
display: block;color:white}
.news_item  a:hover {text-decoration:none}

.innerm {top: 20px !important;}
.innerh {height: 125px !important} 

div.grid_2:hover span.coll a {background:#27221e; color:white;-moz-transition: background 300ms ease;
		-o-transition: background 300ms ease;
		transition: background 300ms ease;}
div.grid_2:hover span.coll a:after {
                content: '';
		position: absolute;
		left: 42px;
		top: 110px;
		border-left: 10px solid transparent;
		border-right: 10px solid transparent;
		border-bottom: 10px solid #27221e;}
div.grid_2.prefix_1:hover span.coll a {background:#27221e; color:white;-moz-transition: background 300ms ease;
		-o-transition: background 300ms ease;
		transition: background 300ms ease;}
div.grid_2.prefix_1:hover span.coll a:after {
                content: '';
		position: absolute;
		left: 102px;
		top: 110px;
		border-left: 10px solid transparent;
		border-right: 10px solid transparent;
		border-bottom: 10px solid #27221e;}

div.main_grid:hover span.coll.fsize12 a {background:#27221e; color:white;}	
div.main_grid:hover span.coll.fsize12 a:after  {content: '';
		position: absolute;
		left: 55px;
		top: 135px;  
		border-left: 10px solid transparent;
		border-right: 10px solid transparent;
		border-bottom: 10px solid #27221e;}	

		
.krutilka {position: relative;top:130px}

#next, #prev {
display: block;
position: absolute;
top: -188px; 
width: 18px;
height: 20px;
text-indent: -9999px;
}

#next{
background: url(/img/arrows_min.png) no-repeat -18px 0;
right: -5px;
}
#prev {background: url(/img/arrows_min.png) no-repeat 0 0;left: -13px;}

#bg { position: fixed; top: 0; left: 50%;}
.bgheight { height: 100%; }


#label {position: absolute;
top: -225px;
width: 238px;
font-size: 40px !important;
background: url(/img/shit.png) no-repeat bottom left;
display: block;
left: 120px;}
#link {position:absolute;top:80px;width:160px;left: 4px;}	
#car {top: -130px;}

/* @media screen and (-webkit-min-device-pixel-ratio:0) { #car {top:0 !important}} */


.pagination {width:100%; margin-top: 50px;}
.pagination span {float:left;line-height: 35px;margin-right: 10px;}
.pagination ul { list-style-type:none}
.pagination ul li {display:inline;height: 21px;}
.pagination ul li a {padding:5px; margin:0 5px; width:20px; height:20px;display: block;float: left;text-align: center;border:1px solid white;color:#333}
.pagination ul li a:hover {background: snow;color:black;	border:1px solid snow;}
.pagination ul li.current_page {
	padding:5px; margin:0 5px; width:20px; height:20px;display: block;float: left;text-align: center;
	background: snow;
	color:black;	
	border:1px solid white;
	
	}.gal_block {width: 210px;margin: 10px 5px;display: inline;float: left;position: relative;}	
	
	#gm-copyright {
	font-size:11px;
	width: 180px; 
	position:relative
	}
#gm-copyright a {color:#efefef}
#gm-copyright a:hover {color:#fff}
#gm-copyright, #gm-logo, #gm-links {display:inline-block;vertical-align:top}
#gm-logo {width:32px}
#gm-links {width: 110px;padding: 1px 0 0 5px;text-align:left}
#gm-logo span {
	opacity:0;
	visibility:hidden;	
	position:absolute; 
	background:#499640; 
	padding:1px; 
	left: -14px;
	top:10px;
	color:white;
	z-index:9999;
	}
#gm-logo:hover span {
	visibility:visible;
    top:-17px;
    opacity:1;
    -webkit-transition: all .3s linear;
	-moz-transition: all .3s linear;
	-ms-transition: all .3s linear;
	-o-transition: all .3s linear;
	transition: all .3s linear;
	}
#gm-logo:hover img {opacity:.7;
    -webkit-transition: all .3s linear;
	-moz-transition: all .3s linear;
	-ms-transition: all .3s linear;
	-o-transition: all .3s linear;
	transition: all .3s linear;
	} 