


/* = = = = = = = = = = = = = = = = = datei boxfenster.css = = = = = = = = = = = = = = = = = = = = = = = = = */


/* info: diese datei enthält  die BOX-FENSTER mit box-fenster-öffnen/schliessen-funktionen */




/* ############################################################ */
/* BOX-FENSTER */
/* ############################################################ */



/* - - - - - BOXENSTER FORMATIERUNG - - - - - */

.schalter  {POSITION:relative; }

#boxfenster-home ,
#boxfenster-primus ,
#boxfenster-secundus ,
#boxfenster-tertius ,
#boxfenster-quartus,
#boxfenster-quintus ,
#boxfenster-sextus ,
#boxfenster-impressum ,
#boxfenster-datenschutz ,
#boxfenster-disclaimer  {display:block;
position:fixed;
z-index:200;
top:0;
left:0;
box-shadow: 0 0 1px black;
text-align:left;
font-size:1.7rem;
line-height:2.5rem;
height:100vh;
width:100vw;
margin-top:-260vh;
background:rgba(0,0,0,.5);
}

.boxinhalt {display:block;overflow:auto;POSITION:relative;
background:steelblue;
height:100%;
padding:4rem 2.5rem 7rem 2.5rem ;
margin:0;
box-shadow:0 0 2px black,inset 0px 0px 1px  black;
}



/* - - - schließen-schalter für box-fenster -  - - - */

.schalter label.button-close {display:inline-block;
POSITION: absolute;
top:1rem;right:1rem;
z-index:201;
cursor:pointer;
text-align:center;
width:100%;background:transparent;
color:deepskyblue;
margin:0rem;
padding: 0;
font-size:4rem;
width:5rem;
height:5rem;
line-height:5rem;
transition:all .6s ease-out;
}

/* - - - hover bei den schaltern - - - */

.schalter label.button-close:hover {
color:#FFF;
text-shadow:0 0 1px #6F6F6F;
transform:rotate(90deg);
}



/* - - - toggle-funkton mit CHECKED- - - */
/* schaltet boxfenster ein/aus und schaltet hintergrund bei boxfenster halbtransparent (ab 960px sichtbar)*/


input[type=checkbox]{
display: none;
}


/* fenster - ereignis nach klick */
input#open-info-home:checked ~ #boxfenster-home,
input#open-info-primus:checked ~ #boxfenster-primus,
input#open-info-secundus:checked ~ #boxfenster-secundus,
input#open-info-tertius:checked ~ #boxfenster-tertius,
input#open-info-quartus:checked ~ #boxfenster-quartus,
input#open-info-quintus:checked ~ #boxfenster-quintus,
input#open-info-sextus:checked ~ #boxfenster-sextus,
input#open-info-impressum:checked ~ #boxfenster-impressum,
input#open-info-datenschutz:checked ~ #boxfenster-datenschutz,
input#open-info-disclaimer:checked ~ #boxfenster-disclaimer {
margin:0;

ANIMATION:einblenden 1s linear;
}



/* ############################################################ */
/* M E D I A   Q U E R I E S - RESPONSIVE-BILDSCHIRMABFRAGEN*/
/* ############################################################ */


/* ==================================== ab 640 pixel ================================== */

@media (min-width: 640px) {

/*  schliessen-schalter-boxfenster */
.schalter label.button-close {top:2rem;right:3rem; width:auto; }

.boxinhalt {padding:3rem 5rem 3rem 5rem ; }


}


/* ==================================== ab 960 pixel ================================== */
@media (min-width: 960px) {

.boxinhalt {
width:80rem;
height:100vh;margin:0 auto;
margin-top:0vh;
margin-bottom:8vh;
}


}

/* ==================================== ab 1200 pixel ================================== */
@media (min-width: 1200px) {

.boxinhalt {
width:92rem;
}


}


/* = = = = = = = = = = = = = = = = = = = = = Code Ende = = = = = = = = = = = = = = = = = = = = = */