html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
}

body {
    position: fixed;
    inset: 0;
}

.myFrames{  top: 0px;  left: 0px;  width: 100%;  height: 100%;   visibility: hidden;  display: none;  }
    
#landscape{  position: absolute; top: 0px; left: 0px; background: #DA291C;  width: 100%; height: 100%; display: none; align-items: center; justify-content: center;  z-index: 20000;  opacity: 1;  margin:0 auto;  }

#landscape div{ color: #0E2532; opacity: 1; top: 50%; position: absolute; text-align: center; display: inline-block; width: 100%; }

.notSelectable { user-select: none; -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -o-user-select: none; -webkit-tap-highlight-color: transparent }

.InnerText  {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    text-align: center;
    cursor: pointer;
}

/*.QuizInnerText {*/
/*    display: block;*/
/*    text-align: center;*/
/*    font-size: 30px;*/
/*    font-family: 'myFontDemiBold';*/
/*    color: black;*/
/*    margin-top: 10px;*/
/*}*/

.question-text {
    font-size: 50px;
    font-family: 'myFontBold';
    color: #BF0D3E;
    margin-top: 10px;
}

.input-wrapper {
    position: relative;
    width: 616px;
    height: 70px;
}

.input-wrapper img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.input-wrapper input {
    position: absolute;
    top: 0;
    left: 0;
    /*width: 100%;*/
    /*height: 100%;*/
    
    border-color: #BF0D3E;
    background-color: transparent;
    color: black;
    z-index: 2; 
    font-size: 35px; 
    font-family: 'myFontDemiBold';
}

.InputText {
    position: absolute;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 35px;
    padding: 0 15px;
    background-color: transparent;
    z-index: 1;
    padding-left: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.InputField {
    position: absolute; 
    width: 100%; 
    height: 100%;
    overflow: hidden
}


.required-asterisk {
    color: #DA291C; /* Red color for required field asterisks */
}

input[type="checkbox"][name="tos"] {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    background-color: white;
    border: 2px solid black;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
}

input[type="checkbox"][name="tos"]:checked {
    background-color: white;
}

input[type="checkbox"][name="tos"]:checked::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 3px;
    width: 7px;
    height: 14px;
    border: solid black;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.mainBgColor { background-color: white; }

@font-face {
    font-family: 'myFontBold';
    src: url('../fonts/HouschkaHead-Bold.otf') format('truetype');
}

@font-face {
    font-family: 'myFontMedium';
    src: url('../fonts/HouschkaHead-Medium.otf') format('truetype');
}

@font-face {
    font-family: 'myFontDemiBold';
    src: url('../fonts/HouschkaHead-DemiBold.otf') format('truetype');
}

.div-bold {
    font-family: 'myFontBold';
}

.div-medium {
    font-family: 'myFontMedium';
}

.div-demibold {
    font-family: 'myFontDemiBold';
}

.beruf-slide {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2em;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: grey;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: black;
}

.clipped-rect {
    position: absolute;
    width: 785.39px;
    height: 1589.25px;
    background-color: white;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    opacity: 1;
    rotate: 180deg;
}

.gradient-box {
    width: 500px; 
    height: 400px; 
    background: linear-gradient(180deg, rgba(230, 240, 245, 1) 0%, rgba(210, 225, 235, 0.9) 35%, rgba(190, 210, 220, 0.8) 100%);
    border: 1px solid rgba(0, 0, 0, 0.1); 
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); 
}

/*DROPDOWN DROPDOWN DROPDOWN*/

.dropdown {
    position: absolute;
    display: inline-block;
    width: 616px;
    top: 72.5%;
    /* Muss ueber den Eingabefeldern (z-index 2) liegen, da das geoeffnete
       Menue als Overlay ueber das Formular klappt. */
    z-index: 3;
}

.dropdown-toggle {
    background-color: #968C83;
    color: white;
    padding: 0px 34px 5px 45px;
    font-size: 35px;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'myFontDemiBold';
    width: 100%;
    height: 80px;
    border-radius: 80px;
}

.dropdown-toggle::after {
    content: "▼";
    float: right;
    margin-left: 10px;
}

