/*!
* ViralSignUps - Sign Up Form / Popup Content
* http://viralsignups.com
*
*/

/*
    Sign Up form styles. Should be loaded where the form appears. 
    Supports default WP themes ( Twenty Twelve, Twenty Thirteen, Twenty Fourteen )

    by  ViralSignUps
        http://viralsignups.com

    All rights reserved (c)2014

    **
        
    v0.1 Beta
        
*/

/*= Reset
----------------------------------------------------------------------------- */

/* Resetting Potential Default Styles */
.vsu-signup-form,
.vsu-signup-form .vsu-form,
.vsu-signup-form .vsu-email-field-wrap,
.vsu-signup-form .vsu-signup-wrap,
.vsu-signup-form .vsu-email-field,
.vsu-signup-form .vsu-signup-button,
.vsu-popup-content,
.vsu-popup-content .vsu-popup-message,
.vsu-popup-content .vsu-popup-promo-text,
.vsu-popup-content .vsu-popup-main-text,
.vsu-popup-content .vsu-popup-text,
.vsu-popup-content .vsu-social-button,
.vsu-popup-content .vsu-powered-by,
.vsu-loader-overlay,
.vsu-loader-wrap,
.vsu-loader-wrap .vsu-loader{
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
    max-width: 100%;
    box-sizing: content-box;
    outline: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    font: inherit;
    text-transform: none;
    color: inherit;
}

/* Buttons */
.vsu-wrap .vsu-button,
.vsu-wrap .vsu-button:hover,
.vsu-wrap .vsu-button:focus,
.vsu-wrap .vsu-button:active,
.vsu-wrap .vsu-button:visited,
.vsu-wrap .vsu-button:link{
    display: inline-block;
    padding: 11px 25px 9px;
    border-radius: 4px;
    border: 0;
    box-shadow: none;
    background: #31BA8B;
    font: 300 18px/1.3 Lato;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}

/* Social Buttons */
.vsu-wrap .vsu-button.vsu-social-button{
    position: relative;
    margin: 0 7px 13px 6px;
    min-width: 54px;
    padding-left: 53px;
    padding-right: 10px;
    text-align: left;
}
.vsu-wrap .vsu-button.vsu-social-button:before{
    display: block;
    position: absolute;
    background: url(../img/social_sprite.png) no-repeat;
    content: '';
}
.vsu-wrap .vsu-social-button.vsu-social-button-facebook:before{
    left: 22px;
    top: 10px;
    width: 11px;
    height: 23px;
    background-position: -7px -1px;
}
.vsu-wrap .vsu-social-button.vsu-social-button-twitter:before{
    left: 16px;
    top: 14px;
    width: 22px;
    height: 18px;
    background-position: -26px -3px;
}
.vsu-wrap .vsu-social-button.vsu-social-button-googlePlus:before{
    left: 21px;
    top: 12px;
    width: 19px;
    height: 19px;
    background-position: -53px -3px;
}
.vsu-wrap .vsu-social-button.vsu-social-button-linkedIn:before{
    left: 18px;
    top: 11px;
    width: 18px;
    height: 17px;
    background-position: -79px -4px;
}
.vsu-wrap .vsu-social-button.vsu-social-button-email:before{
    left: 17px;
    top: 13px;
    width: 21px;
    height: 17px;
    background-position: -102px -4px;
}

/*= Sign Up Form
----------------------------------------------------------------------------- */

/* Layout */
.vsu-signup-form .vsu-email-field-wrap{
    display: inline-block;
    vertical-align: top;
    margin-right: 10px;
    margin-bottom: 0.6em;
}
.vsu-signup-form .vsu-signup-wrap{
    display: inline-block;
    vertical-align: top;
    margin-bottom: 0.6em;
}
.vsu-signup-form:before,
.vsu-signup-form:after,
.vsu-signup-form .vsu-form:before,
.vsu-signup-form .vsu-form:after{
    content: "";
    display: table;
}
.vsu-signup-form .vsu-form:after,
.vsu-signup-form:after{
    clear: both;
}

