html, body {
    height: 100%;
}

.carousel-inner > .item {
    position: relative;

    -webkit-transition: 0.9s ease-in-out left;
    -moz-transition: 0.9s ease-in-out left;
    -o-transition: 0.9s ease-in-out left;
    transition: 0.9s ease-in-out left;
}

body {
    background-color: #ddd;
    color: #8b8b8b;
    font-size: 14px;
    overflow-y: scroll;

}

body,
input,
button,
select,
textarea,
.navbar-search .search-query {
    font-family: 'Open Sans', sans-serif;
}

a {
    outline: 0;
}

a:hover, a:active, a:focus {
    outline: 0;
}

input::-moz-focus-inner {
    border: 0;
}

object, embed {
    outline: 0;
}

.h3, h3 {
    font-size: 14px;
    font-weight: bold;
}

strong {
    color: #7f7f7f;
    font-weight: 600;
    font-size: 15px;
}

hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #deaf19;
}


.contact-form-group > .row > .form-group > label {
    font-weight: normal;
}


.form-control {
    border-radius: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(222, 175, 25, .075);

}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
    color: #7b7b7b;
}

.form-control:focus {
    border-color: #deaf19;
}

a.btn-light-blue {
    background-color: #9cbedc;
    text-decoration: none;
    color: #fff;
    padding: 2px 5px;
    transition: 0.2s;

}

a.btn-light-blue:focus, a.btn-light-blue:hover {
    background-color: #659fd2;
    color: #fff;
}

a.btn-blue {
    background-color: #b2b2b5;
    text-decoration: none;
    color: #fff;
    padding: 2px 5px;
    transition: 0.2s;
    line-height: 22px;

}

a.btn-blue:focus, a.btn-blue:hover {
    background-color: #c1c1c1;
    color: #fff;
}

.btn-primary {
    background-color: #b1b1b1;
    border-color: #c1c1c1;
    padding: 2px 5px;
    display: inline-block;
    margin: 5px 0;
}

.btn-primary:hover {
    background-color: #c1c1c1;
    border-color: #b1b1b1;
}

.btn-orange {
    background-color: #deaf19;
    border-color: #e4b930;
}

.btn-orange:hover {
    background-color: #e4b930;
    border-color: #deaf19;
}

.btn-white {
    background-color: #f9f9f9;
    border-color: #e3e3e3;
}

.btn-white:hover {
    background-color: #fff;
    border-color: #f3f3f3;
}

ul.prm-list {
    margin-top: 20px;
    padding-left: 20px;
}

.prm-list li {
    margin-bottom: 10px;
}

.content {
    z-index: 2;
}

.top {
    position: relative;
    background-color: #FAFAFA;
    height: 55px;
}

.top h1 {
    color: #888;
    text-align: center;
    font-size: 19px;
    font-weight: normal;
    letter-spacing: 1.5px;
}

.top span {
    color: #888;
}

#background-img {
    display: none;
}

.logo {
    width: 13em;
    float: left;
    margin-top: 30px;
}

.logo-2 {
    opacity: 1;
    -moz-transition: all 0.3s ease-in;
    -webkit-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
}

.logo-2:hover {
    opacity: 1;
    -moz-transition: all 0.5s ease-in;
    -webkit-transition: all 0.5s ease-in;
    -o-transition: all 0.5s ease-in;
    transition: all 0.5s ease-in;
}

.hours {
    background-color: #636363;
    /* border: 1px solid #fff; */
    padding: 5px 10px 5px;
    color: #eee;
    float: right;
    border-top: 0;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.hours strong {
    color: #fff;
    font-weight: 400;
    font-size: 13px;
}

.hours span, .hours a {
    color: #f9b900;
}

.hours a:hover {
    text-decoration: none;
}

.hours:hover {
    background-color: #999;
}

.home-boxes {
    margin-top: 18%;
    position: relative;
}

.home-award {
    display: block;
}

.home-award img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 3px 3px 20px -3px rgba(51, 51, 51, 0.85);
    transition: opacity 0.2s ease-in-out;
}

.home-award:hover img,
.home-award:focus img {
    opacity: 0.88;
}

.home-award--desktop {
    position: relative;
    z-index: 3;
    float: left;
    width: 108px;
    height: 180px;
    margin: 0 15px 60px;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid rgb(209, 59, 44);
    background-color: #fff;
    box-shadow: 3px 3px 20px -3px rgba(51, 51, 51, 0.85);
}

