


/* = = = = = = = = = = = = = = = = = 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;

}

.boxinhalt {display:block;overflow:auto;
POSITION:relative;
background:#fff;
height:100%;
padding:2rem 2.5rem 2rem 2.5rem ;
margin:0;
}



/* - - - schließen-schalter für box-fenster -  - - - */
.schalter label.button-close {display:inline-block;
position: absolute;
top:3rem;right:2.5rem;
z-index:3;
cursor:pointer;
background:transparent;
}

/* icons  */

.schalter .button-close .fas  ,
.schalter .button-close .fab ,
.schalter .button-close .far  {display:inline-block;
background:transparent;position:fixed;
color:firebrick;
margin:-1.5rem -1.2rem ;
padding: 0rem;
font-size:3rem;
width:3rem;
height:3rem;
line-height:3rem;
}

.schalter .button-close .fas:hover ,
.schalter .button-close .fab:hover ,
.schalter .button-close .far:hover   {color:#000; }



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





/* - - - 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;
background:#EFEFEF;
ANIMATION:einblenden 1s linear;
background:rgba(255,255,255,.7);
}



/* ############################################################ */
/* 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:3rem;right:4rem;  }

.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 = = = = = = = = = = = = = = = = = = = = = */