:root {
  --a-missing-color: #ecbd34;
  --a-missing-bg-color: rgb(251, 218, 117);
}

button,input,optgroup,select,textarea {
  font-family:inherit;
  font-size:100%;
  line-height:1.15;
  margin:0
} 
textarea {
  height: auto;
  min-height: 50px;
}
select {
  box-sizing: border-box;
  width: 100%;
}
select {
  height: 2.4375rem;
  margin: 0 0 1rem;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;        
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #cacaca;
  border-radius: 0;
  background-color: #fefefe;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #0a0a0a;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='32' height='24' viewBox='0 0 32 24'><polygon points='0,0 32,0 16,24' style='fill: rgb%28138, 138, 138%29'></polygon></svg>");
  background-origin: content-box;
  background-position: left -1rem center;
  background-repeat: no-repeat;
  background-size: 9px 6px;  
  -webkit-transition: border-color .25s ease-in-out,-webkit-box-shadow .5s;
  transition: border-color .25s ease-in-out,-webkit-box-shadow .5s;
  transition: box-shadow .5s,border-color .25s ease-in-out;
  transition: box-shadow .5s,border-color .25s ease-in-out,-webkit-box-shadow .5s;
}
select * {
  font-family: "EuclidCircularB", "Arial", Sans-Serif !important; /*will not take EuclidCircularB for some reason */
}

#res_form, #res_form p, #res_form label {
  font-size: 13px;
  color: #353535;
  font-weight: normal;
  margin-bottom: 1em;
}

#progress {
overflow: hidden; border: 1px solid lightgrey;  
  padding: 0;
  list-style-type: none;
  font-size: 16px;
  clear: both;
  line-height: 64px; 
  text-align: center;    
  background: white;
  cursor:  default; 
}
#progress li {
  float: left;    
  background: white; 
  color: #353535;
  position: relative;    
  width: 25%;
}
#progress.long li {
  float: left;    
  background: white; 
  color: #353535;
  position: relative;    
  width: 20%;
}
#progress li:before {
  content: '';
  border-left: 32px solid #353535;
  border-top: 32px solid transparent;
  border-bottom: 32px solid transparent;
  position: absolute;
  top: 0;
  left: 0;    
}
#progress li:first-child:before {
  content: '';
  border-left: 0px solid #fff;
  border-top: 0px solid transparent;
  border-bottom: 0px solid transparent;
  position: absolute;
  top: 0;
  left: 0;    
}
#progress li:after {
  content: ''; 
  border-left: 32px solid white;
  border-top: 32px solid transparent;
  border-bottom: 32px solid transparent;
  position: absolute;
  top: 0;
  left: 100%;
  z-index: 2;
}
#progress li:last-child:after {
  content: '';
  border-left: 0px solid #fff;
  border-top: 0px solid transparent;
  border-bottom: 0px solid transparent;
  position: absolute;
  top: 0;
  left: 100%;
  z-index: 2;
}
#progress li.active {
  background: #e01918;
  color: white;    
}
#progress li svg{
  fill: #353535 !important;
  vertical-align: middle;
  width: 20px;   
  margin-top: -2px;  
}
#progress li.active svg{
  fill: white !important;  
}
#progress li.active:after {
  border-left-color: #e01918;
}
.titlebar{ 
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 20px;
  margin-bottom: 20px;
  background: #e01918;
} 
#progress span{
  display: inline !important;
}  

@media only screen and (min-width: 40em) and (max-width: 45em){
  #progress li svg{
    margin-left: 20px;
  }
}
@media only screen and (min-width: 40em){
  .notice_type_close, .notice, .notice_elite{
     border: 3px solid #353535; width:50%; min-height:300px; margin:0 auto; background:#e01918; color: white;  position:fixed; left:50%; top:50%; margin-left:-25%; margin-top:-250px; z-index: 999;
  }

}
@media only screen and (min-width: 60em){
  #progress li {
      padding: 0; 
  }
}
@media only screen and (max-width: 60em){
  #progress span{
    display: none !important;
  }
  #progress {
    line-height: 28px;
     margin-bottom: 30px;
  }

  #progress li:before {
     border-left: 14px solid #353535;
     border-top: 14px solid transparent;
     border-bottom: 14px solid transparent; 
  }
  #progress li:after {
     border-left: 14px solid white;
     border-top: 14px solid transparent;
     border-bottom: 14px solid transparent;    
  }
  .guide_number.one{ margin-left: 10px; }
  .guide_number.two { margin-left: 20px; }
  .guide_number.three { margin-left: 20px; }
  .guide_number.four { margin-left: 20px; }
  .guide_number.five { margin-left: 20px; }

}

