.epu-modal {
	display: none;
}

.epu-modal .modal-content {
    box-shadow: none;
    border: 0;
    background-color: transparent;
}

.epu-modal .modal-header {
	border: 0;
	padding-top: 0;
	padding-bottom: 0;
}

.epu-modal .modal-header:after {
	content: "";
	clear: both;
	display: block;
}

.epu-modal .modal-content-top {
	background: #FFF;
	text-align: center;
	padding: 15px 15px 0 15px;
}

.epu-modal .modal-content-bottom {
	background-color: rgba(238,238,238,0.9);
	padding: 15px;
}

.epu-modal .privacy-title {
	font-size: 13px;
}

.epu-modal .privacy-desc {
	font-size: 12px;
	margin-bottom: 10px;
}

.epu-modal .form-control {
	margin-bottom: 15px;
}

.epu-modal .modal-title {
	line-height: 1;
	margin-bottom: 12px;
	background-color: transparent;
}

.epu-modal .epu-form-title,
.epu-modal .epu-form-description {
	text-align: center;
}

.epu-modal .epu-form-title {
	line-height: 1;
	background-color: transparent;
    display: block;
	padding: 0;
    margin-bottom: 5px;
}

.epu-modal .epu-form-description {
	font-weight: bold;
	margin-bottom: 13px;
}

.epu-modal .epu-form-wrapper {
	width: 320px;
	margin: 0 auto;
	max-width: 100%;
}

.epu-modal .epu-form-wrapper button {
	width: 100%;
	display: block;
    font-size: 30px;
    line-height: 1;
    padding: 11px 20px;
    text-transform: uppercase;
	border: 0;
	white-space: normal;
}

.epu-modal button:hover {
	border: 0;
}

.epu-modal .close {
    font-size: 30px;
    font-size: 3rem;
    line-height: 0;
    text-shadow: none;
	opacity: 1;
	color: #000;
	background: #fff;
    border-radius: 100%;
    width: 30px;
    height: 30px;
	text-align: center;
	padding: 0;
}

.epu-modal .close span {
	display: inline-block;
	position: relative;
	top: -1px;
}

.epu-modal .modal-arrivederci {
	background-size: cover;
	background-repeat: no-repeat;
}

.epu-modal .error,
.epu-modal [type="checkbox"].error + .privacy-title {
	background-color: #fbf0d3;
}

.epu-modal .modal-description p:last-child {
	margin-bottom: 0;
}

/* modifiche per Layout */
.epu-modal.epu-image-only .modal-inner-content img.img-responsive {
	margin-left: auto;
}

.epu-modal.epu-modal-full-2 .modal-arrivederci {
	background-size: 0;
	background-color: #FFF;
}

.epu-modal.epu-modal-full-2 .epu-form-wrapper {
	width: unset;
}

.epu-modal.epu-modal-full-2 .modal-content-top {
	text-align: left;
	padding-left: 40px;
	background-color: transparent;
}

.epu-modal.epu-modal-full-2 .epu-form-title,
.epu-modal.epu-modal-full-2 .epu-form-description {
	display: none;
}

.epu-modal.epu-modal-full-2 .modal-content-bottom {
	background-color: transparent;
	padding-left: 40px;
	padding-right: 40px;
}

.epu-modal.epu-modal-full-3 .modal-dialog {
	display: block;
}


.epu-modal.epu-modal-full-4 .epu-form-title,
.epu-modal.epu-modal-full-4 .epu-form-description {
	display: none;
}

.epu-modal.epu-modal-full-4 .modal-content-top {
	background-color: transparent;
	padding: 25px;
}

.epu-modal.epu-modal-full-4 .modal-content-bottom {
	padding: 20px 25px 25px 25px;
}

.epu-modal.epu-modal-full-4 .epu-form-wrapper {
	width: unset;
}

/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
	
	.epu-modal.epu-modal-full-4 .modal-content-top {
		padding: 45px 45px 25px 45px;
	}

	.epu-modal.epu-modal-full-4 .modal-content-bottom {
		padding: 20px 45px 45px 45px;
	}

}

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {

}

/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
	.epu-modal .modal-content-top,
	.epu-modal .modal-content-bottom {
		padding: 20px 20px;
	}

	/*.epu-modal .modal-content-top {
		margin-top: 25px;
	}

	.epu-modal .modal-text-col {
		padding-right: 30px;
	}

	.epu-modal .modal-inner-content {
		margin-bottom: 30px;
	}*/

	.epu-modal .epu-form-wrapper button {
		padding-left: 50px;
		padding-right: 50px;
	}

	.epu-modal .modal-dialog {
		width: 900px;
	}

	.epu-modal.epu-modal-full-2 .modal-content-top {
		min-height: 350px;
	}

	.epu-modal.epu-modal-full-2 .modal-arrivederci {
		background-size: contain;
		min-height: 640px;
		background-color: transparent;
	}
	
	.epu-modal.epu-modal-full-4 .modal-content-top {
		padding-left: 45px;
		padding-top: 45px;
		padding-right: 0;
	}
	
	.epu-modal.epu-modal-full-4 .modal-content-bottom {
		padding-left: 45px;
		padding-bottom: 0;
		padding-right: 0;
	}
}

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {

	.epu-modal.epu-no-image .modal-arrivederci > .container {
		width: 500px;
	}

	.epu-modal .modal-dialog {
		width: 1000px;
	}
	
	.epu-modal.epu-modal-full-2 .modal-content-top {
		min-height: 400px;
	}
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {

	.epu-modal .modal-title,
	.epu-modal .epu-form-title {
		font-size: 28px;
	}
	.epu-modal .modal-description,
	.epu-modal .epu-form-description {
		font-size: 14px;
	}

	.epu-modal .privacy-title,
	.epu-modal .privacy-desc {
		font-size: 10px;
	}

	.epu-modal .epu-form-wrapper button {
		font-size: 22px;
		padding-top: 5px;
		padding-bottom: 5px;
	}
}

/* Medium devices (tablets, less than 992px)*/
@media (max-width: 991.98px) {
	.epu-modal .modal-arrivederci > .container {
		background-image: unset !important;
		background-color: #FFF;
	}

	.epu-modal .modal-content-bottom {
		padding-bottom: 25px;
	}
}