
/* CSS (c) 2013-2026 - Xycons GmbH & Co. KG - www.xycons.de - (M0054) (v:07.20) */

.stop-scrolling {
  height: 100%;
  overflow: hidden;
}

.black_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 10000;
    opacity: .80;
}

.white_content {
    top: 20%;
    left: 0;
    width: 100%;
    max-height: 70%;
    height: auto;
    padding: 1%;
    display: none;
    position: fixed;
    vertical-align: top;
    border-top: 10px solid red;
    border-bottom: 10px solid red;
    color: #000000;  /* or white :ffffff; */
    z-index: 10001;
    overflow-y: auto;
    background-color: #ffffff;  /* or dark grey: 2f2f30; */
}

.xyAskAgeTitle {
    font-size: 2em;
    text-align: center;
    font-family: Arial,Tahoma,Verdana;
}

.xyContentPage {
    font-size: 2em !important;
    text-align: center;
    font-family: Arial,Tahoma,Verdana;    
    height: auto;
}

.xyAskAgeQuestion {
    font-size: 2em;
    text-align: center;
    font-family: Arial,Tahoma,Verdana;
}

.xyAskAgeAnswers {
  font-family: Arial,Tahoma,Verdana;
  text-align: center;
  width: 300px;
  max-width: 90%;
  margin: 0 auto;
}

.xycss_button {
    height: 4em;
    width: auto;
}

.xyAskAgeAnswer_yes {
    float: left;
}
.xyAskAgeAnswer_no {
    float: right;
}

.xyAskAgeAnswers:after {
    content: "";
    display: block;
    clear: both;
}

#M0054_yes:focus img,
#M0054_no:focus img {
    outline: 3px solid #7a1f52;
    outline-offset: 2px;
}

@media (max-width: 480px) {
    .xyAskAgeTitle,
    .xyAskAgeQuestion,
    .xyContentPage {
        font-size: 1.4em;
    }
    .xycss_button {
        height: 3em;
    }
}

/* --- Eingabe des Geburtsdatums ------------------------------------------ */

.xyAskAgeDob {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 12px auto;
    font-family: Arial,Tahoma,Verdana;
}

.xyAskAgeDobField {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1em;
}

.xyAskAgeDobField span {
    margin-bottom: 4px;
}

.xyAskAgeDobField input {
    width: 5em;
    padding: 6px 8px;
    font-size: 1.2em;
    text-align: center;
    border: 1px solid #999;
    border-radius: 4px;
}

.xyAskAgeDobField input[name="m0054_year"] {
    width: 7em;
}

.xyAskAgeHint {
    text-align: center;
    color: #ba4b16;
    font-family: Arial,Tahoma,Verdana;
    margin-top: 8px;
}

/* --- Schaltflaechen ------------------------------------------------------ */

.xyAskAgeAnswers-single {
    width: auto;
    float: none;
}

.xyAskAgeAnswers-single .xyAskAgeButton {
    float: none;
}

.xyAskAgeImageButton {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

/* Nur greifen, wenn das Theme keine eigene Schaltflaechenklasse mitbringt -
   deshalb bewusst sparsam und ohne Farben. */
.xyAskAgeButton {
    display: inline-block;
    padding: 10px 26px;
    font-size: 1em;
    cursor: pointer;
    text-decoration: none;
}

/* --- Sperrseite ---------------------------------------------------------- */

body.xyGatePage {
    margin: 0;
    padding: 0;
    background: #2f2f30;
    font-family: Arial,Tahoma,Verdana;
    color: #000;
}

body.xyGatePage .xyGateBox {
    max-width: 720px;
    margin: 10vh auto;
    padding: 40px 32px 44px;
    background: #fff;
    border-top: 10px solid red;
    border-bottom: 10px solid red;
    box-shadow: 0 10px 40px rgba(0,0,0,.45);
}

body.xyGatePage .xyAskAgeTitle,
body.xyGatePage .xyAskAgeQuestion,
body.xyGatePage .xyContentPage {
    font-size: 1.6em;
}

body.xyGatePage .xyAskAgeButton {
    min-width: 140px;
    padding: 14px 30px;
    font-size: 1.1em;
    border: 1px solid #444;
    border-radius: 4px;
    background: #f2f2f2;
    color: #000;
}

body.xyGatePage .xyAskAgeAnswer_yes .xyAskAgeButton {
    background: #2f2f30;
    border-color: #2f2f30;
    color: #fff;
}

body.xyGatePage .xyAskAgeAnswers {
    width: 420px;
    max-width: 100%;
    margin-top: 26px;
}
