


/* = = = = = = = = = = = = = = = = = 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;
background:#734444;
height:100%;
padding:3.5rem 2.5rem 0rem 2.5rem ;
margin:0 auto;
}

/*  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;z-index:1;
top:1rem;right:3rem;
cursor:pointer;
background:transparent;
}

/* icons  */
.schalter .button-close i  {display:inline-block;position:fixed;
color:#fff;
margin:0rem -1rem ;
padding: 0rem;
font-size:3rem;

line-height:4rem;transition:all 1s ease-out;
}

/* icons hover */
.schalter .button-close i:hover  {color:#62929a;transform:rotate(360deg); }



/* ############################################################ */
/*  box-fenster schaltfunktion AN / AUS */
/* ############################################################ */

/* checkboxen versteckt */
.schalter input[type=checkbox]{
display: none;
}

input#open-kontakt:checked ~ .boxfenster,
input#open-primus:checked ~ .boxfenster,
input#open-secundus:checked ~ .boxfenster,
input#open-secundus-2:checked ~ .boxfenster,
input#open-secundus-3:checked ~ .boxfenster,
input#open-secundus-4:checked ~ .boxfenster,
input#open-tertius:checked ~ .boxfenster,
input#open-quartus:checked ~ .boxfenster,
input#open-quartus-2:checked ~ .boxfenster,
input#open-quartus-3:checked ~ .boxfenster,
input#open-quintus:checked ~ .boxfenster,
input#open-sextus:checked ~ .boxfenster,
input#open-impressum:checked ~ .boxfenster,
input#open-datenschutz:checked ~ .boxfenster,
input#open-disclaimer:checked ~ .boxfenster,
input#open-agb: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:4rem 4rem 4rem 4rem; }

}


/* ==================================== ab 760 pixel ================================== */
@media (min-width: 760px) {

.schalter label.button-close {
top:1rem;right:4rem; }

.boxinhalt {width:700px; }

}


/* ===================================== ab 960 pixel ================================= */
@media (min-width: 960px) {

.boxinhalt  {width: 100%; }

}


/* ==================================== ab 1100 pixel ================================== */
@media (min-width: 1100px) {

.boxinhalt {
width:90%;
height:86vh;
margin:0 auto;
margin-top:8vh;
margin-bottom:8vh;
}

}


/* ===================================== ab 1250 pixel ================================= */
@media (min-width: 1250px) {

.boxinhalt   {width: 1200px; padding:4rem 6rem 4rem 6rem; }



}


/* = = = = = = = = = = = = = = = = = = = = = Code Ende = = = = = = = = = = = = = = = = = = = = = */