﻿

@media screen and  (max-width: 1680px){
    /*28/07/2025*/
    .main-outer #templatePreview {
/*        top: -642px;*/
        overflow: auto;
        min-width: calc(100vw - 658px) !important;
        max-width: calc(100vw - 658px) !important;
        height: 100% !important;
        min-height: 316px !important;
        max-height: 300px !important;
    }


    .main-outer .trackhead-right {
        height: calc(80vh - 100px);
    }
  
    #checkboxContainer .apex-timer-main {
        width: calc(100% - 160px);
        top: 187px;
        left: 44%;
        height: calc(100vh - 260px);
    }

    .apex-timer-screen .column {
        white-space: nowrap;
        height: fit-content;
    }

    #checkboxContainer .apex-timer-screen {
        overflow: auto;
    }

    .main-outer {
        height: 125vh !important;
    }
/*     .timer-widget {
        scale: 0.3;
    }*/
}


@media only screen and (max-width:1400px) {
    .loginFormBox {
        padding: 30px !important;
        left: -130px !important;
    }

    .after-bg::before {
        left: -100px !important;
    }

    .loginFormBox {
        left: -130px !important;
    }

    .loginSec::after {
        width: 400px !important;
    }

   
}

@media only screen and (max-width:1024px) {
    .main-outer {
        height: 100vh !important;
    }
    .main-outer .trackhead-right {
        height: calc(100vh - 195px);
    }

    .body-content {
        height: calc(100vh - 100px);
    }
    .content_box h2 {
        font-size: 56px !important;
    }

    .content_box {
        justify-content: center !important;
        padding: 0px !important;
    }

    .after-bg::before {
        left: 30px !important;
        top: -160px !important;
        height: 530px !important;
    }

    .main-row {
        flex-direction: column !important;
    }

    .loginSec::after {
        display: none !important;
    }

    .left-content {
        height: 100% !important;
        FLEX: 0 !important;
        margin-top: 30px !important;
    }

    .right-content {
        flex: 0 !important;
        margin-top: 0px !important;
    }

    .loginFormBox {
        left: 0 !important;
        top: 100px !important;
    }
    .track-head-outer{
        margin-top: 80px;
    }
    .main-outer .trackhead-right {
        height: calc(100vh - 275px);
    }
    .main-outer #templatePreview {
        min-width: calc(100vw - 590px) !important;
        max-width: calc(100vw - 570px) !important;
        left: -60px;
        min-height: 450px !important;
        max-height: 510px !important;
    }
    #checkboxContainer .apex-timer-main {
        width: calc(100% - 220px);
        top: 261px;
        height: calc(100vh - 380px);
    }
    .main-outer .templatepreview-outer {
        top: 230px;
    }
}
@media only screen and (max-width: 820px) {
    .main-outer #templatePreview {
        min-width: calc(100vw - 500px) !important;
        max-width: calc(100vw - 380px) !important;
        left: -30px;
    }
 
} 


@media only screen and (max-width:768px) {
    .left-content {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 !important;
        margin-top: 25px !important;
    }

    .content_box {
        height: 80% !important;
    }

        .content_box h2 {
            font-size: 46px !important;
        }

        .content_box h4 {
            font-size: 22px !important;
        }


    .loginFormBox {
        width: 440px !important;
        padding: 26px 36px !important;
        margin-bottom: 0 !important;
        top: 240px !important;
    }

    .left-content {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: unset !important;
        margin-top: 25px !important;
    }

    .content_box {
        height: 80% !important;
        justify-content: start !important;
    }

    .after-bg::before {
        left: 30px !important;
        top: 0 !important;
        height: 480px !important;
        width: 440px !important;
    }
   
    .body-content{
        height: calc(100vh - 150px);
    }
}

@media only screen and (max-width:550px) {

    .loginSec::before {
        display: none !important;
    }

    .content_box h2 {
        font-size: 40px !important;
    }

    .left-content {
        margin-top: 0 !important;
        margin-bottom: 20px !important;
    }

    .loginFormBox {
        width: 380px !important;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px !important;
        padding: 20px !important;
        top: 0 !important;
    }

    .after-bg::before {
        display: none !important;
    }

    .main-row {
        justify-content: center !important;
    }

    .sidebar.shrink {
        width: 0px;
    }

        .sidebar.shrink .sidebar-logo {
            display: none;
        }

    .header.add {
        margin-left: 0px;
        width: 100%;
    }

    .body-content.add {
        width: 100%;
        margin-left: 0px;
    }

    .sidebar.shrink ul li.active a, .sidebar.shrink ul li a {
        display: none !important;
    }

    .cstm-cross {
        display: block;
    }

    .header, .body-content {
        width: 100%;
        margin-left: 0px;
    }

    .cstm-cross i {
        width: 30px;
        height: 30px;
        background: white;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50px;
        position: absolute;
        right: 13px;
        top: 10px;
    }

    .cstm-table-outer {
        overflow: auto;
    }

        .cstm-table-outer table tr th {
            min-width: 150px !important
        }
    .track-head-outer{
        overflow: auto
    }
    .main-outer .trackhead-right {
        height: calc(100vh - 395px);
    }
    .main-outer #templatePreview {
        min-width: calc(100vw - 330px) !important;
        max-width: calc(100vw - 290px) !important;
        left: -60px;
        min-height: 430px !important;
        max-height: 450px !important;
    }
        #checkboxContainer .apex-timer-main {
        width: calc(100% - 110px);
        top: 361px;
        height: calc(100vh - 380px);
        left: 34%;
    }
    .apex-timer-screen .column{
        width: fit-content !important;
    }
    .main-outer .templatepreview-outer {
        top: 332px;
    }
}

@media (max-width: 991px) {
    .m-body-content {
        width: 100% !important;
        margin-left: 0 !important;
    }

    .m-sidebar {
        width: 0 !important;
        margin-top: 60px;
    }

    .sidebar {
        margin-top: 60px;
    }

    .m-header {
        margin-left: 0 !important;
    }

    .header {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .m-listing-outer {
        display: none !important;
    }

    .m-sidebar-logo {
        display: none !important;
    }

    .card_box {
        width: calc(100% /2 - (2 * 20px / 2)) !important;
    }
}

@media (max-width:767px) {
    .profile-input.mt {
        margin-top: 40px;
    }

    .card_box {
        width: calc(100% /1 - (1 * 20px / 1)) !important;
    }
}

@media (min-width: 992px) {
    button.btn_sidebar_menu {
        display: none;
    }
}
