/********************
*   Mobile Styles   *
********************/
.navbar-nav .open .dropdown-menu {
    background-color: var(--neutral) !important;
    box-shadow: var(--shadow-2) !important;
}

a.dropdown-toggle {
    padding: 15px !important;
}

@media (max-width: 375px) {
    #body {
        padding-left: 0px;
    }

    .medium-popup .modal-dialog, .large-popup .modal-dialog {
        width: auto !important;
    }

    .access-denied-container {
        width: auto !important;
    }

    .site-logo, .login-logo, .user-picture {
        margin: 0px 5px;
    }

    .config-menu, .left-menu, .site-title {
        display: none;
    }

    ul.sub-menu {
        /*padding: 50px 20px;*/
    }

    div#bookingView {
        display: none;
    }

    .mobile-hide {
        display: none;
    }

    .logo, .logo.ui-link {
        /*display: none !important;*/
        /*float: left;
        width: 80px !important;
        height: 40px !important;
        background-size: contain !important;*/
    }

    .full-mobile-screen .modal-dialog {
        width: 100px;
        height: 90vh;
    }

    .backgound-container {
        display: none;
    }

    .notification-booking-grid {
        display: block;
    }


    .ui-loader {
        display: none !important;
    }

    h2 {
        margin-bottom: 25px !important;
    }

    .portlet.triple, div#cars.portlet.triple {
        width: 100%;
        height: 310px;
        margin: 10px 0px !important;
    }

        .portlet.triple .content {
            padding: 5px;
            -webkit-overflow-scrolling: touch;
        }

    .portlet div.title .title-content {
        max-width: 185px;
    }

    .edit-dashboard, .add-portlet {
        bottom: 10px;
    }

    .booking-calendar-cell .ocupation {
        font-size: 16px;
        margin-top: -10px;
        font-weight: 400;
    }
}

@media (max-width: 950px) {
    html, body {
        width: 100%;
    }

    .access-denied-container {
        width: auto !important;
    }

    .site-logo, .login-logo, .user-picture {
        margin: 0px 5px;
    }

    div.page-title {
        margin-right: -20px;
    }

    h2 {
        margin-bottom: 25px !important;
    }

    .ui-loader {
        display: none !important;
    }

    .logo, .logo.ui-link {
        /*display: none !important;*/
        /*float: left;
        width: 80px !important;
        height: 40px !important;
        background-size: contain !important;*/
    }
    /* Estilos de Portlets*/

    .portlet.triple, div#cars.portlet.triple {
        width: 100%;
        height: 310px;
        margin: 10px 0px;
    }

        .portlet.triple .content {
            padding: 5px;
            -webkit-overflow-scrolling: touch;
            overflow-x: hidden;
        }

    .mobile-hide {
        display: none !important;
    }



    .portlet.bigPortlet {
    }

    /*.carHeader {
        margin-bottom: 0px !important;
    }*/

    .viewCarsWrapper {
        margin-top: 76px !important;
    }
    /* header
    ----------------------------------------------------------*/
    header .float-left,
    header .float-right {
        float: none;
    }

    /* logo */
    header .site-title {
        margin: 10px;
        text-align: center;
    }


    /* login */
    #login {
        font-size: .85em;
        margin: 0 0 12px;
        text-align: center;
    }

        #login ul {
            margin: 5px 0;
            padding: 0;
        }

        #login li {
            display: inline;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        #login a {
            background: none;
            color: #999;
            font-weight: 600;
            margin: 2px;
            padding: 0;
        }

            #login a:hover {
                color: #333;
            }

    /* menu */
    nav {
        margin-bottom: 5px;
    }

    ul#menu {
        margin: 0;
        padding: 0;
        text-align: center;
    }

        ul#menu li {
            margin: 0;
            padding: 0;
        }


    /* main layout
    ----------------------------------------------------------*/
    .general-layout-body {
        padding-right: 0px !important;
    }

    .main-content {
        padding: 20px !important;
        padding-top: 0px !important;
    }

    .admin-view {
        padding-left: 88px !important;
    }

    .sub-menu.nav.admin-view {
        padding-left: 88px !important;
    }

    .admin-submenu {
    }

        .admin-submenu h3, .admin-submenu .menu-iten {
        }

    .main-content.home {
        padding: 20px !important;
    }

    .main-content,
    .featured + .main-content {
        background-position: 10px 0;
    }

    .featured .content-wrapper {
        padding: 10px;
    }

    /* page content */
    article, aside {
        float: none;
        width: 100%;
    }

    /* ordered list */
    ol.round {
        list-style-type: none;
        padding-left: 0;
    }

        ol.round li {
            padding-left: 10px;
            margin: 25px 0;
        }

            ol.round li.zero,
            ol.round li.one,
            ol.round li.two,
            ol.round li.three,
            ol.round li.four,
            ol.round li.five,
            ol.round li.six,
            ol.round li.seven,
            ol.round li.eight,
            ol.round li.nine {
                background: none;
            }

    /* features */
    section.feature {
        float: none;
        padding: 10px;
        width: auto;
    }

        section.feature img {
            color: #999;
            content: attr(alt);
            font-size: 1.5em;
            font-weight: 600;
        }

    /* forms */
    input {
        width: 90%;
    }

    /* login page */
    #loginForm {
        border-right: none;
        float: none;
        width: auto;
    }

        #loginForm .validation-error {
            display: block;
            margin-left: 15px;
        }

    #socialLoginForm {
        margin-left: 0;
        float: none;
        width: auto;
    }


    /* footer
    ----------------------------------------------------------*/
    footer .float-left,
    footer .float-right {
        float: none;
    }

    footer {
        text-align: center;
        height: auto;
        padding: 10px 0;
    }

        footer p {
            margin: 0;
        }


    /*** Added JUAN ***/
    header .site-title a.logo {
        position: static;
    }

    #actionMenu div {
        float: none !important;
    }

    .portlet.double {
        width: 100%;
    }

    .t-grid {
        overflow-x: scroll;
    }

    .ui-widget-content { /* overflow-x: scroll; overflow-y: hidden;  */
        width: 100%;
    }

    .miniPortlet .infoSquare div.basicInfo {
        font-size: 22px;
    }

    .ellipsis {
        width: auto !important;
    }

    fieldset.customer {
        width: 100%;
    }

    #EmailAddress, #Address, #Customer_Address, #Customer_EmailAddress {
        width: 90%;
    }

    select {
        width: 95%;
    }

    textarea {
        width: 95%;
    }

    form[action="/Settings"] .details {
        width: 95%;
        margin-bottom: 30px;
        font-size: 10px;
    }

    input[type="checkbox"] {
        width: 20px !important;
    }

    .generalStatus.inlineContainerDiv div:last-child {
        width: 20px;
    }

    .booking-calendar-cell .ocupation {
        font-size: 16px;
        margin-top: -10px;
        font-weight: 400;
    }
}

