.main-page-block{
    padding: 30px 0;
}

@media (min-width: 200px) {
    .main .h1-font {
        display: block;
        padding-left: 15px;
        padding-right: 15px;
    }

    .nomobile {
        display: none;
    }

    .copyright {
        background: url(../img/cc.png) no-repeat 0px 0;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .logo-font {
        font-family: "Scada";
        font-size: 24px;
        color: #000000 !important;
    }

    .desktoponly {
        display: none !important;
    }

    .nodesktop {
        display: block !important;
    }

    .h3-font, .h4, .h4-font {
        font-family: "Scada";
        font-size: 22px;
    }

    .bordered .h4-font {
        font-weight: bold;
        font-size: 18px;
        padding-bottom: 10px;
    }

    .bordered .h4 {
        padding: 15px 0 10px;
        display: block;
    }

    .nohpadding-mobile {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .type-inlineblock {
        display: inline-block;
    }

    ul.leftmenu li {
        list-style: none;
        position: relative;
    }

    ul.leftmenu li a {
        position: relative;
        display: block;
        margin-left: 20px;
        height: 30px;
        line-height: 30px;
    }

    ul.leftmenu li a .icon-leftarrow {
        position: absolute;
        top: 8px;
    }

    /*.col-xs-6 {*/
    /*width: 100%;*/
    /*}*/
    /*.col-xs-5 {*/
    /*width: 100%;*/
    /*}*/
    /*.col-xs-8 {*/
    /*width: 100%;*/
    /*}*/
    .spravka {
        position: relative;
        padding-top: 34px;
    }

}


.sub-napravlenia {
    padding-bottom: 50px;
    padding-top: 0;
}
.sub-napravlenia .mp-directions-more{
    position: static;
}
.sub-napravlenia .mp-directions-more .text-right{
    position: absolute;
    right: 30px;
    bottom: -5px;
}


@media (min-width: 1200px) {
    h3{
        margin-bottom: 0;
    }
    .footer2menu {
        position: relative;
        left: 3px;
    }

    .footer3menu {
        position: relative;
        left: 12px;
    }

    .arrows {
        line-height: 24px;
    }

    div.container {
        width: 984px;
        padding-left: 0;
        padding-right: 0;
        /*padding: 10px 0 30px;*/
    }
    /*div.container div:first-child {
        padding-left: 0;
    }
    div.container div:last-child {
        padding-right: 0;
    }*/

    span.container {
        width: 984px;
        display: block;
        padding: 20px 0;
    }

    .nohpadding {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .desktoponly {
        display: block;
    }

    div.subnews {
        padding-left: 10px !important;
        width: 255px;
    }

    .subnews .col-sm-12 {
        padding-bottom: 5px;
    }

    .subnews a.item-font {
        line-height: 22px;
    }

    /*.bordered { width: 227px !important;float: right;}*/
    .main {
        width: 480px !important;
        padding-bottom: 5px;
    }

    .media3 {
        position: relative;
        left: 14px;
    }

    .media4 {
        width: 227px !important;
        float: right;
    }

    div ul.leftmenu {
        width: 336px;
        padding-top: 65px;
    }

    .sub-napravlenia {
        position: relative;
        margin-left: 30px;
        margin-right: -30px;
        padding-bottom: 50px;
        padding-top: 0;
        /*min-height: 454px;*/
    }
    .sub-napravlenia .mp-directions-more{
        position: static;
    }
    .sub-napravlenia .mp-directions-more .text-right{
        position: absolute;
        right: 30px;
        bottom: -5px;
    }

    .sub-napravlenia .arrows .links1-font {
        line-height: 22px;
    }

    .address {
        position: relative;
        left: 15px;
    }

    .photoblock {
        padding-bottom: 13px;
    }
    .photoblock .links1-font{
        padding: 0;
    }
    .negative-margins{
        margin-left: -15px;
        margin-right: -15px;
    }
    .gray .negative-margins{
        margin-left: 0;
        margin-right: 0;
    }
    .gray .solo50:first-child{
        padding-left: 0;
    }
    .gray .solo50:last-child{
        padding-right: 0;
    }
    .gray.main-page-block .negative-margins{
        margin-left: -15px;
        margin-right: -15px;
    }
}

@media (min-width: 600px) {
    /*.col-xs-6 {*/
    /*width: 50%;*/
    /*}*/
    /*.col-xs-5 {*/
    /*width: 41.66666667%;*/
    /*}*/
    /*.col-xs-8 {*/
    /*width: 66.66666667%;*/
    /*}*/
    .nomobile {
        display: block;
    }

    ul.leftmenu li a {
        margin-left: 0px !important;
    }

    div.copyright {
        background: url(../img/cc.png) no-repeat top left;
        /*color: #858e9b;*/
        padding-left: 50px !important;
        padding-top: 0 !important;
    }
}

@media (min-width: 800px) {
    div.container {
        /*width: 98%;*/
        padding-left: 0;
        padding-right: 0;
    }
    .negative-margins{
        margin-left: -15px;
        margin-right: -15px;
    }
    .mediaitems.__mainpage {
        right: 0;
    }
    h3{
        margin-bottom: 0;
    }
}

/*@media (min-width: 768px) {*/
/*.col-sm-4 {*/
/*width: 100%;*/
/*}*/

/*.col-sm-8 {*/
/*width: 100%;*/
/*}*/

/*.col-sm-9 {*/
/*width: 100%;*/
/*}*/

/*.col-sm-3 {*/
/*width: 100%;*/
/*}*/

/*}*/

.links2-font {
    word-break: break-word;
}

@media (min-width: 950px) {
    .main-page-block.mp-directions{
        padding-bottom: 0;
    }
    .main-page-block.mp-directions ~ div.upperline{
        padding: 0 0 60px 0!important;
        margin: 0 0 30px 0;
        border: 0;
        border-bottom: 2px solid #ededed;
    }
    .spravka {
        left: 12px;
    }

    .main .h1-font {
        display: inline;
    }

    #downloadlink {
        display: none;
        color: #000;
        font-size: 13px;
        position: relative;
        left: 3px;
    }

    #squares1 {
        display: none;
    }

    .coord {
        padding-top: /*1*/0px;
    }

    .photo {
        padding-top: 35px;
    }

    .napravlenia {
        padding-bottom: 19px;
    }

    .napravlenia .h3-font {
        padding-top: 10px;
    }

    .bordered .fix {
        margin-top: -5px;
    }

    .solo25 {
        padding-top: 25px;
    }

    .main .date-font {
        padding-top: 15px;
        padding-bottom: 10px
    }

    /*.col-lg-12 {*/
    /*width: 100%;*/
    /*}*/
    .bordered .col-xs-6 {
        width: 100%;
    }

    /*.col-sm-4 {*/
    /*width: 33%;*/
    /*}*/
    /*.col-sm-8 {*/
    /*width: 66%;*/
    /*}*/
    /*.col-sm-9 {*/
    /*width: 75%;*/
    /*}*/
    /*.col-sm-3 {*/
    /*width: 25%;*/
    /*}*/
    .nohpadding-mobile {

    }

    .solo-desktop {
        padding-top: 20px;
    }

    ul.leftmenu {
        padding: 0;
    }

    .bordered .h4 {
        padding: 15px 0 10px;
        display: block;
        font-family: "Scada-Bold";
        font-size: 18px;
    }

    .nohpadding {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .noleftpadding {
        padding-left: 0 !important;
    }

    .norightpadding {
        padding-right: 0 !important;
    }

    body .desktoponly {
        display: block !important;
    }

    .links-font {
        font-family: "Roboto", 'helveticaneuecyr_light', sans-serif;
        font-size: 13px;
        color: #4d6bbc !important;
    }

    .links1-font {
        font-family: "Roboto", 'helveticaneuecyr_light', sans-serif;
        font-size: 15px;
        color: #4d6bbc !important;
        line-height: 18px;
        padding-left: 20px;
    }
    .sub-napravlenia .links1-font{
        padding-left: 30px;
    }

    .links2-font {
        margin-top: 7px;
        font-family: "Roboto", 'helveticaneuecyr_light', sans-serif;
        font-size: 15px;
        color: #000000 !important;
        word-wrap: break-word;
    }

    .links3-font {
        font-family: "Roboto", 'helveticaneuecyr_light', sans-serif;
        font-size: 20px;
        color: #4d6bbc !important;
        border-bottom: 1px dotted;
        text-decoration: none !important;
    }
    .links3-font:hover{
        color: #203983!important;
    }

    .h1-font {
        font-family: "Scada-Bold";
        font-size: 30px;
        color: #000000 !important;
        line-height: 35px;
        padding-top: 8px;
        margin-left: -2px;
    }

    .h1-font-regular {
        font-family: "Scada";
        font-size: 30px;
        color: #000000 !important;
        line-height: 35px;
        padding-top: 8px;
    }

    .h1-font:hover {
        float: none;
        display: inline;
        border-bottom: 1px solid #aaaab6;
        text-decoration: none;
    }

    .item-font {
        font-family: "Roboto", 'helveticaneuecyr_light', sans-serif;
        font-size: 16px;
        color: #000000 !important;
    }

    .item1-font {
        font-family: "Roboto", 'helveticaneuecyr_light', sans-serif;
        font-size: 20px;
        color: #000000 !important;
    }

    .bordered {
        border: 1px solid #dddde2;
        padding: 5px 25px 25px 20px;
        margin-bottom: 25px;
    }

    .spravka .upperline {
        border-color: #dddde2;
    }

    .spravka + .spravka {
        padding-left: 8px !important;
    }

    body .nodesktop {
        display: none !important;
    }

    ul.leftmenu li.active a:before {
        content: '';
        font-size: 0;
        border-left: 14px solid #eeeef0;
        border-top: 28px solid #eeeef0;
        border-bottom: 27px solid #eeeef0;
        height: 0px;
        width: 0px;
        position: absolute;
        left: -13px;
        top: 0px;
    }

    ul.leftmenu li.active a:after {
        content: '';
        font-size: 0px;
        border-left: 14px solid #eeeef0 !important;
        border-top: 27px solid transparent;
        border-bottom: 28px solid transparent;
        height: 0px;
        width: 0px;
        position: absolute;
        right: -13px;
        top: 0px;
        z-index: 3;
    }

    ul.leftmenu li.active:after {
        border: none !important;
    }

    ul.leftmenu li:hover:after {
        content: '';
        font-size: 0px;
        border-left: 14px solid #dddde2;
        border-top: 27px solid transparent;
        border-bottom: 28px solid transparent;
        height: 0px;
        width: 0px;
        position: absolute;
        right: -14px;
        top: 0px;
        z-index: 1;
    }

    ul.leftmenu li:hover {
        border-top: 1px solid #dddde2;
        border-left: 1px solid #dddde2;
        padding-left: 12px;
        margin-left: -13px;
        margin-top: -1px;
        position: relative;
        z-index: 10;
    }

    ul.leftmenu li:hover a:after {
        content: '';
        font-size: 0px;
        border-left: 14px solid #ffffff;
        border-top: 28px solid transparent;
        border-bottom: 29px solid transparent;
        height: 0px;
        width: 0px;
        position: absolute;
        right: -13px;
        top: -1px;
        z-index: 2;
    }

    .h3-font {
        font-family: "Scada-Bold";
        font-size: 22px;
    }

    .h4, .h4-font {
        font-family: "Scada";
        font-size: 20px;
    }

    ul.leftmenu li {
        border-bottom: 1px solid #dddde2;
        position: relative;
        left: 1px;
        padding: 0;
    }

    ul.leftmenu li a {
        font-size: 17px;
        font-family: "Roboto";
        color: currentColor !important;
        position: relative;
        display: block;
        height: 55px;
        line-height: 55px;
        outline: none;
        text-decoration: none;
    }

    ul.leftmenu li.active {
        border-bottom: 0px !important;
        border-top: 1px solid #fff;
        margin-top: -1px;
        color: #000000 !important;
    }

    ul.leftmenu {
        border-right: 1px solid #dddde2;
        padding-top: 50px;
        margin-top: -30px;
        padding-bottom: 50px;
        margin-bottom: -50px;
    }

    ul.leftmenu li:first-child {
        border-top: 1px solid #dddde2;
        margin-top: -1px;
    }

    ul.leftmenu li.active:first-child {
        border-top: 0;
        margin-top: 0;
    }

    ul.leftmenu li.active a {
        background: #eeeef0;
        z-index: 3;
    }

    ul.leftmenu li:first-child:hover {

    }

    ul.leftmenu li:hover a {
        text-decoration: none;
    }

    .solo10 {
        padding-top: 10px;
        margin-top: 10px !important;
    }

    .contacts a {
        line-height: 30px;
    }

    .map {
        padding-top: 3px;
        position: relative;
        left: 6px;
    }
    .spravka{
        padding-left: 10px;
    }

    .logo-font {
        font-family: "Scada";
        font-size: 30px;
        color: #000000 !important;
    }

    .media1 .links2-font, .media2 .links2-font, .media3 .links2-font, .media4 .links2-font {
        padding-right: 20px;
        font-size: 14px;
    }
}

nav .container {
    padding: 0;
}

.mc-header {
    background: #203983;
}

.navbar.mc-header .navbar-nav li a {
    color: #9faedc;
}

.navbar.mc-header .navbar-nav li.active a {
    background: #203983;
    color: #ffffff;
}

.brand {
    background: url(../img/gerb.png) no-repeat left center;
    width: 35px;
}

.logo {
    display: inline-block;
    max-width: 75%;
    background: url("../img/flag.png") no-repeat left top;
    /*margin-top: 26px;*/
    padding-left: 19px;
    margin-right: -50px;
    text-decoration: none !important;
    line-height: 51px;
}
.logo span{
    display: inline-block;
    vertical-align: middle;
    line-height: 28px;

}


.toplinks {
    float: right;
    margin-top: 10px;
}

.toplinks a {
    display: inline-block;
    padding-bottom: 2px;
    border-bottom: 1px solid #9faedc;
    text-decoration: none;
}

.toplinks a:hover {
    position: relative;
    border-bottom: 1px solid transparent;
}

.toplinks a:hover:before {
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    bottom: 7px;
    left: -15px;
    background: url(../img/upright.png) no-repeat;
}

.navbar-default {
    padding: 3px 0;
}

.navbar-nav a {
    color: #9faedc;
}

.navbar-nav li.active a {
    color: #ffffff;
}

.fa-search {
    font-size: 1.3em;
}

.navbar {
    margin-bottom: 0px;
}

.links-item {
    font-family: "Roboto", 'helveticaneuecyr_light', sans-serif;
    font-size: 13px;
}

.links-item:hover {
    color: #4d6bbc;
}


.date-font {
    font-family: "Roboto", 'helveticaneuecyr_light', sans-serif;
    font-size: 14px;
    color: #858e9b !important;
    margin-bottom: 3px;
}

.solo {
    padding-top: 20px;
}

.solo50 {
    padding-top: 50px;
}

.type-block {
    display: block;
}

.icon-leftarrow {
    background: url(../img/leftarrow.png) no-repeat;
    width: 18px;
    height: 11px;
    margin-left: -18px;
    top: 3px;
}
.contacts .icon-leftarrow {
    top: 0;
}

.sub-napravlenia a.links1-font{
    display: block;
    overflow: hidden;
    padding-bottom: 5px;
}
.sub-napravlenia .icon-leftarrow{
    position: relative;
    float: left;
    width: 30px;
    margin-left: -30px;
    background: none;
}

.sub-napravlenia .icon-leftarrow:before {
    content: "";
    width: 16px;
    height: 0;
    border-top: 1px solid #2e2f31;
    position: absolute;
    left: 0px;
    top: 6px;
}

.sub-napravlenia .icon-leftarrow + span{
    display: block;
    overflow: hidden;
    font-size: 16px;
}

.size15 {
    font-size: 15px;
}

.gray {
    background: #eef0f0;
}
.gray .topborder a{
    color: #4d6bbc;
}

.text-gray {
    color: #858e9b !important;
}

.icon-fixed-width {
    width: 20px;
    display: inline-block;
}

.spacer20 {
    height: 20px;
}

.carousel-control.center {
    top: 180px;
    height: 120px;
}

.carousel img {
    width: 100%;
}

.carousel {
    width: 100%;
}

#photos {
    width: 649px;
    overflow: hidden;
}

.carousel-control.left, .carousel-control.right {
    background: none;
    width: 30px;
    height: 51px;
    overflow: hidden;
}
.carousel-control.left, .carousel-control.right img{
    width: auto;
}

.carousel-control.left {
    left: 20px;
}

.carousel-control.right {
    right: 20px;
}

.carousel-control.left:hover, .carousel-control.right:hover {
    background: none;
    opacity: 1 !important;
}

.carousel-control.left:hover img[src="img/back.png"] {
    display: none;
}

.carousel-control.left:hover img[src="img/back-active.png"] {
    display: block;
}

.carousel-control.left img[src="img/back-active.png"] {
    display: none;
}

.carousel-control.right:hover img[src="img/forward.png"] {
    display: none;
}

.carousel-control.right:hover img[src="img/forward-active.png"] {
    display: block;
}

.carousel-control.right img[src="img/forward-active.png"] {
    display: none;
}

.col-lg-55 {
    width: 45%;
}

.col-lg-35 {
    width: 30%;
}

.upperline {
    border-top: 1px solid #ededed;
    margin-top: 20px;
}

.container-fluid.upperline {
    border-top: 2px solid #ededed;
}

i.fa-twitter {
    background: url(../img/circle-o.png) no-repeat;
    width: 28px;
    height: 28px;
}

i.fa-facebook {
    background: url(../img/circle-o.png) no-repeat;
    width: 28px;
    height: 28px;
}
i.fa-instagram {
    background: url(../img/circle-o.png) no-repeat;
    width: 28px;
    height: 28px;
}


i.fa-inverse {
    background: url(../img/circle-o-inverted.png) no-repeat;
}

.bread {
    font-size: 14px;
    font-family: "Roboto", 'helveticaneuecyr_light', sans-serif;
    color: #a8adb4;
}

.bread:hover {
    color: #858e9b;
}

.withpaper {
    padding-left: 20px;
    background: url(../img/paper.png) no-repeat left center;
    line-height: 25px;
    height: 25px;
}

.bordered a {
    margin: 12px 0 12px 20px;
    display: block;
}

.bordered .item-font {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
}

.icons {
    color: #eef0f0;
    font-size: 20px;
    position: absolute;
    padding-bottom: 15px;
    left: 0;
    vertical-align: middle;
    width: 650px;
    padding-right: 23px;
    text-align: right;
    padding-top: 15px;
    bottom: 0;
}

.icons.active {
    background: #fff;
    opacity: .9;
    color: #000;
}

.icons span {
    color: #ffffff;
    font-size: 13px;
    position: relative;
    left: 3px;
}

.icons.active span {
    color: #000;
}

.icons.active a {
    color: #000;
}

.icons img {
    width: auto;
}

.icons a {
    display: inline-block;
    padding: 2px 10px 2px 5px;
    border-right: 1px solid #575a5f;
}

.mediaitems .date-font {
    padding-top: 7px;
    font-size: 14px;
}

.mediaitems .place-font{
    color: #858e9b;
    font-size: 12px;
}

.socmedia {
    position: relative;
    right: 47px;
    top: 10px;
    padding: 16px 0 22px;
}

.links-item {
    font-size: 13px;
}

/*.mediaitems {*/
    /*float: right !important;*/
    /*position: relative;*/
    /*left: 3px;*/
    /*width: 34%;*/
    /*padding-top: 35px;*/
/*}*/

.mediaitems {}

.mediaitems .size15 {
    line-height: 18px;
    /*padding-top: 15px;*/
}

.mediaitems a {
    display: block;
}

.subnews .upperline {
    padding-right: 15px;
    margin-right: -15px;
}

.mediaitems .col-sm-6 {
    padding: 10px 0;
    width: 144px;
    margin: -10px 10px 10px;
    float: right;
    position: relative;
    word-break: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

.mediaitems .col-sm-6:hover {
    padding: 9px !important;
    border: 1px solid #dddde2;
    position: relative;
    width: 164px !important;
    margin: -10px 0 10px;
}
.mediaitems .col-sm-6.active,
.mediaitems .col-sm-6.active:hover{
    padding: 9px !important;
    border: 1px solid #f4f4f4;
    position: relative;
    width: 164px !important;
    margin: -10px 0 10px;
    background-color: #f4f4f4;
    word-break: break-word;
}


.mediaitems .col-sm-6.solo:hover {
    margin-top: 10px;
}

.absblock {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #446ddf;
    -ms-border-radius: 2px;
    border-radius: 2px;
}

.hoverblock {
    top: 20px;
    right: 20px;
    display: none;
    padding: 2px 5px;
}

.hoverblock a {
    color: #ffffff;
    font-size: 12px;
    font-family: "Scada"
}
.hoverblock a:hover{
    text-decoration: none;
}

.hoverblock a img {
    position: relative;
    top: -2px;
}

.mediaitems .col-sm-6:hover .hoverblock {
    display: block;
}

.mediaitems .col-sm-6:hover .absblock {
    top: 19px;
    right: 19px;
}

.bigmap {
    display: none;
    width: 100%;
    height: 258px;
    padding: 0;
    position: relative;
}

#bigmap {
    width: 100%;
    height: 258px;
}

.closemap {
    padding: 15px 40px;
    position: absolute;
    right: 10px;
    top: 10px;
    background: #4d6bbc;
    color: #ffffff;
    font-size: 14px;
    font-family: "Roboto", 'helveticaneuecyr_light', sans-serif;
    cursor: pointer;
}

.chooser {
    position: absolute;
    bottom: 0px;
    left: 0px;
    background: #373a3e;
    height: 147px;
    padding: 20px 20px;
    width: 100%;
}

.photoset {
    width: 10000px;
}

.photoset img {
    width: 116px;
    margin-right: 4px;
}

.imageslider {
    overflow: hidden;
    width: 100%;
}

.chooser .lefttriangle {
    position: absolute;
    height: 77px;
    width:20px;
    bottom: 50px;
    left: 0px;
}

.chooser .righttriangle {
    position: absolute;
    height: 77px;
    width:20px;
    bottom: 50px;
    right: 0px;
}

.chooser .lefttriangle:before {
    content: "";
    position: absolute;
    height: 1px;
    width: 1px;
    font-size: 0;
    border: 10px solid transparent;
    border-right: 10px solid #5f6165;
    left: 50%;
    top: 50%;
    margin:-10px 0 0 -15px;
}

.chooser .righttriangle:before {
    content: "";
    position: absolute;
    height: 1px;
    width: 1px;
    font-size: 0;
    border: 10px solid transparent;
    border-left: 10px solid #5f6165;
    left: 50%;
    top: 50%;
    margin:-10px 0 0 -5px;
}

.chooser .lefttriangle:hover:before {
    content: "";
    height: 1px;
    width: 1px;
    font-size: 0;
    border: 10px solid transparent;
    border-right: 10px solid #ffffff;
}

.chooser .righttriangle:hover:before {
    content: "";
    height: 1px;
    width: 1px;
    font-size: 0;
    border: 10px solid transparent;
    border-left: 10px solid #ffffff;
}

.photoset a.active:after {
    content: "";
    background: #203983;
    opacity: .6;
    width: 116px;
    height: 77px;
    position: absolute;
    top: 0;
    left: 0;
}

.photoset a.active {
    position: relative;
}

.photoset a {
    display: inline-block;
}

.chooser {
    width: 649px;
}

.col-sm-4.contacts{
    margin-bottom: 45px;
}
.col-sm-8.coord{
    padding-left:0;
}

.all-events{
    display: inline-block;
    margin-top: 20px;
}

.mediaitems.__mainpage{
    position: relative;
    padding-top: 35px;
    right: 7px;
}
.mediaitems.__mainpage > .row{
    clear: right;
}
.mediatitle{
    width: 649px;
    padding-top: 10px;
}
.mediatitle .gallery-name{
    text-align: right;
    font-family: "Roboto", 'helveticaneuecyr_light', sans-serif;
    font-size: 14px;
    color: #858e9b;
    margin-bottom: 10px;
}
.events-list.__main{
    margin-top: -4px;
}
.mp-event-title{
    padding-top: 10px;
}
.mp-event-date{
    padding-top: 22px;
}

.mp-socialtapes{
    margin-bottom: 40px;
}
.mp-socialtapes .col-lg-3 p{
    font-size: 15px;
}
.mp-socialtapes h3 + .text-gray{
    font-size: 15px;
    padding-top: 1px;
    white-space: nowrap;
    text-align: right;
}

.mp-contacts{
    min-height: 258px;
}
.mp-contacts .solo{
    padding-top: 30px;
}
.mp-contacts .links1-font{
    font-size: 16px;
}
.mp-contacts .spravka .item1-font{
    margin: 4px 0 0 0;
}

.sub-napravlenia .bread{
    margin-top: 5px;
}
.sub-napravlenia .bread a{
    font-size: 15px;
}

.visible-mob{
    display: none;
}

/*
.b-footer .solo50:last-child{
    padding-left: 17px;
}
*/

.events-list.__main > .row-fluid{
    margin: 20px 0;
}
.events-list.__main > .row-fluid:first-child{
    margin-top: 0;
}

@media (max-width: 800px) {
    .all-events{
        margin-left: -15px;
        margin-right: -15px;
    }
}


/* iPad portrait */
@media (max-width: 768px) {
    body{
        overflow-x: hidden;
    }
    .events-list.__main > .row-fluid{
        border-top: 1px solid #ededed;
        margin: 20px 0;
        padding-top: 20px;
    }
    .events-list.__main + .visible-mob,
    .events-list.__main + .clear + .visible-mob{
        display: block;
        margin: 0;
        clear: both;
    }
    .all-events{
        margin: 20px 0!important;
    }
    .b-header .nohpadding{
        padding-left: 0;
        padding-right: 0;
    }
    .toplinks{
        font-size: 14px;
    }
    .hidden-mob{
        display: none!important;
    }
    .bordered-box{
        margin: 30px 0px;
    }
    .bordered-box:first-child{
        margin-top: 30px;
    }
    .container-fluid.upperline{
        margin-top: 0!important;
    }
    .mp-event-date{
        display: block!important;
    }
    .mp-contacts .negative-margins{
        margin-left: -15px;
        margin-right: -15px;
    }
    .mp-contacts .contacts,
    .mp-contacts .coord{
        width: 100%;
        margin-bottom: 20px;
    }
    .b-footer{
        padding: 0;
    }
    .b-footer .negative-margins{
        margin: 0
    }
    /*
    .b-footer .solo50{
        float: left;
        width: 33%;
        padding-left: 0;
        padding-right: 0;
    }
    */
    .b-footer .solo{
        padding-top: 10px;
    }
    .b-footer h4{
        font-size: 18px;
        font-weight: normal;
    }
    /*
    .b-footer .copyright{
        width: 100%;
        color: #858e9b;
        font-size: 15px;
        padding: 50px 0 0;
        margin: 0;
    }
    */
    .b-footer .copyright + .col-xs-4{
        display: none;
    }
    .b-footer .copyright div{
        float: left;
        width: 48%;
        margin: 0 0 30px;
        padding: 0 0 0 50px;
    }
    .b-footer .copyright div + div{
        width: 49%;
        float: right;
        padding: 0 30px 0 0;
    }
}

/* iPhone landscape */
@media (max-width: 600px) {
    .visible-mob{
        display: block!important;
    }
    .hidden-mob{
        display: none!important;
    }
    h3{
        font-size: 22px;
        font-weight: bold;
        margin-top: 5px;
        margin-bottom: 20px;
    }
    .container {
        padding-left: 30px;
        padding-right: 30px;
        overflow: hidden;
    }
    .negative-margins{
        margin-left: -15px;
        margin-right: -15px;
    }
    .nohpadding {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .solo30 {
        padding-top: 20px;
    }
    .logo-font {
        max-width: 100%;
        font-size: 30px;
    }
    .main-page-block {
        padding-top: 20px;
        padding-bottom: 0;
    }
    .mp-event-date {
        padding-top: 0;
    }
    .mp-event-title {
        padding-top: 0;
        margin-bottom: 20px;
    }
    .mp-event-lead{
        display: none;
    }
    .solo.upperline{
        margin-top: 0;
        border: 0;
    }
    .bordered-box {
        margin: 30px -30px 0;
        border-left: 0;
        border-right: 0;
    }
    .bordered-box-container {
        padding: 25px 30px;
    }
    .bordered-box-container .h4-font {
        font-weight: bold;
        margin-bottom: 20px;
    }
    .bordered-box-container .link-list li {
        display: inline-block;
        max-width: 240px;
        vertical-align: top;
        margin: 0 0 15px;
        padding:0 20px;
    }
    .bordered-box + .bordered-box{
        margin-top: 0;
        border-top: 0;
    }
    .mp-directions{
        padding: 25px 30px!important;
    }
    .mp-directions h3{
        margin-top: 3px;
    }
    .mp-directions .leftmenu{
        margin: 0;
        float: none;
        font-size: 15px;
        line-height: 18px;
    }
    .mp-directions .leftmenu li{
        display: inline-block;
        float: none;
        max-width: 240px;
        vertical-align: top;
        padding: 0 20px 0 0;
        margin: 0 0 15px 0;
    }
    .mp-directions .leftmenu li a{
        line-height: 18px;
        height: auto;
    }
    .mp-directions .leftmenu li .icon-leftarrow {
        top: 4px;
    }
    .mp-directions .links1-font{
        padding: 10px 0 0 0;
    }
    .mp-contacts{
        min-height: 1px;
        padding: 5px 30px 25px 30px!important;
    }
    .mp-contacts .contacts{
        display: block!important;
        margin: 0;
    }
    .mp-contacts .spravka{
        width: 50%;
        padding-top: 20px;
        font-size: 15px;
        line-height: 18px;
    }
    .mp-contacts .spravka .solo10{
        padding-top: 8px;
        margin-top: 8px;
    }
    .mp-contacts .spravka .upperline {
        border: 0;
        margin-top: 10px;
    }
    .mp-contacts .spravka .item1-font{
        margin-top: 5px;
        font-size: 16px;
    }
    .b-footer{
        padding: 0;
    }
    .b-footer .negative-margins{
        margin: 0
    }
    /*
    .b-footer .solo50{
        float: left;
        width: 50%;
        padding-left: 0;
        padding-right: 0; 
    }
    */

    .b-footer .solo50:last-child {
        padding-left: 0;
    }
    .b-footer .solo{
        padding-top: 10px;
    }
    .b-footer h4{
        font-size: 18px;
        font-weight: normal;
    }
    .b-footer .copyright{
        width: 100%;
        color: #858e9b;
        font-size: 15px;
        padding: 50px 0 0;
        margin: 0;
        background-position: 30px 0;
    }
    .b-footer .copyright div{
        float: left;
        width: 48%;
        margin: 0 0 30px;
        padding: 0 0 0 30px;
    }
    .b-footer .copyright div + div{
        width: 49%;
        float: right;
        padding: 0 30px 0 0;
    }
}

@media (max-width: 480px) {
    .logo-font {
        font-size: 26px;
    }
    h3, .h4-font{
        font-size: 20px;
    }
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .bordered-box-container .link-list li {
        padding:0 0 0 20px;
    }
    .mp-directions{
        padding: 25px 20px!important;
    }
    .mp-directions .leftmenu li{
        padding: 0;
    }
    .mp-contacts{
        padding: 5px 15px 25px 20px!important;
    }
    .mp-contacts .spravka{
        width: 100%;
    }
    .mp-contacts .links3-font{
        font-size: 16px;
    }
    .b-footer{
        overflow: hidden;
    }
    .b-footer .solo50{
        width: 100%;
        padding-top: 35px;
    }
    .b-footer .solo50 h4{
        font-size: 20px;
        margin: 0;
    }
    .b-footer .copyright{
        padding-top: 45px;
    }
    .b-footer .copyright div,
    .b-footer .copyright div + div{
        float: none;
        width: auto;
        padding: 0 30px;
    }
    .b-footer .copyright div{
        margin: 0 0 5px;
    }
    .b-footer .copyright div + div{
        margin: 0 0 30px;
    }
}

.printonly{
    display: none;
}

.AutoLoadMKSGallery{
    min-height: 467px;
}
.AutoLoadMKSGallery .mp-preloader{
    position: absolute;
    width: 24px;
    height: 24px;
    left: 50%;
    top: 50%;
    margin: -22px 0 0 -22px;
    z-index: 1;
    padding: 10px;
    box-sizing: content-box;
    display: block;
    background: #fff;
    border-radius: 5px;
}


.icons a {
    display: inline-block;
    padding: 0 10px 0 5px;
    border-right: 1px solid #bebebc;
    line-height: 12px;
}
.AutoLoadMKSGallery .icons {
    background-color: rgba(0,0,0,0.3);
}
.icons {
    color: #000000;
    font-size: 20px;
    position: absolute;
    padding-bottom: 14px;
    left: 0;
    vertical-align: middle;
    height: 42px;
    width: 649px;
    padding-right: 23px !important;
    text-align: right;
    padding-top: 13px;
    line-height: 12px!important;
    bottom: 0;
}
.AutoLoadMKSGallery .icons.active,
.AutoLoadMKSGallery .icons.active span {
    background: none;
    color: #ffffff;
}


#bigmap .popover{
    max-width: 270px;
    border: 0;
    border-radius: 0px;
    font-size: 14px;
}
#bigmap .popover .popover-content{
    padding: 5px 15px 15px;
}
#bigmap .popover .popover-title {
    padding: 0 15px;
    background-color: #ffffff;
    border: 0;
    border-radius: 0;
}
.icon-coa{
    display: inline-block;
    width: 33px;
    height: 32px;
    background: url(../img/coa.png) 0 0 no-repeat;
}
#bigmap .popover .popover-title .icon-coa{
    margin-top: 10px;
}
#bigmap .popover.top>.arrow {
    margin-left: -7px;
    border-bottom-width: 0;
    border-top-color: #ffffff;
    border-top-color: rgba(255,255,255,1);
    bottom: -7px;
}
#bigmap .popover>.arrow {
    border-width: 7px;
}
#bigmap .popover.top>.arrow:after {
    bottom: 0;
    margin-left: -7px;
}
#bigmap .popover>.arrow:after {
    border-width: 7px;
}
#bigmap .popover .close {
    position: absolute;
    width: 11px;
    height: 11px;
    text-indent: -9999px;
    top: 7px!important;
    right: 7px!important;
    background: url(../img/popover_close.png) 100% 0 no-repeat;
    font-size: 0;
    line-height: 0;
    text-shadow: 0 0 0 #fff;
    opacity: 1;
    filter: alpha(opacity=100);
}
#bigmap .popover {
    display: block;
}
#bigmap .popover .popover-content span{
    color: #99a0aa;
}


