/* Table of contents

  1. Variables
  1.1 Variables Media Queries
  2. Font
  3. Scrollbar
  4. General styling
  5. Links and Buttons
  6. Forms and form elements (input, textarea, select, etc.)
  6.1 Sign-up form
  6.2 Custom radio buttons and checkboxes
  6.3 Text inputs (input, textarea, select, etc.)
  6.4 Login/Logout Modal and Form
  7. Survey box & News box
  8. Konto & Profil

  10. Accordion
  11. Footer
  11.1 Scroll to top button
  12. Cookie Modal
  13. Image Slider
  13.1 Text inside Image Slider
  13.2 jSuccess CSS



*/

/* 1. Variables */
:root{
  --clr-primary: #ffcc00;
  --clr-secondary: #ffb800;
  --clr-accent: #33a3dc;
  --clr-accent-secondary: #287cb4;
  --clr-black: #191919;
  --clr-white: #ffffff;
  --clr-dark-grey: #404040;
  --clr-medium-grey: #666666;
  --clr-neutral-grey: #b2b2b2;
  --clr-light-grey: #cccccc;
  --clr-lighter-grey: #e5e5e5;
  --clr-red: #cc3333;
  --header-height: 72px;
  --nav-height: 40px;
  --max-width-super: 1440px;
  --spacer-horizontal-tiny: 0 4px;
  --spacer-horizontal-small: 0 8px;
  --spacer-horizontal-medium: 0 16px;
  --spacer-horizontal-large: 0 24px;
  --spacer-horizontal-xlarge: 0 32px;
  --spacer-horizontal-xxlarge: 0 40px;
  --spacer-horizontal-xxxlarge: 0 48px;
  --spacer-vertical-tiny: 4px 0;
  --spacer-vertical-small: 8px 0;
  --spacer-vertical-medium: 16px 0;
  --spacer-vertical-large: 24px 0;
  --spacer-vertical-xlarge: 32px 0;
  --spacer-vertical-xxlarge: 40px 0;
  --spacer-vertical-xxxlarge: 48px 0;
  --spacer-tiny: 4px;
  --spacer-small: 8px;
  --spacer-medium: 16px;
  --spacer-large: 24px;
  --spacer-xlarge: 32px;
  --spacer-xxlarge: 40px;
  --spacer-xxxlarge: 48px;
  --transition-duration-medium: 250ms;
}

/* 1.1 Variables Media Queries */
@media only screen and (max-width: 768px) {
  :root{
    --spacer-horizontal-tiny: 0 2px;
    --spacer-horizontal-small: 0 4px;
    --spacer-horizontal-medium: 0 8px;
    --spacer-horizontal-large: 0 12px;
    --spacer-horizontal-xlarge: 0 16px;
    --spacer-horizontal-xxlarge: 0 20px;
    --spacer-horizontal-xxxlarge: 0 24px;
    --spacer-tiny: 2px;
    --spacer-small: 4px;
    --spacer-medium: 8px;
    --spacer-large: 12px;
    --spacer-xlarge: 16px;
    --spacer-xxlarge: 20px;
    --spacer-xxxlarge: 24px;
    --transition-duration-medium: 250ms;
  }
}

