/*
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:999999; overflow:hidden;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{ overflow:auto; -webkit-overflow-scrolling:touch;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0;}
#colorbox, #cboxContent, #cboxLoadedContent{ box-sizing:content-box; }

/*
User Style:
Change the following styles to modify the appearance of Colorbox.  They are
ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay{ background:rgba(0,0,0,0.3); }
#colorbox{outline:0;}
#cboxContent{ margin:1rem; overflow:visible; border:none; }
.cboxIframe{ background:#fff; display:block;  border-radius:0.625rem; }
#cboxError{ padding:50px; border:1px solid #75140C;}
#cboxLoadedContent{  border-radius:0.25rem; overflow: hidden;; }
#cboxLoadingGraphic{ background:#fff; }
#cboxLoadingOverlay{ }
#cboxTitle{position:absolute; top:-50px; left:0; color:#fff;}
#cboxCurrent{position:absolute; top:-50px; right:205px; text-indent:-9999px;}

/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious, #cboxNext, #cboxSlideshow {border:0; padding:0; margin:0; overflow:hidden; width:auto; height:auto; position:absolute; top:-1.25em; right:10px; font-size:2em; vertical-align:middle; display:none !important; }
#cboxClose {border:0; padding:0 !important; margin:0; overflow:visible; width:2.5rem; height:2.5rem; position:absolute; top:-1rem; right:-1rem; font-size:2em; background:var(--aiot-color-blue-dark) url(../img/i_close.svg) center center /2rem no-repeat; vertical-align:middle; color:#fff; min-width:auto; text-indent:-1000rem; z-index:10000; }
#cboxClose:hover { opacity: 0.7; }
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}


/* CSS3 ModalWindow SET-------------------------- */
@-webkit-keyframes modalFadeIn {
    0% {opacity:0;display:block;}
    100% {opacity:1;}
}
div.modal div:target {animation-name:modalFadeIn; animation-duration:1s; animation-iteration-count:1; opacity:1; display:block; }

@-webkit-keyframes modalScale {
    0% {opacity:0; display:block; transform:scale(0);}
    100% {opacity:1; transform:scale(1);}
}
div.modal div:target .modal_window {animation-name:modalScale; animation-duration:1s; animation-iteration-count:1; transform:scale(1); opacity:1; display:block;}
