@import url(//fonts.googleapis.com/css?family=Raleway);
#esns_background_layer {
    position: fixed;
    z-index: 9999;
    background: url(../../images/newssubscribers/esns_dark2.png);
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: block;
    text-align: center;
    top: 0;
    left: 0;
    display: none;
}

#esns_box_layer {
    z-index: 9999;
    background-color: #ffffff;
    /*width: 828px; */
	width: 828px;
    height: auto;
    overflow: hidden;
    top: 0;
    text-align: center;
    display: inline-block;
    /*padding: 10px;*/
	height: 390px;
	margin-top: 0% !important;
}
.main_popup {
    float: left;
    margin-bottom: 8%;
    width: 98%;
}
#esns_background_layer #esns_box_layer
{
	background-size: auto;
	position: relative;
}
#esns_box_title {
    /*width: 440px;*/
	width: 90%;
    height: auto;
    overflow: hidden;
/*    background: url(../../images/newssubscribers/esns_box_block1.png) no-repeat right top;*/
}

#esns_box_block_1 {
    width: 350px;
    font: 20px/34px "CenturyGothicRegular",Century Gothic,Verdana,sans-serif;
    text-align: left;
}
#esns_box_block_2 {
   color: #222;
    font-family: "Raleway",sans-serif;
    font-size: 24px;
    height: auto;
/*    margin: 0 0 5px;*/
    text-align: center;
    text-transform: none;
}
#esns_box_block_3 {
    /*text-align: justify;*/
	text-align: center;
	font-family: Arial,sans-serif;
	color: #222;
	display: inline-block;
	font-size: 12px;
	line-height: 1.5em;
	padding-bottom: 5px;
	margin: 0 15% 0 5%;
	width: 78%;
}

#esns_box_close {
background: url("../../images/newssubscribers/esns_box_close.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    cursor: pointer;
    float: right;
    height: 10px;
    margin-top: 5px;
    width: 15px;
}
#esns_box_layer .popup-bottom-notice {
	bottom: 20px;
    left: 23px;
    position: absolute;
}
#esns_box_layer .popup-bottom-notice .notice-text {
    bottom: 2px;
    font-size: 11px;
    font-weight: normal;
    margin-left: 5px;
    position: relative;
	font-family: arial;
	color: #222;
}
.esns_box_lines {
    background: url("../../images/newssubscribers/esns_box_lines.png") no-repeat scroll 0 0 transparent;
    display: block;
    height: 1px;
    width: 100%;
    clear: both;
    margin: 5px 0;
	display: none;
 }
#esns_box_subscribe {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 0 0 20px 0;
}
#esns_box_subscribe_input {
    width: 83%;
    float: left;
    clear: both;
	margin-bottom: 0.5em;
}
#esns_box_subscribe_input input {
    width: 100%;
    margin: 5px 0 0 15px;
 /*   border: 1px solid #acacac;
    border-color: #e4e2e5;*/
        border: none;
    border-color: none;
    padding: 5px 10px;
	background-color: #e2e2e2;
    height: 40px;
font-size: 11px;
color: #222;
}
#esns_box_subscribe_submit {
   width: 90%;
float: left;
margin: 0 auto;
padding-top: 1%;
}

#esns_box_subscribe_submit a {
  background-color: #000;
  border-radius: 2px;
  color: #ffffff;
  font-family: arial;
  font-size: 10px;
  font-weight: bold;
  height: 55px;
  line-height: 55px;
  padding: 13px 18px;
  text-decoration: none;
  text-transform: uppercase;
  width: auto;
}

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

#esns_box_subscribe_response_success {
    display: none;
}

#esns_box_subscribe_response_error {
    color: #ea6868;
    text-align: left;
    margin: 0 0 0 30px;
    height: auto;
    overflow: hidden;
}

#esns_box_subscribe_response_success {
    color: #35ea49;
    font: 20px/34px "CenturyGothicRegular",Century Gothic,Verdana,sans-serif;
}


