/* Profile section and Tabs */
select.instructor-item-status {
    padding: 5px 3px;
    width: 100%;
    border-radius: 3px;
    -webkit-appearance: auto;
}

.your-profile select, 
.your-profile input {
    padding: 1.4rem 0.5rem;
    border-radius: 5px;
    border: 1px solid black;
}

select.profile-select {
    background-color: #F2F1BA;
    border: 2px solid #d2dc6a;
    font-size: 17px;
    font-weight: 700;
    border-radius: 10px;
    z-index: 10;
    position: relative;
    padding: 1rem 0.5rem;
}

h5.profile-heading {
    color: #ffffff;
    z-index: 3;
    position: relative;
    font-weight: 400;
    font-size: 2.1rem;
    margin-top: -7px;
    cursor: pointer;
}

.tab-content {
    display: block;
    position: relative;
    background: #d2dc6a;
    border-radius: 5px;
    padding: 15px;
    width: 100%;
    overflow: hidden;
}

.tab-content:before {
    content: '';
    position: absolute;
    height: 54px;
    display: block;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 0;
    background: #83266C;
    border-bottom: 2px solid #631E51;
}

.tab-content.current{
    display: inherit;
}

.tab-content#tab-virtual {
    border: 1px solid #83266C;
    background: #ffffff;
}

.tab-content.closed.collapsible {
    height: 54px;
    overflow: hidden;
}

.collapsible.tab-content.closed .profile-heading:after {
    content: 'Open \21E9';
    color: #ffffff;
    position: absolute;
    right: 0px;
    top: 0px;
    font-size: 15px;
}

.collapsible.tab-content.open .profile-heading:after {
    content: 'Close \21E7';
    color: #ffffff;
    position: absolute;
    right: 0px;
    top: 0px;
    font-size: 15px;
}

a.short-link,
img.wpkqcg_qrcode {
    margin: 0 auto;
    display: block;
}

label.acf-basic-uploader {
    padding: 0;
}

.tab-content .acf-form .acf-fields > .acf-field {
    border: 0 !important;
}

.tab-content .acf-fields.-border {
    border: none !important;
    background: transparent !important;
}

.tab-content .acf-url i {
    top: 12px;
}

.fancybox-content .acf-field input,
.tab-content .acf-field input,
.tab-content .acf-field select {
    border-radius: 4px;
}

.fancybox-content table,
.fancybox-content table th,
.fancybox-content table td {
    border: 0;
}

#setup-form {
    width: 100%;
    max-width: 700px;
}

p.readmore-profile {
    font-style: italic;
    padding: 0 5px;
    background: #F2F1BA;
    position: relative;
    left: -15px;
    top: -13px;
    width: calc(100% + 30px) !important;
}

p.readmore-profile:after {
    content: "";
    background: url(../img/logos/walx-logo.png);
    display: block;
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 60px;
    height: 29px;
    background-size: 100%;
    background-repeat: no-repeat;
}

.account-rows div:not(.omit) {
    background: #f2f1ba;
    border-radius: 5px;
    position: relative;
    color: #4d4d4d;
    overflow: hidden;
}

.account-rows div:not(.omit):before {
    position: absolute;
    background: #4d4d4d;
    content: '';
    height: 100%;
    width: 140px;
}

.account-rows div span.ac-label  {
    width: 140px;
    display: inline-block;
    padding: 10px;
    position: relative;
    background: #4d4d4d;
    color: white;
    font-weight: 400;
    vertical-align: top;
}

.account-rows div span.ac-label label {
    font-weight: 400;
}

.account-rows div span.ac-value {
    padding: 10px;
    width: calc(100% - 150px);
    display: inline-block;
}

#display-member-card {
    border-radius: 35px;
    width: 100%;
    max-width: 550px;
}

#profile-stored-cards .card-icon img,
.stored-cards .card-icon img {
    display: inline-block;
    max-width: 60px;
}

#profile-stored-cards table tr td:first-of-type {
    display: none;
}

#profile-stored-cards table,
.stored-cards table {
    margin-top: 10px;
}

#profile-stored-cards table thead {
    background: #F2F1BA;
}

