#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;
}

#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: 1000px;
    margin: 0 auto;
}

#moda_popupnewsletter .modal-content {
    border: none;
}

#moda_popupnewsletter.popup-type-1 .wrapper-popup {
    padding: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 465px;
    margin: 0;
}

#moda_popupnewsletter .wrapper-popup::before,
#moda_popupnewsletter .wrapper-popup::after{
        content: '';
        position: absolute;
        width: 171px;
        height: 171px;
        background-image: url('../images/newsletter-popup-bg-img.png');
        background-size: contain;
        background-repeat: no-repeat;
        z-index: 1;
}
#moda_popupnewsletter .wrapper-popup::before{
        top: auto;
        left: -35px;
        right: auto;
        bottom: -25px;
}

#moda_popupnewsletter .wrapper-popup::after {
	top: -25px;
	left: auto;
	right: -25px;
	bottom: auto;
	transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-o-transform: rotate(180deg);
}

#moda_popupnewsletter .modal-content{
    overflow: hidden;
}

#moda_popupnewsletter.popup-type-1 .popup-content {
	padding: 0 37px 0 10px;
}

#moda_popupnewsletter.popup-type-1 .popup_icon {
    font-size: 40px;
    margin-bottom: 15px;
    line-height: 1;
    color: var(--color-title);
}

#moda_popupnewsletter.popup-type-1 .popup_title p {
    font-size: 1.8rem;
    line-height: 2.4rem;
    font-weight: 500;
}

#moda_popupnewsletter.popup-type-1 .form-content {
    margin-bottom: 20px;
}

#moda_popupnewsletter.popup-type-1 .form-content .form-control {
    /* width: 100%;
	margin-bottom: 10px;
	text-align: center; */
}


@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: 500px;
    margin: 0;
    padding: 0 15px !important;
}

.popup_title h4 {
	color: #111;
	font: 700 38px/40px 'Averia Serif Libre', cursive;
	margin: 0 0 15px;
	text-transform: uppercase;
	letter-spacing: 0.2px;
}

.popup_text p {
	margin: 0 0 20px 0;
	font: 400 18px/28px 'Jost', Helvetica, sans-serif;
	color: #111;
	display: block;
	letter-spacing: 0.5px;
	padding: 0 13px;
}

#moda_popupnewsletter .ajax-newsletter .send-response {
	position: relative;
	z-index: 1;
}

#moda_popupnewsletter .ajax-newsletter .form-content {
	display: flex;
	position: relative;
    z-index: 1;
}

.ajax-newsletter .btn-primary {
	font: 400 14px/16px 'Jost', Helvetica, sans-serif;
	color: #fff;
	padding: 15px 35px;
	background: #287900;
	margin: 0 auto;
    position: absolute;
    left: auto;
    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;
	display: inline-block;
	text-decoration: none;
	z-index: 1;
	outline: none;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	-khtml-border-radius: 0;
	border: none;
	letter-spacing: 1px;
	-ms-border-radius: 8px;
	-o-border-radius: 8px;
	text-transform: uppercase;
}

.ajax-newsletter .btn-primary::before,
.ajax-newsletter .btn-primary:is(:hover, :active, :focus) {
    background-color: #111;
}
.ajax-newsletter .form-content .inputNew {
	border: 1px solid #dddcdc;
	padding: 12px 160px 12px 16px;
	color: #111;
	background: #f5f5f5;
	text-align: left;
	letter-spacing: 0.5px;
	font: 400 14px/20px 'Jost', Helvetica, sans-serif;
	box-shadow: none;
	outline: none;
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	-ms-border-radius: 8px;
	-o-border-radius: 8px;
}

#moda_popupnewsletter label .show-browser {
    color: #666;
    font: 400 14px/24px 'Jost', 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;
}

#moda_popupnewsletter label .show-browser:hover {
    color: #111;
}

#moda_popupnewsletter.popup-type-1 .custom-checkbox input+span {
    width: 15px;
    height: 15px;
    margin: 0;
    border: 1px #bdbdbd solid;
}

#moda_popupnewsletter.popup-type-1 .custom-checkbox input + span i {
	font-size: 16px;
	margin: -1px 0 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: 3;
    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: 25px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    -ms-border-radius: 25px;
    -o-border-radius: 25px; */
    padding: 9px 0;
}

@media (max-width:991px) {
    #moda_popupnewsletter.popup-type-1 .modal-dialog {
        max-width: 500px;
        padding: 0;
    }

    #moda_popupnewsletter {
        height: 80%;
    }

    #moda_popupnewsletter.popup-type-1 .wrapper-popup {
        flex-wrap: wrap;
    }

    #moda_popupnewsletter.popup-type-1 .wrapper-popup .popup-content {
        order: 2;
    }

    #moda_popupnewsletter.popup-type-1 .wrapper-popup .popup-img {
        order: 1;
    }

    #moda_popupnewsletter.popup-type-1 .popup-content {
        padding: 20px 37px;
    }
}

@media (max-width: 543px) {
    #moda_popupnewsletter.popup-type-1 .modal-dialog {
        max-width: 300px;
    }

    #moda_popupnewsletter.popup-type-1 .popup-content {
        padding: 20px 15px;
    }

    .popup_title h4 {
        font-size: 30px;
        line-height: 32px;
        margin: 0 0 10px 0;
    }

    #moda_popupnewsletter label .show-browser {
        font-size: 12px;
        line-height: 24px;
    }

    #moda_popupnewsletter label {
        display: flex;
        align-items: center;
        gap: 5px;
        justify-content: center;
    }
}

@media (max-width: 480px) {

    .popup_title h4 {
        font-size: 24px;
        line-height: 26px;
        margin: 0 0 10px 0;
    }
}
