/* ---------- min-width breakpoints ---------- */

/* [1800px, inf) */
@media (min-width: 1800px) {
    .nsort-portrait {
        height: 341px;
    }
}

/* [1400px, inf) */
@media (min-width: 1400px) {
    .edit-treatment {
        width: 66.66% !important;
    }
}

@media (max-width: 1180px) {
    .nsort-container {
        width: 33%; 
        min-height: 265px;
    }
}

/* [992px, inf) */
@media only screen and (min-width: 992px) {
    .recently-registered-patients-container {
        min-width: 400px;
    }

    .registration-field-container {
        min-height: 88px;
    }

    .registration-field {
        position: absolute;
        bottom: 15px;
        width: 100%;
    }

    .registration-label {
        margin-bottom: 45px !important;
    }

    .registration-label-double {
        margin-bottom: 90px !important;
    }
}

/* [768px, inf) */
@media screen and (min-width: 768px) {
    .treatment-preview-row {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        flex-wrap: nowrap;
    }

    .treatment-preview-column {
        width: max(25%, 231px);
    }
}

/* [431px, inf) */
@media screen and (min-width: 431px) {
    .create-portfolio-folder {
        max-width: 192px;
    }
}

/* ---------- max-width breakpoints ---------- */

/* [0px, 1500px] */
@media screen and (max-width: 1500px) {
    .dhx_cal_container .dhx_cal_date {
        top: 0 !important;
        text-align: left !important;
        padding-left: 15px !important;
    }
    .dhx_cal_navline div {
        top: 30px !important;
    }
}

/* [0px, 1199px] */
@media screen and (max-width: 1199px) {
    .dhx_cal_container .dhx_cal_date {
        font-size: 16px !important;
    }

    .dhx_cal_prev_button {
        right: 100px;
    }

    .dhx_cal_today_button {
        right: 32px;
        font-size: 12px;
    }

    .dhx_cal_tab {
        height: 22px !important;
        line-height: 20px !important;
    }

    /*.dhx_cal_navline .dhx_cal_next_button, 
    .dhx_cal_navline .dhx_cal_prev_button{
        top: 55px !important;
    }

    .dhx_cal_navline .dhx_cal_today_button{
        top: 55px !important;
    }*/

    .dhx_cal_light {
        z-index: 1111 !important;
    }

    .ui-widget-content {
        z-index: 11111;
    }

    .modal {
        z-index: 111111;
    }

    #main-wrapper {
        overflow: scroll;
    }

    #scheduler_here {
        width: 900px;
    }

    .modal.treatmentPreviewModal {
        width: 90vw;
    }

    .modal.editDermalFillerModal {
        width: 90vw;
    }
}

/* [0px, 1194px] */
@media screen and (max-width: 1194px) {
    .w-100-maxw-1194 {
        width: 100% !important;
    }

    .w-50-maxw-1194 {
        width: 50% !important;
    }
}

/* 
Mobile Devices (portrait and landscape) 
[0px, 991px]
*/
@media only screen and (max-width: 991px) {
    .sticky-top {
        position: absolute;
    }

    .nav-clear {
        height: 20px;
    }

    .mobile-logo a {
        border: 0px;
    }

    .app-header {
        padding-left: 10px;
        padding-right: 10px;
    }

    .right-content {
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 6rem;
    }

    .login-form {
        padding: 0 30px;
        width: 100%;
    }

    #sidebar-mobile {
        padding-top: 20px;
        padding-top: 20px;
        margin-bottom: 20px;
    }

    #sidebar-nav {
        min-height: auto !important;
    }

    .main-nav {
        margin-bottom: 20px !important;
    }

    #sidebar-nav {
        min-height: auto !important;
    }

    .dhx_cal_light_wide .dhx_wrap_section {
        overflow: scroll !important;
        height: auto;
    }

    .login-bg {
        background: linear-gradient(
            to bottom,
            var(--light-blue-color),
            var(--light-pink-color)
        );
        justify-content: center;
    }

    .login-form {
        width: 95%;
    }

    .l-copyright {
        padding-left: 0;
    }

    .view-portfolio-images-modal {
        margin: 0;
        max-width: 100% !important;
    }

    .mobile-logo img {
        width: 140px;
    }

    .profile-card {
        flex-wrap: wrap;
    }

    .profile-card_img {
        width: 100%;
        border-right: none;
    }

    .w-100-maxw-991 {
        width: 100% !important;
    }

    .w-50-maxw-991 {
        width: 50% !important;
    }

    .w-33-maxw-991 {
        width: 33.33% !important;
    }

    .nsort-container {
        width: 33%;
        min-height: 265px;
    }

    .photo-container {
        width: 33% !important;
        margin-bottom: 16px;
    }

    .custom-time-label {
        left: -382px !important;
    }
}

