.jconfirm.white .jconfirm-scrollpane,
.md-overlay, .gc-overlay-area:not(.gc-natsize){overflow-y: scroll;}
.jconfirm-white .jconfirm-scrollpane, .md-overlay, #MenuResponsive.open + .OverlayMPrResponsive, form#search.open + .FSearchOverlay {background: rgba(0,0,0,0.6);}
.md-modal .loadingMultLayer{font-size:15px;display:block;text-align:center; padding:50px 0}
.md-modal .loadingMultLayer i{font-size:20px}

.CustomModal .jconfirm-box{padding:0!important;}

.ButtonsHidden .jconfirm-box > .buttons{padding:0}
.jconfirm-box .jconfirm-content button:not(.colorepulsanti):not(.coloripulsanti2), 
.CustomModal button:not(.colorepulsanti):not(.coloripulsanti2), 
.jconfirm-box .jconfirm-content input[type="button"]:not(.colorepulsanti):not(.coloripulsanti2), 
.CustomModal input[type="button"]:not(.colorepulsanti):not(.coloripulsanti2){color:#333}
.CustomModal .title-c{display:none}
.CustomModal div.IconClose{position:absolute;z-index:10;font-size:35px;line-height:24px;color:#fff;top: 13px;right: 13px;opacity:0.6;cursor:pointer}
.CustomModal .jconfirm-content{padding:0 !important;overflow-y: hidden !important;height:100%;max-height:100% !important}
.CustomModal .jconfirm-content > div{height:100%;}

.CustomModal .jconfirm-content-pane{height:100% !important}
.CustomModal .buttons{padding:0 !important}
.CustomModal .coverBackground{background-size: cover;background-repeat: no-repeat;background-position: center;width:100%;height:100%;position:relative;}

.CustomModal{padding:0!important;transition-duration:0s!important;}
.CustomModal .jconfirm-title-c{display:none!important;}
.CustomModal .jconfirm-title-c+div{margin-top:0!important;max-height:100% !important;}
.CustomModal .coverBackground .Pattern{width:100%;height:100%;}
.CustomModal .coverBackground .title{font-size:36px;line-height: 35px;font-weight:600;color:#fff;padding:40px 40px 30px 40px}
.CustomModal .coverBackground .description{font-size:17px;font-weight:400;color:#fff;padding:0 40px 0 40px}
.CustomModal .coverBackground .description a{color:#fff;text-decoration:underline;font-weight:500}
.CustomModal .coverBackground .description ol{list-style:decimal;padding-left:15px;margin:10px 0}
.CustomModal .coverBackground .description ul{list-style:unset;padding-left:20px;margin:10px 0}
.CustomModal .coverBackground .description h1{font-size:35px !important}
.CustomModal .coverBackground .Buttons{text-align:right;padding:0 20px 20px 0;position:absolute;bottom:0;left:0;right:0}
.CustomModal .coverBackground button{color:#fff !important;opacity: 1;}
.CustomModal .coverBackground button+button{margin-left:10px}

.CustomModal div.description h1,
.CustomModal div.description h2,
.CustomModal div.description h3, 
.CustomModal div.description h4,
.CustomModal div.description h5,
.CustomModal div.description h6
{background-color: transparent !important;color: inherit !important;font-weight: inherit !important;padding-left: 0;position: initial;height: auto;}

.CustomModal .jconfirm-box .jconfirm-content .TxtDefault{height:100%;}

.CustomModal div.description h1{font-size:26px;line-height:28px;}
.CustomModal div.description h2{font-size:22px;line-height: 24px;}
.CustomModal div.description h3{font-size:19px;line-height: 22px;}
.CustomModal div.description h4{font-size:17px;line-height: 20px;}
.CustomModal div.description h5{font-size:15px;line-height: 18px;}
.CustomModal div.description h6{font-size:13px;line-height: 16px;}

.CustomModal div.description h3:after{content:none !important}
.CustomModal div.description h3 .txt{padding:0 !important}

.CustomModal div.jconfirm-closeIcon{opacity:1;line-height:20px;}

.CustomModal div.description p{margin:0;}

@media only screen and (min-width: 511px){
	.CustomModal .jconfirm-box{width:600px;height:560px;margin-bottom:0 !important}
}
@media only screen and (max-width: 510px){
	.CustomModal{margin-top:-40px;}
	.CustomModal .coverBackground .title{padding-top:20px;padding-left:20px;padding-right:20px;}
	.CustomModal .coverBackground .description{padding-left:20px;padding-right:20px;}
	
	.CustomModal .jconfirm-box{ height:450px; }
}