@charset "utf-8";
/* CSS Document */
div.light-box { position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.8); z-index:999999999999; cursor:pointer; padding:20px;
display: flex;
align-items:center;
justify-content:center;
flex-wrap:wrap;}
div.light-box > * { flex-shrink:0; text-decoration:none; color:black;}
div.light-box > div { display:inline-block; width:auto; max-width:calc( 100vw - 5rem ); height:auto; max-height:calc( 100vh - 40px ); overflow:hidden; position:relative; padding:20px; padding-top:60px; background:white;}
div.light-box > div .close { width:50px; height:50px; position:absolute; top:0; right:0; background:black; color:white; text-align:center; line-height:2.5rem; font-size:1.5rem; text-decoration:none;}
div.light-box > div .close:hover,
div.light-box > div .close:active { background:darkblue;}
div.light-box > div .title { display:block; width:100%; height:auto; overflow:hidden; float:left; text-align:center; color:darkblue; margin-bottom:10px; font-weight:bold; font-size:1.4em;}
div.light-box > div .light-box-content { width:100%; height:auto; overflow-y:auto; float:left; color:black; text-align:center; max-height:calc( 100vh - 180px );}
div.light-box > div .light-box-content img { display:block; max-width:100%; height:auto; max-height:calc( 100vh - 5rem ); margin:0 auto;}


@media only screen and (min-width:0px) and (max-width:1024px){
	div.light-box { padding:10px;}
	div.light-box > div { max-width:100%;}
}
@media only screen and (min-width:0px) and (max-width:512px){
	div.light-box > div .close { width:10vw; height:10vw; line-height:10vw; font-size:5vw;}
}
@media only screen and (min-width:0px) and (max-width:400px){
	div.light-box > div .close { width:12vw; height:12vw; line-height:12vw; font-size:6vw;}
}