/*
    GFFW Hopup Styling
*/

.gffw-hopup-headline {
    font-size: 45px;
    font-family: 'geomanistblack', 'Century Gothic', 'Avenir', sans-serif;
    color: #d228f4;
    line-height: 45px;
    margin: 5px auto;
    /*margin-top: 20px;*/
    /*margin-bottom: 15px;*/
}

.gffw-hopup-tagline {
    font-size: 18px;
    font-family: 'geomanistmedium', 'Century Gothic', 'Avenir', sans-serif;
    color: #59595c;
    line-height: 25px;
    margin: 10px auto;
    /*margin-bottom: 10px;*/
}

.gffw-hopup #gffw-hopup-email,
.gffw-hopup #gffw-hopup-first-name,
.gffw-hopup #gffw-hopup-last-name {
    border-radius: 0;
    font-family: 'geomanistextralight', 'Century Gothic', 'Avenir', sans-serif;
    font-size: 16px;
    color: #53565a;
    font-weight: bold;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px 10px 7px;
    margin-top: 10px;
}

.gffw-hopup #gffw-hopup-first-name {
    width: 45%;
    float: left;
    margin-right: 5%;
}

.gffw-hopup #gffw-hopup-last-name {
    width: 50%;
}

.gffw-hopup #gffw-hopup-email:focus,
.gffw-hopup #gffw-hopup-first-name:focus,
.gffw-hopup #gffw-hopup-last-name:focus {
    background-color: white;
}

.gffw-hopup-link {
    margin: 20px auto;
}

.gffw-hopup .sign-up {
    border-radius: 0;
    background: #d228f4;
    color: white;
    font-family: 'geomanistbold', 'Century Gothic', 'Avenir', sans-serif;
    font-size: 22px;
    margin: 10px auto;
    font-weight: 700;
    padding: 10px 30px 11px;
    text-transform: uppercase;
    vertical-align: bottom;
    border: 0;
    margin-top: 0;
    margin-bottom: 0;
}
.gffw-hopup .sign-up:hover, .gffw-hopup .sign-up:active, .gffw-hopup .sign-up:focus, .gffw-hopup .sign-up:visited  {
    background: #d228f4;
}

.gffw-footer-text {
    font-size: 14px;
    /*font-family: 'geomanistextralight', 'Century Gothic', 'Avenir', sans-serif;*/
    color: #53565a;
    margin: 10px auto;
}
.gffw-hopup-success li a {
    color: #FFFFFF !important;
}

#gffw-hopup-html.gffw-hopup-success {
    height: 100%;
}

.gffw-hopup-success-logo {
    margin-top: 50px;
}

.gffw-hopup-success-title {
    font-size: 24px;
    font-family: 'geomanistblack', 'Century Gothic', 'Avenir', sans-serif;
    color: #d228f4;
    line-height: 45px;
    margin: 0 auto;
    margin-bottom: 5px;

}
.gffw-hopup-success-msg {
    font-family: 'geomanist_regularregular', 'Century Gothic', 'Avenir', sans-serif;
    font-size: 16px;
    line-height: 22px;
    color: #59595c;
}
div.gffw-success-share {
    width: 60%;
    margin: 0 auto;
    margin-top: 40px;
}
.gffw-success-share div {
    width: 75px;
    margin-right: 12px;
    margin-top: -10px;
    height: 50px;
}
.gffw-success-share a {
    color: #d228f4;
    font-family: 'geomanistmedium', 'Century Gothic', 'Avenir', sans-serif;
}
.gffw-share-facebook {
    float: left;
}
.gffw-share-twitter {
    float: right;
}
.gffw-hopup-footer {
    padding-bottom: 1em;
}

.gffw-hopup-footer ul {
    padding: 0.2em 2em;
    list-style-type: none;
    display: flex;
    justify-content: space-between;
}

.gffw-hopup-footer li a {
    font-size: 1.2em;
    color: #4a4a4a;
    line-height: 14px;
    font-weight: normal;
}