/* General */
.vsu-signup-form{
    font: 300 24px/1.66 'Helvetica Neue', Lato, Arial, sans-serif;
    color: #5b6983;
}
.vsu-signup-form ::-webkit-input-placeholder {
   color: #91A0BD;
}

.vsu-signup-form :-moz-placeholder { /* Firefox 18- */
   color: #91A0BD;  
}

.vsu-signup-form ::-moz-placeholder {  /* Firefox 19+ */
   color: #91A0BD;  
}

.vsu-signup-form :-ms-input-placeholder {  
   color: #91A0BD;  
}

/* Errors */
.vsu-signup-form .vsu-error-wrap p{
    margin-bottom: 0.6em;
    font-size: 14px;
    color: #FF2727;
}
.vsu-signup-form .vsu-error-wrap a{
    color: inherit;
    text-decoration: underline;
}

/* Email Field */
.vsu-signup-form .vsu-email-field,
.vsu-signup-form .vsu-email-field:hover,
.vsu-signup-form .vsu-email-field:focus,
.vsu-signup-form .vsu-email-field:active{
    width: 377px;
    padding: 6px 19px;
    box-sizing: border-box;
    box-shadow: none;
    border-radius: 4px;
    border: 1px solid #f0eff2;
    outline: none;
    font: 300 18px/1.6666 Lato;
    color: #91A0BD;
}
.vsu-signup-form .vsu-email-field:focus{
    border-color: #B7BAC0;
}

/* Antispam Field */
.vsu-signup-form .vsu-antispam-field{
    padding: 0px 20px;
    clear: both;
    font-size: 14px;
    line-height: 1;
}
.vsu-signup-form .vsu-tickbox{
    display: inline-block;
    margin-left: 15px;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #f0eff2 url('../img/tickbox.png') no-repeat 4px 7px;
    vertical-align: middle;
    cursor: pointer;
}
.vsu-signup-form .vsu-antispam-field label{
    font: inherit;
    cursor: pointer;
}
.vsu-signup-form .vsu-antispam-check:checked + .vsu-tickbox{
    background-color: #2FB184;
}
.vsu-signup-form .vsu-antispam-check{
    display: none;
}

/*= Popup Content
----------------------------------------------------------------------------- */
.vsu-popup-content{
    position: relative;
    max-width: 842px;
    margin: 0 auto 1em;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #f0eff2;
    text-align: center;
    font: 300 24px/1.66 'Helvetica Neue', Lato, Arial, sans-serif;
    color: #5b6983;
}
.vsu-popup-content .vsu-popup-content-inner{
    padding: 49px 60px 12px;
}
.vsu-popup-content .vsu-popup-message{
    margin-bottom: 10px;
    font-size: 32px;
}
.vsu-popup-content .vsu-popup-promo-text,
.vsu-popup-content .vsu-popup-main-text{
    margin-bottom: 27px;
    font-size: 42px;
    line-height: 56px;
    font-weight: 300;
    color: #39455b;
}
.vsu-popup-content .vsu-popup-highlighted-text{
    color: #31ba8b;
}
.vsu-popup-content .vsu-popup-text{
    margin-bottom: 25px;
}
.vsu-popup-content .vsu-popup-social-share{
    margin-bottom: 40px;
}
.vsu-popup-content .vsu-popup-ref-link,
.vsu-popup-content .vsu-popup-ref-link:active,
.vsu-popup-content .vsu-popup-ref-link:visited,
.vsu-popup-content .vsu-popup-ref-link:link,
.vsu-popup-content .vsu-popup-ref-link:hover,
.vsu-popup-content .vsu-popup-ref-link:focus{
    font-size: 34px;
    font-weight: bold;
    line-height: 1.66;
    color: #39455b;
    text-decoration: none;
    word-break: break-all;
}
.vsu-popup-content .vsu-popup-ref{
    margin-bottom: 0;
}
.vsu-popup-content .vsu-popup-text + .vsu-popup-ref{
    margin-top: -29px;
}

