/* TB-newsletter-popup Start */
#TB-newsletter-popup #boxes {
	background-color: #fff;
	bottom: 0;
	left: 0;
	margin: auto;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 100;
	height: max-content;
	max-width: 600px;
	border: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-khtml-border-radius: 0;
	border-radius: 0;
	padding: 30px;
}

#TB-newsletter-popup .newslatterpopup-content {
	/* width: 88%; */
	margin: 0 auto;
}

#TB-newsletter-popup #notification .warning {
	background: #f8d7da;
	padding: 12px;
	color: #842029;
	margin: 0 0 15px 0;
	border: 1px solid #f5c2c7;
	border-radius: 50px;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	-ms-border-radius: 50px;
	-o-border-radius: 50px;
}

#TB-newsletter-popup #notification .success {
	background: #d1e7dd;
	padding: 12px;
	color: #0f5132;
	margin: 0 0 15px 0;
	border: 1px solid #badbcc;
	border-radius: 50px;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	-ms-border-radius: 50px;
	-o-border-radius: 50px;
}

#TB-newsletter-popup #popup2 {
	margin: auto;
	position: absolute;
	right: 0;
	text-align: center;
	cursor: pointer;
	top: 0;
	width: auto;
	height: 30px;
	width: 30px;
	transition: all 400ms ease-in-out;
	-webkit-transition: all 400ms ease-in-out;
	-moz-transition: all 400ms ease-in-out;
	-o-transition: all 400ms ease-in-out;
	-ms-transition: all 400ms ease-in-out;
	z-index: 1;
	background: #000;
}

#TB-newsletter-popup #popup2 span {
	display: inline-block;
}

#TB-newsletter-popup #popup2 .b-close i {
	color: #fff;
	line-height: 30px;
	transition: all 400ms ease-in-out;
	-webkit-transition: all 400ms ease-in-out;
	-moz-transition: all 400ms ease-in-out;
	-o-transition: all 400ms ease-in-out;
	-ms-transition: all 400ms ease-in-out;
	display: block;
	font-size: 20px;
}

#TB-newsletter-popup #popup2:hover .b-close i {
	transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-o-transform: rotate(180deg);
}

#TB-newsletter-popup .newslatter-img {
	background: #fff url("../images/newsletter-img.png");
	padding: 0;
	order: 2;
	display: block;
	margin: 0 auto 20px;
	width: 468px;
	height: 333px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

#TB-newsletter-popup .box {
	text-align: center;
	width: 80%;
	margin: 0 auto;
}

/* #TB-newsletter-popup #dialog {
	display: flex;
	align-items: center;
} */

#TB-newsletter-popup #boxes .newletter-title h2 {
	color: #111;
	font: 400 44px/46px 'Rancho', Helvetica, sans-serif;
	margin: 0 0 8px;
	text-transform: capitalize;
}

#TB-newsletter-popup #subscribe_popup {
	padding: 0;
	margin: 0 0 15px;
}

#TB-newsletter-popup .newslatterpopup-content > span {
	margin: 0 0 20px 0;
	font: 500 15px/24px 'Quicksand', helvetica, sans-serif;
	color: #4b4b4b;
	display: block;
}

#TB-newsletter-popup #boxes #newleter_form_subscribe #subscribe_pemail {
	border: 1px solid #dddcdc;
	padding: 12px 20px;
	color: #111;
	background: #f5f5f5;
	margin: 0 0 20px;
	text-align: center;
	letter-spacing: 0.5px;
	font: 500 14px/20px 'Quicksand', helvetica, sans-serif;
	box-shadow: none;
	outline: none;
	display: block;
	width: 100%;
	border-radius: 50px;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	-ms-border-radius: 50px;
	-o-border-radius: 50px;
}

#TB-newsletter-popup #boxes .newleter-content label {
	color: #4b4b4b;
	font: 500 14px/24px 'Quicksand', helvetica, sans-serif;
	cursor: pointer;
	transition: all 400ms ease-in-out;
	-webkit-transition: all 400ms ease-in-out;
	-moz-transition: all 400ms ease-in-out;
	-o-transition: all 400ms ease-in-out;
	-ms-transition: all 400ms ease-in-out;
}

