:root {
    --black-color: #003b46;
    --white-color: #fff;
    /* --primary-color: #f3f7f9; */
    --primary-color: #fff;
    /* --secondary-color: #b9f2d7; */
    --secondary-color: #edf1f3;
    /* --secondary-back-color: #fffdf6; */
    --ja-back-color: #406fd3;
    --ja-border-color: #1f54c7;
    /* --nein-back-color: #f3f7f9; */
    --nein-back-color: #fff;
}

html {
    margin: 0;
    font-size: 12px;
    letter-spacing: 0.01rem;
}

body {
    padding: 0;
    margin: 0;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
    width: min-content;
    -webkit-print-color-adjust: exact;
}

h1,
h2,
h3,
h4 {
    margin: 0;
}

input {
    font-size: 1.1rem;
}

input::-ms-clear {
    -webkit-appearance: none;
    display: none;
}
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    display: none;
}

.alignLeft {
    text-align: left !important;
}
/* ------------------------------------------------- Header ------------------------------------------------ */
header {
    display: flex;
    justify-content: space-between;
    padding: 5px 10px;
    background: var(--black-color);
    color: var(--white-color);
}
header div {
    display: flex;
    align-items: center;
}

header h1 {
    font-size: 1.5rem;
}

#drucker {
    height: 35px;
    cursor: pointer;
    margin: auto 15px;
}
/* ------------------------------------------------- Main ------------------------------------------------ */
.main {
    display: flex;
}

/* ------------------------------------------------- Left Part ------------------------------------------------ */
.leftPart {
    width: 360px;
}

/* ------------------------------------------------- User info ------------------------------------------------ */
.userInfo {
    display: flex;
    flex-direction: column;
    padding: 10px;
    height: 150px;
    box-sizing: border-box;
}

.userInfo div {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.userInfo div label {
    display: block;
    width: 30%;
}
#name,
#vorname {
    width: 70%;
}

.dateWidth {
    width: 50px;
    margin-right: 5px;
}

#geburstYear,
#versichYear {
    width: 70px;
}

/* ------------------------------------------------- Insurances part ---------------------------------------------------- */

.rightPart {
    display: flex;
    position: relative;
}

/* ------------------------------------------------- versicherung ------------------------------------------------ */

.versicherung {
    width: 100px;
    position: relative;
    display: flex;
    flex-direction: column;
    /* background: #a8a8a830; */
}
.headPart {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 150px;
    padding: 10px;
    box-sizing: border-box;
}

.tarifSelector {
    font-size: 0.8rem;
}

.closeBtn {
    position: absolute;
    right: 3px;
    top: 3px;
    border-radius: 5px;
    width: 15px;
    height: 15px;
    background: url(../img/icons/close_2.png) no-repeat center/cover;
    z-index: 99999;
}

.closeBtn:hover {
    cursor: pointer;
    background: url(../img/icons/close_hover.png) no-repeat center/cover;
}

.draggable {
    width: 100px;
}

.disabled {
    opacity: 0.3;
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
}

.logoBox {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.logo {
    height: auto;
    max-height: 60px;
    width: 100%;
    cursor: move;
}

/* select {
    font-size: 1.2rem;
} */

.nameHeader {
    display: block;
    height: 30px;
    margin-top: 5px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
}

.infoElems {
    padding: 3px 10px;
    font-size: 1rem;
    height: 20px;
    background: var(--white-color);
    color: var(--ja-border-color);
    border-right: 1px solid white;
    border-bottom: 1px solid white;
    text-align: center;
}

.infoElems img {
    height: 100%;
    width: auto;
    margin-right: 6px;
    /* opacity: 1; */
}
/* ------- Compare tarifs button ------- */

.infoElems label {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.compareTarifs {
    width: 50px;
    height: 20px;
    display: inline-block;
    position: relative;
    margin-right: 20px;
    border-radius: 20px;
}

.compareTarifs input {
    opacity: 0;
    width: 0;
    height: 0;
}

.compareTarifs p {
    margin-left: 50px;
    font-size: 1.1rem;
}

.compareSlider {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: var(--secondary-color);
    border-radius: 20px;
    transition: background 300ms;
    cursor: pointer;
}

.compareSlider:before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    background: var(--white-color);
    border-radius: 20px;
    transition: transform 100ms;
}

#compareTarifs:checked + .compareSlider:before {
    transform: translateX(28px);
}

#compareTarifs:checked + .compareSlider {
    background: var(--ja-border-color);
}

