/*** Primary Style Sheet for Theme ***/

body {
	margin: 0;
	padding: 0;
	background: #222 url("http://8studio.ru/assets/images/bottom-bg-glow.gif") repeat-y 30% 0;
	font: normal 13px/1.5 Arial, Helvetica, Garuda, sans-serif;
	color: #000;
	text-align:center;

}

#page .autolink_link a:link {
	border:#333 1px bottom solid;
	color: #3F0;
	}
	

#message
		{
			/* display: block before hiding */
			display: block;
			display: none;

			/* link is above all other elements */
			z-index: 999; 

			/* link doesn't hide text behind it */
			opacity: .8;

			/* link stays at same place on page */
			position: fixed;

			/* link goes at the bottom of the page */
			top: 100%;
			margin-top: -80px; /* = height + preferred bottom margin */

			/* link is centered */
			left: 80%;
			margin-left: -80px;

			/* round the corners (to your preference) */
			-moz-border-radius: 24px;
			-webkit-border-radius: 24px;

			/* make it big and easy to see (size, style to preferences) */
			width: 300px;
			line-height: 48px;
			height: 48px;
			padding: 10px;
			background-color: #000;
			font-size: 24px;
			text-align: center;
		}
		
		#message a { color: #fff; }


/**** Link Styles ****/

a:link, a:visited {
	color: #2FA694;
	text-decoration: underline;}
a:hover, a:active {
	color: #444;}
	

	
	/* main menu */

#header .main-menu a:link, #header .main-menu a:visited {
	color: #333;
	text-decoration: none;}
#header .main-menu li li a:link, #header .main-menu li li a:visited {
	color: #999;
	text-decoration: none;}
	
	
	
/* scroll to top ^ */

a.scroll-top {
	float: right;
	margin-top:2px;
	padding:5px 4px 4px 8px;
	color: #999;
	text-transform: uppercase;
	text-decoration: none;
	font: bold 70% Verdana, Arial, Helvetica, Garuda, sans-serif;
	border: 1px dotted #D6D6D6;
	background-color: #f6f6f6;
	border-bottom: 0;}



/**** Text Styles ****/

/* blockquote, code and pre */

blockquote {
	margin: 0 0 18px 4px;
	padding: 0 16px;
	font-style: italic;
	font-size: 1.3em;
	border-left: 5px solid #C6C6C6;}
	

code, pre {
	font: normal 13px/18px Consolas, "Courier New", Courier, monospace;
	background: #F0EEF9 url("http://8studio.ru/assets/images/pre-bg.gif") repeat 0 0;
	padding: 18px 5px;
	border: 1px dotted #C6C6C6;
	color: #333;}

code {
	padding: 1px 3px;
	background-image: none;}
	

/* UL and OL lists */

#page-content ul, #page-content ol {margin: 0 0 20px 5px;}
#page-content ol {padding-left: 2em;}
#page-content ul ul, #page-content ol ol,
#page-content ul ol, #page-content ol ul {
	margin-top: 8px;}
#page-content ul li, 
#page-content ol li {
	line-height: 1.3em;
	padding: 3px 5px;}
#page-content ul li {padding-left: 15px;}
#page-content ol li {
	list-style-type:decimal;
	list-style-position: outside;}

	
/* styled lists */

