/**
 * ==============================CUSTOM MEDIA==================================================
 **/
/* ============ Smart Phones ============ */
@media only screen and (max-width: 479px) {
    .ts-translation-list .translatedValue, .ts-translation-list .messageValue {
        min-width: 300px;
    }
    .ts-translation-list .list-header {
        margin-left: 10px;
        font-size: 18px;
    }
    .ts-translation-list .tab-content .table {
        border-color: #fff;
    }
    .row .form-group label.chk-title {
        font-size: 16px;
    }
    .popover.top.editable-popup {
        max-width: 320px !important;
        right: 0;
    }
    .right-side .content-header {
        height: 85px;
        padding: 10px;
    }
    .right-side .content-header > .pull-left {
        display: block;
        width: 100%;
        margin-top: 7px;
        font-size: 18px;
    }
    .right-side .content-header > .pull-left.section-title {
        font-size: 14px;
        line-height: 12px !important;
    }
    body > .header nav.navbar {
        display: flex;
    }
    body > .header .navbar .sidebar-toggle {
        flex: 1;
    }
    body > .header .navbar .nav > li.user.user-menu > a {
        height: 50px;
    }
    body > .header .navbar .nav > li.user.user-menu > a > span {
        display: none;
    }
    .navbar-nav > .user-menu img.user-image {
        margin-right: 0;
    }
    .navbar-nav > .user-menu > ul.dropdown-menu {
        right: 7px;
    }
    .navbar-nav > .notifications-menu > .dropdown-menu {
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, 0) !important;
    }
    ul.navbar-nav > .notifications-menu > .dropdown-menu > li.header:after {
        border-width: 7px!important;
    }
    ul.navbar-nav > .notifications-menu {
        position: inherit;
    }
    .notifications-menu.open > ul.dropdown-menu {
        margin-top: 0 !important;
    }
    .modal .modal-dialog {
        width: auto !important;
    }
    body.fixed .control-sidebar.control-sidebar-open {
        width: auto;
    }
    div.tt-suggestion,
    span.tt-dropdown-menu .tt-suggestion > b {
        white-space: normal !important;
    }
    .calendar-container .sticky-top > .card:nth-child(2) {
        margin-bottom: 20px;
    }
    #login-form .remember-group {
        font-size: 14px;
    }
    .bg-glass {
        backdrop-filter: none;
    }
}

/* ============ LANDSCAPE STYLE ============ */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    #login-box {
        width: 445px;
    }
    #login-form .remember-group {
        font-size: 14px;
    }
    .ts-translation-list .tab-content .table {
        border-color: #fff;
    }
    div.tt-suggestion,
    span.tt-dropdown-menu .tt-suggestion > b {
        white-space: normal !important;
    }
    .calendar-container .sticky-top > .card:nth-child(2) {
        margin-bottom: 20px;
    }
    #login-box {
        margin-top: 5px;
    }
    .bg-glass {
        backdrop-filter: none;
    }
}
@media only screen and (max-width: 560px) {
    body.fixed div.wrapper {
        margin-top: 100px;
    }
    .content-header .dropdown {
        margin-right: 0!important;
    }
}
/* ============ TABLET STYLE ============ */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    #login-box {
        width: 430px;
    }
    #login-flash {
        width: 600px;
    }
}

/* ============ Desktops and laptops >= 1024 ============ */
@media only screen and (min-width: 1024px) {
    #login-box {
        width: 465px;
    }
    #assignCustomerModal > .modal-dialog {
        width: 1000px;
    }
    #login-flash {
        width: 600px;
    }
}

/* ============ SPECIAL Desktops and laptops >= 1100 ============ */
@media only screen and (min-width: 1024px) and (max-width: 1100px) {
}

@media only screen and (min-width: 1100px) and (max-width: 1200px) {

}

@media only screen and (min-width: 1280px) {

}

/* Customs */

