/*** New style for new UI ***/
:root {
    --text_color: #767483;
    --startlit_navy: #000A51;
    --electric_cobalt: #0A65E5;
    --luminous_fibre: #FF7B31;
    --vapor_blue: #73C0FF;
    --gas: #EC1414;
    --white: #ffffff;
    --green: #18B234;
    --light: #F3F3F9;
    --stroke: #DEE2E6;
    --primary_font: "Poppins", serif;
    --kt-toolbar-height: 42px;
    --kt-toolbar-height-tablet-and-mobile: 42px;
    --bs-gutter-y: 2rem;
    /* triangle dimension */
    --b: 2em;
    /* base */
    --h: 1em;
    /* height */
    --p: 50%;
    /* triangle position (0%:left 100%:right) */
    --r: 1.2em;
    /* the radius */
    --c: var(--luminous_fibre);
}
.back-icon span{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    border: 1px solid #fff;
    border-radius: 50%;
    transform: rotate(180deg);
    color: var(--white);
    font-size: 16px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.aside-show .back-icon span{
    transform: rotate(0deg);
}
.burger-icon {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: none;
    border: none;
    cursor: pointer;
    background-color: transparent;
    outline: none !important;
    margin: 0;
    padding: 0;
    display: inline-block;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    font-size: 0;
    text-indent: -9999px;
    appearance: none;
    box-shadow: none;
    border-radius: none;
    border: none;
    cursor: pointer;
    background-color: none;
    outline: none !important;
    width: 24px;
    height: 24px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.burger-icon span {
    display: block;
    position: absolute;
    border-radius: 3px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    top: 10px;
    height: 3px;
    min-height: 3px;
    width: 100%;
}

.burger-icon span::before,
.burger-icon span::after {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 3px;
    min-height: 3px;
    content: "";
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    border-radius: 3px;
}

.burger-icon span::before {
    top: -8px;
}

.burger-icon span::after {
    bottom: -8px;
}

.burger-icon-left span:before {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    left: auto;
    right: 0px;
    width: 50%;
}

.burger-icon-left span:after {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    left: auto;
    right: 0px;
    width: 75%;
}

.burger-icon-left-active span:before {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    left: 0px;
    right: auto;
    width: 50%;
}

.burger-icon-left-active span:after {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    left: 0px;
    right: auto;
    width: 75%;
}

.burger-icon-right span:before {
    left: 0px;
    right: auto;
    width: 50%;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.burger-icon-right span:after {
    left: 0px;
    right: auto;
    width: 75%;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.burger-icon-right-active span:before {
    left: auto;
    right: 0px;
    width: 50%;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.burger-icon-right-active span:after {
    left: auto;
    right: 0px;
    width: 75%;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.burger-icon span {
    background-color: #B5B5C3;
}

.burger-icon span::before,
.burger-icon span::after {
    background-color: #B5B5C3;
}

.burger-icon:hover span {
    background-color: #3699FF;
}

.burger-icon:hover span::before,
.burger-icon:hover span::after {
    background-color: #3699FF;
}

.burger-icon-active span {
    background-color: #3699FF;
}

.burger-icon-active span::before,
.burger-icon-active span::after {
    background-color: #3699FF;
}

.hide-desktop {
    display: none !important;
}

.hide-mobile {
    display: block !important;
}

/*** Small Screen ***/
@media (max-width: 1199px) {
    .aside-enabled.aside-fixed.header-fixed .header {
        left: 0;
        z-index: 1000;
        border-bottom: 1px solid #DEE2E6;
    }

    .aside .aside-menu {
        padding-top: 5px;
    }

    .content .card.card-custom .nav-tabs .nav-item button {
        padding: 10px;
    }

    .message-box-card .card-body .message .time {
        font-size: 10px;
    }
}

/*** Tablet Screen ***/
@media (max-width: 1023px) {
    .hide-desktop {
        display: block !important;
    }

    .hide-mobile {
        display: none !important;
    }

    .card {
        margin-bottom: 10px;
    }

    .content .card.card-custom.card-xxl-stretch.annoucement-box-card {
        height: auto;
    }

    .userPlan,
    .annoucement-box-card {
        margin-bottom: 15px;
    }



    .auth_box_wrapper {
        width: 90%;
    }

    .auth_box .col_half.right {
        display: none;
    }

    .auth_box.signup .i_m_flex_container {
        flex-wrap: wrap;
    }

    .auth_box.signup .i_m_flex_container .form-check-inline {
        flex-basis: 40%;
    }

    .aside.aside-dark {
        background-color: #000A51;
    }

    .aside.aside-dark {
        position: fixed;
        max-width: 295px;
        width: 100%;
        height: 100%;
        z-index: 10000;
        top: 0;
        left: -295px;
    }

    #kt_header {
        background-color: #fff;
    }

    .header-mobile {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        padding: 0 15px;
        height: 55px;
        min-height: 55px;
        position: relative;
        z-index: 1002;
    }

    .header-mobile {
        background-color: #000A51;
    }

    .header-mobile-fixed .header-mobile {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 97;
        height: 55px;
        min-height: 55px;
    }

    .header-menu-wrapper {
        z-index: 1001;
        position: fixed;
        top: 0;
        bottom: 0;
        -webkit-transition: left 0.3s ease, right 0.3s ease, bottom 0.3s ease, top 0.3s ease;
        transition: left 0.3s ease, right 0.3s ease, bottom 0.3s ease, top 0.3s ease;
        left: -395px;
        width: 375px;
    }

    .header-menu-wrapper {
        background: #ffffff;
        -webkit-box-shadow: 0px 1px 9px -3px rgba(0, 0, 0, 0.75);
        box-shadow: 0px 1px 9px -3px rgba(0, 0, 0, 0.75);
    }

    .header-menu-wrapper {
        overflow: auto;
    }

    .topbar {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
        padding: 0 15px;
        height: 50px;
        background-color: #ffffff;
        -webkit-box-shadow: 0px 1px 9px -3px rgba(0, 0, 0, 0.1);
        box-shadow: 0px 1px 9px -3px rgba(0, 0, 0, 0.1);
        border-top: 1px solid transparent;
    }

    .topbar {
        background-color: #ffffff;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    .header-mobile-fixed .topbar {
        position: fixed;
        z-index: 96;
    }

    #kt_content_container {
        /* padding-top: 15px; */
    }

    .content .card.card-custom .nav-tabs .nav-item button {
        padding: 10px;
    }

    .chat-window2 {
        width: 96%;
        right: 2%;
    }

    #kt_body.aside-show .aside.aside-dark,
    #kt_body.topbar-enabled #kt_header .header-menu-wrapper {
        left: 0;

    }

    #kt_body.aside-show .header-mobile,
    #kt_body.aside-show .page .wrapper {
        left: 295px;
    }

    #kt_body.topbar-enabled #kt_header .header-menu-wrapper {
        padding-top: 15px;
        padding-left: 15px;
        padding-right: 15px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .aside-menu-wrapper {
        padding: 0;
    }

    .aside-logo {
        padding: 15px;
    }

    .aside-menu-wrapper .menu-column {
        border-radius: 0;
    }

    .aside-footer {
        background-color: #000A51;
    }

    .chat-bar-open {
        bottom: 20px;
        right: 20px;
    }

    .header-fixed .header .header-wrapper {
        display: flex;
        justify-content: start;
        align-items: start;
        flex-direction: column;
    }

    .cart .item-icons i {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        width: 40px;
        border-radius: 55px;
        font-size: 18px;
        background: var(--light);
        color: var(--text_color);
    }

    .dropdown-wrapper.profile {
        padding: 0 15px;
    }

    .dropdown-toggle::after {
        border-top: .3em solid #fff;
    }

    .aside-enabled.aside-fixed .wrapper {
        padding-left: 0;
        padding-top: 0;
    }

    .aside-enabled.aside-fixed.toolbar-fixed .toolbar {
        left: 0;
        top: 0;
        position: relative;
    }

    .content {
        padding: 0;
    }
}

/*** Mobile Screen ***/
@media (max-width: 767px) {
    /*** 6 May ***/

    .hide-desktop {
        display: block !important;
    }

    .hide-mobile {
        display: none !important;
    }

    .userPlan,
    .annoucement-box-card {
        margin-bottom: 15px;
    }

    .content .card.card-custom.card-xxl-stretch {
        height: auto;
    }

    .auth_box_wrapper {
        width: 90%;
    }

    .auth_box .col_half.right {
        display: none;
    }

    .auth_box.signup .i_m_flex_container {
        flex-wrap: wrap;
    }

    .auth_box.signup .i_m_flex_container .form-check-inline {
        flex-basis: 40%;
    }

    .aside.aside-dark {
        background-color: #000A51;
    }

    .aside.aside-dark {
        position: fixed;
        max-width: 295px;
        width: 100%;
        height: 100%;
        z-index: 10000;
        top: 0;
        left: -295px;
    }

    #kt_header {
        background-color: #fff;
    }

    .header-mobile {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        padding: 0 15px;
        height: 55px;
        min-height: 55px;
        position: relative;
        z-index: 1002;
    }

    .header-mobile {
        background-color: #000A51;
    }

    .header-mobile-fixed .header-mobile {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 97;
        height: 55px;
        min-height: 55px;
    }

    .header-menu-wrapper {
        z-index: 1001;
        position: fixed;
        top: 0;
        bottom: 0;
        -webkit-transition: left 0.3s ease, right 0.3s ease, bottom 0.3s ease, top 0.3s ease;
        transition: left 0.3s ease, right 0.3s ease, bottom 0.3s ease, top 0.3s ease;
        left: -395px;
        width: 375px;
    }

    .header-menu-wrapper {
        background: #ffffff;
        -webkit-box-shadow: 0px 1px 9px -3px rgba(0, 0, 0, 0.75);
        box-shadow: 0px 1px 9px -3px rgba(0, 0, 0, 0.75);
    }

    .header-menu-wrapper {
        overflow: auto;
    }

    .topbar {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
        padding: 0 15px;
        height: 50px;
        background-color: #ffffff;
        -webkit-box-shadow: 0px 1px 9px -3px rgba(0, 0, 0, 0.1);
        box-shadow: 0px 1px 9px -3px rgba(0, 0, 0, 0.1);
        border-top: 1px solid transparent;
    }

    .topbar {
        background-color: #ffffff;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    .header-mobile-fixed .topbar {
        position: fixed;
        z-index: 96;
    }

    #kt_content_container .userPlan {
        margin-top: 15px;
    }
    
    .content .card.card-custom .nav-tabs .nav-item button {
        padding: 10px 25px;
    }

    .chat-window2 {
        width: 96%;
        right: 2%;
    }

    #kt_body.aside-show .aside.aside-dark,
    #kt_body.topbar-enabled #kt_header .header-menu-wrapper {
        left: 0;

    }

    #kt_body.aside-show .header-mobile,
    #kt_body.aside-show .page .wrapper {
        left: 295px;
    }

    #kt_body.topbar-enabled #kt_header .header-menu-wrapper {
        padding-top: 75px;
        padding-left: 15px;
        padding-right: 15px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .aside-menu-wrapper {
        padding: 0;
    }

    .aside-logo {
        padding: 15px;
    }

    .aside-menu-wrapper .menu-column {
        border-radius: 0;
    }

    .aside-footer {
        background-color: #000A51;
    }

    .chat-bar-open {
        bottom: 20px;
        right: 20px;
    }

    .header-fixed .header .header-wrapper {
        display: flex;
        justify-content: start;
        align-items: start;
        flex-direction: column;
    }

    .cart .item-icons i {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        width: 40px;
        border-radius: 55px;
        font-size: 18px;
        background: var(--light);
        color: var(--text_color);
    }

    .dropdown-wrapper.profile {
        padding: 0 15px;
    }

    .dropdown-toggle::after {
        border-top: .3em solid #fff;
    }

    .header-wrapper .dropdown-wrapper.centric-search {
        flex-direction: column;
    }

    .dropdown-choose-wrapper.location,
    .dropdown-choose-wrapper.phone,
    .dropdown-choose-wrapper.email {
        width: 100%;
    }
    #kt_toolbar_container{
        padding: 0;
    }
    .toolbar .topbar {
        position: relative;
        padding: 0;
    }
    .toolbar .toolbar-left{
        flex-direction: column;
        align-items: flex-start;
        gap: 0px;
    }
    .toolbar .toolbar-left span{
        display: none;
    }
    .toolbar .toolbar-left .page-title{
        font-size: 15px;
    }
    .card-body-content .card-body{
        flex-direction: column;
        padding: 0 !important;
    }
    .card-body-content .card-body .card-body-item{
        border-right: 0;
        border-bottom: 1px solid var(--stroke);
        padding: 10px;
    }
    .card-body-content .card-body .card-body-item:first-child,
    .card-body-content .card-body .card-body-item:last-child{
        padding: 10px;
    }
    .toolbar{
        border-bottom: 1px solid var(--stroke);
    }
    .content .card.card-custom.card-xxl-stretch.payment-card{
        margin-bottom: 0;
    }
    .content .subAccounts .card.card-custom.card-xxl-stretch.payment-card .card-body{
        padding: 0;
    }
    .content .subAccounts .search-box,
    .content .manageContacts .search-box{
        position: absolute;
        top: 120px;
        left: 0;
        background: #fff;
        width: 100%;
        padding: 5px;
        border-bottom: 1px solid var(--stroke);
        z-index: 999;
        display: flex;
        gap: 5px;
    }
    .custom-search{
        min-width: 1px;
        margin-top: 0;
        height: 40px;
        border-radius: 4px;
        flex: 1;
    }
    .custom-search .input-group .form-control,
    .with_hr_tabs .btn.btn-custom,
    .card-header .btn.btn-custom.electric_cobalt.min-h-55px{
        min-height: 1px !important;
        height: 40px;
        border-radius: 0.375rem;
    }
    .subAccounts,
    .manageContacts{
        padding-top: 50px;
    }
    .content .card.card-custom.subAccount-cards .card-header{
        padding: 0;
    }
    .content .card.card-custom .card-content{
        font-size: 11px;
        color: var(--text_color);
    }
    .content .card.card-custom .card-content span{
        font-size: 13px;
        color: var(--startlit_navy);
        display: block;
    }
    .content .card.card-custom .card-area-left{
        max-width: 25%;
        flex: 1;
        padding: 5px;
    }
    .content .card.card-custom .card-area-center{
        max-width: calc(100% - 25% - 10%);
        flex: 1;
        padding: 5px;
        border-left: 1px solid var(--stroke);
        border-right: 1px solid var(--stroke);
    }
    .content .card.card-custom .card-area-center .card-area-center-down{
        border-top: 1px solid var(--stroke);
        padding: 5px 0;
    }
    .content .card.card-custom .card-area-center .card-area-center-down span.badge{
        font-size: 11px;
        font-weight: 500;
        color: var(--white);
    }
    
    .content .card.card-custom .card-area-right{
        max-width: 10%;
        flex: 1;
        text-align: end;
        padding: 5px;
    }
    .have-pagination .min-h-100{
        /* min-height: calc(100vh - 55px - 64px - 52px); */
    }
    .content .user-card.card.card-custom .card-header{
        gap: 5px;
    }
    .card.card-custom>.card-header .card-toolbar{
        margin: 0;
    }
    .content .user-card.card.card-custom .card-header{
        align-items: center;
    }
    .card-header .card-title .card-label{
        font-size: 1.275rem;
    }
    .content .card.card-custom .user-mobile-card-body .card-area-left,
    .content .card.card-custom .user-mobile-card-body .card-area-right{
        max-width: 100%;
    }
    .content .card.card-custom .card-header{
        min-height: 1px;
    }
    .content .card.card-custom .card-body h3{
        font-size: 16px;
    }
    .form-check .form-check-label{
        margin-top: 2px;
    }
    .post{
        padding-top: 10px;
    }
    .btn-box > div{
        display: flex;
        gap: 5px;
    }
    .btn-box > div .btn{
        flex: 1;
    }
    .dropdown-toggle::after{
        border-top: .3em solid var(--text_color);
    }
    .accordian-title{
        font-size: 18px;
    }
    .content .card.card-custom.service-card .card-body .quick-main-services .col-with-border.accounts{
        margin-bottom: 10px;
    }
    .flex-xs-column{
        flex-direction: column;
    }
    .content .card.card-custom.request-card .card-header .nav-tabs li{
        flex: 1;
    }
    .content .card.card-custom.request-card .card-header .nav-tabs .nav-item button{
        padding: 10px 10px;
    }
    .chat-window{
        bottom: 90px;
    }
    .chat-bar-close{
        bottom: 10px;
    }
    .chat-window2{
        height: auto;
    }
    .chat-window2 .chat-box-header{
        padding: 10px;
    }
    .chat-window2 .chat-box-header .heading{
        margin-bottom: 5px;
    }
    .chat-window2 .chat-box-footer{
        padding: 10px;
        gap: 2px;
    }
    .chat-box-content{
        max-height: 360px !important;
    }
    .header-mobile{
        display: flex;
    }
}