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

.wpwh-container:after{
    content: '';
    display: block;
    clear: both;
}

/* Events Manager Pro */
.em-booking-form-details {
    width: auto;
    float: none;
}

div.wpwh-login,
div.wpwh-register,
div.em-booking-login,
div.em-booking-register {
    width: 48%;
    padding: 0;
    margin: 0 0 1rem;
    float: left;
    border: none;
}

div.wpwh-login,
div.em-booking-login {
    margin-right: 4%;
}

/* END Events Manager Pro */

.wpwh-form {
    position: relative;
}

.wpwh-form .error {
    display: block;
    width: 100%;
    color: red;
}

.wpwh-form .error.error--main {
    font-size: 1.2em;
    font-weight: 700;
}

.wpwh-form > div:not(#loading-wrapper) {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 0 1em 0;
    align-items: flex-start;
}

.wpwh-form > div:not(#loading-wrapper) > input,
.wpwh-form > div:not(#loading-wrapper) > select {
    width: 74%;
}

.wpwh-form > div:not(#loading-wrapper) > label {
    width: 23%;
}


#wpwh_registerform .error{
    color: red;
}

.em-booking-form h3 > label{
    width: auto;
    float: none;
    cursor: pointer;
}

.em-booking-form label,
.em-booking-form-details input.input,
.em-booking-form-details select,
.em-booking-form-details textarea{
    width: 100%;
}
@media screen and (min-width: 1024px) {
    .em-booking-form label{
        width: 25%;
    }
    .em-booking-form-details input.input,
    .em-booking-form-details select,
    .em-booking-form-details textarea{
        width: 75%;
    }
}

.billing_address_alternate_wrapper:after {
    display: block;
    clear: both;
    content: '';
}
#billing_address_alternate + .billing_address_alternate_fields,
.form_toggle_wrapper + *{
    display: none;
}
#billing_address_alternate:checked + .billing_address_alternate_fields,
.form_toggle_wrapper.opened + *{
    display: block;
}

#em-booking-form .input-group.input-field-billing_address_country {
    margin-bottom: 0;
}

.wpwh-register,
.em-booking-register{
    position: relative;
}

.em-booking-buttons{
    clear: both;
}

.em-booking-form-details{
    width: auto;
    float: none;
    padding: 0;
}
div.em-booking-login{
    padding: 0;
    margin: 0;
    border: none;
}

/*.wpwh-my-account-view + .wpwh-my-account-edit{*/
/*    display: none;*/
/*}*/
.wpwh-form.edit .wpwh-my-account-view,
.wpwh-form.edit .wpwh-my-account-view-toggle:not(.wpwh-my-account-view-toggle--cancel),
.wpwh-form:not(.edit) .wpwh-my-account-view-toggle.wpwh-my-account-view-toggle--cancel,
.wpwh-form:not(.edit) .wpwh-my-account-edit{
    display: none;
}

/*
    oauth
 */

a.oauth-provider:after {
    /**
        for preloading images
     */
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    z-index: -1;
}

a.oauth-provider {
    background: transparent center no-repeat;
    background-size: cover;
    width: 191px;
    height: 46px;
    border: none;
    border-radius: 0;
    color: transparent;
    font-size: 0;
    display: block;
}

a.oauth-provider:hover,
a.oauth-provider:focus,
a.oauth-provider:active {
    box-shadow: none;
    outline: none;
    border: none;
}

a.oauth-provider.oauth-provider--google:after {
    /**
        preload images
     */
    content: url("../img/oauth/google/btn_google_signin_dark_normal_web@2x.png") url("../img/oauth/google/btn_google_signin_dark_focus_web@2x.png") url("../img/oauth/google/btn_google_signin_dark_pressed_web@2x.png");
}

a.oauth-provider.oauth-provider--google {
    background-image: url("../img/oauth/google/btn_google_signin_dark_normal_web@2x.png");
}

a.oauth-provider.oauth-provider--google:hover {
    background-image: url("../img/oauth/google/btn_google_signin_dark_focus_web@2x.png");
}

a.oauth-provider.oauth-provider--google:focus {
    background-image: url("../img/oauth/google/btn_google_signin_dark_pressed_web@2x.png");
}

a.oauth-provider.oauth-provider--google-light:after {
    /**
        preload images
     */
    content: url("../img/oauth/google/btn_google_signin_light_normal_web@2x.png") url("../img/oauth/google/btn_google_signin_light_focus_web@2x.png") url("../img/oauth/google/btn_google_signin_light_pressed_web@2x.png");
}

a.oauth-provider.oauth-provider--google-light {
    background-image: url("../img/oauth/google/btn_google_signin_light_normal_web@2x.png");
}

a.oauth-provider.oauth-provider--google-light:hover {
    background-image: url("../img/oauth/google/btn_google_signin_light_focus_web@2x.png");
}

a.oauth-provider.oauth-provider--google-light:focus {
    background-image: url("../img/oauth/google/btn_google_signin_light_pressed_web@2x.png");
}
/*
    END oauth
 */


#loading-wrapper {
    display: none;
    background-color: rgba(255, 255, 255, .5);

    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

#loading {
    width: 40px;
    height: 40px;
    position: absolute;
    top: calc(50% - 20px);
    left: calc(50% - 20px);
}

.sk-cube-grid {
    width: 40px;
    height: 40px;
    margin: 100px auto;
}

.sk-cube-grid .sk-cube {
    width: 33%;
    height: 33%;
    background-color: #333;
    float: left;
    -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
    animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
}

.sk-cube-grid .sk-cube1 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.sk-cube-grid .sk-cube2 {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.sk-cube-grid .sk-cube3 {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.sk-cube-grid .sk-cube4 {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.sk-cube-grid .sk-cube5 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.sk-cube-grid .sk-cube6 {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.sk-cube-grid .sk-cube7 {
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}

.sk-cube-grid .sk-cube8 {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.sk-cube-grid .sk-cube9 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

@-webkit-keyframes sk-cubeGridScaleDelay {
    0%, 70%, 100% {
        -webkit-transform: scale3D(1, 1, 1);
        transform: scale3D(1, 1, 1);
    }
    35% {
        -webkit-transform: scale3D(0, 0, 1);
        transform: scale3D(0, 0, 1);
    }
}

@keyframes sk-cubeGridScaleDelay {
    0%, 70%, 100% {
        -webkit-transform: scale3D(1, 1, 1);
        transform: scale3D(1, 1, 1);
    }
    35% {
        -webkit-transform: scale3D(0, 0, 1);
        transform: scale3D(0, 0, 1);
    }
}