


/* = = = = = = = = = = = = = = = = = 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 ,
#boxfenster-icon-2 ,
#boxfenster-icon-4 ,
#boxfenster-icon-6 ,
#boxfenster-icon-8  {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:#EEF3F9;
color:#000;
height:100%;
padding:7rem 2.5rem 7rem 2.5rem ;
margin:0;
box-shadow:0 0 2px black,inset 0px 0px 4px  black;
}

.boxinhalt a {
color:#000;
}


/* - - - schließen-schalter für box-fenster -  - - - */

.schalter label.button-close {display:inline-block;
POSITION: absolute;
top:1rem;right:0%;
z-index:201;
cursor:pointer;
background:transparent;
text-align:center;
width:100%;
}


/* - - - icons  -  - - - */

.schalter  .fas ,
.schalter  .fab ,
.schalter  .far  {display:inline-block;
background:transparent;
color:midnightblue;
margin:0rem;
padding: 0;
font-size:4rem;
width:5rem;
height:5rem;
line-height:5rem;
border-radius:100%;
transition:all .6s ease-out;
}

.schalter .fas:hover ,
.schalter .fab:hover ,
.schalter .far: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,
input#open-info-icon-2:checked ~ #boxfenster-icon-2,
input#open-info-icon-4:checked ~ #boxfenster-icon-4,
input#open-info-icon-6:checked ~ #boxfenster-icon-6,
input#open-info-icon-8:checked ~ #boxfenster-icon-8 {
margin:0;
background:rgba(0,0,0,.7);
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:84vh;margin:0 auto;
margin-top:8vh;
margin-bottom:8vh;
}

}


/* = = = = = = = = = = = = = = = = = = = = = Code Ende = = = = = = = = = = = = = = = = = = = = = */