﻿body {
    background-color: #0f2e4a;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

h1 {
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    padding: 3px 0px;
}

table {
    width: 100%;
    padding: 0;
    margin: 0;
    border: none;
}
    table td select,
    table td textarea,
    table td input[type="text"], table td input[type="password"], table td input[type="date"], table td input[type="number"] {
        width: 100%;
        box-sizing: border-box;
    }

/*.menu_button{
}*/
:root {
    --logo-size-subtract-factor: 8px;
}
@media (min-width: 370px) {
    :root {
        --logo-size-subtract-factor: 0px;
    }
}

.HeaderPane {
    position: relative;
    width: 100%;
    height: 50px;
}
    .HeaderPane .HeaderMenu {
        position: absolute;
        left: 0;
        top: 0;
        width: 48px;
        height: 48px;
    }

    .HeaderPane .HeaderLogo {
        position: absolute;
        left: 0;
        top: 0;
        text-align: center;
        width: calc(100% - var(--logo-size-subtract-factor));
        height: 48px;
    }
    .HeaderPane .HeaderCountdown {
        position: absolute;
        right: 1px;
        top: 0;
        text-align: right;
        width: 100px;
        height: 48px;
        color: #ffee00;
    }




.menu_button:hover {
    cursor: pointer;
}

.menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0f2e4a;
    padding-bottom:10px;
}
    .menu ul {
        display: block;
        margin: 0;
        padding: 0;
    }
        .menu ul li {
            text-transform: uppercase;
            list-style: none;
            display: block;
            margin: 1px;
            padding: 9px;
            background-color: #04121e;
            font-weight: bold;
        }
            .menu ul li.submenu {
                margin: 0;
                padding: 0;
                background: none;
            }
            .menu ul li li {
                text-transform: none;
                background-color: #081826;
                font-weight: normal;
            }

            .menu ul li a {
                text-decoration: none;
                display: block;
                color: #fff;
            }

a.DefButton {
    border: solid 2px #ffec00;
    border-radius: 5px;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    color: #0f2e4a;
    text-decoration: none;
    background-color: #ffec00;
    padding: 6px;
    font-size: 17px;
    font-weight: bold;
    text-align: center;
    overflow: hidden;
}

a:hover.DefButton {
    background-color: #fef14d;
    border-color: #fef14d;
    color: #0f2e4a;
}

a.not-active {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    border-color: #bbb;
    color: #bbb;
}

    a.not-active span {
        color: #bbb !important;
    }


textarea, input[type="text"], input[type="password"], input[type="date"], input[type="number"] {
    font-family: Arial, sans-serif;
    font-size: 16px;
    border: solid 1px #0071b9;
    padding: 3px;
}
input[type="date"] {
    padding: 0px;
}
select {
        font-size: 16px;
        border: solid 1px #0071b9;
        padding: 2px;
    }

span.DisabledLabel {
    font-size: 16px;
    border: solid 1px #cecece;
    padding: 3px;
    background-color: #fafafa;
    min-height: 19px;
    display: block;
    font-weight: normal;
    word-break: break-word;
}

.loginPicturesTd{
    width:37px;
    margin-left:5px;
    margin-right: 5px;
}

