/* better mobile nav */
.navbar-fixed-top .navbar-collapse {
    max-height: calc(100% - 60px);
}

@media (max-width: 767px) {
    .nav-mobile .navbar-fixed-top {
        overflow-y: hidden;
    }

    .nav-mobile .navbar-collapse {
        margin-top: 60px;
    }
}

html,
body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

#page-wrapper {
    overflow: auto;
    height: calc(100% - 100px);
    position: fixed;
}

@media (min-width:768px) {
    .nav-in #page-wrapper {
        width: calc(70% - 1px);
    }
}

footer {
    padding: 0;
}

.ul-languages li:hover{
	text-decoration: none;
}

.containerSearch .popover {
    top: auto !important;
    bottom: 60px !important;
    /*edit SH 2020-01-21*/
    background-color: #4B4B4D;
}

.popover.top>.arrow:after {
    border-top-color: #4B4B4D;
}

#content {
    min-height: calc(100vh - 160px);
}

.navbar{
    border-bottom: 3px solid #d73237;
}

.navbar-header {
    width: 100%;
}

.navbar-brand {
    width: 75%;
}

.navButtonHeader {
    height: 60px;
    width: 60px;
    font-size: 20px;
}

.side-nav li:last-child a {
    border: none;
}

footer .btn {
    height: 45px;
    width: 100%;
}

.noPadding {
    padding: 0;
}

.popover {
    position: fixed;
    max-width: inherit;
    width: calc(100% - 22px);
    left: 11px !important;
}

.popover .arrow {
    margin-left: -21px !important;
}

.popover-content .form-control {
    width: 80%;
    float: left;
    margin-bottom: 9px;
}

.popover-content .btn {
    width: 15%;
    float: right;
    margin: 0;
    height: auto;
}

.dropdown-menulinks {
    overflow: hidden;
    overflow-y: auto;
    max-height: 75vh;
}

.dropdown-languages {
    text-transform: uppercase;
}

.ul-languages {
    min-width: 159px;
    overflow: hidden;
    overflow-y: auto;
    max-height: 60vh;
}

.ul-languages::-webkit-scrollbar {
    width: 0.5em;
}

.ul-languages::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.ul-languages::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    outline: 1px solid slategrey;
}

@media (max-width:767px) {

    .ul-languages {
        right: 0;
        left: 0;
    }

    .nav-mobile button.navButtonHeader {
        display: none;
    }
}

/* Dropdown SubMenu */
.dropdown-submenu {
    position: relative;
    margin-bottom: 10px;
}

/*
.dropdown-submenu>.dropdown-menu {
    top:0;
    left:100%;
    margin-top:-6px;
    margin-left:-1px;
    -webkit-border-radius:0 6px 6px 6px;
    -moz-border-radius:0 6px 6px 6px;
    border-radius:0 6px 6px 6px;
}
.dropdown-submenu>a:after {
    display:block;
    content:" ";
    float:right;
    width:0;
    height:0;
    border-color:transparent;
    border-style:solid;
    border-width:5px 0 5px 5px;
    border-left-color:#cccccc;
    margin-top:5px;
    margin-right:-10px;
}
.dropdown-submenu:hover>a:after {
    border-left-color:#555;
}
.dropdown-submenu.pull-left {
    float:none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
    left:-100%;
    margin-left:10px;
    -webkit-border-radius:6px 0 6px 6px;
    -moz-border-radius:6px 0 6px 6px;
    border-radius:6px 0 6px 6px;
}
*/
/* imageviewer */
#iv-container {
    z-index: 10000;
}

.pointer {
    cursor: pointer;
}

/* Smartphone */
@media (max-width: 767px) {
    .nav-mobile .navbar-header {
        background-color: #4b4b4d;
        border-color: #333;
    }

    .side-nav {
        padding-bottom: 50px;
    }
}

/* remove btn focus */
.btn:focus,
.btn:active,
.open>.dropdown-toggle.btn-default {
    outline: none !important;
    box-shadow: none !important;
}

/* gr��er als  Smartphone */
@media (min-width: 768px) {
    .side-nav{
        top: 63px;
        border-top: 0;
        bottom: 45px;
    }

    #menu {
        border-bottom: 0;
    }
}

.search-results a h4{
    color: blue!important;
    font-weight: bold;
}

.search-results a:hover h4{
    text-decoration: underline;
}