﻿/* ==========================================================================
   Main styles :: edi@15web.ru
   ========================================================================== */

@font-face {
    font-family: 'PFDinTextCondProRegular';
    src: url('fonts/pfdintextcondpro-regular-web.eot');
    src: url('fonts/pfdintextcondpro-regular-web.eot?#iefix') format('embedded-opentype'),
        url('fonts/pfdintextcondpro-regular-web.woff') format('woff'),
        url('fonts/pfdintextcondpro-regular-web.ttf') format('truetype'),
        url('fonts/pfdintextcondpro-regular-web.svg#PFDinTextCondProRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Установка основных настроек и цветов */
body {
    font: normal 16px/1.5em Tahoma, Geneva, sans-serif;
    background: #D5DDE8; /* фон сайта */
    color: #333; /* основной цвет текста */
}

#header-top, #header-top a, #page-nav a {
    color: #666; /* цвет текста в шапке */
}

#main-title .first-lvl, #main-title .second-lvl {
    color: #fff; /* цвет главного названия */
}
.b-person-post, .b-news-date, .b-content-style q {
    color: #666; /* цвет главного подтекста */
}

.mc-bg, #main-nav li.current, .b-btn, .b-content-style th {
    background-color: #244065; /* основной цвет для фона */
    color: #fff;
}
.mc-hover-bg:hover, #main-nav li:hover {
    background-color: #244065 !important; /* основной цвет для фона при наведении */
    color: #fff;
}
.mc-border, #main-nav li, .ez-radio, .b-content-style q, .b-content-style hr, .b-content-style td, .b-content-style th, .b-content-style table, #main-nav li ul {
    border-color: #244065 !important; /* основной цвет для рамок */
}
.mc-alt-bg, .ez-selected {
    background-color: #378CFC !important;
    color: #fff;
}
.mc-alt-text, .b-btn {
    color: #fff;
}

#main-nav {
    background: #EFF3F7; /* цвет фона меню */
}
#main-nav li ul {
    background-color: #fff; /* цвет фона меню */
}

h1,h2,h3,h4,h5,h6 {
    margin: 0;
    font-family: 'PFDinTextCondProRegular'; /* шрифт для заголовков */
    font-weight: normal;
}

html,button,input,select,textarea {
    font: 0.75em Tahoma, Geneva, sans-serif;
}

button {
    color: #fff; /* цвет текста в кнопках */
}

a {
    color: #1A3251; /* основной цвет ссылок */
    text-decoration: none;
}
a:active {
    color: #234268; /* основной цвет активных ссылок (чуть светлее) */
}
a:hover {
    text-decoration: underline;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.rounded {
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

/* ==========================================================================
   Header
   ========================================================================== */

#header {
    margin: 0 auto 30px;
    width: 1000px;
}

#header-top {
    width: 100%;
    height: 50px;
}

#top-date {
    float: left;
    font-size: 0.75em;
    line-height: 50px;
}

#search-form {
    float: right;
    margin-top: 12px;
    width: 270px;
    height: 25px;
    position: relative;
    overflow: hidden;
}

#search-input {
    float: left;
    padding: 0 5px;
    width: 186px;
    height: 21px;
    border-width: 2px;
    border-style: solid;
    background: #EFF3F7;
}

.lt-ie9 #search-input {
    line-height: 21px;
}

#search-btn {
    float: right;
    width: 70px;
    height: 25px;
    border: none;
}

#top-nav {
    float: right;
    margin-right: 30px;
    font-size: 0.75em;
    line-height: 50px;
}

#top-nav li {
    float: right;
    margin-left: 20px;
}

#header-main {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

#main-img {
    float: left;
    width: 270px;
    height: 200px;
    overflow: hidden;
}

#main-title {
    float: left;
    margin: 0 10px;
    padding-left: 20px;
    width: 420px;
}

#main-title:before {
    content: "";
    display: block;
    width: 443px;
    height: 200px;
    position: absolute;
    top: 0;
    right: 0;
    background: url(../img/main/header-light.png) no-repeat right top;
    z-index: 1;
}

#main-title .first-lvl {
    float: left;
    margin: 42px 0 6px;
    font: 24px 'PFDinTextCondProRegular';
    text-decoration: none !important;
    position: relative;
    z-index: 6;
}
#main-title .first-lvl span {
    display: block;
    font-size: 30px;
}

#main-title .second-lvl {
    float: left;
    margin-bottom: 12px;
    font: 16px 'PFDinTextCondProRegular';
}

#weather {
    clear: both;
    float: left;
    font-size: 1.25em;
    color: inherit;
    text-decoration: none !important;
}

