/* newsletter popup */
.b-close {
	background: #fff;
	color: #111;
	cursor: pointer;
	height: 30px;
	padding: 0 4px;
	position: absolute;
	right: 5px;
	text-align: center;
	top: 5px;
	width: 30px;
}
.ttpopupclose {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 99;
	cursor: url("images/pop.png"), pointer;
}
#popup2 .b-close .icon-close {
  font-size: 18px;
  font-weight: 700;
  line-height: 30px;
  transition: all 400ms ease-in-out 0s;
  -webkit-transition: all 400ms ease-in-out 0s;
-moz-transition: all 400ms ease-in-out 0s;
-o-transition: all 400ms ease-in-out 0s;
-ms-transition: all 400ms ease-in-out 0s;
}
#popup2 .b-close:hover .icon-close {
	transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
}
.newletter-popup {
	background: #796c64 url("images/newslatter.jpg") no-repeat scroll;
	background-attachment: scroll;
	-webkit-background-position: center center;
	-moz-background-position: center center;
	-o-background-position: center center;
	-webkit-background-repeat: no-repeat;
	-moz-background-repeat: no-repeat;
	-o-background-repeat: no-repeat;
	background-repeat: no-repeat;
	top: 50% !important;
	margin-top: -160px;
	position: fixed !important;
	overflow: hidden;
	display: none;
	height: 348px;
	width: 100%;
	background-position: right center;
	-webkit-box-shadow: 0 3px 9px rgba(0,0,0,0.05);
	-moz-box-shadow: 0 3px 9px rgba(0,0,0,0.05);
	-ms-box-shadow: 0 3px 9px rgba(0,0,0,0.05);
	-o-box-shadow: 0 3px 9px rgba(0,0,0,0.05);
	box-shadow: 0 3px 9px rgba(0,0,0,0.05);
	max-width: 710px;
}
.newletter-popup .box {
	padding: 40px 0;
	float: left;
	width: 62%;
	text-align: center;
}
.newletter-popup #dialog {
	margin: auto;
	position: relative;
	z-index: 100;
	padding: 0 40px;
}
.newletter-popup #boxes .newletter-title h2 {
	color: #fff;
	font: 500 34px/38px "Dosis", Helvetica, sans-serif;
	margin: 0 0 15px;
	padding: 0;
	position: relative;
}
.newletter-popup .newletter-title {
  float: left;
  position: relative;
  width: 100%;
}
.newletter-popup .newleter-content > span {
	float: left;
	padding: 0 0 15px;
	width: 100%;
	font-size: 14px;
	line-height: 24px;
	color: #666;
}
.newletter-popup .newleter-content {
  float: left;
  width: 100%;
}
#boxes .box-content label {
	font-weight: 400;
	font-size: 14px;
	margin: 0;
	cursor: pointer;
	color: #ccc;
	-webkit-transition: all .4s ease-in-out 0s;
	-moz-transition: all .4s ease-in-out 0s;
	-ms-transition: all .4s ease-in-out 0s;
	-o-transition: all .4s ease-in-out 0s;
	transition: all .4s ease-in-out 0s;
}
#boxes .box-content > label {
  display: none;
}
#boxes .box-content label:hover {
	color: #fff;
}
#boxes  #frm_subscribe .required{
	color: #f00;
	padding-right: 5px;
}
#boxes #frm_subscribe #subscribe_pemail {
	height: 45px;
	padding: 10px 15px;
	width: 85%;
	color: #ccc;
	outline: none;
	background: none;
	margin: 0 0 20px;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 1px;
	border: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-khtml-border-radius: 0;
	border-radius: 0;
	text-align: center;
	border-bottom: 2px solid rgba(255,255,255,.2);
}
#boxes #frm_subscribe input::placeholder{
	color: #ccc !important;
}
#boxes #frm_subscribe input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #ccc !important;
}

#boxes #frm_subscribe input:-ms-input-placeholder { /* Internet Explorer 10-11 */
 color: #ccc !important;
}

