/*
ELEMENTE
 */

footer {
    margin-top: 0px;
}

hr.large {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

li:not(.nav-item) {
    list-style-type: circle;
}

a {
    color: #5d5d5d;
    text-decoration: underline;
}

a:hover {
    color: #005a5a;
    text-decoration: none;
}

a.btn,
a.nav-link {
    text-decoration: none;
}

.spacer-50 {
    display: block;
    height: 50px;
}

/*
NAVBAR
 */
nav .container,
nav .container ul.navbar-nav {
    max-height: 100%;
}

@media (min-width: 992px) {
    nav#mainNav {
        background-color: rgba(255, 255, 255, 0.9);
        z-index: 10;
        height: 75px;
        padding: 0;
    }

    nav#mainNav .navbar-nav > li.nav-item > a {
        color: #333;
    }

    nav#mainNav .navbar-nav > li.nav-item > a:hover,
    nav#mainNav .navbar-nav > li.nav-item > a:focus {
        color: #0085a1;
    }

    nav li.dropdown:hover .dropdown-menu {
        display: block;
    }

    nav .dropdown-menu {
        background-color: rgba(255, 255, 255, 0.9);
        border: none;
        font-size: 14px;
        top: 75px;
        padding: 5px 13px;
        /* white-space: nowrap; */
    }

    nav .margin {
        margin-top: 16px;
    }

    .navbar-light .navbar-nav .nav-link:hover {
        color: #0085a1;
    }

    nav .dropdown-menu.column-menu {
        column-count: 4;
        min-width: 750px;
        /* height: 250px; */
        /* column-fill: auto; */
    }

    nav .dropdown-menu.column-menu a.nav-link {
        display: inline-block;
        width: 100%;
    }

    nav .nav-item > a {
        padding: 30px 15px !important;
    }

    nav .dropdown > span {
        display: none;
    }

    .navbar-nav .dropdown-menu .nav-link.separator {
        border: 1px solid #fedc00;
    }
}

@media (max-width: 991.9px) {
    nav .dropdown-toggle::after {
        display: none;
    }

    nav .dropdown > a {
        display: inline-block;
        width: 85%;
    }

    nav .dropdown > span:hover {
        cursor: pointer;
    }

    nav .dropdown > span {
        color: rgba(0, 0, 0, 0.5);
        font-size: 12px;
        padding: 10px;
    }

    nav .dropdown .dropdown-menu {
        border: none;
        font-size: 14px;
        padding: 0px 10px;
    }

    nav .dropdown .nav-link {
        padding: 5px 0px;
    }

    nav .nav-item {
        padding: 7px 0px;
    }
}

/*
BUTTONS
 */

.btn.btn-primary {
    background-color: #fedc00;
    border-color: #fedc00;
}

.btn.btn-primary:hover {
    background-color: #005a5a !important;
    border-color: #005a5a !important;
}

/*
KONTAKTBANNER
 */
.contact-banner {
    text-align: center;
    padding: 50px 80px;
    margin-top: 50px;
    background-position: top;
    background-size: cover;
}

/*
ICONS STARTSEITE
 */
.frontpage
    div.toolbox-element.toolbox-columns.type-column_6_6.equal-height
    > div
    > div:nth-child(2)
    > div
    > div
    > div
    > div
    > div
    > img {
    max-width: 60%;
}

.frontpage .toolbox-image {
    margin: 25px 0px;
    text-align: center;
}

.frontpage .toolbox-image.icon img {
    max-width: 40%;
    margin-bottom: 25px;
}

.frontpage .toolbox-image.image img {
    max-width: 70%;
}

/*
FOOTER
 */
footer li {
    list-style-type: none !important;
}

/*
ACCORDION
 */
.accordion {
    margin: 30px 0px;
}

/*
CONTENT
 */
.content ul {
    margin: 30px 0px;
}

/*
TOOLBOX
 */
.atarax-teaser {
    padding: 20px 10px;
}

.atarax-teaser a.btn {
    float: right;
}

.atarax-teaser img {
    margin-bottom: 30px;
}

/*
IMAGE CAROUSEL
 */
.image-carousel {
    padding: 30px 0px;
    min-height: 250px;
}

