@import "http://webfonts.ru/import/roboto.css";

* {
	margin: 0;
	padding: 0;
}
html {
	height: 100%;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
	display: block;
}
fieldset {
    border: none;
}
body {
	font: 400 12px/18px Roboto, sans-serif;
	height: 100%;
}
p {
    padding: 0 0 10px;
}
a {
    color: #116daa;
    text-decoration: underline;
    position: relative;
}
a:hover {
    text-decoration: none;
}
img {
    outline : none; border: none;
}
table {
    border-collapse: collapse;
}
.clear {
    height: 0;
    clear: both;
}
.justifyleft {
    text-align: left;
}
.justifyright {
    text-align: right;
}
.justifyfull {
    text-align: justify;
}
.helper {
    display: inline-block;
    width: 100%;
}
.page-preload {
    width: 100%; height: 100%;
    position: fixed;
    background: #fff;
    z-index: 9999;
}
.min-preload {
    width: 39px; height: 38px;
    background: url(/assets/templates/img/preload.gif) 0 0;
    position: absolute;
    left: 50%; top: 50%;
    margin: -19px 0 0 -20px;
}
.preload-text {
    margin: 30px 0 0 -33px;
    position: absolute;
    left: 50%; top: 50%;
    font-weight: 500;
    font-size: 15px;
    font-family: Arial;
    color: #777;
}
/* Success message --------------*/
.message-container {
    width: 400px; height: 100px;
    background: rgba(0,141,187,0.85);
    position: fixed;
    top: 50%; left: 50%;
    margin: -50px 0 0 -200px;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 0 4px rgba(0,69,106,0.7);
    z-index: 999;
    font-size: 18px;
    line-height: 100px;
}

