/*
@@@@@@@@@@@@@@@@@@@@@@@
Subscriber Popup Stylesheet
@@@@@@@@@@@@@@@@@@@@@@@
*/

.subwrap {
    top:0;
    left:0;
    right:0;
    bottom:0;
    position:fixed;
    background-color:rgba(34,34,34,0.95);
    z-index:100;
    display:flex;
    opacity:0;
    pointer-events:none;
    transition:all .5s;
}

.subhere {
    opacity:1;
    pointer-events:all;
}

.subpop {
    background-color:#eee;
    background-image:url('images/subpop-bg.jpg');
    background-size:cover;
    background-position:center center;
    width:800px;
    flex-shrink:0;
    padding:100px;
    box-shadow: 0px 3px 5px rgba(0,0,0,0.25);
    position:relative;
    transition:all .5s;
}

.subpop h5 {
    font-size:36px;
    color:#222;
    font-weight:500;
    margin-bottom:10px;
    margin-top:30px;
}

.subpop input {
    padding:15px;
    border-top-left-radius:5px;
    border-bottom-left-radius:5px;
    background-color:#fff;
    border:1px solid #aaa;
    width:100%;
    font-size:18px;
}

.subpop form {
    margin-top:25px;
    margin-left:-3px;
}

.subpop button {
    background-color:#222;
    background-image:url('images/sub-send.png');
    background-position:center center;
    background-repeat:no-repeat;
    width:100px;
    background-size:24px auto;
    border:0;
    border-top-right-radius:5px;
    border-bottom-right-radius:5px;
}

.subpop button:hover {
    background-color:#111;
    background-position:center right 22px;
}

.subpop span {
    font-weight:500;
    padding-top:15px;
    display:block;
    color:#ed2121;
    opacity:0;
    padding-left:20px;
    transition:all .3s;
}

.subpop .showpop {
    opacity:1;
    padding-left:0;
}

.subpop .subex {
    font-size:36px;
    font-weight:500;
    color:#999;
    padding:2px 12px;
    border-radius:5px;
    border:2px solid #999;
}

.subpop .subex:hover {
    background-color:#d89c1e;
    border-color:#d89c1e;
    color:#222;
}

.subleft {
    margin-left:-800px;
}

.subout {
    cursor:pointer;
}


.almost {
    top:0;
    bottom:0;
    left:0;
    right:0;
    position:fixed;
    background-color:rgba(106,194,89,.95);
    z-index:100;
    opacity:0;
    pointer-events:none;
    transition:all .5s;
    color:#fff;
    text-align:center;
}

.almost-on {
    opacity:1;
    pointer-events:all;
}

.check {
    background-image:url('images/check-mark.png');
    background-repeat:no-repeat;
    background-position:center top;
    padding-top:100px;
    transition:all .3s;
}

.almost span {
    display:block;
    font-size:48px;
    line-height:48px;
    font-weight:400;
    margin-bottom:15px;
    text-shadow: 0px 3px 5px rgba(0,0,0,0.25);
}

.almost .close {
    font-size:18px;
    background-color:#eee;
    color:#6ac259;
    padding:15px 100px;
    font-weight:500;
    display:inline-block;
    border-radius:5px;
    transition:all .3s;
    cursor:pointer;
    opacity:0;
}

.almost .close:hover {
    background-color:#fff;
    color:#222;
    box-shadow: 0px 3px 5px rgba(0,0,0,0.25);
}

.hidedown {
    margin-top:20px;
    opacity:0;
}

.closedown {
    margin-top:20px;
    opacity:1 !important;
}

/*
~~~~~~~~
Media Queries
~~~~~~~~
*/

@media only screen and (max-width: 800px) {
    .subpop {
        width:100%;
        padding:50px;
    }
    .almost {
        padding:25px;
    }
}

@media only screen and (max-width: 600px) {
    .subpop .subex {
        position:absolute;
        top:50;
        right:50;
    }
    .subpop img {
        max-width:100%;
    }
    .subpop h5 {
        font-size:24px;
    }
    .subpop p {
        font-size:16px;
    }
    .almost span {
        font-size:36px;
    }
}

@media only screen and (max-width: 400px) {
    .subpop .subex {
        font-size:24px;
        padding-left:8px;
        padding-right:8px;
        top:25;
        right:25;
    }
    .subpop {
        padding:25px;
    }
    .subpop input {
        padding:10px;
    }
    .subpop button {
        width:70px;
    }
}