@media (max-width: 767px) {
    .navbar-nav .open .dropdown-menu {
        -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
        box-shadow: 0px 3px 6px rgba(0,0,0,0.1);
        background-color: #fff;
        border: 1px solid rgba(0,0,0,0.15);
    }
    .modal {
        overflow-y: auto;
    }
    .modal-lg .modal-body {
        max-height: 450px;
    }
    #login-flash {
        width: 100%;
    }
    .modal .wizard .wizard-body {
        border-bottom-left-radius: 8px;
    }
    #add-new-inventory-modal .modal-dialog.dialog-lg {
        width: 400px;
    }
    #add-new-inventory-modal .dialog-lg .col-sm-6 {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .modal-lg {
        width: 98%;
    }
    .modal-custom {
        width: 98%;
    }
    .box .sign-body {
        height: 225px;
    }
    .control-sidebar-open .content-wrapper,
    .control-sidebar-open .right-side,
    .control-sidebar-open .main-footer {
        margin-right: 230px;
    }
    #modal-help .modal-dialog {
        width: 800px;
    }
    #modal-translation .modal-dialog {
        width: 500px;
    }
    .grid-view > .footer-wrapper > .col-sm-4,
    .grid-view > .footer-wrapper > .col-md-4 {
        width: max-content;
        white-space: nowrap;
    }
    .grid-view > .footer-wrapper > .col-sm-8,
    .grid-view > .footer-wrapper > .col-md-8 {
        width: auto;
        float: right;
    }
    .navbar-right {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    #status-form .row > .form-group > .input-group {
        flex-direction: column;
        height: auto;
    }
    #status-form .row > .form-group > .input-group div[class^="col-md"],
    #status-form .form-group.col-group div[class^="col-md"] {
        padding-left: 0;
        padding-right: 0;
    }
    #status-form .row > .form-group > .input-group .action-group-btn {
        margin-top: 12px;
        display: block;
    }
    #status-form .form-group.col-group {
        display: flex;
        flex-direction: column;
    }
    #status-form .form-group.col-group > div:nth-child(2) {
        margin-top: 15px;
    }
    #frontend-setting-user-form .wrap-user-mail {
        margin-left: 0;
    }
    .nav-tabs.control-sidebar-tabs {
        display: table;
    }
    .nav-tabs.control-sidebar-tabs > li {
        display: table-cell;
    }
    .control-sidebar {
        padding-top: 100px;
    }
    .visible-xs-block {
        display: block!important;
    }
    .skin-blue .navbar .navbar-right > .nav {
        display: flex;
        float: right;
        margin: 0;
    }
}

@media (min-width: 992px) {
    .modal-lg, .modal-xl {
        width: 930px;
    }
    .modal-custom {
        width: 1024px;
    }
    #addFieldLimitModal .modal-dialog {
        width: 830px;
    }
    aside.left-side.show-warning {
        top: 102px;
    }
    .grid-view > .footer-wrapper > .col-md-4 {
        width: 41.66666666666667%;
    }
    .grid-view > .footer-wrapper > .col-md-8 {
        width: 58.333333333333336%;
    }
    #modal-individual-variable tr:not(.hidden) .select2-container {
        max-width: 240px;
    }
}

@media (max-width: 991px) {
    .modal .modal-body {
        overflow-y: auto;
    }
    .tab-cache-content .row > div:nth-child(2) {
        margin-top: 15px;
    }
    #modal-individual-variable > .modal-dialog {
        width: 98% !important;
    }
}

@media (max-width: 1224px) {
    div.ts-translation-list .save-all,
    div.ts-translation-list .add-message {
        clear: both;
    }
    div.ts-translation-list .tab-content .items thead > tr > th:nth-child(2) {
        line-height: 115px;
    }
}

@media (max-width: 1023px) {
    div.modal-grid-view {
        width: 98%;
    }
}

@media only screen and (min-width: 1200px) {
    .no-padding {
        padding: 0 !important;
    }
    .no-padding {
        padding: 0 !important;
    }
    .modal-xl {
        width: 1140px;
    }
}