#moda_popupnewsletter .modal-dialog{
	padding: 0;
	background-position: left top;
	background-repeat: no-repeat;
}

#moda_popupnewsletter.popup-text-color-dark .modal-dialog {
	background-color: #ffffff;
}

#moda_popupnewsletter.popup-text-color-light .modal-dialog {
	color: #ffffff;
	background-color: #010101;
}

#moda_popupnewsletter.popup-text-color-light .popup_title, #moda_popupnewsletter label, #moda_popupnewsletter.popup-text-color-light.popup-type-1 .popup_icon {
	color: inherit;
}

#moda_popupnewsletter label {
	font-size: 1.3rem;
}

#moda_popupnewsletter .form-content input {
    /* background-color: transparent; */
}

#moda_popupnewsletter button.close {
	/* right: 0;
	top: 0;
	color: #fff;
	position: absolute; */
}
.ajax-newsletter.block_newsletter {
	background: no-repeat;
	border-radius: 0;
	transform: none;
    padding: 0;
}

/* #moda_popupnewsletter button.close:hover {
	opacity: 0.5;
} */

@media (max-width: 767px) {
	/* #moda_popupnewsletter button.close {
		right: -12px;
	} */
	#moda_popupnewsletter .modal-dialog {
		margin-top: 44px
	}
}

#moda_popupnewsletter .block_newsletter_alert {
	margin-bottom: 20px;
	border-radius: 0;
	width: 100%;
	font-size: 14px;
}
#moda_popupnewsletter.popup-text-color-light .form-content input {
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

/**************************type 1******************************/

#moda_popupnewsletter.popup-type-1 .modal-dialog {
	max-width: 800px;
	margin: 0 auto;
	height: 500px;
}
#moda_popupnewsletter .modal-content{
    border: none;
}
#moda_popupnewsletter.popup-type-1 .wrapper-popup {
	padding: 0;
	text-align: center;
	display: flex;
	justify-content: center;
	min-height: 340px;
	margin: 0;
    flex-direction: column-reverse;
}

#moda_popupnewsletter.popup-type-1 .popup-content {
	position: absolute;
	text-align: left;
	z-index: 1;
	width: 60%;
	padding: 35px;
}

#moda_popupnewsletter.popup-type-1 .popup_icon {
    font-size: 40px;
    margin-bottom: 15px;
    line-height: 1;
	color: var(--color-title);
    display: none;
}

#moda_popupnewsletter.popup-type-1 .popup_title p{
	font-size: 1.8rem;
	line-height: 2.4rem;
	font-weight: 500;
}

#moda_popupnewsletter.popup-type-1 .custom-checkbox {
    margin-top: 10px;
}

#moda_popupnewsletter.popup-type-1 .form-content{
	margin-bottom: 10px;
}

#moda_popupnewsletter.popup-type-1 .form-content .form-control{
	/* width: 100%;
	margin-bottom: 10px;
	text-align: center; */
}

#moda_popupnewsletter.popup-type-1 .form-content .btn-primary {
	font: 500 16px/18px "Josefin Sans", Helvetica, sans-serif;
	color: #fff;
	padding: 14px 30px 12px;
	background: #c01a44;
	margin: 0;
	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: inline-block;
	text-decoration: none;
	position: relative;
	z-index: 1;
	border: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-khtml-border-radius: 0;
	border-radius: 0;
}


#moda_popupnewsletter.popup-type-1 .form-content .btn-primary::before {
	background: #111;
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	height: 0;
	width: 100%;
	opacity: 0;
	-moz-opacity: 0;
	-khtml-opacity: 0;
	-webkit-opacity: 0;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	-khtml-border-radius: 0;
	z-index: -1;
	right: 0;
	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;
}

#moda_popupnewsletter.popup-type-1 .form-content .btn-primary:is(:hover, :active, :focus)::before{
    height: 100%;
    opacity: 1;
} 

