﻿/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

a, a:active, a:visited, a:hover {
    color: rgb(140, 170, 110) !important;
    text-decoration: none;
}

    a:hover {
        color: rgb(140, 170, 110);
        text-decoration: underline;
    }

    a.nav-link {
        margin-left: 30px;
        margin-right: 30px;
        font-size: 1.5em;
    }

        a.nav-link, a.nav-link:visited {
            color: #303030;
        }

            a.nav-link:hover {
                color: rgb(140, 170, 110);
                text-decoration: none;
            }

            a.nav-link:active {
                color: rgb(140, 170, 110);
                text-decoration: none;
            }

            a.nav-link.active {
                color: rgb(140, 170, 110) !important;
                padding-bottom: 5px;
                border-bottom: 2px solid rgb(140, 170, 110);
            }


.navbar-header {
    position: relative;
}

.navbar-nav {
    margin-left: 15px;
}

    .navbar-nav a.navbar-mobile {
        display: none;
    }

    .navbar-nav > li > a {
        padding-left: 5px !important;
        padding-right: 7px !important;
    }

.navbar-right {
    margin-right: 0px !important;
}

.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu {
    margin-top: 0;
}

.navbar {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    background-color: #fff !important;
    border-bottom: 1px solid #ddd;
    box-shadow: 2px 2px 5px #ddd;
}

    .navbar .sub-menu:before {
        border-bottom: 7px solid transparent;
        border-left: none;
        border-right: 7px solid rgba(0, 0, 0, 0.2);
        border-top: 7px solid transparent;
        left: -7px;
        top: 10px;
    }

    .navbar .sub-menu:after {
        border-top: 6px solid transparent;
        border-left: none;
        border-right: 6px solid #fff;
        border-bottom: 6px solid transparent;
        left: 10px;
        top: 11px;
        left: -6px;
    }

.navbar-toggler {
    background-color: rgb(140, 170, 110);
}

.ddm {
    top: unset !important;
    right: 30px;
    /*width: calc(100% - 60px);*/
}

.dropdown-menu {
    top: 24px;
    white-space: nowrap;
}

    .dropdown-menu.dd-admin {
        top: 34px !important;
    }

    .dropdown-menu > li.nav-submenu-link {
        padding-left: 20px;
        padding-right: 20px;
    }

    .dropdown-menu > li.nav-form-link > form {
        width: 100%;
    }

        .dropdown-menu > li.nav-form-link > form > a {
            display: block;
            padding: 3px 20px;
            clear: both;
            font-weight: 400;
            line-height: 1.42857143;
            color: #333333;
            white-space: nowrap;
        }

            .dropdown-menu > li.nav-form-link > form > a:hover,
            .dropdown-menu > li.nav-form-link > form > a:focus {
                color: #262626;
                text-decoration: none;
                background-color: #f5f5f5;
            }


/* Landscape phones and portrait tablets */
@media (max-width: 767px) {


    #mainLoader img {
        width: 100px;
        height: 100px;
        left: calc((50%) - 50px);
        top: calc((50%) - 50px);
    }

    .navbar-nav li.dropdown a[data-toggle] {
        display: none;
    }

    .navbar-nav ul.dropdown-menu {
        display: block;
        position: static;
        float: none;
        width: auto;
        background-color: transparent;
        border: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    .navbar-nav a.navbar-mobile {
        display: block;
        padding-bottom: 0px;
    }

    .navbar-nav ul.dropdown-menu a:hover {
        background-color: transparent;
    }

    a.menu-item, a.menu-item:active {
        color: #9d9d9d !important;
    }

        a.menu-item:hover, a.menu-item:focus {
            color: #fff !important;
        }

    .form-horizontal .checkbox {
        padding-top: 0;
    }

    label.control-label {
        margin-bottom: 0;
        margin-top: 5px;
    }
}

ul.nav-tabs > li.active > a, ul.nav-tabs > li.active > a:active {
    background-color: #eee !important;
}

.primary-color {
    color: rgb(140, 170, 110);
}

