#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: 800px;
    margin: 0 auto;
    max-height: fit-content;
    padding: 0;
}

#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: 500px;
	margin: 0;
	flex-direction: column-reverse;
}

#moda_popupnewsletter.popup-type-1 .popup-content {
	position: absolute;
	text-align: start;
	width: 47%;
	margin: 0 auto 0 50px;
	padding: 0;
	left: 0;
}

#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: 0;
}

#moda_popupnewsletter.popup-type-1 .form-content {
    margin-bottom: 0;
}

#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 {
    margin-bottom: 15px;
}

#moda_popupnewsletter.popup-type-1 .form-content .btn-primary {
    font: 400 15px/17px "Cabin", Helvetica, sans-serif;
}

.form-control::placeholder {
    color: #111 !important;
    opacity: 0.6 !important;
}



@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: 600 32px/34px 'Philosopher', Helvetica, sans-serif;
	margin: 0;
	text-transform: uppercase;
}

.popup_text p {
	margin: 6px 0 15px;
	font: 400 16px/24px 'Cabin', helvetica, sans-serif;
	color: #111;
	display: block;
}

.ajax-newsletter .form-content .inputNew {
	border: 1px solid #dddcdc;
	padding: 10px 20px;
	color: #111;
	background: #f5f5f5;
	margin: 0 0 15px;
	text-align: left;
	letter-spacing: 0.5px;
	font: 400 14px/20px 'Cabin', 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;
	height: 46px;
	text-transform: capitalize;
}

#moda_popupnewsletter label .show-browser {
	color: #4b4b4b;
	font: 400 14px/24px 'Cabin', helvetica, sans-serif;
	cursor: pointer;
	transition: all 500ms ease-in-out;
	-webkit-transition: all 500ms ease-in-out;
	-moz-transition: all 500ms ease-in-out;
	-o-transition: all 500ms ease-in-out;
	-ms-transition: all 500ms 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 #cac7c7 solid;
	background: #fff;
}

#moda_popupnewsletter.popup-type-1 .custom-checkbox input+span i {
    font-size: 16px;
}

#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;
    background-color: transparent;
}

#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 16px;
	font-weight: 400;
}

#moda_popupnewsletter .form-content .btn-secondary {
	padding: 14px 30px;
	background: #111;
}
#moda_popupnewsletter .form-content .btn-secondary:is(:hover, :active, :focus),
#moda_popupnewsletter .form-content .btn-secondary::before {
	background: #58a986;
}

@media (max-width:991px) {
    .popup_title h4 {
        font-size: 28px;
        line-height: 30px;
    }

    .popup_text p {
        font-size: 15px;
        line-height: 22px;
    }
}
@media (max-width:767px) {


    #moda_popupnewsletter.popup-type-1 .popup-content {
        position: relative;
        text-align: center;
        width: 80%;
        margin: 0;
        padding: 0;
        left: 0;
    }

    #moda_popupnewsletter {
        height: 650px;
    }

    .popup_title h4 {
        font-size: 32px;
        line-height: 36px;
    }

    .popup_text p {
        font-size: 16px;
        line-height: 22px;
    }

    .ajax-newsletter .form-content .inputNew {
        text-align: center;
    }

    #moda_popupnewsletter.popup-type-1 .popup-content {
        margin: 0 0 20px 0;
    }
}
@media (max-width:575px) {


    .popup_title h4 {
        font-size: 30px;
        line-height: 34px;
    }
}
@media (max-width:480px) {
    #moda_popupnewsletter.popup-type-1 .popup-content {
        width: 100%;
        padding: 0 20px;
    }

    .popup_title h4 {
        font-size: 25px;
        line-height: 30px;
    }
}
@media (max-width:360px) {
    #moda_popupnewsletter.popup-type-1 .popup-content {
        width: 100%;
        padding: 0 10px;
    }

    .popup_title h4 {
        font-size: 22px;
        line-height: 24px;
    }
    .popup_text p {
        font-size: 14px;
        line-height: 20px;
    }
}