#main-logo {
    float: right;
    width: 270px;
    height: 200px;
    position: relative;
    overflow: hidden;
    text-indent: -9999px;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 6;
}

/* ==========================================================================
   Body
   ========================================================================== */

#body {
    margin: 0 auto;
    width: 1000px;
}

/* ==========================================================================
   Right-sidebar
   ========================================================================== */

#right-sidebar {
    float: right;
    width: 270px;
    z-index: 100;
}

#main-nav {
    margin-bottom: 43px;
    border-width: 3px;
    border-style: solid;
    position: relative;
    font-size: 0.875em;
    line-height: 1.25em;
    z-index: 101;
}

#main-nav li {
    padding: 6px 20px;
    border-top-width: 1px;
    border-style: solid;
    position: relative;
}
#main-nav li:first-child {
    border-top: 0px solid #EFEFEF;
}

#main-nav li.current > a {
    color: #fff;
    cursor: default;
    text-decoration: none !important;
}

#main-nav li ul {
    display: none;
    width: 200px;
    position: absolute;
    top: -2px;
    left: -195px;
    border-width: 2px;
    border-style: solid;
    border-color: inherit;
    -moz-box-shadow: -2px 2px 1px rgba(0,0,0,0.2);
    -webkit-box-shadow: -2px 2px 1px rgba(0,0,0,0.2);
    box-shadow: -2px 3px 2px rgba(0,0,0,0.2);
    z-index: 1000;
}
.lt-ie9 #main-nav li ul {
   	border-color: #ccc;
}
.lt-ie8 #main-nav li ul {
   	left: -204px;
}

#main-nav li li {
    padding: 6px 10px;
}

#main-nav li:hover > ul {
    display: block;
}

#main-nav li:hover > a {
    color: #fff;
}

#banners {
    margin: 0 auto;
    padding: 20px 0;
    width: 980px;
    font-size: 0;
}

#banners br {
    display: none;
}

#banners a {
    display: inline-block;
    width: 180px;
    height: 60px;
    margin: 0 8px 16px;
    text-decoration: none;
    *display: inline;
    *zoom: 1;
}

#banners a img {
    vertical-align: middle;
}

/* ==========================================================================
   Main-block
   ========================================================================== */

#main-block {
    float: right;
    margin: -5px 30px 20px;
    width: 400px;
}
.inner #main-block {
    margin: 0 30px 20px 0;
    width: 700px;
}

#main-block :focus {
    outline: none;
}

#main-block .b-heading {
    margin-bottom: 25px;
}
#main-block .b-heading h2, #main-block .b-heading h1 {
    font-size: 24px;
    line-height: 1.25em;
}
#main-block .b-heading.second {
    margin-top: 20px;
}

#news-list {
    padding-bottom: 20px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.b-news-item {
    margin-bottom: 25px;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.inner .b-news-item {
    margin-bottom: 30px;
}

.b-news-prev {
    float: left;
    width: 80px;
}
.b-news-prev + .b-news-desc {
    margin-left: 95px;
}

.b-news-desc h3, .b-news-desc h2 {
    margin-bottom: 5px;
    font: 1em/1.25em Tahoma, Geneva, sans-serif;
    position: relative;
    top: -3px;
}

.b-news-date {
    display: block;
    margin-bottom: 6px;
    font-size: 0.7em;
    line-height: 1em;
}
#content .b-news-date {
    position: relative;
    top: -10px
}

.b-news-desc p {
    font-size: 0.75em;
    line-height: 1.5em;
}

.news-list-footer {
    width: 100%;
    height: 17px;
    /*    background: url(../img/main/newsgrad-white-transparent.png) repeat-x center bottom;*/
    text-align: right;
    font-size: 0.875em;
    line-height: 1em;
}
/*
.set #news-list-footer {
    padding: 53px 0 0;
    position: absolute;
    bottom: 0;
    left: 0;
}
*/

/* ==========================================================================
   Left-sidebar
   ========================================================================== */

#left-sidebar {
    float: left;
    width: 270px;
}

#person-block {
    margin-bottom: 25px;
    padding: 20px 10px;
    border-top-width: 3px;
    border-bottom-width: 3px;
    border-style: solid;
}

.b-person-img {
    float: left;
    margin: 0 15px 15px 0;
}

.b-person-name {
    margin: 0 0 8px 95px;
    font-size: 18px;
    line-height: 1.25em;
}
.b-person-name span {
    display: block;
    font-size: 20px;
}

