/* better mobile nav */
.navbar-fixed-top .navbar-collapse {
    max-height: calc(100vh - 100px);
}

@media (max-width: 767px) {
    .nav-mobile .navbar-fixed-top {
        overflow-y: hidden;
    }

    .nav-mobile .navbar-collapse {
        margin-top: 60px;
    }
    .visible-sm {
        display: inline-block !important;
    }
}

html,
body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

#page-wrapper {
    overflow: auto;
    height: calc(100% - 80px);
    position: fixed;
}

@media (min-width:768px) {
    .nav-in #page-wrapper {
        width: calc(70% - 1px);
    }
    .visible-sm {
        display: none !important;
    }
}

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: white;
}

.containerSearch {
	padding-top: 12px;
}	

.popover.top>.arrow:after {
    border-top-color: #4B4B4D;
}

#content {
    min-height: calc(100vh - 130px);
}

.navbar{
    background-color: #28323C;
}

.navbar-header {
    width: 100%;
    overflow: visible;
}

.navbar-brand {
    width: 75%;
	text-decoration: none;
}

.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;
    display: none !important;
}

.popover-content {
    padding: 0px;
}

.popover-content .form-control {
    width: 85%;
    float: left;
    height: 40px;
}

.popover-content .btn {
    width: 15%;
    float: right;
    margin: 0;
    height: 40px;
}

.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;
}

.fro-icon-white{
    color: white !important;
}

@media (min-width:767px) {
    .button-container {
        display: none;
    }
}

@media (max-width:767px) {

    .ul-languages {
        right: 0;
        left: 0;
    }

    #content {
        padding-top: 5px;
    }

    .nav-mobile button.navButtonHeader {
        display: none;
    }
    .button-group{
        display: none !important;
    }
    .zeile {
        display: flex !important;
    }
    .button-container {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        display: flex;
        height: 60px; /* Feste Höhe, die den Bereich abdeckt */
        z-index: 1000; /* Stellt sicher, dass die Buttons über dem Content liegen */
    }

    .mobile-button {
        flex-grow: 1; /* Buttons wachsen gleichmäßig */
        padding: 18px 0;
        border-width: 1px 1px 1px 1px;
        border-style: solid;
        border-color: #A9ADB1;
        cursor: pointer;
        font-size: 16px;
        background-color: inherit;
    }

}

/* 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;
}

/* #menu {
    display: none;
}

#menu.menu-open {
    display: block;
    padding-left: 1px;
    padding-right: 1px;
} */


.logo-desktop {
  display: inline !important;
}

.logo-mobile {
  display: none !important;
}

/* Smartphone */

@media (max-width: 767px) {
    .nav-mobile .navbar-header {
        background-color: #4b4b4d;
        border-color: #333;
    }

    .side-nav {
        padding-bottom: 50px;
    }
	
  .logo-desktop {
    display: none !important;
  }
  .logo-mobile {
    display: inline !important;
  }
}

@media (max-width: 431px) {
  .language-down {
    margin-left: 4px;
  }
  .navbar-brand {
	width: 150px !important;
  }
}

/* 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;
		/* width: calc(30vw - 1px); */
    }

    #menu {
        border-bottom: 0;
    }
}

.search-results a h4{
    color: #0080FF !important;
    font-weight: bold;
}

.search-results a:hover h4{
		color: #0080FF;
    text-decoration: underline;
}