#TB-newsletter-popup #boxes .newleter-content label:hover {
	color: #111;
}

@media (max-width: 991px) {
	#TB-newsletter-popup .box {
		width: 100%;
	}

	#TB-newsletter-popup .newslatter-img {
		width: 318px;
		height: 233px;
		margin: 0 auto;
	}

	#TB-newsletter-popup #boxes .newletter-title h2 {
		font-size: 40px;
		line-height: 42px;
	}

	#TB-newsletter-popup #dialog {
		display: block;
	}

	#TB-newsletter-popup #boxes {
		bottom: 0;
		overflow-y: auto;
		left: 0;
		top: 0;
		margin: 65px auto;
		right: 0;
		position: fixed;
		z-index: 9;
		overflow-x: hidden;
		/* height: auto; */
	}

	/* #TB-newsletter-popup .box {
		padding: 20px;
	} */

	#TB-newsletter-popup #boxes {
		max-width: 500px;
	}

	/* #TB-newsletter-popup .newslatter-img {
		background-position: top center;
		width: auto;
	} */
	#TB-newsletter-popup #popup2 {
		height: 30px;
		width: 30px;
		z-index: 1;
		right: 0;
		top: 0;
		background: #111;
	}

	#TB-newsletter-popup .popup-button .button.btn.btn-primary {
		padding: 12px 26px;
	}
}

@media (max-width: 543px) {
	#TB-newsletter-popup #boxes {
		max-width: 400px;
	}

	#TB-newsletter-popup #boxes .newletter-title h2 {
		font-size: 36px;
		line-height: 38px;
		margin: 0 0 8px;
	}

	#TB-newsletter-popup .newslatterpopup-content>span {
		margin: 0 0 15px 0;
		font-size: 14px;
		line-height: 24px;
	}

	#TB-newsletter-popup #boxes #newleter_form_subscribe #subscribe_pemail {
		margin: 0 0 18px;
	}

	#TB-newsletter-popup .popup-button {
		margin: 0 0 18px;
	}

	#TB-newsletter-popup .newslatterpopup-content {
		width: 100%;
	}

	#TB-newsletter-popup #boxes .newleter-content label {
		font-size: 13px;
	}

	#TB-newsletter-popup .btn-primary {
		font-size: 14px;
		line-height: 16px;
	}

	#TB-newsletter-popup .newslatter-img {
		width: 318px;
		height: 233px;
	}
}

@media (max-width: 480px) {
	#TB-newsletter-popup .newslatter-img {
		width: 258px;
		height: 196px;
	}

	#TB-newsletter-popup #boxes {
		max-width: 320px;
	}

	#TB-newsletter-popup #boxes .newletter-title h2 {
		font-size: 30px;
		line-height: 32px;
		margin: 0 0 5px;
	}

	#TB-newsletter-popup .newslatterpopup-content > span {
		font-size: 13px;
		line-height: 24px;
	}

	#TB-newsletter-popup #boxes #newleter_form_subscribe #subscribe_pemail {
		margin: 0 0 15px;
	}

	#TB-newsletter-popup .popup-button {
		margin: 0 0 15px;
	}

	#TB-newsletter-popup #boxes .newleter-content label {
		font-size: 11px;
	}
}

@media (max-width: 360px) {
	#TB-newsletter-popup #boxes {
		max-width: 300px;
	}
	#TB-newsletter-popup #boxes {
		padding: 20px;
	}
}

/* TB-newsletter-popup End*/
/* TB-newsletter-subscribe Start*/
/*#TB-newletter-subscribe .newletter-desc{
	display: none;
}*/
#TB-newletter-subscribe .newletter-title h2 {
	font: 400 40px/42px 'Great Vibes', cursive;
	color: #111;
	position: relative;
	margin: 0 0 15px 0;
	padding: 54px 0 0;
}

#TB-newletter-subscribe .newletter-title h2::after {
	content: "\ec67";
	font-family: "IcoFont";
	font-size: 40px;
	line-height: 50px;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: auto;
	margin: auto;
	width: 45px;
	height: 45px;
	text-align: center;
}

