/* newsletter popup */
.b-close{
	background: #111111;
	color: #ffffff;
	cursor: pointer;
	height: 30px;
	padding: 0 4px;
	position: absolute;
	right: 0;
	text-align: center;
	top: 0;
	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: #fffaf6 url("images/newsletter.png") 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: 400px;
	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: 887px;
}
.newletter-popup .box {
	padding: 60px 0;
	float: left;
	width: 65%;
}
.newletter-popup #dialog {
	margin: auto;
	position: relative;
	z-index: 100;
	height: 400px;
	max-width: 887px;
	padding: 0 70px;
}
.newletter-popup #boxes .newletter-title h2 {
	color: #333;
	font: italic 700 36px/38px "Playfair Display", Helvetica, sans-serif;
	margin: 0 0 20px;
	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: 500;
	font-size:13px;
	margin: 0;
	cursor: pointer;
}
#boxes .box-content > label {
  display: none;
}
#boxes .box-content label:hover {
	color: #111111;
}
#boxes  #frm_subscribe .required{
	color: #f00;
	padding-right: 5px;
}
#boxes #frm_subscribe #subscribe_pemail {
	border: 1px solid #e5e5e5;
	margin: 5px 0 20px;
	padding: 0 10px;
	width: 72%;
	float: left;
	height: 50px;
	background: #fff;
	letter-spacing: 1px;
}
#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: #f00;
}
#subscribe_popup #notification > div {
  margin: 10px 0 5px;
}
#boxes  #frm_subscribe #notification .success{
	color: #4caf50;
}
#popup2{
	width: 100%;
	float: left;
}
.popup-button span {
	display: none;
}
.popup-button {
	float: left;
	height: 50px;
	overflow: hidden;
	position: relative;
	width: 50px;
	background: #333;
	margin: 5px 0 18px;
}
.popup-button .btn-primary {
	float: left;
	width: 50px;
	height: 50px;
	padding: 0;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	-khtml-border-radius: 0;
	cursor: pointer;
	font-size: 14px;
	padding: 0px 20px;
	position: relative;
	overflow: hidden;
	background: #111;
	-webkit-transform: perspective(1px) translateZ(0);
	transform: perspective(1px) translateZ(0);
	position: relative;
	-webkit-transition-property: color;
	transition-property: color;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	border: none;
}
.popup-button .btn-primary::after {
	content: "\e5c8";
	font-family: "Material Icons";
	font-size: 22px;
	color: #fff;
	font-weight: 600;
	line-height: 50px;
	right: 0;
	margin: 0 auto;
	width: 50px;
	opacity: 1;
	-moz-opacity: 1;
	-khtml-opacity: 1;
	-webkit-opacity: 1;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	-khtml-border-radius: 0;
	background: none;
	-webkit-transform: none;
	transform: none;
}
.popup-button .btn-primary::before {
	background: #ec2017;
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	content: "";
	-webkit-transform: scaleX(0);
	transform: scaleX(0);
	-webkit-transform-origin: 0 50%;
	transform-origin: 0 50%;
	-webkit-transition-property: transform;
	transition-property: transform;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
}
.popup-button .btn-primary:hover::before {
	-webkit-transform: scaleX(1);
	transform: scaleX(1);
}
/* newsllter */
#dialog-normal .newletter-title {
	float:left;
	width: 100%;
}
#dialog-normal .newletter-title h2 {
    background: none;
    color: #fff;
    font: 700 34px/40px "Montserrat", Helvetica, sans-serif;
    letter-spacing: 1px;
    margin: 0 0 15px;
    padding: 45px 0 0;
    position: relative;
    text-align: center;
    float: left;
    width: 100%;
}
#dialog-normal .newletter-title h2::before {
    bottom: auto;
    color: #fff;
    content: "\e554";
    cursor: pointer;
    float: left;
    font-family: 'Material Icons';
    font-size: 36px;
    height: 38px;
    left: 0;
    line-height: 38px;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 38px;
    background: none;
    animation: none;
    font-weight: 300;
}
.newletter-subscribe .newletter-container .newsletter-desc {
    color: #fff;
    float: left;
    font: italic 500 16px/28px "Playfair Display", Helvetica, sans-serif;
    text-align: center;
    vertical-align: top;
    width: 100%;
}
#dialog-normal .newleter-content{    
	display: inline-block;
	float: none;
	margin: 35px 0 0;
	max-width: 700px;
	padding: 0 15px;
	vertical-align: top;
	width: 100%;
}
#form_subscribe {
	float: left;
	position: relative;
	text-align: center;
	width: 100%;
}
.newletter-subscribe {
  float: left;
  padding: 70px 0;
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 1;
}
.newletter-subscribe .box {
	display: inline-block;
	float: none;
	vertical-align: top;
	width: 52%;
}
#subscribe_email {
    background: #ffffff;
    border: none;
	outline: none;
    border-radius: 25px;
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    -khtml-border-radius: 25px;
    color: #666;
    display: block;
    float: left;
    font-size: 14px;
    height: 50px;
    margin: 0;
    padding: 0 130px 0 15px;
    width: 100%;
}
#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 {
    background: #111111;
	border: none;
    border-radius: 0 25px 25px 0;
    -moz-border-radius: 0 25px 25px 0;
    -webkit-border-radius: 0 25px 25px 0;
    -khtml-border-radius: 0 25px 25px 0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    height: 50px;
    line-height: 34px;
    padding: 8px 25px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
    overflow: hidden;
}
#subscribe .btn:hover{
	color: #ffffff;
}
#subscribe .btn::after {
	background: #ec2017;
    content: "";
    position: absolute;
    bottom: auto;
    border-radius: 0 25px 25px 0;
    -moz-border-radius: 0 25px 25px 0;
    -webkit-border-radius: 0 25px 25px 0;
    -khtml-border-radius: 0 25px 25px 0;
	opacity: 1;
    -moz-opacity: 1;
    -khtml-opacity: 1;
    -webkit-opacity: 1;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: all 400ms ease-in-out 0s;
    -moz-transition: all 400ms ease-in-out 0s;
    -ms-transition: all 400ms ease-in-out 0s;
    -o-transition: all 400ms ease-in-out 0s;
    transition: all 400ms ease-in-out 0s;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#subscribe .btn:hover::after {
	width: 100%;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
    -webkit-transition: 0.6s cubic-bezier(0.54, 0.32, 0.05, 0.96);
    -moz-transition: 0.6s cubic-bezier(0.54, 0.32, 0.05, 0.96);
    -ms-transition: 0.6s cubic-bezier(0.54, 0.32, 0.05, 0.96);
    -o-transition: 0.6s cubic-bezier(0.54, 0.32, 0.05, 0.96);
    transition: 0.6s cubic-bezier(0.54, 0.32, 0.05, 0.96);
}
.newletter-subscribe .button i {
  display: none;
}
#notification-normal {
	bottom: auto;
	float: left;
	overflow: hidden;
	position: absolute;
	top: 55px;
	width: 95%;
	border-radius: 50px;
}
#notification-normal div{
	background: #dff0d8;
	color: #3c763d;
	font-size: 14px;
	padding: 10px 15px;
}
#notification-normal div.warning {
    background: #f2dede;
    color: #a94442;
}
@media(max-width:1299px){
	.newletter-subscribe {
		padding: 40px 0;
	}
}
@media(max-width:1199px){
	#dialog-normal .newletter-title h2 {
		font-size: 28px;
		line-height: 30px;
		margin: 0 0 20px;
	}
	.newletter-subscribe .box {
		width: 65%;
	}
}
@media(max-width:991px){
	.newletter-subscribe {
		padding: 30px 0;
	}
	.newletter-subscribe .box {
		width: 90%;
	}
	#dialog-normal .newletter-title h2 {
	  display: inline-block;
	  float: none;
	  margin: 0 0 20px;
	  vertical-align: top;
	  width: auto;
	}
	#dialog-normal .newleter-content {
		margin: 20px 0 0;
	}
	.newletter-popup {
		max-width: 700px;
	}
	.newletter-popup #dialog {
		max-width: 700px;
		padding: 0 30px;
	}
	#notification-normal {
		position: static;
		width: 100%;
		margin: 10px 0 0;
	}
}
@media(max-width:767px){
	.newletter-subscribe .box {
	  width: 80%;
	}
	#dialog-normal .newletter-title {
		padding: 0;
	}
}
@media(max-width:600px){
	.newletter-popup {
		width: 465px;
	}
	.newletter-popup .box {
		width: 80%;
	}
	#dialog-normal .newleter-content {
		padding: 0;
	}
}
@media(max-width:480px){
	.newletter-popup {
		width: 300px;
		margin: 0;
		padding: 0;
		top: 5% !important;
		overflow-y: auto;
		background-position: top center;
		height: 520px;
	}
	.newletter-popup #dialog {
		padding: 0;
		height: 620px;
	}
	.newslatter-img {
		width: 100%;
		height: 620px;
	}
	.newletter-popup .box {
		width: 100%;
		background: #ffff;
		padding: 20px 15px 20px;
		position: absolute;
		bottom: 0;
		top: auto;
		left: 0;
		right: 0;
		margin: 0 auto;
	}
	.newletter-popup #boxes .newletter-title h2 {
		font-size: 22px;
		line-height: 26px;
		margin: 0 0 15px;
	}
	.newletter-popup .newleter-content > span {
		font-size: 13px;
	}
	#boxes #frm_subscribe #subscribe_pemail {
		width: 80%;
	}
	#dialog-normal .newletter-title h2 { 
		font-size: 20px;
		line-height: 30px;
		margin: 0 0 5px;
	}
	#dialog-normal .newletter-title .tt-title::before {
		left: 0;
		right: 0; 
	}
	.newletter-subscribe .newletter-container .newsletter-desc {
		font-size: 14px;
		line-height: 20px;
	}
	#dialog-normal .newleter-content {
		margin: 20px 0 0;
	  	width: 100%;
	}
	.newletter-subscribe .button > span {
		display: none;
	}
	#subscribe .btn {
		width: 48px;
		padding: 0 15px;
	}
	.newletter-subscribe .button > i {
	    color: #ffffff;
		display: inline-block;
		font-size: 22px;
		line-height: 45px;
		transform: rotateZ(-30deg);
		-webkit-transform: rotateZ(-30deg);
		-moz-transform: rotateZ(-30deg);
		-o-transform: rotateZ(-30deg);
		-ms-transform: rotateZ(-30deg);
	}
	#notification-normal div {
		font-size: 13px;
		padding: 8px;
	}
	.newletter-subscribe .button:hover > i {
		color: #ffffff;
	}
	#subscribe_email {
		padding: 0 50px 0 10px;
	}
	.newletter-subscribe .row {
	  margin: 0;
	}
	.newletter-subscribe .box {
	  width: 100%;
	}
	.newletter-subscribe {
	  padding: 20px 0;
	}
}