


/* = = = = = = = = = = = = = = = = = datei boxfenster.css = = = = = = = = = = = = = = = = = = = = = = = = = */

/* diese datei enthält die BOX-FENSTER mit box-fenster-öffnen/schliessen-funktionen */



/* ############################################################ */
/* boxfenster  */
/* ############################################################ */


.schalter  {position:relative; }

.boxfenster  {display:block;
position:fixed;
top:0;
left:0;
box-shadow: 0 0 1px black;
text-align:left;
height:100vh;
width:100vw;
margin-top:-260vh;
overflow:hidden;
opacity:0;
transition:opacity 1.8s;
}

.boxinhalt {display:block;overflow:auto;position:relative;
background:#fff;
color:#000;
height:100%;
padding:5rem 2.5rem 0rem 2.5rem ;
margin:0;
}

/*  abstandshalter im boxfenster-inhalt zum unteren rand hin */
p.break  {
line-height:15rem;margin:0;
}


/* ############################################################ */
/* oeffnen-schalter style für box-fenster  */
/* ############################################################ */

/* siehe in der datei format.css bei MEHR LESEN-BUTTON */


/* ############################################################ */
/* schließen-schalter style für box-fenster  */
/* ############################################################ */

.schalter label.button-close {display:inline-block;
position: absolute;
top:2rem;right:3rem;
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:#f44334;
margin:0rem -1rem ;
padding: 0rem;
font-size:3rem;
width:4rem;
height:4rem;
line-height:4rem;
border-radius:100%;
}

/* icons hover */
.schalter .button-close .fas:hover ,
.schalter .button-close .fab:hover ,
.schalter .button-close .far:hover   {color:#000; }



/* ############################################################ */
/*  box-fenster schaltfunktion AN / AUS */
/* ############################################################ */

/* checkboxen versteckt */
.schalter input[type=checkbox]{
display: none;
}

input#open-about:checked ~ .boxfenster,
input#open-notiz:checked ~ .boxfenster,
input#open-testimonials-plus:checked ~ .boxfenster,
input#open-leistungen:checked ~ .boxfenster {
margin:0;
background:rgba(0,0,0,.7);
opacity:1;
}



/* ############################################################ */
/* M E D I A   Q U E R I E S - RESPONSIVE-BILDSCHIRMABFRAGEN*/
/* ############################################################ */


/* ==================================== ab 480 pixel ================================== */
@media (min-width: 480px) {

.boxinhalt {padding:5rem 4rem 0rem 4rem; }

}


/* ==================================== ab 1024 pixel ================================== */
@media (min-width: 1024px) {

.boxinhalt {
width:80rem;
height:84vh;margin:0 auto;
margin-top:8vh;
margin-bottom:8vh;
}


}


/* = = = = = = = = = = = = = = = = = = = = = Code Ende = = = = = = = = = = = = = = = = = = = = = */