#page-content ul li {background: none;}	/* default list style */
#page-content ul.bullet-black li {background: transparent url("http://8studio.ru/assets/images/bullets/dot_black.gif") no-repeat 0 .6em;}
#page-content ul.bullet-gray li {background: transparent url("http://8studio.ru/assets/images/bullets/dot_gray.gif") no-repeat 0 .6em;}
#page-content ul.bullet-silver li {background: transparent url("http://8studio.ru/assets/images/bullets/dot_gray_light.gif") no-repeat 0 .6em;}
#page-content ul.bullet-blue li {background: transparent url("http://8studio.ru/assets/images/bullets/dot_blue.gif") no-repeat 0 .6em;}
#page-content ul.bullet-green li {background: transparent url("http://8studio.ru/assets/images/bullets/dot_green.gif") no-repeat 0 .6em;}
#page-content ul.bullet-orange li {background: transparent url("http://8studio.ru/assets/images/bullets/dot_orange.gif") no-repeat 0 .6em;}
#page-content ul.bullet-red li {background: transparent url("http://8studio.ru/assets/images/bullets/dot_red.gif") no-repeat 0 .6em;}
#page-content ul.bullet-disc-black li {background: transparent url("http://8studio.ru/assets/images/bullets/circle_black.gif") no-repeat 0 .6em;}
#page-content ul.bullet-disc-gray li {background: transparent url("http://8studio.ru/assets/images/bullets/circle_gray.gif") no-repeat 0 .6em;}
#page-content ul.bullet-disc-silver li {background: transparent url("http://8studio.ru/assets/images/bullets/circle_gray_light.gif") no-repeat 0 .6em;}
#page-content ul.bullet-disc-blue li {background: transparent url("http://8studio.ru/assets/images/bullets/circle_blue.gif") no-repeat 0 .6em;}
#page-content ul.bullet-disc-green li {background: transparent url("http://8studio.ru/assets/images/bullets/circle_green.gif") no-repeat 0 .6em;}
#page-content ul.bullet-disc-orange li {background: transparent url("http://8studio.ru/assets/images/bullets/circle_orange.gif") no-repeat 0 .6em;}
#page-content ul.bullet-disc-red li {background: transparent url("http://8studio.ru/assets/images/bullets/circle_red.gif") no-repeat 0 .6em;}
#page-content ul.bullet-check li {
	background: transparent url("http://8studio.ru/assets/images/bullets/check.gif") no-repeat 0 .2em; 
	padding-left: 20px;}
	
#page-content table, #page-content td, #page-content tr {
	padding: 5px;
	border: #999 1px solid}
	
#page-content .headline table, #page-content .headline td, #page-content .headline tr, #page-content .headline th {
	background:#dee8f2;
	text-align:center;
	padding: 5px;
	border:#999 1px solid}

	

/* numbered list with styling */	
	
#page-content ol.number-pad {
	padding: 3px 5px 5px 22px;
	border-left: 1px solid #E9E9E9;
	background: transparent url("http://8studio.ru/assets/images/bullets/ordered-background.gif") repeat-y 0 0;}
#page-content ol.number-pad ol, 
#page-content ol.number-pad ul {
	background: none; margin-left:18px;}
#page-content ol.number-pad  li {
	padding-left: 10px;
	border-bottom:1px dotted #D6D6D6;}


/* list with image, title and description */



#page-content ul.post-list {
	margin-left:0;}
#page-content ul.post-list li {
	margin: 0 0 1em;
	padding: 0;
	background: none;
	border-bottom: 1px dotted #D6D6D6;
	font-size: 85%;}
#page-content ul.post-list li img {
	float: left;
	margin: 0 8px 1em 0;
	border: none;}
#page-content ul.post-list li a {
	display: block;
	font-weight:bold;
	margin-bottom: .3em;}

.tizers {margin-left: -22px;}
.two-thirds .tizers {width:630px;} /* stupid IE (version 7 only)  */
.tizers-item {
	float: left;
	width: 270px;
	margin: 0 0 22px 22px;}
.tizers-item h5, .tizers-item p {
	margin: 0 0 .65em;
	padding: 0;}
 .tizers-image img{
	width: 270px;
	height: 148px;
	border: none}
.tizers-image a:hover img{
	width: 270px;
	height: 148px;
	border: 5px solid red;}
.tizers-description {
	height: 20px;
	margin: 8px 0 0;
	overflow: hidden;}

.back {
	display:block;
	float:right;
	height:28px;
	width:70px;
	padding-bottom: 8px;
	
	}

/* headings */

