﻿@import url('fonts/Lato-Regular.ttf');

@font-face {
    font-family: 'Lato';
    src: url('../css/fonts/Lato-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('../css/fonts/Lato-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

body {
    font-family: 'Lato', sans-serif !important;
}

div.loading-spinner {
    opacity: 0.5;
    background: #000;
    width: 100%;
    height: 100%;
    z-index: 999;
    top: 0;
    left: 0;
    position: fixed;
}

div.overlay-div {
    opacity: 0.5;
    background: #000;
    width: 80%; /* Statt 100% - entspricht dem Bereich neben der Sidebar */
    height: 100%;
    z-index: 997;
    top: 0;
    left: 20%; /* Beginnt erst nach der Sidebar */
    position: fixed;
}

/* Anpassung für kleinere Bildschirme, wo die Sidebar 25% breit ist */
@media only screen and (max-width: 1600px) {
    div.overlay-div {
        width: 75%;
        left: 25%;
    }
}

/* Für mobile Ansicht, wo die Sidebar ausgeblendet wird */
@media only screen and (max-width: 1200px) {
    div.overlay-div {
        width: 100%;
        left: 0;
    }
}

@media only screen and (min-width: 1200px) {
    .tvdiv {
        display: inline-flex;
    }
    .tvpipeA {
        left: 14.5%;
    }
    .tvpipeB {
        right: 33%;
    }
}

@media only screen and (max-width: 1199px) {   
    .tvpipeA {
        left: 30.5%;
    }
    .tvpipeB {
        right: 68%;
    }
}

.form-control {
    border-color: rgba(0,0,0,0.125) !important;
}

.valid.modified {
    outline: none !important;
}

.center-paging {
    min-width: 100px;
    max-width: 100px;
    margin: auto;
}

.navigation-button {
    min-width: 120px;
    margin-top: 0 !important;
}

.summary-overlay {
    position: relative;
    z-index: 995;
    min-width: 180px;
}

.paging-button {
    min-width: 150px;
    max-width: 150px;
}

.navigation-title {
    width: 150px;
}

.navigation-icon {
    margin-top: -2px;
    margin-left: -14px;
    font-size: 25px;
}

.inline-label {
    float: left;
    padding-right: 25px;
    padding-top: 2px;
}

.inline-radio {
    float: left;
    margin: 5px 3px 0 1px;
}

.modalDialog {
    overflow-y: scroll;
    overflow-x: hidden;
    height: 70vh;
}

.link-label {
    color: #0c73cd;
    text-decoration: underline;
    cursor: pointer;
}

.buttonclear {
    margin-top: 3px;
    margin-left: -30px;
    z-index: 2;
    max-width: 25px;
    max-height: 25px;
    color: red;
    font-size: 0.7em;
    font-weight: bold;
}

.pageDescription {
    padding-left: 8px;
    padding-top: 5px;
}

div.modal-content {
    margin-top: 10%;
}

.agreementsDialog {
    width: 90% !important;
    height: 90% !important;
    z-index: 100 !important;
    position: absolute !important;
}

.productTreeNode {
    display: inline-block;
    /*    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;*/
    text-overflow: clip;
    overflow: visible;
    white-space: normal;
    max-width: 55%;
}

.productTreeNodeSeparator {
    width: 97%;
    margin-left: 2px;
    margin-top: -5px;
    margin-bottom: 0;
}

.productTreeGroup {
    max-width: 100%;
    padding-left: 5px;
    padding-right: 5px;
}

.productTreePriceSingle {
    position: absolute;
    right: 16%;
    max-width: 20%;
    text-align: center;
}

.productTreePriceMonthly {
    position: absolute;
    right: 2%;
    max-width: 20%;
    text-align: center;
}

.productTreeQuantity {
    margin-top: 2px;
    margin-left: 5px;
    width: 23px;
    height: 20px;
    padding: 0;
    text-align: center;
    border-bottom-width: 2px;
    border-bottom-color: lightgray;
    border-left-style: hidden;
    border-top-style: hidden;
    border-right-style: hidden;
}

.arrow {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    margin-bottom: 2px;
    margin-right: 4px;
    padding: 3px;
}

.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}


/*Design Anpassungen Christian ab hier*/
.dxbl-text-edit {
    line-height: 1.8 !important;
    font-size: 1rem !important;
    background-color: white;
}

.content {
    padding-bottom: 30px;
}

.center-div {
    background-color: white;
    padding-bottom: 50px;
}

.center-div-2 {
    background-color: white;
    padding-bottom: 50px;
}

.container {
    text-align: center;
    padding-top: 30px;
    margin: auto;
    max-width: 500px;
}


* {
    box-sizing: border-box;
}


/* Anzeige der Steps / Seiten */
.progress-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 30px;
    max-width: 100%;
    width: 500px;
}

    .progress-container::before {
        content: ""; /* Mandatory with ::before */
        background-color: #e0e0e0;
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        height: 4px;
        width: 100%;
        z-index: 0;
    }