@media (min-width: 800px) and (max-width: 998px){
    .mediaitems.__mainpage {
        width: 100%;
    }
    .mediaitems.__mainpage > .row{
        float: left;
        margin: 0;
    }
    .all-events{
        margin-left: 0;
    }
}

.alert-warning.desktoponly{
    display: none!important;
}
.alert-warning.desktoponly.show{
    display: block!important;
}

.mediabox-main .col-sm-8{
    position: relative;
    z-index: 10;
}
.mediabox-main .col-sm-4{
    z-index: 5;
}

h3 + .page-block-text > div .solo:first-child{
    padding-top: 0;
}
.document-link-block + .solo{
    padding-top: 0;
}
.mediabox-main .text-right a{
    padding: 0;
}


.single-item .icons a{
    border-right: 0;
    padding-right: 0;
    margin-right: 0;
}
.single-item .togglePlaylist,
.single-item .icons span{
    display: none;
}
.single-item .carousel .mejs-controls .mejs-fullscreen-button{
    padding-right: 60px!important;
}




.icons.video{
    white-space: nowrap;
    width: 130px;
    left: 519px;
    right: auto;
    background: none;
}
.mejs-overlay-button {
    background: url(../img/bigplay.png) no-repeat;
}


.mejs-container .mejs-controls {
    background: #ffffff;
    color: #000000;
    background: rgba(0,0,0,0.3);
    height: 42px;
}
.mejs-container .mejs-controls div.mejs-play,
.mejs-container .mejs-controls div.mejs-pause{
    width:34px;
    height:24px;
    margin: 9px 14px;
}
.mejs-container .mejs-controls div.mejs-play button,
.mejs-container .mejs-controls div.mejs-pause button{
    width:34px;
    height:24px;
    -ms-border-radius: 2px;
    border-radius: 2px;
    margin: 0 !important;
    padding: 0 !important;
}
.mejs-container .mejs-controls div.mejs-play button{
    background: url(../img/mejs/play@2x.png) 50% 50% no-repeat #ffffff;
    background-size: 8px 12px;
}
.mejs-container .mejs-controls div.mejs-pause button{
    background: url(../img/mejs/pause@2x.png) 50% 50% no-repeat #ffffff;
    background-size: 8px 12px;
}
.mejs-container .mejs-controls .mejs-time{
    color: #fff!important;
    display: block;
    height: 42px!important;
    font: 13px/42px "Roboto"!important;
    width: auto;
    padding: 0!important;
}
.mejs-container .mejs-controls .mejs-time span{
    height: 42px!important;
    color: #fff!important;
    font: 13px/42px "Roboto"!important;
}
.mejs-controls .mejs-time-rail .mejs-time-loaded {
    background: #d9d9d9!important;
}
.mejs-controls div.mejs-time-rail {
    padding-top: 12px;
}
.mejs-controls .mejs-time-rail .mejs-time-current {
    background: #6b6b6b!important;
}
.mejs-overlay-button {
    width:65px!important;
    height:46px!important;
    background: url(../img/mejs/play_big@2x.png) 0 0 no-repeat!important;
    margin: -2px 0 0 -32px!important;
    background-size: 65px 46px!important;
}
.mejs-controls .mejs-mute button,
.mejs-controls .mejs-unmute button{
    width:25px!important;
    height:42px!important;
    margin: 0!important;
}
.mejs-controls .mejs-mute button{
    background: url(../img/mejs/sound_2@2x.png) 50% 50% no-repeat!important;
    background-size: 13px 12px!important;
}
.mejs-controls .mejs-unmute button{
    background: url(../img/mejs/sound_1@2x.png) 50% 50% no-repeat!important;
    background-size: 15px 12px!important;
}
.carousel .mejs-controls .mejs-fullscreen-button{
    padding-right: 145px!important;
}
.mejs-controls .mejs-fullscreen-button button{
    height: 42px;
    margin: 0!important;
    background: url(../img/mejs/fullscreen@2x.png) 50% 50% no-repeat!important;
    background-size: 12px 12px!important;
}
.mejs-controls div.mejs-horizontal-volume-slider {
    height: 42px;
    width: 60px;
}
.mejs-audio.mejs-container {
    height: 42px!important;
    background: #fff!important;
}
.mejs-horizontal-volume-total{
    background: #d9d9d9!important;
    top: 18px!important;
}
.mejs-horizontal-volume-current{
    top: 18px!important;
    background: #6b6b6b!important;
}
.mejs-horizontal-volume-handle{
    top: 18px!important;
}
.mejs-video .mejs-controls div.mejs-time-rail{
    width: 328px;
}
.mejs-video .mejs-controls div.mejs-time-rail > span{
    width: 318px;
}