/* ------- ------- */
.beitrag {
    margin: 2px 3px 2px 0;
    padding: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    height: 20px;
    text-align: center;
    background: var(--black-color);
    color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.beitrag p {
    margin: 0;
    display: block;
}

.smallerText {
    font-size: 0.9rem;
}

.lPunkte {
    margin: 2px 3px 2px 0;
    padding: 5px;
    font-size: 1.5rem;
    font-weight: 600;
    height: 20px;
    text-align: center;
    background: var(--secondary-color);
    color: var(--ja-border-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.lPunkte-left {
    font-size: 1.1rem;
}
/* ------------------------------------------------- Conditions ------------------------------------------------ */
.conditions,
.conditions-left {
    /* padding: 6px auto 3px auto; */
    padding-top: 6px;
    min-height: 20px;
    height: 2vh;
    margin: 0 1px 1px 0;
    text-align: center;
}
.conditions {
    font-size: 1.1rem;
}
.conditions-left {
    padding-left: 10px;
    margin: 0 3px 3px 0;
}

.conditions-left:nth-child(odd) {
    background: var(--primary-color);
}
.conditions-left:nth-child(even) {
    background: var(--secondary-color);
}

.ja {
    background: var(--ja-back-color);
    color: var(--white-color);
    border-right: 2px solid var(--ja-border-color);
    border-bottom: 2px solid var(--ja-border-color);
    border-radius: 5px;
}

.nein {
    background: var(--nein-back-color);
    color: #ff000099;
    border-bottom: 2px solid var(--white-color);
}

/* ------------------------------------------------- Insurances: hinweis ------------------------------------------------ */

.hinweisLink {
    position: absolute;
    right: 10px;
}
.hinweisLink img {
    height: 15px;
    width: auto;
}

.hinweisLink:hover {
    cursor: pointer;
}
.hinweisLink:hover .hinweisBlockRight {
    display: block;
}
.hinweisLink:hover .hinweisBlockLeft {
    display: block;
}

.hinweisBlockRight:before {
    position: absolute;
    content: "";
    background-image: url(../img/icons/callout_right.png);
    width: 12px;
    height: 22px;
    bottom: 15px;
    left: -11px;
    z-index: 1000;
}

.hinweisBlockRight {
    position: absolute;
    display: none;
    z-index: 999;
    right: -322px;
    bottom: -15px;
    min-height: 50px;
    width: 300px;
    text-align: left;
    padding: 10px;
    background: var(--white-color);
    color: var(--black-color);
    border: 1px solid black;
    border-radius: 10px;
    box-shadow: 3px 3px 5px black;
}

.hinweisBlockLeft:before {
    position: absolute;
    content: "";
    background-image: url(../img/icons/callout_left.png);
    width: 12px;
    height: 22px;
    bottom: 15px;
    right: -11px;
    z-index: 1000;
}

.hinweisBlockLeft {
    position: absolute;
    display: none;
    z-index: 999;
    left: -322px;
    bottom: -15px;
    min-height: 50px;
    width: 300px;
    text-align: left;
    padding: 10px;
    background: var(--white-color);
    color: var(--black-color);
    border: 1px solid black;
    border-radius: 10px;
    box-shadow: 3px 3px 5px black;
}

/* ---------------------------------- Dragging options ---------------------------------- */

.hold {
    border: 3px solid black;
}

.invisible {
    display: none;
}

.hover {
    border: 1px dashed black;
    /* background: #a8a8a840; */
}

/* ---------------------------------- Logos list styling ---------------------------------- */
.versicherungs_list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 0.5px dashed #a3a3a3;
}

.versicherungs_list .logoList {
    /* border-top: 1px dotted #b3b3b3; */
    /* border-bottom: 1px dotted #b3b3b3; */
    border: 1px dotted #b3b3b3;
    margin: 3px auto;
    box-sizing: border-box;
    height: auto;
    width: 90%;
    cursor: pointer;
}

/* ---------------------------------- Footer ---------------------------------- */

footer {
    display: flex;
    justify-content: space-between;
    background: var(--black-color);
    color: var(--white-color);
    font-size: 1rem;
    padding: 5px;
}

footer a {
    text-decoration: none;
    color: var(--white-color);
    margin: auto 5px;
}

footer a:hover {
    color: #ffff00;
}

/* ---------------------------------- Warnung files ---------------------------------- */

.warnung {
    width: 50vw;
    margin: 25vh 25vw;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.5rem;
    background: var(--secondary-color);
    border-radius: 20px;
    border: 2px solid var(--ja-border-color);
}

.warnung a:hover {
    color: var(--ja-back-color);
}

/* ---------------------------------- Datenschutz und Impressum ---------------------------------- */

.datenImp {
    width: 50vw;
    padding: 20px;
    font-size: 1.2rem;
}

/* ---------------------------------- Spinner ---------------------------------- */

.loading {
    display: none;
}

.loading p {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: 20px;
}

.spinner {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    margin: -25px 0 0 -25px;
    border-radius: 50%;
    border-left: 1px solid red;
    border-top: 2px solid red;
    animation: spinner 1s linear infinite;
    z-index: 99999999;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}
