


/* = = = = = = = = = = = = = = = = = datei boxfenster.css = = = = = = = = = = = = = = = = = = = = = = = = = */


/* -------------------------------------- */
/* diese datei enthält  die BOX-FENSTER mit box-fenster-öffnen/schliessen-funktionen */
/* -------------------------------------- */





/* ############################################################ */
/* INFO-FENSTER */
/* ############################################################ */

/* - - - - - INFOFENSTER FORMATIERUNG - - - - - */

.schalter  {position:relative; }

#boxfenster-home ,
#boxfenster-primus1 ,
#boxfenster-primus2 ,
#boxfenster-primus3 ,
#boxfenster-secundus ,
#boxfenster-tertius ,
#boxfenster-quartus,
#boxfenster-quintus ,
#boxfenster-sextus {display:block;
font-size:15px;
position:fixed;
top:0;
left:0;
overflow:auto;
box-shadow: 0 0 1px black;
text-align:left;
font-size:1.7rem;
line-height:2.5rem;
height:100vh;
width:100vw;
margin-top:-260vh;
overflow:hidden;
}

.boxinhalt {display:block;overflow:auto;position:relative;
background:#fff;
color:#000;
height:100%;
padding:7rem 2.5rem 2rem 2.5rem ;
margin:0;
}

.boxinhalt    h1, .boxinhalt   h2, .boxinhalt   h3  {
color:#000;
}

.boxinhalt a {
color:#000;
}


/* - - - oeffnen-schalter für box-fenster -  - - - */

/* öffnen-schalter für box-fenster  formatierung */
.schalter label.button-open  {display:inline-block;
position:relative;
z-index:3;
padding:1rem 0;
cursor:pointer;
}


/* - - - schließen-schalter für box-fenster -  - - - */

.schalter label.button-close {display:inline-block;
position: absolute;
top:1rem;right:0%;
z-index:3;
cursor:pointer;
background:transparent;
text-align:center;
width:100%;
}


/* - - - icons  -  - - - */

.schalter  .fas   {display:inline-block;
background:transparent;
color:#2196f3;
margin:0rem;
padding: 0;
font-size:5rem;
width:5rem;
height:5rem;
line-height:5rem;
}

#boxfenster-home     .fas {color:#2196f3; }
#boxfenster-primus1  .fas {color:#4caf50; }
#boxfenster-primus2  .fas {color:#4caf50; }
#boxfenster-primus3  .fas {color:#4caf50; }
#boxfenster-secundus .fas {color:#ffea00; }
#boxfenster-tertius  .fas {color:#ef6c00; }
#boxfenster-quartus  .fas {color:#607d8b; }
#boxfenster-quintus  .fas {color:#4ab6ac; }
#boxfenster-sextus   .fas {color:#e53935; }






/* - - - toggle-funkton mit CHECKED- - - */
/* schaltet boxfenster ein/aus , schaltet hintergrund bei boxfenster halbtransparent (ab 960px sichtbar)*/


input[type=checkbox]{
display: none;
}


/* fenster home */
input#open-info-home:checked ~ #boxfenster-home  {
z-index:4;
margin:0;
background:rgba(0,0,0,.7);
}

/*  fenster about1  */
input#open-info-primus1:checked ~ #boxfenster-primus1  {
z-index:4;
margin:0;
background:rgba(0,0,0,.7);
}

/*  fenster about2 */
input#open-info-primus2:checked ~ #boxfenster-primus2  {
z-index:4;
margin:0;
background:rgba(0,0,0,.7);
}

/*  fenster about3  */
input#open-info-primus3:checked ~ #boxfenster-primus3  {
z-index:4;
margin:0;
background:rgba(0,0,0,.7);
}

/*  fenster secundus  */
input#open-info-secundus:checked ~ #boxfenster-secundus  {
z-index:4;
margin:0;background:rgba(0,0,0,.7);
}

/*  fenster tertius  */
input#open-info-tertius:checked ~ #boxfenster-tertius  {
z-index:4;
margin:0;background:rgba(0,0,0,.7);
}

/*  fenster quartus  */
input#open-info-quartus:checked ~ #boxfenster-quartus  {
z-index:4;
margin:0;background:rgba(0,0,0,.7);
}

/*  fenster quintus  */
input#open-info-quintus:checked ~ #boxfenster-quintus   {
z-index:4;
margin:0;background:rgba(0,0,0,.7);
}

/*  fenster sextus */
input#open-info-sextus:checked ~ #boxfenster-sextus {
z-index:4;
margin:0;background:rgba(0,0,0,.7);
}





/* ############################################################ */
/* M E D I A   Q U E R I E S - RESPONSIVE-BILDSCHIRMABFRAGEN*/
/* ############################################################ */


/* ==================================== ab 640 pixel ================================== */

@media (min-width: 640px) {

.schalter label.button-close {top:2rem;right:3rem; width:auto; }

.boxinhalt {padding:2rem 2.5rem 2rem 2.5rem ; }


}


/* ==================================== ab 960 pixel ================================== */
@media (min-width: 960px) {

.boxinhalt {
width:80rem;
height:84vh;margin:0 auto;
margin-top:8vh;
margin-bottom:8vh;
}

}


/* = = = = = = = = = = = = = = = = = = = = = Code Ende = = = = = = = = = = = = = = = = = = = = = */