.b-person-post {
    font-size: 0.875em;
    margin: 0 0 10px 95px;
    line-height: 1.25em;
}

#person-block p {
    clear: both;
    margin-bottom: 0.875em;
    font-size: 0.875em;
    line-height: 1.5em;
}

.b-person-link {
    text-align: right;
    font-size: 0.875em;
    line-height: 1em;
}

#quiz-block {
    margin-bottom: 50px;
    padding: 0 10px 20px;
    border-bottom-width: 3px;
    border-style: solid;
}

.b-heading {
    margin-bottom: 12px;
}

.b-heading h2 {
    font-size: 20px;
    line-height: 1.25em;
}

#quiz-question {
    margin-bottom: 15px;
    padding: 5px 10px;
    width: 100%;
    position: relative;
    left: -10px;
    font-size: 0.875em;
    line-height: 1.5em;
    color: #fff;
}

.b-quiz-ans {
    display: block;
    margin-bottom: 5px;
    padding: 3px 10px 3px 30px;
    width: 230px;
    position: relative;
    overflow: hidden;
    left: -10px;
    font-size: 0.875em;
    line-height: 1.25em;
    cursor: pointer;
}

.b-quiz-ans .ez-radio {
    position: absolute;
    top: 6px;
    left: 10px;
}
.lt-ie8 .b-quiz-ans .ez-hide {
    position: absolute;
    top: -10px;
    left: -15px;
}

.b-quiz-bottom {
    padding: 15px 0 0;
}

.b-quiz-result {
    margin-left: 20px;
    font-size: 0.875em;
    color: #666;
}
.lt-ie8 .b-quiz-result {
    position: relative;
    top: 7px;
    vertical-align: top;
}

/* ==========================================================================
   Carousel
   ========================================================================== */

#gallery {
    margin: 15px auto 30px;
    width: 1000px;
    height: 125px;
    position: relative;
}

#gallery :focus {
    outline: none !important;
}

#gallery-box {
    width: 1000px;
    height: 125px;
    position: relative;
    overflow: hidden;
}

#gallery-box ul {
    width: 20000px;
    position: absolute;
}

#gallery-box li {
    float: left;
    width: 119px;
    height: 119px;
    border: 3px solid #EFF3F7;
}

.jcarousel-prev, .jcarousel-next {
    display: block;
    width: 30px;
    height: 125px;
    position: absolute;
    top: 0;
    background: url(../img/main/bg-white-transparent50p.png) repeat;
    text-indent: -7000px;
}
.jcarousel-prev {
    left: 0;
}
.jcarousel-next {
    right: 0;
}
.jcarousel-prev:after, .jcarousel-next:after {
    content: "";
    display: block;
    width: 30px;
    height: 125px;
    position: absolute;
    top: 0;
    left: 0;
    background: url(../img/main/sprite-arrows.png) no-repeat;
}
.jcarousel-prev:after {
    background-position: 4px 50%;
}
.jcarousel-next:after {
    background-position: -31px 50%;
}
.jcarousel-control-inactive {
    display: none;
}
.jcarousel-control-inactive:after {
    display: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */

#footer {
    margin: 0 auto;
    padding: 20px 0 30px;
    width: 1000px;
    border-top-width: 3px;
    border-style: solid;
}

#copyright {
    float: left;
    margin: 0 0 0 10px;
    width: 250px;
}

#copyright-logo {
    float: left;
    margin-right: 15px;
}

#copyright p {
    font-size: 0.75em;
    line-height: 1.25em;
}

#copyright p span {
    display: block;
    margin-bottom: 5px;
}

#contacts {
    float: left;
    margin-left: 30px;
    width: 240px;
    font-size: 0.75em;
    line-height: 1.25em;
}

#address {
    margin-bottom: 5px;
}

#phone {
    font-weight: bold;
}

#s15web {
    float: right;
    margin-right: 10px;
}

/* ==========================================================================
   Page navigation
   ========================================================================== */

#page-nav {
    margin: 0 0 15px;
    padding: 2px 0 10px;
    font-size: 11px;
    line-height: 16px;
    border-bottom-width: 3px;
    border-style: solid;
}

#page-nav li {
    display: inline;
}

#page-nav a {
    margin-right: 4px;
}

#paging {
    margin: 50px 0 0;
    padding-top: 12px;
    width: 100%;
    overflow: hidden;
    font-size: 0.75em;
    border-top-width: 3px;
    border-style: solid;
}

#paging a {
    display: block;
    padding: 3px 5px;
    color: inherit;
}

.b-paging-prev {
    float: left;
}