.loginCenterBox {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

.LoginPane {
    padding-left: 10%;
    padding-right: 10%;
}

.loginPictures{
    width:27px;
}
/*********************************/
/* JQuery Combobox */
/*********************************/
/*<span class="jq_combobox"> 
    <input />  - Combobox
    <a> > toggle-button
*/
table td span.custom-combobox {
    position: relative;
    display: block;
    padding-right: 32px;
}

    table td span.custom-combobox input {
        width: 100%;
        box-sizing: border-box;
    }

    table td span.custom-combobox a {
        position: absolute;
        top: 0;
        bottom: 0;
        right: -2px;
        /*margin-left: -1px;*/
        padding: 0;
    }


    /*Select2*/
/* Each result */
.select2-results {
    color: black;
}


/* Besuchsbericht */

table.tblBBAnz {
    border-collapse: collapse;
    background-color: white;
    color: black;
}

table.tblOPAnz {
    border-collapse: collapse;
    background-color: white;
    color: black;
}

.BBTableRowLast {
    border-bottom: 1px solid black;
}


.btnNeuerTask {
    border: 7px solid #ffee00;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    color: #0f2e4a;
    text-decoration: none;
    background-color: #ffec00;
    padding: 6px;
    font-size: 17px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
}

.tcBBhideOverflow{
    white-space:nowrap;
    overflow:hidden;
}

.tcBBWidth {
    width: 50%;
}
/*Besuchsbericht Edit*/

.divError {
    background-color: red;
    margin-top: 10px;
    color: #0f2f4a;
    font-weight: bold;
    border-radius: 10px;
    padding: 10px;
    padding-bottom: 0px;
}

.divEditBesuchsbericht {
    background-color: #ffee00;
    color: #0f2f4a;
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;
    font-weight: bold;
}

.btnEditBBBack {
    background-color: #ffee00;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: 3px solid #0f2f4a;
    display: inline-block;
    cursor: pointer;
    color: #0f2f4a;
    font-family: Arial;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 15px;
    text-decoration: none;
    float: right;
}

.btnEditBBSave {
    background-color: #ffee00;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: 3px solid #0f2f4a;
    display: inline-block;
    cursor: pointer;
    color: #0f2f4a;
    font-family: Arial;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 15px;
    text-decoration: none;
    float:left;
}

.btnNewKontakt {
    background-color: #ffee00;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: 3px solid #0f2f4a;
    display: inline-block;
    cursor: pointer;
    color: #0f2f4a;
    font-family: Arial;
    font-size: 30px;
    font-weight: bold;
    padding: 0px 9px;
    text-decoration: none;
    float: right;
}

.txbDefault {
    font-size: 25px;
}

.tc33 {
    width: 33%;
}

.tc66 {
    width: 66%;
}

.tc25 {
    width: 25%;
}

.tc41 {
    width: 41%;
}

.tc74 {
    width: 41%;
}

.tblFixed{
    table-layout: fixed;
}

.tdHideText{
    white-space: nowrap;
    overflow: hidden;
}

.liDisapled {
    color: grey !important;
}

.tdVerticalTop{
    vertical-align:top;
    height: 28px
}

.txbEmailStyle {
    font-size: 16px;
    border: solid 1px #0071b9;
    padding: 3px;
    width: 100%;
    box-sizing: border-box;
}

.pnlTimedOut{
    text-align:center;
}

.divSelectedKunde {
    background-color: #ffee00;
    color: #0f2e4a;
    margin-bottom: 5px;
    padding: 10px;
    text-align: center;
}

.divEditKunden {
    background-color: #ffee00;
    color: #0f2f4a;
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;
    font-weight: bold;
}
table.SearchParm {
    border-collapse: collapse;
}
    table.SearchParm tr td {
        padding: 4px 0px 0px 4px;
    }
    table.SearchParm tr:first-child td {
        padding-top: 0px;
    }
    table.SearchParm tr td:first-child {
        padding-left: 0px;
    }
    
span.switch input[type="checkbox"] {
    display: none;
}

    span.switch input[type="checkbox"] + label {
        width: 50px;
        height: 25px;
        border-radius: 30px;
        border: 2px solid #ddd;
        background-color: #EEE;
        display: inline-block;
        content: "";
        margin-right: 5px;
        transition: background-color 0.5s linear;
    }

        span.switch input[type="checkbox"] + label:hover {
            cursor: pointer;
        }

        span.switch input[type="checkbox"] + label::before {
            width: 25px;
            height: 25px;
            border-radius: 30px;
            background-color: #fff;
            display: block;
            content: "";
            float: left;
            margin-right: 5px;
            transition: margin 0.1s linear;
            box-shadow: 0px 0px 5px #aaa;
        }

    span.switch input[type="checkbox"]:checked + label {
        background-color: #2b8718;
    }

    span.switch input[type="checkbox"]:checked + label::before {
        margin: 0 0 0 25px;
    }


table.Kundensuche {
    width: 100%;
    background-color: #fff;
    color: #000;
    margin-top: 10px;
    border-collapse:collapse;
}

    table.Kundensuche tr.KundeSelected td{
        background-color: #ffee00;
    }
    table.Kundensuche tr td {
        padding:3px;
    }

/***********************************/
/* Select2 - DropDown - Iconfähig */
/***********************************/
.select2-results__option.Icon {
    background-image: url('../img/needvisit.png');
    background-repeat: no-repeat;
    background-position: 2px 6px;
    padding-left: 20px;
}

/***********************************/
/* Besuchsstatistik */
/***********************************/
.BesuchStatSollIst {

}

    .BesuchStatSollIst .BesuchStatItem {
        margin: 10px 0px;
    }
        .BesuchStatSollIst .BesuchStatItem .Kundenname {
            background-repeat: no-repeat;
            background-position: -3px 0px;
            padding-left: 12px;
        }
            .BesuchStatSollIst .BesuchStatItem .Kundenname.GreenBall {background-image: url('../img/bullet_ball_green.png');}
            .BesuchStatSollIst .BesuchStatItem .Kundenname.YellowBall {background-image: url('../img/bullet_ball_yellow.png');}
            .BesuchStatSollIst .BesuchStatItem .Kundenname.RedBall {background-image: url('../img/bullet_ball_red.png');}

        .BesuchStatSollIst .BesuchStatItem .BesuchStatSoll {
            border-left: 2px solid #fff;
            border-right: 2px solid #fff;
            border-bottom: none;
            font-weight: bold;
            text-align: right;
            overflow: hidden;

            box-sizing: border-box;
            -moz-box-sizing: border-box;
            -webkit-box-sizing: border-box;
        }

        .BesuchStatSollIst .BesuchStatItem .BesuchIst {
            float: left;
            text-align: center;
            overflow: hidden;
            border: solid 1px #fff;

            box-sizing: border-box;
            -moz-box-sizing: border-box;
            -webkit-box-sizing: border-box;
        }

            .BesuchStatSollIst .BesuchStatItem .BesuchIst.Telefon {
                background-color: #4bf25f;
                color: #000;
            }
            .BesuchStatSollIst .BesuchStatItem .BesuchIst.Besuch {
                background-color: #1fd135;
                color: #000;
            }
            .BesuchStatSollIst .BesuchStatItem .BesuchIst.NichtBesucht {
                background-color: #e33636;
            }


.KontaktSelect {
    position: absolute;
    top: 0px;
    left: 0px;
    min-height: 100%;
    width: 100%;
    background-color: #eee;
}
    .KontaktSelect img {
        vertical-align: middle;
    }

.HideKontaktSelect {
    color: #ff0000;
    padding: 5px;
    border-bottom:1px solid #fff;
    text-align: center;
}

.KontaktItem {
    display: flex;
    align-items: center;
    border-bottom: solid 1px #fff;
}

.KontaktName {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    color: #000;
    font-size: 18px;
}
.KontaktRemove {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
}
    .KontaktName img, .KontaktRemove img {cursor: pointer;}