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

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

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

/* - - - - - BOXENSTER FORMATIERUNG - - - - - */

.schalter {
position:relative;}

#boxfenster-home,
#boxfenster-primus,
#boxfenster-secundus,
#boxfenster-tertius,
#boxfenster-quartus,
#boxfenster-quintus,
#boxfenster-sextus,
#boxfenster-impressum,
#boxfenster-datenschutz,
#boxfenster-disclaimer {
display:block;
position:fixed;
z-index:200;
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-top:-260vh;
height:100vh;
background:#1f1f1f;}

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

/* - - - schließen-schalter für box-fenster -  - - - */

.schalter label.button-close {
display:inline-block;
position:absolute;
top:1rem;right:1rem;
z-index:201;
cursor:pointer;
color:#C4402D;
background:transparent;
text-align:center;
width:100%;
margin:0rem;
padding:0;
font-size:4rem;
width:5rem;
height:5rem;
line-height:5rem;
transition:all .6s ease-out;}

/* - - - hover bei den schaltern - - - */

.schalter label.button-close:hover {
color:#fff;
text-shadow:0 0 1px #6F6F6F;
transform:rotate(90deg);}

/* checkbox versteckt */

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

/* - - - toggle-funkton mit CHECKED schaltet boxfenster ein/aus - - - - */

input#open-info-home:checked ~ #boxfenster-home,
input#open-info-primus:checked ~ #boxfenster-primus,
input#open-info-secundus:checked ~ #boxfenster-secundus,
input#open-info-tertius:checked ~ #boxfenster-tertius,
input#open-info-quartus:checked ~ #boxfenster-quartus,
input#open-info-quintus:checked ~ #boxfenster-quintus,
input#open-info-sextus:checked ~ #boxfenster-sextus,
input#open-info-impressum:checked ~ #boxfenster-impressum,
input#open-info-datenschutz:checked ~ #boxfenster-datenschutz,
input#open-info-disclaimer:checked ~ #boxfenster-disclaimer {
margin:0;
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) {
/* schliessen-schalter-boxfenster */
.schalter label.button-close {
top:2rem;
right:2rem;}

.boxinhalt {padding:3rem 5rem 3rem 5rem;}
}

/* ==================================== ab 960 pixel ================================== */

@media (min-width:960px) {
.boxinhalt {
width:80rem;
height:100vh;
margin:0 auto;
margin-top:0vh;
margin-bottom:8vh;}
}

/* ==================================== ab 1200 pixel ================================== */

@media (min-width:1200px) {
.boxinhalt {width:92rem;}
}

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