#TB-newletter-subscribe .newletter-title .newletter-desc {
	font: 500 20px/22px 'Quicksand', helvetica, sans-serif;
	color: #111;
	margin: 0 0 20px 0;
	display: inline-block;
}

#TB-newletter-subscribe #notification-normal {
	position: static;
	bottom: 20px;
	top: auto;
	left: 0;
	right: 0;
	margin: 0 auto;
	/* padding: 0 15px; */
	text-align: center;
	margin: 15px 0 0 0;
}

#TB-newletter-subscribe #notification-normal .warning {
	background: #f8d7da;
	padding: 9px;
	color: #842029;
	border: 1px solid #f5c2c7;
	border-radius: 25px;
	-moz-border-radius: 25px;
	-webkit-border-radius: 25px;
	-khtml-border-radius: 25px;
}

#TB-newletter-subscribe #notification-normal .success {
	background: #d1e7dd;
	padding: 9px;
	color: #0f5132;
	border: 1px solid #badbcc;
	border-radius: 25px;
	-moz-border-radius: 25px;
	-webkit-border-radius: 25px;
	-khtml-border-radius: 25px;

}

#TB-newletter-subscribe .box {
	text-align: center;
	width: 40%;
	margin: 0 auto;
}

#TB-newletter-subscribe .newleter-content>label {
	display: none;
}

#TB-newletter-subscribe #form_subscribe {
	position: relative;
}

/*#TB-newletter-subscribe #form_subscribe #subscribe .btn-primary::before,#TB-newletter-subscribe #form_subscribe #subscribe .btn-primary:hover {
	background-color: #4f4f4f;
}*/
#TB-newletter-subscribe #form_subscribe #subscribe_email {
	color: #000;
	padding: 10px 150px 10px 25px;
	font: 500 14px/16px 'Quicksand', helvetica, sans-serif;
	background: #fff;
	height: 44px;
	outline: none;
	letter-spacing: 1px;
	width: 100%;
	border-radius: 25px;
	-moz-border-radius: 25px;
	-webkit-border-radius: 25px;
	-khtml-border-radius: 25px;
	border: 0px;
	background: #fff;
	border: 1px solid #a4a4a4;
}

#newletter-boxes #form_subscribe #subscribe a {
	/*background: #111;*/
	padding: 14px 30px;
}

#newletter-boxes #form_subscribe #subscribe a:before {
	background: #25705c;
}

#newletter-boxes #form_subscribe #subscribe a:hover,
#newletter-boxes #form_subscribe #subscribe a:active,
#newletter-boxes #form_subscribe #subscribe a:focus {
	background: #25705c;
}

#TB-newletter-subscribe #form_subscribe .btn {
	position: absolute;
	right: 0;
	top: 0;
	color: #fff;
}

#TB-newletter-subscribe #form_subscribe .btn i {
	display: none;
}

#TB-newletter-subscribe {
	position: relative;
}

#TB-newletter-subscribe::before {
	content: "";
	position: absolute;
	left: 0;
	right: auto;
	top: 0;
	bottom: 0;
	background-image: url(../images/newsletter-img-before.png);
	width: 281px;
	height: 212px;
	background-size: contain;
	background-repeat: no-repeat;
	margin: auto;
}

#TB-newletter-subscribe::after {
	content: "";
	position: absolute;
	left: auto;
	right: 0;
	top: 0;
	bottom: 0;
	background-image: url(../images/newsletter-img-after.png);
	width: 356px;
	height: 243px;
	background-size: contain;
	background-repeat: no-repeat;
	margin: auto;
}


@media (max-width: 1499px) {
	.common-home #tb-footer .footer-top-cms {
		padding: 50px 0;
	}

	#TB-newletter-subscribe::before {
		width: 251px;
		height: 185px;
	}

	#TB-newletter-subscribe::after {
		width: 316px;
		height: 216px;
	}
}

@media (max-width: 1399px) {
	#TB-newletter-subscribe .newletter-title h2 {
		font-size: 38px;
		line-height: 40px;
	}
}

