﻿body {
    /*    padding-top: 50px;
    padding-bottom: 20px;
*/ font-family: "Futura Std" !important;
    position: relative;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

#mainLoader {
    z-index: 99999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(32, 35, 42, 0.3);
    overflow: hidden;
    outline: 0;
}

    #mainLoader img {
        position: absolute;
        width: 200px;
        height: 200px;
        left: calc((50%) - 100px);
        top: calc((50%) - 100px);
        opacity: 1;
    }

.typeahead a.dropdown-item {
    color: #212529 !important;
}

/* 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;
}

    textarea.min-height {
        min-height: 60px;
    }

    textarea.min-height {
        max-height: 160px;
    }

h1.upper, h2.upper, h3.upper, h4.upper, h5.upper, h6.upper {
    text-transform: uppercase;
}

h1.standard, h2.standard, h3.standard, h4.standard, h5.standard, h6.standard {
    text-transform: none;
}

.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;
}

    .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 {
    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;
}


/* 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 */

/* End Bootstrap Drop Down Submenu Extension */


/* Header - Logo */

.header-logo {
    position: relative;
    /*width: 104px;*/
    height: 100%;
    width: auto;
    margin-top: -15px;
    margin-bottom: -15px;
}

    .header-logo a {
        /*width: 104px;*/
        width: 120px;
        height: 100px;
        margin-right: 30px;
    }

    .header-logo img {
        position: absolute;
        width: 100%;
        height: auto;
        border: none;
        background-color: #fff;
    }

        .header-logo img.mobile {
            display: none;
        }

@media (max-width: 767px) {

    .header-logo {
        /*width: 53px;*/
        width: 108px;
    }

        .header-logo a {
            /*width: 53px;*/
            width: 108px;
            height: 51px;
        }

            .header-logo a img {
                display: none;
            }

                .header-logo a img.mobile {
                    display: block;
                }
}

/* Ende Header - Logo */


@media (min-width: 1200px) {
    .container {
        width: 1370px !important;
    }
}

.fixed {
    position: fixed;
    top: 0;
    /*left: 0;*/
    /*width: 100%;*/
    background-color: white;
    z-index: 100;
}

a.dropdown-toggle::after {
    content: unset !important;
}

/* Translations  */

/*table.h-lines {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    border-collapse: collapse;
}

    table.h-lines th, table.h-lines td {
        border-top: 1px solid #333;
        border-bottom: 1px solid #333;
    }

table.translationtable tbody:hover > tr {
    background-color: transparent !important;
}
*/
table.translationtable td {
    font-size: 0.9em;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
}

    table.translationtable td.offen a {
        color: darkred;
    }

table.translationtable tr[data-culture] {
    display: none;
    background-color: rgba(127, 127, 127, 127);
}

    table.translationtable tr[data-culture] td {
        background-color: rgb(200, 200, 200);
    }

table.translationtable span.translation-culture {
    cursor: pointer;
    color: #337ab7;
}

table.translationtable td.translation-culture-label {
    text-align: right;
    padding-right: 1em;
    text-transform: uppercase;
}

/* Ende Translations  */

/* Tabs */

div.tab-content {
    margin-bottom: 10px;
}

div.tab-pane {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}

ul.nav-tabs > li.active > a, ul.nav-tabs > li.active > a:active {
    background-color: #eee !important;
}

/* Ende Tabs */


button.gap-left, a.gap-left, span.gap-left {
    margin-left: 20px;
}


div.sub-table.sub-table-row {
    padding-top: 3px;
    padding-bottom: 3px;
}

    div.sub-table.sub-table-row:hover {
        background-color: #7ac0da;
    }

div.sub-table.sub-table-header {
    font-size: 1em;
    text-align: left;
    border: none 0px;
    border-bottom: 1px solid #666;
    border-top: 1px solid #333;
    padding: 0.25em 0.5em 0.25em 0.25em;
}

.error {
    color: darkred;
}

.background-error {
    background-color: rgba(139, 0, 0, 0.2) !important;
}

/* text-dropdown */

*[data-display='none'] {
    display: none;
}

.text-dropdown select {
    width: calc(100% - 4px);
    margin-right: 3px !important;
}

.text-dropdown {
    position: relative;
}

    .text-dropdown i {
        position: absolute;
        right: 8px;
        /*content: "\25bc";*/
        color: #000;
        top: calc(25% + 2px);
        font-size: 0.9em;
        cursor: pointer;
    }

select.dropdown {
    position: absolute;
    left: 0px;
    border-color: #000;
    -webkit-box-shadow: 2px 2px 10px #666;
    -moz-box-shadow: 2px 2px 10px #666;
    box-shadow: 2px 2px 10px #666;
    z-index: 5;
    top: 27px;
}

/* Ende text-dropdown */

.small-label-container {
    margin-left: 5px;
    font-size: 0.9em;
}

*[data-has-sizetobig='true'] {
    background-color: #8b000072;
}

*[data-has-error='true'] {
    background-color: #ff000072;
}

*[data-upload-success='true'] {
    background-color: #17750172;
}
