/*
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,170,170,0.5); }
#colorbox{outline:0;}
#cboxContent{ margin:1rem 1rem 2rem 1rem; overflow:visible; border:none; }
.cboxIframe{ background:rgba(255,255,255,0.8); display:block;  /*border-radius:1rem;*/ backdrop-filter:  blur(15px); -webkit-backdrop-filter: blur(15px);  }
#cboxError{ padding:50px; border:1px solid #0ba;}
#cboxLoadedContent{  /*border-radius:0.5rem;*/ overflow: hidden; }
#cboxLoadingGraphic{ background:#fff; }
#cboxLoadingOverlay{ }
#cboxTitle{position:absolute; top:-50px; left:0; color:#fff;}
#cboxCurrent{position:absolute; bottom:-1.5rem; right:1rem; color:#222; line-height: 1; font-size: 0.9rem; /*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; position:absolute; font-size:1rem; width:2rem; height:4rem; vertical-align:middle; color:#fff; background:none; line-height:2rem; }
#cboxPrevious { left:-1rem; top:calc(50% - 2rem); }
#cboxPrevious::after { content:""; display: block; position: absolute; top:calc(50% - 1.4rem); left:0.5rem; width:2rem; height:2rem; border-top:1px solid #222; border-left:1px solid #222; transform: rotate(-45deg); }
#cboxNext { right:-1rem; top:calc(50% - 2rem); }
#cboxNext::after { content:""; display: block; position: absolute; top:calc(50% - 1.4rem); right:0.5rem; width:2rem; height:2rem; border-top:1px solid #222; border-right:1px solid #222; transform: rotate(45deg); }

#cboxClose { padding:0; margin:0; overflow:visible; width:3rem; height:3rem; /*border-radius:2rem;*/ position:absolute; top:-0.75rem; right:-0.75rem; font-size:2em; background:#0AA url(../img/i_close.svg) center center /2rem no-repeat; vertical-align:middle; color:#fff; min-width:auto; text-indent:-1000rem; z-index:10000; border: none; box-shadow: 0 0.2rem 1rem rgba(34,34,34,0.05);  }
#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;}
