/* *
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/*
=================================
BOOKING FORM STYLES - 26-9-17
=================================
*/

/* Date picker */

.datepicker-dropdown {
    left: 50% !important;
    transform: translateX(-50%);
}

.disabled-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 10;
    display: none;
}

/* BANNER / TITLE */

.page-template-booking-form-template .main-banner.smaller,
.page-template-woocommerce-template .main-banner.smaller {
    height: 300px;
}

.page-template-booking-form-template .banner-text {
    top: 70%;
    min-height: 100px;
}

.page-template-booking-form-template .banner-text h1 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

/* STEP TABS */

.step-tabs {
    width: 100%;
    clear: both;
}

.step-tabs .tab {
    width: 20%;
    float: left;
    height: 75px;
    min-height: 75px;
    text-align: center;
    position: relative;
    background-color: #ffffff;
}

.step-tabs .tab .inner-wrap {
    display: table;
    width: 100%;
    height: inherit;
    min-height: inherit;
    position: relative;
}

.step-tabs .tab.active {
    background-color: #f9b83d;
}

.step-tabs .tab .tab-content {
    display: table-cell;
    vertical-align: middle;
    padding: 0 10px;
    width: 100%;
}

.step-tabs .tab .number {
    display: block;
    font-weight: 600;
    color: #2f503d;
    font-size: 16px;
    font-size: 1rem;
}

.step-tabs .tab .tab-content p {
    font-size: 18px;
    font-size: 1.125rem;
    font-weight: 300;
    /* font-style: italic; */
    margin: 0;
    color: #2f503d;
    line-height: 1.4em;
    letter-spacing: 0.02em;
    font-family: "Merriweather", serif;
}

.step-tabs .tab .completed {
    background-color: #f9b83d;
    position: absolute;
    top: 50%;
    right: 25px;
    margin-top: -16px;
    width: 32px;
    height: 32px;
    z-index: 1;
    opacity: 0;
    background-image: url(../images/tick.svg);
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    transition: all 0.6s;
}

.no-svg .step-tabs .tab .completed {
    background-image: url(../images/tick.svg);
}

.step-tabs .tab.completed .completed {
    opacity: 1;
}

.booking-form {
    display: block;
    position: relative;
}

.booking-form .step-1 {
    opacity: 1;
}

.booking-form .step-5 {
    display: none;
}

.booking-form div.step-2.disabled {
    opacity: 0.6;
    pointer-events: none;
}

/* NEXT / PREV BUTTONS */

.booking-form .next-prev a .arrow {
    display: inline-block;
    height: 20px;
    width: 11px;
}

.booking-form .next-prev .prev {
    float: left;
}

/* GENRAL FORM */

.booking-form {
    min-height: 380px;
    position: relative;
}

.booking-form .loading-spinner.active {
    opacity: 1;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}

.booking-form .content-box {
    width: 100%;
    padding: 40px;
    min-height: 100px;
    margin-bottom: 40px;
    background-color: #ffffff;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
}

.booking-form {
    margin-bottom: 20px;
}

.booking-form h3 {
    margin-bottom: 10px;
}

.booking-form p {
    font-size: 17px;
    font-size: 1.125rem;
}

.booking-form input:-webkit-autofill,
.booking-form input:-webkit-autofill:hover,
.booking-form input:-webkit-autofill:focus,
.booking-form input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
}

