body {
    margin-top: 50px
}

.main-panel .main-panel-pane-2 {
    display: flex;
    flex-direction: row
}

.main-panel {
    max-width: 1220px;
    width: 100%;
    margin: 0 auto;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    position: relative
}

#menu-bar {
    overflow: hidden;
    background-color: #1e3685;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    min-height: 50px;
    padding: 0 20px;
    margin: 0
}

.menu-button {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: white !important;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    line-height: 50px;
    display: inline-block;
    padding: 0 8px;
    cursor: pointer;
    text-decoration: none
}

.menu-button:first-child {
    display: inline-block
}

.menu-button:hover {
    background-color: #2344a4
}

.search-loupe-button {
    margin-left: auto;
    display: block;
    float: right;
    position: relative;
    height: 50px;
    width: 60px;
    cursor: pointer
}

.search-loupe-button .search-loupe-button_icon {
    top: 17px;
    left: 20px;
    position: absolute;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20enable-background%3D%22new%200%200%2020%2020%22%3E%3Cpath%20d%3D%22m7.5%201.8c3.2%200%205.8%202.6%205.8%205.8s-2.6%205.8-5.8%205.8-5.8-2.6-5.8-5.8%202.6-5.8%205.8-5.8m0-1.8c-4.1%200-7.5%203.4-7.5%207.5s3.4%207.5%207.5%207.5%207.5-3.4%207.5-7.5-3.4-7.5-7.5-7.5z%22%20fill%3D%22%23fff%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.25%22%20stroke-miterlimit%3D%2210%22%20d%3D%22m12%2012l6.4%206.4%22%2F%3E%3C%2Fsvg%3E") !important;
    width: 17px;
    height: 17px
}

.main-panel .main-panel-pane-3 {
    display: none
}

.has-search-active .main-panel-pane-2 {
    display: none
}

.has-search-active .main-panel-pane-3 {
    display: block;
    margin: 0 70px 0 100px;
    height: 50px;
    position: relative
}

.has-search-active .main-panel-pane-3 .search-bar {
    display: inline-block;
    width: 100%;
    height: 35px;
    margin: 7px 0 0;
    position: relative;
    border-radius: 4px;
    background-color: white
}

.has-search-active .main-panel-pane-3 .search-bar .search-bar_input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 0 100px 0 40px;
    line-height: 35px;
    height: 35px;
    font-size: 18px;
    color: black;
    background-color: transparent;
    border: 0;
    outline: 0
}

.has-search-active .main-panel-pane-3 .search-bar .search-submit {
    position: absolute;
    width: 80px;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    text-align: center;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    color: black;
    font-weight: 500;
    font-size: 13px;
    line-height: 16.8px;
    letter-spacing: .5px;
    text-transform: uppercase;
    line-height: 35px;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    background-color: #e0e6eb
}

.has-search-active .main-panel-pane-3 .search-bar .search-close {
    position: absolute;
    right: -70px;
    top: -7px;
    height: 50px;
    width: 60px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20enable-background%3D%22new%200%200%2020%2020%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%20stroke-miterlimit%3D%2210%22%3E%3Cpath%20d%3D%22m2.6%202.6l14.8%2014.8%22%2F%3E%3Cpath%20d%3D%22M%2017.4%2C2.6%202.6%2C17.4%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px
}

.has-search-active .main-panel-pane-3 .search-suggestor {
    position: absolute;
    width: 100%;
    top: 50px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5)
}

.has-search-active .main-panel-pane-3 .search-pane {
    display: none;
    max-height: calc(100vh - 65px);
    overflow-y: auto;
    position: absolute;
    width: 100%;
    top: 50px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5)
}

.main-menu {
    display: flex;
    flex-direction: column;
    align-items: self-start
}

.civi-picker__title-inner {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle
}

.menu-button-picker {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    line-height: 50px;
    display: inline-block;
    height: 50px;
    padding: 0 20px;
    white-space: nowrap;
    cursor: pointer;
    color: white;
    background-color: #2344a4
}

.menu-button-picker:after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    padding-left: 17px;
    width: 7px;
    height: 7px;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2012%207%22%20enable-background%3D%22new%200%200%2012%207%22%3E%3Cpath%20opacity%3D%22.8%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%221.5%22%20stroke-miterlimit%3D%2210%22%20d%3D%22m1%201l5%205%205-5%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right
}


@media (min-width: 721px) {
    .main-panel {
        max-width: 1325px
    }
}