.dropdown-menu {
    /* Nie display:none/block umschalten (verursacht auf iOS Safari einen
       Render-Bug -> weisser Bildschirm), stattdessen bleibt das Element immer
       im Render-Baum und wird nur per max-height/opacity ein-/ausgeblendet. */
    display: block;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    position: absolute;
    background-color: #968C83;
    width: 616px;
    font-size: 30px;
    color: white;
    /*padding: 50px 0;*/
    top: 98%;
    /*border-radius: 99px;*/
}

.dropdown-menu.open {
    /* Klappt nach unten auf und zeigt alle 26 Kantone ohne internes
       Scrollen. Die Liste ragt dabei ueber den 1328px-Canvas hinaus;
       die Slide (#sl3) ist deshalb bei offenem Dropdown vertikal
       scrollbar (siehe ctrMain.js). Der Verlaufs-Hintergrund haftet am
       Scrollcontainer und bleibt beim Scrollen stehen -> kein weisser Rand. */
    max-height: none;
    overflow: visible;
    opacity: 1;
    pointer-events: auto;
}

.dropdown-menu label {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    font-family: 'Courier New', Courier, monospace;
}

.dropdown-menu label:hover {
    background-color: #867D76;
}

.checkbox-svg {
    margin-right: 10px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.checkbox-svg rect:first-of-type {
    /* Äußere Seite Checkbox */
    fill: #968C83;
    stroke: white;
    stroke-width: 6;
}

.checkbox-svg rect:last-of-type {
    /* Innere Seite Checkbox */
    fill: none;
}

.checkbox-svg.checked path {
    display: block;
}

.checkbox-svg path {
    /* Häkchen */
    fill: white;
    stroke: none;
    display: none;
    transform: translate(45px, 35px) scale(.85);
}

.dropdown-menu::-webkit-scrollbar {
    width: 8px;
    display: none;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: #968C83;
    display: none;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: #c8bbae;

}




.dropdown2 {
    position: absolute;
    display: inline-block;
    width: 616px;
    top: 72.5%;
    /* Muss ueber den Eingabefeldern (z-index 2) liegen, da das geoeffnete
       Menue als Overlay ueber das Formular klappt. */
    z-index: 3;
}

.dropdown-toggle2 {
    background-color: #968C83;
    color: white;
    padding: 0px 34px 5px 45px;
    font-size: 35px;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'myFontDemiBold';
    width: 100%;
    height: 80px;
    border-radius: 80px;
}

.dropdown-toggle2::after {
    content: "▼";
    float: right;
    margin-left: 10px;
}

.dropdown-menu2 {
    /* Nie display:none/block umschalten (verursacht auf iOS Safari einen
       Render-Bug -> weisser Bildschirm), stattdessen bleibt das Element immer
       im Render-Baum und wird nur per max-height/opacity ein-/ausgeblendet. */
    display: block;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    position: absolute;
    background-color: #968C83;
    width: 616px;
    font-size: 30px;
    color: white;
    /*padding: 50px 0;*/
    top: 98%;
    /*border-radius: 99px;*/
}

.dropdown-menu2.open {
    /* Gleiches Verhalten wie beim ersten Registrierungsformular. */
    max-height: none;
    overflow: visible;
    opacity: 1;
    pointer-events: auto;
}

.dropdown-menu2 label {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    font-family: 'Courier New', Courier, monospace;
}

.dropdown-menu2 label:hover {
    background-color: #867D76;
}

.checkbox-svg2 {
    margin-right: 10px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.checkbox-svg2 rect:first-of-type {
    /* Äußere Seite Checkbox */
    fill: #968C83;
    stroke: white;
    stroke-width: 6;
}

.checkbox-svg2 rect:last-of-type {
    /* Innere Seite Checkbox */
    fill: none;
}

.checkbox-svg2.checked path {
    display: block;
}

.checkbox-svg2 path {
    /* Häkchen */
    fill: white;
    stroke: none;
    display: none;
    transform: translate(45px, 35px) scale(.85);
}

.dropdown-menu2::-webkit-scrollbar {
    width: 8px;
    display: none;
}

.dropdown-menu2::-webkit-scrollbar-thumb {
    background: #968C83;
    display: none;
}

.dropdown-menu2::-webkit-scrollbar-track {
    background: #c8bbae;

}