.booking-form .uk-input {
    border: 1px solid lightgray;
    max-width: 300px;
    display: inline-block;
    background-color: #fff;
    text-transform: uppercase;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.booking-form .uk-input.date-field {
    padding: 22px 20px 22px 20px;
    height: 60px;
    border-radius: 50px;
}

.booking-form input.error {
    background-color: #ffd4d4;
}

.booking-form .error-messages .errors:empty {
    padding: 0;
    margin: 0;
    border: 0;
}

.booking-form .error-messages .errors {
    color: red;
    background-color: #ffd4d4;
    padding: 10px 20px;
    margin-bottom: 20px;
    border: 2px solid #ffa4a4;
    position: relative;
    z-index: 10;
}

.booking-form .radio-item {
    display: inline-block;
    position: relative;
    z-index: 10;
}

.booking-form .uk-card-step.error .radio-item label {
    background-color: #ffd4d4;
}

.booking-form .radio-item:nth-child(4n + 4) {
    margin-right: 0;
}

.booking-form label.button-radio {
    text-align: center;
    padding: 22px 20px 22px 20px;
    line-height: 1.2;
}

.booking-form ::-webkit-input-placeholder {
    color: #32523d;
}

.booking-form ::-moz-placeholder {
    color: #32523d;
}

.booking-form :-ms-input-placeholder {
    color: #32523d;
}

.booking-form :-moz-placeholder {
    color: #32523d;
}

.booking-form .skip-types,
.booking-form .waste-types {
    display: none;
}

.booking-form .radio-item input[type="radio"] {
    display: block;
    opacity: 0;
}

/* HIDDEN CONTENT */

.booking-form .hidden-description {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    -webkit-transition: grid-template-rows 0.4s;
    -moz-transition: grid-template-rows 0.4s;
    transition: grid-template-rows 0.4s;
}

.booking-form .hidden-description.open {
    grid-template-rows: 1fr;
}

.booking-form .hidden-description .description {
    box-sizing: border-box;
    width: 100%;
    min-height: 0;
    display: none;
}

.booking-form .hidden-description .description > * {
    padding: 30px 0;
}

.booking-form .hidden-description .description.active {
    display: block;
}

.booking-form .hidden-description .description .vertical-align {
    display: table;
}

.booking-form .hidden-description p {
    font-size: 16px;
    font-size: 1rem;
    text-align: left;
    line-height: 1.6rem;
    margin-bottom: 18px;
}

.booking-form .loading-spinner {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 5;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}

.booking-form .loading-spinner.active {
    opacity: 1;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}

.booking-form .loading-spinner img {
    display: block;
    margin: auto;
}

/* PERMIT */

.booking-form a.info {
    letter-spacing: 0.02em;
    font-weight: bold;
}

.booking-form .permit-options {
    text-align: center;
    margin-bottom: 20px;
}

.booking-form .permit-options .radio {
    float: none;
    display: inline-block;
    margin: 0 10px;
    position: relative;
}

.booking-form .permit-options .radio input[type="radio"] {
    display: none;
    position: absolute;
    left: -9999px;
}

.booking-form .permit-options .radio label {
    color: #454545;
    cursor: pointer;
    position: relative;
}

.booking-form .permit-options .radio label .check {
    position: relative;
    width: 30px;
    height: 30px;
    top: -2px;
    display: inline-block;
    cursor: pointer;
    vertical-align: middle;
    margin-right: 10px;
    border: 2px solid #454545;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.booking-form .permit-options input[type="radio"]:checked + label .check:before {
    content: "";
    background-color: #f9b83d;
    position: absolute;
    top: -2px;
    left: -2px;
    width: 34px;
    height: 34px;
    z-index: 1;
    background-image: url(../images/tick.svg);
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.no-svg .booking-form .permit-options input[type="radio"]:checked + label .check:before {
    background-image: url(../images/tick.png);
}

.booking-form .permit-options input[type="radio"]:checked + label {
    background-color: transparent;
}

.booking-form .date-field input[type="text"] {
    text-align: left;
    text-transform: none;
    background-image: url(../images/calendar-icon.svg);
    background-repeat: no-repeat;
    background-position: right 22px top 17px;
}

.no-svg .booking-form .date-field input[type="text"] {
    background-image: url(../images/calendar-icon.png);
}

.page-template-booking-form-template #ui-datepicker-div {
    outline: 2px solid #32523d;
}

.page-template-booking-form-template .ui-datepicker .ui-widget-header {
    border: 0 !important;
}

.page-template-booking-form-template .ui-datepicker .ui-corner-left {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

/* REVIEW TABLE */

.review-table .table {
    text-align: left;
    padding: 20px 0 10px 0;
}

.review-table .table .table-row {
    width: 100%;
    padding: 0;
    min-height: 50px;
    position: relative;
    color: #32523d;
    border-bottom: 1px solid #95989a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-table .table .table-row .col {
    width: 46%;
    float: none;
    display: table-cell;
    vertical-align: middle;
}

.review-table .table .table-row .label {
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    color: #32523d;
    padding-right: 20px;
}

.review-table .table .table-row .value {
    font-size: 15px;
    color: #32523d;
    font-family: "proxima-nova", sans-serif;
    width: calc(45% - 30px) !important;
}

@media (min-width: 639px) {
    .review-table .table .table-row .col {
        width: 45%;
    }

    .review-table .table .table-row .label {
        font-size: 1.2em;
    }

    .review-table .table .table-row .value {
        font-size: 1.125rem;
    }
}

.review-table .table .table-row .completed {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 20px;
    height: 20px;
    background-size: 12px;
    border-radius: 50%;
    background-color: #f9b83d;
    background-image: url(../images/tick.svg);
    background-repeat: no-repeat;
    background-position: center center;
}

@media (min-width: 639px) {
    .review-table .table .table-row .completed {
        width: 30px;
        height: 30px;
        background-size: 12px;
    }
}

.no-svg .review-table .table .table-row .completed {
    background-image: url(../images/tick.png);
}

.review-table .table .table-row.empty .completed {
    opacity: 0;
}

.step-5 h3 + h3 {
    color: #454545;
}

.step-5 h3 .order-total {
    font-size: 48px;
    font-size: 3rem;
    color: #f9b83d;
}

.woocommerce-additional-fields .disabled input,
.woocommerce-additional-fields .disabled label {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.5;
}

.empty-cart::before {
    content: '' !important;
}