.home-award--desktop img {
    border: 0;
    box-shadow: none;
}

.home-award--mobile {
    display: none;
}

.home-boxes .box {
    color: #333;
    background-color: rgba(233, 233, 233, 1);
    border: 1px solid #eee;
    margin: 0px 15px 60px;
    width: 16em;
    float: left;
    min-height: 180px;
    position: relative;
    font-size: 14px;
    -webkit-box-shadow: 3px 3px 20px -3px rgba(51, 51, 51, 1);
    -moz-box-shadow: 3px 3px 20px -3px rgba(51, 51, 51, 1);
    box-shadow: 3px 3px 20px -3px rgba(51, 51, 51, 1);
}

/*.home-boxes .box:hover{
	background-color: #fafafa;
	-moz-transition: all 0.1s ease-in;
	-webkit-transition: all 0.1s ease-in;
	-o-transition: all 0.1s ease-in;
	transition: all 0.1s ease-in;
}*/

.box a {
    color: #333;
}

.box .more-info {
    width: 100%;
    height: 25px;
    background-color: #dfb01a;
    display: block;
    position: absolute;
    bottom: 0;
}

.more-info a {
    line-height: 24px;
    color: #fff;
    float: right;
    margin-right: 5px;
    font-size: 25px;
}

.more-info a:hover {
    text-decoration: none;
    color: #888;
}

.home-boxes h2 {
    font-size: 14px;
    margin: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #deaf19;
    text-transform: uppercase;
}

footer {
    margin: 20px 0;
}

footer a {
    color: #fff;
    margin: 10px 0;
    font-size: 14px;
    font-weight: bold;
}

hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #deaf19;
}

footer a:hover {
    color: #fff;
}


/*** NAVBAR ***/
.navbar {
    margin-bottom: 0;
    min-height: 0;
    border-radius: 0px;
    margin-bottom: 30px;
    background-color: rgba(233, 233, 233, 1);
}

.nav > li > a:hover,
.nav > li > a:focus {
    text-decoration: none;
    background-color: #fff;
}

.navbar-default {
    border-color: transparent;
    -webkit-box-shadow: 3px 3px 20px -3px rgba(51, 51, 51, 1);
    -moz-box-shadow: 3px 3px 20px -3px rgba(51, 51, 51, 1);
    box-shadow: 3px 3px 20px -3px rgba(51, 51, 51, 1);
}

.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border-color: transparent;
    margin: 0;
}

.container-fluid > .navbar-collapse, .container-fluid > .navbar-header, .container > .navbar-collapse, .container > .navbar-header {
    margin: 0px;
}

.navbar-collapse {
    padding: 0;
    border: none;
}

.navbar-default .navbar-toggle {
    border: 0;
    margin: 5px;
    padding: 5px;
    background-color: transparent;
    border-radius: 0;
    color: #aaa;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background-color: transparent;
}

.navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 3px;
    border-radius: 1px;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #deaf19;
}

.navbar-nav > li {
    float: none;
}

.navbar-default .navbar-nav > li > a {
    display: block;
}

.container-fluid {
    padding-right: 0px;
    padding-left: 0px;
}

.navbar-nav > li > a {
    padding: 0 0 0 20px;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

.navbar-nav {
    margin: 0 0 15px;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    background-color: #fff;
    border-bottom: 1px solid #ddd;

}

.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    -moz-transition: all 0.1s ease-in;
    -webkit-transition: all 0.1s ease-in;
    -o-transition: all 0.1s ease-in;
    transition: all 0.1s ease-in;

}

.navbar-nav span {
    display: block;
    font-size: 14px;
    color: #deaf19;
    letter-spacing: 1px;
    margin: 10px 10px 5px;
    font-weight: bold;
    text-transform: uppercase;
}


/*** Background Slider***/
.slide-control {
    width: 100px;
    position: fixed;
    right: 50px;
    height: 100px;
    bottom: 50px;
}

.carousel-control.left, .carousel-control.right {
    background-image: none;
}

.carousel-control .icon-prev, .carousel-control .icon-next {
    width: 30px;
    height: 30px;
    margin-top: -15px;
    font-size: 60px;
    font-weight: bold;
}

