/* =====================================================
   CABLETECH MOBILE MENU
===================================================== */

.ct-mobile-menu-btn {

    display: none;

    width: 48px;
    height: 48px;

    padding: 0;

    border: 0;

    background: #ff0000;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

    cursor: pointer;

    z-index: 9990;

}


.ct-mobile-menu-btn span {

    display: block;

    width: 22px;
    height: 2px;

    background: #fff;

    transition: .3s ease;

}


/* =====================================================
   OVERLAY
===================================================== */

.ct-mobile-overlay {

    position: fixed;

    inset: 0;

    z-index: 9998;

    background:
        rgba(
            7,
            14,
            19,
            .72
        );

    opacity: 0;

    visibility: hidden;

    transition:
        opacity .35s ease,
        visibility .35s ease;

}


.ct-mobile-overlay.active {

    opacity: 1;

    visibility: visible;

}


/* =====================================================
   MOBILE DRAWER
===================================================== */

.ct-mobile-menu {

    position: fixed;

    top: 0;
    right: 0;

    z-index: 9999;

    width: 390px;

    max-width: 90vw;

    height: 100vh;

    background: #fff;

    overflow-y: auto;

    transform:
        translateX(100%);

    transition:
        transform .45s
        cubic-bezier(
            .77,
            0,
            .175,
            1
        );

    box-shadow:
        -15px 0 50px
        rgba(
            0,
            0,
            0,
            .18
        );

}


.ct-mobile-menu.active {

    transform:
        translateX(0);

}


/* =====================================================
   HEADER
===================================================== */

.ct-mobile-menu-header {

    min-height: 92px;

    padding:
        20px 24px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom:
        1px solid #e8e8e8;

}


.ct-mobile-logo {

    display: inline-flex;

    align-items: center;

}


.ct-mobile-logo img {

    display: block;

    max-width: 175px;

    max-height: 58px;

    object-fit: contain;

}


/* =====================================================
   CLOSE BUTTON
===================================================== */

.ct-mobile-close {

    width: 45px;
    height: 45px;

    position: relative;

    border: 0;

    background: #f3f3f3;

    cursor: pointer;

    transition: .3s ease;

}


.ct-mobile-close:hover {

    background: #ff0000;

}


.ct-mobile-close span {

    position: absolute;

    left: 11px;

    top: 21px;

    width: 23px;

    height: 2px;

    background: #111;

    transition: .3s ease;

}


.ct-mobile-close span:first-child {

    transform:
        rotate(45deg);

}


.ct-mobile-close span:last-child {

    transform:
        rotate(-45deg);

}


.ct-mobile-close:hover span {

    background: #fff;

}


/* =====================================================
   NAV
===================================================== */

.ct-mobile-nav {

    padding:
        10px 24px 25px;

}


/* =====================================================
   MAIN ITEM
===================================================== */

.ct-mobile-item {

    border-bottom:
        1px solid #e8e8e8;

}


.ct-mobile-item > a {

    display: flex;

    align-items: center;

    min-height: 58px;

    padding: 0 4px;

    color: #172027;

    text-decoration: none;

    font-family:
        "Barlow",
        sans-serif;

    font-size: 16px;

    font-weight: 600;

    transition: .3s ease;

}


.ct-mobile-item > a:hover {

    color: #ff0000;

    padding-left: 10px;

}


/* =====================================================
   SUBMENU BUTTON
===================================================== */

.ct-mobile-submenu-btn {

    width: 100%;

    min-height: 58px;

    padding: 0 4px;

    border: 0;

    background: transparent;

    display: flex;

    align-items: center;

    justify-content: space-between;

    color: #172027;

    font-family:
        "Barlow",
        sans-serif;

    font-size: 16px;

    font-weight: 600;

    text-align: left;

    cursor: pointer;

}


.ct-mobile-submenu-btn i {

    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #222;

    font-size: 18px;

    transition:
        transform .35s ease,
        color .3s ease;

}