@media (min-width: 1025px) {
	#moda_popupnewsletter.popup-type-1 .form-content{
		/* display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex; */
	}
	#moda_popupnewsletter.popup-type-1 .form-content .form-control{
		/* margin-right: 10px;
		text-align: left; */
	}
}

/**************************type 2******************************/

#moda_popupnewsletter.popup-type-2 .wrapper-popup {
    display: flex;
    align-items: center;
    padding: 50px 15px;
    text-align: center;
    justify-content: center;
	min-height: 437px;
}

#moda_popupnewsletter.popup-type-2 .popup-content {
	max-width: 430px;
	margin-bottom: -20px;
}

#moda_popupnewsletter.popup-type-2 .form-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    margin-right: -3px;
    margin-left: -3px;
}

#moda_popupnewsletter.popup-type-2 .popup_title {
    font-size: 3.4rem;
    margin-bottom: 15px;
}

#moda_popupnewsletter.popup-type-2 .popup_title p:last-child {
	margin-bottom: 0;
}

#moda_popupnewsletter.popup-type-2 .popup_text {
    font-size: 1.4rem;
    margin-bottom: 30px;
}

#moda_popupnewsletter.popup-type-2 .popup_text p:last-child {
	margin-bottom: 0;
}

#moda_popupnewsletter.popup-type-2 .form-content input {
    flex: 1 1 200px;
    max-width: 290px;
    width: 100%;
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    margin: 0 3px 20px 3px;
    font-size: 1.3rem;
    box-shadow: none;
}

#moda_popupnewsletter.popup-type-2 .form-content button {
    margin: 0 3px 20px 3px;
    min-width: 145px;
}

#moda_popupnewsletter.popup-type-2 .newsletter_block_popup-bottom {
    position: absolute;
    right: 15px;
    bottom: 15px;
}

#moda_popupnewsletter.popup-type-2 .custom-checkbox input + span {
    width: 14px;
    height: 14px;
    border-radius: 0;
}

#moda_popupnewsletter.popup-type-2 .custom-checkbox input + span .checkbox-checked {
	font-size: 12px;
}

#moda_popupnewsletter.popup-type-2 .modal-dialog{
	background-position: center center;
	max-width: 770px;
}

/**************************type 3******************************/

#moda_popupnewsletter.popup-type-3 .wrapper-popup {
    display: flex;
    align-items: center;
    padding: 30px 15px 65px 15px;
    text-align: center;
    justify-content: center;
    min-height: 350px;
}

#moda_popupnewsletter.popup-type-3 .popup-content {
	max-width: 400px;
	margin-bottom: -20px;
}

#moda_popupnewsletter.popup-type-3 .form-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    margin-right: 0;
    margin-left: 0;
}

#moda_popupnewsletter.popup-type-3 .popup_title {
    font-size: 3rem;
    margin-bottom: 15px;
}

#moda_popupnewsletter.popup-type-3 .popup_title p:last-child {
	margin-bottom: 0;
}

#moda_popupnewsletter.popup-type-3 .popup_text {
    font-size: 1.4rem;
    margin-bottom: 30px;
}

#moda_popupnewsletter.popup-type-3 .popup_text p:last-child {
	margin-bottom: 0;
}

#moda_popupnewsletter.popup-type-3 .form-content input {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
    background-color: transparent;
    margin: 0 0 20px 0;
    font-size: 1.3rem;
    box-shadow: none;
	text-align: center;
}

#moda_popupnewsletter.popup-type-3 .form-content button {
    margin: 0 0 20px 0;
    min-width: 100%;
}

#moda_popupnewsletter.popup-type-3 .newsletter_block_popup-bottom {
    position: absolute;
    right: 15px;
    bottom: 15px;
}

#moda_popupnewsletter.popup-type-3 .custom-checkbox input + span {
    width: 14px;
    height: 14px;
    border-radius: 0;
}

#moda_popupnewsletter.popup-type-3 .custom-checkbox input + span .checkbox-checked {
	font-size: 12px;
}