@media (max-width: 720px) {
    #menu-bar {
        padding: 0 10px
    }

    .has-search-active .main-panel-pane-3 {
        margin: 0 35px 0 10px
    }

    .has-search-active .main-panel-pane-3 .search-bar .search-bar_input {
        padding: 0 100px 0 10px
    }

    .has-search-active .main-panel-pane-3 .search-bar .search-submit {
        width: 35px;
        color: transparent
    }

    .has-search-active .main-panel-pane-3 .search-bar .search-submit:before {
        content: '';
        display: inline-block;
        position: absolute;
        left: 10px;
        top: 10px;
        background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20enable-background%3D%22new%200%200%2020%2020%22%3E%3Cpath%20d%3D%22m7.5%201.8c3.2%200%205.8%202.6%205.8%205.8s-2.6%205.8-5.8%205.8-5.8-2.6-5.8-5.8%202.6-5.8%205.8-5.8m0-1.8c-4.1%200-7.5%203.4-7.5%207.5s3.4%207.5%207.5%207.5%207.5-3.4%207.5-7.5-3.4-7.5-7.5-7.5z%22%20fill%3D%22%23676767%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23676767%22%20stroke-width%3D%222.25%22%20stroke-miterlimit%3D%2210%22%20d%3D%22m12%2012l6.4%206.4%22%2F%3E%3C%2Fsvg%3E");
        width: 17px;
        height: 17px;
        pointer-events: none
    }

    .has-search-active .main-panel-pane-3 .search-bar .search-close {
        width: 30px;
        right: -35px
    }

    .has-search-active .main-panel-pane-3 .search-suggestor {
        left: -20px;
        right: -45px;
        width: auto
    }

    .has-search-active .main-panel-pane-3 .search-pane {
        left: -20px;
        right: -45px;
        width: auto
    }

    .civi-picker__title-inner {
        max-width: calc(100vw - 250px)
    }

}

@media (min-width: 1160px) {
    .main-menu {
        flex-direction: row
    }

    .menu-button-spec .menu-button__label-text:before {
        content: '';
        width: 25px;
        height: 25px;
        display: inline-block;
        vertical-align: middle;
        background: url(../../images/cheportal/ico/spec.png) 50% no-repeat;
        margin-right: 10px
    }

    .menu-button.menu-button-picker {
        display: none
    }

    .menu-button:not(:first-child) {
        display: inline-block
    }
}


/* Добавлены классы чтобы можно было закрепить пункты в менюшке */
.menu-button-important {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: white;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    line-height: 50px;
    display: inline-block;
    padding: 0 8px;
    cursor: pointer;
    text-decoration: none
}

.menu-panel-all {
    display: flex;
    flex-direction: column
}

@media (min-width: 1160px) {
    .menu-panel-all {
        flex-direction: row
    }
}

.menu-panel-dynamic {
    display: none
}

@media (min-width: 1160px) {
    .menu-panel-dynamic {
        display: inline-block
    }
}

@media (max-width: 605px) {
    body {
        margin-top: 100px
    }
}

.gosbar {
    background-color: #1e3685;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    min-height: 50px;
    margin: 0
}

.gosbar-panel {
    max-width: 1220px;
    width: 100%;
    margin: 0 auto;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    position: relative;
    display: none
}

.gosbar-panel-active {
    display: block
}

.gosbar-items-zone {
    vertical-align: middle;
    position: relative;
    display: inline-block
}

.gosbar-functional-buttons-zone {
    float: right
}

.gosbar-button {
    width: 50px;
    height: 50px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer
}

.gosbar-button:hover {
    background-color: #2344a4
}

.gosbar-button>a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center
}

.gosbar-dropdown-menu-button {
    float: left;
    border: none
}

.gosbar-links-dropdown-content {
    background-color: #1e3685
}

.gosbar-links-dropdown-content {
    display: none;
    position: absolute;
    top: 50px;
    min-width: 200px;
    max-width: 400px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1
}

.gosbar-links-dropdown-active {
    display: block
}

.gosbar-item {
    width: 100%;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap
}

.gosbar-item:hover {
    background-color: #2344a4
}

.gosbar-item-fixed {
    height: 50px
}

.gosbar-item a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 1010px;
}

.gosbar-item a:focus {
    background-color: #2344a4;
    outline: auto;
}

.gosbar-link {
    color: white;
    font-weight: 400;
    font-size: 14px;
    line-height: 50px;
    width: 100%;
    display: inline-block;
    padding: 0 8px;
    cursor: pointer;
    text-decoration: none
}

.gosbar-search-bar-zone {
    flex: 1;
    display: flex;
    align-items: center;
    margin: 0 4px
}

.gosbar-search-buttons-zone {
    display: flex;
    align-items: center
}

.gosbar-search-bar-input {
    width: 100%;
    height: 40px;
    padding-left: 6px
}

.gosbar-search-button-submit {
    width: 98px;
    height: 40px;
    margin: 0 2px;
    cursor: pointer
}

.gosbar-links-fixed-content {
    float: left;
    height: 50px;
    max-width: calc(100vw - 230px)
}



.prav .gosbar-link {
    color: #fff;
}