
#news-signup input, button {
    -webkit-appearance: none;
    border-radius: 0;
    outline: none;
    resize: none;
     font-family: 'FiraSans',sans-serif;
    -webkit-font-smoothing: antialiased
}

#news-signup p.button input{
    display: inline-block;
    background: #fbdb43;
    border: none;
    color: #000;
    line-height: 1em;
    cursor: pointer;
    height: 52px;
}
#news-signup p.button input:hover {
    background-color: #d1b325;
    text-decoration: none;
}
#news-signup form {
    display: inline-block;
    
}

#news-signup form input {
    font: 700 18px 'Museo Sans Cyrl',sans-serif;
    color: #000000
}

#news-signup form input[type=text], #news-signup form input[type=tel] {
    line-height: 1em;
    border: 1px solid #000;
    height: 52px;
    margin-left: 5px;
    background-position: 13px;
    font-size: 16px;
    padding: 5px 15px;
}
#news-signup form input[type=text]{
    margin-left: 0;
}

#news-signup{
    position: fixed;
    width: 100%;
    visibility: hidden;
    z-index: 100002;
    top: 10px;
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    -webkit-transition: -webkit-transform 0.2s, opacity 0.2s, visibility 0s 0.2s;
    transition: transform 0.2s, opacity 0.2s, visibility 0s 0.2s;
}
#news-signup .wrapper {
    /*background: #252b33;*/    
    position: relative;
    margin: 0 auto;
    text-align: left;
    -moz-border-radius: 3px;
    box-shadow: 0px 1px 10px rgba(0,0,0,0.5);
    width: 98%;
    /* outline: 3px dashed #f7e130;
    outline-offset:-10px; */
    background: #3e9dd7;
}
#news-signup .wrapper:before{
    content: "";
    display: block;
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid #fff;
    z-index: 1;
}
.newsletter-content{
    position: relative;
    z-index: 2;
}
#news-signup_bg {
     visibility: hidden;
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     opacity: 0.4;
     z-index: 100001;
     background-color: rgba(0,0,0,.9);
 }
#news-signup_close {
    position: absolute;
    left: 100%;
    margin: 0 0 0 10px;
    width: 40px;
    height: 40px;
    color: #fff;
    opacity: 1;
    cursor: pointer;
}

#news-signup_close::before {
    content: url('../img/ex.png');
    font: 400 26px/1em 'Roboto Slab', serif;
}

#news-signup_close:hover {
    opacity:0.8;
}

#news-signup .newsletter-content {    
    margin: 0 auto;
    
}
#news-signup .newsletter-content h2 {
     font: 900 48px 'Museo Sans Cyrl', serif;
    color: #fff;
    text-align: left;
    margin: 0 auto 15px;
    padding: 40px 0 0 35px;
    
}
#news-signup .newsletter-content h2 span {
    color: #f7e130;
}
#news-signup .newsletter-content h3 {
    font: 400 18px 'Museo Sans Cyrl',sans-serif;
   color: #fff;
   text-align: left;
   max-width: 420px;
   padding: 10px 0 0 35px;
   
}


#news-signup .newsletter-content form {
    margin-left: 35px;
    padding: 0;
    width: 90%;
}

#news-signup .newsletter-content form p {
    margin: 0 auto 10px
}

#news-signup .newsletter-content form p:not(.button) {
    float: none;
    width: 100%;
}

#news-signup .newsletter-content form .button {
    float: none;
    width: 100%
}

#news-signup .newsletter-content form .button input {
    width: 100%;
    padding: 16px 20px;    
    font: 400 16px 'FiraSans',sans-serif;
    text-transform: uppercase;;    
}

#news-signup .newsletter-content p.footnote {
    filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=50);
    opacity: 0.5;
    font: 400 12px 'FiraSans',sans-serif;;
    color: #fff;
    margin-bottom: 0;
    padding: 0 35px;
    padding-bottom: 20px;
    
}

#news-signup .newsletter-content p.footnote a{
    font: inherit;
    color: inherit;
}

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

    #news-signup .wrapper {
        width: 831px;
        height: 519px;
        margin: 1% auto;        
        background-image: url('../img/2.png');
        background-size: cover;
        
    }
    #news-signup .newsletter-content {    
        margin: 0 auto;
        background-image: url('../img/toy.png');
        background-repeat: no-repeat;
        background-position: 100% 100%;
        height: 100%;
    }
    #news-signup .newsletter-content form .button input {
        width: auto;
        margin: 0;
        font-weight: 700;
    }
    #news-signup .newsletter-content form .button {
        float: left;
        width: auto;
        margin-left: 5px;
    }
    #news-signup .newsletter-content form {
        width: auto
    }
    
    #news-signup .newsletter-content form p {
        margin: 0 auto 10px
    }
    #news-signup .newsletter-content form p:not(.button) {
        float: left;
        width: auto
    }
    .newsletter-content form p:not(.button) input {
        width: 230px!important;
        margin: 0 5px 0 0
    }    
    #news-signup .newsletter-content h4 {
        margin: 0 auto 40px;
        font: 500 14px 'Museo Sans Cyrl',sans-serif;
        color: #fff;
        padding: 25px 0 0 35px;
        display: grid;
        grid-template-columns: 90px 340px;
        align-items: center;
        grid-column-gap: 10px;
    }
}
@media screen and (max-width: 799px){
    #news-signup .wrapper {
        width: 80%;
        background-image: url('../img/2.png');
        background-size: cover;
        
    }
    #news-signup .newsletter-content h2 {
        font-size: 24px;
        padding: 20px 15px;
        text-align: center;
    }
    #news-signup .newsletter-content h3 {
        font: 400 16px 'FiraSans',sans-serif;
        color: #fff;
        text-align: center;
        margin: 0 auto 15px;
        padding: 5px 15px;
    }
    #news-signup .newsletter-content {
        margin: 0 auto;
                     
    }
    #news-signup .newsletter-content h4 {
        font: 400 14px 'FiraSans',sans-serif;;
        color: #fff;
        display: grid;
        grid-template-rows: 1fr 1fr;
        align-items: center;
        grid-column-gap: 10px;
        justify-items: center;
        text-align: center;
        padding: 0 10px;
    }
    #news-signup form input[type=tel] {
        background: #fff;
        line-height: 1em;        
        height: 50px;
        margin-left: 0;
    }
    #news-signup form input[type=text] {
        background: #fff;
        line-height: 1em;        
        height: 50px;
        margin-left: 0;
    }
    #news-signup .newsletter-content form p:not(.button) input {
        padding-left: 10px;
        margin-bottom: 10px;
    }
    #news-signup .newsletter-content form {
        text-align: center;
        margin: 0 auto;
        padding: 0 10px;
    }
    #news-signup form {
        display: block;
    }
}
