html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
    background-color: #213A53;
    font-family: upgrade, Verdana, Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
}

*, a:link, a:visited, a:hover, td, th, tr, table, div {
    font-family: upgrade, Verdana, Arial, Helvetica, sans-serif;
    white-space: unset;
    font-size: 14px;
    text-size-adjust: none;
}

input[name="PeriodStart"] {
    font-size: 12px;
}

select,
textarea,
input {
    border: 1px solid #FFE733;
    border-radius: 0;
}

    input[type="button"],
    input[type="submit"] {
        background-color: #FFE733;
        border: 3px solid #FFE733;
        color: #000;
        padding: 6px 20px;
        font-weight: 400;
        letter-spacing: 1px;
        text-transform: uppercase;
        cursor: pointer;
        margin-top: 10px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

        input[type="button"]:hover,
        input[type="submit"]:hover {
            border: 3px solid #000;
        }

#aspnetForm {
    max-width: 1000px;
    margin: auto;
    border-top: 5px solid #FFE733;
    border-bottom: 5px solid #FFE733;
}

    #aspnetForm .content-inner {
        margin: 23px 20px;
    }

    #aspnetForm table {
        width: 100%;
        border-spacing: 0;
        max-width: 100%;
    }

        #aspnetForm table.progress {
            border-spacing: 0;
            width: auto;
            margin-bottom: 20px;
        }

            #aspnetForm table.progress tr:first-child {
                display: block;
                margin-bottom: 10px;
            }

                #aspnetForm table.progress tr:first-child td {
                    display: inline-block;
                    height: 20px;
                    width: 20px;
                    font-size: 15px;
                }

                    #aspnetForm table.progress tr:first-child td + td {
                        margin-left: 5px;
                    }

        #aspnetForm table th.belegungFeldTag {
            font-weight: 600;
        }

        #aspnetForm table .belegungFeldTag {
            color: #000;
        }

            #aspnetForm table .belegungFeldTag.frei,
            #aspnetForm table .belegungFeldTag.besetzt {
                line-height: 1.5;
            }

        #aspnetForm table tr:first-child td[colspan="7"] {
            vertical-align: middle;
            text-align: center;
            min-width: 220px;
        }

            #aspnetForm table tr:first-child td[colspan="7"] .link {
                display: inline-block;
                line-height: 1.8;
            }

                #aspnetForm table tr:first-child td[colspan="7"] .link img {
                    margin-top: 0;
                    margin-bottom: 0;
                }

            #aspnetForm table tr:first-child td[colspan="7"] .medium {
                border: 1px solid #FFE733;
                margin-bottom: 0;
            }

            #aspnetForm table tr:first-child td[colspan="7"] .medium,
            #aspnetForm table tr:first-child td[colspan="7"] .dpCalIcon,
            #aspnetForm table tr:first-child td[colspan="7"] .inlineText {
                margin-left: 3px;
                margin-right: 3px;
                line-height: 1.7;
            }

            #aspnetForm table tr:first-child td[colspan="7"] .dpCalIcon {
                margin-top: 0;
                margin-bottom: 0;
            }

            #aspnetForm table tr:first-child td[colspan="7"] img + .inlineText {
                font-size: 12px;
                display: inline-block;
                margin-top: -3px;
                line-height: 1.8;
                min-height: 21px;
            }


.borderleft, .borderright, .bordertop, .borderbottom {
    text-decoration: none
}

.borderleft {
}

.borderright {
}

.bordertop {
    background-color: black;
}

.borderbottom {
}

.submenu {
    background-color: #F5F7FB;
    color: #213A53;
    text-decoration: none;
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 0px;
    padding-bottom: 20px;
}

.content {
    color: black;
    text-decoration: none;
    padding-left: 0px;
    padding-right: 5px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.title {
    background-color: #FFFFFF;
    font-size: 13px;
    color: #213A53;
    text-decoration: none;
}

a:link {
    line-height: 1rem;
    color: #F5E101;
    text-decoration: underline;
}

a:visited {
    color: #f5e000;
    text-decoration: none;
}

a:hover {
    color: #213A53;
    text-decoration: none;
}

a:active {
    color: #213A53;
    text-decoration: none;
}

.borderblue {
    background-color: #003399;
    color: #000000;
    text-decoration: none;
}

img {
    padding: 0px;
    margin: 0px;
    border-right: 0px;
    border-top: 0px;
    border-left: 0px;
    border-bottom: 0px;
    border-collapse: collapse;
    max-width: 100%;
    height: auto;
}

}

.inlineText {
    position: relative;
    top: -5px;
    color: white;
}

