.call-before {
    border: 2px solid #ed1c24;
    background: #ffffff;
    box-shadow: inset 0px 0px 6px 0px #ed1c24;
}

.red-text-center {
    padding: 20px 10px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #ed1c24;
    text-transform: uppercase;
}

.call-before {
    margin: 20px 0px;
}

.header-info-text {
    background: #313131;
}

.header-info-text .container {
    display: flex;
    justify-content: center;
    padding: 15px;
    color: #fff;
    align-items: center;
    line-height: 120%;
}

.header-info-text-close {
    cursor: pointer;
    margin-left: 15px;
    font-size: 20px;
}

.header-info-text-content {
    font-weight: bold;
}

@media (max-width: 768px) {
    .header-info-text .container {
        padding-right: 80px;
    }
    .header-info-text-content {
        font-size: 14px;
    }
}

.cookies {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 100000001;
    display: grid;
    grid-gap: 35px;
    grid-template-columns: repeat(2, auto);
    align-items: center;
    width: calc(100% - 8px);
    max-width: 416px;
    padding: 16px;
    border-radius: 10px;
    color: #3E486A;
    background: #F4F5F7;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .04), 0 4px 20px rgba(0, 0, 0, .1)
}

.cookies--hidden {
    display: none
}

.cookies__desc {
    margin: 0;
    line-height: 16px
}

.cookies__desc a {
    color: inherit;
    text-decoration: underline
}

.cookies__desc a:focus,
.cookies__desc a:hover {
    text-decoration: none
}

.cookies__button {
    margin: 0;
    border: 0;
    color: inherit;
    font: inherit;
    -webkit-tap-highlight-color: transparent;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
    transition: background-color .15s ease-out;
    color: #3E486A;
    background: #EEF8FF;
}

.cookies__button:focus {
    outline: none
}

.cookies__button::-webkit-input-placeholder {
    color: inherit
}

.cookies__button::-moz-placeholder {
    color: inherit
}

.cookies__button:-ms-input-placeholder {
    color: inherit
}

.cookies__button::-ms-input-placeholder {
    color: inherit
}

.cookies__button::placeholder {
    color: inherit
}

.cookies__button:focus,
.cookies__button:hover {
    background-color: #001e3b;
}

.cookies__button:focus,
.cookies__button:hover {
    background-color: #245482;
    color: #fff;
}

.cookies {
    width: 100%;
    max-width: 100%;
    border-radius: 0px;
    bottom: 0;
    justify-content: center;
    left: 0px;
    background: rgb(51, 51, 51);
    color: rgb(255, 255, 255);
    transform: none;
}

p.cookies__desc {
    font-size: 16px;
}

p.cookies__desc a {
    text-decoration: underline !important;
}

.cookies__button {
    border-radius: 5px;
}

@media (max-width: 768px) {
    p.cookies__desc {
        font-size: 14px;
    }
}

@media (max-width: 375px) {
    p.cookies__desc {
        font-size: 12px;
    }
}

p.cookies__desc {
    margin-bottom: 0px;
}

.cookies__button:focus,
.cookies__button:hover {
    background: #ed1c24;
}


/*  */

.sidebar-menu {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-30%);
    transition: all .3s ease-in-out;
    padding-right: 10px;
    z-index: 99;
}

.sidebar-menu-element.pc-hidden {
    display: none;
}

.sidebar-menu-element {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    cursor: pointer;
}

.sidebar-menu-element svg {
    width: 30px;
    height: 30px;
}

.sidebar-menu-element-img {
    width: 50px;
    height: 50px;
    margin: 0px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    background: #00e676;
}

.sidebar-menu-element-text {
    font-size: 13px;
    line-height: 120%;
}

.sidebar-menu-element.tg .sidebar-menu-element-img {
    background: #30a6de;
}

.sidebar-menu-element.call .sidebar-menu-element-img {
    background: #e65100;
}

.sidebar-menu-element.call .sidebar-menu-element-img svg {
    width: 25px;
    height: 25px;
}

.sidebar-menu-element a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sidebar-menu-element:hover {
    opacity: 0.75;
}

