/*
Theme Name: PFESO Template
Author: Maciej Rogosz
Description: Szablon zapewniający funkcjonalności i wygląd strony PFESO
Version: 1.0
Requires at least: 6.7.0
Tested up to: 6.7.0
Requires PHP: 8.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pfeso-template
*/
.text-justify {
    text-align: justify!important;
}
.text-justify li {
    text-align: justify!important;
}
.text-justify ol {
    text-align: justify!important;
}
.rd-navbar-minimal.rd-navbar-fixed .rd-navbar-panel {
    height: 80px!important;
}
.rd-navbar-minimal.rd-navbar-fixed .rd-navbar-brand {
    max-width: 150px!important;
}
.rd-navbar-minimal.rd-navbar-light.rd-navbar-fixed .rd-navbar-nav li a {
    padding: 15px 30px 15px 15px!important;
}
.swiper-container {
    padding-top: 30px;
}
.grid-row {
    margin-left: 0!important;
    margin-right: 0!important;
}
.grid-cell {
    flex: 0 0 auto;
    padding: 3px!important;
}
.grid-wide {
    width: 50%!important;
}
.grid-narrow {
    width: 25%!important;
}
.grid-copy {
    display: none;
}
.grid-cell .pb-100 {
    padding-bottom: 100%;
}
.grid-cell .pb-50 {
    padding-bottom: 50%;
}
.grid-cell .inner {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.grid-cell .inner .inner-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.05);
    transition: padding 0.2s linear 0.05s;
}
.border-on-hover {
    padding: 3rem 0;
    transition: border 0.2s linear 0.05s;
}
.grid-cell .inner .inner-content:hover {
    padding: 10px;
}
.grid-cell .inner .inner-content:hover .border-on-hover {
    border: 1px solid #ffffff;
}
.grid-cell .inner .inner-content h4 {
    width: 100%;
    text-align: center;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
    font-size: 2rem;
}
.burgundy-bg {
    background-color: rgba(139, 0, 18, 0.9);
    backdrop-filter: blur(10px);
}
.gray-bg {
    background-color: rgba(139, 147, 156, 0.9);
    backdrop-filter: blur(10px);
}
.navy-bg {
    background-color: rgba(23, 36, 111, 0.9);
    backdrop-filter: blur(10px);
}
.text-navy {
    color: rgba(23, 36, 111, 1);
}
.burgundy-bg .inner-content, .gray-bg .inner-content {
    background-color: transparent;
}
.grid-button {
    cursor: pointer;
    border-radius: 5px;
    padding: 0.75rem 1.5rem;
    font-family: Oswald, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}