.main {
    border-left: 2px solid rgb(140, 170, 110);
    padding-left: 45px;
}

.main-title {
    font-size: 3em;
}

.main-subtitle {
    padding-left: 5px;
    font-size: 1.2em;
    color: rgb(80, 80, 80);
}

i.margin-right {
    margin-right: 20px;
}

/* Kacheln */

.kachelseite {
    padding: 60px 80px;
}

.kachel-container {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    cursor: default;
    z-index: 50;
    transition: box-shadow .3s, background-color .3s;
    box-shadow: 2px 2px 10px #ddd;
    margin-top: 5px;
    margin-bottom: 15px;
    padding-top: 15px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    min-height: 100px;
}

    .kachel-container.pointable {
        cursor: pointer;
    }

    .kachel-container:hover {
        background-color: rgba(140, 170, 110, 0.1);
        /*box-shadow: 0 0 6px rgba(140, 170, 110, 1);*/
        border-color: rgb(140, 170, 110);
        color: rgb(140, 170, 110);
    }

    .kachel-container i.large {
        font-size: 2.6em !important;
    }

    .kachel-container .title {
        padding-top: 0.9em;
    }

    .kachel-container .title span {
        font-size: 1.5em !important;
    }

    .kachel-container a {
        z-index: 55;
    }

    .kachel-container .kachel-titel,
    .kachel-header .kachel-titel {
        font-size: 1.3em;
        font-weight: bold;
    }

    .kachel-container .kachel-ort,
    .kachel-header .kachel-ort {
        font-style: italic;
        font-weight: bold;
    }

    .kachel-container .kachel-ort-anschrift,
    .kachel-header .kachel-ort-anschrift {
        font-weight: normal;
    }

    .kachel-container .kachel-functions.padding-top {
        padding-top: 25px;
    }

    .kachel-container .kachel-functions button,
    .kachel-container .kachel-functions a.btn,
    .button-leiste button, .button-leiste a.btn, .button-leiste input[type='button'], .button-leiste input[type='submit'] {
        width: 100%;
        margin-top: 5px;
    }

    .kachel-container.kachel-inaktiv {
        opacity: 0.5;
        font-style: italic;
    }

    .kachel-container .kachel-text {
        height: 80px;
        overflow: hidden;
    }

/* Ende Kacheln */

/* Bootstrap Extension */

/* Drop Down Submenu Extensions*/

.dropdown-menu .sub-menu {
    left: 100%;
    position: absolute;
    top: 0;
    visibility: hidden;
    margin-top: -1px;
}