/* [0px, 767px] */
@media screen and (max-width: 767px) {
    .w-100-maxw-767 {
        width: 100% !important;
    }

    .file-preview {
        height: 30rem;
    }
}

/* [0px, 570px] */
@media screen and (max-width: 570px) {
    .office-consent-settings {
        margin-left: 0 !important;
    }
}

/* [0px, 515px] */
@media screen and (max-width: 515px) {
    .dhx_cal_light {
        width: 340px !important;
    }

    .custom-time-label {
        left: -249px !important;
        top: 58px !important;
    }
}

/* Phones */
/* [0px, 430px] */
@media screen and (max-width: 430px) {
    .profile-card .btn {
        max-width: 100%;
        width: 100%;
    }

    .profile-card .btn-group {
        max-width: 100%;
        width: 100%;
    }

    .w-100-maxw-430 {
        width: 100%;
    }

    .w-67-maxw-430 {
        width: 67% !important;
    }

    .w-50-maxw-430 {
        width: 50% !important;
    }

    .w-46-maxw-430 {
        width: 46% !important;
    }

    .w-33-maxw-430 {
        width: 33% !important;
    }

    .w-27-maxw-430 {
        width: 27% !important;
    }

    .w-0-maxw-430 {
        width: 0% !important;
        padding: 0 !important;
    }

    .nsort-container {
        width: 50%;
        min-width: none;
    }

    .show-personal-portfolios {
        justify-content: start !important;
    }

    .portfolio-folder-btns {
        flex-direction: column;
    }

    .photo-container {
        width: 50% !important;
    }

    .breadcrumb-item {
        font-size: 14px;
    }

    .mobile-small-font {
        font-size: 14px;
    }

    .file-preview {
        height: 20rem;
    }
}

/* ---------- specific width breakpoints ---------- */

/* [992px, 1146px] */
@media screen and (min-width: 992px) and (max-width: 1146px) {
    .patient-personal-details {
        width: 60%;
    }

    .patient-contact {
        width: 40%;
    }

    .patient-address-consents {
        width: 100%;
    }

    .patient-address-consents-row {
        flex-wrap: nowrap;
    }

    .patient-address {
        width: 50%;
        height: 100%;
        padding: 0.5rem;
    }

    .patient-consents {
        width: 50%;
        padding: 0.5rem;
    }
}

/* 
Tablets 
[768px, 991px]
*/
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .login-form {
        padding-left: 20px;
        width: 90%;
    }

    .col-md-4 {
        width: 50%;
    }

    .col-md-6 {
        width: 100%;
    }

    .welcome-card {
        height: 96%;
    }

    .login-bg {
        background: linear-gradient(
            to bottom,
            var(--light-blue-color),
            var(--light-pink-color)
        );
        justify-content: center;
    }

    .right-content {
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 7rem;
    }

    .mobile-logo a {
        border: 0px;
    }

    .main-nav {
        margin-bottom: 20px !important;
    }

    #sidebar-mobile {
        padding-top: 20px;
        padding-top: 20px;
        margin-bottom: 20px;
    }

    #sidebar-nav {
        min-height: auto !important;
    }

    .profile-view .btn {
        max-width: 100%;
        width: 100%;
    }

    .patient-personal-details {
        width: 50%;
    }

    .patient-contact {
        width: 50%;
    }

    .patient-address-consents {
        width: 100%;
    }

    .patient-address-consents-row {
        flex-wrap: nowrap;
    }

    .patient-address {
        width: 50%;
        height: 100%;
        padding: 0.5rem;
    }

    .patient-consents {
        width: 50%;
        padding: 0.5rem;
    }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .custom1024-width {
        width: 100%;
    }
}