.b-paging {
    float: left;
    margin-left: 20px;
}

.b-paging span {
    display: block;
    padding: 3px 5px;
    font-weight: bold;
}

.b-paging li {
    float: left;
    margin-right: 3px;
}

.b-paging-next {
    float: right;
}

.b-paging-prev span, .b-paging-next span {
    font: 14px "Times New Roman", Times, serif;
}

/* ==========================================================================
   Map navigation
   ========================================================================== */

.map-nav {
    list-style: none;
}

.map-nav li {
    padding: 3px 0px;
}

.map-nav ul {
    margin: 5px 0px 0px 20px;
    list-style: none;
}

/* ==========================================================================
   Normatives
   ========================================================================== */

.b-news-list dt {
    margin: 0px 0px 20px 0px;
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.b-gallery-item {
	margin: 0 0 10px;
	width: 100%;
	overflow: hidden;
}

.b-gallery-name {
	margin: 0 20px 12px;
	line-height: 1.25em !important;
}

.b-gallery-prevlist {
	padding-left: 15px;
	width: 100%;
	overflow: hidden;
}

.b-gallery-prevlist li {
	float: left;
	margin: 0 5px 20px;
	width: 150px;
	height: 150px;
}

/* ==========================================================================
   Poll
   ========================================================================== */

.poll-results {
    width: 60%;
}

.poll-results .option {
    margin: 0px 0px 20px 0px;
}

.poll-results .option .bar {
    background-color: gray;
    height: 15px;
}

/* ==========================================================================
   Search
   ========================================================================== */

#sResult-param .b-sResult-key {
    font-weight: bold;
}

.b-sResult-box {
    margin-top: 20px;
}

.b-sResult-list .b-sResult-item {
    margin-bottom: 10px;
}

/* ==========================================================================
   Faq
   ========================================================================== */

#faq-list {
    margin-top: 20px;
    border-top: 1px solid #2059B5;
}

.b-faq-header {
    margin: 20px 0px 20px 0px;
}

.b-faq-item {
    margin-bottom: 30px;
}

.b-faq-date {
    position: relative;
    font-size: 0.7em;
    line-height: 1em;
}

.b-faq-name {
    margin: 0 0 0 40px !important;
    position: relative;
    display: inline;
}

.b-faq-question {
    clear: both;
    margin: 5px 0px;
}

.b-faq-answer {
    font-size: 0.875em;
    line-height: 1.5em;
    padding-left: 17px;
    border-left: 3px solid #999;
}

.b-faq-answer .author {
    display: block;
    color: #1753CD;
}


/* ==========================================================================
   Content
   ========================================================================== */

.b-content-style {
    font-size: 0.875em;
    line-height: 1.5em;
}

.b-content-style h2 {
    margin: 1.250em 0 1em;
    font-size: 1.5em;
}

.b-content-style h3 {
    margin: 1.250em 0 1em;
    font-size: 1.250em;
}

.b-content-style h4, .b-content-style h5 {
    margin:	1em 0;
    font-size: 1.05em;
}

.b-content-style p {
    margin-bottom: 1em;
}

.b-content-style ul, .b-content-style ol {
    display: block;
    margin-bottom: 1.2em;
    list-style: outside disc;
}

.b-content-style ol {
    list-style: outside decimal;
}

.b-content-style li ul, .b-content-style li ol {
    margin: 0.6em 0 0 0;
}

.b-content-style li, .b-content-style li {
    margin: 0 0 0.6em 2.0em;
}

.b-content-style li p, .b-content-style li p {
    margin-bottom: inherit;
    font-size: inherit;
    line-height: inherit;
}

.b-content-style li li, .b-content-style li li {
    margin: 0 0 0.6em 1.6em;
}

.b-content-style table {
    margin: 1em auto 1.5em;
    text-align: left;
    width: 100%;
    border-width: 2px;
    border-style: solid;
}

.b-content-style td, .b-content-style th {
    border-width: 1px;
    border-style: solid;
    padding: 0.5em;
}

.b-content-style th {
    text-align: center;
    font-weight: bold;
}

.b-content-style q {
    display: block;
    margin: 1.5em 0;
    padding: 0 0 0 2em;
    border-left-width: 3px;
    border-style: solid;
    font-style: italic;
}

