/*responsive section css start*/
@media only screen and (min-width: 992px) and (max-width: 1200px) {
    #ul_allReferralsActiveByUsers li {
        font-size: 0.6rem !important;
    }
}
@media only screen and (min-width: 992px) and (max-width: 1040px) {
    .sidebar-nav .metismenu a {
        font-size: 14px;
    }
    
}
@media screen and (min-width: 992px) {
    .mx-custom-lg-auto {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    /* .AddEllipsis {
        margin-bottom: -2% !important;
    }*/
    .grid-row {
        display: grid;
        grid-template-columns: repeat(3, 33%);
        grid-gap: 1%;
        justify-content:center;
    }
    .grid-row-2 {
        display: grid;
        grid-template-columns: repeat(4, 24%);
        grid-gap: 1%;
    }
    .tabl-hover-custom {
        width: 500px;
    }
}

@media only screen and (min-width: 768px) {
    .date-form-group {
        width: 50% !important;
    }
    .w-sm-25 {
        width: 25% !important;
    }
}

@media only screen and (max-width: 1200px) {
    .grid-responsive-custom {
        height: 100% !important;
    }

        .grid-responsive-custom > .grid-stack-item[gs-w="2"] {
            width: 24.5% !important;
            min-width: 24.5% !important;
            display: inline-block !important;
            position: unset !important;
            margin-bottom: 10px !important;
            padding-left: 5px;
        }

            .grid-responsive-custom > .grid-stack-item[gs-w="2"]:last-child {
                margin-bottom: 0 !important;
            }

        .grid-responsive-custom > .grid-stack-item > .grid-stack-item-content {
            position: unset !important;
            display: flex !important;
            width: 100% !important;
            height: 100%;
        }

        .grid-responsive-custom > .grid-stack-item-content .cards-sutom-custom {
            width: 100% !important;
        }
}
@media only screen and (max-width: 992px) {
    /*responsive section css end*/
    .top-header .sidebar-nav .metismenu > li {
        padding-bottom: 5px;
        width: 100%;
        text-align: start;
    }

    .grid-row {
        display: grid;
        grid-template-columns: repeat(2, 49%);
        grid-gap: 1%;
    }

    .grid-row-2 {
        display: grid;
        grid-template-columns: repeat(3, 33%);
        grid-gap: 1%;
    }


    .top-header .sidebar-nav .metismenu > li ul {
        width: 100% !important;
    }
    /* .table-responsive-lg {
    overflow: auto !important;
}*/

    #drpdwn li a {
        padding-left: 25px
    }
    /* .navbar-brand {
    transform: translate(16px, 10px);
}*/
    .tabl-hover-custom {
        width: 100%;
        top: 100%;
    }
    /* .grid-responsive-custom.grid-stack-1 {
    display: flex !important;
}*/
    .grid-responsive-custom.grid-stack-1 {
        height: 100% !important;
    }

        .grid-responsive-custom.grid-stack-1 > .grid-stack-item[gs-w="1"] {
            width: 33% !important;
            min-width: 33% !important;
            display: inline-block !important;
            position: unset !important;
            margin-bottom: 10px !important;
            padding-left: 5px;
        }

            .grid-responsive-custom.grid-stack-1 > .grid-stack-item[gs-w="1"]:last-child {
                margin-bottom: 0 !important;
            }

        .grid-responsive-custom.grid-stack-1 > .grid-stack-item > .grid-stack-item-content {
            position: unset !important;
            display: flex !important;
            width: 100% !important;
            height: 100%;
        }

            .grid-responsive-custom.grid-stack-1 > .grid-stack-item > .grid-stack-item-content .cards-sutom-custom {
                width: 100% !important;
            }
        .dynamic-grid {
            grid-template-columns: repeat(1, 1fr) !important;
        }

        .dynamic-grid > div {
            grid-column: span 12 !important;
        }
        
}

@media only screen and (max-width: 767px) {
    .date-form-group {
        width: 100% !important;
    }

    .flex-gap {
        gap: 10px;
    }

    .grid-row-2 {
        grid-template-columns: repeat(1, 99.99%);
    }

    .grid-row {
        grid-template-columns: repeat(1, 99.99%);
    }

    .grid-responsive-custom.grid-stack-1 > .grid-stack-item[gs-w="1"] {
        width: 49.6% !important;
        min-width: 49.6% !important;
    }
    .modal.show .modal-dialog[style] {
        max-width: 92% !important;
    }

}

