/*
	Created by RedRoll Studio | E-mail: create@redroll.ru | URL: http://redroll.ru
	Specification: HTML5 & CSS3
	All Rights Reserved.
	Copyright: RedRoll.ru | 2013
*/

/* ==================== RESET */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	list-style: none;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	background: transparent;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
strong, b { font-weight: bold; }
i {
	font-style: italic;
	font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;
}
:focus { outline: none; }

/* ==================== GLOBAL */
body { 
	width: 990px;
	margin: 0 auto;
	line-height: 18px;
	font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;
	font-size: 12px;
	color: #343434;
	background: #dfd4c4;
}
h1, h2 { color: #980005; }
h1 { 
	font-size: 23px;
	line-height: 25px;
	font-weight: bold;
}
h2 {
	font-size: 21px;
	font-style: italic;
}
h3 {
	font-size: 13px;
	font-weight: bold;
}
input, select, textarea, button { 
	color: #2b2b2b;
	font-family: Tahoma, "Geneva CY", sans-serif;
	resize: none;
	overflow: hidden !important;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}
input::-ms-clear { display: none; }
input::-webkit-search-cancel-button { -webkit-appearance: none; }

a, a:visited {
	color: #343434;
	text-decoration: underline;
}
a:hover { text-decoration: none; }

.clr { clear: both; }

/* ==================== HEADER */
header { height: 218px; }
	.header-text {
		float: left;	
		width: 462px;
		text-align: center;
		color: #5c2d13;
	}
		.header-title {
			margin-top: 35px;
			line-height: 18px;
			text-transform: uppercase;
		}
		.header-name {
			font-size: 25px;
			font-style: italic;
			line-height: 30px;
			margin-top: 15px;
			text-shadow: 1px 1px 1px rgba(255,255,255,.7);
		}	
		.header-adress {
			float: left;	
			width: 310px;
			font-style: italic;
			line-height: 20px;
			margin-top: 15px;
		}	
		.header-link {
			float: left;
			font-style: italic;
			margin-top: 26px;
		}
	.logo {
		float: right;	
		width: 527px;
		height: 197px; 
		margin-top: 10px;
		display: block;
	}
	
/* ==================== MENU */
.menu {
	width: 100%;
	height: 40px;
	box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
	margin-bottom: 15px;
	background: #cabdac;
	background-image: linear-gradient(top, rgb(247,242,236) 0%, rgb(202,189,172) 100%);
	background-image: -o-linear-gradient(top, rgb(247,242,236) 0%, rgb(202,189,172) 100%);
	background-image: -moz-linear-gradient(top, rgb(247,242,236) 0%, rgb(202,189,172) 100%);
	background-image: -webkit-linear-gradient(top, rgb(247,242,236) 0%, rgb(202,189,172) 100%);
	background-image: -ms-linear-gradient(top, rgb(247,242,236) 0%, rgb(202,189,172) 100%);
}
	.menu li {
		float: left;
		position: relative;
		border-right: 1px solid #c8beb2;
		border-left: 1px solid #f0f0f0;
	}
	.menu li:nth-child(1){
		width: 180px;
		border-left: none;
	}
	.menu li:nth-child(2){ width: 170px; }
	.menu li:nth-child(3){ width: 260px; }
	.menu li:nth-child(4){ width: 200px; }
	.menu li:nth-child(5){
		width: 180px;
		border-right: none;	
	}
		.menu li a, .menu li a:visited {
			font-size: 14px;
			text-align: center;	
			padding-top: 12px;
			display: block;
			height: 40px;
			width: 100%;
			text-decoration: none;
			text-shadow: 1px 1px 0px rgba(255,255,255,.8);
		}
		.menu li a:hover { color: #980005; }
		.current {
			color: #ffffff !important;
			text-shadow: 1px 1px 0px rgba(0,0,0,.8) !important;
			background: #b63134;
			background-image: linear-gradient(top, rgb(182,49,52) 0%, rgb(111,12,18) 100%);
			background-image: -o-linear-gradient(top, rgb(182,49,52) 0%, rgb(111,12,18) 100%);
			background-image: -moz-linear-gradient(top, rgb(182,49,52) 0%, rgb(111,12,18) 100%);
			background-image: -webkit-linear-gradient(top, rgb(182,49,52) 0%, rgb(111,12,18) 100%);
			background-image: -ms-linear-gradient(top, rgb(182,49,52) 0%, rgb(111,12,18) 100%);
		}
		.menu > li > span {
			display: none;
			height: 10px;
			width: 20px;
			top: 40px;
			left: 50%;
			z-index: 999;
			margin-left: -10px;
			position: absolute;
			background: url(../images/menu_hover.png) center top no-repeat;
		}
		.menu li .current + span { display: block !important; }

/* ==================== ASIDE */
aside {
	float: left;
	width: 220px;
}
	.aside-menu {
		display: none;
		margin: 10px 0 30px 0;
	}
	.display { display: block; }
		.aside-menu > a, .aside-menu > a:visited {
			width: 100%;
			display: block;
			color: #000000;
			font-size: 13px;
			padding: 10px 18px;
			border-top: 1px solid #fff;
			border-bottom: 1px solid #afaaa3;
			border-left: 1px solid transparent;
			text-shadow: 1px 1px 0px rgba(255,255,255,.8);
			text-decoration: none;
			background: #cabdac;
			background-image: linear-gradient(top, rgb(247,242,236) 0%, rgb(202,189,172) 100%);
			background-image: -o-linear-gradient(top, rgb(247,242,236) 0%, rgb(202,189,172) 100%);
			background-image: -moz-linear-gradient(top, rgb(247,242,236) 0%, rgb(202,189,172) 100%);
			background-image: -webkit-linear-gradient(top, rgb(247,242,236) 0%, rgb(202,189,172) 100%);
			background-image: -ms-linear-gradient(top, rgb(247,242,236) 0%, rgb(202,189,172) 100%);
		}
		.aside-menu > a:hover, .am-current { color: #980005 !important; }
		.am-current { border-left: 1px solid #980005 !important; }
		
	#ab-works {
		position: relative;
		margin-top: 10px;
	}
		#ab-works > h2 {
			width: 100%;
			padding: 10px 0 0 50px;
			height: 46px;
			background: url(../images/ab-works-line.png) left top no-repeat;
		}
		.slides_container {
			margin-top: 10px;
			width: 100%;
			height: 250px;
		}	
			.slides_container div { width: 220px; }
				.slider_img {
					display: block;	
					width: 220px;
					height: 195px;
					border: 1px solid #cdc3b6;
				}
					.slider_img > img {
						display: block;	
						width: 218px;
						height: 193px;
					}
				.about-work {
					color: #5c2d13;
					font-style: italic;
					padding-top: 7px;
					text-align: center;
				}
					.about-work > span { font-size: 11px; }
		.prev, .next {
			width: 13px;
			height: 28px;
			display: block;
			top: 261px;
			position: absolute;
			z-index: 10;
		}
		.prev {
			left: 0px;
			background: url(../images/ab-works-nav.png) left top no-repeat;
		}
		.prev:hover { background: url(../images/ab-works-nav.png) left bottom no-repeat; }
		.next {
			right: 0px;
			background: url(../images/ab-works-nav.png) right top no-repeat;
		}
		.next:hover { background: url(../images/ab-works-nav.png) right bottom no-repeat; }
		
	.ab-news { margin-top: 20px; }
		.ab-news > h2 {
			width: 100%;
			padding: 10px 0 0 50px;
			height: 46px;
			background: url(../images/ab-news-line.png) left top no-repeat;
		}
		.ab-news-cont {
			margin-top: 10px;
			width: 100%;
		}
			.ab-news-date {
				float: left;
				color: #5c2d13;
				font-style: italic;
			}			
			.ab-news-title {
				float: left;
				font-weight: bold;
				margin: 5px 0;
			}			
			.ab-news-text { color: #757575; }
		.allnews {
			float: right;
			margin-top: 10px;
		}

/* ==================== MAINBLOCK */	
section {
	float: right;
	width: 750px;
	padding: 20px;
	background: #f8f6e9;
	box-shadow: 1px 1px 2px rgba(0,0,0,.3);
}
	.speedbar, .speedbar a, .speedbar a:visited  {
		font-size: 10px;
		color: #8c8870;
	}		
	.speedbar { margin-bottom: 10px; }	
	hr {
		border: none;
		width: 100%;
		height: 2px;
		background: #d0d0d0;
		margin: 10px 0;
	}
	.block {
		margin-top: 20px;
		line-height: 18px;
	}
		.block > h2 { margin-bottom: 10px; }
		.block > div { text-align: justify; }
		
	.navigation {
		float: left;
		width: 100%;
		margin: 30px 0 10px 0;
	}
				
/* ==================== SHORTSTORY */
.shortstory {
	width: 100%;
	margin-top: 20px;
}
	.ss-date {
		float: left;
		color: #5c2d13;
		font-style: italic;
		margin-top: 3px;
	}
	.ss-edit {
		float: right;
		margin-top: 3px;
	}
	.ss-text { margin-top: 5px; }
	
.shortstory-photo {
	float: left;
	width: 345px;
	text-align: center;
	margin: 20px 20px 0 0;
}
.shortstory-photo:nth-of-type(2n) { margin-right: 0; }
	.shortstory-photo > a:first-child {
		display: block;
		width: 345px;
		height: 306px;
		border: 3px solid #d0d0d0;
	}
		.shortstory-photo > a:first-child > img {
			display: block;
			width: 339px;
			height: 300px;
		}
	.shortstory-photo > h3 { margin-top: 5px; }
	.catlink { 
		color: #5c2d13;
		font-style: italic;
	}
	
.collective {
	float: left;
	width: 100%;
	margin-top: 25px;
}
	.col-thumb {
		float: left;
		display: block;
		width: 256px;
		height: 319px;
		border: 3px solid #d0d0d0;
	}
	.col-data {
		float: right;
		width: 434px;
		padding: 15px 0;
	}
		.col-status {
			margin-top: 5px;
			color: #5c2d13;
			font-style: italic;
		}
		.col-text { margin-top: 10px; }
	
/* ==================== FULLSTORY & STATIC */
.fs-text {
	width: 100%;
	margin-top: 5px;
}
	.fs-text > img { border: 3px solid #d0d0d0; }
	.fs-date {
		float: left;
		color: #5c2d13;
		font-style: italic;
	}
	.attachment { color: #980005; }	
	
	table.table { width: 100%; }
		table.table tr th, table.table tr td {
			padding: 8px;
			text-align: center;
			vertical-align: middle;
			border-bottom: 1px solid #d0d0d0;
			white-space: nowrap;
		}
		table.table tr th {
			color: #980005;
			white-space: normal;
			font-weight: bold;
			border-bottom: 1px solid #bb2626;
		}
		table.table tr:nth-child(2n) td { background: #f5f3ef; }
		table.table tr:nth-child(2n+1) td { background: #fbfbfb; }
		
		/* Индивидуальные стили */
		table.w-s-1 tr td:nth-child(1) {
			text-align: left !important;
			white-space: normal !important;
		}
		table.w-s-2 tr td:nth-child(1) { text-align: left !important; }
		table.w-s-2 tr td:nth-child(2) { white-space: normal !important; }
		table.w-s-3 tr td {
			text-align: left !important;
			white-space: normal !important;
		}
		table.w-s-3 tr td:nth-child(3) { width: 35% !important; }

.fs-photo {
	width: 100%;
	margin-top: 5px;
}
	.fs-photo a img {
		display: block;
		float: left;
		width: 224px;
		height: 193px;
		margin: 19px 19px 0 0;
		border: 3px solid #d0d0d0;
	}
	.fs-photo a:nth-of-type(3n) img { margin-right: 0; }
	.fs-photo > br { display: none; }
	
/* ==================== STATIC */
.board {
	float: left;
	width: 100%;
	margin-top: 20px;
}
	.board > div {
		float: left;
		width: 105px;
		text-align: center;
		margin-right: 16px;
	}
	.board > div:last-child { margin-right: 0; }		
		.board > div > a:first-child {
			float: left;
			display: block;
			width: 105px;
			height: 130px;
			margin-bottom: 10px;
			border: 3px solid #d0d0d0;
		}
			.board > div > a  > img {
				float: left;
				display: block;
				width: 99px;
				height: 124px;
			}

/* ==================== FOOTER */
footer {
	border-top: 3px solid #cbc2a3;
	width: 100%;
	height: 70px;
	color: #5c2d13;
	margin-top: 20px;
	padding: 15px 20px 0 70px;
	background: url(../images/footer-bg.png) 10px 7px no-repeat;
}
	.copyright { float: left; }
	.redroll {
		float: right;
		text-align: right;
	}

/* ==================== FEEDBACK */
.map {
	width: 100%;
	height: 300px;
	margin-top: 30px;
	border: 1px solid #bdbdbd;
}
.contact_form { padding-top: 30px; }
	.contact_form > label {
		display: block;
		padding-left: 3px;
		margin-bottom: 3px;
		text-align: left;
	}
	.f_input, .f_textarea {
		width: 100%;
		padding: 6px;
		margin-bottom: 10px;
		border: 1px solid #bdbdbd;	
		background: #fcfcfc;
	}
	.f_input:focus, .f_textarea:focus { background: #ffffff; }
	.f_textarea { height: 150px; }
	input:-moz-placeholder, textarea:-moz-placeholder { color: #a8a79d; }
	input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { color: #a8a79d; }
	input:-ms-input-placeholder, textarea:-ms-input-placeholder  { color: #a8a79d; }
	#dle-captcha {
		display: block;
		clear: both;
		margin-bottom: 5px;
	}
	.fbutton {
		display: block;
		padding: 5px 10px;
		cursor: pointer;
		font-weight: bold;
		text-shadow: 1px 1px 0 rgb(255,255,255);
	}