/* Текст */
body {font:0.9em/1.3em Arial, Helvetica, sans-serif; background:#fff; color:#333;}
p {margin:0 0 1.3em;}
.more p {padding:1em 0}
h1, h2, h3 {font-family:Tahoma, sans-serif; font-weight:normal; margin:1.3em 0 0.5em;}
h1 {font-size:1.9em;}
h2 {font-size:1.6em;}
h3 {font-size:1.3em;}
blockquote {font-style:italic;}

/* Ссылки */
a {color:#6291A8;}
a:hover {color:#436373;}
a.pseudo_link {text-decoration:none; outline:none;}
a.pseudo_link span {border-bottom:1px dashed;}
.nou {text-decoration:none;}
a.external-link {
	background:url("../i/external-link-ltr-icon.png") no-repeat scroll right center transparent;
	padding:0 13px 0 0;
}

/* Вспомогательные классы */
/*
"w-" — width
"t-" — text
"b-" — block
"l-" — list
*/
.w-full {width:100%;}
.w-half {width:50%;}
.b-float {float:left;}
.b-floatr {float:right;}
.clear-both {clear:both;}
.t-top {vertical-align:top;}
.t-middle {vertical-align:middle;}
.t-right {text-align:right;}
.t-left {text-align:left;}
.t-center {text-align:center;}

.disable {color:#c0c0c0;}
.img_margin {margin:0 0 0 1em;}

/* Дизайн */
#layout {max-width:1440px; min-width:960px;}
#content {clear:both; padding:1em 0;}
#content .text {width:70%; margin:0 20% 0 10%;}

.text_marker {margin:0 0 1.3em 1em;}
.text_marker p, .text_marker ul, .text_marker ol {padding: 0; margin:0;}
.text_marker ol li {list-style:decimal;}
.text_marker li {margin: 0.5em 0 0.5em 1.3em;}
.text_marker ul {list-style-type: none; //list-style-image: url('li.gif');}
.text_marker ul li {
    padding: 0;
    behavior: expression(
        ( !this.before && parentNode && parentNode.tagName == 'UL' )
        ?
            ( this.before = true )
            & ( parentNode.style.listStyleImage = 'none' )
            & (
                ( this.firstChild && this.firstChild.firstChild )
                ?
                    ( this.firstChild.style.marginTop = '-1.2em' )
                    & ( this.firstChild.style.position = 'relative' )
                : ''
            )
            & ( eNOBR = document.createElement( '<nobr style="position: relative; display: block; width: 1.25em; left: -1.25em; margin: 0 -1.25em -1.2em 0;" />' ) )
            & ( eNOBR.innerHTML = '&mdash;&nbsp;' )
            & ( this.insertBefore( eNOBR, this.firstChild ) )
        : ''
    );
}

.text_marker ul>li:before {content: '\2014\a0'; float: left; margin-left: -1.25em;}
.text_marker ul>li>*:first-child:-moz-first-node {margin-top: -1.2em;}
.text_marker ul>li>* {text-indent: 0;}
.text_marker .sup {position: relative; top: -0.5em; font-size: 0.75em; //font-size: 0.89em; line-height: 0; vertical-align: baseline;}


/* Top table */
#top_table {width:100%;}
#top_table tr td {padding:1em; //padding:0.5em; vertical-align:middle;}
#top_table tr.table_center td {text-align:center;}
#top_table img.tera_logo {margin-right:20px;}

/* Main Navigation */
#top_table .nav-main {
	overflow:hidden;
	float:left;
	margin-left:10%;
}
#top_table .nav-main li {
	float:left;
	font:28px/32px Tahoma,Arial,Helvetica,sans-serif;
	margin-right:0.5em;
	padding:0.1em;
}
#top_table .nav-main li a {padding:0 3px;}
#top_table .nav-main li.active {
	background:#F6F7F9;
	border-radius:5px;
		-webkit-border-radius:5px;
		-moz-border-radius:5px;
}
#top_table .nav-main li.active a {
	color:#333;
	text-decoration:none;
}

/* Footer */
#footer {clear:both; padding:20px 40px 0 40px; margin-top:2em; color:#2F6D8D; overflow:hidden; border-top:1px #DCDFE9 solid;}
#footer ul li {display:inline; margin:0 4em 0 0;}
#footer ul li img {vertical-align:middle;}

#footer .bottom_menu {
	overflow:hidden;
	position:relative;
	width:100%;
	margin:0 0 1em 0;
}
#footer .bottom_menu dl {
	float:left;
	width:14%;
	line-height:1.2em;
}
#footer .bottom_menu dl dt {
	font-size:0.9em;
	margin-bottom:0.3em;
}
#footer .bottom_menu dl dd {
	font-size:0.8em;
	margin-bottom:0.4em;
}

#footer .disable {color:#c0c0c0;}