@media (max-width: 768px){
    .alert-warning{
        position: relative;
    }
    .alert-warning .closetest{
        position: absolute;
        right: 22px;
        top: 22px;
    }
}


/* Light */
.num-wrapper{
    font-family: 'helveticaneuecyr_light', sans-serif;
}
/* Normal & bold Scada */
h1 .num-wrapper, h2 .num-wrapper, h3 .num-wrapper, h4 .num-wrapper, h5 .num-wrapper, h6 .num-wrapper
.h1-font .num-wrapper, .h2-font .num-wrapper, .h3-font .num-wrapper, .h4-font .num-wrapper, .h5-font .num-wrapper, .h6-font .num-wrapper,
.paging .num-wrapper,
.nav-tabs .num-wrapper,
.titlemini .num-wrapper,
.container.document-title .num-wrapper,
.searchform .btn .num-wrapper,
.btn-blue .num-wrapper,
.submitform .btn .num-wrapper,
.document-link-block-header span.document-number .num-wrapper,
.news-day-block-date .day .num-wrapper,
.polls-header .num-wrapper,
.polls-title .num-wrapper{
    font-family: sans-serif;
}

.b-footer ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.accessibility-hidden{
    position: absolute;
    left: -9999px;
}



@media (min-width: 950px){
    .mp-event-title a{
        line-height: 38px;
    }
    .mp-event-title a:hover,
    .mp-event-title a:focus{
        text-decoration: none;
    }h3.xls

    .mp-event-title a span{
        line-height: 28px;
        border-bottom: 1px solid transparent;
    }
    .mp-event-title a:hover span,
    .mp-event-title a:focus span{
        border-bottom: 1px solid #aba9b6;
    }
}