/* 2. Font */
@font-face {
  font-family: "MiloADACMobW04";
  src: url("MiloADACMobW04-Bold.woff2") format("woff2"),
       url("MiloADACMobW04-Bold.woff") format("woff"),
       url("MiloADACMobW04-Bold.eot") format("eot");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "MiloADACMobW04";
  src: url("MiloADACMobW04-BoldItalic.woff2") format("woff2"),
       url("MiloADACMobW04-BoldItalic.woff") format("woff"),
       url("MiloADACMobW04-BoldItalic.eot") format("eot");
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: "MiloADACMobW04";
  src: url("MiloADACMobW04-Italic.woff2") format("woff2"),
       url("MiloADACMobW04-Italic.woff") format("woff"),
       url("MiloADACMobW04-Italic.eot") format("eot");
  font-weight: 400;
  font-style: italic;
}
/* For Headlines */
@font-face {
  font-family: "MiloADACMobW04";
  src: url("MiloADACMobW04-Regular.woff2") format("woff2"),
       url("MiloADACMobW04-Regular.woff") format("woff"),
       url("MiloADACMobW04-Regular.eot") format("eot");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "MiloSlabADACMobW04";
  src: url("MiloSlabADACMobW04-Bold.woff2") format("woff2"),
       url("MiloSlabADACMobW04-Bold.woff") format("woff"),
       url("MiloSlabADACMobW04-Bold.eot") format("eot");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "MiloSlabADACMobW04";
  src: url("MiloSlabADACMobW04-BoldIt.woff2") format("woff2"),
       url("MiloSlabADACMobW04-BoldIt.woff") format("woff"),
       url("MiloSlabADACMobW04-BoldIt.eot") format("eot");
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: "MiloSlabADACMobW04";
  src: url("MiloSlabADACMobW04-Italic.woff2") format("woff2"),
       url("MiloSlabADACMobW04-Italic.woff") format("woff"),
       url("MiloSlabADACMobW04-Italic.eot") format("eot");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "MiloSlabADACMobW04";
  src: url("MiloSlabADACMobW04-Regular.woff2") format("woff2"),
       url("MiloSlabADACMobW04-Regular.woff") format("woff"),
       url("MiloSlabADACMobW04-Regular.eot") format("eot");
  font-weight: 400;
  font-style: normal;
}


/* 3. Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: var(--clr-light-grey);
}
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #FFF;
  background-color: #fff;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--clr-neutral-grey);
}

/* 4. General styling */
html,body{
  font-family:"MiloADACMobW04",Verdana,sans-serif;
  font-size:15px;
  line-height:1.5;
  color: #191919;
  color: var(--clr-black);
  font-variant-numeric: lining-nums;
  -moz-font-feature-settings: "lnum";
  -webkit-font-feature-settings: "lnum";
  font-feature-settings: "lnum";
  scroll-behavior: smooth;
}

h1,h2,h3,h4,h5,h6 {
  font-family:"MiloSlabADACMobW04",Verdana,sans-serif;
}

.adac-yellow, .adac-hover-yellow:hover {
  color: #191919 !important;
  color: var(--clr-black) !important;
  background-color: #ffcc00 !important;
  background-color: var(--clr-primary) !important;
}

.adac-black, .adac-hover-black:hover {
  color: white !important;
  background-color: #191919 !important;
  background-color: var(--clr-black) !important;
}

.adac-dark-grey, .adac-hover-dark-grey:hover {
  color: white !important;
  background-color: #404040 !important;
  background-color: var(--clr-dark-grey) !important;
}

.adac-text-yellow,.adac-hover-text-yellow:hover{
  color: #ffcc00 !important;
  color: var(--clr-primary) !important;
}

.adac-text-black,.adac-hover-text-black:hover{
  color: #191919 !important;
  color: var(--clr-black) !important;
}

.padding-horizontal-medium{
  padding: 0 16px;
  padding: var(--spacer-horizontal-medium);
}

.caption{
  display: none;
}

label{
  display: block;
}

/* 5. Links and Buttons */

a{
  color: #287cb4;
  color: var(--clr-accent-secondary);
  text-decoration: none;
}

.rog-button,
input[type="submit"],
input[type="button"],
button:not(.adac-nav-burger--button),
.survey_link,
.bestellen_link_box a,
.bonus_link_box a{
  /* General */
  border: none;
  display: inline-block;
  vertical-align: middle;
  overflow: hidden;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* ADAC */
  background-color: #ffcc00;
  background-color: var(--clr-primary);
  background-image: url(../images/klammer.png);
  background-repeat: no-repeat;
  background-size: 8px 13px;
  background-position: 12px 50%;
  border-radius: 4px;
  border: 2px solid transparent;
  color: #191919;
  color: var(--clr-black);
  padding: 8px 12px 8px 32px !important;
}