@media (max-width: 500px) {
    .backgound-container, .app-version {
        display: none;
    }

    .medium-popup .modal-dialog, .large-popup .modal-dialog {
        width: auto !important;
    }

    .access-denied-container {
        width: auto !important;
    }

    .site-logo, .login-logo, .user-picture {
        margin: 0px 5px;
    }

    .error.title {
        font-size: 32px;
        left: 50px;
        position: fixed;
        top: 150px;
        padding-right: 20px;
    }

    .error-message-overlay {
        height: 100%;
        background: rgba(0, 0, 0, 0.8); /* For browsers that do not support gradients */
        background: -webkit-linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)); /* For Safari 5.1 to 6.0 */
        background: -o-linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)); /* For Opera 11.1 to 12.0 */
        background: -moz-linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)); /* For Firefox 3.6 to 15 */
        background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)); /* Standard syntax */
    }
}

@media (max-width: 700px) and (orientation: landscape) {
    .site-logo, .login-logo, .user-picture {
        margin: 0px 5px;
    }

    .medium-popup .modal-dialog, .large-popup .modal-dialog {
        width: auto !important;
    }

    .login-form {
        max-width: 90%;
    }

    .nav-collapse {
        margin-top: -8px !important;
    }

    .calendar-content-container {
        height: 100% !important;
    }

    .portlet.bigPortlet {
        height: 350px !important;
    }

    .portletConteiner {
        text-align: center;
    }
}

@media (min-width: 992px) and (max-width: 1025px) {
    .col-dk-12 {
        width: 100% !important;
    }
}

/*IPHONE 6+*/
@media (min-device-width : 414px) and (max-device-width : 736px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 3) {
    #body {
        padding-left: 0px;
    }

    .medium-popup .modal-dialog, .large-popup .modal-dialog {
        width: auto !important;
    }

    .access-denied-container {
        width: auto !important;
    }

    .site-logo, .login-logo, .user-picture {
        margin: 0px 5px;
    }

    .navbar-collapse {
        margin-top: -8px !important;
        padding-left: 18px !important;
        padding-right: 15px !important;
    }

    ul.sub-menu {
        padding: 50px 20px;
    }

    .config-menu, .left-menu, .site-title {
        display: none;
    }


    div#bookingView {
        width: 100%;
        height: 350px;
        margin: 10px 0px;
    }

    .login-form {
        max-width: 90%;
    }

    .calendar-content-container {
        height: 100% !important;
    }

    .portlet.bigPortlet {
        height: 390px !important;
    }

    .portlet-container.triple {
        width: 100%;
    }

    .edit-dashboard, .add-portlet {
        bottom: 10px;
    }

    .sub-menu {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .alertDialog .modal-dialog, #createCustomerDialog .modal-dialog {
        top: 40px !important;
        width: 95% !important;
        height: auto !important;
    }

    .capture-image-player, .capture-image-canvas {
        width: 90%;
    }
}