@media (max-width: 767px){
    .mp-event-title{
        padding-top: 0;
        margin-bottom: 20px;
    }
    .mp-event-title a,
    .mp-event-title a span{
        line-height: 22px;
    }
    .mp-event-date.hidden-mob{
        display: none!important;
    }
    .mp-event-title .visible-mob{
        display: block!important;
    }
}

.icons a,
.icons span{
    margin-left: 5px;
    vertical-align: middle;
}
.icons a img, .icons span img{
    vertical-align: top;
}

.img-wrapper img {
    display: block;
    width: 100%;
    height: auto;
}

.img-wrapper {
    display: block;
    height: 120px;
}


@media (min-width: 200px) {
    #js-iframe-overlay,
    #js-iframe-wrapper {
        position: fixed !important;
        z-index: 2147483641 !important;
        }
    #js-iframe-wrapper {
        z-index: 2147483642 !important;
        width: 100% !important;
        max-width: 620px !important;
        }
    .style_buttons__1Jf6T {
        padding-bottom: 40px !important;
        }
    .backfeed-platform {
        max-width: 596px;
        width: 100%;
        padding: 0;
        float: left;
        margin-bottom: 15px;
        margin-top: 15px;
        /*display: inline-flex;*/
        /*flex-direction: column;*/
        }
    .backfeed-platform h3 {
        font-weight: bold;
        margin-bottom: 20px;
        }
    .backfeed-platform__wrapper {
        display: flex;
        justify-content: space-between;
        flex-wrap: nowrap;
        }
    .backfeed-platform__button {
        min-height: 50px;
        width: 100%;
        display: flex;
        border: none;
        align-items: center;
        padding: 0;
        cursor: pointer;
        text-decoration: none;
        opacity: 1;
        transition: opacity 0.2s ease-in-out;
        }

    .backfeed-platform__button:hover{
        text-decoration: none;
        opacity: 0.8;
        }
    .backfeed-platform__button:visited{
        text-decoration: none;
        }

    .backfeed-platform__button:not(:first-child) {
        margin-left: 20px;
        }

    .backfeed-platform__button span {
        position: relative;
        display: block;
        color: #ffffff;
        padding-left: 30px;
        padding-right: 5px;
        font-size: 16px;
        font-family: "Scada", sans-serif;
        }

    .backfeed-platform__button span::before {
        display: block;
        position: absolute;
        content: '';
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: #ffffff;
        left: 11px;
        top: 50%;
        transform: translateY(-50%);
        }

    .backfeed-platform__button span::after {
        display: block;
        position: absolute;
        content: '';
        width: 6px;
        height: 6px;
        background-color: transparent;
        border-right: 1px solid red;
        border-bottom: 1px solid red;
        left: 13px;
        top: 50%;
        transform: translateY(-50%) rotate(-45deg);
        }

    .backfeed-platform__button--blue {
        background-color: #1f3686;
        }

    .backfeed-platform__button--blue span::after {
        border-color:  #1f3686;
        }

    .backfeed-platform__button--grey {
        background-color: #858f9b;
        }

    .backfeed-platform__button--grey span::after {
        border-color:  #858f9b;
        }
    }
@media (min-width: 601px) {
    .backfeed-platform {
        padding: 0 15px;
        }
    }
@media (min-width: 950px) {
    .backfeed-platform {
        float: left;
        padding: 0;
        padding-right: 30px;
        padding-left: 30px;
        margin: 0;
        width: 66%;
        max-width: 631px;
        }
    .style_buttons__1Jf6T {
        padding-bottom: 20px !important;
        }
    }
@media (min-width: 992px) {
    .backfeed-platform {
        float: right;
        padding: 0;
        padding-right: 30px;
        padding-left: 15px;
        margin: 0;
        width: 100%;
        }

    .backfeed-platform__button {
        min-height: 60px;
        }
    .backfeed-platform__button:not(:first-child) {
        margin-left: 40px;
        }
    .backfeed-platform__button span {
        padding-left: 45px;
        font-size: 20px;
        }
    .backfeed-platform__button span::before {
        width: 16px;
        height: 16px;
        left: 20px;
        }

    .backfeed-platform__button span::after {
        width: 8px;
        height: 8px;
        left: 22px;
        }
    }
@media (min-width: 1200px) {
    .backfeed-platform {
        margin-left: 60px;
        margin-right: 0;
        max-width: 596px;
        padding: 0;
        }
    }