#moda_popupnewsletter.popup-type-3 .psgdpr_consent_message {
	margin-bottom: 20px;
}

#moda_popupnewsletter.popup-type-3 .modal-dialog{
	background-position: center top;
	max-width: 520px;
}

/**************************type 4******************************/

#moda_popupnewsletter.popup-type-4 .wrapper-popup {
    display: flex;
    align-items: center;
    padding: 30px;
    text-align: center;
    justify-content: center;
}

#moda_popupnewsletter.popup-type-4 .popup-content {
	max-width: 350px;
}

#moda_popupnewsletter.popup-type-4 .form-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    margin-right: 0;
    margin-left: 0;
}

#moda_popupnewsletter.popup-type-4 .popup_title {
    font-size: 3rem;
    margin-bottom: 15px;
}

#moda_popupnewsletter.popup-type-4 .popup_title p:last-child {
	margin-bottom: 0;
}

#moda_popupnewsletter.popup-type-4 .popup_text {
    font-size: 1.4rem;
    margin-bottom: 30px;
}

#moda_popupnewsletter.popup-type-4 .popup_text p:last-child {
	margin-bottom: 0;
}

#moda_popupnewsletter.popup-type-4 .form-content input {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
    background-color: transparent;
    margin: 0 0 20px 0;
    font-size: 1.3rem;
    box-shadow: none;
	text-align: center;
}

#moda_popupnewsletter.popup-type-4 .form-content button {
    margin: 0 0 20px 0;
    min-width: 100%;
}

#moda_popupnewsletter.popup-type-4 .newsletter_block_popup-bottom {

}

#moda_popupnewsletter.popup-type-4 .custom-checkbox input + span {
    width: 14px;
    height: 14px;
    border-radius: 0;
}

#moda_popupnewsletter.popup-type-4 .custom-checkbox input + span .checkbox-checked {
	font-size: 12px;
}

#moda_popupnewsletter.popup-type-4 .psgdpr_consent_message {
	margin-bottom: 10px;
}

#moda_popupnewsletter.popup-type-4 .modal-dialog {
	max-width: 770px;
}

#moda_popupnewsletter.popup-type-4 .modal-dialog .modal-content {
    display: flex;
	justify-content: center;
	align-items: center;
}

#moda_popupnewsletter.popup-type-4 .modal-dialog .modal-content > img {
	max-width: 50%;
}

@media (max-width: 576px) {
	#moda_popupnewsletter.popup-type-4 .modal-dialog .modal-content {
		flex-wrap: wrap;
	}
	#moda_popupnewsletter.popup-type-4 .modal-dialog .modal-content > img {
		display: none;
	}
	#moda_popupnewsletter.popup-type-4 .modal-dialog {
		max-width: 510px;
	}
}

/* custome */
#moda_popupnewsletter {
	top: 50%;
	transform: translateY(-50%);
	height: fit-content;
	margin: 0;
	padding: 0 15px !important;
}
.popup_title h4 {
	color: #111;
	font: 700 34px/36px "Playfair Display", Helvetica, serif;
	margin: 0 0 20px;
	text-transform: uppercase;
}
.popup_text p {
	margin: 0 0 20px 0;
	font: 400 16px/26px "Josefin Sans", Helvetica, sans-serif;
	color: #666;
	display: block;
}
.ajax-newsletter .form-content .inputNew {
	border: 1px solid #dddcdc;
	padding: 12px 20px;
	color: #111;
	background: #f5f5f5;
	margin: 0 0px 20px;
	text-align: left;
	letter-spacing: 0.5px;
	font: 400 14px/20px "Josefin Sans", Helvetica, sans-serif;
	box-shadow: none;
	outline: none;
	display: block;
	width: 100%;
	height: 46px;
	width: 100%;
}

#moda_popupnewsletter label .show-browser {
	color: #666;
	font: 400 15px/17px "Josefin Sans", 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;
}