h1, h2, h3, h4, h5, h6 {
	font-weight: 800;
	line-height: 1;
	margin: 0 0 0.5em;
	padding: 0 0 0.25em;
	color: #000;
	border-bottom: 1px solid #C6C6C6;}
h1 {font-size: 3em; font-weight: normal; letter-spacing: -1px;}
h2 {font-size: 2em;}
h3 {font-size: 1.5em; margin-bottom: 0.75em;}
h4 {font-size: 1.25em; margin-bottom: 0.75em; border-bottom: none;}
h5 {font-size: 1em; font-weight: bold; margin-bottom: 1em; border-bottom: none;}
h6 {font-size: 1em; font-weight: lighter; text-transform:uppercase; margin-bottom: 1em; border-bottom: none;}

h2.star {
	background: transparent url("http://8studio.ru/assets/images/icons/star.png") no-repeat 0 50%;
	padding: 0 0 0 54px;
	line-height:48px;
	height:40px;}
h2.colors {
	background: transparent url("http://8studio.ru/assets/images/icons/colors.png") no-repeat 0 48%;
	padding: 0 0 0 54px;
	line-height:48px;
	height:40px;}
h2.layout {
	background: transparent url("http://8studio.ru/assets/images/icons/layout.png") no-repeat 0 48%;
	padding: 0 0 0 54px;
	line-height:48px;
	height:40px;}




/**** Page Layout and Design Styles ****/

/* layouts styles */

.one-third {
	float: left;
	width: 323px;
	margin: 0 0 0 22px;
list-style: none;
list-style-type:none;
list-style-image:none;
text-align:left;

	}
	
.one-third-slide {
	float: left;
	width: 323px;
	margin: 0;
list-style: none;
list-style-type:none;
list-style-image:none;
text-align:left;

	}
.two-thirds {
	float: left;
	width: 578px;
	margin: 0 0 0 22px;
	text-align:left;
}

.half-page {
	float: left;
	width: 450px;
	margin: 0 0 0 22px;
	text-align:left;
}
	
.full-page {
	margin: 0 0 0 22px;
	text-align:left;
}
	

/* logo */

#logo {
	float: left;}
#logo img {
	margin: 26px 20px 0 0;}
#logo-footer {
	float: right;
	margin-top: -20px;
	margin-bottom: -20px;}


/* design width and position */

#main-content, #footer-content {
	margin: 0 auto;
	width: 967px;
	padding: 0 12px 0 11px;
	text-align:left;
}
#slideshow, #page, .home #header-graphic {
	width: 990px;
	margin: 0 -12px 0 -11px;}
	

/* main page structure  */

#main {
	background: #fff;}
#main-content {padding-bottom: 35px;}


/* header */

#header {height: 107px;}
.home #header {height: 119px;}
#header-graphic {
	clear: both;
	display: none;}
.home #header-graphic {
	display: block;
	height: 30px;
 	background: transparent url("http://8studio.ru/assets/images/header-underline.png") no-repeat 0 0;}

/* main menu - edit menu styles using MENU.CSS file */	

	
.main-menu {
	float: right;
	padding: 60px 70px 0 0;}

/* content area */

#page{
	background: transparent url("http://8studio.ru/assets/images/page-bg.png") no-repeat 0 0;
	margin-top: -11px;}
.home #page{
	position: relative;
	z-index: 99;}
#page-top-gap {height: 11px;}
#page-content {
	min-height: 400px;
	margin: 0 12px 0 11px;
	padding: 15px 22px 0 0;
	border-top: 10px solid #333;
	background: #fff url("http://8studio.ru/assets/images/page-bg-repeat.gif") repeat-x 0 1px;}


/* slideshow */

#slideshow {
	height: 337px;
	margin-top: -4px;
	overflow: hidden;}


/* footer */

#footer {
	padding: 16px 0 0;
	background: transparent url("http://8studio.ru/assets/images/bottom-bg.gif") repeat-x 0 0;
	font-size: 11px;
	font-weight: bold;
	color: #b2b1b1;}
#footer-content {
	padding-top: 21px;
	padding-bottom: 21px;	}
#footer-content a:link, #footer-content a:visited {
	color: #fff;
	text-decoration: none;}
#footer-content a:hover, #footer-content a:active {
	text-decoration: underline;}

/* sub-navigation menu */

#page-content ul.sub-navigation {
	padding: 0;
	margin-left: 0;}
#page-content ul.sub-navigation li {
	background: none;
	padding: 0;
	margin: 0;}
.sub-navigation a {
	display: block;
	padding: 5px 4px 2px;
	border-bottom: 1px dotted #c6c6c6;
	font-size: 1.1em;
	text-decoration: none;}

.sub-navigation li.active a{
	display: block;
	padding: 5px 4px 2px;
	border-bottom: 1px dotted #c6c6c6;
	color: #333;
	font-size: 1.1em;
	text-decoration: none;}

/* ---------- gallery styles start here ----------------------- */
.gallery {
	list-style: none;
	margin: 0;
	padding: 10px;
}
.gallery li {
	margin: 0;
	padding: 0;
	float: left;
	position: relative;
}
.gallery img {
	background: #fff;
	border: solid 3px #ccc;
	
}
.gallery a:hover img {
	border-color: #F00;
}
 
