#amzns_background_layer {
    position: absolute;
    z-index: 9998;
    background: url(../images/amzns_dark2.png);
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: block;
    text-align: center;
    top: 0;
    left: 0;
    display: none;
}

#amzns_box_layer {
    z-index: 9999;
    width: 970px;
    min-height: 541px;
    top:-50px;
    display: inline-block;
    max-width: 100%;
    max-height: none;
    margin: auto;
    background: url(../images/bkg_newletter_popup.jpg) no-repeat center center;
    padding: 60px;
    text-align: left;
    position: fixed;
    left: 0;
    right: 0;
}

#amzns_box_title {
    color:#333333;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 50px 0 0 0px;
    font-family: 'texgyreadventorbold';
    margin-bottom: 20px;
}

#amzns_box_block_1 {}
#amzns_box_block_2 {font-size:25px;}
#amzns_box_block_3 {
    color:#666;
}

#amzns_box_close {
    height: 40px;
    width: 40px;
    background: url(../images/close_newletter.png) no-repeat;
    cursor: pointer;
    float: right;
    position: absolute;
    right: -20px;;
    top: -20px;;
}

#amzns_box_subscribe {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 30px 0 0px 0;
}
#amzns_box_subscribe_input {
    clear: both;
    float: left;
    margin-bottom: 20px;
    display: inline-block;
    width: 90%;
}
#amzns_box_subscribe_input input {
    line-height: 17px;
    padding: 11px 10px;
    width: 100%;
    background: transparent;
    border: 1px solid #dadbdd;
    color: #888888;
}
#amzns_box_subscribe_submit {

}

#amzns_box_subscribe_submit a {
    display: inline-block;
    font-size: 14px;
    padding: 10px 25px;
    font-family: 'texgyreadventorbold';
    color: #fff;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    background-color: #ba933e;
    text-transform: uppercase;
    border: 0;
}

#amzns_box_subscribe_response {
    text-align: left;
    margin: 10px 0 0 30px;
    height: 15px;
}

#amzns_box_subscribe_response_success {
    display: none;
}

#amzns_box_subscribe_response_error {
    color: #ca3219;
    text-align: left;
    margin: 0 0 0 0px;
    height: auto;
    overflow: hidden;
}

#amzns_box_subscribe_response_success {
    color: #5b9843;
    font-size: 18px;
    padding: 0px 0 0;
    text-align: center;
    text-transform:uppercase;
}


/*** LABEL THEME ***/
.tl#amzns_box_layer {
    height: 263px;
    width: 504px;
    position: relative;
}
.tl #amzns_box_block_1, .tl #amzns_box_block_2 {
    color: #ffffff;
    text-align: right;
    float: right;
    line-height: normal;

}
.tl #amzns_box_block_1 {
    margin: 20px 55px 0 0 ;
}

.tl #amzns_box_block_2 {
    margin: 0px 55px 0 0 ;
}

.tl #amzns_box_block_3 {
    color: #000000;
    clear: both;
    text-align: justify;
    float: right;
    margin: 10px 55px 5px 0 ;
    width: 340px;
    height: 70px;
    overflow: hidden;
 }

.tl #amzns_box_close {
    position: absolute;
}

.tl #amzns_box_subscribe_response_error {
    height: 15px;
    color: #ffffff;
    float: right;
    text-align: left;
    width: 325px;
    margin: 0 50px 0 0;
    overflow: hidden;
}

.tl #amzns_box_subscribe_input input {
    margin: 0 0 0 132px;
    background: none;
    height: 29px;
    width: 216px;
    border: 0;
}

.tl #amzns_box_subscribe_submit a {
    background: none;
    color: #ffffff;
    height: 29px;
    line-height: 25px;
}
.tl #amzns_box_subscribe_response_success {
    color: #FFFFFF;
    float: right;
    margin: 0 50px 0 0;
    width: 340px;
}
.tl #amzns_box_subscribe_input {
}

.tl #amzns_box_close {
    height: 36px;
    width: 36px;
    background: url(http://placehold.it/40x40) no-repeat;
    right: 10px;
    top:-5px;
}
@media(max-width: 992px){
    #amzns_box_layer{
        width: 720px;
        height: 400;
    }    
}
@media(max-width: 768px){
    #amzns_background_layer{ display: none !important; }
}
