/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden; -webkit-transform: translate3d(0,0,0);}
#cboxWrapper {max-width:none;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{ position:relative; }
#cboxLoadedContent{
	padding: 0;
	overflow: auto;
	box-sizing: border-box;
	-webkit-overflow-scrolling: touch;
}
#cboxLoadedContent div.notifica {
	display: block;
	margin: 0;
	padding: 2px 0 0 0;
	text-align: left;
	min-height: 52px;
	line-height: 150%;
}
#cboxLoadedContent div.notifica>img {
	margin: -2px 20px 0 0;
	width: auto;
	min-width: 50px;
	height: 50px;
}
#colorbox.cb_image #cboxLoadedContent, #colorbox.cb_imagegroup #cboxLoadedContent {
	background: #000 !important;
}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%; opacity:1; -webkit-transition-property:opacity; -webkit-transition-duration:0.3s; -moz-transition-property:opacity; -moz-transition-duration:0.3s; transition-property:opacity; transition-duration:0.3s;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto !important; border:0; width:auto !important; height:auto !important; display:block; max-width:100% !important; max-height:90vh !important; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
a.colorbox{cursor:pointer}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
#colorbox.cb_alert #cboxLoadedContent>div {
	padding: 15px 22px !important;
}
#colorbox.cb_alert #cboxLoadedContent>div div.bottoni_conferma {
	padding: 18px 0 0 0 !important;
	text-align: center !important;
}
#colorbox.cb_alert #cboxLoadedContent>div div.bottoni_conferma button {
	min-width: 100px;
	padding: 3px 10px;
	text-transform: uppercase;
	margin: 0 5px;
}
#colorbox a.colorbox{cursor:default}
#cboxOverlay {
	background: #000;
	background: rgba(0,0,0,0.85);
	opacity: 0.9;
	filter: alpha(opacity = 90);
}
#cboxOverlay, #colorbox {
	-webkit-transition-property: opacity;
	-webkit-transition-duration: 0.2s;
	-webkit-transition-timing-function: ease;
	-moz-transition-property: opacity;
	-moz-transition-duration: 0.2s;
	-moz-transition-timing-function: ease;
	transition-property: opacity;
	transition-duration: 0.2s;
	transition-timing-function: ease;
}
@-webkit-keyframes colorBoxOpen { from { opacity:0;	} 10% { -webkit-transform:scale(0.85); -moz-transform:scale(0.85); transform:scale(0.85); opacity:0; } to { -webkit-transform:scale(1); -moz-transform:scale(1); transform:scale(1); opacity:1; } }
@-moz-keyframes colorBoxOpen { from { opacity:0; } 10% { -webkit-transform:scale(0.85); -moz-transform:scale(0.85); transform:scale(0.85); opacity:0; } to { -webkit-transform:scale(1); -moz-transform:scale(1); transform:scale(1); opacity:1; } }
@keyframes colorBoxOpen { from { opacity:0; } 10% { -webkit-transform:scale(0.85); -moz-transform:scale(0.85); transform:scale(0.85); opacity:0; } to { -webkit-transform:scale(1); -moz-transform:scale(1); transform:scale(1); opacity:1; } }
#colorbox {
	outline: 0;
}
#colorbox:not(.load):not(.complete) {
	visibility: hidden !important;
}
#colorbox.complete {
	-webkit-animation: colorBoxOpen 0.5s ease-in-out;
	-webkit-animation-direction: normal;
	-moz-animation: colorBoxOpen 0.5s ease-in-out;
	-moz-animation-direction: normal;
	animation: colorBoxOpen 0.5s ease-in-out;
	animation-direction: normal;
}
#colorbox.load #cboxLoadedContent {
	visibility: hidden !important;
}
#colorbox.complete.resize {
	opacity: 0.35 !important;
}
#cboxContent{margin-top:20px;}
   .cboxIframe{background:#fff;}
	#cboxError{padding:50px; border:1px solid #bbb;}
	#cboxLoadedContent{border:5px solid #000; background:#fff;}
	#cboxTitle{position:absolute; top:-16px; left:5px; font-size:12px; color:#aaa !important;}
	#cboxTitle a{font-size:12px; color:#aaa !important;}
	#cboxTitle a:hover{color:#ddd !important;}
	#cboxCurrent{position:absolute; font-size:12px; top:-16px; right:-5px; color:#bbb; padding-right:10px;}
	#colorbox.cb_imagegroup #cboxCurrent{padding-right:37px;}
	#cboxLoadingGraphic{background:url(../images/colorbox/loading.gif) no-repeat center center;}

	/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
	#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
	
	/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
	#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
	
	#cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}
	#cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-32px; background:url(../images/colorbox/controls.png) no-repeat top left !important; width:28px; height:65px; text-indent:-9999px; transition-duration:initial; border:0 !important;}
	#cboxPrevious:hover{background-position: bottom left !important;}
	#cboxNext{position:absolute; top:50%; right:5px; margin-top:-32px; background:url(../images/colorbox/controls.png) no-repeat top right !important; width:28px; height:65px; text-indent:-9999px; transition-duration:initial; border:0 !important;}
	#cboxNext:hover{background-position: bottom right !important;}
	#cboxClose{position:absolute; top:-14px; right:1px; display:block; border-top:1px solid #000; background-color:#000 !important; background-image:url(../images/colorbox/controls.png) !important; background-repeat:no-repeat; background-position:top center; width:24px; height:19px; text-indent:-9999px; transition-duration:initial; }
	#colorbox:not(.complete) #cboxClose, #colorbox:not(.complete) #cboxTitle {display:none !important;}
	#colorbox.complete #cboxLoadingOverlay, #colorbox.complete #cboxLoadingGraphic {opacity:0 !important; pointer-events:none;}
	body.oldIE #colorbox.complete #cboxLoadingOverlay, body.oldIE #colorbox.complete #cboxLoadingGraphic {display:none;}
	#cboxClose:hover{background-position:bottom center;}
	#cboxPrevious:focus, #cboxNext:focus, #cboxClose:focus{outline:0}


@media only screen and (max-width: 700px) {
        #cboxClose{display:none;}
}