.inlineTextInput {
    position: relative;
    top: 2px;
}

.inlineTextTop {
    position: relative;
    top: 3px;
}

.infotext {
    font-size: 12px;
}

a {
    text-decoration: none;
    color: #213A53;
    padding-left: 2px;
    padding-right: 2px;
}

    a.imgLink {
        text-decoration: none;
        color: white;
        padding: 0px;
    }

    a.register {
        font-size: x-small;
    }

.active {
    font-weight: bold;
}

a:hover {
    background-color: #C43131;
    color: black;
}

div.Logo {
    text-align: center;
    vertical-align: middle;
    height: 120px;
}

div.loginInfo {
    float: right;
    font-size: x-small;
    text-align: right;
}

div.header {
    width: 100%;
    height: 30px;
}

div.boxLink {
    border-right: #a9a9a9 1px solid;
    padding-right: 8px;
    border-top: #a9a9a9 1px solid;
    padding-left: 8px;
    padding-bottom: 3px;
    border-left: #a9a9a9 1px solid;
    padding-top: 3px;
    border-bottom: #a9a9a9 1px solid;
    background-color: #ebeded;
    text-align: center;
}
/* NavigationTree-Styles */
.navNode, .navRoot, .navLevel0, .navLevel1, .navLevel2, .navLevel3, .navSelected, .navHoover {
    border: solid 1px #ffffff;
    /*
	border-color: #ffffff;
	border-top: 1px;
	border-bottom: 1px;
	border-left: 0px;
	border-right: 0px;
	border-style:solid;
	*/
}

.navNode {
}

.navRoot {
    background-color: #FFE733;
    width: 156px;
}

.navLevel0 {
    background-color: #FFE733;
    padding-left: 4px;
    width: 152px;
}

.navLevel1 {
    font-weight: bold;
    background-color: #FFE733;
    padding-left: 8px;
    width: 148px;
}

.navLevel2 {
    background-color: #FFE733;
    padding-left: 12px;
    width: 144px;
}

.navLevel3 {
    background-color: #FFE733;
    padding-left: 16px;
    width: 140px;
}

.navSelected {
    background-color: olive;
}

.navHoover {
    background-color: #FFE733;
}

.marked {
    background-color: #C43131;
}
/* Notifier Styles */
.Message {
    color: #DCF9FA;
}

.Warning {
    color: #ff9900;
    font-weight: bold;
}

.UserError {
    color: #ff0000;
    font-weight: bold;
}

.Error {
    color: #FC1B94;
    font-weight: bold;
}
/* Titel */
h1 {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    /*	font-variant:small-caps;*/
    margin-top: 0;
    margin-bottom: 4px;
    color: white;
    text-transform: uppercase;
}

h2 {
    font-size: 14px;
    /*	font-variant:small-caps;*/
    margin-top: 15px;
    margin-bottom: 4px;
    color: #f5e000;
    font-weight: 500;
}
/* Tabellen */
.even {
    background-color: #ffffff;
    color: #000000;
}
/* .odd
{
	background-color: #f4f4f4;
	color: #000000;
} */
th, td {
    vertical-align: top;
}

th {
    background-color: #f5e000;
    border: solid 1px #ffffb1;
    margin: 1px;
    text-align: left;
    color: #000;
}

.text-liste, .inputText-liste {
    font-weight: 400;
}

th.text-liste, th.inputText-liste {
    font-weight: 600;
}

.text-liste, .text-liste-re, .datum-liste {
    vertical-align: top;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 8px;
    padding-right: 8px;
}

.datum-liste {
    font-size: smaller;
}

.text-liste-re {
    text-align: right;
}

.inputText-liste {
    vertical-align: top;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 8px;
    padding-right: 8px;
}

.input-liste {
    vertical-align: top;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 8px;
    padding-right: 8px;
}

    .text-liste[colspan="3"],
    .input-liste[colspan="3"] {
        padding-left: 0px;
        padding-right: 0px;
    }

    .input-liste input {
        min-height: 27px;
    }

td.fill {
    width: 90%;
}
/* Eingabe Klassen */
span.obli {
    color: #C43131;
    margin-left: 2px;
    margin-right: 2px;
}

select {
    padding-top: 0px;
    padding-right: 2px;
    padding-left: 2px;
    padding-bottom: 0px;
}

input.max, input.xlarge, input.large, input.mlarge, input.medium, input.small {
    vertical-align: top;
    padding-right: 2px;
    padding-left: 2px;
}

input.max, textarea.max {
    width: 98%;
}

input.xlarge, textarea.xlarge {
    width: 300px;
}

