#esns_background_layer {
    position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: 1000;
    background: rgba(0,0,0,.6); display: none;
}
#esns_box_layer {
    position: relative; z-index: 9999;
    display: block; width: 300px; margin-left: auto; margin-right: auto; padding: 20px; color: #ffffff;
}
/*#esns_box_close {
    position: absolute; right: -5px; top: -10px; cursor: pointer;
    width: 25px; height: 25px; text-align: center; font-size: 19px;
}
#esns_box_close::before {content: '\2716'; line-height: 25px;}*/
#esns_box_layer .phantom {display: none;}
.esns_box_lang .esns_lang_head {padding: 0 25px; margin-bottom: .4em; text-align: center; line-height: 1;}
.esns_box_lang .esns_lang_head .bs {font-size: 1.3em; font-weight: bold; margin-bottom: 6px}
.esns_box_lang .esns_lang_head .sc {color: rgba(255,255,255,.8);}
.esns_box_lang .form-language {
    display: flex; flex-direction: row-reverse;
    position: static; float: none; width: 95px; margin: 0 auto;
    text-align: center; line-height: 1;
}
.esns_box_lang .form-language li:nth-child(n+2) {padding-left: 0; padding-right: 10px}
.esns_box_lang .form-language li:nth-child(n+2)::before {content: '\002F'; top: -2px; left:auto; right: 0;}
.esns_box_lang .form-language a, .esns_box_lang .form-language a.selected {color: rgba(255,255,255,.9);}
.esns_box_lang .form-language a {display: block; padding: 2px .35em;}
.esns_box_lang .form-language a:hover {text-decoration: none;}
/*.esns_box_lang .form-language a.selected {color: rgba(255,255,255,1); font-weight: bold;}*/

/*** Default THEME ***/
.bs#esns_box_layer {
    border-radius: 20px; border: 3px solid #E8E8E8; background-color: #601416
}
.bs#esns_box_layer #esns_box_close {
    background-color: #000000; border-radius: 50%;font-size: 17px; color: rgba(255,255,255,.6);
}


/*** LABEL THEME ***/
.tl#esns_box_layer {
    background: url('../images/newssubscribers/esns_label.png') no-repeat;
    background-size: 100% 100%; height: 180px; 
}
.tl#esns_box_layer .esns_box_valign {
    position: absolute; top: 50%; left: 0; transform: translateY(-50%);
    width: 100%; padding-left: 70px; padding-right: 30px;
}
.tl #esns_box_block_3 {max-height: 36px; overflow: hidden;}

@media only screen and (min-width: 768px) {
    #esns_box_layer {width: 457px; padding: 40px}
    /*.bs#esns_box_layer #esns_box_close {top: -15px; right: -15px}*/
    .esns_box_lang .esns_lang_head {padding: 0; font-size: 18px}
    .esns_box_lang .esns_lang_head .bs {padding: 0 40px}
    .esns_box_lang .form-language {width: 130px}
    .esns_box_lang .form-language li {font-size: 2em}
    .esns_box_lang .form-language li:nth-child(n+2) {padding-right: 15px}
    .esns_box_lang .form-language li:nth-child(n+2)::before {top: 1px}
    .tl#esns_box_layer {height: 263px;}
    .tl#esns_box_layer .esns_box_valign {padding-left: 115px; padding-right: 60px}
    .tl #esns_box_block_3 {max-height: 65px;}
}

@media only screen and (min-width: 1024px) {
    .bs#esns_box_layer {width: 638px; height: 274px}
    .bs#esns_box_layer .esns_box_valign {
        position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 100%;
    }
    .esns_box_lang .esns_lang_head {font-size: 20px}
}

#esns_box_block_1, #esns_box_block_2 {text-align: right;}
#esns_box_block_1 {font-size: 1.5em}
#esns_box_block_2 {font-size: 1.25em}
#esns_box_block_3 {text-align: justify; margin-bottom: 10px;}