@media (max-width: 1199px) {
	#TB-newletter-subscribe::before {
		width: 221px;
		height: 173px;
	}

	#TB-newletter-subscribe::after {
		width: 276px;
		height: 189px;
		right: -10px;
	}

	.common-home #tb-footer .footer-top-cms {
		padding: 30px 0;
	}
}

@media (max-width: 991px) {

	.common-home #tb-footer .footer-top-cms {
		padding: 0 0 40px;
	}

	#TB-newletter-subscribe::before {
		content: none;
	}

	#TB-newletter-subscribe::after {
		content: none;
	}

	#TB-newletter-subscribe .newletter-title h2 {
		display: inline-block;
	}

	#newletter-boxes #form_subscribe #subscribe a {
		padding: 14px 17px;
	}

	#TB-newletter-subscribe .newletter-title .newletter-desc {
		font-size: 18px;
		line-height: 20px;
	}

	#TB-newletter-subscribe #form_subscribe #subscribe_email {
		padding: 10px 120px 10px 15px;
	}

	#TB-newletter-subscribe .box {
		width: 66%;
	}

	#TB-newletter-subscribe .newletter-title {
		text-align: center;
	}

	#TB-newletter-subscribe #notification-normal {
		position: static;
		margin: 10px 0 0 0;
		padding: 0;
	}

	#TB-newsletter-popup #boxes {
		margin: 115px auto;
	}
}

@media (max-width: 767px) {
	#TB-newletter-subscribe #form_subscribe #subscribe_email {
		padding: 10px 124px 10px 15px;
	}

	#TB-newletter-subscribe .newletter-title .newletter-desc {
		font-size: 16px;
		line-height: 18px;
		margin: 0 0 10px 0;
	}

	#TB-newletter-subscribe .box {
		width: 75%;
	}

}

@media (max-width: 575px) {
	#TB-newletter-subscribe .newletter-title h2 {
		font-size: 34px;
		line-height: 36px;
	}

	#TB-newletter-subscribe .box {
		width: 90%;
	}

}

@media (max-width: 543px) {
	#TB-newsletter-popup #boxes .newleter-content label {
		font-size: 12px;
	}
}

@media (max-width: 480px) {

	/*#TB-newletter-subscribe .newletter-title h2::after {
		width: 40px;
		height: 30px;
		font-size: 30px;
		line-height: 30px;
	}*/
	#TB-newsletter-popup #boxes {
		margin: 95px auto;
	}

	#TB-newletter-subscribe .newletter-title h2::after {
		font-size: 34px;
		line-height: 36px;
		width: 34px;
		height: 34px;
	}

	#TB-newletter-subscribe .newletter-title h2 {
		font-size: 28px;
		line-height: 30px;
		padding: 44px 0 0;
	}

	.common-home #tb-footer .footer-top-cms {
		padding: 0 0 20px;
	}

	#TB-newletter-subscribe .newletter-title .newletter-desc {
		font-size: 18px;
		line-height: 20px;
	}

	/*#TB-newletter-subscribe .newletter-title h2 {
		font-size: 18px;
		line-height: 30px;
		padding: 0 0 0 50px;
		margin: 0 0 15px 0;
	}*/
	/*#TB-newletter-subscribe .box {
		width: 100%;
	}*/
	#TB-newletter-subscribe #form_subscribe .btn span {
		display: none;
	}

	#TB-newletter-subscribe .newletter-title .newletter-desc {
		font-size: 15px;
		line-height: 17px;
	}

	#TB-newletter-subscribe #form_subscribe .btn {
		width: 44px;
		padding: 0;
	}

	#newletter-boxes #form_subscribe #subscribe a {
		padding: 0px 9px;
	}

	#TB-newletter-subscribe #form_subscribe #subscribe_email {
		padding: 12px 60px 12px 15px;
	}

	#TB-newletter-subscribe #form_subscribe .btn i {
		display: inline-block;
		line-height: 44px;
		font-size: 18px;
	}
}

@media (max-width: 360px) {
	#TB-newletter-subscribe .box {
		width: 100%;
	}
}

/* TB-newsletter-subscribe  End*/