/* TerminBuddy – Styles. Produktfarbe kommt aus --tb-brand / --tb-brand-soft (gesetzt in header.php). */

*{
  font-family: 'Titillium Web', sans-serif;
}
.datenschutz p {
  display: inline;
  margin-left: 1rem;
  font-size: .8rem;
  font-weight: 100;
}
td.weekend, .pastDate, .bookedDate, .holidayDate {
  opacity: .2;
}
td.currentDate {
  background-color: var(--tb-brand-soft) !important;
}
.holidayDate{
  background-color: #6f0000 !important;
  color: #fff;
}
thead{
  font-size: 1.4rem;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: center;
}
td:not(.weekend, .pastDate, .bookedDate, .holidayDate) {
  cursor:pointer;
}
td{
  height: 30px;
  width: 30px;
  transition: background-color .1s ease-in-out;
}
td:hover:not(td.weekend, .pastDate, .bookedDate, .holidayDate) {
  background-color: #0000002e !important;
}
div#main {
  width: 100%;
  display: flex;
}
div#month {
  width: 64%;
}
div#time {
  width: 36%;
  display: flex;
  height: 220px;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: center;
  overflow-y: scroll;
  padding: 1rem;
  border: 1px solid #f4f4f4;
}
#time div:not(#timeHead) {
  height: 30px;
  margin: 0.4rem;
  padding: 0.2rem;
  background-color: #f4f4f4;
  color: #000;
  transition: all .3s ease-in-out;
}
#time div:hover:not(#timeHead) {
  background-color: var(--tb-brand);
  color: #fff;
  font-weight: 800;
}
#time a:hover{
  text-decoration: none !important;
}
td.highlight {
  background-color: var(--tb-brand) !important;
  color: #fff;
  font-weight: bolder;
}

div#skip {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 1rem;
  width: 64%;
}

div#skip i {
  cursor: pointer;
  font-size: 1.5rem;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.buttonBack .btn.btn-primary {
  width: 85%;
}

div#prevMonth, div#nextMonth {
  padding: .5rem;
}

input[type=checkbox] {
  position: relative;
  cursor: pointer;
}
input[type=checkbox]:before {
  content: "";
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  top: 0;
  left: 0;
  border: 2px solid #555555;
  border-radius: 3px;
  background-color: white;
}
input[type=checkbox]:checked:after {
  content: "";
  display: block;
  width: 5px;
  height: 10px;
  border: solid black;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 2px;
  left: 6px;
}

input#app_datenschutz {
  margin-left: .5rem;
}

div#timeHead {
  flex-basis: 100%;
  text-align: center;
  border-bottom: 1px solid #f4f4f4;
  padding-bottom: 0.3rem;
  margin-bottom: 0.5rem;
}

h1{
  font-size: 1.8rem
}

.shw{
  color: var(--tb-brand);
  font-weight: 800;
}

.dateHeader{
  font-weight: bold;
  margin: 0.5rem 0;
  font-size: 1.4rem;
}
.btn.btn-primary {
  width: 135%;
  background-color: var(--tb-brand);
  color: #fff;
  font-size: .7rem;
  margin: 5px auto;
  border-radius: 50px;
  transition: .3s all ease-in-out;
}
.btn.btn-primary:not(.buttonLight):hover {
  transform: scale(1.04);
}
.btn.btn-primary.buttonLight {
  width: 135%;
  background-color: #f4f4f4;
  color: #333;
  font-size: .7rem;
  margin: 5px auto;
  opacity: .7;
}
.btn.btn-default {
  width: 100%;
  background-color: #fff;
  color: var(--tb-brand);
  font-size: 1.6rem;
}
.btn{
  outline: none !important;
  border: none !important;

}
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
  color: #fff;
  background-color: var(--tb-brand);
  border-color: none;
}
.btn.mbButton{
  height: 60px;
}
tbody td:nth-of-type(odd){
  background-color: #f4f4f4;
}
body{
  background-color: #f4f4f4;
  padding-top: 20px;
}
.col.step1, .col.step2, .col.step3{
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 4px #d5d5d5;
  padding: 1rem;
}
td.tableToday {
  border: 3px inset var(--tb-brand);
}
td.tableYesterday {
  opacity: .2;
}
label{
  width: 100%;
}
.text-italic{
  font-style: italic;
  font-size: .8rem;
}
.show{
  display: contents;
}
.hide{
  display: none;
}
p.headerPara {
  font-size: 1.3rem;
  font-weight: bold;
}
.extraPadding {
  padding: 0.5rem;
}
.bss{
  background-color: var(--tb-brand, #00314c);
  color: #fff;
  border-radius: 50px;
}
.form-control[type=button]{
  border-radius: 50px;
}
.dateHeader > span {
  font-size: 1rem;
  font-weight: normal;
}
.titleBox {
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.4rem;
}
.step3Icon{
  color: var(--tb-brand);
  margin-right: 10px;
}
.step3Data{
  font-size: 1.2rem;
}
.active > .topArrow {
  position: absolute;
  bottom: 0;
  left: 49%;
  color: var(--tb-brand);
}
.inactive > .topArrow, .done > .topArrow{
  display: none;
}
.legalDiv {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  border-top: 2px solid #f4f4f4;
  padding-top: 20px;
}
.imageLeft > a > img{
  max-width: 200px;
}
.textRight{
  text-align: right;
  font-size: .7rem;
  padding-top: 25px;
}
.congratulations {
  display: grid;
  grid-template-columns: .3fr 1fr;
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  margin: 50px auto;
}
i.fas.fa-calendar-check {
  font-size: 7rem;
  text-align: center;
  color: var(--tb-brand);
}
.datenschutz {
  margin: auto 20px;
  display: flex;
  align-items: flex-start;
}
.datenschutz > p{
  margin-left: .5rem;
}
.buttonBack {
  text-align: center;
  padding-bottom: 40px;
}
.ribbon-wrapper {
  width: 190px;
  height: 140px;
  overflow: hidden;
  position: absolute;
  top: 0px;
  right: 0;
}

.ribbon-orange {
  text-align: center;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  position: relative;
  padding: 7px 0;
  left: -34px;
  top: 24px;
  width: 350px;
  background-color: var(--tb-brand);
  color: #fff;
  z-index: 99;
}

/* Ausgleich für den Standards-Modus (<!DOCTYPE html>): hält das Layout identisch zum früheren Quirks-Modus */
form {
  margin-bottom: 1em;
}
.ribbon-orange span {
  display: block;
}