.ct-mobile-item.open
.ct-mobile-submenu-btn {

    color: #ff0000;

}


.ct-mobile-item.open
.ct-mobile-submenu-btn i {

    transform:
        rotate(45deg);

    color: #ff0000;

}


/* =====================================================
   SUBMENU
===================================================== */

.ct-mobile-submenu {

    max-height: 0;

    overflow: hidden;

    opacity: 0;

    transition:
        max-height .4s ease,
        opacity .3s ease;

    background: #f7f7f7;

}


.ct-mobile-item.open
.ct-mobile-submenu {

    max-height: 1000px;

    opacity: 1;

}


.ct-mobile-submenu a {

    position: relative;

    display: flex;

    align-items: center;

    min-height: 46px;

    padding:
        0 15px 0 25px;

    color: #5d656b;

    text-decoration: none;

    font-family:
        "Barlow",
        sans-serif;

    font-size: 14px;

    border-bottom:
        1px solid #e7e7e7;

    transition:
        background .3s ease,
        color .3s ease,
        padding .3s ease;

}


.ct-mobile-submenu a::before {

    content: "";

    width: 5px;
    height: 5px;

    margin-right: 10px;

    border-radius: 50%;

    background: #ff0000;

    opacity: .7;

}


.ct-mobile-submenu a:hover {

    padding-left: 32px;

    color: #ff0000;

    background: #fff;

}


.ct-mobile-submenu a:last-child {

    border-bottom: 0;

}


/* =====================================================
   FOOTER
===================================================== */

.ct-mobile-footer {

    padding:
        25px 24px 35px;

    background: #111c22;

}


/* =====================================================
   QUOTE
===================================================== */

.ct-mobile-quote {

    width: 100%;

    min-height: 55px;

    padding: 0 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: #ff0000;

    color: #fff;

    text-decoration: none;

    font-family:
        "Barlow Condensed",
        sans-serif;

    font-size: 19px;

    font-weight: 700;

    text-transform: uppercase;

    transition: .3s ease;

}


.ct-mobile-quote:hover {

    color: #fff;

    background: #d90000;

}


.ct-mobile-quote i {

    font-size: 18px;

}


/* =====================================================
   CONTACT
===================================================== */

.ct-mobile-contact {

    display: flex;

    flex-direction: column;

    gap: 12px;

    margin-top: 25px;

}


.ct-mobile-contact a {

    display: flex;

    align-items: center;

    gap: 10px;

    color: #bfc7cb;

    text-decoration: none;

    font-size: 13px;

}


.ct-mobile-contact a i {

    color: #ff0000;

    font-size: 15px;

}


.ct-mobile-contact a:hover {

    color: #fff;

}


/* =====================================================
   SOCIAL
===================================================== */

.ct-mobile-social {

    display: flex;

    gap: 9px;

    margin-top: 22px;

}


.ct-mobile-social a {

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        rgba(
            255,
            255,
            255,
            .08
        );

    color: #fff;

    text-decoration: none;

    transition: .3s ease;

}


.ct-mobile-social a:hover {

    background: #ff0000;

    transform:
        translateY(-3px);

}


/* =====================================================
   BODY LOCK
===================================================== */

body.ct-mobile-open {

    overflow: hidden;

}


/* =====================================================
   MOBILE BREAKPOINT
===================================================== */

@media (max-width: 991px) {

    .ct-mobile-menu-btn {

        display: flex;

    }

}


@media (min-width: 992px) {

    .ct-mobile-menu,
    .ct-mobile-overlay {

        display: none !important;

    }

}


@media (max-width: 480px) {

    .ct-mobile-menu {

        width: 100%;

        max-width: 100%;

    }


    .ct-mobile-menu-header {

        padding:
            18px 20px;

    }


    .ct-mobile-nav {

        padding:
            8px 20px 20px;

    }


    .ct-mobile-footer {

        padding:
            22px 20px 30px;

    }

}