.gallery span {
	display: block;
	position: absolute;
	background: none;
}
.gallery a {
	text-decoration: none;
}

/* portfolio */
	 /* portfolio box*/
	.portfolio_con{
		
		margin-bottom: 10px;
		height: 200px;
		width:600px;
		float:left;
		overflow: hidden;
		position: relative;
		display:inline;
		
			}
	 /* portfolio image*/
	.portfolio_con img{
		position: absolute;
		top: 0;
		left: 0;
		border: #CCC solid 5px;
		
	}
	 /* portfolio text */
	.portfolio_text{
		background: #CCC;
		margin: 0px 20px 0 0px;
		float: left;
		position: absolute;
		width: 256px;
		height: 160px;
		padding: 20px 20px 0 20px;
		left: -365px;
		bottom: 20px;
	 }
	 /* portfolio heading */
	.portfolio_text h2{
	 }
 	 /* portfolio arrow */
	.portfolio_con .portf_arrow{
		padding:20px;
		position: absolute;
		z-index:999;
		top:130px;	
		left:260px;
		border: none
	}
	
/* paging*/
#paging {width:100%; float:left}
		#paging ul li{list-style: none; 
			float:left;
			margin-right:5px;
			height: 20px;
			width:20px;
			float:left;
			padding:0px;
			border: #999 1px solid;
			overflow: hidden;
			position: relative;
			text-align:center;
			background: none;
			
		}
		 /* paging mouseover*/
		#paging ul li:hover{
			background:#ccc;
			color:#FFF;
			border: #999 1px solid;
		}
		 /* paging active*/
		#paging ul li.active{
			border: #999 1px solid;
			background: #ccc;
		}
		 /* paging link*/
		#paging ul li a{
			color:#039;
			text-decoration:none;
		}
		#paging ul li a:hover{
			text-decoration:none;
			color:#fff;
		}

/* blog */

/* contact */

#comment-form fieldset legend {
	display: none;}
#comment-form label {
	display: block;}
#comment-form .text-input, #comment-form .text-area {
	background: #f6f6f6;
	border: 1px solid #C6C6C6;
	color: #333;
	height: 22px;
	padding: 4px 0 0 2px;
	width: 325px;}
#comment-form .text-area {
	height: 150px;
	font-family: Arial, Helvetica, Garuda, sans-serif;}
#comment-form input.error, #comment-form textarea.error {
	background-color: #ffc;
	border-color: #EF7E58;}
#comment-form label.error {
	color: #f33;
	font: bold 10px Verdana, Arial, Helvetica, Garuda, sans-serif;}
.fbForm .form { padding-left: 40px; }
.fbForm .name { padding-top: 12px; font-size: 8pt; color: #7d7d7d; }
.fbForm .element { padding-top: 2px; }
.fbForm .element INPUT, .fbForm .element TEXTAREA {
        border: 1px solid #ccc;
        background-color: #E6EFF6;
        font-size: 10pt;        
        color: #2C5883;
}
.fbForm INPUT#fbName,
.fbForm INPUT#fbEMail {
        background-image: url(images/icon_form.gif);
        background-repeat: no-repeat;
        width: 250px;
        padding: 4px 0px 4px 25px;
}
.fbForm INPUT#fbName    { background-position:3px -3px; }
.fbForm INPUT#fbEMail { background-position:3px -33px; }
.fbForm TEXTAREA#fbText {
        padding: 4px 4px 4px 25px;
        width: 425px;
        font-family: Tahoma;
        background: #E6EFF6 url(images/icon_form.gif) no-repeat 3px -93px;
}

/*Feedback */

.fbForm .captcha-test TD { vertical-align: top; padding-right: 15px; }
.fbForm .captcha { padding-top: 3px; }
.fbForm .captcha IMG { border: 1px solid #ccc; }
.fbForm INPUT#vericode { width: 130px; padding: 4px 0px 4px 25px; background: #E6EFF6 url(../images/icon_form.gif) no-repeat 3px -63px; }
.fbForm .submit { padding-top: 15px; }
.fbForm INPUT#fbSubmit {
        border: 1px solid #ccc;
        background-color: #f7f7f7;
        cursor: pointer;
        padding: 2px 15px 2px 15px;
}
.fbForm .error { font-size: 8pt; color: red; display: none; }
