#footer {
	position: relative;
}

/* #footer::before {
	content: "";
	position: absolute;
	top: -47px;
	bottom: auto;
	left: 0;
	right: 0;
	width: 100%;
	height: 47px;
	background-image: url(../images/newsletter-bg.jpg);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
} */
 #footer .footer-top{
	display: none;
}
#index #footer .footer-top{
	display: block;
}
#footer .footer-top {
	background: transparent;
	/* border-bottom: 1px solid #ddb470; */
	background-image: url(../images/newsletter-bg.jpg);
	position: relative;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	margin: 0 0 100px 0;
}

#moda_popupnewsletter .popup-img {
	background: #ffffff url("../images/newsletter-img.jpg") no-repeat scroll 0 center;
	background-position-x: 0px;
	background-position-y: center;
	background-size: auto;
	padding: 0;
	height: 500px;
	width: 100%;
	background-position: center !important;
	background-size: cover;
}

#footer .newsletter-img #blockEmailSubscription_displayFooterBefore {
	overflow: hidden;
	padding: 80px 0;
	background: #bbf1d4;
	border-radius: 20px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	-ms-border-radius: 20px;
	-o-border-radius: 20px;
}

#footer .newsletter-img {
	padding: 5px;
	border: 1px dashed #111;
	border-radius: 20px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	-ms-border-radius: 20px;
	-o-border-radius: 20px;
}

.footer-top .newsletter-img .newsletter_bottom {
	text-align: center;
	position: relative;
	width: 40%;
	margin: 0 auto;
}

#tb-footer .footer-top-cms::before {
	content: "";
	position: absolute;
	top: -47px;
	bottom: auto;
	left: 0;
	right: 0;
	width: 100%;
	height: 47px;
	background-image: url(../images/newsletter-before.png);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

#blockEmailSubscription_displayFooterBefore {
	position: relative;
}

#blockEmailSubscription_displayFooterBefore {
	text-align: left;
}


#blockEmailSubscription_displayFooterBefore .newsletter-subscribe-box-2 .btn-primary {
	padding: 16px 38px;
	font: 400 14px/16px 'Lexend Deca', Helvetica, sans-serif;
	letter-spacing: 1px;
	background-color: #ed85b0;
}

#blockEmailSubscription_displayFooterBefore .newsletter-subscribe-box-1 p {
	font: 400 15px/18px 'Lexend Deca', Helvetica, sans-serif;
	color: #111;
	display: inline-block;
	margin: 0 0 20px 0;
	letter-spacing: 0.5px;
	padding: 0;
}

#blockEmailSubscription_displayFooterBefore .newsletter-subscribe-box-2 .btn-primary {}

.submitnewsletter-btn {
	margin: 0 !important;
}

.block_newsletter_box {}

/* .block_newsletter_box .newsletter_bottom {
	position: relative;
	display: flex;
	align-items: center;
} */

#footer .block_newsletter #block-newsletter-label {
	font: 800 40px/42px 'Nunito', Helvetica, sans-serif;
	color: #111;
	position: relative;
	padding: 50px 0 0;
	margin: 0 0 10px 0;
	letter-spacing: 0.3px;
	text-transform: capitalize;
}

#footer .block_newsletter #block-newsletter-label::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;
}

/* #footer .block_newsletter #block-newsletter-p{
		font: 400 20px/22px "Nunito", Helvetica, sans-serif;
		color: #111;
		margin: 0;
		display: none;
	} */
.input-wrapper .email {
	color: #111;
	padding: 10px 160px 10px 20px !important;
	font: 400 14px/16px 'Lexend Deca', Helvetica, sans-serif;
	background: #fff;
	height: 48px;
	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; */
}

/* .input-wrapper .email::placeholder{
		color: #111;
		opacity: 1;
	} */
.block_newsletter_box p.alert {
	border-radius: 25px;
	-webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	-ms-border-radius: 25px;
	-o-border-radius: 25px;
	margin: 10px 0 0 0;
}

.input-wrapper .email:focus {
	/* border: none;	 */
}

#blockEmailSubscription_displayFooterBefore .newsletter-subscribe-text h2 {
	font: italic 600 36px/45px "Nunito", Helvetica, sans-serif;
	color: #fff;
	position: relative;
	margin: 0;
	padding: 0 0 0 60px;
	display: inline-block;
}

/* #blockEmailSubscription_displayFooterBefore .newsletter-subscribe-text h2::before{
	content: "\ec67";
	font-family: "IcoFont";
	font-size: 40px;
	line-height: 50px;
	position: absolute;
	left: 0;
	right: auto;
	top: 0;
	bottom: 0;
	margin: auto;
	width: 45px;
	height: 45px;
	text-align: center;
} */
#blockEmailSubscription_displayFooterBefore .alert {
	margin: 20px 0 0 0;
}

/* #footer .block_newsletter p {
	position: absolute;
	left: 0;
	right: 0;
	top: 60px;
} */
.submitNewsletter-btn {
	position: relative;
}

.submitnewsletter-btn {
	position: absolute !important;
	right: 0;
	/* left: auto; */
	top: 0;
	/* padding: 10px 24px !important; */
}

@media (max-width: 1499px) {}

@media (max-width: 1399px) {
	/* #footer .block_newsletter #block-newsletter-label {
		font-size: 36px;
		line-height: 43px;
	} */

	.footer-top .newsletter-img .newsletter_bottom {
		width: 45%;
	}
}

