


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


/* -------------------------------------- */
/* diese datei enthält  die BOX-FENSTER mit css-toggle-funktionen fuer oeffnen/schliessen der boxen */
/* -------------------------------------- */



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

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

.schalter  {position:relative; }

#boxfenster-impressum,
#boxfenster-datenschutz ,
#boxfenster-disclaimer  {display:block;
position:fixed;
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:-260vh 0;
}

.boxinhalt {display:block;overflow:auto;position:relative;
background:#E6D8D2;
color:#000;
height:100%;
padding:7rem 2.5rem 7rem 2.5rem ;
margin:0;
}

.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:3;
cursor:pointer;
background:transparent;
text-align:center;
width:100%;
}


/* - - - icons  -  - - - */

.schalter  .fas ,
.schalter  .fab ,
.schalter  .far  {display:inline-block;
background:transparent;
color:limegreen;
background:white;
text-shadow:0 0 1px black;
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:crimson;
}


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


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


/*  fenster impressum */
input#open-info-impressum:checked ~ #boxfenster-impressum {
z-index:4;
margin:0;background:rgba(0,0,0,.5);

ANIMATION:einblenden 1s linear;
}

/*  fenster datenschutz */
input#open-info-datenschutz:checked ~ #boxfenster-datenschutz {
z-index:4;
margin:0;background:rgba(0,0,0,.5);
ANIMATION:einblenden 1s linear;
}

/*  fenster disclaimer */
input#open-info-disclaimer:checked ~ #boxfenster-disclaimer {
z-index:4;
margin:0;background:rgba(0,0,0,.5);
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) {

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

.boxinhalt {padding:4rem 5rem 6rem 5rem ; }


}


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

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

}


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