.grid-button:hover {
    text-decoration: none;
}
.grid-button-white {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4); 
}
.grid-button-white:hover {
    color: #ffffff;
}
.grid-button-skyblue {
    border: none;
    background-color: #87CEEB;
    color: #ffffff;
}
.grid-button-navy {
    border: none;
    background-color: #17246f;
    color: #ffffff;
}
.grid-button-burgundy {
    border: none;
    background-color: rgba(139, 0, 18, 0.9);
    color: #ffffff;
}
.grid-button.small {
    padding: 0.5rem 1rem;
}
.grid-button-skyblue:hover, .grid-button-navy:hover {
    opacity: 0.8;
}
.swiper-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 501px;
    background-color: rgba(0, 0, 0, 0.2);
}
.slider-mobile {
    display: none;
}
.swiper-cta {
    top: 30%;
}
.cta-left {
    left: 5%;
}
.cta-right {
    right: 5%;
}
.swiper-cta h2 {
    text-align: left;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
    font-size: 2.5rem!important;
}
.swiper-cta h4 {
    margin-top: 16px;
    text-align: left;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1.5px;
    font-size: 1.8rem!important;
}
.stand-out-icon {
    width: 150px;
    display: block;
    margin: 0 auto;
    padding-bottom: 20px;
}
.fade:not(.show) {
    opacity: 0;
    display: none!important;
}
.thumbnail-josip {
    background: radial-gradient(circle, rgba(23, 36, 111, 0) 0%, rgba(135, 206, 235, 1) 100%);
}
ol {
    list-style-type: decimal;
    list-style-position: inside;
}
ul.wp-list, ul.wp-block-list {
    list-style-type: circle;
    list-style-position: inside;
}
ol li, ul.wp-list li, ul.wp-block-list li {
    display: block!important;
    padding-bottom: 10px;
    text-align: justify!important;
}
ol li::before, ul.wp-list li::before,
ul.wp-block-list li::before {
    content: "";
    width: 20px;
    display: inline-block;
}
ul li {
    text-align: justify!important;
}
ol li::before {
    padding-right: 25px;
    content: counter(list-item) ".";
    counter-increment: list-item;
}
ul.wp-list li::before, ul.wp-block-list li::before {
    content: "•";
}
.rd-navbar-minimal.rd-navbar-static .rd-navbar-dropdown {
    width: 100%!important;
}
.footer-links {
    padding-left: 0;
}
.footer-links li {
    padding: 0.5rem 0;
}
.single-specialist .thumbnail-desc {
    padding: 20px 10px;
}
.single-specialist .thumbnail-desc p {
    color: #ffffff;
    opacity: 0.8!important;
    padding: 0;
    margin-bottom: 5px;
}
.single-specialist .thumbnail-desc h5 {
    margin-top: 7px;
}
.circle {
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    border-radius: 100%;
    width: 150px;
    height: 150px;
}
.circle p {
    margin: 0;
    padding: 0;
}
.single-post-rehab .rehab-thumbnail {
    width: 100%;
    padding-bottom: 65.57%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 10px;
}
.single-post-rehab h5 {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
    padding-bottom: 1rem;
}
.section-header {
    padding: 50px 0 30px;
}
.section-content {
    padding: 70px 0;
}
.section-header ul {
    margin-top: 20px;
}
.specialist-thumb {
    background: radial-gradient(circle, rgba(23, 36, 111, 0) 0%, rgba(135, 206, 235, 1) 100%);
}
.specialist-thumb img {
    width: 100%;
    height: auto;
}
.single-page-header {
    background-color: #2A4481;
}
.znany-lekarz img {
    height: 40px;
    width: 40px;
    border-radius: 100%;
}
.znany-lekarz:hover img {
    border: 2px solid rgb(229, 229, 229);
}
.post-modern-classic-full {
    margin-bottom: 20px;
    border-bottom: 0.5px solid black;
}
div.service-desc:hover:before {
    display: none!important;
}
.service div.service-desc:hover {
    padding-left: 17px!important;
}
@media (orientation: portrait) or (max-width: 990px) {
    .grid-wide {
        width: 100%!important;
    }
    .grid-narrow {
        width: 50%!important;
    }
    .grid-copy {
        display: flex;
    }
    .grid-fundacja {
        display: none;
    }
    .section-slider {
        height: 75vw;
    }
    .grid {
        padding-top: 50px;
    }
    .slider-mobile {
        width: 100%;
        height: auto;
        display: block;
    }
    .slider-desktop {
        display: none;
    }
}
@media screen and (min-width: 991px) and (max-width: 1200px) {
    .swiper-overlay {
        height: 38.65vw;
    }
}
@media (min-width: 1200px) {
    .single-specialist .thumbnail-desc {
        padding: 23px 15px !important;
    }
}
@media screen and (max-width: 470px) {
    .swiper-overlay, .section-slider {
        height: calc(100vw - 30px)
    }
    .swiper-cta {
        top: 10%;
    }
    .service .swiper-cta {
        top: 25%!important;
    }
    .rehabilitation .swiper-cta, .service .swiper-cta {
        padding-top: 0!important;
    }
    .border-on-hover {
        padding: 1rem 0;
    }
    .grid-cell .inner .inner-content h4 {
        font-size: 1.75rem;
    }
}
@media screen and (min-width: 480px) and (max-width: 767px) {
    .swiper-overlay,
    .section-slider {
        height: 450px;
    }

    .swiper-cta {
        top: 10%;
    }

    .rehabilitation .swiper-cta, .service .swiper-cta {
        padding-top: 0 !important;
    }
}
@media screen and (min-width: 768px) and (max-width: 990px) {
    .swiper-overlay,
    .section-slider {
        height: 690px;
    }

    .swiper-cta {
        top: 38%;
    }

    .rehabilitation .swiper-cta,
    .service .swiper-cta {
        padding-top: 0 !important;
    }
}
@media screen and (min-width: 991px) {
    .swiper-cta {
        padding-top: 50px;
    }
    .pfeso .swiper-cta {
        padding-top: 0!important;
    }
}