#box{
    display: inline-block;
    margin-bottom: 10px;
}
#box svg{
    color: white;
    fill: white;
}
#bild {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1 !important;
}
#box label{
    cursor: pointer;
    color: #fff;
    background-color: #e62a32;
}

.grid_rechnungsinfo{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 0.2vw 2vw; 
}
.grid_languages{
  display: grid;
  grid-template-columns: 5fr 5fr 2fr;
  grid-gap: 0.2vw 2vw; 
}


[type="color"], [type="date"], [type="datetime-local"], [type="datetime"], [type="email"], [type="month"], [type="number"], [type="password"], [type="search"], [type="tel"], [type="text"], [type="time"], [type="url"], [type="week"], textarea {
  display: block;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  height: 2.4375rem;
  margin: 0 0 1rem;
  padding: .5rem;
  border: 1px solid #cacaca;
  border-radius: 0;
  background-color: #fefefe;
  -webkit-box-shadow: inset 0 1px 2px rgba(10,10,10,.1);
  box-shadow: inset 0 1px 2px rgba(10,10,10,.1);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #0a0a0a;
  -webkit-transition: border-color .25s ease-in-out,-webkit-box-shadow .5s;
  transition: border-color .25s ease-in-out,-webkit-box-shadow .5s;
  transition: box-shadow .5s,border-color .25s ease-in-out;
  transition: box-shadow .5s,border-color .25s ease-in-out,-webkit-box-shadow .5s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
[type="color"]:focus, [type="date"]:focus, [type="datetime-local"]:focus, [type="datetime"]:focus, [type="email"]:focus, [type="month"]:focus, [type="number"]:focus, [type="password"]:focus, [type="search"]:focus, [type="tel"]:focus, [type="text"]:focus, [type="time"]:focus, [type="url"]:focus, [type="week"]:focus, textarea:focus {
  outline: 0;
  border: 1px solid #8a8a8a;
  background-color: #fefefe;
  -webkit-box-shadow: 0 0 5px #cacaca;
  box-shadow: 0 0 5px #cacaca;
  -webkit-transition: border-color .25s ease-in-out,-webkit-box-shadow .5s;
  transition: border-color .25s ease-in-out,-webkit-box-shadow .5s;
  transition: box-shadow .5s,border-color .25s ease-in-out;
  transition: box-shadow .5s,border-color .25s ease-in-out,-webkit-box-shadow .5s;
}

.grid_buttons{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: var(--a-gap-normal); 
}
.grid_buttons > :nth-child(1) {
  text-align: left;
}

.grid_buttons > :nth-child(2) {
  text-align: right;
}

a.forward,a.forward:focus,a.forward:hover {
  background-image: url("/application/themes/bicycle2020/images/icons/icon-circle-right_white.svg");
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: right 20% center;
  padding: 12px calc( 20% + 40px) 12px 20% !important;
  min-width: 200px;
  background-color: #e01918;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  color: white;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  font-style: normal;
  margin-top: 50px;
  text-decoration: none;
}
a.forward.locked{
  background: #ddd;
  cursor: default;  
}
a.backward,a.backward:focus,a.backward:hover {
  background: #353535 url("/application/themes/bicycle2020/images/icons/icon-circle-left_white.svg") right 70px center/20px no-repeat;
   padding: 12px calc( 20% + 40px) 12px 20% !important;
   min-width: 200px;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  color: white;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  font-style: normal;
  margin-top: 50px;
  text-decoration: none;  
}

#res_form .field_error{
  background-color: var(--a-missing-bg-color);
}
#res_form .field_error_box{
  background-color: var(--a-missing-bg-color);
  padding: 10px;
  margin-bottom: 15px;
}
#res_form .error_report{
  margin-top: -15px;
  font-size: 11px; 
  color: var(--a-missing-color);
  text-align: center;
  position: relative;  /* Allows positioning of the pseudo-element relative to this element */
}
#res_form .error_report::before {
  content: "⚠ ";  /* UTF-8 warning triangle */
  font-size:  14px;
  /* Optional: You can adjust the position, size, color etc. of the triangle here if needed */
}
.information{
  padding: 10px; border: 1px solid #ccc; margin-bottom: 20px;
}