.image-carousel .carousel-control-next-icon,
.image-carousel .carousel-control-prev-icon {
    color: #000;
}

@media (max-width: 767.9px) {
    .image-carousel .carousel-item {
        padding: 0px 80px;
    }

    .image-carousel img {
        margin-bottom: 30px;
    }
}

/*
REFERENCE GALLERY
 */
.reference-gallery {
    padding: 80px 0px;
}

.reference-gallery .reference-item {
    background-color: #fff;
    padding: 10px;
    margin: 20px 0px;
}

/* Cookies */
#pc-cookie-notice {
    background: #fff !important;
    border-top: 1px solid #aaa !important;
    color: #333 !important;
}

#pc-cookie-notice #pc-button button {
    font-weight: normal !important;
    background-color: #fedc00 !important;
    border: 0 !important;
    border-radius: 0 !important;
}

#pc-cookie-notice #pc-button button:hover {
    background-color: #005a5a !important;
    color: #fff;
    cursor: pointer;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/*
UTILITIES
*/
.cursor-pointer {
    cursor: pointer;
}

/*
FORM
*/
.control-group {
    margin-bottom: 0.5rem;
}

.control-group.select label {
    font-size: 11.9px;
}

select.form-control {
    padding: 0;
    cursor: pointer;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #ced4da;
    font-size: 21px;
}

select.form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

/* Popup Snippet */
.popup {
    background-color: rgba(241, 196, 15, 0.95);
    color: #212529;
    position: absolute;
    top: -200px;
    right: 50px;
    border-radius: 5px;
    padding: 10px;
    font-size: 14px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -4px rgba(0, 0, 0, 0.1);

    -webkit-animation: slide 0.5s forwards;
    -webkit-animation-delay: 0.5s;
    animation: slide 0.5s forwards;
    animation-delay: 0.5s;
}

.popup.hide {
    -webkit-animation: slide-out 0.5s forwards;
    animation: slide-out 0.5s forwards;
}

@-webkit-keyframes slide {
    100% {
        top: calc(50px + 75px);
    }
}

@keyframes slide {
    100% {
        top: calc(50px + 75px);
    }
}

@-webkit-keyframes slide-out {
    0% {
        top: calc(50px + 75px);
    }
    100% {
        top: -200px;
    }
}

@keyframes slide-out {
    0% {
        top: calc(50px + 75px);
    }
    100% {
        top: -200px;
    }
}

.popup > .__header {
    display: flex;
    align-items: start;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
}

.popup .__header .__content {
    flex: 1;
}

.popup .__header .__icon {
    display: none;
}

.popup .__body .__content {
    text-align: center;
}

.popup .__body .__content .__icon {
    margin: 5px 0px;
}

.popup .__body .__content .__icon span {
    background-color: #fff;
    height: 40px;
    width: 40px;
    border-radius: 80%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.popup .__body .__content .__icon img {
    height: 30px;
}

@media (max-width: 992px) {
    .popup {
        transform: translateX(-50%);
        left: 50%;
        width: 90%;
    }

    .popup .__header .__icon {
        display: block;
    }
}

h1,
h2,
h3 {
    -webkit-hyphens: auto;
    -webkit-hyphenate-limit-before: 3;
    -webkit-hyphenate-limit-after: 3;
    -webkit-hyphenate-limit-chars: 6 3 3;
    -webkit-hyphenate-limit-lines: 2;
    -webkit-hyphenate-limit-last: always;
    -webkit-hyphenate-limit-zone: 8%;

    -moz-hyphens: auto;
    -moz-hyphenate-limit-chars: 6 3 3;
    -moz-hyphenate-limit-lines: 2;
    -moz-hyphenate-limit-last: always;
    -moz-hyphenate-limit-zone: 8%;

    -ms-hyphens: auto;
    -ms-hyphenate-limit-chars: 6 3 3;
    -ms-hyphenate-limit-lines: 2;
    -ms-hyphenate-limit-last: always;
    -ms-hyphenate-limit-zone: 8%;

    hyphens: auto;
    hyphenate-limit-chars: 6 3 3;
    hyphenate-limit-lines: 2;
    hyphenate-limit-last: always;
    hyphenate-limit-zone: 8%;
}