.progress {
    background-color: var(--thirdMandatorColor);
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 4px;
    width: 0%;
    z-index: 1;
    transition: 0.4s ease;
}

.circle {
    background-color: #fff;
    color: #999;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #e0e0e0;
    transition: 0.4s ease;
    z-index: 1;
    user-select: none;
    font-size: 18px;
    cursor: pointer;
}

    .circle.active {
        border-color: var(--thirdMandatorColor);
        font-weight: bold;
        cursor: pointer;
    }

    .circle.completed {
        border-color: var(--thirdMandatorColor);
        color: var(--thirdMandatorColor);
        cursor: pointer;
        font-weight: bold;
    }

/*alte Navigation ausblenden*/
.center-paging {
    display: none !important;
}

/* custom scrollbar */
::-webkit-scrollbar {
    width: 20px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #d6dee1;
    border-radius: 20px;
    border: 6px solid transparent;
    background-clip: content-box;
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: #a8bbbf;
    }


/*Tabellenanpassung -> Tariftabellen sollen ganz raus :D */
.tarifTable {
    border-collapse: collapse;
    margin: 25px 0 !important;
    font-size: 0.9em;
    overflow: hidden;
    min-width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 5px 5px 0 0 !important;
    width: 100%;
    margin-bottom: 0.5rem !important;
}

@media only screen and (max-width: 600px) {

    .tarifTable th, .tarifTable td {
        padding: 10px 4px !important;
    }

    .card-header {
        visibility: hidden;
    }
}

@media only screen and (max-width: 550px) {
    .tarifTable {
        margin-left: -50px !important;
    }
}

@media only screen and (max-width: 460px) {
    .tarifTable th, .tarifTable td {
        padding: 10px 4px !important;
    }

    .tarifTable {
        table-layout: fixed;
        width: 20% !important;
        background-color: white !important;
    }

        .tarifTable tr td:first-child {
            width: 20% !important;
        }


    .pl-4, .px-4 {
        padding-left: 0.5rem !important;
    }

    .pr-4, .px-4 {
        padding-right: 0.5rem !important;
    }

    .productTreePriceMonthly {
        right: 8% !important;
    }

    .productTreePriceSingle {
        right: 35% !important;
    }

    .rocketTable {
        margin-left: -23px !important;
    }
}

.tarifTable::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
}

.tarifTable::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 3px solid #fff;
    background-color: rgba(0, 0, 0, .3);
}

.tarifTable thead tr {
    background-color: var(--thirdMandatorColor) !important;
    color: #ffffff;
    text-align: left;
}

.tarifTable th, .tarifTable td {
    padding: 12px 15px;
}

.tarifTable tbody tr {
    border-bottom: 1px solid var(--thirdMandatorColor) !important;
}

    .tarifTable tbody tr:nth-of-type(even) {
        background-color: #f3f3f3;
    }

.tarifTable tbody {
    border-bottom: 4px solid var(--thirdMandatorColor);
}

    .tarifTable tbody tr:first-of-type {
        background-color: var(--thirdMandatorColor) !important;
        color: white;
        font-weight: bold;
    }
/* .oi{
        padding-right:5px;
    }*/


/* Tabellenanpassung für Sidebar */
.text-right {
    white-space: nowrap;
}

/*Sidebar*/
.sidebar-new {
    position: fixed !important;
    overflow-y: scroll;
    width: 20%;
    padding: 2%;
    background-color: var(--primaryMandatorColor);
    border-right: 2px solid lightgrey;
    float: left;
    height: 100vh;
    position: sticky;
    top: 0;
    left: 0;
    padding-bottom: 50px;
    overflow-x: hidden;
    z-index: 50;
}

@media only screen and (max-width: 1600px) {
    .sidebar-new {
        width: 25%;
    }
}