.rog-button:hover, .rog-button:focus,
input[type="submit"]:hover, input[type="submit"]:focus,
input[type="button"]:hover, input[type="button"]:focus,
button:not(.adac-nav-burger--button):hover, button:not(.adac-nav-burger--button):focus,
.survey_link:hover, .survey_link:focus,
.bestellen_link_box a:hover, .bestellen_link_box a:focus,
.bonus_link_box a:hover, .bonus_link_box a:focus{
  background-color: #ffcc00 !important;
  background-color: var(--clr-primary) !important;
  border-color: #191919;
  border-color: var(--clr-black);
}

.rog-button:active,
input[type="submit"]:active,
input[type="button"]:active,
button:active,
.survey_link:active,
.bestellen_link_box a:active,
.bonus_link_box a:active{
  background-color: #ffb800 !important;
  background-color: var(--clr-secondary) !important;
}

/* 6. Forms and form elements (input, textarea, select, etc.) */

form{
  background-color: #e5e5e5;
  background-color: var(--clr-lighter-grey);
  padding: 16px;
  padding: var(--spacer-medium);
  margin-bottom: 16px;
  margin-bottom: var(--spacer-medium);
}

/* 6.1 Sign-up form */
.selbsteregistierte{
  width: 100%;
}

.selbstregistrierten_field{
  padding: 8px 0;
  padding: var(--spacer-vertical-small);
}

.selbstregistrierten_field:first-child{
  padding-top: 0;
}

.selbstregistrierten_field:last-child{
  padding-bottom: 0;
}

#website {
  display: inline;
  height: 1px;
  width: 1px;
  opacity: 0;
  pointer-events: none;
}

label.selbstregistrierung{
  display: block;
}

/* 6.2 Custom radio buttons and checkboxes */
.rog-selection-container {
  display: inline-block;
  position: relative;
  padding-left: 24px;
  margin-bottom: 0px;
  margin-right: 24px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* -- Hide the browser's default radio button */
.rog-selection-container input {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

/* -- Create a custom radio button */
.rog-selection.rog-radiobutton {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: white;
  border: 1px solid #666666;
  border: 1px solid var(--clr-medium-grey);
  border-radius: 50%;
}

/* -- Create a custom checkbox */
.rog-selection.rog-checkbox {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: white;
  border: 1px solid #b2b2b2;
  border: 1px solid var(--clr-neutral-grey);
}

/* -- On mouse-over, add a grey background color */
.rog-selection-container:hover input ~ .rog-selection {
  border: 1px solid #ffb800;
  border: 1px solid var(--clr-secondary);
}

/* -- When the radio button is checked, add a blue background */
.rog-selection-container input:checked ~ .rog-selection {
  border: 1px solid #ffb800;
  border: 1px solid var(--clr-secondary);
}

/* -- Create the indicator (the dot/circle - hidden when not checked) */
.rog-selection:after {
  content: "";
  position: absolute;
  display: none;
}

/* -- Show the indicator (dot/circle) when checked */
.rog-selection-container input:checked ~ .rog-selection:after {
  display: block;
}

/* -- Style the radio button indicator (dot/circle) */
.rog-selection-container .rog-selection.rog-radiobutton:after {
  top: 4px;
  left: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ffb800;
  background-color: var(--clr-secondary);
}

/* -- Style the checkbox indicator */
.rog-selection-container .rog-selection.rog-checkbox:after {
  left: 4px;
  top: 4px;
  width: 10px;
  height: 10px;
  background-color: #ffb800;
  background-color: var(--clr-secondary);
}

/* 6.3 Text inputs (input, textarea, select, etc.) */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
select,
textarea{
  background-color: white;
  border: 2px solid transparent;
  border-bottom: 2px solid #b2b2b2;
  border-bottom: 2px solid var(--clr-neutral-grey);
  padding: 8px;
  padding: var(--spacer-small);
  width: 100%;
  max-width: 480px;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus{
  border-bottom: 2px solid #ffb800;
  border-bottom: 2px solid var(--clr-secondary);
  outline: 0;
}

/* 6.4 Login/Logout Modal and Form */

.rog-modal-content--header{
  --rog-modal-content--header-height: 32px;
  height: 40px;
  height: var(--rog-modal-content--header-height);
}

.rog-button.rog-display-topright{
  background-image: none;
  display: flex;
  padding: 0 !important;
  width: 40px;
  height: 40px;
  width: var(--rog-modal-content--header-height);
  height: var(--rog-modal-content--header-height);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  align-items: center;
  justify-content: center;
}

.rog-modal-form--container > *{
  padding: 8px 0;
  padding: var(--spacer-vertical-small);
}

.rog-modal-form--container > div:first-of-type{
  padding-top: 0;
}

.rog-modal-form--container > div:last-of-type{
  padding-bottom: 0;
}

/* 7. Survey box & News box*/

#surveys_outer{
  background-color: #e5e5e5;
  background-color: var(--clr-lighter-grey);
  padding: 16px;
  padding: var(--spacer-medium);
  margin-bottom: 16px;
  margin-bottom: var(--spacer-medium);
}

#news_outer{
  background-color: #ffffff;
  background-color: var(--clr-white);
  padding: 16px 0;
  padding: var(--spacer-medium) 0;
  margin-bottom: 16px;
  margin-bottom: var(--spacer-medium);
}

.surveys_header,
#news_label{
  background-color: #33a3dc;
  background-color: var(--clr-accent);
  color: white;
  padding: 0 8px;
  padding: var(--spacer-horizontal-small);
  display: inline-block;
  margin: 0;
  margin-bottom: 16px;
  margin-bottom: var(--spacer-medium);
}