.b-content-style hr {
    display: block;
    height: 1px;
    border: 0;
   	border-top-width: 3px;
    border-style: solid;
    margin: 1em 0;
    padding: 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.b-form-alert {
    margin-bottom: 10px;
}

.b-form-alert.error {
    color: #cc0000;
}

.b-form-alert.success {
    color: #2C5F2C;
}

.b-formline {
    margin-bottom: 10px;
    position: relative;
}

.b-formline .b-field-wrapper {
    position: relative;
    display: inline-block;
}

.b-formline.center {
    text-align: center;
}

.b-formline .error {
    background: #fff;
    color: #cc0000;
    font-size: 14px;
    left: 11px;
    padding: 2px 1px;
    position: absolute;
    top: 4px;
}

.lt-ie7 .b-formLine .error {
    left: 2px;
    z-index: 100;
}

.b-input, .b-textarea {
    border: 1px solid #ccc;
    background: #fff;
    -moz-box-shadow: 0px 1px 0px rgba(255,255,255,1.0), inset 0px 1px 2px rgba(155,155,155,0.6);
    -webkit-box-shadow: 0px 1px 0px rgba(255,255,255,1.0), inset 0px 1px 2px rgba(155,155,155,0.6);
    box-shadow: 0px 1px 0px rgba(255,255,255,1.0), inset 0px 1px 2px rgba(155,155,155,0.6);
}

.b-textarea {
    padding: 8px 10px;
}

.b-input {
    padding: 0 12px;
    height: 34px;
}

.b-input:focus, .b-textarea:focus {
    border-color: blue;
    -moz-box-shadow: 0px 0px 5px rgba(44,126,184,0.5);
    -webkit-box-shadow: 0px 0px 5px rgba(44,126,184,0.5);
    box-shadow: 0px 0px 5px rgba(44,126,184,0.5);
}

.b-btn {
    padding: 5px 20px 6px;
    border: none;
    font-size: 0.875em;
    text-align: center;
}

.ez-hide {
    opacity: 0;
}
.lt-ie8 .ez-hide {
    width: 300px;
    height: 200px;
}
.ez-radio {
    margin-right: 8px;
    width: 6px;
    height: 6px;
    background: none;
    border-width: 3px;
    border-style: solid;
    display: inline-block;
    vertical-align: top;
    position: relative;
    top: 3px;
}
.ez-selected {
    position: relative;
}

/* ==========================================================================
   Placeholder styles
   ========================================================================== */

::-webkit-input-placeholder, ::-webkit-textarea-placeholder {
    font: normal 1em Tahoma, Geneva, sans-serif;
    color: #ccc !important; }
input:-moz-placeholder, textarea:-moz-placeholder {
    font: normal 1em Tahoma, Geneva, sans-serif;
    color: #ccc !important; }
.placeholder {
    font: normal 1em Tahoma, Geneva, sans-serif;
    color: #ccc !important; }

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden; }
.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute; }
.disable  { cursor: default; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after {
    content: " ";
    display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }
.clear { clear: both; }

/* ==========================================================================
   User Style:
   Change the following styles to modify the appearance of ColorBox.  They are
   ordered & tabbed in a way that represents the nesting of the generated HTML.
   ========================================================================== */

#cboxOverlay{background:#fff;}
#colorbox{}
#cboxContent{margin-top:32px; overflow:visible;}
.cboxIframe{background:#fff;}
#cboxError{padding:50px; border:1px solid #ccc;}
#cboxLoadedContent{background:#000; padding:1px;}
#cboxLoadingGraphic{background:url(/img/main/loading.gif) no-repeat center center;}
#cboxLoadingOverlay{background:#000;}
#cboxTitle{position:absolute; top:-22px; left:0; color:#000;}
#cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;}
#cboxSlideshow, #cboxPrevious, #cboxNext, #cboxClose{text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background:url(/img/main/controls.png) no-repeat 0 0;}
#cboxPrevious{background-position:0px 0px; right:44px;}
#cboxPrevious:hover{background-position:0px -25px;}
#cboxNext{background-position:-25px 0px; right:22px;}
#cboxNext:hover{background-position:-25px -25px;}
#cboxClose{background-position:-50px 0px; right:0;}
#cboxClose:hover{background-position:-50px -25px;}
.cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;}
.cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;}
.cboxSlideshow_on #cboxSlideshow:hover{background-position:-100px -25px;}
.cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px; right:44px;}
.cboxSlideshow_off #cboxSlideshow:hover{background-position:-75px -25px;}
.special-version-link {
    display: inline-block;
    margin-bottom: 20px;
}

/*Social*/

.social{
    float: left;
    width: 100px;
    position: relative;
    margin-left: 15px;
}

.social-inner{
    position: absolute;
    top: 10px;
}

.social-inner a{
    outline: none;
    text-decoration: none;
}

.social-inner img{
    width: 30px;
}