.leistungen_block{
  margin-bottom: 20px; 
  background: rgb(238, 238, 238); 
  color: #353535; 
  padding: clamp(10px, calc(6px + 1vw), 20px); 
  position: relative;
}


ul#sortable{
    padding:  0;
}
#sortable li, #sortable2 li{
    background: #e7e7e7;
    padding: 10px;
    margin-bottom: 2px;
    border: 1px solid #c7c7c7;
    cursor: grab;
    content:  "";
}

/********* BEGIN calendar styling *********************/
.rd-container {
  display: none;
  padding: 0px;
  text-align: center;
  border: 0;
  background: transparent; 
}
.rd-container:before {
  content: '';
  /*font-family: FontAwesome;  */
  position: absolute;
  color: #e2001a; 
  font-size: 40px;
  text-align: center;
  margin: 0 auto;
  left: calc(50% - 10px);
  top: 4px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #e2001a;
}
.rd-date{
  border: 1px solid #ccc;
  background-color: #fff;
  margin-top: 13px;
  padding-bottom: 15px;
}
.rd-container-attachment {
  position: absolute;
}
.rd-month {
  display: inline-block;
  margin-right: 25px;  
}
.rd-month:last-child {
  margin-right: 0;
}
.rd-days{
  width: 100%;
  background: white;
  padding-bottom: 10px;
  padding-top: 10px;
}
.rd-days-head{
  padding-top: 10px;
}
.rd-back,
.rd-next {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  padding: 10px 10px;
  margin: 0;
  color: #fff;
}
.rd-back[disabled],
.rd-next[disabled] {
  cursor: default;
}
.rd-back {
  float: left;
}
.rd-next {
  float: right;
}
.rd-back:before {
  display: block;
  content: '';
  /*font-family: FontAwesome;*/
  width: 0; 
  height: 0; 
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right:8px solid white;
}
.rd-next:before {
  display: block;
  content: '';
  /*font-family: FontAwesome;*/
  width: 0; 
  height: 0; 
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;  
  border-left: 8px solid white;
}

@media only screen and (min-width: 40em) {
  .rd-day-body {
    cursor: pointer;
    text-align: center;
    line-height: 1;
    padding: 10px;
    text-decoration: none;
  }
  .rd-month-label{
    background-color: #e2001a;
    /*height: 20px;*/
    padding: 10px 50px;
   /* position: relative; */
    text-align: center;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
  }
}
@media only screen and (max-width: 40em) {
  .rd-day-body {
    cursor: pointer;
    text-align: center;
    line-height: 1;
    padding: 10px 3px;
    text-decoration: none;
  }
  .rd-month-label{
    background-color: #e2001a;
    height: 35px;
    padding: 10px 50px;
    text-align: center;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
  }
  .rd-container.small .rd-month-label{
    font-size: 10px !important; 
  }
  .hide-for-small-only{
    display: none;
  }
  .grid_box_hotels{
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 5px;
    text-align: center;
  }
}
.rd-day-body:not(.rd-day-disabled):hover {
  color: #fff;
  background: #e2001a;
}
.rd-day-selected,
.rd-time-selected,
.rd-time-option:hover {
  cursor: pointer;
  background-color: #333;
  color: #fff;
}
.rd-day-prev-month,
.rd-day-next-month {
  color: #999;
}
.rd-day-disabled {
  cursor: default;
  color: #ffe9e9;
}
.rd-time {
  position: relative;
  display: inline-block;
  margin-top: 5px;
  min-width: 80px;
}
.rd-time-list {
  display: none;
  position: absolute;
  overflow-y: scroll;
  max-height: 160px;
  left: 0;
  right: 0;
  background-color: #fff;
  color: #333;
}
.rd-time-selected, .rd-time-option {
  padding: 5px;
}
.rd-day-concealed {
  visibility: hidden;
}
/********* END calendar styling *********************/

.ccm-page ul#sortable, .ccm-page ul#sortable2{
    padding: 0;
}
.ccm-page ul#sortable li::before, .ccm-page ul#sortable2 li::before{
    content: "";
}