input.mlarge, textarea.mlarge {
    width: 211px;
    max-width: 100%;
}

input.large, textarea.large {
    width: 153px; /* = small + zwischenraum + large */
    max-width: calc(100% - 65px);
}

input.largeMail {
    width: 125px; /* =large - Breite für Checkbox (25) */
}

input.dateTime {
    width: 100px;
}

input.date {
    width: 70px;
}

input.time {
    width: 35px;
}

input.medium, textarea.medium {
    width: 70px;
}

input.small {
    width: 50px;
}

textarea.xlarge {
    height: 100px;
}

textarea.large {
    height: 100px;
}

textarea.medium {
    height: 50px;
}

textarea.max {
    height: 35px;
}

textarea.inTable {
    height: 35px;
    width: 50px;
}
textarea {
    display: block;
}

/*paging */
.paging, .paging-text {
    font-size: x-small;
}

.paging-text {
    position: relative;
    top: -2px
}

input.paging {
    width: 20px;
}

.tipptextDiv {
    display: none;
    position: absolute;
    border: gray 1px solid;
    padding: 2px;
    z-index: 10;
    background-color: Yellow;
}
/* MaterialAuswahl */
.gruppeLinks {
    white-space: nowrap;
    vertical-align: bottom;
    border-right: #ffcc33 thin dashed;
    border-top: #ffcc33 thin dashed;
    border-left: #ffcc33 thin dashed;
    border-bottom: #ffcc33 thin dashed;
}
/* Belegung */
a.belegungLink {
    border: 0px;
    margin: 0px;
    padding: 0px;
    text-decoration: none;
    color: #F5E101;
}

    a.belegungLink:hover {
        text-decoration: underline;
        background-color: transparent;
    }

.belegungFeld, .belegungFeldTag {
    white-space: nowrap;
    text-align: center;
    margin: 1px;
    border-right: #808080 1px solid;
    border-top: #808080 1px solid;
    border-left: #808080 1px solid;
    border-bottom: #808080 1px solid;
}

.belegungFeldTag {
    padding: 2px;
}

    .belegungFeldTag, .belegungFeldTag span, .belegungFeldTag a {
        padding: 2px;
        font-size: 12px;
    }

.statusNoPlace {
    border-right: #C43131 1px dashed;
    border-top: #C43131 1px dashed;
    border-left: #C43131 1px dashed;
    border-bottom: #C43131 1px dashed;
}

.weekend, .weekendTop, .weekendBottom {
    border-right: 2px solid;
    border-left: 2px solid;
}

.weekendTop {
    border-top: 2px solid;
}

.weekendBottom {
    border-bottom: 2px solid;
}

.frei {
    background-color: #3B8562;
}

.besetzt {
    background-color: #C43131;
    color: white !important;
}

    .besetzt.weekend,
    .besetzt.weekendBottom {
        border-color: black !important;
    }

/* Buchungsprogress */
table.progress {
    align-content: right;
    float: right;
    display: inline;
    border-spacing: 5px;
    width: auto;
}

table.a {
}

td.progress, td.progress-active {
    width: 30px;
    text-align: center;
    font-weight: bold;
    font-size: x-large;
    color: white;
    background-color: #FFE733;
    border: thin solid #FFE733;
}

td.progress {
    background-color: #404040;
    color: white;
}

td.progress-active {
    background-color: #FFE733;
    color: #404040;
}
/* Buchung anzeigen */
div.showBuchung {
    padding-right: 5px;
    padding-left: 5px;
    padding-bottom: 15px;
    padding-top: 5px;
    border-right: gray 1px solid;
    border-top: gray 1px solid;
    border-left: gray 1px solid;
    border-bottom: gray 1px solid;
    margin: 10px 0px 20px;
}

    div.showBuchung h2 + table tr td {
        padding: 5px 8px 5px 0px;
    }

    div.showBuchung table tr th,
    div.showBuchung table tr td {
        padding: 5px;
    }

    div.showBuchung table tr.odd td {
        border-top: 1px solid #808080;
        border-bottom: 1px solid #808080;
    }

hr {
    width: calc(100% + 16px);
    margin-left: -8px;
}

.mobile_short {
    display: none;
    color: #FFF4A2;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 30px;
}

/* RESPONSIVE */
@media screen and (max-width: 767px) {
    #aspnetForm table th.belegungFeldTag {
        max-width: calc(100% - 210px);
        white-space: inherit;
    }
    /* div.showBuchung {
    overflow-x: scroll;
  } */
}

@media screen and (max-width: 500px) {
    .mobile_short {
        display: block;
    }
}