.ajax-newsletter .form-content  .btn-primary {
	font: 400 14px/16px 'Josefin Sans', sans-serif;
	color: #fff;
	text-transform: capitalize;
    padding: 15px 50px;
    background-color: #c01a44;
}

.ajax-newsletter .form-content  .btn-primary:is(:hover, :active, :focus),
.ajax-newsletter .form-content  .btn-primary::before{
    background-color: #111;
}
#moda_popupnewsletter label .show-browser:hover {
	color: #111;
}
#moda_popupnewsletter.popup-type-1 .custom-checkbox input + span {
	width: 15px;
	height: 15px;
	margin: -3px 0 0 0;
	border: 1px #c4c4c4 solid;
	background-color: #fff;
}
#moda_popupnewsletter.popup-type-1 .custom-checkbox input + span i {
	font-size: 16px;
	margin: -2px 0px 0 -1px;
}
#moda_popupnewsletter .close {
    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;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    opacity: 1;
}
#moda_popupnewsletter .close span{
    box-shadow: none;
    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;
}
#moda_popupnewsletter .close:hover span {
	transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-o-transform: rotate(180deg);
}
.send-response p {
	border-radius: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-ms-border-radius: 0;
	-o-border-radius: 0;
	padding: 10px;
}

@media (max-width:991px) {
    #moda_popupnewsletter.popup-type-1 .modal-dialog {
        max-width: 650px;
        padding: 0;
        height: 500px;
    }


    .popup_text p {
        margin: 0 0 10px 0;
        padding: 0;
    }

    .ajax-newsletter .form-content .inputNew {
        margin: 0 0px 15px;
    }

    #moda_popupnewsletter.popup-type-1 .form-content {
        margin-bottom: 10px;
    }

    .ajax-newsletter .form-content .inputNew {
        text-align: center;
        width: 100%;
    }
    #moda_popupnewsletter.popup-type-1 .wrapper-popup .popup-img{
        order: 2;
    }
    #moda_popupnewsletter.popup-type-1 .popup-content {
        padding: 20px;
    }

    #moda_popupnewsletter {
        height: fit-content;
    }

    .popup_title h4 {
        font-size: 28px;
        line-height: 30px;
        margin: 0 0 14px;
    }
}
@media (max-width: 768px) {
    #moda_popupnewsletter.popup-type-1 .modal-dialog {
        max-width: 600px;
        padding: 0;
        height: 400px;
    }
    #moda_popupnewsletter.popup-type-1 .popup-content {
        width: 80%;
    }
}
@media (max-width: 575px) {
    #moda_popupnewsletter.popup-type-1 .modal-dialog {
        max-width: 420px;
    }
    #moda_popupnewsletter.popup-type-1 .popup-content {
        padding: 20px;
    }

    #moda_popupnewsletter .popup_title h4 {
        font-size: 30px;
        line-height: 32px;
    }
    #moda_popupnewsletter label .show-browser {
        font-size: 14px;
        line-height: 26px;
    }

    #moda_popupnewsletter .popup_text p {
        font-size: 15px;
        line-height: 26px;
    }
    #moda_popupnewsletter label {
        display: flex;
        align-items: center;
        gap: 5px;
        justify-content: center;
    }

    #moda_popupnewsletter.popup-type-1 .popup-content {
        padding: 20px;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    #moda_popupnewsletter.popup-type-1 .wrapper-popup .popup-content {
        text-align: center;
        bottom: 20px;
        width: 100%;
    }
    #moda_popupnewsletter .popup_title h4 {
        font-size: 22px;
        line-height: 26px;
        margin: 0 0 8px 0;
    }

    #moda_popupnewsletter.popup-type-1 .modal-dialog {
        max-width: 320px;
    }
}
@media (max-width: 360px) {
    #moda_popupnewsletter .popup_title h4 {
        font-size: 20px;
        line-height: 24px;
        margin: 0 0 6px 0;
    }

    #moda_popupnewsletter.popup-type-1 .wrapper-popup .popup-content {
        bottom: 40px;
        padding: 10px;
    }

}