@media (min-device-width : 414px) and (max-device-width : 736px) and (device-width : 414px) and (device-height : 736px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 3) and (-webkit-device-pixel-ratio : 3) {
    ul.sub-menu {
        padding: 50px 20px;
    }

    .medium-popup .modal-dialog, .large-popup .modal-dialog {
        width: auto !important;
    }

    .access-denied-container {
        width: auto !important;
    }

    .site-logo, .login-logo, .user-picture {
        margin: 0px 5px;
    }

    #searchResult {
        position: fixed;
        left: 5px;
        top: 50px;
        width: 95% !important;
    }

        #searchResult .info, li .info {
            width: 200px;
        }

    .navbar-collapse {
        margin-top: -8px !important;
        padding-left: 18px !important;
        padding-right: 15px !important;
    }

    .mobile-hide-portrait {
        display: none !important;
    }

    .mobile-text-center {
        text-align: center;
    }

    #body {
        padding-left: 0px;
    }

    .config-menu, .left-menu, .site-title {
        display: none;
    }


    div#bookingView {
        display: none;
    }

    .calendar-content-container {
        height: 100% !important;
    }

    .portlet.bigPortlet {
        height: 700px !important;
    }

    .portlet-container.triple {
        width: 100%;
    }

    .edit-dashboard, .add-portlet {
        bottom: 10px;
    }
}

/*IPHONE 14*/
@media only screen and (device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) {
    .login-body {
        min-width: auto !important;
    }

    .login-form {
        width: 360px;
        height: 450px;
        margin-top: -50px;
    }

        .login-form div.login-logo {
            margin-bottom: 30px !important;
        }

    .login-footer {
        bottom: 10px;
    }
}

/*iPhone 14 Pro*/
@media only screen and (device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3) {
    .login-body {
        min-width: auto !important;
    }

    .login-form {
        width: 360px;
        height: 450px;
        margin-top: -50px;
    }

        .login-form div.login-logo {
            margin-bottom: 30px !important;
        }

    .login-footer {
        bottom: 10px;
    }
}

/*IPHONE 6*/
@media (min-device-width : 375px) and (max-device-width : 667px) and (orientation : landscape) {
    #body {
        padding-left: 0px;
    }

    .medium-popup .modal-dialog, .large-popup .modal-dialog {
        width: auto !important;
    }

    .access-denied-container {
        width: auto !important;
    }

    .site-logo, .login-logo, .user-picture {
        margin: 0px 5px;
    }

    .sub-menu {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .alertDialog .modal-dialog, #createCustomerDialog .modal-dialog {
        top: 40px !important;
        width: 95% !important;
        height: auto !important;
    }

    .navbar-collapse {
        margin-top: -8px !important;
        padding-left: 18px !important;
        padding-right: 15px !important;
    }

    .navbar-nav > li {
        float: left;
    }

    .alertDialog .modal-dialog, #createCustomerDialog .modal-dialog {
        top: 40px !important;
        width: 95% !important;
        height: auto !important;
    }

    .navbar-collapse.collapse {
        display: block;
        height: auto !important;
    }

    .config-menu, .left-menu, .site-title {
        display: none;
    }

    ul.sub-menu {
        padding: 50px 20px;
    }


    .mobile-hide {
        display: none;
    }

    .portlet-container.triple {
        width: 100%;
    }

    div#bookingView {
        width: 100%;
        height: 280px;
        margin: 10px 0px;
    }

    .logo, .logo.ui-link {
        /*display: none !important;*/
        /*float: left;
        width: 80px !important;
        height: 40px !important;
        background-size: contain !important;*/
    }


    .backgound-container {
        display: none;
    }

    .notification-booking-grid {
        display: block;
    }

    .t-widget.t-grid, .ui-widget-content {
        background: none !important;
    }

    .ui-loader {
        display: none !important;
    }

    h2 {
        margin-bottom: 25px !important;
    }

    .portlet.triple {
        width: 100%;
        height: 310px;
        margin: 10px 0px;
    }

        .portlet.triple .content {
            padding: 5px;
            -webkit-overflow-scrolling: touch;
        }

    .portlet div.title .title-content {
        max-width: 185px;
    }

    .edit-dashboard, .add-portlet {
        bottom: 10px;
    }
}

