/* header */
.wp-site-blocks { padding: 1rem 0; }
.egp-logo { padding-bottom: 0!important; }
header {
    position: fixed;
    z-index: 90000;
    height: auto;
    height: 90px;
    background-color: #fff;
    width: 100%;
    margin: 0;
    padding: 10px;
    top: 0px;
    /*opacity: 0.5;*/
}
.wp-block-post-title {
    padding-top: 1.5rem;
}

/* content */
main { /*margin-top: 0px!important;*/ }
main .wp-block-template-part { display: none; }

/* footer */
footer {
    /*display: table-cell;*/
    display: table;
    margin: 0 auto;
    justify-content: center;
}

/* password after opt-in */
.egp-password {
    text-align: center;
    opacity: 0.5;
    background-color: #ffffff;
}
.egp-password a {
    background-color: #cc0000;
    border-radius: 10px;
    border: 1px solid #cc0000;
    color: white;
    padding: 8px 8px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
}
/* general */
.egp-hidden { display: none; }

/* envira */
.envira-gallery-wrap .envira-album-image-count {
	padding-top: 1.5rem!important;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
}
.envira-album-title {
	color: #ffffff!important;
	background-color: #000000!important;
	margin: 16px 0!important;
	padding: 8px 0!important;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
}
#envira-gallery-1281 {
    margin-bottom: 20px; 
    font-size: 18px; 
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
}

/* contact form 7 */
#egp-optin-form, .egp-form-bkg {
    background-color:rgba(255, 255, 255, 0.5);
    padding: 1rem;
    font-size: 1.5rem;
}
#egp-optin-form, .egp-form-bkg p {
    margin: 0;
    text-align: center;
}
.wpcf7-response-output {
    border-color: #ffe400!important;
}

    /* form field */
    input.cf7_input {
        width: 80%;
        background: transparent;
        border: none;
        border-bottom: 1px solid #fff;
        margin-bottom: 1.5rem;
        padding: 10px 0;
        color: #fff;
        font-size: 1em;
        text-align: center;
    }
    input.cf7_input:focus {
        outline: none;
    }

    input.cf7_input:-webkit-autofill,
    input.cf7_input:-webkit-autofill:hover,
    input.cf7_input:-webkit-autofill:focus,
    input.cf7_input:-webkit-autofill:active {
        transition: background-color 5000s ease-in-out 0s;
        -webkit-text-fill-color: #fff;
    }

    /* checkbox */
    .wpcf7-list-item {
        display: flex;
    }
    /*
    input[type=checkbox], input[type=radio] {
        box-sizing: border-box;
        padding: 0;
        height: 22px;
        width: 22px;
        background-color: transparent;
        border: 1px solid #fff;
        margin: 5px 10px 0 0;
    }
    */
    .wpcf7-list-item-label {
        color: #fff;
    }

    /* custom checkbox */
    .custom-checkbox .wpcf7-list-item {
        position: relative;
        display: block;
        margin-top: 10px;
        margin-bottom: 10px;
        line-height: 20px;
    }
    .custom-checkbox .wpcf7-list-item span {
        display: block;
        margin-left: 20px;
        padding-left: 15px;
        line-height: 20px;
        text-align: left;
    }
    .custom-checkbox .wpcf7-list-item span::before {
        content: "";
        display: block;
        position: absolute;
        width: 22px;
        height: 22px;
        top: 0;
        left: 0;
        background: transparent;
        border: 1px solid #fff;
        @include vendorize(box-shadow, inset 2px 2px 0px 0px rgba(0, 0, 0, 0.1));
    }
    .custom-checkbox .wpcf7-list-item span::after {
        display: block;
        position: absolute;
        width: 22px;
        height: 22px;
        top: 0;
        left: 0;
        font-size: 18px;
        color: #0087b7;
        line-height: 20px;
        text-align: center;
    }
    .custom-checkbox .wpcf7-list-item input[type="checkbox"] {
        opacity: 0;
        z-index: 1;
        position: absolute;
        width: 22px;
        height: 22px;
    }
    .custom-checkbox .wpcf7-list-item input[type="checkbox"]:checked + span::after {
        /*font-family: "FontAwesome";
        color: #ffe400;
        content: "\f00c";*/
        background: transparent;
        color: #ffe400;
        font-family: "Averta for TBWA";
        content: "✓";
        font-weight: bold;
        padding-top: 2px;
        -webkit-transform: rotate(15deg);
        transform: rotate(15deg);
    }

    /* submit button */
    input[type="submit" i] {
        display: inline-block;
        background: transparent;
        color: #fff;
        font-size: 1rem;
        line-height: 15px;
        padding: 15px 30px 13px 26px;
        border: 1px solid #fff;
        -webkit-transition: all 0.2s;
        transition: all 0.2s;
        margin-left: 4rem;
    }
    input.wpcf7-submit:hover {
        text-decoration: none;
        border: 1px solid #ffe400;
        color: #cc0000;
    }
    .wpcf7-spinner::before {
        background-color: #ffe400;
    }

    /* response message */
    .hide-response {
        display: none!important;
    }

    /* response output */
    .wpcf7-not-valid-tip {
        color: #cc0000;
        font-size: 0.75em;
    }
    .wpcf7-form input:invalid {
        outline: unset;
    }
    .wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.sent .wpcf7-response-output {
        border: 1px solid #ffe400;
        margin: 1rem 0;
        text-align: center;
    }
    .wpcf7 form .wpcf7-response-output {
        color: #cc0000;
        margin: 2em 0em 1em;
    }
