


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

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




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

/* - - - - - INFOFENSTER FORMATIERUNG - - - - - */

.schalter  {position:relative; }


#boxfenster-home ,
#boxfenster-primus ,
#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 5.5rem 0rem 2.5rem ;
margin:0;
}

.boxinhalt    h1, .boxinhalt   h2, .boxinhalt   h3  {
color:#000;
}

h2:after {
border-top: 0px;
width: 0px;
content: "";
}

.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 ,
.schalter  .fab ,
.schalter  .far  {display:inline-block;
background:transparent;
color:#f44334;
margin:0rem;
padding: 0;
font-size:4rem;
width:5rem;
height:5rem;
line-height:5rem;
border-radius:100%;
}

.schalter .fas:hover ,
.schalter .fab:hover ,
.schalter .far:hover   {

color:#000;
}


/* - - - 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 primus  */
input#open-info-primus:checked ~ #boxfenster-primus  {
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; }


}


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

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


}


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