/*
Driving Miss Daisy - Admin css
mark@kccs.co.za
*/
@media screen and (max-width: 767px) {
    .mediaSpacer {
        margin-top: 5%;
    }
}

html {
    width: 100%;
    height: 100%;
    margin: 0;
}

body{
    background: whitesmoke;
    width: 100%;
    height: 100%;
    margin: 0;
    font-size: 0.8rem;
}

.ui-autocomplete{
    z-index: 9999 !important;
}

input:read-only, textarea{
    background-color: white !important;
}

.footer-bg{
    color: aliceblue;
    background-color: #8a909d !important;
}

.footer-bg a{
    color: aliceblue !important;
}

a{
    color: black;
}

a:hover{
    color: #36c6d3;
    text-decoration: none;
}

.page-title{
    color: #36c6d3;
    font-size: 1.6rem;
    font-weight: bold;
}

.page-title-med{
    color: #36c6d3;
    font-size: 1.2rem;
    font-weight: bold;
}

.page-title-sm, .page-title-black-sm{
    color: #36c6d3;
    font-size: 1rem;
    font-weight: bold;
}

.page-title-xsm{
    color: #36c6d3;
    font-size: 0.8rem;
    font-weight: bold;
}

.page-title-black-sm{
    color: ghostwhite;
}

.card-header{
    background-color: white;
}

.booking-tag, .new-client-tag, .new-staff-tag{
    cursor: pointer;
    width: 200px;
}

.form-input-text{
    height: 2vw;
    font-size: 0.9rem !important;
}

#form-booking label,
#form-new-client label,
#form-new-account-holder label,
#form-client-new-enquiry label,
#form-new-staff-member label,
#form-new-invoice label{
    font-size: 0.9rem;
}

#form-booking textarea,
#form-new-client textarea,
#form-new-account-holder textarea,
#form-client-new-enquiry textarea,
#form-new-staff-member textarea{
    min-height: 8rem !important;
}

#form-new-invoice textarea{
    min-height: 5.2rem !important;
}

#form-booking input:focus, 
#form-booking select:focus, 
#form-booking textarea:focus,
#form-new-client input:focus,
#form-new-client select:focus,
#form-new-client textarea:focus,
#form-new-account-holder input:focus,
#form-new-account-holder select:focus,
#form-new-account-holder textarea:focus,
#form-client-new-enquiry input:focus,
#form-client-new-enquiry select:focus,
#form-client-new-enquiry textarea:focus,
#form-new-staff-member input:focus,
#form-new-staff-member select:focus,
#form-new-staff-member textarea:focus,
#form-new-invoice input:focus,
#form-new-invoice select:focus,
#form-new-invoice textarea:focus,
#form-quick-quote input:focus,
#form-quick-quote select:focus,
#form-quick-quote textarea:focus,
#form-financial-settings input:focus,
#form-financial-settings select:focus,
#form-financial-settings textarea:focus,
#new_staff_upload_type:focus,
#new_staff_member_document_name:focus,
#new_staff_member_document_expiry_date:focus,
#quick-booking-section input:focus,
#quick-quote-section input:focus,
#modal-cancel-reason:focus
{
    background-color: gainsboro !important;
}

.sp-top{
    margin-top: 0.2rem;
}

.btn{
    width: 9rem;
    font-size: 0.7rem;
}

.btn-small{
    width: 6rem;
}

.btn-med{
    width: 8.2rem;
}

.btn-height{
    height: 2vw;
}

.div-background{
    background: whitesmoke;
    border-radius: 5px;
}

.drop-header-text{
  font-size: 20px;
  font-weight: bold;
}

#additional-charges,
#booking-statistics,
#payment-details,
#journey-details,
#return-journey-details,
#journey-type-section,
#client-description,
#gdpr-preferences,
#emergency-contacts,
#payment-information,
#marketing-preferences,
#booking-complete,
#client-block-inactive-denied{
    background: whitesmoke;
    border-radius: 5px;
    border: solid lightgrey 1px;
}

.invoice-bg{
    background: whitesmoke;
    border-radius: 5px;
    padding: 8px;
}

#return-journey-details{
    background: lightgrey;
}

#journey-type-section,
#marketing-preferences{
    background: lightgray;
    border-radius: 5px;
}

.mdi-asterisk{
    color: red;
    font-size: 10px;
}

.unpaid-notes-update{
    cursor: pointer;
}

.unpaid-notes-update:hover{
    color: #36c6d3;
    text-decoration: none;
}