.carousel-control .icon-prev:hover, .carousel-control .icon-next:hover {
    color: #deaf19;
}

/*** Under Pages***/
.content-page {
    margin: 50px auto 20px;
}

.page {
    background-color: rgba(255, 255, 255, 1);
    padding: 10px 20px 30px;
    -webkit-box-shadow: 3px 3px 20px -3px rgba(51, 51, 51, 1);
    -moz-box-shadow: 3px 3px 20px -3px rgba(51, 51, 51, 1);
    box-shadow: 3px 3px 20px -3px rgba(51, 51, 51, 1);
}

.page p {
    margin-bottom: 10px;
}

img.team {
    width: 190px;
    margin: 0 0 10px 10px;
}

.page h2 {
    color: #deaf19;
    font-size: 18px;
    padding-bottom: 25px;
    text-transform: uppercase;
    border-bottom: 1px solid #deaf19;
}

.page h4 {
    color: #9f9f9f;
    font-size: 14px;
}

.page footer {
    margin: 20px 0;
    position: absolute;
    bottom: 0;
}

img.logo-2 {
    opacity: 0.7;
}

.page a {
    color: #333;
}

.page .nav > li > a:focus, .page .nav > li > a:hover {
    text-decoration: none;
    background-color: transparent;
}

.page .nav > li > a {
    position: relative;
    display: block;
    padding: 0;
    color: #9f9f9f;
    font-size: 12px;
    font-weight: 600;
}

.page .nav > li > a:focus, .page .nav > li > a:hover {
    text-decoration: none;
    background-color: transparent;
    border-bottom-color: #f9b900;
}

.page-tabs > li {
    float: left;
    margin-bottom: -1px;
    border-right: 1px solid #f9b900;
    margin-right: 7px;
    margin-top: 5px;
}

.page-tabs > li > a {
    margin-right: 7px;
    border-bottom: 2px solid #ddd;
}


/* LAGEPLAN */

img.lageplan:hover {
    opacity: 0.83;
}

/*** Publications ***/
ul.pubs {
    padding-left: 20px;
}

ul.pubs li {
    border-bottom: 1px solid #ddd;
    padding: 10px;
}

.certificate-card {
    max-width: 520px;
    margin: 30px auto 0;
    text-align: center;
}

.certificate-card a {
    display: block;
}

.certificate-card img {
    width: 100%;
}

.certificate-card figcaption,
.jameda-certificates figcaption {
    margin-top: 7px;
    color: #8b8b8b;
    font-size: 12px;
}

.jameda-certificates {
    clear: both;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #deaf19;
}

.jameda-certificates figure {
    width: 150px;
    margin: 15px 0 0;
    text-align: center;
}

.jameda-certificates figure a {
    display: block;
}

.lightbox-gallery-item {
    display: none;
}

/*** Panels***/
.panel-doctors {

}

.panel-doctors > .panel-default {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.panel-doctors > .panel-default > .panel-heading {
    border-bottom: 1px solid #deaf19;
    border-top: 1px solid #deaf19;
    background-color: transparent;
}

h4.panel-title {
    color: #deaf19;
    font-size: 14px;
    line-height: 24px;
}

.panel-doctors > .panel-default > .panel-collapse > .panel-body {
    border-top: 0;
}

.panel-title > a {
    text-transform: uppercase;
}


/*** Footer ***/
.footer-wide {
    display: none;
}

.footer-small {
    display: block;
}

/*** Media Queries ***/
@media screen and (max-width: 767px) {
    body {
        font-size: 13px;
    }

    #background-img {
        display: block;
    }

    #myCarousel {
        display: none;
    }

    .top h1 {
        margin-top: 15px;
        font-size: 18px;
        line-height: 15px;
    }

    .top span {
        display: block;
    }

    .header#myCarousel {
        bottom: 0;
    }

    .hours span {
        display: block;
    }

    .home-boxes {
        width: 100%;
        position: relative;
    }

    header .col-md-12 {
        position: relative;
    }

    .home-award--desktop {
        display: none;
    }

    .home-award--mobile {
        display: block;
        position: absolute;
        z-index: 3;
        top: 0;
        right: 16px;
        width: 50px;
        height: 82px;
        overflow: hidden;
        box-sizing: border-box;
        border: 1px solid rgb(209, 59, 44);
        background-color: #fff;
        box-shadow: 3px 3px 20px -3px rgba(51, 51, 51, 0.85);
    }

    .home-award--mobile img {
        border: 0;
        box-shadow: none;
    }

    .home-boxes .box {
        background-color: rgba(233, 233, 233, 1);
        margin: 10px 20px 10px 0px;
        width: 100%;
        float: none;
        min-height: auto;
        padding-bottom: 10px;
    }

    .box .more-info {
        width: 45px;
        height: 25px;
        background-color: #dfb01a;
        display: block;
        position: absolute;
        bottom: 0;
        right: 0;
    }

    .home-boxes h2 {
        font-size: 17px;
    }

    .navbar-nav > li > a {
        padding: 0 0 0 20px;
        border-bottom: 1px solid transparent;
        line-height: 25px;
        margin: 5px 0;
    }

    ach unten mit Abstand zueinander.
    .sidebar {
        display: inherit;
    }

    .navbar-header strong {
        font-size: 14px;
        padding-top: 10px;
        display: block;
        float: left;
        margin-left: 15px;
        color: #aaa;

    }

    .footer-wide {
        display: block;
    }

    .footer-small {
        display: none;
    }
}