/*** LABEL THEME ***/
.tl#esns_box_layer {
    height: 263px;
    width: 504px;
    background: url('../../images/newssubscribers/esns_label.png') no-repeat transparent;
    position: relative;
}
.tl #esns_box_block_1, .tl #esns_box_block_2 {
    color: #ffffff;
    text-align: right;
    float: right;
    line-height: normal;

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

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

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

.tl #esns_box_close {
    position: absolute;
}
.tl #esns_box_subscribe_input {
    width: 340px;
}
.tl #esns_box_subscribe_response_error {
    height: 22px;
    line-height: 15px;
    color: #ffffff;
    float: right;
    text-align: left;
    width: 325px;
    margin: 0 50px 0 0;
    overflow: hidden;
}

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

.tl #esns_box_subscribe_submit a {
    background: none;
    color: #ffffff;
    height: 29px;
    line-height: 25px;
    background: url('../../images/newssubscribers/esns_input.png') no-repeat -212px 0px;
}
.tl #esns_box_subscribe_response_success {
    color: #FFFFFF;
    float: right;
    margin: 0 50px 0 0;
    width: 340px;
}
.tl #esns_box_subscribe_input {
    background: url('../../images/newssubscribers/esns_input.png') no-repeat 125px 0px;
}

.tl #esns_box_close {
    height: 36px;
    width: 36px;
    background: url(../../images/newssubscribers/esns_box_close2.png) no-repeat;
    right: 10px;
    top:-5px;
}
#esns_box_layer .left_block {
	float: left;
	margin-left: 18px;
	padding-top: 11%;
	text-align: center;
	width: 60%;
}
@media screen and (max-width: 1024px)
{
	#esns_box_layer	{ width: 490px; height: auto; }
	.main_popup{ width: 96%; }
	#esns_box_block_3{ width: 85%; }
	#esns_box_title { width: 95%; margin-bottom: 5px; }
	#esns_box_layer .left_block { padding-top: 65px;  width: 61%; }
	#esns_box_block_2 {  line-height: 25px; }
	#esns_box_subscribe_input input{ margin: 5px 0 0 13px; }
	#esns_box_subscribe_submit {  width: 95%; }
	#esns_box_subscribe_input { width: 87%; }
}
@media only screen and (max-width: 860px)
{
	#esns_box_subscribe_submit
	{
		 padding-top: 0;
	}
}
@media only screen and (max-width: 770px)
{
	#esns_box_layer	{		
		background: none no-repeat  scroll 0 0 #fff !important;	
		width: 85%;
		height: auto;
	}
	#esns_box_layer .left_block {  width: 100%;   margin: 0 auto;  padding-top: 50px;}
	.main_popup {
  width: 100%;
	}
	#esns_box_block_3
	{
  float: none;
  margin: 0 auto;
  width: 90%;
	}
	#esns_box_subscribe_input
	{
	width: 90%;
	  margin: 0 auto;
	  float: none;
	}
	#esns_box_subscribe_input input { margin: 0 auto; }
	#esns_box_subscribe_submit
	{
		width: 99%;
		padding-top: 1%;
	}
	#esns_background_layer #esns_box_layer {
		background-size: 100% 100%;
		height: auto;
	}
}
@media only screen and (max-width: 700px)
{
	#esns_box_title
	{
		width: 100%;
	}
}
@media only screen and (max-width: 565px)
{
	#esns_box_layer	{ width: 390px; }
	#esns_box_subscribe_submit
	{
		padding-top: 0;
	}
}
@media only screen and (max-width: 480px)
{
	#esns_box_layer .left_block {
	  width: 93%;
	  margin: 0 auto;
	  float: none;
	}
}
@media only screen and (max-width: 450px)
{
	#esns_box_layer	{ width: 300px; }
}
@media only screen and (max-width: 360px)
{
	#esns_box_layer	{ width: 260px; }
}