.gffw-hopup ::-webkit-input-placeholder {
    color: #989898;
    opacity: 1;
}

.gffw-hopup :-moz-placeholder {
    color: #989898 !important;
    opacity: 1;
}

.gffw-hopup ::-moz-placeholder {
    color: #989898 !important;
    opacity: 1;
}

.gffw-hopup :-ms-input-placeholder {
    color: #989898;
    opacity: 1;
}

.gffw-hopup :placeholder-shown {
    color: #989898;
    opacity: 1;
}

.gffw-hopup .disabled {
    background: #949494 !important;
}

.gffw-hopup div.error-message {
    height: 18px;
    color: #FC1B99;
    font-size: 13px;
    margin: 0px;
    text-align: left;
    font-family: 'geomanist_regularregular', 'Century Gothic', 'Avenir', sans-serif;
    /*padding-top: 4px;*/
    line-height: 18px;

}
.gffw-hopup input.error {
    border: 1px solid #FC1B99 !important;
}

.gffw-hopup .sf_field_Data_use_consent_signup_form__c.error label {
    color: darkred;
}

.gffw-hopup .gffw-hopup-image {
    height: 380px;
    width: 260px;
}


/* ----------------------------------------------------------------------
 * -- Colorbox and Date Picker Overrides
 * ---------------------------------------------------------------------- */

/* center on iphone */
@media only screen and (min-width : 200px) {
    .gffw-hopup .desktop-only {
        display: none;
    }

    .gffw-hopup-text {
        padding: 15px;
        text-align: center;
        overflow: hidden;
    }
    .gffw-footer-text {
        width: 80%;
    }
    .gffw-hopup-footer {
        width: 100%;
    }
    .gffw-hopup-footer ul {
        padding: 0px;
    }
    #optin-form-inner {
        /*padding-bottom: 25px;*/
    }
    /* font-size set higher on mobile to avoid zoom in */
    .gffw-hopup #gffw-hopup-email,
    .gffw-hopup #gffw-hopup-first-name,
    .gffw-hopup #gffw-hopup-last-name,
    .gffw-hopup input[type="text"],
    .gffw-hopup input[type="text"]:focus,
    .gffw-hopup input[type="text"]:hover,
    .gffw-hopup input[type="date"],
    .gffw-hopup input[type="date"]:focus,
    .gffw-hopup input[type="date"]:hover,
    .gffw-hopup input[type="email"],
    .gffw-hopup input[type="email"]:focus,
    .gffw-hopup input[type="email"]:hover {
        font-size: 16px;
    }
    .gffw-hopup .sign-up {
        -webkit-appearance: none;
    }


}

