/* Theme Blue
-----------------------------------------------------------------------------*/
.th_blue .th_color{ color: #01579B; }
.th_blue .th_bg{ background-color: #01579B; }
.th_blue .th_border{ border-color: #01579B; }

/* Theme Green
-----------------------------------------------------------------------------*/
.th_green .th_color{ color: #034D2D; }
.th_green .th_bg{ background-color: #034D2D; }
.th_green .th_border{ border-color: #034D2D; }

/* Theme Red
-----------------------------------------------------------------------------*/
.th_red .th_color{ color: #83281E; }
.th_red .th_bg{background-color: #da251c;}
.th_red .th_border{border-color: #da251c;}



/* Template
-----------------------------------------------------------------------------*/

.wrapper {
    min-width: 360px;
    max-width: 4000px;
    margin: 0 auto 0px;
    min-height: 100%;
    height: auto !important;
    height: 100%;
}

.wrapper:after{
    content: '';
    display: block;
    clear: both;
    width: 100%; 
}

.w{
    min-width: 340px;
    max-width: 1360px;
    margin: 0 auto;
    min-height: 100%;
    height: auto !important;
    height: 100%;
    padding: 0 10px;
}

.w:after{
    content: '';
    display: block;
    clear: both;
    width: 100%; 
}

.clear:after{
    content: '';
    display: block;
    clear: both;
}

/* Header
-----------------------------------------------------------------------------*/
.header {
    overflow: hidden;
    position: relative;
    line-height: 1;
}

/**/
.header-bg {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.header-bg-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 100% 100%;
    will-change: opacity;
}

.header:before {
    content: '';
    /* background-color: rgba(0, 0, 0, 0.4); */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 19%;
    z-index: 2;
}
/**/

.header-top {
    position: relative;
    z-index: 3;
    background-color: #212121;
    padding: 10px 0;
}

.header-top a{
    color: #FAFAFA;
    text-decoration: none;
}

.header-top-item {
    color: #FAFAFA;
    float: left;
    border-left: 1px solid #FAFAFA;
    padding: 0 10px;
    font-size: 14px;
}

.header-top-item:first-child{
    border-left: 0;
    padding-left: 0;
}

.header-bottom {
    position: relative;
    z-index: 3;
    padding: 50px 0 70px;
}

.header-logo a {
    color: #FAFAFA;
    text-decoration: none;
    font-size: 28px;
}

.header-logo img {
    display: block;
    float: left;
    margin-right: 18px;
    max-height: 103px;
    margin-top: -19px;
    margin-left: -3px;
}

.header-logo span {
    display: block;
    font-size: 1.2em;
    padding-top: 5px;
}

.header-bottom-left {
    float: left;
    width: 70%;
}

.header-bottom-rigth {
    float: right;
    width: 30%;
}

.header-ico-item a {
    display: block;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

a.ico-vk {
    background-image: url(img/vk.svg);
}

a.ico-in {
    background-image: url(img/in.svg);
}

a.ico-map {
    background-image: url(img/map.svg);
}

a.ico-search {
    background-image: url(img/search.svg);
}

a.ico-youtube {
    background-image: url(img/youtube.svg);
}

.header-ico-item {
    display: inline-block;
    margin-left: 7%;
    position: relative;
}

.header-ico-item:first-child{
    margin-left: 0;
    margin-right: 1%;
}

.header-ico {
    text-align: right;
    padding-top: 36px;
}

.header-soc-ico {
    display: inline;
}

/*---------------------------------------------------------------------------*/

.header-nav-block ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-nav-block li {
    margin: 0;
    padding: 0;
    width: 14.283%;
    padding-top: 14.283%;
    float: left;
    position: relative;
    opacity: 0.94;
    overflow: hidden;
}

.header-nav-block li{background-color: #F44336;}
.header-nav-block li+li{background-color: #009688;margin-left: 14.286%;}
.header-nav-block li+li+li{background-color: #ADBA27;margin-left: 0;}
.header-nav-block li+li+li+li{background-color: #FF9800;margin-right: 28.572%;}
.header-nav-block li+li+li+li+li{background-color: #9C27B0;margin-left: 14.286%;margin-right: 14.268%;}
.header-nav-block li+li+li+li+li+li{background-color: #E91E63;margin-left: 0;}
.header-nav-block li+li+li+li+li+li+li{background-color: #3F51B5;margin-right: 0;}
.header-nav-block li+li+li+li+li+li+li+li{background-color: #00BCD4;}
.header-nav-block li+li+li+li+li+li+li+li+li{background-color: #8BC34A;margin-left: 14.286%;}
.header-nav-block li+li+li+li+li+li+li+li+li+li{background-color: #E0A804;margin-left: 0;margin-right: 28.5%;}
.header-nav-block li+li+li+li+li+li+li+li+li+li+li{background-color: #795548;margin-right: 14.286%;}
.header-nav-block li+li+li+li+li+li+li+li+li+li+li+li{background-color: #2196F3;}
.header-nav-block li+li+li+li+li+li+li+li+li+li+li+li+li{background-color: #673AB7;}
.header-nav-block li+li+li+li+li+li+li+li+li+li+li+li+li+li{background-color: #03A9F4;}
.header-nav-block li+li+li+li+li+li+li+li+li+li+li+li+li+li+li{display: none;}

.header-nav-block {
    position: relative;
    z-index: 2;
    margin-bottom: 90px;
}

.header-nav-block li a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    text-decoration: none;
    font-size: 20px;
    line-height: 1.3;
}

.header-nav-block li a span{
    position: absolute;
    bottom: 4%;
    width: 92%;
    left: 4%;
}

.header-nav-block li a:hover:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2));
}

/*---------------------------------------------------------------------------*/

.header-nav-line ul {
    margin: 0;
    padding: 18px 23px;
    list-style: none;
}

.header-nav-line ul:after{
    content: '';
    display: block;
    clear: both;
}

.header-nav-line li {
    margin: 0;
    padding: 0;
    float: left;
    margin-right: 7%;
}

.header-nav-line li:last-child{
    margin-right: 0;
}

.header-nav-line {
    position: relative;
    z-index: 2;
    background: white;
    margin-top: 30px;
}

.header-nav-line li span {
    color: #757575;
    display: block;
    font-size: 0.8em;
    margin-top: -2px;
}

.header-nav-line nav {
    background: white;
    position: relative;
    top: -30px;
}

.header-nav-line a {
    line-height: 1.2;
    text-decoration: none;
    font-size: 19px;
    color: inherit;
    display: block;
}

/* Middle
-----------------------------------------------------------------------------*/
.middle {
    width: 100%;
    padding: 0 0 100px;
    position: relative;
}
.middle:after {
    display: table;
    clear: both;
    content: '';
}
.container {
    width: 100%;
    float: left;
    overflow: hidden;
    /* margin-bottom: 20px; */
}
.contents {
    padding: 0 390px 0 0;
}

.contents:after {
    content: '';
    display: block;
    clear: both;
    height: 1px;
}


/* Right Sidebar
-----------------------------------------------------------------------------*/
.right-sidebar {
    float: left;
    width: 350px;
    margin-left: -350px;
    position: relative;
    /* background: #ffffff; */
}


/* Footer
-----------------------------------------------------------------------------*/
.footer {
    margin: -100px auto 0;
    min-width: 360px;
    max-width: 2000px;
    min-height: 100px;
    background: #ffffff;
    position: relative;
    padding-top: 40px;
    border-top: 10px solid;
}

.feedmail-button {
    display: inline-block;
    background: white;
    line-height: 1;
    padding: 7px 10px 7px 9px;
    border: 1px solid;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
}

.feedmail-button i {
    margin-right: 10px;
}

.footer .right-sidebar{
    text-align: right;
}

.footer p{
    color: #757575;
    font-size: 14px;
}

.footer p a {
    color: #757575;
    text-decoration: none;
}

.saitguru {
    color: #757575;
    font-size: 12px;
    text-align: center;
    padding: 5px 10px;
    background: #fafafa;
}

a.oko {
    display: block;
    position: fixed;
    z-index: 11;
    right: 0;
    top: 0;
    width: 90px;
    height: 90px;
    overflow: hidden;
    text-indent: 2000px;
    white-space: nowrap;
}

a.oko:after{
    content:'';
    display: block;
    width: 0;
    height: 0;
    border-top: 45px solid;
    border-right: 45px solid;
    position: absolute;
    top: 0;
    right: 0;
    border-color: inherit;
    border-bottom: 45px solid rgba(128, 54, 54, 0);
    border-left: 45px solid rgba(0, 0, 0, 0);
    z-index: 1;
}

a.oko i {
    display: block;
    background-image: url(img/oko.svg);
    width: 40%;
    height: 40%;
    position: absolute;
    z-index: 2;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    right: 5px;
    top: 5px;
}

a.oko.oko-active i{
    background-image: url(img/oko-active.svg);
}

/* side menu
-----------------------------------------------------*/

.side-menu-title {
    color: white;
    text-align: center;
    font-size: 18px;
    padding: 13px 5px;
    margin-bottom: 6px;
}

.side-menu {
    line-height: 1.3;
    margin-bottom: 60px;
    border-bottom: 4px solid;
}

.side-menu li a {
    background-color: #FAFAFA;
    display: block;
    color: inherit;
    text-decoration: none;
    padding: 8px 10px;
    position: relative;
    border-left: 2px solid #fafafa;
}

.side-menu li a:hover,
.side-menu li a.selected {
    border-left: 2px solid;
}

.side-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.side-menu li {
    margin: 0 0 6px 0;
    padding: 0;
}
/*-----------------------------------------------------------------------------*/

header .right-sidebar {
    text-align: right;
    color: white;
}

header .container {
    overflow: visible;
}

/*-----------------------------------------------------------------------------*/

body.kalendar .middle .right-sidebar{
    display: none;
}

body.kalendar .middle .contents{
    padding: 0;
}

.kalendar-full-item {
    display: inline-block;
    width: 33.33%;
}

.kalendar-full {
    font-size: 0;
    margin-bottom: 50px;
}

.kalendar-full-item {
    border: 1px solid #efefef;
    margin: 0 -1px -1px 0;
    padding-top: 39%;
    position: relative;
    height: 0;
}

.kalendar-full-item .calendar {
    position: absolute;
    width: 100%;
    top: 2%;
    left: 0;
}

/*--------------------------------------*/
/*--------------------------------------*/
/*--------------------------------------*/
/*                                      */
/*               MOBILE                 */
/*                                      */
/*--------------------------------------*/
/*--------------------------------------*/
/*--------------------------------------*/

@media (max-width: 1500px) {
    .header-top {
        padding-right: 90px;
    }
}

@media (max-width: 1400px) {
    .header-nav-block li a {
        font-size: 16px;
    }
}

@media (max-width: 1200px) {
    .right-sidebar {
        width: 300px;
        margin-left: -300px;
    }
    .contents {
        padding-right: 340px;
    }

    .header-nav-block li a {
        font-size: 14px;
    }

    .header-logo a {
        font-size: 24px;
    }
    .header-logo img {
        max-height: 65px;
        margin-top: -3px;
    }    
}

@media (max-width: 960px) {
    .header-nav-block li {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 20%;
        padding-top: 20%;
    }

    .header-ico-item a {
        width: 25px;
        height: 25px;
    }
    
    .header-bottom-rigth {
        width: 25%;
    }
    
    .header-bottom-left {
        width: 75%;
    }
    
    .header-logo a {
        font-size: 20px;
    }
    
    .header-logo img {
        max-height: 55px;
    }
    
    .right-sidebar {
        width: 260px;
        margin-left: -260px;
    }
    
    .contents {
        padding-right: 280px;
    }    

    .header-nav-line a {
        font-size: 16px;
    }
    
    .header-nav-line li span {
        margin-top: 0;
    }

    .side-menu-title {
        font-size: 16px;
    }
    
    .side-menu {
        font-size: 13px;
    }
    
    .footer p {
        font-size: 12px;
    }
    
    p {
        font-size: 13px;
    }

}

@media (max-width: 900px) {
    .header-nav-line li span{
        display: none;
    }
}

@media (max-width: 840px) {
    .header-soc-ico {
        display: none;
    }

    .header-logo span {
        font-size: 1em;
        padding: 0;
    }
    
    .header-logo {
        line-height: 1.2;
    }

}


.header-mobile {
    display: none;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    background: white;
    border-bottom: 1px solid #f6f8fa;
    height: 66px;
    padding: 8px 10px;
}

.menu-mobile {
    display: none;
}

.mobile-form-search-conteiner {
    display: none;
}

.m-ico-map{
    /*background-image: url(img/m-map.svg);*/
}

.m-ico-search{
    /*background-image: url(img/m-search.svg);*/
}

.m-ico-menu{
    /*background-image: url(img/m-menu.svg);*/
}

.header-mobile-ico-item a {
    display: block;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

@media (max-width: 800px) {  
    .header {
        display: none;
    }
    
    .wrapper {
        padding-top: 76px;
    }

    .header-mobile {
        display: block;
    }
    
    .header-mobile-logo {
        float: left;
        width: 230px;
    }
    
    .header-mobile-logo img {
        float: left;
        width: 48px;
        margin-right: 10px;
        display: block;
    }
    
    .header-mobile-logo a {
        text-decoration: none;
        font-size: 12px;
        color: inherit;
        font-weight: bold;
        line-height: 1;
    }
    
    .header-mobile-button {
        float: right;
        margin-right: 56px;
    }
    
    a.oko {
        width: 70px;
        height: 70px;
    }
    
    a.oko:after {
        border-top: 35px solid;
        border-right: 35px solid;
        border-color: inherit;
        border-bottom: 35px solid rgba(128, 54, 54, 0);
        border-left: 35px solid rgba(0, 0, 0, 0);
    }
    
    .header-mobile-ico-item {
        display: inline-block;
        /* background: red; */
        width: 33px;
        height: 48px;
        margin-right: 16px;
    }


    aside.right-sidebar {
        width: 100%;
        margin: 0 auto;
    }
    
    main.contents {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .middle {
        max-width: 500px;
        margin: 0 auto;
    }

    .footer .contents {
        padding-right: 0;
        text-align: center;
    }
    
    .footer .right-sidebar {
        margin: 0;
        width: 100%;
        text-align: center;
        margin-bottom: 26px;
    }

    /**/

    .mobile-form-search-conteiner {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 65px;
        z-index: 999;
        background-color: white;
    }

    .mobile-form-search-conteiner.active{
        display: block;
    }
    
    .mobile-form-search-conteiner .bx-searchtitle .bx-input-group .bx-form-control {
        height: 65px;
        padding-left: 64px;
    }
    
    .mobile-form-search-conteiner .bx-searchtitle .bx-input-group-btn button {
        height: 66px;
        width: 66px;
        font-size: 28px;
    }
    
    .mobile-form-search-conteiner .bx-input-group-btn.btn-close-search button {
        width: 68px;
        height: 65px;
        font-size: 27px;
    }    

    /**/

    .menu-mobile {
        /* display: block; */
        position: fixed;
        top: 0;
        width: 300px;
        left: 0;
        z-index: 999;
        background: white;
        height: 100%;
        overflow: hidden;
    }
    
    .menu-mobile nav {
        padding-top: 65px;
        overflow: hidden;
        height: 100%;
        overflow-y: auto;
    }
    
    .menu-mobile ul {
        margin: 0;
        padding: 0;
        border-bottom: 4px solid;
    }
    
    .menu-mobile li {
        margin: 0;
        padding: 0;
    }
    
    .menu-mobile li a {
        width: 96%;
        padding: 10px 20px;
        display: block;
        color: inherit;
        border-bottom: 1px solid #f3f3f3;
        background: #fafafa;
        margin: 2%;
        color: #666666;
    }    
 
    .menu-mobile-header {
        position: fixed;
        width: 300px;
        height: 66px;
        vertical-align: middle;
        font-size: 0;
        background: white;
        border-bottom: 1px solid #f6f8fa;
    }
    
    .menu-mobile-title {
        display: inline-block;
        vertical-align: middle;
        font-size: 19px;
        width: 100%;
        text-align: center;
    }
    
    .menu-mobile-header:after {
        content: '';
        display: inline-block;
        height: 100%;
        width: 0;
        vertical-align: middle;
    }
    
    .menu-mobile-header .btn.btn-default.close-search {
        background-color: white;
        padding: 15px;
        font-size: 23px;
        left: 14px;
        top: 5px;    
    }

    .menu-mobile li a span {
        display: block;
        font-size: small;
        color: #9e9e9e;
    }    

    /**/

    .kalendar-full-item {
        width: 100%;
        padding-top: 113%;
    }
    
    .kalendar-full {
        max-width: 400px;
        margin: 0 auto 50px;
    }    


    h1{
        font-size: 30px;
    }
    
    h2{
        font-size: 26px;
    }
    
    h3{
        font-size: 22px;
    }
    
    h4{
        font-size: 18px;
    }


}


@media (max-width: 480px) { 
    .header-mobile-logo a {
        font-size: 0;
    }

    .header-mobile-logo {
        width: 48px;
    }

}

/*--------------------------------------*/
/*--------------------------------------*/
/*--------------------------------------*/
/*                                      */
/*              CONTRAST                */
/*                                      */
/*--------------------------------------*/
/*--------------------------------------*/
/*--------------------------------------*/

.body_contrast .header-nav-block li a {
    background-color: black;
    margin: 1px;
}

.body_contrast .header-bottom {
    background-color: #212121;
    margin-bottom: 30px;
}

.body_contrast .header-nav-line li span {
    margin-top: 20px;
    color: #333333;
}

.body_contrast .publicatoin-item {
    background: white;
    border: 1px solid black;
}

.body_contrast .publicatoin-item-name {
    margin-bottom: 30px;
}

.body_contrast .publicatoin-item-previewtext {
    color: #333333;
    margin-bottom: 60px;
}

.body_contrast .publicatoin-item-date {
    color: black;
    font-size: 15px;
}

.body_contrast .publicatoin-item-more a {
    color: white;
    border-color: black;
    background-color: black;
    font-size: 16px;
}

/**/

.body_contrast .calendar-container {
    background-color: white;
    border: 1px solid black;
}

.body_contrast .news_rubrik-title {
    color: black;
}

.body_contrast .month-prev {
    color: black;
}

.body_contrast .month-next {
    color: black;
}

.body_contrast .news-calendar-head {
    color: black;
}

.body_contrast .th_color {
    color: black;
}

.body_contrast .news-calendar-cell {
    font-size: 17px;
}

.body_contrast .calendar {
    margin-bottom: 40px;
}

/**/

.body_contrast .side-menu li a {
    background-color: white;
    border-color: white;
    font-size: 18px;
    margin-bottom: 15px;
}

.body_contrast .side-menu li a:hover{
    border-color: black;
}

/**/

.body_contrast .footer {
}

.body_contrast .footer p {
    color: black;
    font-size: 16px;
}

.body_contrast .footer p a{
    color: black;
    font-size: 16px;
    text-decoration: underline;
}

.body_contrast .feedmail-button {
    font-size: 20px;
    padding: 15px 20px;
}

/**/

.body_contrast .bx-searchtitle .bx-input-group .bx-form-control {
    height: 50px;
    font-size: 16px;
    color: black;
}

.body_contrast .bx-searchtitle .bx-input-group-btn button {
    padding: 16px 12px 16px;
}

.body_contrast .bx-input-group-btn.btn-close-search button {
    padding: 13px 19px 12px;
    color: black;
    font-size: 24px;
}

.body_contrast span.bx-input-group-btn.btn-close-search {
    left: -8px;
}

/**/

.body_contrast input.search-suggest {
    font-size: 16px;
    padding: 10px;
    border: 1px solid black;
}

.body_contrast .search-page input[type="submit"] {
    height: 40px;
    border: 1px solid black;
    position: relative;
    padding: 0 19px;
    background: black;
    color: white;
    font-size: 16px;
}

/**/

.body_contrast .search-page-item {
    background-color: white;
    border: 1px solid black;
}

.body_contrast a.search-page-item-title {
    font-size: 18px;
    margin-bottom: 24px;
}

.body_contrast .search-page-item-text {
    font-size: 16px;
    margin-bottom: 30px;
}

.body_contrast .search-page-item-path {
    color: black;
    font-size: 16px;
}

.body_contrast .search-page-item-path a {
    color: black;
    font-size: 16px;
}

.body_contrast .search-page-item-path small {
    color: black;
    font-size: 16px;
}
.block_404 {
    text-align: center;
    padding-top: 100px;
}
.number_404,
.text_404 {
    color: #ccc;
}
.number_404 {
    font-size: 150px;
    font-weight: 900;
    line-height: 1;
}
.text_404 {
    font-size: 35px;
}
.to_main_404 a {
    color: #da251c;
}


/* blind mode */
.special a {
    text-decoration: underline;
}
.special .header-nav-block li {
    margin: 3px;
    padding: 7px 20px;
    width: auto;
    text-align: center;
}
.special .header-nav-block li a,
.special .header-nav-block li span {
    position: static;
}
.special .header-nav-block li a:hover:after {
    border-bottom: 1px solid;
    top: -3px;
    background: none;
}
.special .header-nav-block a.ico-vk,
.special .header-nav-block a.ico-youtube,
.special .header-nav-block a.ico-in,
.special .header-nav-block a.ico-map,
.special .header-nav-block a.ico-search {
    background-image: none;
}
.special .fa-chevron-left:before {
    content: "\2039";
    font-size: 30px;
}
.special .fa-angle-right:before,
.special .fa-chevron-right:before {
    content: "\203A";
}
.special .fa-chevron-right:before {
    font-size: 30px;
}
.special .fa-telegram-plane:before {
    content: "\2709";
}
.special .fa-times:before {
    content: "\2716";
}
.special .fa-search:before {
    content: "\1F50D";
}
.special .news-calendar-cell span {
    height: 0;
    top: -20px;
}
.special .NewsCalToday::before {
    content: "";
    position: absolute;
    top:0;
    left:0;
    border: 1px solid;
    width: 95%;
    height: 95%;
}
.special .NewsCalToday {
    background-color: #000!important;
}
.special .NewsCalToday span {
    color: #fff!important;
}
.special .fa-calendar-alt:before {
    content: "Календарь на год";
}
.special .kalendar-full-item {
    width: 32.33%;
}
.special .form-horizontal input[type="text"],
.special .form-horizontal textarea {
    border: 1px solid;
}
/* end blind mode */