.mg-container {
    padding: 40px 230px;
    max-width: 1920px;
    margin: 0 auto;
}
@media (max-width: 991px) {
    .mg-container {
        padding: 30px 20px;
    }  
}

.mg-header {
    /* display: grid;
    grid-template-columns: repeat(4, 1fr); */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 60px;
}
@media (max-width: 767px) {
    .mg-header {
        grid-template-columns: repeat(2, 1fr);
    }
}

.mg-logo {

}
@media (max-width: 991px) {
    .mg-logo img {
        max-width: 220px;
    }
}

.mg-header .mg-email,
.mg-header .mg-phone {
    /* align-self: start;
    justify-self: end; */
}

.mg-header .mg-email a,
.mg-header .mg-phone a {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    font-size: 26px;
    line-height: 30px;
    color: #17AECF;
}
@media (max-width: 991px) {
    .mg-header .mg-email a,
    .mg-header .mg-phone a {
        font-size: 14px;
        line-height: 20px;
    }
}
@media (max-width: 767px) {
    .mg-header .mg-email,
    .mg-header .mg-phone {
        display: none;
    }
}

.mg-close {
    cursor: pointer;
    /* align-self: start;
    justify-self: end; */
}
.mg-close span {
    display: inline-block;
}
@media (max-width: 991px) {
    .mg-close img {
        display: inline-block;
        width: 32px;
    }
}
@media (max-width: 767px) {
    .mg-close {
        align-self: center;
    }
}

.mg-menu {
    position: fixed;
    z-index: 99;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #002556;
    overflow-y: scroll;
    transition: all .3s ease;
    opacity: 0;
    visibility: hidden;
}
.mg-menu.view {
    opacity: 1;
    visibility: visible;
}

.mg-row-list {
    columns: 3;
    /* display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px; */
}
@media (max-width: 991px) {
    .mg-row-list {
        /* display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 360px; */
    }
}
@media (max-width: 767px) {
    .mg-row-list {
        columns: auto;
    }
}

.mg-row {}

.mg-row-list .mg-column {
    margin: 0 40px 60px 0;
    page-break-inside: avoid;
    break-inside: avoid;
}
@media (max-width: 991px) {
    .mg-row-list .mg-column {
        margin: 0 0 40px 0;
        page-break-inside: avoid;
        break-inside: avoid;
    }
}
@media (max-width: 767px) {
    .mg-row-list .mg-column {
        margin: 0 0 10px 0;
        page-break-inside: avoid;
        break-inside: avoid;
    }
}


.mg-item {

}
@media (max-width: 767px) {
    .mg-item .mg-item__children {
        display: none;
        margin-bottom: 30px;
    }
}

.mg-item.active .mg-item__children {
    display: block;
}

.mg-item.active .mg-item__toogle svg {
    transform: rotate(180deg);
}

@media (max-width: 767px) {
    .mg-item__title {
        /* display: grid;
        grid-template-columns: 1fr .3fr; */
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
    }
}
.mg-item__title a {
    display: inline-flex;
    font-weight: 500;
    font-size: 33px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #FEFEFE;
    transition: all .3s ease;
    /* margin-bottom: 30px; */
}
.mg-item__title a:hover {
    color: #EF7F1A;
}
@media (max-width: 991px) {
    .mg-item__title a {
        font-size: 20px;
        line-height: 20px;
    }
}
@media (max-width: 767px) {
    .mg-item__title a {
        font-size: 28px;
        line-height: 20px;
    }
}

.mg-item__toogle {
    display: none;
    justify-self: end;
    cursor: pointer;
}
@media (max-width: 767px) {
    .mg-item__toogle {
        display: block;
    }
}

.mg-item__children {
    /* max-height: 198px; */
    /* padding: 0 20px 0 20px; */
    padding-left: 12px;
    min-height: 180px;
    margin-top: 30px;
}
@media (max-width: 991px) {
    .mg-item__children {
        /* max-height: 260px; */
        min-height: auto;
    }
}

.mg-item__children.block-scroll {
    /* overflow-y: scroll; */
    /* max-height: 198px; */
    padding: 0 20px 0 20px;
}
@media (max-width: 991px) {
    .mg-item__children.block-scroll {
        /* max-height: 260px; */
    }
}
.mg-item__children_item {
    margin-bottom: 12px;
}

.mg-item__children_item:last-child {
    margin-bottom: 0;
}

.mg-item__link {
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #FEFEFE;
    transition: all .3s ease;
    position: relative;
}
.mg-item__link:hover {
    color: #EF7F1A;
}
@media (min-width: 768px) {
    .mg-item__link:hover::before {
        content: "";
        width: 6px;
        height: 6px;
        background-color: #EF7F1A;
        border-radius: 50%;
        position: absolute;
        left: -12px;
        top: 5px;
    }
}


.mg-phone small {
    opacity: 1 !important;
}

.mg-item__link.current-page {
    position: relative;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #EF7F1A;
}

.mg-item__link.current-page::before {
    content: "";
    width: 6px;
    height: 6px;
    background-color: #EF7F1A;
    border-radius: 50%;
    position: absolute;
    left: -12px;
    top: 5px;
}

/* .mg-item__children.block-scroll::-webkit-scrollbar-track {
    background: #151f30;
}

.mg-item__children.block-scroll::-webkit-scrollbar-thumb {
    background-color: #17AECF;
    border-radius: 20px;
}

.mg-item__children.block-scroll::-webkit-scrollbar {
    width: 3px;
} */
 
.mg-menu::-webkit-scrollbar-track {
    background: #151f30;
}

.mg-menu::-webkit-scrollbar-thumb {
    background-color: #17AECF;
    border-radius: 20px;
}

.mg-menu::-webkit-scrollbar {
    width: 3px;
}

.mg-footer {
    display: none;
    margin-top: 120px;
}
@media (max-width: 767px) {
    .mg-footer {
        display: block;
    }
}

.mg-footer .mg-btn span[data-popup-open="message"] {
    display: inline-block;
    position: relative;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    text-transform: lowercase;
    color: #FFFFFF;
    background: #F58220;
    padding: 7px 30px 5px 14px;
    border-radius: 1em;
}
.mg-footer .mg-btn span[data-popup-open="message"]::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 12px;
    width: 8px;
    height: 8px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg);
}

.mg-footer-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 30px;
}
.mg-footer-row .mg-column {
    align-self: end;
}

.mg-footer__soc {
    display: flex;
    align-items: flex-end;
    justify-content: end;
}
.mg-footer__soc a {
    display: inline-block;
    padding: 0 10px;
    width: 36px;
    height: 36px;
}

.mg-footer .mg-phone {
    margin-bottom: 10px;
} 

.mg-footer .mg-email a, .mg-footer .mg-phone a {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #17AECF;
} 

@media (max-width: 1339px) {
    .mg-container {
        padding: 30px 20px;
    }    
}
@media (max-width: 767px) {
    .mg-item__title {
        margin-bottom: 30px;
    }
    .mg-item__title a {
        font-weight: 700;
        font-size: 28px;
        line-height: 100%;
        letter-spacing: 0%;
        margin-bottom: 0;
    }
    .mg-item .mg-item__children {
        margin-top: 0;
    }
    .mg-item__link {
        font-weight: 700;
        font-size: 14px;
        line-height: 100%;
        letter-spacing: 0%;
    }
}