body {
    background-color: white;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    overflow-y: scroll;
}

::-moz-selection {
    background:  #92e2dd;
    color: #212121;
}

::selection {
    background: #92e2dd;
    color: #212121;
}

.header {
    display: block;
    background-color: #73c7c1;
    height: 8rem;
    background-image: url("http://doktorstecka.pl/images/simone-van-der-koelen-HtDQ9Z64Vpo-unsplash.jpg");
    object-fit: cover;
    background-position: 25% 75%;
}

.hvr-fade {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    overflow: hidden;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-property: color, background-color;
    transition-property: color, background-color;
}

.hvr-fade:hover, .hvr-fade:focus, .hvr-fade:active {
    background-color: #92e2dd;
    color: black;
}

.hvr-sweep-to-right {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

.hvr-sweep-to-right:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #73c7c1;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.hvr-sweep-to-right:hover, .hvr-sweep-to-right:focus, .hvr-sweep-to-right:active {
    color: white;
}

.hvr-sweep-to-right:hover:before, .hvr-sweep-to-right:focus:before, .hvr-sweep-to-right:active:before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

.nav-horizontal {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: center;
}

.menu-horizontal {
    display: flex;
    flex-direction: row;
    list-style-type: none;
}

.menu-horizontal li {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    padding: 0.8rem;
}

.menu-horizontal a {
    text-decoration: none;
    background-color: #212121;
    padding: 1rem;
    color: white;
}

.intro {
    padding: 3rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer {
    background-color: grey;
}

.intro h2 {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 150%;
    color: #212121;
    margin: 0;
    text-transform: uppercase;
}

.intro-entry {
    padding-bottom: 0;
}

.intro h3 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: 0.05em;
    color: #867070;
}

.intro p {
    color: #616161;
    font-size: 1rem;
    letter-spacing: 0.02em;
    font-family: 'Newsreader', serif;
    line-height: 2.1;
    max-width: 900px;
}

.modal {
    font-family: 'Newsreader', serif !important;
}

.modal-body {
    font-family: var(--bs-font-sans-serif) !important;
    font-size: 0.9rem !important;
    padding-bottom: 2rem !important;
}

.content {
    padding-top: 1rem;
    padding-bottom: 2rem;
    flex: 1;
}

.single-entry {
    padding-top: 2rem;
    padding-bottom: 2rem;
    flex: 1;
}

.single-entry .post-header {
    font-size: 1.5rem;
    text-align: left;
}

.links {
    text-transform: uppercase;
    padding-left: 1rem;
    padding-top: 1.5rem;
}

.links h4 {
    font-weight: normal;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
}

.links ul {
    display: flex;
    padding-top: 1rem;
    padding-left: 0rem;
    padding-right: 2rem;
    flex-direction: column;
    list-style-type: none;
}

.links li {
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    padding: 0.8rem 0rem;
    border-bottom: #eeeeee solid 1px;
}

.links li:last-of-type { 
    border-bottom: none;
}

.links a {
    color: #757575;
}

.link-a {
    position: relative;
    transition: clip-path 275ms ease;
}

.link-a:hover span::before, a:focus span::before, a:active span::before {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.link-a span {
    position: relative;
    display: inline-block;
    color: #757575;
}

.link-a span::before {
    position: absolute;
    content: attr(data-content);
    color:#212121;
    text-decoration: none;
    border-bottom: #73c7c1 2px solid;
    clip-path: polygon(0 0, 0 0, 0% 100%, 0 100%);
    transition: clip-path 275ms ease;
}

.link-a::before {
    position: absolute;
    content: attr(data-content);
    color: #73c7c1;
    text-decoration: underline;
    clip-path: polygon(0 0, 0 0, 0% 100%, 0 100%);
    transition: clip-path 275ms ease;
}

.post-header {
    text-transform: uppercase;
    font-size: 1.3rem;
    padding-bottom: 1rem;
    text-align: center;
}

.post-content {
    max-height: 16rem;
    overflow: hidden;
    line-height: 1.8;
    font-size: 0.9rem;
    text-overflow: ellipsis;
    text-align: justify;
    text-justify: inter-word;
}

.post .post-content {
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
}

.list-header {
    font-size: 0.9rem;
}

.list {
    font-size: 0.9rem;
    max-height: 100%;
    line-height: 2;
    padding-bottom: 0rem;
    text-align: left;
}

.post-more {
    display: flex;
    flex-direction: row;
    padding-top: 1rem;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    justify-content: space-between;
}

.single-entry .post-content {
    max-height: 100%;
    line-height: 2;
    padding-bottom: 0rem;
    padding-top: 1.5rem;
    text-align: left;
}

.post-content-extra {
    max-height: 16rem;
    overflow: hidden;
    line-height: 1.8;
    font-size: 0.9rem;
    text-overflow: ellipsis;
    text-align: justify;
    text-justify: inter-word;
    max-height: 100%;
    line-height: 2;
    padding-bottom: 0rem;
    padding-top: 0rem;
    text-align: left;
}

.single-entry .post-header {
    padding-bottom: 0rem;
}

.link-a .chevron {
    color: #73c7c1;
}

.post-link {
    text-transform: uppercase;
}

.post-date {
    font-style: italic;
    font-size: 0.8rem;
}

.single-entry .post-date {
    width: 100%;
    text-align: left;
}

.mobile-header {
    display: none;
    background-color: #212121;
    box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
    width: 100%;
    position: fixed;
    min-height: 2rem;
    z-index: 3;
}

.mobile-header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    background-color: #212121;
}