#footer .socfav li {
	float:left;
	margin-right:0.5em;
}
#footer .socfav li a {
	display:block;
	width:16px;
	height:16px;
	background:url("../i/social-favicons.png") 0 0 no-repeat;
	opacity:0.7;
		filter:alpha(opacity=70);
}
#footer .socfav .twitter {background-position:-32px 0;}
#footer .socfav .youtube {background-position:-48px 0;}
#footer .socfav .vimeo {background-position:0 0;}
#footer .socfav .vkontakte {background-position:-64px 0;}
#footer .socfav .livejournal {background-position:-16px 0;}
#footer .socfav .twitter:hover {opacity:1; filter:alpha(opacity=100);}
#footer .socfav .youtube:hover {opacity:1; filter:alpha(opacity=100);}
#footer .socfav .vimeo:hover {opacity:1; filter:alpha(opacity=100);}
#footer .socfav .vkontakte:hover {opacity:1; filter:alpha(opacity=100);}
#footer .socfav .livejournal:hover {opacity:1; filter:alpha(opacity=100);}

#footer .bottom_menu .counters img {opacity:0.5; filter:alpha(opacity=50);}
#footer .bottom_menu .counters img:hover {opacity:1; filter:alpha(opacity=100);}

/* Navigation of Blog */
.menu {padding:0.5em 0 2em 10%;}
.menu li {float:left; padding:8px 10px; background:#F1F2F6; font-size:15px; text-shadow:1px 1px 0 #F0EBEB;
border-radius:5px;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
}
.menu li.active {position:relative; background:#DCDFE9;}
.menu li.active a {color:#333; text-decoration:none;}

/* Блоки картинок */
.thumbnails {padding:1em 1em 3em 1em; margin:-1em 0 0 -1em; text-align:center;}
.thumbnails ins {text-decoration:none; display:-moz-inline-box; display:inline-block; vertical-align:top; text-align:left; margin:1em 0 0 1em;}
.thumbnails ins a {display:block; width:225px; float:left;}
/*.thumbnails ins a img {border:2px #436373 solid;}
.thumbnails ins a:hover img {border:2px #6291A8 solid;}*/

.thumbnails_wallpapers {padding:1em 0 3em 0; margin:-2em 0 0 -2.5em; text-align:center;}
.thumbnails_wallpapers ins {text-decoration:none; display:-moz-inline-box; display:inline-block; vertical-align:top; text-align:left; margin:2em 0 0 2.5em;}
.thumbnails_wallpapers ins b {display:block; width:250px; float:left;}

/* Легкая версия */
#lite_popori_images {margin:0.5em 2em;}

/* Галерея картинок */
#view_block {text-align:center;}
.navi_images {margin:1em; text-align:center;}
.navi_images a {margin:0 1em;}

.links_for {text-align:right; width:400px; margin:2em auto;}
.links_for label {display:block; margin:1em 0;}
.links_for input {width:300px; color:#333; font-size:0.9em;}

/* Pagination */
#pagination {padding-left:40px;}
#pagination p {font-size:18px; color:#bbb;}
#pagination ul {overflow: hidden; margin-top:10px; font-family:Arial, Sans-Serif;}
#pagination ul li {float:left; margin-right:8px; font-size:14px;}
#pagination ul li.active {background:#E8E9EC; padding:0 3px;}
#pagination.onpage {padding-left:0px;}

/* Audio and video tabs */
.ost_block {margin:2em auto;}
.popori {width:270px;}
.all {width:500px;}

.video_block {margin:2em auto; width:620px;}
.video_block ul.down_links li {margin:0.5em 0;}
.video_block ul.down_links li.sm {font-size:0.8em;}

.tabs {width:100%; overflow:hidden; margin:2em 0; zoom:1; padding:1px; position:relative;}
.tabs dt {float:left; line-height:2; height:2em; background:#F1F2F6; border:1px solid #F1F2F6; border-bottom:0; padding:0 1em; position:relative;
left:35px; margin-right:1px; cursor:pointer;
-webkit-border-top-left-radius:10px;
-webkit-border-top-right-radius:10px;
-moz-border-radius-topleft:10px;
-moz-border-radius-topright:10px;
}
.tabs dt:hover {background-color:#DCDFE9;}
.tabs dt.selected {border-color:#D2D5E0; background:#fff; z-index:3; cursor:auto;}
.tabs dd {background:#fff; display:none; float:right; width:100%; margin:2em 0 0 -100%; position:relative; z-index:2;}
.tabs dd.selected {display:block;}
.tabs .tab-content {border:1px solid #D2D5E0; padding:20px;
-webkit-border-radius:20px;
-moz-border-radius:20px;
}

dl.hide_text {padding-bottom:1em;}
dl.hide_text dt {font-size:1.3em; line-height:1.3em; margin-bottom:0.3em;}

.img_p {text-align:center;}
