/* Helpers */
.mobile-show {
    display: none;
}
@media (max-width: 960px) {
    .mobile-hide {
        display: none;
    }
    .mobile-show {
        display: inherit;
    }
}
.mobile-xs-show {
    display: none;
}
@media (max-width: 600px) {
    .mobile-xs-hide {
        display: none;
    }
    .mobile-xs-show {
        display: initial;
    }
}

/* Menu */
.mobile-menu {
    display: none;
}

.btn-mobile-menu {
    width: 300px;
    font-size: 2em;
    color: white;
    overflow: visible;
}

@media (max-width: 960px) {
    .header .logo {
        display: none;
    }

    .main-nav {
        display: none;
    }
    .user-notification {
        display: none;
    }
    .mobile-menu {
        display: initial;
    }
        
    .md-sidenav-left {
        position: fixed;
        height: 100vh;
        width: 100%;
    }
}

/* Home */
@media (max-width: 960px) {
    .video-splash {
        background-image: url('/assets/images/home-banner.png');
        background-size: cover;
    }

    .big-data {
        width: 100% !important;
    }
        
    .big-data .banner-text {
        width: 100%;
        background: rgba(255, 255, 255, .9) !important;
        top: 0px;
        left: 0px;
    }
}


/* Login Page */
@media (max-width: 960px) {
    .logo-section {
        float: left;
        width: 80%; 
        margin-bottom: 110px;
    }

    .login-form {
        width: 100%;
        padding: 0em 2em 0em 2em;
    }

    .login-form-section-inner {
        margin: 0;
        width: 100%;
    }
}

/* Forms General */
@media (max-width: 960px) {
    .form-page .form-button a img {
        width: 100%;
        max-width: 20vw;
        height: auto;
        object-fit: cover;
        position: relative;
        bottom: 0px;
        right: 0;
        left: 0;
        margin: 0 auto;
    }
    .form-page .btn-sec div a .form-button-label {
        font-size: 12px;
    }

    .form-page .fullpage-inner-body {
        height: fit-content;
    }

    .form-page .fp-tableCell {
        height: fit-content !important;
    }

    .form-page .fp-completely {
        height: fit-content !important;
    }
    
    .page-title h2 {
        font-size: 22px;
        margin-bottom: 0;
    }

    .form-grid .card-body {
        padding: 0;
    }

    /* All forms */
    .banner-section .page-title h2 {
        font-size: 22px;
        margin-bottom: 0;
    }
    .pump-crew-packing {
        padding-top: 80px;
    }
    .bg-white-form {
        padding-right: 15px;
        padding-left: 15px;
    }
    .btn-group button {
        min-width: 100px;
    }

    .form-no h6 {
        font-size: 14px;
    }
}

/* Pump assignment */
@media (max-width: 960px) {
    .pump-viewport {
        overflow-x: scroll;
        overflow-y: visible;
    }
    .pump-canvas {
        width: 200%;
    }
    .pump-assignments-left {
        padding-right: 20px;
    }
    .pump-assignments-right {
        padding-left: 20px;
    }
    
    .truck-table-cell .select2-container {
        width: 100%;
        min-width: 175px;
    }
}

/* Extra small screen pump assignment form */
@media (max-width: 600px) {
    .left_truck, .right_truck {
        margin-bottom: 50px;
        text-align: center;
    }
    .select2-search {
        padding: 0px;
    }    
}
/* Shift form */
@media (max-width: 960px) {
    .maintenance-event-title {
        display: none;
    }
    .shift-form-events {
        height: auto;
        border: 2px dotted #424242;
        padding: 5px 10px 10px 10px;
    }
    .shift-form-event-input {
        width: 100%;
    }

    .shift-form-event-switch {
        width: 100%;
    }

    .shift-form-event-delete {
        position: absolute;
        right: 0;
    }

    .mobile-event-label {
        min-height: 45px;
    }
}

/* Test Tank Form */

@media (max-width: 960px) {
    .test-tank-events {
        height: auto;
        border: 2px dotted #424242;
        padding: 5px 10px 10px 10px;
    }
}