@media screen and (min-width: 501px) and (max-width: 767px) {
    .home-award--mobile {
        top: 80px;
    }
}

@media screen and (min-width: 768px) {
    .sidebar {
        width: 182px;
    }

    .navbar-nav {
        float: none;
    }

    .navbar-header strong {
        display: none;
    }

    .page {
        margin-top: -75px;
        margin-left: 20px;
    }

    .hours span {
        font-size: 16px;
        display: flex;
        align-items: center;
    }

    .hours span i {
        font-size: 23px;
        margin-right: 5px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .home-award--desktop {
        margin-right: 4px;
        margin-left: 4px;
    }

    .home-boxes .box {
        width: 13em;
        margin-right: 4px;
        margin-left: 4px;
    }
}

@media screen and (min-width: 1416px) {
    .home-award--desktop {
        position: absolute;
        top: 0;
        left: -123px;
        float: none;
        margin: 0;
    }
}

@media (max-width: 500px) {
    .container {
        padding: 0;
    }

    .col-md-12 {
        padding: 0;
    }

    .top h1 {
        text-align: left;
        font-size: 13px;
        margin-top: 20px;
        letter-spacing: 0.4px;
    }

    .top span {
        display: none;
    }

    .logo {
        width: 100px;
        margin-top: 20px;
        margin-left: 15px;
        float: none;
    }

    .hours {
        float: none;
        margin: 46px 12px 0px;
        font-size: 12px;
        border-radius: 5px;
    }

    .hours strong {
        font-size: 12px;
    }

    .home-boxes {
        padding-top: 0;
        margin-top: 60px;
    }

    footer {
        margin: 10px 0 0px;
    }

    footer a {
        float: right;
    }


}


.lb-data .lb-number {
    display: none !important;
}

.content-img {
    max-width: 320px;
}

.cc-banner.cc-bottom {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 5px 5px 15px;
    font-size: 14px;
    line-height: 15px;
}

.cc-banner .cc-btn:last-child {
    min-width: auto;
    padding: 5px;
}

.flex-container {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.flex-container a {
    /*flex: 1 1 auto;*/
    text-align: center;
}

.flex-container img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    .flex-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .flex-container a {
        margin-bottom: 10px;
    }
}

.g3-border {
    border: 1px solid #e0e0e0;
}


.flex-container-figure {
    margin-top: 30px;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
}

.flex-container-figure figure {
    text-align: center;
    /*flex: 1 1 calc(50% - 10px);*/
    margin: 5px;
}

.flex-container-figure img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
}

.flex-container-figure figcaption {
    margin-top: 5px;
    font-size: 1.24rem;
    /*color: #555;*/
}

@media (max-width: 991px) {
    .flex-container-figure figure {
        /*flex: 1 1 100%;*/
    }
}

.g3-btn {
    background-color: grey; /* Initial grey color */
    border: none;
    padding: 6px 20px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    animation: blink-effect 1s infinite; /* Apply blinking effect */
}

/* Blinking animation */
@keyframes blink-effect {
    0%, 100% {
        background-color: grey; /* Start and end with grey */
    }
    50% {
        background-color: #deaf19; /* Yellow at the midpoint */
    }
}
