/* newsletter popup */
.b-close{
	display: block;
	position: relative;
	z-index: 1;
}
.b-close::before {
	background: rgba(0, 0, 0, 0) url("images/sprite.png") no-repeat scroll -12px -326px;
	content: "";
	height: 25px;
	left: 0;
	position: absolute;
	right: auto;
	top: 0;
	transition: all 0.5s ease-in-out 0ms;
	-webkit-transition: all 0.5s ease-in-out 0ms;
	-moz-transition: all 0.5s ease-in-out 0ms;
	-o-transition: all 0.5s ease-in-out 0ms;
	-ms-transition: all 0.5s ease-in-out 0ms;
	width: 25px;
	z-index: 1;
}
#popup2:hover .b-close:before {
	color: #000000;
	transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
}
.b-close span { display:none; }
.newletter-popup{
	background: #ffffff;
	background-attachment: scroll;
   	 -webkit-background-size: contain;
	  -moz-background-size: contain;
	  -o-background-size: contain;
	  background-size: contain;
	  -webkit-background-position: center bottom;
	  -moz-background-position: center bottom;
	  -o-background-position: center bottom;
	  -webkit-background-repeat: no-repeat;
	  -moz-background-repeat: no-repeat;
	  -o-background-repeat: no-repeat;
	  background-repeat: no-repeat;
    top: 50% !important;
    margin-top: -220px;
    position: fixed !important;
    text-align: center;
	overflow: hidden;
    display: none;
	height: auto;
	width: 600px;
}
.newslatter-img {
	background: #ffffff url("images/newsletter.jpg") no-repeat scroll center bottom / contain;
	height: 470px;
	padding: 0;
}
.newletter-popup .box {
  margin: 12% 0 0;
}
.newletter-popup #boxes .newletter-title h2 {
	color: #000;
	font: 700 26px/20px "Montserrat",sans-serif;
	margin: 0;
	text-transform: capitalize;
	padding: 0 0 40px;
}
.newletter-popup #boxes .newletter-title h2::before {
	content: "";
	height: 60px;
	left: 0;
	margin: 0 auto;
	position: absolute;
	right: 0;
	top: 0;
	width: 220px;
	background: rgba(0, 0, 0, 0) url("images/separator.png") no-repeat scroll center bottom;
	vertical-align: top;
	display: inline-block;
	float: left;
}
.newletter-popup .newletter-title {
  float: left;
  position: relative;
  width: 100%;
}
.newletter-popup .newleter-content {
  float: left;
  width: 100%;
}
#boxes .box-content label {
	font-weight: 500;
	font-size: 13px;
	margin: 0;
	cursor: pointer;
	line-height: 28px;
	color: #666;
}
#boxes .box-content label:hover {
	color: #000000;
}
#boxes  #frm_subscribe .required{
	color: #f00;
	padding-right: 5px;
}
#boxes #frm_subscribe #subscribe_pemail {
	background-color: #f5f5f5;
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	-khtml-border-radius: 4px;
	height: 45px;
	padding: 5px 15px;
	width: 90%;
	text-align: center;
	color: #666;
	margin: 30px 0 30px;
	letter-spacing: 1px;
}
#boxes .box-content .subscribe-bottom{
	margin-top: 25px;
}
#boxes .box-content .subscribe-bottom #newsletter_popup_dont_show_again{
	display: inline-block;
	margin: 0;
	vertical-align: top;
}
#boxes  #frm_subscribe #notification{
	color: #f00;
}
#subscribe_popup #notification > div {
  margin: 10px 0 0;
}
#boxes  #frm_subscribe #notification .success{
	color: #4caf50;
}
#popup2{
	cursor: pointer;
	height: 25px;
	line-height: 24px;
	position: absolute;
	right: 5px;
	text-align: center;
	top: 5px;
	width: 25px;
}
.popup-button {
  display: inline-block;
  float: none;
  text-align: center;
  vertical-align: top;
  width: 100%;
}
/* newsllter */
.newletter-title {
	display: inline-block;
	float: none;
	vertical-align: top;
	width: auto;
}
#dialog-normal .newletter-title {
	float:left;
	text-align: center;
	width: 100%;
}
#dialog-normal .newletter-title h2 {
	background: rgba(0,0,0,0) none repeat scroll 0 0;
	color: #000;
	float: left;
	font: 700 34px/42px "Montserrat",sans-serif;
	margin: 0;
	padding: 45px 0 0;
	text-align: center;
	text-transform: capitalize;
	width: 100%;
}
#dialog-normal .newletter-title .tt-title::before {
	background: rgba(0, 0, 0, 0) url("images/sprite.png") repeat scroll -28px -532px;
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	margin: 0 auto;
	top: 0;
	height: 70px;
	width: 70px;
}
.newletter-subscribe .newletter-container .newsletter-desc {
	color: #000;
	display: inline-block;
	float: none;
	font: 500 16px/18px "Montserrat",Helvetica,sans-serif;
	margin: 30px 0;
	text-align: center;
	width: 70%;
}
#dialog-normal .newleter-content{    
	display: inline-block;
	float: none;
	margin: 8px 0;
	overflow: hidden;
	width: 100%;
}
#form_subscribe {
	float: none;
	position: relative;
	text-align: center;
	width: 50%;
	display: inline-block;
}
.newletter-subscribe {
    float: left;
	padding: 40px 0;
	text-align: center;
	vertical-align: top;
	width: 100%;
}
.newletter-subscribe .box {
  float: left;
  width: 100%;
}
#subscribe_email{
	display: block;
	background: #fff none repeat scroll 0 0;
    border: 1px solid #d32512;
    border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
    color: #777;
    float: left;
    padding: 5px 15px 5px 15px;
    width: 100%;
	height: 50px;
}
#subscribe_email::-webkit-input-placeholder{
  color: #777;
}
#subscribe_email::-moz-placeholder{
  color: #777;
}
#subscribe_email:-ms-input-placeholder{
  color: #777;
}
#subscribe_email:-moz-placeholder {
  color: #777;
}
#subscribe .btn {
	height: 50px;
	position: absolute;
	top: 0;
	background: #d32512 none repeat scroll 0 0;
	border: 1px solid #d32512;
	border-radius: 0 5px 5px 0;
	-moz-border-radius: 0 5px 5px 0;
	-webkit-border-radius: 0 5px 5px 0;
	-khtml-border-radius: 0 5px 5px 0;
	color: #fff;
	font: 500 14px/36px "Montserrat",Helvetica,sans-serif;
	padding: 6px 20px;
	right: 0;
	text-transform: capitalize;
}
#subscribe .btn:hover {
	background: #000;
	border-color: #000;
	color: #fff;
}
.newletter-subscribe .button i {
  display: none;
}
#notification-normal {
	text-align: center;
	display: inline-block;
	float: none;
	vertical-align: top;
	width: 50%;
}
#notification-normal div{
	background: #dff0d8;
	color: #3c763d;
	font-size: 14px;
	padding: 10px 15px;
}
#notification-normal div.warning{
	background: #f2dede;
	color: #a94442;
}
@media(max-width:767px){
	.newletter-subscribe {
		padding: 45px 0;
	}
	.newletter-subscribe .newletter-container .newsletter-desc {
		font: 500 14px/18px "Montserrat",Helvetica,sans-serif;
		margin: 20px 0 10px;
		width: 100%;
	}
	#dialog-normal .newleter-content {
		width: 460px;
		margin: 0;
	}
	#form_subscribe {
		width: 100%;
	}
	#dialog-normal .newletter-title h2 {
		font: 700 24px/34px "Montserrat",sans-serif;
	}
	#boxes .box-content label {
		font-size: 12px;
	}
}
@media(max-width:600px){
	.newletter-popup {
		width: 465px;
	}
	.newslatter-img {
		height: 360px;
	}
	.newletter-popup .box {
		margin: 4% 0;
	}
}
@media(max-width:480px){
	.newletter-popup {
		width: 300px;
		margin: 0;
		top: 1% !important;
		height: 100%;
		overflow-y: auto;
	}
	.newslatter-img {
		width: 100%;
		height: 470px;
	}
	.newletter-popup #boxes .newletter-title h2 {
		font-size: 22px;
		line-height: 24px;
	}
	#boxes #frm_subscribe #subscribe_pemail {
		width: 80%;
	}
	#dialog-normal .newletter-title h2 { 
		font-size: 18px;
		line-height: 22px;
		margin: 0;
	}
	.newletter-popup .box {
		width: 100%;
		float: left;
	}
	#dialog-normal .newleter-content {
	  	width: 290px;
	}
	.newletter-subscribe {
		padding: 25px 0 45px;
	} 
	#subscribe .btn {
		padding: 11px;
	}
	.newletter-subscribe .button > span {
		display: none;
	}
	.newletter-subscribe .button > i {
	  display: block;
	  font-size: 18px;
	  color: #ffffff;
	  line-height: 24px;
	}
	.newletter-subscribe .button:hover > i {
		color: #fff;
	}
	#subscribe_email {
		padding: 0 40px 0 10px;
	}
}