/* newsletter popup */
.b-close {
	color: #000;
	cursor: pointer;
	height: 30px;
	padding: 0 5px;
	position: static;
	text-align: center;
	width: 27px;
	float: right;
}
#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;
	cursor: pointer;
	float: right;
	display: inline-block;
}
#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);
}
.ttpopupclose {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 99;
	cursor: url("images/pop.png"), pointer;
}
.newletter-popup #dialog {
	bottom: auto;
	left: 0;
	margin: auto;
	right: 0;
	top: 0;
	z-index: 100;
	position: absolute;
	height: 470px;
	max-width: 600px;
}
.newletter-popup {
	background: #fff;
	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: -235px;
	position: fixed !important;
	text-align: center;
	display: none;
	height: 470px;
	width: 600px;
}
.newslatter-img {
	background: url("images/newsletter.png");
	height: 470px;
	padding: 0;
	position: absolute;
}
.newletter-popup .box {
	float: right;
	padding: 30px 10px 0;
	text-align: center;
}
.newletter-popup #boxes .newletter-title h2 {
	color: #222;
	margin: 0;
	position: relative;
	text-transform: capitalize;
	font: 700 28px/34px Open Sans,sans-serif;
	padding: 0 0 15px;
	text-align: center;
}
.newletter-popup #boxes .newletter-title h2::after {
	background: #f3283d;
	content: "";
	bottom: -2px;
	top: auto;
	width: 50px;
	height: 3px;
	position: absolute;
	left: 0;
	right: 0;
	-webkit-transition: all 400ms ease-in-out;
	-moz-transition: all 400ms ease-in-out;
	-ms-transition: all 400ms ease-in-out;
	-o-transition: all 400ms ease-in-out;
	transition: all 400ms ease-in-out;
	margin: 0 auto;
}
.newletter-popup .newletter-title {
  float: left;
  position: relative;
  width: 100%;
}
.newletter-popup .newleter-content {
	float: left;
	width: 100%;
	padding: 0 5px;
}
#boxes .box-content label {
	font-weight: 400;
	font-size: 14px;
	line-height: 25px;
	margin: 0;
	cursor: pointer;
	color: #666666;
	letter-spacing: 1px;
}
#boxes .box-content label:hover {
	color: #000000;
}
#boxes  #frm_subscribe .required{
	color: #f00;
	padding-right: 5px;
}
#boxes #frm_subscribe #subscribe_pemail {
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	-khtml-border-radius: 8px;
	height: 45px;
	padding: 5px 15px;
	width: 90%;
	text-align: center;
	color: #666;
	margin: 25px 0 30px;
	letter-spacing: 1px;
}
#boxes .box-content .subscribe-bottom{
	margin-top: 20px;
}
#boxes .box-content .subscribe-bottom #newsletter_popup_dont_show_again{
	display: inline-block;
	margin: 0;
	vertical-align: top;
}
.newslatterpopup-content > span {
	font-size: 14px;
	float: left;
	width: 100%;
	line-height: 24px;
}
#boxes  #frm_subscribe #notification{
	color: #c22312;
	float: left;
	font-size: 14px;
	text-align: center;
	width: 100%;
}
#subscribe_popup #notification > div {
  margin: 10px 0 0;
}
#boxes  #frm_subscribe #notification .success{
	color: #4caf50;
}
#popup2{
	float: left;
	width: 100%;
}
.popup-button {
  display: inline-block;
  float: none;
  text-align: center;
  vertical-align: top;
  width: 100%;
}
/* newsllter */
#dialog-normal .newletter-title {
	float: left;
	text-align: left;
	position: relative;
}
#newletter-boxes {
	float: left;
	width: 100%;
}
#dialog-normal .newletter-title h2 {
	position: relative;
	border: medium none;
	color: #fff;
	float: left;
	font: 400 26px/45px Open Sans,sans-serif;
	margin: 0;
	padding: 0;
	text-align: left;
	text-transform: capitalize;
	padding-left: 55px;
	padding-right: 15px;
}
#dialog-normal .newletter-title .tt-title::before {
    height: 45px;
    left: 4px;
    position: absolute;
    width: 42px;
    top: 0;
    bottom: 0;
    margin: 0 auto;
    content: "\e151";
    font-family: "Material Icons";
    font-size: 42px;
    line-height: 48px;
}
#dialog-normal .newleter-content {
	float: right;
	max-width: 550px;
	padding: 0;
}
#dialog-normal .newletter-desc {
	float: left;
	color: #fff;
	font: 400 16px/45px Open Sans,sans-serif;
}
#form_subscribe{
	float: left;
	position: relative;
	text-align: center;
	width: 100%;
}
.newletter-subscribe {
	float: left;
	padding: 18px 0;
}
.newletter-subscribe .box {
  float: left;
  width: 100%;
}
#subscribe_email {
	height: 45px;
	background: #ffffff none repeat scroll 0 0;
	border: 1px solid #e5e5e5;
	color: #666;
	float: left;
	overflow: hidden;
	padding: 10px 110px 10px 10px;
	width: 100%;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	-khtml-border-radius: 8px;
	-webkit-box-shadow: 0 2px 3px 0px rgba(0,0,0,0.05);
	-moz-box-shadow: 0 2px 3px 0px rgba(0,0,0,0.05);
	-ms-box-shadow: 0 2px 3px 0px rgba(0,0,0,0.05);
	-o-box-shadow: 0 2px 3px 0px rgba(0,0,0,0.05);
	box-shadow: 0 2px 3px 0px rgba(0,0,0,0.05);
	letter-spacing: 1px;
}
#subscribe_email::-webkit-input-placeholder{
  color: #666;
}
#subscribe_email::-moz-placeholder{
  color: #666;
}
#subscribe_email:-ms-input-placeholder{
  color: #666;
}
#subscribe_email:-moz-placeholder {
  color: #666;
}
#subscribe .btn {
	font-weight: 600;
	padding: 10px 15px;
	background: #fed700 none repeat scroll 0 0;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	-khtml-border-radius: 8px;
	color: #000;
	height: 45px;
	letter-spacing: 1px;
	overflow: hidden;
	position: absolute;
	right: 0px;
	top: 0;
	bottom: 0;
	width: auto;
	left: auto;
	line-height: 24px;
}
#subscribe .btn:hover {
	background: #222222;
	color: #fff;
	border: none;
}
#subscribe .btn::after {
	background: #fff none repeat scroll 0 0;
	content: "";
	height: 100%;
	left: 0;
	opacity: 0.2;
	-moz-opacity: 0.2;
	-khtml-opacity: 0.2;
	-webkit-opacity: 0.2; 
	position: absolute;
	top: 0;
	width: 0;
	-webkit-border-radius: 0 8px 8px 0;
	-moz-border-radius: 0 8px 8px 0;
	-khtml-border-radius: 0 8px 8px 0;
	border-radius: 0 8px 8px 0;
	-webkit-transition: 500ms ease-in-out;
	-moz-transition: 500ms ease-in-out;
	-ms-transition: 500ms ease-in-out;
	-o-transition: 500ms ease-in-out;
	transition: 500ms ease-in-out;
}
#subscribe .btn:hover::after {
	width: 100%;
}
.newletter-subscribe .button i {
  display: none;
}
#notification-normal{
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px; 
	-khtml-border-radius: 8px;
	bottom: auto;
	float: left;
	overflow: hidden;
	position: absolute;
	top: 50px;
	width: 100%;
}
#notification-normal div{
	background: #dff0d8;
	color: #3c763d;
	font-size: 14px;
	padding: 10px 15px;
}
#notification-normal div.warning{
	background: #f2dede;
	color: #a94442;
}
@media(max-width:1601px){
	#dialog-normal .newletter-title h2 {
			font-size: 24px;
	}
}
@media(max-width:1501px){
	#dialog-normal .newletter-title h2 {
		font-size: 20px;
	}
}
@media(max-width:1201px){
	#dialog-normal .newletter-title h2 {
		padding-left: 50px;
		padding-right: 5px;
	}
}
@media(max-width:1199px){
	#dialog-normal .newletter-title h2 {
		font-size: 20px;
	}
	#dialog-normal .newletter-desc {
		font-size: 14px;
		line-height: 22px;
	}
	#dialog-normal .newletter-title h2 {
		font-size: 18px;
		padding-left: 40px;
	}
	#dialog-normal .newletter-title .tt-title::before {
		font-size: 30px;
	}
	#dialog-normal .newletter-title {
		width: 60%;
	}
	#dialog-normal .newleter-content {
		width: 40%;
	}
}
@media(max-width:991px){
	#dialog-normal .newletter-title {
		display: inline-block;
		float: left;
		vertical-align: top;
		width: 100%;
		text-align: center;
		padding: 0;
	}
	#dialog-normal .newleter-content {
		display: inline-block;
		float: none;
		padding: 15px 0 0;
		vertical-align: top;
		width: 500px;
	}
	#dialog-normal .newletter-title .tt-title::before {
		display: inline-block;
		float: none;
		vertical-align: top;
		left: 0;
		right: 0;
		height: 40px;
	}
	.newletter-subscribe {
		padding: 15px 10px;
		float: left;
		width: 100%;
		text-align: center;
		display: inline-block;
		vertical-align: top;
	}
	#dialog-normal .newletter-title h2 {
		float: left;
		width: 100%;
		padding: 35px 0 0 0;
		text-align: center;
		font-weight: 600;
	}
	#dialog-normal .newletter-desc {
		float: left;
		width: 100%;
		text-align: center;
	}
	#notification-normal {
		position: static;
		margin: 10px 0 0;
	}
}
@media(max-width:767px){ 
	#dialog-normal .newleter-content {
		width: 460px;
	}
}
@media(max-width:600px){
	.newletter-popup {
		width: 300px;
		top: 2% !important;
		margin: 0;
		height: 100%;
		overflow-y: auto;
	}
	.newslatter-img {
		position: static;
		width: 100%;
	}
	.b-close::before {
		background-color: #fff;
	}
	#boxes #frm_subscribe #subscribe_pemail {
		margin: 25px 0;
	}
	.newletter-popup .box {
		width: 100%;
		margin: 0;
		padding: 20px 10px;
	}
	#boxes .box-content .subscribe-bottom {
		margin-top: 20px;
	}
	#dialog-normal .newleter-content {
		width: 400px;
	}
	#popup2 {
		float: right;
		width: auto;
		position: absolute;
		left: auto;
		right: 5px;
		top: 5px;
	}
	.b-close {
		height: 25px;
		padding: 0 3px;
		width: 25px;
		background: #fff;
	}
	#popup2 .b-close .icon-close {
		line-height: 25px;
	}
	.newletter-popup #boxes .newletter-title h2 {
		font: 700 26px/30px Open Sans,sans-serif;
	}
}
@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 .box {
		width: 100%;
	}
	.newletter-popup #boxes .newletter-title h2 {
		font-size: 22px;
		line-height: 24px;
	}
	#boxes #frm_subscribe #subscribe_pemail {
		width: 80%;
	}
	#dialog-normal .newletter-desc {
		width: 100%;
	}
	#dialog-normal .newletter-title h2 {
		padding: 30px 0 0;
		display: inline-block;
		vertical-align: top;
		line-height: 36px;
	}
	#dialog-normal .newletter-title .tt-title::before {
	  	top: -10px;
	}
	#dialog-normal .newleter-content {
		width: 300px;
	}
	#dialog-normal .newletter-title {
		padding: 0;
	}
	#subscribe .btn {
		width: 48px;
		padding: 0 15px;
	}
	.newletter-subscribe .button i {
		color: #000;
		display: inline-block;
		font-size: 22px;
		line-height: 40px;
		transform: rotateZ(-30deg);
		-webkit-transform: rotateZ(-30deg);
		-moz-transform: rotateZ(-30deg);
		-o-transform: rotateZ(-30deg);
		-ms-transform: rotateZ(-30deg);
	}
	.newletter-subscribe .button:hover i {
		color: #fff;
	}
	#subscribe .btn::before {
		padding: 0;
	}
	.newletter-subscribe .button > span {
		display: none;
	}
	#subscribe_email {
		padding: 0 50px 0 10px;
	}
}