.sidebar-menu-element-text {
    padding: 2px;
    background: white;
    border-radius: 5px;
    margin-top: 3px;
}

@media (min-width: 768px) {
    .sidebar-menu-element-img svg path {
        fill: #fff;
    }
}

@media (max-width: 767.98px) {
    .sidebar-menu {
        transform: none;
        top: unset;
        bottom: 0;
        right: unset;
        left: 0;
        padding: 0px;
        background: #fff;
        width: 100%;
    }
    .sidebar-menu-wr {
        display: flex;
        justify-content: space-around;
        border-top: 1px solid;
    }
    .sidebar-menu-element.pc-hidden {
        display: block;
    }
    .sidebar-menu-element-text span {
        display: none;
    }
    .sidebar-menu-element-img {
        width: 30px;
        height: 30px;
        background: transparent !important;
    }
    .sidebar-menu-element {
        margin-top: 5px;
        margin-bottom: 5px;
    }
    .sidebar-menu-element-text {
        line-height: 1;
        font-size: 12px;
    }
    .sidebar-menu-element.call .sidebar-menu-element-img svg {
        width: 25px;
        height: 25px;
    }
    .sidebar-menu-element .sidebar-menu-element-img svg path {
        stroke-width: 1px;
    }
    .sidebar-menu-element:not(.pc-hidden) .sidebar-menu-element-img svg path {
        stroke: white;
        stroke-width: 1px;
    }
    body {
        padding-bottom: 50px;
    }
}

@media (min-width: 768px) {
    .sidebar-menu {
        right: -150px;
        opacity: 0;
        width: 0px;
        overflow: hidden;
    }
    .sidebar-menu.active {
        right: 0px;
        width: 100px;
        opacity: 1;
    }
    .sidebar-menu-element-text {
        transition: all .5s cubic-bezier(0, 1.9, 1, 0.18);
        opacity: 0;
    }
    .active .sidebar-menu-element-text {
        opacity: 1;
    }
}

@media (max-width: 767.98px) {
    .sidebar-menu {
        bottom: -150px;
        opacity: 0;
    }
    .sidebar-menu.active {
        bottom: 0px;
        opacity: 1;
        z-index: 99;
    }
}

.red-text-center {
    text-transform: none;
    color: #000;
    font-weight: 600;
}

.call-before {
    border-radius: 10px;
    box-shadow: -1px 2px 8px 0px #7c7c7c75;
    border: 1px solid #0c4da2;
    background: linear-gradient(45deg, #0c4da20a, #ed1c240d);
    border: none;
}

@media (max-width: 767px) {
    .red-text-center {
        font-size: 16px;
        line-height: 130%;
    }
}

@media (max-width: 767.98px) {
    .header.header_compact .h-phone.mobile-block {
        display: block;
    }
    .header.header_compact .top-block--info.mobile-block {
        display: block;
        order: 3;
    }
    .header.header_compact .header-grid-block {
        flex-wrap: wrap;
        display: flex !important;
    }
    .header.header_compact .bock--logo {
        width: 60px;
    }
    .header.header_compact .h-phone.mobile-block {
        /* width: calc(100% - 100px); */
        padding-right: 30px;
    }
    .header.header_compact span.logo {
        padding: 0px;
        line-height: normal;
        height: 50px;
    }
    .header.header_compact .header-grid-block {
        padding: 0 3px;
    }
    .sidebar-menu {
        bottom: 0px;
        opacity: 1;
    }
    .header.header_compact .h-phone.mobile-block i.fa.fa-phone {
        display: none;
    }
    .header.header_compact .h-adress--text {
        padding: 0 10px;
        font-size: 12px;
    }
    .header.header_compact .h-phone--number a {
        font-size: 14px;
        /* color: #0c4da2; */
    }
    .mobile-menu--block {
        z-index: 11;
    }
    .header.header_compact .h-phone--number {
        gap: 0px;
        flex-direction: column;
    }
    .soc_top {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.soc_top a {
    display: flex;
    width: 25px;
}

}