.wrapper {
	min-width: 980px;
	width: 100%;
	margin: 0 auto;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	background: url(/assets/templates/img/lines_bg.jpg);
	position: relative;
}
.block-border {
    position: absolute;
    left: 0; right: 0;
    opacity: 0.8;
}
.block-border div {
    height: 1px;
}
.border-first {
    background: #fafafa; /* Old browsers */
    background: -moz-linear-gradient(left,  #fafafa 0%, #e6e6e6 72%, #fafafa 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#fafafa), color-stop(72%,#e6e6e6), color-stop(100%,#fafafa)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left,  #fafafa 0%,#e6e6e6 72%,#fafafa 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left,  #fafafa 0%,#e6e6e6 72%,#fafafa 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left,  #fafafa 0%,#e6e6e6 72%,#fafafa 100%); /* IE10+ */
    background: linear-gradient(to right,  #fafafa 0%,#e6e6e6 72%,#fafafa 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#fafafa',GradientType=1 ); /* IE6-9 */
}
.border-second {
    background: #c2c2c2; /* Old browsers */
    background: -moz-linear-gradient(left,  #c2c2c2 0%, #afafaf 72%, #d8d8d8 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#c2c2c2), color-stop(72%,#afafaf), color-stop(100%,#d8d8d8)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left,  #c2c2c2 0%,#afafaf 72%,#d8d8d8 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left,  #c2c2c2 0%,#afafaf 72%,#d8d8d8 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left,  #c2c2c2 0%,#afafaf 72%,#d8d8d8 100%); /* IE10+ */
    background: linear-gradient(to right,  #c2c2c2 0%,#afafaf 72%,#d8d8d8 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c2c2c2', endColorstr='#d8d8d8',GradientType=1 ); /* IE6-9 */
}
.border-third {
    background: #e3e3e3; /* Old browsers */
    background: -moz-linear-gradient(left,  #e3e3e3 0%, #c0c0c0 72%, #d4d4d4 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#e3e3e3), color-stop(72%,#c0c0c0), color-stop(100%,#d4d4d4)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left,  #e3e3e3 0%,#c0c0c0 72%,#d4d4d4 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left,  #e3e3e3 0%,#c0c0c0 72%,#d4d4d4 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left,  #e3e3e3 0%,#c0c0c0 72%,#d4d4d4 100%); /* IE10+ */
    background: linear-gradient(to right,  #e3e3e3 0%,#c0c0c0 72%,#d4d4d4 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e3e3e3', endColorstr='#d4d4d4',GradientType=1 ); /* IE6-9 */
}

/* Header
-----------------------------------------------------------------------------*/
.header {
	min-width: 960px; max-width: 1130px; height: 109px;
	margin: 0 auto;
	padding: 10px 10px 0;
	position: relative;
	z-index: 1;
}

.header-name-unauth {
    position: absolute;
    top: 0; right: 10px;
    color: #919191;
    z-index: 10;
}
.mod-user {
    padding: 0 5px 0 0;
    color: #58585a;
}
.unauth-link {
    font-style: italic;
}

.header-logo-container {
	padding-top: 10px;
    float: left;
}
.header-logo-text {
    font-weight: 300;
    font-size: 9px;
    color: #555;
    text-align: center;
}

.header-menu {
    float: right;
}
.header-menu li {
    display: block;
    margin-left: 100px;
    float: left;
    list-style: none;
    text-align: center;
}
.header-menu li a {
    display: inline-block;
    padding-top: 85px;
    position: relative;
    font-size: 17px;
    color: #58585a;
    text-transform: lowercase;
    text-decoration: none;
}
.header-menu li a:before,
.header-menu li a:after {
    content: "";
    display: block;
    position: absolute;
    background-image: url(/assets/templates/img/sprite.png);
    z-index: 3;
}
.header-menu li.testyi a:before {
    width: 57px; height: 82px;
    top: 0; left: -4px;
}
.header-menu li.novosti a:before {
    width: 80px; height: 72px;
    top: 8px; left: -7px;
    background-position: -57px 0;
}
.header-menu li.blogi a:before {
    width: 60px; height: 68px;
    top: 10px; left: -7px;
    background-position: -138px 0;
}
.header-menu li.interesnosti a:before {
    width: 58px; height: 68px;
    top: 18px; left: 25px;
    background-position: -198px 0;
}
.header-menu li a:after {
    height: 6px;
    left: -4px; right: 125%;
    background-position: 0 -82px;
    border-radius: 0 5px 5px 0;
    
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.header-menu li.active a:after,
.header-menu li a:hover:after {
    right: -6px;
}
.header-border {
    bottom: 0;
}

/* Top pagetitle
-----------------------------------------------------------------------------*/
.top-pagititle-container {
	min-width: 960px; max-width: 1130px; height: 110px;
	margin: 0 auto;
	padding: 15px 10px 0;
	position: relative;
}
.section-slogan-title:after {
	content: '.';
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}
.section-title {
    float: left;
    font-weight: 300;
    font-size: 64px;
    line-height: 64px;
    color: #0a79c6;
}
.section-slogan {
    float: left;
    font-weight: 300;
    font-size: 22px;
    line-height: 22px;
    color: #58585a;
    padding: 37px 0 0 20px;
}
.section-childs {
    font-weight: 300;
    font-size: 24px;
    line-height: 28px;
    color: #be910a;
    padding: 3px 0 0 5px;
}
.top-pagititle-border {
    width: 915px;
    margin: 0 auto;
    position: relative;
}
.news-guy {
    width: 105px; height: 134px;
    position: absolute;
    right: 5px; top: -125px;
    background: url(/assets/templates/img/sprite.png) -256px 0;
}

/* Bottom imgs
-----------------------------------------------------------------------------*/
.bot-img {
    position: absolute;
    right: 0;
    background-image: url(/assets/templates/img/sprite.png);
    z-index: 0;
}
.bot-1 {
    width: 63px; height: 95px;
    bottom: 40px;
    background-position: -169px -168px;
}
.bot-2 {
    width: 194px; height: 99px;
    bottom: 40px;
    background-position: -201px -296px;
}
.bot-3 {
    width: 95px; height: 101px;
    bottom: 40px;
    background-position: -136px -68px;
}
.bot-4 {
    width: 145px; height: 161px;
    bottom: 50px;
    background-position: -232px -135px;
}
.bot-5 {
    width: 200px; height: 105px;
    bottom: 35px;
    background-position: 0 -263px;
}

/* Middle
-----------------------------------------------------------------------------*/
.content {
	padding: 0 0 45px;
	position: relative;
	z-index: 1;
}

/* Pagination
-----------------------------------------------------------------------------*/
.pagination-container {
    width: 875px;
    margin: 0 auto;
}
.pagination {
    padding: 15px 0 5px;
    text-align: center;
}
.pagination li {
    display: inline-block;
    width: 33px; height: 34px;
    font-weight: 300;
    font-size: 24px;
    line-height: 34px;
    color: #434343;
    list-style: none;
    position: relative;
    vertical-align: middle;
}
.pagination li:before {
    content: "";
    display: block;
    width: 33px; height: 34px;
    position: absolute;
    top: 0; left: 0;
    background: url(/assets/templates/img/sprite.png) -70px -87px;
    opacity: 0;
    -webkit-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
    -ms-transition: all 0.15s ease-in-out;
    -o-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
}
.pagination li:hover:before {
    opacity: 0.75;
}
.pagination li.active:before {
    opacity: 1;
}
.pagination li a {
    display: block;
    width: 33px; height: 34px;
    color: #434343;
    text-decoration: none;
}
.pagination li.control {
    width: 35px; height: 39px;
}
.pagination li.control.prev {
    padding-right: 10px;
}
.pagination li.control.next {
    padding-left: 10px;
}
.pagination li.control a {
    display: block;
    width: 35px; height: 39px;
    background-image: url(/assets/templates/img/sprite.png);
}
.pagination li.control.prev a {
    background-position: 0 -88px;
}
.pagination li.control.prev a:hover {
    background-position: 0 -127px;
}
.pagination li.control.next a {
    background-position: -35px -88px;
}
.pagination li.control.next a:hover {
    background-position: -35px -127px;
}
.pagination li.control:before {
    display: none;
}


/* Footer
-----------------------------------------------------------------------------*/
.footer {
	min-width: 960px; max-width: 1130px; height: 25px;
	margin: -35px auto 0;
	padding: 10px 10px 0;
	position: relative;
	font-size: 12px;
	color: #6e6e6e;
	z-index: 1;
}
.footer-border {
    top: 0;
}
.footer-years-container {
    width: 100%;
    float: left;
    text-align: center;
}
.footer-years-content {
    display: inline-block;
}
.footer-copy {
    width: 292px;
    margin: 0 -3px 0 -292px;
    float: left;
    position: relative;
}
.footer-copy-img {
    position: absolute;
    right: 0; top: 2px;
}