.survey-box{
  padding: 8px 0;
  padding: var(--spacer-vertical-small);
}

.survey-box:first-child{
  padding-top: 0;
}

.survey-box:last-child{
  padding-bottom: 0;
}

#start_news > p{
  margin: 0;
}

#start_news > p.newsparagraph:not(:first-child){
  border-top: 2px dotted var(--clr-secondary);
  padding-top: var(--spacer-tiny);
  margin-top: var(--spacer-xxxlarge);
}

.survey_header,
.newsparagraph{
  font-weight: bold;
}

.newsparagraph + p{
  padding-bottom: 16px;
  padding-bottom: var(--spacer-medium);
}

#start_news > p:nth-last-child(2){
  padding-bottom: 0;
}

#start_news img {
  max-width: 100% !important;
  height: auto !important;
}

/* 8. Konto & Profil */

/* 8.1 Konto */
.konto_part_1 > div,
.konto_part_2 > div{
  padding: 8px 0;
  padding: var(--spacer-vertical-small);
}

.konto_part_1 > div:first-child,
.konto_part_1 > div.vornamebox{
  padding-top: 0;
}

.konto_part_2 > div:last-child{
  padding-bottom: 0;
}

.genderbox,
.birthdatebox,
.languagebox,
.strassebox,
.hausnummerbox,
.plzbox,
.stadtbox{
  display: none;
}

/* 8.2 Profil */

.propertyueber > .propouterdiv{
  margin-bottom: 32px;
  margin-bottom: var(--spacer-xlarge);
}

.propertyueber > .propouterdiv:nth-last-child(2){
  margin-bottom: 16px;
  margin-bottom: var(--spacer-medium);
}

.plusminus{
  display: none;
}

.propertyfieldset{
  border: none;
  margin: 0;
  padding: 0;
}

.propertyfieldsetlegend{
  background-color: #33a3dc;
  background-color: var(--clr-accent);
  color: white;
  padding: 0 8px;
  padding: var(--spacer-horizontal-small);
  display: inline-block;
  margin-bottom: 4px;
  margin-bottom: var(--spacer-tiny);
}

.prop_div > div:nth-child(odd){
  padding-top: 8px;
  padding-top: var(--spacer-small);
}

.prop_div > div:nth-child(even){
  padding-bottom: 8px;
  padding-bottom: var(--spacer-small);
}

.prop_div > div:first-child{
  padding-top: 0;
}

.prop_div > div:last-child{
  padding-bottom: 0;
}







/* 10. Accordion */
.rog-accordion {
  border: 1px solid #b2b2b2;
  border: 1px solid var(--clr-neutral-grey);
  cursor: pointer;
  padding: 16px;
  padding: var(--spacer-medium);
  position: relative;
  margin-bottom: 16px;
  margin-bottom: var(--spacer-medium);
  overflow: hidden;
  border-radius: 4px;
}