#profile-stored-cards table tbody {
    background: #FFFFFF;
}

#profile-stored-cards table thead tr td,
.stored-cards table thead tr td {
    font-weight: 700;
}

#profile-stored-cards tr,
#profile-stored-cards td {
    border: 1px solid #000000;
}

.stored-cards tr,
.stored-cards td  {
    border: 1px solid #fdfdfd;
}

a.remove-card {
    display: inline-block;
    color: #4d4d4d;
    font-size: 20px;
}

.profile-submit-wrap {
    text-align: center;
    margin-top: 20px;
}
/***************/

/* Full Calendar */
#bookings-calendar {
    background: #ffffff;
    width: 100%;
    max-height: 900px;
    padding: 10px;
    border-radius: 10px;
    margin: 0 auto;
}

.fc-direction-ltr .fc-daygrid-event.fc-event-end, .fc-direction-rtl .fc-daygrid-event.fc-event-start {
    margin-right: 2px;
    font-size: 12px;
    color: #000000;
    white-space: break-spaces;
    margin-bottom: 10px;
}

.fc-daygrid-dot-event .fc-event-title {
    flex-grow: 0;
    overflow: visible;
    text-align: left;
}

.fc .fc-list-event-dot,
.fc-daygrid-event-dot {
    height: -1px;
    width: -1px;
    border-radius: 30px;
    border-width: 6px;
}

.fc .fc-list-event-dot {
    border-width: 15px;
}

.fc .fc-daygrid-day-frame {
    min-height: 150px;
}

.fc-daygrid-event.booked-event, 
.fc-timegrid-event.booked-event,
.fc-list-event.booked-event,
.fc-daygrid-event.booked-event:hover, 
.fc-timegrid-event.booked-event:hover,
.fc-list-event.booked-event:hover {
    background: grey;
    color: white !important;
}

.fc-daygrid-event.past-event, 
.fc-timegrid-event.past-event,
.fc-list-event.past-event,
.fc-daygrid-event.past-event:hover, 
.fc-timegrid-event.past-event:hover,
.fc-list-event.past-event:hover {
    opacity: 0.4;
    cursor: not-allowed;
}

.fc-daygrid-event.waiting-list-booking, 
.fc-timegrid-event.waiting-list-booking,
.fc-list-event.waiting-list-booking,
.fc-daygrid-event.waiting-list-booking:hover, 
.fc-timegrid-event.waiting-list-booking:hover,
.fc-list-event.waiting-list-booking:hover {
    /* background: linear-gradient(225deg, #ffabab, #ffdaab, #ddffab, #abe4ff, #d9abff); */
    background: linear-gradient(225deg, #83266c, #d2dc6a, #83266c, #d2dc6a);
    background-size: 300% 300%;
    color: black !important;
    -webkit-animation: Rainbow 25s ease infinite;
    -moz-animation: Rainbow 25s ease infinite;
    animation: Rainbow 25s ease infinite;
}

@-webkit-keyframes Rainbow {
  0% {background-position: 94% 0%; }
  50% {background-position: 7% 100%; }
  100% {background-position: 94% 0%; } 
}
/***************/

/* Staff Profile Section */
.staff-profile header {
    position: absolute;
}

.staff-profile .fullwidth.hero-bg.bg-beige.slope-b-l5vw {
    display: none;
}

.staff-profile .hero.hero-slim {
    grid-template-rows: 10rem;
}

.staff-profile .hero-content h2 {
    font-size: 5rem;
}

.staff-profile #tab-content-container {
    padding: 0;
}

.staff-profile #preview {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 100000000000;
    padding: 5px;
}

.staff-profile #preview .preview-inner {
    background: white;
    border: 2px solid #ffffff;
    border-radius: 5px;
    overflow: hidden;
}

.staff-profile #preview .close-preview {
    position: fixed;
    z-index: 200000000000000;
    margin: 10px;
}

.staff-profile .refresh-instructor-report-data, 
.staff-profile .view-group-page,
.staff-profile .view-additional-page {
    position: absolute;
    top: 9px;
    right: 9px;
    z-index: 20;
}