@media only screen and (max-width: 1200px) {
    .sidebar-new {
        display: none;
    }
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.viewTitleIcon {
    color: var(--thirdMandatorColor);
}

.viewTitle {
    color: var(--thirdMandatorColor);
    margin-left: 5px;
}

.viewTitleUnderline {
    color: var(--forthMandatorColor);
    border-bottom: 2px solid var(--forthMandatorColor);
    margin: 0% 0% 0% 1%;
    display: table;
    padding-top: 20px;
}

.selected-logo {
    margin-left: 7%;
    padding-top: 55px;
    float: left;
}

.selected-title {
    padding-top: 30px;
    margin-left: 80px;
    font-weight: bold;
    color: black;
}

.selected-city, .selected-street {
    margin-left: 80px;
    color: black;
}

.selected-data {
    color: black;
}

.service-heading {
    font-weight: bold;
    font-size: 20px;
    color: black;
    margin-top: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin: 50px -600% 0 -600%;
    padding: 20px 600% !important;
    background-color: var(--secondaryMandatorColor);
}

.service-logo {
    margin-left: 7%;
    padding-top: 42px;
    float: left;
    width: 50px;
    height: 50px;
    font-size: 30px;
    color: var(--secondaryMandatorColor);
}

.service-logo-line {
    margin-top: 50px;
    border-color: lightgray;
}

.service-number {
    padding-top: 40px;
    margin-left: 80px;
    font-weight: bold;
    color: black;
}

    .service-number:hover {
        text-decoration: underline;
    }

.service-times {
    margin-left: 80px;
    color: black;
}

/*CheckBoxen Orange*/
.dxbl-checkbox:not(.dxbl-checkbox-switch):not(.dxbl-checkbox-radio):not(.dxbl-disabled):not(:disabled).dxbl-checkbox-checked .dxbl-checkbox-check-element, .dxbl-checkbox:not(.dxbl-checkbox-switch):not(.dxbl-checkbox-radio):not(.dxbl-disabled):not(:disabled).dxbl-checkbox-indeterminate .dxbl-checkbox-check-element {
    background-color: var(--thirdMandatorColor);
}

.dxbl-checkbox.valid.modified {
    --dxbl-checkbox-check-element-unchecked-border-color: var(--thirdMandatorColor);
    --dxbl-checkbox-check-element-unchecked-hover-border-color: var(--thirdMandatorColor);
}

/* Labels fett */
@media (min-width: 992px) {
    .dxbl-fl:not(.dxbl-fl-calc) .dxbl-fl-item > .dxbl-fl-cpt {
        font-weight: bold !important;
    }
}


.checkboxNew {
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    margin: 0;
    display: grid;
    place-content: center;
    font: inherit;
    color: var(--thirdMandatorColor);
    width: 1.15em;
    height: 1.15em;
    border: 0.15em solid var(--thirdMandatorColor);
    border-radius: 0.15em;
    transform: translateY(-0.075em);
}

.form-control + .form-control {
    margin-top: 1em;
}

input[type="checkbox"]::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--form-control-color);
    background-color: CanvasText;
}

input[type="checkbox"]:checked::before {
    transform: scale(1);
    background-color: var(--thirdMandatorColor);
}

input[type="checkbox"]:focus {
    outline: max(2px, 0.15em) solid var(--thirdMandatorColor);
    outline-offset: max(2px, 0.15em);
}

input[type="radio"] {
    -webkit-appearance: none;
    /* Remove most all native input styles */
    appearance: none;
    /* For iOS < 15 */
    background-color: var(--form-background);
    /* Not removed via appearance */

    font: inherit;
    color: currentColor;
    width: 1.15em;
    height: 1.15em;
    border: 0.15em solid var(--thirdMandatorColor);
    border-radius: 50%;
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 0.25em;
}

    input[type="radio"]::before {
        content: "";
        width: 0.65em;
        height: 0.65em;
        border-radius: 50%;
        transform: scale(0);
        transition: 120ms transform ease-in-out;
        box-shadow: inset 1em 1em var(--form-control-color);
        /* Windows High Contrast Mode */
        background-color: CanvasText;
    }

    input[type="radio"]:checked::before {
        transform: scale(1);
        background-color: var(--thirdMandatorColor);
    }

    input[type="radio"]:focus {
        outline: max(2px, 0.15em) solid var(--thirdMandatorColor);
        outline-offset: max(2px, 0.15em);
    }