#boxes #frm_subscribe input::-ms-input-placeholder { /* Microsoft Edge */
 color: #ccc !important;
}
#boxes .box-content .subscribe-bottom{
	margin-top: 0;
	float: left;
	width: 100%;
}
#boxes .box-content .subscribe-bottom #newsletter_popup_dont_show_again{
	display: inline-block;
	margin: 0;
	vertical-align: top;
}
#boxes  #frm_subscribe #notification{
	color: #ff8f8a;
}
#subscribe_popup #notification > div {
  margin: 10px 0 5px;
}
#boxes  #frm_subscribe #notification .success{
	color: #4caf50;
}
#popup2{
	width: 100%;
	float: left;
}
.popup-button {
	float: none;
	text-align: center;
	width: auto;
	cursor: pointer;
	margin: 0 0 20px;
	display: inline-block;
	vertical-align: top;
}
.popup-button .button.btn.btn-primary {
	cursor: pointer;
	display: inline-block;
	font-size: 14px;
	margin: 0;
	font-weight: 400;
	padding: 9px 20px;
	background: #fff;
	vertical-align: top;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	-khtml-border-radius: 0;
	line-height: 26px;
	color: #111;
}
.popup-button .btn-primary::before {
	background: #ffc600;
	content: "";
	left: 0;
	right: auto;
	position: absolute;
	top: 0;
	bottom: auto;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-khtml-border-radius: 0;
	border-radius: 0;
	width: 0;
	height: 100%;
	-webkit-transition: all .4s ease-in-out 0s;
	-moz-transition: all .4s ease-in-out 0s;
	-ms-transition: all .4s ease-in-out 0s;
	-o-transition: all .4s ease-in-out 0s;
	transition: all .4s ease-in-out 0s;
	z-index: -1;
}
.popup-button .btn-primary:hover::before, .popup-button .btn-primary:active::before, .popup-button .btn-primary:focus::before {
	width: 100%;
}
.popup-button .button.btn.btn-primary:hover, .popup-button .button.btn.btn-primary:active, .popup-button .button.btn.btn-primary:focus{
	background-color: #ffc600;
	color: #111;
}
.newletter-popup #frm_subscribe .newslatterpopup-content > span {
	font-size: 13px;
	line-height: 24px;
	padding: 0 0 15px;
	color: #ccc;
	display: inline-block;
}
/* newsllter */
#dialog-normal .newletter-title h2 {
	background: rgba(255, 255, 255, 0) none repeat scroll 0 0;
	color: #fff;
	float: left;
	font: 600 16px/18px "Dosis",Helvetica,sans-serif;
	position: relative;
	text-align: left;
	width: 100%;
	margin: 0 0 25px 0;
}
.newletter-title {
	float: left;
	padding: 0;
}
.newletter-desc {
	color: #111;
	float: left;
	font: 600 14px/22px "Roboto", Helvetica, sans-serif;
	text-align: center;
	width: 100%;
	margin:0 0 20px;
	display: none;
}
#dialog-normal .newletter-title .tt-title::before {
	bottom: auto;
	color: #fff;
	cursor: pointer;
	float: left;
	font-family: "Material Icons";
	content: "\e0e1";
	font-size: 26px;
	height: 25px;
	left: 0;
	line-height: 25px;
	margin: auto;
	position: absolute;
	right: auto;
	top: 3px;
	width: 25px;
	text-align: center;
	background: none;
	display: none;
}
#dialog-normal .newleter-content {
	float: none;
	max-width: 500px;
	padding: 0;
	text-align: center;
	width: 100%;
	display: inline-block;
	vertical-align: top;
	margin: 0 0 15px;
}
#form_subscribe{
	float: left;
	position: relative;
	width: 100%;
}
.newletter-subscribe {
	float: left;
	width: 100%;
}
.newletter-subscribe .box {
	float: left;
	width: 100%;
	background: none;
	text-align: center;
}
#subscribe_email {
	float: left;
	color: #fff;
	padding: 0 137px 5px 5px;
	font: 400 13px/16px "Roboto", Helvetica, sans-serif;
	background: none;
	height: 48px;
	max-width: 500px;
	outline: none;
	letter-spacing: 1px;
	width: 100%;
	border: none;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	-khtml-border-radius: 0;
	border-bottom: 2px solid rgba(255,255,255,.2);
}
#subscribe_email::-webkit-input-placeholder{
  color: #7f7f7f;
}
#subscribe_email::placeholder {
    color: #111;
}
#subscribe_email:-ms-input-placeholder{
  color: #7f7f7f;
}
#subscribe_email:-moz-placeholder {
  color: #7f7f7f;
}
#subscribe .btn {
	background: #ffc600;
	color: #111;
	height: 42px;
	overflow: hidden;
	padding: 8px 20px;
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	border: none;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	-khtml-border-radius: 0;
	font: 400 13px/27px 'Roboto', Helvetica, sans-serif;
	margin: 0;
}
#subscribe .btn::before{
	background: #444;
	content: "";
	left: 0;
	right: auto;
	position: absolute;
	top: 0;
	bottom: auto;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-khtml-border-radius: 0;
	border-radius: 0;
	width: 0;
	height: 100%;
	-webkit-transition: all .4s ease-in-out 0s;
	-moz-transition: all .4s ease-in-out 0s;
	-ms-transition: all .4s ease-in-out 0s;
	-o-transition: all .4s ease-in-out 0s;
	transition: all .4s ease-in-out 0s;
	z-index: -1;
}
#subscribe_email::-webkit-input-placeholder{
  color: #fff;
}
#subscribe_email::-moz-placeholder{
  color: #fff;
}
#subscribe_email:-ms-input-placeholder{
  color: #fff;
}
#subscribe_email:-moz-placeholder {
  color: #fff;
}
#subscribe .btn:hover::before, #subscribe .btn:active::before, #subscribe .btn:focus::before{
	width:100%;
}
#subscribe .btn:hover, #subscribe .btn:active, #subscribe .btn:focus {
	color: #ffffff;
	background: #444;
}
.newletter-subscribe .button i {
   display: none;
}
#notification-normal {
	float: right;
	width: 100%;
	position: absolute;
	top: 100%;
	bottom: auto;
	z-index: 1;
	left: 0;
	right: 0;
}
#notification-normal div{
	background: #dff0d8;
	color: #3c763d;
	font-size: 13px;
	padding: 10px 15px;
	margin: 5px 0 0;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	-khtml-border-radius: 0;
}
#notification-normal div.warning{
	background: #f2dede;
	color: #a94442;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	-khtml-border-radius: 0;
}
@media(max-width:1199px){
	#dialog-normal .newleter-content {
		max-width: 450px;
		float: right;
	}
	#subscribe .btn{
		right:0;		
	}
}
@media(max-width:991px){
	#dialog-normal .newletter-title {
		width: 100%;
		margin: 0;
		text-align: center;
		margin: 0;
	}
	#dialog-normal .newleter-content{
		float: none;		
		max-width:500px;
	}
	#notification-normal{
		position: static;		
	}
	.newletter-subscribe {
		margin: 20px 0 30px;
		text-align: center;
		float: left;
		width: 100%;
		padding: 25px 10px;
		background: rgba(0,0,0,.3);
	}
	#subscribe_email {
		max-width: 515px;
	}
	#dialog-normal .newletter-title h2{
		text-align: center;
		width: auto;
		float: none;
		display: inline-block;
		vertical-align: top;
		font-size: 24px;
		margin: 0 0 20px 0;	
		font-size: 17px;
	}
}
@media(max-width:630px){
	.newletter-popup {
		max-width: 460px !important;
		height: 260px;
		background-image: none;
	}
	#popup2{
		color:#111;	
	}
	#dialog-normal .newletter-title{
		margin: 0;	
	}
	.newletter-popup .box ,.newletter-popup .newletter-title, .popup-button{
		text-align: center;
		float: none;
		display: inline-block;
		vertical-align: top;
		margin: 0 0 10px 0;
	}
	.newletter-popup #boxes .newletter-title h2 {
		font-size: 26px;
		line-height: 28px;
		margin: 0;
	}
	.newletter-popup .box {
		margin: 0;
		width: 100%;
		padding: 12px 0;
	}
	.b-close::before{
		background-position:-73px -326px;	
	}
	.newslatter-img{
		width:100%;	
		background-size: cover;
		background-position: center;
	}
	#boxes #frm_subscribe #subscribe_pemail {
		width: 90%;
		text-align: center;
		margin: 0 0 15px;
	}
	.popup-button .button.btn.btn-primary {
		margin-bottom: 0;
	}
	.b-close::before {
		left: auto;
		right: 3px;
		top: 3px;
		color: #000;
	}
	#popup2{
		top: 10px;
		right: 10px;
		background:#fff;
	}
	.newletter-popup #dialog {
		padding: 0 30px;
	}
}
@media(max-width:543px){
	#notification-normal{
		position:static;	
	}
	.newletter-subscribe {
		margin: 20px 0 10px;
	}
}
@media(max-width:480px){
	.newletter-subscribe .button > span {
		display: none;
	}
	#dialog-normal .newletter-title .tt-title::after {
		font-size:32px;			
	}
	.newletter-popup #dialog{
		max-width: 310px;
	}
	.newletter-subtitle{
		font-size: 20px;
		line-height: 26px;
	}
	#subscribe .btn {
	 	padding: 15px;
	}
	.newletter-subscribe {
		padding: 15px;
	}
	.newletter-subscribe .button > i {
		display: block;
		font-size: 20px;
		line-height: 13px;
		color: #111;
		transition: all 400ms ease-in-out 0s;
		-webkit-transition: all 400ms ease-in-out 0s;
		-moz-transition: all 400ms ease-in-out 0s;
		-o-transition: all 400ms ease-in-out 0s;
		-ms-transition: all 400ms ease-in-out 0s;
	}
	#dialog-normal .newleter-content {
		max-width: 290px;
		margin: 0;
	}
	.newletter-subscribe .button:hover > i, .newletter-subscribe .button:active > i , .newletter-subscribe .button:focus > i {
		color: #fff;
	}
	.newletter-desc {
		font-size: 13px;
		line-height: 20px;
	}
	#subscribe_email {
		padding: 10px 57px 12px 15px;
		max-width: 295px;
	}
	#notification-normal {
		width: 100%;
	}
	#dialog-normal .newletter-title {
		padding: 0;
	}
	.newletter-subscribe .container{
		padding:0;	
	}
	.newletter-popup {
		height: auto;
		width: 300px;
	}
	.newletter-popup .box{
		padding: 22px 0;		
	}
}