.snapchat-popup {
    background: #313131;
    padding: 42px;
    width: 386px;
    height: 416px;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1000;
    margin-left: -235px;
    margin-top: -250px;
}

.snapchat-popup a.close {
    width: 9px;
    height: 9px;
    display: block;
    position: absolute;
    right: 15px;
    top: 15px;
    background: transparent url('images/snap/close.png') no-repeat 0 0;
}

.snapchat-popup header {
    font-size: 22px;
    margin-bottom: 32px;
    text-align: center;
}

.snapchat-popup header span {
    color: #e53232;
    display: block;
}

.snapchat-popup .thumb {
    margin-bottom: 32px;
}

.snapchat-popup .thumb img {
    border: 1px solid #000;
}

.snapchat-popup form .input {
    width: 80%;
    margin-right: 2%;
}

.snapchat-popup form .button {
    width: 18%;
}

.snapchat-popup form .input,
.snapchat-popup form .button {
    float: left;
}

.snapchat-popup form .input input,
.snapchat-popup form .button button {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-size: 12px;
    border: 0px;
    padding: 8px 15px;
}

.snapchat-popup form .input input {
    background: #fff;
    color: #777777;
    width: calc(100% - 2 * (15px));
}

.snapchat-popup form .button button {
    background: #e53232;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    width:100%;
}

.snapchat-modal {
    position: fixed;
    width:100%;
    height:100%;
    z-index:100;
    left:0px;
    top:0px;
    background: rgba(49,49,49,0.7);
}

.clearfix {
    clear: both;
}

@media screen and (max-width: 640px) {
    .snapchat-popup,
    .snapchat-modal {
        display: none;
    }

    .snapchat-mobile {
        display: block;
        position: fixed;
        z-index: 1000;
        bottom: 0px;
        left: 0px;
        width: 90%;
        padding: 5%;
        background-color: #282828;
        border-top: 1px solid #000;
    }

    .snapchat-mobile a.close {
        width:23px;
        height:23px;
        display:block;
        position: absolute;
        right:5px;
        top:5px;
        background: transparent url('images/snap/close-jbzd-mobile.png') no-repeat 0 0;
        background-size: 100% 100%;
        cursor: pointer;
    }

    .snapchat-mobile .top {
        margin-bottom: 10px;
    }

    .snapchat-mobile .top .arrow,
    .snapchat-mobile .top .thumb {
        float: left;
    }

    .snapchat-mobile .top .arrow {
        width: 64%;
        margin-right: 2%;
        font-size: 4vw;
        background: transparent url('images/snap/arrow-jbzd.png') no-repeat 0 0;
        background-size: 100% 100%;
        padding: 3%;
        text-transform: uppercase;
    }

    .snapchat-mobile .top .arrow span {
        color: #fefb00;
    }

    .snapchat-mobile .top .thumb {
        width: 26%;
        margin-left: 2%;
        padding-top: 1%;
    }

    .snapchat-mobile .top .thumb img {
        max-width: 82%;
        display: block;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        border: 2px solid #000;
        -webkit-box-shadow: 0px 0px 10px 0px rgba(255, 255, 255, 0.75);
        -moz-box-shadow: 0px 0px 10px 0px rgba(255, 255, 255, 0.75);
        box-shadow: 0px 0px 10px 0px rgba(255, 255, 255, 0.75);
    }

    .snapchat-mobile .bottom form .input {
        width: 70%;
        margin-right: 2%;
    }

    .snapchat-mobile .bottom form .button {
        width: 28%;
    }

    .snapchat-mobile .bottom form .input,
    .snapchat-mobile .bottom form .button {
        float: left;
    }

    .snapchat-mobile .bottom form .input input,
    .snapchat-mobile .bottom form .button button {
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        font-size: 12px;
        border: 0px;
        padding: 18px 15px;
    }

    .snapchat-mobile .bottom form .input input {
        background: #fff;
        color: #777777;
        width: calc(100% - 2 * (15px));
    }

    .snapchat-mobile .bottom form .button button {
        background: #A93636;
        font-weight: bold;
        color: #fff;
        cursor: pointer;
        width:100%;
    }
}