/* center on iphone */
@media only screen and (min-width : 321px) {


}

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

    #gffw-hopup-html {
        position: relative;
        height: 380px;
        width: auto;
        display: inline-block;
    }
    .gffw-hopup-image {
        /*width: 260px;*/
        /*float: left;*/
    }
    .gffw-hopup-text {
        margin: 0px 15px;
        width: auto;
        padding-left: 50px;
    }
    .gffw-footer-text {
        width: 490px;
        text-align: center;
        float: right;
        margin: 0 auto;
        position: absolute;
        bottom: 7px;
        right: 0;
    }
    .gffw-hopup-footer {
        position: absolute;
        bottom: 0px;
        width: auto;
    }
    #colorbox {
        height: 380px !important;
    }

    #optin-form-inner {
        padding-bottom: 0px;
    }
    .gffw-hopup #gffw-hopup-email,
    .gffw-hopup #gffw-hopup-first-name,
    .gffw-hopup #gffw-hopup-last-name,
    .gffw-hopup input[type="text"],
    .gffw-hopup input[type="text"]:focus,
    .gffw-hopup input[type="text"]:hover,
    .gffw-hopup input[type="date"],
    .gffw-hopup input[type="date"]:focus,
    .gffw-hopup input[type="date"]:hover,
    .gffw-hopup input[type="email"],
    .gffw-hopup input[type="email"]:focus,
    .gffw-hopup input[type="email"]:hover {
        font-size: 1.4em;
    }
    .gffw-hopup .datepicker {
        display: block;
    }

}


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

    .gffw-hopup .desktop-only {
        display: block;
    }

    #gffw-hopup-html {
        position: relative;
        height: 380px;
        width: 750px;
        display: inline-block;
    }
    .gffw-hopup-image {
        width: 260px;
        float: left;
    }
    .gffw-hopup-text {
        margin: 0 auto;
        width: 490px;
        padding-left: 0;
        float: right;
        padding: 20px 40px;
        padding-top: 0;
    }
    .gffw-hopup-join .gffw-hopup-text {
    	/*float: none;*/
    	padding: 20px 40px;	
    }
    .gffw-hopup-join .gffw-hopup-text form .w2llabel-checkbox-label {
    	text-align: left;
    }
    .gffw-hopup-join .gffw-hopup-text form .w2linput.submit {
    	color: #fff;
    }
    .gffw-hopup-success .gffw-hopup-text {
        margin: 0 auto;
        width: 490px;
        padding-left: 0;
        float: right;
        padding: 0 40px;
        padding-top: 20px;
    }

    .gffw-hopup-footer {
        position: absolute;
        bottom: 0px;
        width: auto;
    }
    #colorbox {
        height: 380px !important;
    }

    #optin-form-inner {
        padding-bottom: 0px;
    }
    .gffw-hopup #gffw-hopup-email,
    .gffw-hopup #gffw-hopup-first-name,
    .gffw-hopup #gffw-hopup-last-name,
    .gffw-hopup input[type="text"],
    .gffw-hopup input[type="text"]:focus,
    .gffw-hopup input[type="text"]:hover,
    .gffw-hopup input[type="date"],
    .gffw-hopup input[type="date"]:focus,
    .gffw-hopup input[type="date"]:hover,
    .gffw-hopup input[type="email"],
    .gffw-hopup input[type="email"]:focus,
    .gffw-hopup input[type="email"]:hover {
        font-size: 1.4em;
    }
    .gffw-hopup .datepicker {
        display: block;
    }

}



/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxWrapper {max-width:none;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}

/* 
    User Style:
    Change the following styles to modify the appearance of Colorbox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay{background-color: #000000;}
#colorbox{outline:0; border-radius: 4px;}
#cboxContent{background:#fff; overflow:hidden;}
.cboxIframe{background:#fff;}
#cboxError{padding:50px; border:1px solid #ccc;}
#cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
#cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
/*#cboxLoadingOverlay{background:url(images/_loading_background.png) no-repeat center center;}*/
/*#cboxLoadingGraphic{background:url(images/_loading.gif) no-repeat center center;}*/

/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }

/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}

#cboxClose{position:absolute; top:0; right:0; width:25px; height:25px; color: gray; font-family: Helvetica, Arial, sans-serif; font-size: 2em; font-style: normal; }
#cboxClose:hover{}


/*
    Colorbox GFFW Hopup Customizations
*/

#cboxClose {
    right: 2px !important;
    font-size: 2.4em !important;
    line-height: 0 !important;
    top: 0 !important;
    opacity: 0.5 !important;
}

#cboxClose:hover {
    opacity: 0.8 !important;
}


/*
    Colorbox Mobile GFFW Hopup Customizations
*/

@media only screen and (max-width : 480px) {
    #cboxClose {
        top: 2px;
        right: 32px;
        font-size: 1.5em;
        /*color: white;*/
    }
}
#cboxLoadedContent {
    overflow: hidden !important;
}


/* ----------------------------------------------------------------------
 * -- Themes
 * ---------------------------------------------------------------------- */

/** -- General Theme -- */

.gffw-hopup-theme-default .gffw-hopup-image {
    /*background: url('../images/general.jpg');*/
    /*background-size: cover; */
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: top center !important;
}
.gffw-hopup-theme-default #gffw-hopup-email:valid {
    background-image: url('../images/icon-valid_green.png');
    background-repeat: no-repeat;
    background-position: 97% center;
}

