@charset "UTF-8";

/* variables */

:root {
    --lightgrey: rgb(224,224,224);
    --anthrazit: rgb(32,32,32);
}

/* resets */
* {
    box-sizing: border-box;
}

/* structure */

body {
    background-color: #000!important;
    background: linear-gradient(180deg,#000 0,#2e2e2e 300px,#000 700px);
    background-repeat: repeat-x
}
div#container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto
}
body#admin div#container {
    width: 100%;
    max-width: unset;
    margin: 0 auto
}
header {
    background-color: rgb(96, 96, 96);
    text-align: center;
    position: relative
}
body#admin header {
    background-color: transparent;
}
header img {
    display: block;
    max-width: 1200px;
    width: 100%
}

/* image slider */
header .slideshow-container {
    aspect-ratio: 3/2;
    max-width: 1200 px;
    position: relative;
    width: 100%;
}
.mySlides {
    position: absolute;
    opacity: 0;
    top: 0;
    transition: all 0.5s;
}
.mySlides:first-child {
    opacity: 1;
}

/* Fading animation */
/*
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}
    */

/* --- */
header h1 {
    position: absolute;
    bottom: 0;
    color: white;
    left: 2rem;
    font-size: 4em;
    width: 9.5em;
    text-align: left;
}
body#admin header h1 {
    position: relative;
    bottom: 0;
    color: white;
    left: 2rem;
    font-size: 2em;
    width: 100%;
    text-align: left;
}
#teaser {
    position: absolute;
    top: 82%;
    right: 6%;
    width: 22%;
}
section#intro {
    background-color: var(--anthrazit);
    color: white;
    padding: 2.5em 0
}
section > *,
div#main > *,
footer > div {
    box-sizing: border-box;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-right: 24px;
    padding-left: 24px
}
body#admin div#main > * {
    box-sizing: border-box;
    width: 100%;
    max-width: unset;
    margin: 0 auto;
    padding-right: 24px;
    padding-left: 24px
}
a.button.btn {
    background-color: lightgrey;
    border-radius: 0.25em;
    color: black;
    display: inline-block;
    margin-bottom: 1em;
    padding: 0.25em 0.5em;
    text-decoration: none;
}
a.button.btn:hover {
    background-color: white;
}
body#admin div#container div#main div.content table {
    border-collapse: collapse;
}
body#admin div#container div#main div.content table tbody tr th {
    border-bottom: solid 1px white;
    padding-right: 1em;
    text-align: left;
}
body#admin div#container div#main div.content table tbody tr td {
    padding: 0.25em 1em 0 0;
}
section > p,
div#main > p {
    font-size: 1.25em;
    margin-bottom: 0.5em
}
div#main {
    background-color: var(--anthrazit);
    color: white;
    padding-top: 2.5em;
    padding-bottom: 2em
}
div#antwort {
    margin: -0.5em 0 2.5em 0
}
div#kontakt {
    position: relative
}
div.flex-elements {
    display: flex;
    margin-bottom: 1em;
}
div.w150 {
    width: 150px
}
div#formfields div.error {
    position: absolute;
    margin-top: -3.25em;
    color: red;
    margin-left: 2em;
}
div#formfields select.error {
    color: red;
}
div#formfields div.error#dse-error {
    position: relative;  
    margin-top: 0;
    margin-left: 2.5em;
}
footer {
    background-color: black;
    color: white;
    padding: 1em 0!important;
}
footer > div {
    display: flex;
    justify-content: space-between
}
footer > div > div {
    flex-basis: 40%
}
#logo img {
    max-width: 320px;
    width: 100%
}
#adress {}
#adress p:nth-of-type(1) {
    float: left;
}
#adress p:nth-of-type(2) {
    float: right;
}
#note {
    margin-top: 1em
}
#car {
    display: flex;
    justify-content: space-between
}
#car > * {
    flex-basis: 48%
}
#car div img {
    width: 100%
}
#car p {
    vertical-align: top
}

/* fonts */

* {
    font-family: "daimler_cslight";
    font-weight: normal
}
strong {
    font-family: "daimler_csregular";
}
h1 {
    font-family: "corporate_aregular";
    font-size: 2.5em;
    line-height: 1em;
    margin-top: 0;
    margin-bottom: 0.5em!important;
}
h3 {
    font-family: "daimler_cslight";
    font-size: 1.5em;
}
div#datum h3 {
    margin-top: 0
}
footer h3 {
    margin: 0.5em 0 0;
    line-height: 1.5em
}
p {
    font-family: "daimler_cslight";
    line-height: 1.4em;
    margin-bottom: 0.5em
}
#car p,
p.bigger {
    font-size: 1.25em
}
.small {
    font-size: 0.875rem;
    line-height: 1.4em
}
.smaller {
    font-size: 0.75rem
}
.italic {
    font-style: italic
}

/* tables */

table.timetable {
    font-size: 1.25em;
}
table.timetable tr td:first-child {
    white-space: nowrap;
}
td {
    padding-right: 1em
}
#informationen tr td:first-child {
    padding-top: 7px
}
footer table {
    font-size: 0.9em
}
footer td {
    line-height: 1.6em
}

/* forms */