@media only screen and (max-width: 575px) {
    .btn-top-fix {
        top: 150px;
        margin-top: 22px;
    }

    /*responsive section css end*/
    .your-element {
        margin-top: calc(70px + 5rem) !important;
    }

    #HoverableSideNavigation {
        top: calc(5rem + 5px) !important;
    }

    .btn-top-fix-reponsive {
        top: 160px !important;
    }

    .border-smx-bottom {
        border-bottom: 2px solid #ffff !important;
    }

    .grid-responsive-custom.grid-stack-1 > .grid-stack-item[gs-w="1"] {
        width: 100% !important;
        min-width: 100% !important;
    }
    .d-grid-responsive-refral .selected-card {
        border-bottom: 3px solid !important;
       
    }

    .d-grid-responsive-refral {
        display: grid;
        border-bottom: 0 !important;
        grid-template-columns: repeat(2, 50%);
        line-height: 0.5 !important;
    }
    .d-grid-responsive-refral > :last-child {
        grid-column: 1 / -1;
    }
   
}

@media(max-width: 510px) {
    .w-47per {
        width: 46% !important;
    }

    .w-100per {
        width: 96.5% !important;
    }
}
@media(max-width: 380px) {
    .w-100per {
        width: 98% !important;
    }
}


@media only screen and (max-width: 676px) {
    .view-height {
        max-height: calc(100vh - 10vh);
        overflow-y: auto;
    }
}

@media(min-width: 480px) {
    .flex-xs-row {
        flex-direction: row !important;
    }
}

@media (min-width: 300px) {
    .w-10pre {
        width: 20%;
    }
}

@media (min-width: 576px) {
    .overflow-sm-auto {
        overflow: auto !important;
    }

    .overflow-sm-y-auto {
        overflow-y: auto !important;
    }

    .overflow-sm-x-auto {
        overflow-x: auto !important;
    }

    .overflow-sm-x-hidden {
        overflow-x: hidden !important;
    }

    .overflow-sm-y-hidden {
        overflow-y: hidden !important;
    }

    .overflow-sm-hidden {
        overflow: hidden !important;
    }

    .w-10pre {
        width: 12%;
    }

    .w-sm-auto {
        width: auto !important;
    }
    .d-grid-responsive-refral {
        border-bottom: 3px solid !important;
        grid-template-columns: repeat(5, 20%);
    }
}

@media (min-width: 768px) {
    .overflow-md-auto {
        overflow: auto !important;
    }

    .overflow-md-y-auto {
        overflow-y: auto !important;
    }

    .overflow-md-x-auto {
        overflow-x: auto !important;
    }

    .overflow-md-x-hidden {
        overflow-x: hidden !important;
    }

    .overflow-md-y-hidden {
        overflow-y: hidden !important;
    }

    .overflow-md-hidden {
        overflow: hidden !important;
    }
}

@media (min-width: 992px) {
    .overflow-lg-auto {
        overflow: auto !important;
    }

    .overflow-lg-y-auto {
        overflow-y: auto !important;
    }

    .overflow-lg-x-auto {
        overflow-x: auto !important;
    }

    .overflow-lg-x-hidden {
        overflow-x: hidden !important;
    }

    .overflow-lg-y-hidden {
        overflow-y: hidden !important;
    }

    .overflow-lg-hidden {
        overflow: hidden !important;
    }
}

@media (min-width:1200px) {
    .overflow-xl-auto {
        overflow: auto !important;
    }

    .overflow-xl-y-auto {
        overflow-y: auto !important;
    }

    .overflow-xl-x-auto {
        overflow-x: auto !important;
    }

    .overflow-xl-x-hidden {
        overflow-x: hidden !important;
    }

    .overflow-xl-y-hidden {
        overflow-y: hidden !important;
    }

    .overflow-xl-hidden {
        overflow: hidden !important;
    }
}

@media only screen and (min-width: 1700px) {
        label {
            /*font-weight: 600;*/
            font-size: 14px !important;
        }

        .cards-sutom-custom .title-dashbord {
            font-weight: 600;
            letter-spacing: 0.7px;
        }
    }

    /* You can add custom CSS for different screen sizes here */
    /*@media (max-width: 600px) {
    .grid-stack-item[data-gs-width-sm="12"] {
        width: 100%;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .grid-stack-item[data-gs-width-md="6"] {
        width: 50%;
    }
}

@media (min-width: 901px) {
    .grid-stack-item[data-gs-width-lg="4"] {
        width: calc(100% / 3);
    }

    .grid-stack-item[data-gs-width-lg="8"] {
        width: calc(100% * 2 / 3);
    }
}*/