#emergency-contact-modal, #can-contact-modal, #confidential-notes-modal, #invoice-additional-info-modal, #loading-time-modal{
    cursor: pointer;
    color: DeepSkyBlue;
}

.show-client-account-holder, #client-show-quick-bookings{
    cursor: pointer;
}

.toast {
    max-width: 100%;
}

#table-user-logins {
    display: block;
    max-height: 500px;
    overflow: scroll;
}

.modal-head {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 0.75rem;
}

.noBorder {
    border:none !important;
}

#full-calendar, #full-calendar-2 {
    font-size: 0.8rem;
}

.fc .fc-zoomIn-button, .fc .fc-zoomOut-button{
    background: #29cc97;
    border-color: #29cc97;
    min-width: 5vw;
}

.fc .fc-today-button, .fc .fc-resourceTimelineDay-button, .fc .fc-timeGridWeek-button, .fc .fc-dayGridMonth-button, .fc .fc-listWeek-button{
    min-width: 3vw;
    background: #13cae1;
    border-color: #13cae1;
}

.fc .fc-minutes-button{
    min-width: 3vw;
    background: white;
    border-color: white;
    color: dimgray;
    font-size: 0.9vw;
    font-weight: bold;
}

.tooltipevent{
    width:600px;
    background:#ccc;
    position:absolute;
    z-index:10001;
    transform:translate3d(-50%,-100%,0);
    font-size: 0.8rem;
    box-shadow: 1px 1px 3px 0px #888888;
    line-height: 1.5rem;
}
.tooltipevent div{
    padding:10px;
}
.tooltipevent div:first-child{
    font-weight:bold;
    color:White;
    background-color:#888888;
    border:solid 1px black;
}
.tooltipevent div:last-child{
    background-color:whitesmoke;
    position:relative;
}
.tooltipevent div:last-child::after, .tooltipevent div:last-child::before{
    width:0;
    height:0;
    border:solid 5px transparent;
    border-bottom:0;
    border-top-color:whitesmoke;
    position: absolute;
    display: block;
    content: "";
    bottom:-4px;
    left:50%;
    transform:translateX(-50%);
}
.tooltipevent div:last-child::before{
    border-top-color:#888888;
    bottom:-5px;
}

.status-active, .status-start, .status-yes{
    color:#29cc97;
}

.status-blocked{
    color: #13cae1;
}

.status-deleted, .status-no{
    color: #fe5461;
}

.status-complete{
    color: #13cae1;
}

.booking-view-booking{
    width: 5vw;
}

.invoice-div{
    min-height: 4.5vw;
    color: #495057;
    border: #e5e9f2 solid 1px;
    border-radius: 4px;
    padding: 10px;
    font-size: 0.9rem;
}

#toast-container > .toast {
    position:fixed;
    top: 0;
    right:10%;
    max-width: 80%;
    width: 90%;
}

.preloader{
    display: none;
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 1000000;
    top: 0;
    left: 0;
    background-color: rgba(255,255,255,0.5);
}

.preloader-div{
    top: 40vh;
    left: 5vw;
    z-index: 1000001;
    position: fixed;
}

.lablefont{
    font-size: 0.9rem;
    color: #495057;
    font-weight: bold;
}

/* .page-item.active .page-link {
    background-color: #13cae1 !important;
    border: 1px solid #13cae1;
} */

@media screen and (max-width: 1600px) {
    .form-input-text{
        height: 2vw;
        font-size: 0.8rem !important;
        padding-left: 5px !important;
    }
    
    #form-booking label, #form-new-client label{
        font-size: 0.8rem;
    }

    .sp-top{
        margin-top: 0.1rem;
    }

    .page-title-sm, .page-title-black-sm{
        color: #36c6d3;
        font-size: 0.8rem;
        font-weight: bold;
    }

    .lablefont{
        font-size: 0.8rem;
        color: #495057;
        font-weight: bold;
    }
}

@media screen and (max-width: 1400px) {
    .form-input-text{
        height: 2.5vw;
        font-size: 0.7rem !important;
        padding-left: 5px !important;
    }
    
    #form-booking label, #form-new-client label{
        font-size: 0.7rem;
    }

    .sp-top{
        margin-top: 0.1rem;
    }

    .btn-height{
        height: 2.5vw;
    }

    .page-title-sm, .page-title-black-sm{
        color: #36c6d3;
        font-size: 0.6rem;
        font-weight: bold;
    }

    .lablefont{
        font-size: 0.6rem;
        color: #495057;
        font-weight: bold;
    }
}

@media (max-width: 900px){
    .booking-view-booking{
        width: 10vw;
    }
}