#datum {
    margin-top: 1em;
    margin-bottom: 3em
}
#informationen {
    float: left
}
#buttons {
    margin-bottom: 2em
}
div.fieldset.clearfix input,
div.fieldset.clearfix + input {
    margin-top: 0
}
div#kontakt input[name='strasse'] {
    float: left;
    width: 70%!important
}
div#kontakt input[name='nr'] {
    float: right;
    width: 28%!important
}
div#kontakt input[name='plz'] {
    float: left;
    width: 28%!important
}
div#kontakt input[name='ort'] {
    float: right;
    width: 70%!important
}
div#informationen input[name='strasse'] {
    float: left;
    width: calc(100% - 3.5em)!important
}
div#informationen input[name='nr'] {
    float: right;
    width: 3em!important
}
div#informationen input[name='plz'] {
    float: left;
    width: 3em!important
}
div#informationen input[name='ort'] {
    float: right;
    width: calc(100% - 3.5em)!important
}
#informationen input.editable,
#informationen input#dat,
#informationen input#fz {
    border: solid 1px rgb(39, 50, 111);
    color: rgb(255, 255, 255)
}
input#kontrolle,
input#dat,
input#modell {
    display: none
}
input[type='text'],
input[type='email'],
input[type='number'],
select,
textarea {
    background-color: var(--lightgrey);
    border: none;
    border-radius: 0.25em;
    display: block;
    font-size: 1.25em;
    width: 100%;
    color: black;
    margin: 0.25em 0 1em 0;
    padding: 0.5em 1em
}
input[type='text']:focus,
input[type='email']:focus {
    background-color: white;
}
input[type='submit'] {
    background-color: var(--lightgrey);
    border: solid 1px rgb(0, 0, 0);
    border-radius: 0.25em;
    color: rgb(0, 0, 0);
    cursor: pointer;
    font-size: 1.25em;
    margin: 2em 0 1em 0;
    padding: 0.6em 1.2em;
    transition: all 0.25s
}
input[type='submit']:hover {
    background-color: white;
}
select option:hover {
    color: red;
}
#buttons input[type='submit'] {
    padding-top: 0.3em;
    padding-bottom: 0.4em
}
input[type='submit']:hover,
#bearbeiten:hover {
    box-shadow: 0 9px 3px -6px rgb(0, 0, 0, 0.5);
    color: rgb(39, 50, 111)
}
input[type='checkbox'] {
    margin-right: 1.25em;
    appearance: none
}
td input[type='text'],
td input[type='email'] {
    background-color: transparent;
    display: inline-block;
    margin: 0;
    padding: 0.25em 0.6em
}
::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: rgb(0, 0, 0);
    font-size: 0.8571428571428571em;
    opacity: 1
}
::-moz-placeholder {
    /* Firefox 19+ */
    color: rgb(0, 0, 0);
    font-size: 0.8571428571428571em;
    opacity: 1
}
:-ms-input-placeholder {
    /* IE 10+ */
    color: rgb(0, 0, 0);
    font-size: 0.8571428571428571em;
    opacity: 1
}
:-moz-placeholder {
    /* Firefox 18- */
    color: rgb(0, 0, 0);
    font-size: 0.8571428571428571em;
    opacity: 1
}
label {
    color: var(--lightgrey);
    display: inline-block;
    font-size: 1em;
    width: 99%;
}
label#label-dse {
    margin-bottom: 1em;
}
label#label-dse a {
    color: white;
}
#antwort div label.css-radio-label:first-of-type {
    margin-bottom: 0.75em
}
#bearbeiten {
    background-color: rgb(255, 255, 255);
    border: solid 1px rgb(0, 0, 0);
    border-radius: 20px;
    color: rgb(0, 0, 0);
    display: block;
    font-size: 0.8571428571428571em;
    font-weight: bold;
    margin: 1em 0;
    padding: 0.4em 1.2em 0.6em
}
#bearbeiten:hover {
    cursor: pointer
}
input[type=checkbox] {
    margin: 0;
    visibility: hidden;
    width: 0;
}
input[type=checkbox].css-checkbox + label.css-label {
    padding-left: 2.25em;
    margin-bottom: 1em;
    height: 20px;
    display: inline-block;
    line-height: 22px;
    background-repeat: no-repeat;
    background-position: 0 0;
    vertical-align: middle;
    cursor: pointer;
}
input[type=checkbox].css-checkbox + label.css-label.small {
    padding-left: 3.125em;
}
input[type=checkbox].css-checkbox:checked + label.css-label {
    background-position: 0 -20px;
}
label.css-label {
    background-image: url(../images/buttons/checkbox.png);
    background-size: 20px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
label[for="newsletter"] {
    margin: 1em 0
}
input[type=radio] {
    /* display: none */
    visibility: hidden;
    width: 0;
}
input[type=radio] + label.css-radio-label {
    background-image: url(../images/buttons/radio.png);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: 1.5;
    padding-left: 3em;
    display: inline-block;
    height: 32px;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 32px;
    vertical-align: middle;
    cursor: pointer;
}
input[type=radio]:checked + label.css-radio-label {
    background-position: 0 -32px
}
.kategorie {
    float: left;
    width: 33%;
    text-align: center
}
#fiesta {
    background-image: url(../images/fiesta.jpg)
}
#p5008 {
    background-image: url(../images/5008.jpg)
}
#kuga {
    background-image: url(../images/kuga.jpg)
}
#edge {
    background-image: url(../images/edge.jpg)
}
#ka {
    background-image: url(../images/ka.jpg)
}
#p208 {
    background-image: url(../images/208.jpg)
}
