/* Min Width 1024px */
@media only screen and (min-width: 1024px) {
    .data-section .col-lg-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/* Min Width 1024px End */


/* Min Width 1280px */
@media only screen and (min-width: 1280px) {
    :root {
        --sidebar-width: 295px;
    }

    .nav-list-ul .nav-link .dropdown-label a {
        font-size: 16px;
    }

    .nav-list-ul .nav-link > .lvl1-dropdown > .dd-link .dropdown-label a {
        font-size: 14px;
    }
}

/* Min Width 1280px End */


/* Min Width 1600px */
@media only screen and (min-width: 1600px) {
    :root {
        --sidebar-width: 320px;
    }

    .nav-list-ul .nav-link .dropdown-label a {
        font-size: 18px;
    }

    .nav-list-ul .nav-link > .lvl1-dropdown > .dd-link .dropdown-label a {
        font-size: 16px;
    }

    .data-section .col-lg-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media only screen and (min-width: 1800px) {
    .rx-card.card-block .card-img {
        background-size: cover !important;
    }
}

/* Min Width 1600px End */

@media only screen and (min-width: 1600px) and (max-width: 1920px) {
	.sidebar{
	width: 320px;
	}
}

@media only screen and (max-width: 1279px) {
	.sidebar{
	width: 320px;
	}
}

/* Max Width 1024px */
@media only screen and (max-width: 1024px) {

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        display: none;
    }

    .sidebar-header-container {
        display: none;
    }

    .m-header,
    .sidebar-close {
        display: block;
    }

    .sidebar {
        left: -100%;
        -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
    }

    .sidebar-header {
        height: 80px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
    }

    .main-section {
        width: 100%;
        margin-left: 0;
        margin-top: 85px;
    }

    .demo-form-container {
        padding: 0;
    }
}

/* Max Width 1024px End  */

/* Max Width 768px */
@media only screen and (max-width: 768px) {
    rx-card.card-block .card-content {
        padding: 1.25rem .7rem .5rem;
    }

    rx-card.card-block .card-content .card-details h5 {
        font-size: 1rem;
    }

    rx-card.card-block .card-content .card-details {
        padding-left: 0 !important;
    }

    .home-page--links .card-header h4 {
        font-size: 17px;
    }
}

/* Max Width 768px */

/* Max Width 767px */
@media only screen and (max-width: 767px) {

    .data-section {
        padding: 40px 20px;
    }

    .content-section-header-wrap {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .section-title {
        margin-bottom: 1.5rem;
    }

    .section-title h1 {
        font-size: 30px;
        text-align: center;
    }

    .demo-form .row .col-md-6:nth-child(2n+1),
    .demo-form .row .col-md-6:nth-child(2n) {
        padding-left: 15px;
        padding-right: 15px;
    }

    .submit-btn {
        width: 100%;
    }

    .modal-popup-container {
        width: 90%;
    }

    .img-sec-mob {
        display: block;
    }

    .img-sec-web {
        display: none;
    }

    .rx-card.card-block .card-img {
       /* background-size: cover !important;*/
    }

}

/* Max Width 767px End */

/* Max Width 570px */
@media only screen and (max-width: 850px) and (orientation: landscape) {
    .modal-popup-wrap {
        display: block;
    }

    .modal-popup-container {
        margin: 15px auto;
    }
}

/* Max Width 570px End */


@media all and (-ms-high-contrast:none) {
    .main-section {
        width: calc(100% - 295px);
        min-height: calc(100vh - 85px);
        margin-left: 295px;
    }
    
    .modal .modal-body {
        max-height: 80vh;
    }
    
    .modal-popup-header {
        background: #525ca3;
    }
    
    .modal-popup-container {
        margin: 0;
    }
}