/* Credits */
.vsu-popup-content .vsu-credits{
    padding: 0 28px 12px;
}
.vsu-popup-content .vsu-credits:before,
.vsu-popup-content .vsu-credits:after{
    content: "";
    display: table;
}
.vsu-popup-content .vsu-credits:after{
    clear: both;
}
.vsu-popup-content .vsu-powered-by{
    float: right;
    font-size: 12px;
}
.vsu-popup-content .vsu-powered-by img{
    vertical-align: middle;
}
.vsu-popup-content .vsu-powered-by a,
.vsu-popup-content .vsu-powered-by a:active,
.vsu-popup-content .vsu-powered-by a:visited,
.vsu-popup-content .vsu-powered-by a:link,
.vsu-popup-content .vsu-powered-by a:hover,
.vsu-popup-content .vsu-powered-by a:focus{
    color: #299cd1;
    text-decoration: none;
    font-weight: 400;
}

/*= Loader
----------------------------------------------------------------------------- */
.vsu-loader-overlay,
.vsu-loader-wrap{
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999990;
}
.vsu-loader-wrap{
    position: absolute;
    min-height: 100%;
    height: auto;
    z-index: 999999;
    background-color: transparent;
}
.vsu-loader-wrap .vsu-loader{
    position: relative;
    max-width: 842px;
    padding: 0 20px;
    height: auto;
    margin: 0 auto;
}
.vsu-loader-wrap .vsu-loader .vsu-popup-content{
    max-width: none;
}
.vsu-loader-wrap .vsu-loader.vsu-loading{
    width: 90px;
    height: 30px;
    padding: 30px 0;
    background: #FFF url(../img/preloader.GIF) no-repeat center center;
    text-align: center;
    font: 9px/30px Lato;
    text-transform: uppercase;
    color: #31BA8B;
}
.vsu-loader-wrap .vsu-loader.vsu-loading:after{
    content: 'Loading...';
}
.vsu-loader-wrap .vsu-loader.vsu-loading .vsu-close-button{
    display: none;
}
.vsu-loader-wrap .vsu-close-button{
    display: inline-block;
    position: absolute;
    right: 35px;
    top: 15px;
    padding: 9px 17px;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #f0eff2;
    z-index: 10;
    font-size: 12px;
    color: #5B6983;
    cursor: pointer;
    text-decoration: none;
}
.vsu-loader-wrap .vsu-close-button:hover,
.vsu-loader-wrap .vsu-close-button:focus,
.vsu-loader-wrap .vsu-close-button:active{
    border-color: #B7BAC0;
}

/*= Responsive
----------------------------------------------------------------------------- */
/* Smartphones (portrait) */
@media only screen and (max-width : 320px) {
    .vsu-popup-content{
        font-size: 14px;
        line-height: 1.5;
    }
    .vsu-popup-content .vsu-popup-content-inner{
        padding-left: 15px;
        padding-right: 15px;
    }
    .vsu-popup-content .vsu-popup-promo-text, 
    .vsu-popup-content .vsu-popup-main-text{
        margin-bottom: 10px;
        font-size: 22px;
        line-height: 1.5;
    }
    .vsu-popup-content .vsu-popup-text {
        margin-bottom: 1.2em;
    }
    .vsu-popup-content .vsu-popup-social-share{
        margin: 0 -15px 5px;
    }
    .vsu-wrap .vsu-button.vsu-social-button{
        margin: 0 4px 10px 4px;
    }
    .vsu-popup-content .vsu-popup-text + .vsu-popup-ref{
        margin-top: -5px;
    }
    .vsu-popup-content .vsu-popup-ref-link,
    .vsu-popup-content .vsu-popup-ref-link:active,
    .vsu-popup-content .vsu-popup-ref-link:visited, 
    .vsu-popup-content .vsu-popup-ref-link:link,
    .vsu-popup-content .vsu-popup-ref-link:hover,
    .vsu-popup-content .vsu-popup-ref-link:focus{
        font-size: 14px;
    }
}