.rog-accordion:hover {
  background-color: #e5e5e5;
  background-color: var(--clr-lighter-grey);
}

.rog-accordion > .rog-accordion--headline-row{
  position: relative;
  padding-right: 32px;
}

.rog-accordion > .rog-accordion--headline-row > svg.chevron-pointing-up,
.rog-accordion > .rog-accordion--headline-row > svg.chevron-pointing-down{
  fill: #287cb4;
  fill: var(--clr-accent-secondary);
  height: 16px;
  position: absolute;
  right: 8px;
  top: 50%;
  top: calc(50% - 8px);
  width: 16px;
}

.rog-accordion > .rog-accordion--headline-row > svg.chevron-pointing-up{
  display: none;
}

.rog-accordion > .rog-accordion--headline-row > svg.chevron-pointing-down{
  display: block;
}

.rog-accordion.active > .rog-accordion--headline-row > svg.chevron-pointing-down{
  display: none;
}

.rog-accordion.active > .rog-accordion--headline-row > svg.chevron-pointing-up{
  display: block;
}


.rog-accordion > .rog-accordion--text{
  border-left: 2px solid #ffb800;
  border-left: 2px solid var(--clr-secondary);
  padding: 0 16px;
  padding: var(--spacer-horizontal-medium);
  height: 0;
  overflow: hidden;
}

.rog-accordion.active > .rog-accordion--text{
  height: auto;
  margin-top: 8px;
  margin-top: var(--spacer-small);
}

/* 11. Footer */

.adac-footer{
  --scroll-to-top-dimensions: 48px;
  text-align:center;
  border-top: 0px solid var(--clr-accent);
  position: relative;
  padding: 24px 48px;
  padding: calc(var(--scroll-to-top-dimensions)/2) var(--scroll-to-top-dimensions);
}

.adac-footer > .adac-footer-nav{
  margin: 0px auto;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.adac-footer-nav > *{
  flex: 1;
  padding: 4px 8px 8px;
  border-radius: 4px;
}

.adac-footer-link{
  font-weight: bold;
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
}

.adac-footer-link:hover{
  background-color: #404040;
  background-color: var(--clr-dark-grey);
}

.adac-footer-link > span{
  position: relative;
}

.adac-footer-link > span:after{
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 1px;
  width: 100%;
  background-color: white;
  transform: scaleX(0);
  transition: transform var(--transition-duration-medium) ease;
}

.adac-footer-link:hover > span:after,
.adac-footer-link:focus > span:after,
.adac-footer-link.selected > span:after{
  transform: scaleX(1);
}

/* 11.1 Scroll to top button */

.scroll-to-top {
  text-align: center;
  font-size: 10px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  height: 48px;
  width: 48px;
  height: var(--scroll-to-top-dimensions);
  width: var(--scroll-to-top-dimensions);
  max-width: none;
  transition: width var(--transition-duration-medium) ease, padding-right var(--transition-duration-medium) ease;
}

.scroll-to-top > div:first-child > div{
  font-size: 15px;
  transform: rotate(-90deg);
}

.scroll-to-top > div:nth-of-type(3){
  margin-top: -4px;
}

.scroll-to-top:hover{
  padding-right: 20px;
  width: 70px;
}

/* 12. Cookie Modal */

#cookie-wrapper{
  display:none;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999999;
  background-color: rgba(147,149,151,.7);
  overflow: hidden;
}
#cookie-content{
  display: block;
  position: relative;
  top: 130px;
  padding: 16px;
  margin: auto;
  background-color: rgba(255, 255, 255, 1);
  width: 100%;
  max-width: 500px;
  box-shadow: 0 4px 10px 0 rgb(0 0 0 / 20%), 0 4px 20px 0 rgb(0 0 0 / 19%);
}

/* 13. Image Slider */

.full-width-media__container {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-bottom: 0%;
}

/* 13.1 Text inside Image Slider */

.full-width-media__caption {
    position: absolute;
    top: 98%;
    left: 15.5%;
    transform: translate(-15.5%,-98%);
}

/***********************/
/** 13.2 jSuccess CSS **/
/***********************/
#jSuccess {
  max-width: 730px;
}