/* Guide Styles */

#guide {
    font-size: small;
}

#guide .guide-header h1 {
    font-size: large;
}

@media (min-width: 1200px) {
    #guide {
        font-size: large;
    }

    #guide .guide-header h1 {
        font-size: xx-large;
    }
}

#guide .guide-header {
    border: 0px solid transparent
}

@media (min-width: 1200px) {
    #guide .guide-header {
        border: 1px solid gray
    }
}

#guide .board {
    position: relative;
    overflow: hidden;
    border: 1px solid #CDCDCD;
    border-radius: 28px;
    transition: all 200ms;
}

.hoverScale {
    transition: all 200ms;
}

.hoverScale:hover {
    cursor: pointer;
    transform: scale(1.02);
}

#guide .board.board-hover:hover {
    border: 1px solid var(--color-green);
    cursor: pointer;
    transform: scale(1.02);
}

#guide .board .board-body {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    text-transform: uppercase;
    padding: 8px;
    background-color: #F2F1F1;
    user-select: none;
    font-weight: bolder;
}

@media (min-width: 1200px) {
    #guide .board .board-body {
        padding: 15px;
    }
}

#guide .board-head~.board-body {
    border-top: 1px solid gray;
}

#guide .board-head picture {
    height: 100%;
}

@media (min-width: 768px) {
    #guide .board-head picture {
        height: 300px;
    }
}

#guide .board .board-infobutton {
    width: 35px;
    height: 35px;
    position: absolute;
    top: 0px;
    right: 0px;
    border: 1px solid gray;
    border-top: 0;
    border-right: 0;
    border-radius: 0 0 0 50%;
}

@media (min-width: 1200px) {
    #guide .board .board-infobutton {
        width: 50px;
        height: 50px;
    }
}

#guide .board-infopanel {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: 1;
    border-right: 1px solid gray;
    transition: left 1s ease-in-out;
}

#guide .board-infopanel.active {
    left: 0;
}

#guide .tyreGroup.selected {
    border-color: var(--color-green) !important;
}

.dot-wrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.iconVorteil {
    color: #008230 !important;
    width: 25px;
    text-align: center;
}

[type=radio]:checked+img {
    outline: 2px solid #f00;
}

[type=radio]+img {
    cursor: pointer;
}

.table-dienstleistungen {
    width: 100%;
    border: 1px solid gray;
}

.table-dienstleistungen thead th {
    background-color: whitesmoke;
}

.table-dienstleistungen th {
    font-weight: bold;
}

.table-dienstleistungen th,
.table-dienstleistungen td {
    padding: 15px;
    border: 1px solid gray;
}

.table-dienstleistungen tfoot td {
    border-left: 0;
    border-right: 0;
    border-top: 2px solid black;
}

/* --------------------------------------------------------------------- */

/* Felgenkonfigurator */

.btnModel {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    border: 2px solid grey;
}

.btnModel:hover {
    border: 2px solid green;
    cursor: pointer;
}

/* --------------------------------------------------------------------- */

/* Reifensuchereifengrosse */

.inputDisplayer {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 576px) {
    .inputDisplayer {
        flex-direction: row;
    }
}

.inputDisplayer label {
    flex: 0 1 100%;
    -webkit-flex: 0 1 100%;
}

.inputDisplayer input {
    width: 100%;
    display: block;
}

.image-show {
    display: none;
}

.active {
    display: block;
}

/* --------------------------------------------------------------------- */

/* Numberplates */

.knzL,
.knzNL,
.knzGB {
    background: linear-gradient(to bottom, #f8d038 0%, #f5ca2e 100%) !important;
    color: #000000 !important;
}

.knzB {
    background: linear-gradient(to bottom, #ffffff 0%, #e6e6e6 100%) !important;
    color: #a70000 !important;
}

.nummernschild.knzB {
    border: 1px solid #a70000;
}

.knzD,
.knzF,
.knzPL,
.knzP {
    background: linear-gradient(to bottom, #ffffff 0%, #e6e6e6 100%);
    color: #000000 !important;
}

[class*="knz"] {
    background: linear-gradient(to bottom, #ffffff 0%, #e6e6e6 100%);
    color: #000000 !important;
    opacity: 1;
    /* required on iOS */
}

.nummernschild {
    border: 1px solid black;
    font-size: 22px;
    font-family: 'Kfz-Kennzeichen';
    font-weight: bolder;
    position: relative;
    display: inline-block;
    padding-right: 5px;
    padding-left: calc(5px + 1.25em);
    /* = Breite Streife + Padding */
    border-radius: 5px;
}

.nummernschild input {
    width: 100px;
    border: 0;
    text-align: center;
    letter-spacing: 0.2em;
    height: fit-content;
}

.changeKfzLand:hover,
.changeKfzLand input:hover {
    cursor: pointer !important;
}

.changeKfzLand {
    width: 100%;
    margin-bottom: 4px;
}

.toggleDropdownKnz:hover {
    cursor: pointer;
}

.nummernschild .streife {
    position: absolute;
    width: 1.25em;
    /* = Breite Streife */
    height: 100%;
    left: 0;
    top: 0;
    background: #063298;
    border-radius: 5px 0px 0px 5px;
}

.nummernschild .kreis {
    position: absolute;
    width: 0.70em;
    height: 0.70em;
    left: 50%;
    top: 30%;
    border: 1px dashed #f8d038;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.nummernschild .buchstabe {
    position: absolute;
    left: 50%;
    top: 75%;
    color: white;
    transform: translate(-50%, -50%);
    font-size: 0.7em;
}

.nummernschild .lineal {
    position: absolute;
    visibility: hidden;
    z-index: -1;
    left: 0;
    top: 0;
    letter-spacing: 0.2em;
}

#guide .dropdown-content {
    display: none;
    margin-top: 1vh;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    padding: 4px 4px;
    z-index: 1;
    max-height: 35vh;
    overflow: auto;
}

/* --------------------------------------------------------------------- */

/* Felgenkonfigurator - Mounting */

#carTurner.threed:hover {
    cursor: grab;
}

#colorContainer {
    border: 1px solid black;
    background-color: lightgray;
}

.colorPlate img {
    border-radius: 50%;
    border: 1px solid black;
}

.colorPlate img:hover {
    cursor: pointer;
}