@media (min-device-width : 375px) and (max-device-width : 667px) and (orientation : portrait) {
    .config-menu, .left-menu, .site-title {
        display: none;
    }

    .medium-popup .modal-dialog, .large-popup .modal-dialog {
        width: auto !important;
    }

    .site-logo, .login-logo, .user-picture {
        margin: 0px 5px;
    }

    .navbar-collapse {
        margin-top: -8px !important;
        padding-left: 18px !important;
        padding-right: 15px !important;
    }

    .sub-menu {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .searchBox {
        width: 150px;
    }

    #searchResult {
        position: fixed;
        left: 5px;
        top: 50px;
        width: 95% !important;
    }

        #searchResult .info, li .info {
            width: 200px;
        }

    .alertDialog .modal-dialog, #createCustomerDialog .modal-dialog {
        top: 40px !important;
        width: 95% !important;
        height: auto !important;
    }

    .navbar-collapse.collapse {
        display: block;
        height: auto !important;
    }

    .navbar-nav > li {
        float: left;
    }

    .mobile-hide-portrait {
        display: none !important;
    }

    div#bookingView {
        display: none;
    }

    .portlet-container.triple {
        width: 100%;
    }

    .main-content.home {
        padding: 20px !important;
    }

    #body {
        padding-left: 0px;
    }

    .edit-dashboard, .add-portlet {
        bottom: 10px;
    }

    .admin-submenu {
        padding-left: 15px;
        padding-right: 15px;
    }

        .admin-submenu.collapsed {
            width: 65px;
        }
}

@media (max-width: 767px) {
    .login-body {
        min-width: auto !important;
    }

    .login-form {
        width: 360px;
        height: 470px;
        margin-top: -50px;
    }

        .login-form div.login-logo {
            margin-bottom: 30px !important;
        }

    .page-title {
        margin-right: -20px;
        padding-right: 20px;
    }

    .medium-popup .modal-dialog, .large-popup .modal-dialog {
        width: auto !important;
    }

    .btn-change-branchOffice {
        margin-top: 5px;
    }

    .grid-pagination-option span {
        display: none;
    }

    .navbar-nav .open .dropdown-menu {
        position: absolute !important;
    }

    .mobile-text-center {
        text-align: center;
    }

    .portlet-container.triple {
        width: 100%;
    }

    .navbar-collapse.collapse {
        display: block;
        height: auto !important;
    }

    .searchBox {
        width: 150px;
    }

    .navbar-collapse {
        margin-top: -8px !important;
        padding-left: 18px !important;
        padding-right: 15px !important;
    }

    .navbar-nav > li {
        float: left;
    }

    /*DELIVERIES AND DEVOLUTIONS*/
    .row-dash {
        margin-right: -15px;
    }

    .row.main.xs {
        padding: 6px 15px;
    }

    .container.xs {
        margin: 10px auto;
    }

    .main-title, .second-line.xs {
        text-align: left;
    }

    .main-title {
        color: #fff;
    }

    .second-line.xs > a {
        color: #fff;
    }

    .main-title > strong {
        color: #fff !important;
    }

    .col-icon-xs {
        margin-top: 3px;
        padding-left: 10px;
    }

    .office-icon {
        min-width: 28px;
        max-width: 100%;
    }

    #mapModal .modal-dialog, .create-customer-modal .modal-dialog {
        width: auto !important;
        height: auto !important;
        top: 10px !important;
    }

    .logo-edit-container {
        text-align: center;
    }

    .logo-edit.profile {
        float: none;
    }

    .footer {
        display: none;
    }

    .modal-dialog {
        top: 0px !important;
        margin: 0px !important;
        width: auto !important;
    }

        .modal-dialog .modal-body {
        }

    .capture-image-player, .capture-image-canvas {
        width: 300%;
    }

    .capture-image-canvas {
        margin-left: 0px;
        margin-top: 110%;
        top: 0px;
        left: 20px;
    }

    .modal-footer .btn + .btn {
        padding: 8px 20px 10px;
    }

    .capture-button {
        margin-left: 0px;
        margin-top: -15px;
        margin-bottom: 10px;
    }

    .capture-image-popup .modal-dialog .modal-body {
        height: 650px;
    }
}

@media (min-width: 376px) {
    .row-card.xs {
        display: none;
    }
}

@media only screen and (min-width: 360px) {
    .login-body {
        min-width: auto !important;
    }

    .login-form {
        width: 340px;
        height: 470px;
        margin-top: -50px;
    }

        .login-form div.login-logo {
            margin-bottom: 30px !important;
        }

    .login-footer {
        bottom: 10px;
    }
}

@media (max-width: 768px) {
    .collection-modal .modal-dialog,
    .collection-modal .modal-dialog .modal-content {
        width: 100% !important;
    }
}