@media (max-width: 1299px) {
	/* #footer .block_newsletter #block-newsletter-label {
		font-size: 33px;
		line-height: 37px;
	} */

	.footer-top .newsletter-img .newsletter_bottom {
		width: 50%;
	}

	#footer .block_newsletter #block-newsletter-label {
		font-size: 38px;
		line-height: 40px;
	}


	#footer .newsletter-img #blockEmailSubscription_displayFooterBefore {
		padding: 60px 0;
	}

	#footer .footer-top {
		margin: 0 0 80px 0;
	}

}

@media (max-width: 1199px) {

	.footer-top .newsletter-img .newsletter_bottom {
		width: 60%;
	}

	#footer .newsletter-img #blockEmailSubscription_displayFooterBefore {
		padding: 50px 0;
	}

	#footer .footer-top {
		margin: 0 0 60px 0;
	}
}

@media (max-width: 991px) {

	/* .block_newsletter_box{
		padding: 51px 0;
	} */
	/* #blockEmailSubscription_displayFooterBefore .alert-success,#blockEmailSubscription_displayFooterBefore .alert{
		margin: 20px 0 0 0;
		position: static;
	} */

	#footer .block_newsletter #block-newsletter-label {
		font-size: 34px;
		line-height: 36px;
	}

	#footer .block_newsletter #block-newsletter-label::after {
		font-size: 36px;
		line-height: 38px;
		width: 36px;
		height: 36px;
	}

	#footer .footer-top {
		margin: 50px 0 0 0;
	}

	#footer .footer-top {
		margin: 0 0 40px 0;
	}

	.block_newsletter_box .newsletter_bottom {
		display: block;
		text-align: center;
	}

	#footer .newsletter-img #blockEmailSubscription_displayFooterBefore {
		padding: 40px 0;
	}

	.footer-top .newsletter-img .newsletter_bottom {
		width: 68%;
	}

	#blockEmailSubscription_displayFooterBefore .newsletter-subscribe-box-1 p {
		font-size: 14px;
		line-height: 22px;
		margin: 0 0 18px 0;
	}


}

@media (max-width: 767px) {
	/* #footer .block_newsletter #block-newsletter-label{
		font-size: 30px;
		line-height: 35px
	}
	
	#footer .block_newsletter #block-newsletter-label {
		font-size: 19px;
		line-height: 22px;
		padding: 0 0 0 41px;
		margin: 0 0 10px 0;
	}
	#footer .block_newsletter #block-newsletter-label::after {
		font-size: 30px;
		line-height: 30px;
		top: 0;
		width: 35px;
		height: 35px;
	} */
	/* .block_newsletter_box .newsletter_bottom {
		width: 77%;
	} */

	.footer-top .newsletter-img .newsletter_bottom {
		width: 80%;
	}

	#footer .block_newsletter #block-newsletter-label {
		font-size: 30px;
		line-height: 32px;
		margin: 0 0 12px 0;
		display: block;
	}
}

@media (max-width: 575px) {
	/* #blockEmailSubscription_displayFooterBefore .newsletter-subscribe-text h2 {
		font-size: 28px;
		line-height: 30px;
	} */

	.submitNewsletter-btn .Subscribe {
		display: block !important;
	}

	.submitNewsletter-btn .ok {
		display: none !important;
	}

	/* .block_newsletter_box .newsletter_bottom {
		width: 90%;
	} */
	#footer .block_newsletter #block-newsletter-label {
		display: inline-block;
	}


	#footer .block_newsletter #block-newsletter-label {
		margin: 0 0 10px 0;
	}

	.footer-top .newsletter-img .newsletter_bottom {
		width: 90%;
	}

}

@media (max-width: 480px) {
	#footer .block_newsletter #block-newsletter-label::after {
			font-size: 28px;
			line-height: 30px;
			width: 30px;
			height: 30px;
	}

	#footer .block_newsletter #block-newsletter-label {
		font-size: 22px;
		line-height: 24px;
		padding: 32px 0 0;
		margin: 0 0 6px 0;
	}

	.newsletter-subscribe-box-1 {
		padding: 0;
	}

	#footer .newsletter-img #blockEmailSubscription_displayFooterBefore {
		padding: 20px 0;
	}

	#footer .footer-top {
		margin: 0 0 20px 0;
	}

	#blockEmailSubscription_displayFooterBefore .newsletter-subscribe-box-1 p {
		line-height: 20px;
	}


	/* #footer .block_newsletter #block-newsletter-label {
		font-size: 18px;
		line-height: 27px;
	} */

	/* .submitnewsletter-btn {
		padding: 11px 24px !important;
	} */
	.submitNewsletter-btn .Subscribe {
		display: none !important;
	}

	.submitNewsletter-btn .ok {
		display: block !important;
	}

	#blockEmailSubscription_displayFooterBefore .newsletter-subscribe-text h2 {
		font-size: 22px;
		list-style: 24px;
		padding: 0 0 0 42px;
	}

	/* #footer .footer-top {
		padding: 20px 0 !important;
	} */


	.submitNewsletter-btn .ok,
	.submitNewsletter-btn .Subscribe {
		padding: 15px 20px;
	}

	/* .block_newsletter_box {
		padding: 38px 0;
	} */
	.input-wrapper .email {
		padding: 10px 105px 10px 20px !important;
	}
}

@media (max-width: 360px) {
	#blockEmailSubscription_displayFooterBefore .newsletter-subscribe-text h2 {
		font-size: 16px;
	}

	#footer .block_newsletter #block-newsletter-label {
		font-size: 26px;
		line-height: 30px;
	}

	#footer .block_newsletter #block-newsletter-label {
		font-size: 19px;
		line-height: 21px;
	}

	#blockEmailSubscription_displayFooterBefore .newsletter-subscribe-box-1 p {
		font-size: 13px;
		line-height: 20px;
		margin: 0 0 12px 0;
	}
}