.dropdown-menu li:hover .sub-menu {
    visibility: visible;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu {
    margin-top: 0;
}

.navbar .sub-menu:before {
    border-bottom: 7px solid transparent;
    border-left: none;
    border-right: 7px solid rgba(0, 0, 0, 0.2);
    border-top: 7px solid transparent;
    left: -7px;
    top: 10px;
}

.navbar .sub-menu:after {
    border-top: 6px solid transparent;
    border-left: none;
    border-right: 6px solid #fff;
    border-bottom: 6px solid transparent;
    left: 10px;
    top: 11px;
    left: -6px;
}

.dropdown-menu > li.nav-form-link > form {
    width: 100%;
}

    .dropdown-menu > li.nav-form-link > form > a {
        display: block;
        padding: 3px 20px;
        clear: both;
        font-weight: 400;
        line-height: 1.42857143;
        color: #333333;
        white-space: nowrap;
    }

        .dropdown-menu > li.nav-form-link > form > a:hover,
        .dropdown-menu > li.nav-form-link > form > a:focus {
            color: #262626;
            text-decoration: none;
            background-color: #f5f5f5;
        }


/* Landscape phones and portrait tablets */
@media (max-width: 767px) {

    .navbar-nav li.dropdown a[data-toggle] {
        display: none;
    }

    .navbar-nav ul.dropdown-menu {
        display: block;
        position: static;
        float: none;
        width: auto;
        background-color: transparent;
        border: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    .navbar-nav a.navbar-mobile {
        display: block;
        padding-bottom: 0px;
    }

    .navbar-nav ul.dropdown-menu a:hover {
        background-color: transparent;
    }

    a.menu-item, a.menu-item:active {
        color: #9d9d9d !important;
    }

        a.menu-item:hover, a.menu-item:focus {
            color: #fff !important;
        }

    .form-horizontal .checkbox {
        padding-top: 0;
    }

    label.control-label {
        margin-bottom: 0;
        margin-top: 5px;
    }
}

/* End Drop Down Submenu Extension */

.pager {
    padding-left: 0;
    margin: 20px 0;
    text-align: center;
    list-style: none;
}

    .pager li {
        display: inline;
    }

ul.pager li.active > span {
    background-color: #999;
    color: white;
}

.pager li > a, .pager li > span {
    display: inline-block;
    padding: 5px 14px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 15px;
}


/* Button with glyphicon Extensions */

button.btn i.glyphicon, a.btn i.glyphicon {
    margin-right: 10px;
}

    button.btn i.glyphicon.no-right-gap, a.btn i.glyphicon.no-right-gap {
        margin-right: unset;
    }

i.glyphicon.impersonate {
    position: absolute;
    margin-right: 0px;
    color: lightcoral;
}

button.btn i.glyphicon.impersonate {
    left: 16px;
    top: 10px;
}

a .glyphicon.impersonate {
    left: 8px;
    top: 19px;
}

span.impersonate {
    position: absolute;
    left: 23px;
    top: 27px;
    font-size: 0.7em;
    color: lightcoral;
    white-space: nowrap;
}

button.btn-impersonated {
    background-color: rgba(240, 128, 128, 0.3);
}

.checkbox {
    padding-left: 20px;
}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {

    a .glyphicon.impersonate {
        left: 7px;
        top: 14px;
    }

    span.impersonate {
        position: absolute;
        left: 24px;
        top: 22px;
        font-size: 0.7em;
    }
}

/* End Button with glyphicon Extensions */

.vh-100-50 {
    height: calc(100vh - 100px) !important;
}

.h-100-50 {
    height: calc(100% - 100px) !important;
}

.clickable {
    cursor: pointer;
}

.kb-hidden {
    display: none;
}

/* End Bootstrap Drop Down Submenu Extension */

/* Header - Logo */

.header-logo {
    position: relative;
    width: 220px;
    height: 150px;
}

    .header-logo a {
    }

    .header-logo img {
        position: absolute;
        height: 100%;
        border: none;
        background-color: #fff;
    }

        .header-logo img.mobile {
            display: none;
        }

.footer-image {
    height: 50px;
}

.footer-image img {
    height: 100%;
    filter: brightness(150%);
}

.footer-link {
    font-size: 1em;
}

@media (max-width: 767px) {
    .header-logo {
        height: 50px;
    }

        .header-logo a {
            /*width: 53px;*/
            width: 108px;
            height: 51px;
        }

            .header-logo a img {
                display: none;
            }

                .header-logo a img.mobile {
                    display: block;
                }

    .footer-image {
        height: 30px;
    }

    .footer-link {
        font-size: 0.8em !important;
    }

    a.nav-link {
        margin-left: 0px;
        margin-right: 0px;
        font-size: 1em;
    }

        a.nav-link.active {
            color: rgb(140, 170, 110) !important;
            border-bottom: none;
        }

    .main {
        padding-left: 15px;
    }

    .main-subtitle {
        font-size: 1.1em;
    }

    .kachelseite {
        padding: 10px 20px;
    }
}

@media (min-width: 576px) and (max-width: 956px) {

    .header-logo {
        width: 100px;
        height: 75px;
    }

    .footer-image {
        height: 40px;
    }

    .footer-link {
        font-size: 0.9em !important;
    }

    a.nav-link {
        margin-left: 15px;
        margin-right: 15px;
        font-size: 1.2em;
    }

    .ddm {
        right: 15px;
        width: calc(100% - 30px);
    }

    .main {
        padding-left: 30px;
    }

    .kachelseite {
        padding: 30px 40px;
    }
}

/* Ende Header - Logo */