.staff-profile #tab-content-container {
    font-size: 1.4rem;
    border-radius: 5px;
}

.staff-profile .tab-content {
    background: rgb(210 220 106 / 20%);
    display: none;
    border-radius: 5px;
}

.staff-profile .tab-content.current {
    display: block;
}

.staff-profile .tab-content:before {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.staff-profile .dt-buttons button {
    margin-bottom: 20px; 
    border: 0; 
    padding: 7px 10px; 
    background: #2e2e2c; 
    color: #ffffff; 
    border-radius: 3px;
}

.staff-profile table {
    font-size: 1.3rem;
}

.staff-profile .instructor-event-list-select {
    width: 100%;
}

.staff-profile select.profile-select {
    background-color: #f2f1ba;
    border: 1px solid #83266c!important;
    border-radius: 5px;
    width: 100%;
}

.staff-profile select:hover,
.staff-profile select:focus {
    box-shadow: none;
    border-color: 0;
    outline: none;
}

.staff-profile #instructor-data thead td {
    font-weight: 700;
}

.staff-profile #instructor-data thead {
    background-color: #f2f1ba;
}

.staff-profile #instructor-data tbody {
    background-color: #FFFFFF;
}

.staff-profile #qr-canvas {
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
    height: 400px;
}

.staff-profile #btn-scan-qr {
    cursor: pointer;
}

.staff-profile #btn-scan-qr img {
    height: 10em;
    padding: 15px;
    margin: 15px;
    background: white;
}

.staff-profile #qr-result {
    font-size: 1.2em;
    margin: 20px auto;
    padding: 20px;
    max-width: 700px;
    background-color: white;
}

.staff-profile #customer-booking-container {
    width: 100%;
    max-width: 700px;
    min-height: 500px;
}

.staff-profile #current-day-activites-container select {
    width: 100%;
}

.staff-profile .acf-button-group {
    flex-wrap: wrap;
}

.staff-profile .acf-button-group label {
    margin: 1px;
}

.staff-profile label[for="acf-field_68e39862dd57f"] {
    display: none !important;
}

/***************/

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

}

@media screen and (min-device-width: 768px) and (max-device-width: 1180px) and (-webkit-min-device-pixel-ratio: 1.5) {

    .tab-content fieldset,
    .tab-content fieldset.inline {
        width: 100%;
        padding: 20px 0 0 0;
        display: block;
    }

    .tab-content h5.profile-heading {
        margin-top: -3px;
    }

    .fc .fc-daygrid-event-harness {
        width: 100%;
    }

    .fc-direction-ltr .fc-daygrid-event.fc-event-end, .fc-direction-rtl .fc-daygrid-event.fc-event-start {
        display: block;
        white-space: normal;
        width: 100%;
    }

    .fc-daygrid-dot-event .fc-event-title {
        flex-shrink: 0;
        overflow: hidden;
        width: 100%;
    }

}

@media only screen and (max-width: 786px) {

    .staff-profile .hero.hero-slim .hero-content {
        padding-top: 70px;
    } 

    .staff-profile .view-group-page,
    .staff-profile .view-additional-page {
        top: 5px;
    }

    .staff-profile .acf-fields > .acf-field {
        padding: 15px 0px;
    }

} 

@media only screen and (max-width: 690px) {

    #tab-content-container {
        width: 100%;
    }

    .tab-content {
        padding: 15px 5px;
    }

    .tab-content:before {
        height: 45px;
    }

    .tab-content.closed.collapsible {
        height: 45px;
    }

    .fc .fc-button-group {
        margin-bottom: 0px;
    }

    p.readmore-profile {
        left: -5px;
        width: calc(100% + 10px) !important;
    }

    .account-rows div:before {
        height: 0 !important;
    }

    .account-rows div span.ac-label {
        display: block;
        padding: 5px;
        width: 100%;
    }

    .account-rows div span.ac-value {
        width: 100%;
    }

    .account-rows input {
        margin: 5px 0;
    }

    #bookings-calendar {
        max-height: none;
        height: 80vh;
    }

    #bookings-calendar .fc-toolbar-title {
        font-size: 1.25em;
        margin: 0;
    }

}