
.newsletter-form{
    border-radius: 0 !important;
}


.data-capture .newsletter-form form.mail-signup-form{
    padding-right: 0;
}

.newsletter-form form.mail-signup-form .hidden{
    display: none;
}

.newsletter-form form.mail-signup-form .sr-only {
    border: 0 !important;
    clip: rect(1px, 1px, 1px, 1px) !important; /* 1 */
    -webkit-clip-path: inset(50%) !important;
        clip-path: inset(50%) !important;  /* 2 */
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;            /* 3 */
}

.newsletter-form form.mail-signup-form .error{
    color: red;
}

body.photo .darkness .content .newsletter-form form.mail-signup-form h4,
.newsletter-form form.mail-signup-form h4{
    color: #3a3a3a;
    margin-top: 20px;
}


/** inline form override **/
.data-capture .newsletter-form form.mail-signup-form h4{
    margin-top: 30px;
}

.newsletter-form form.mail-signup-form .email-form-group{
    position: relative;
}

.newsletter-form form.mail-signup-form .email-form-group button{
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 80px;
    overflow: hidden;
    text-indent: -99999px;
    height: 60px;
    margin: 0;
    padding: 0;
    font-size: 18px;
    background-color: var(--primary_color, #155177);
    color: #fff;
    border: none;
    cursor: pointer;
    outline: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
    -webkit-transition: background-color .5s;
    transition: background-color .5s;
    background-image: url(https://www.wildernessscotland.com/wp-content/themes/wilderness2018/images/icon-next-white.svg);
    background-position: center;
    background-size: 12px;
    background-repeat: no-repeat;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

@media screen and (max-width: 740px){
    .newsletter-form form.mail-signup-form .email-form-group button{
        height: 50px;
        width: 70px;
    }

}

@media screen and (max-width: 480px){
    .newsletter-form form.mail-signup-form .email-form-group button{
        height: 40px;
        width: 60px;
    }

}




.newsletter-form form.mail-signup-form .email-form-group button:hover,
.newsletter-form form.mail-signup-form .email-form-group button:active,
.newsletter-form form.mail-signup-form .email-form-group button:focus{
    background-color: var(--secondary_color, #155177);
}



.data-capture .newsletter-form form input[type=email],
.newsletter-form form.mail-signup-form .email-form-group input[type=email]{
    width: calc(100% - 1px);
    padding-right: 100px;
    float: none;
    border-radius: 6px;
}

.form-extras{
    display: block;
    background: #f2f2f2;
    opacity: 0;
    transition: max-height 0.2s ease, opacity 0.4s ease 0.2s;
    border-radius: 6px;
    text-align: center;
    max-height: 0;
    overflow: hidden;
}


.form-extras.vis{
    margin: 20px 0 40px 0;
    padding: 20px;
    display: block;
    opacity: 1;
    max-height: 1000px;
}




.data-capture .newsletter-form form input[type=text],
.newsletter-form form.mail-signup-form .form-extras input[type=text]{
    width: 50%;
    background-color: #fff;
    float: left;
}

.newsletter-form form.mail-signup-form .form-extras input.mail-signup-first_name{
    border-right: 1px solid #f1f1f1;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}
.newsletter-form form.mail-signup-form .form-extras input.mail-signup-last_name{
    border-left: 1px solid #f1f1f1;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

@media screen and (max-width: 480px){
    .newsletter-form form.mail-signup-form .form-extras input.mail-signup-first_name,
    .newsletter-form form.mail-signup-form .form-extras input.mail-signup-last_name{
        width: 100%;
        border-left: none;
        border-right: none;
        border-radius: 6px;
    }

    .newsletter-form form.mail-signup-form .form-extras input.mail-signup-first_name{
        margin-bottom: 10px;
    }

}




.newsletter-form form.mail-signup-form .form-extras .interest{
    margin: 20px 0 10px 0;
}

/** inline form overrides **/
.data-capture .newsletter-form form.mail-signup-form .form-extras .interest{
    margin: 30px 0 10px 0;
}

.newsletter-form form.mail-signup-form .form-extras .interest label{
    display: inline-block;
    margin: 0 13px 17px 0;
    font-size: 16px;
    color: #262626;
    line-height: 1.2;
}

/** inline form overrides **/
.data-capture .newsletter-form form.mail-signup-form .form-extras .interest label{
    margin: 0 15px 27px 15px;
}

@media screen and (max-width: 375px){
    .newsletter-form form.mail-signup-form .form-extras .interest label{
        display: block;
    }
}



.newsletter-form form.mail-signup-form .form-extras .interest label > input{
    position: relative;
    margin-right: 5px;
}





.newsletter-form form.mail-signup-form .form-extras .country-interest{
    margin: 20px 0 10px 0;
}

/** inline form overrides **/
.data-capture .newsletter-form form.mail-signup-form .form-extras .country-interest{
    margin: 30px 0 10px 0;
}

.newsletter-form form.mail-signup-form .form-extras .country-interest label{
    display: inline-block;
    margin: 0 13px 17px 0;
    font-size: 16px;
    color: #262626;
    line-height: 1.2;
}

/** inline form overrides **/
.data-capture .newsletter-form form.mail-signup-form .form-extras .country-interest label{
    margin: 0 15px 27px 15px;
}

@media screen and (max-width: 375px){
    .newsletter-form form.mail-signup-form .form-extras .country-interest label{
        display: block;
    }
}

.newsletter-form form.mail-signup-form .form-extras .country-interest label > input{
    position: relative;
    margin-right: 5px;
}


.newsletter-form form.mail-signup-form.mail-signup-form input[type=submit]{
    position: static;
    float: none;
    margin: 0 auto;
    border-radius: 40px;
    padding: 16px 52px;
    height: auto;
    width: auto;
    margin-bottom: 5px;
}


/** overrides for blog/shortcode forms **/
.data-capture .newsletter-form form.mail-signup-form .form-extras input[type=text],
.data-capture .newsletter-form form.mail-signup-form input[type=email]{
    padding-top: 0;
}


.data-capture .newsletter-form form.mail-signup-form .email-form-group button{
    height: 70px;
}




/** narrow overrides **/
@media (min-width: 1240px){


    .narrow .data-capture .col {
        padding: 0 20px 0 20px;
        float: none;
        height: auto;
    }
    .narrow .data-capture .col.span-1-2 {
        width: 100%;
    }

    .narrow .data-capture .col.mail-icon {
        background-position: 50% 0;
        padding: 80px 20px 0 20px;
        text-align: center;
    }

    .narrow .data-capture .col.mail-icon .text-con p{
        margin-bottom: 20px;
    }


}

@media (max-width: 480px){
    .narrow .data-capture .col {
        padding: 0 20px 0 20px;
    }

    .narrow .featured-signup{
        padding: 20px 0;
    }
}


.form-extras.vis .gcaptcha-placeholder{
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 30px;
}