


/* = = = = = = = = = = = = = = = = = 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;z-index:4;
top:0;
left:0;
box-shadow: 0 0 1px black;
text-align:left;
height:100vh;
width:100vw;
margin-top:-260vh;
overflow:hidden;
transition:opacity 1.8s;
opacity:0;
}

.boxinhalt {display:block;overflow:auto;position:relative;box-shadow:inset 0 0 1px black;
background:#F9F9F9;
height:100%;
padding:4rem 2rem 0rem 2rem ;
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:1rem;right:2.5rem;
cursor:pointer;
background:transparent;
}

/* icons  */
.schalter .button-close i {display:inline-block;position:fixed;
color:#2B497D;
margin:0rem -2rem ;
padding: 0rem;
font-size:3rem;
width:4rem;
height:4rem;
line-height:4rem;
}

/* icons hover */
.schalter .button-close i:hover  {color:firebrick; }



/* ############################################################ */
/*  box-fenster schaltfunktion AN / AUS */
/* ############################################################ */

/* checkboxen versteckt */
.schalter input[type=checkbox]{
display: none;
}

input#open-primus:checked ~ .boxfenster,
input#open-secundus:checked ~ .boxfenster,
input#open-quartus: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 5rem 0rem 5rem ; }

}


/* ==================================== ab 960 pixel ================================== */
@media (min-width: 960px) {

.boxinhalt {width:75rem;
height:86vh;
margin:0 auto;
margin-top:8vh;
margin-bottom:8vh;
}

}
