﻿.navbar-custom .navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand-nfz img {
    margin-left: 20px;
}

@media (min-width: 1200px) and (max-width: 1400px) {
    .navbar-custom > .container {
        justify-content: center;
    }
    .navbar-custom .navbar-collapse {
        flex-grow: 0;
    }
    .navbar-custom .navbar-nav {
        margin-left: 0 !important;
    }
}

@media (max-width: 1199.99px) {
    .navbar-custom > .container {
        justify-content: flex-start;
    }
    .navbar-custom .navbar-brand-nfz {
        order: 1;
        margin-left: auto;
    }
    .navbar-custom .navbar-toggler {
        order: 2;
        border: none;
    }
    .navbar-custom .navbar-toggler:focus,
    .navbar-custom .navbar-toggler:focus-visible {
        box-shadow: none;
        outline: none;
    }
    .navbar-custom .navbar-collapse {
        order: 3;
    }
}

@media (max-width: 991.91px) {
    .navbar-custom .navbar-brand:first-child {
        flex: 0 0 100%;
    }
}

@media (max-width: 575.99px) {
    .navbar-brand-nfz img {
        margin-left: 0;
    }
    .navbar-brand-nfz {
        margin-right: 0;
    }
}

.navbar-custom {
    background-color: white;    
    font-size: 0.9em;
    font-weight: 400;
    padding-top: 8px;
    padding-bottom: 8px;
}

/* change the brand and text color */
/*.navbar-custom .navbar-brand,
.navbar-custom .navbar-text {
    color: rgba(255,255,255,.8);
}*/
/* change the link color */
.navbar-custom .navbar-nav .nav-link {
    color: #5D8131;
    font-size: 1.0em !important;
    white-space: nowrap;
}
/* change the color of active or hovered links */
.navbar-custom .nav-item.active .nav-link,
.navbar-custom .nav-item:hover .nav-link li a {
    color: #5D8131;
    font-size: 1.0em !important;
}

span.anchor {
    margin-top: -82px;
    display: block;
    height: 82px;
    visibility: hidden;
    position: relative;
}

#map {
    width: 100%;
    height: 1000px;
    background-color: grey;
}

body, html {
    margin: 0;
    font: 300 20px/1.8 "Lato", sans-serif;
    color: #767676;
    position: relative;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.contentLight, .contentDark {
    padding: 100px 2%;
}

.contentLight {
    background-color: white;
    color: #767676;
    min-height: 30vh;
    text-align: justify;
}

.contentDark {
    background-color: #282E34;
    color: #ddd;
    text-align: left;
    min-height: 30vh;
}

.footer {
    padding: 30px 2% 10px 2%;
    background-color: #282E34;
    color: #ddd;
    text-align: center;
}

.footer a {
  color: #8AC2FF;
  text-decoration: none;
}

.footer a:hover {
  color: #8AC2FF;
  text-decoration: underline;
}

.image-start, .image-about, .image-nfz, .image-contact, .image-how-to-get {
    position: relative;
    opacity: 0.65;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.image-start {
    background-image: url("../assets/img/497836174.jpg");
    min-height: 100vh;
}

.image-about {
    background-image: url("../assets/img/542960774.jpg");
    min-height: 70vh;
}

.image-nfz {
    background-image: url("../assets/img/492653752.jpg");
    min-height: 70vh;
}

.image-contact {
    background-image: url("../assets/img/595098484.jpg");
    min-height: 70vh;
}

.image-how-to-get {
    background-image: url("../assets/img/544350926.jpg");
    min-height: 100vh;
}

.centerIt {    
    position: absolute;
    top: 50%;
    left: 50%;
}

.frameOnPicture {
    text-align: center;
    background-color: #111111;
    color: white;
    position: relative;
    left: -50%;
    top: -50%;
    border-color: white;
    border-style: solid;
    border-width: 1px;
    opacity: 0.8;
    font-size: 25px;
    letter-spacing: 10px;
    padding: 10px 18px;
}

h1 {
    text-align: center;
    letter-spacing: 10px;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    font-size: 46px;
    font-weight: 300;
    color: white;
    text-shadow: 4px 4px 4px black;
    position: relative;
    left: -50%;
    top: -50%;
}

h2 {
    text-align: center;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-size: 28px;
    font-family: 'Lato', sans-serif;
    color: #111;
}

/* Turn off parallax scrolling for tablets and phones */
@media only screen and (max-device-width: 1024px) {
    .image-start, .image-about, .image-nfz, .image-contact, .image-how-to-get {
        background-attachment: scroll;
    }
}

.znanylekarz-fallback {
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 420px;
}

.znanylekarz-profile {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
}

.znanylekarz-profile:hover {
    color: #000000;
    text-decoration: underline;
}

.znanylekarz-button {
    display: inline-block;
    padding: 12px 20px;
    background: #1e88e5;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.znanylekarz-button:hover {
    color: #fff;
    background: #1565c0;
    text-decoration: none;
}