.mobile-header li a {
    display: block;
    padding: 1rem;
    padding-left: 1.5rem;
    border-right: 1px solid #212121;
    text-decoration: none;
    color: white;
}

.mobile-header li {
    text-transform: uppercase;
    font-size: 0.8rem;
}

.mobile-header .logo {
    display: block;
    float: left;
    font-size: 2em;
    padding: 10px 20px;
    text-decoration: none;
}

.mobile-header .menu-vertical {
    clear: both;
    max-height: 0;
    transition: max-height .2s ease-out;
}

.mobile-header .menu-icon {
    cursor: pointer;
    float: left;
    padding: 28px 20px;
    position: relative;
    user-select: none;
}

.mobile-header .menu-icon .navicon {
    background: white;
    display: block;
    height: 2px;
    position: relative;
    transition: background .2s ease-out;
    width: 18px;
}

.mobile-header .menu-icon .navicon:before,
.mobile-header .menu-icon .navicon:after {
    background: white;
    content: '';
    display: block;
    height: 120%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.mobile-header .menu-icon .navicon:before {
    top: 6px;
}

.mobile-header .menu-icon .navicon:after {
    top: -6px;
}

.mobile-header .menu-btn {
    display: none;
}

.mobile-header .menu-btn:checked ~ .menu-vertical {
    max-height: 335px;
    padding-bottom: 10px;
}

.mobile-header .menu-btn:checked ~ .menu-icon .navicon {
    background: transparent;
}

.mobile-header .menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
}

.mobile-header .menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
}

.mobile-header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.mobile-header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
    top: 0;
}

#map {
    height: 300px;
    width: 100%;
    opacity: 90%;
}

.footer {
    margin-top: 3rem;
}

.footer-content {
    background: #ffffff;
    text-transform: uppercase;
    height: 3rem;
    flex-direction: column;
    align-items: center;
    display: flex;
    justify-content: center;
}

.footer-inner {
    color: #212121;
    overflow: hidden;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
}

.no-map-footer {
    background-color: #f0f0f0;
}

.ie-browser {
    color: #757575;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .ie-browser::before {
        content: "Przepraszamy, ta witryna nie jest dostępna w przeglądarce Internet Explorer. Pobierz nowszą przeglądarkę (Mozilla Firefox, Microsoft Edge) aby uzyskać dostęp do treści.";
    }

    .ie-hidden {
        display: none;
    }
}

@supports not (-ms-high-contrast: none) {
    .ie-browser::before {
        content: "Zapraszamy do korzystania z naszych usług. Od 1999 roku opiekujemy się całymi rodzinami (dzieci, rodzice, dziadkowie) w ramach powszechnego ubezpieczenia i umowy z NFZ. Wyróżnia nas szczególna dbałość o jakość świadczonych usług i wysoko wykwalifikowany zespół pracowników, który nieustannie podnosi swoje umiejętności."
    }
}

@media (max-width: 1023px) {
    .col-links {
        padding-top: 2rem;
    }
    .col-md-9 {
        width: 100%;
    }
    .space {
        display: none;
    }
    .single-entry {
        padding-bottom: 0;
    }
}

@media (max-width: 991px) {
    .nav-horizontal a {
        padding: 0.7rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 450px) {
    #map {
        height: 350px;
    }
    .footer-inner {
        font-size: 0.6rem;
    }
}

@media (max-width: 950px) {
    .header {
        display: none;
    }
    .mobile-header {
        display: block;
    }
    .intro h2 {
        margin-bottom: 1rem;
    }
    .intro {
        padding-bottom: 1rem;
    }
    .start {
        padding-top: 6rem;
    }
    .content {
        padding-bottom: 1rem;
    }
    .post-entry {
        margin-top: 0;
    }
}