/* Global Styles */
:root {
    --primary-color: #D40000;  /* Bazowy kolor główny */
}

/* Custom WB styles */
/* -------------------- Main container -------------------- */
.left_main_container {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 88%);
    transform: translateY(5%);
}

.right_main_container {
    clip-path: polygon(0 0, 100% 12%, 100% 100%, 0 100%);
    transform: translateY(-5%);
}

@media all and (min-width: 1024px) {
    .left_main_container {
        clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
        transform: translateX(7%);
    }

    .right_main_container {
        clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
        transform: translateX(-7%);
    }
}
/* -------------------------------------------------------- */

.content p, .content ul, .content h1, .content h2, .content h3, .content h4, .content h5, .content h6 {
    margin-top: 16px;
    margin-bottom: 16px;
}

.content h1 {
    font-size: 3rem;
    line-height: 1;
}
.content h2 {
    font-size: 2.25rem;
    line-height: 2.5rem;
}
.content h3 {
    font-size: 1.875rem;
    line-height: 2.25rem;
}
.content h4 {
    font-size: 1.5rem;
    line-height: 2rem;
}
.content h5 {
    font-size: 1.25rem;
    line-height: 1.75rem;
}
.content h6 {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.content ul {
    list-style: disc !important;
    padding-left: 20px !important;
}

.content ol {
    list-style: decimal !important;
    padding-left: 20px !important;
}

/* Custom Width */
.max-w-fhd {
    max-width: 1920px;
}

.content-wrapper {
    max-width: 1320px;
}

.swiper-slide-image.max-h-620 {
    max-height: 200px;
    min-height: 200px;
}

@media (min-width: 480px)
{
    .swiper-slide-image.max-h-620 {
        max-height: 250px;
        min-height: 250px;
    }
}

@media (min-width: 768px)
{
    .swiper-slide-image.max-h-620 {
        max-height: 350px;
        min-height: 350px;
    }
}

@media (min-width: 1024px)
{
    .max-h-620 {
        max-height: 620px;
        min-height: 620px;
    }

    .swiper-slide-image.max-h-620 {
        max-height: 620px;
        min-height: 620px;
    }
}

/* Custom Font Size */
.heading-sm {
    font-size: 2rem;
    line-height: 2.625rem;
}

.heading-md {
    font-size: 1.5rem;
    line-height: 2.625rem;
}

.heading-lg {
    font-size: 1.625rem;
    line-height: 2rem;
}

.heading-xl {
    font-size: 2.813rem;
    line-height: 3.375rem;
}

@media (min-width:1280px) {
    .heading-md {
        font-size: 2rem;
        line-height: 2.625rem;
    }

    .heading-lg {
        font-size: 3.375rem;
        line-height: 4rem;
    }

    .heading-xl {
        font-size: 4.5rem;
        line-height: 4.875rem;
    }
}

/* Custom Border */
.rounded-10 {
    border-radius: 10px;
}

.rounded-30 {
    border-radius: 30px;
}

.rounded-60 {
    border-radius: 60px;
}

/* Side menu */
.sidemenu-button:last-child {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Scroll invisible */
.no-scroll::-webkit-scrollbar {
    display: none;
}

.no-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Tabs */
li.menu-tab button[aria-selected="true"] {
    color: #ffffff;
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

ul.tabs-slider button[aria-selected="true"] {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Active Menu Item */
nav li.current-menu-item .menu-item-holder a {
    color: var(--primary-color);
}

/* Before After Slider */
.twentytwenty-horizontal .twentytwenty-handle:before,
.twentytwenty-horizontal .twentytwenty-handle:after,
.twentytwenty-vertical .twentytwenty-handle:before,
.twentytwenty-vertical .twentytwenty-handle:after {
    content: " ";
    display: block;
    background: white;
    position: absolute;
    z-index: 30;
    -webkit-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
    -moz-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
    box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
}

.twentytwenty-horizontal .twentytwenty-handle:before,
.twentytwenty-horizontal .twentytwenty-handle:after {
    width: 3px;
    height: 9999px;
    left: 50%;
    margin-left: -1.5px;
}

.twentytwenty-vertical .twentytwenty-handle:before,
.twentytwenty-vertical .twentytwenty-handle:after {
    width: 9999px;
    height: 3px;
    top: 50%;
    margin-top: -1.5px;
}

.twentytwenty-before-label,
.twentytwenty-after-label,
.twentytwenty-overlay {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

.twentytwenty-before-label,
.twentytwenty-after-label,
.twentytwenty-overlay {
    -webkit-transition-duration: 0.5s;
    -moz-transition-duration: 0.5s;
    transition-duration: 0.5s;
}

.twentytwenty-before-label,
.twentytwenty-after-label {
    -webkit-transition-property: opacity;
    -moz-transition-property: opacity;
    transition-property: opacity;
}

.twentytwenty-before-label:before,
.twentytwenty-after-label:before {
    color: white;
    font-size: 13px;
    letter-spacing: 0.1em;
}

.twentytwenty-before-label:before,
.twentytwenty-after-label:before {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    line-height: 38px;
    padding: 0 20px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.twentytwenty-horizontal .twentytwenty-before-label:before,
.twentytwenty-horizontal .twentytwenty-after-label:before {
    top: 50%;
    margin-top: -19px;
}

.twentytwenty-vertical .twentytwenty-before-label:before,
.twentytwenty-vertical .twentytwenty-after-label:before {
    left: 50%;
    margin-left: -45px;
    text-align: center;
    width: 90px;
}

.twentytwenty-left-arrow,
.twentytwenty-right-arrow,
.twentytwenty-up-arrow,
.twentytwenty-down-arrow {
    width: 0;
    height: 0;
    border: 6px inset transparent;
    position: absolute;
}

.twentytwenty-left-arrow,
.twentytwenty-right-arrow {
    top: 50%;
    margin-top: -6px;
}

.twentytwenty-up-arrow,
.twentytwenty-down-arrow {
    left: 50%;
    margin-left: -6px;
}

.twentytwenty-container {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    z-index: 0;
    overflow: hidden;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.twentytwenty-container img {
    max-width: 100%;
    position: absolute;
    top: 0;
    display: block;
}

.twentytwenty-container.active .twentytwenty-overlay,
.twentytwenty-container.active :hover.twentytwenty-overlay {
    background: rgba(0, 0, 0, 0);
}

.twentytwenty-container.active .twentytwenty-overlay .twentytwenty-before-label,
.twentytwenty-container.active .twentytwenty-overlay .twentytwenty-after-label,
.twentytwenty-container.active :hover.twentytwenty-overlay .twentytwenty-before-label,
.twentytwenty-container.active :hover.twentytwenty-overlay .twentytwenty-after-label {
    opacity: 0;
}

.twentytwenty-container * {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.twentytwenty-before-label {
    opacity: 0;
}

.twentytwenty-before-label:before {
    content: attr(data-content);
}

.twentytwenty-after-label {
    opacity: 0;
}

.twentytwenty-after-label:before {
    content: attr(data-content);
}

.twentytwenty-horizontal .twentytwenty-before-label:before {
    left: 10px;
}

.twentytwenty-horizontal .twentytwenty-after-label:before {
    right: 10px;
}

.twentytwenty-vertical .twentytwenty-before-label:before {
    top: 10px;
}

.twentytwenty-vertical .twentytwenty-after-label:before {
    bottom: 10px;
}

.twentytwenty-overlay {
    -webkit-transition-property: background;
    -moz-transition-property: background;
    transition-property: background;
    background: rgba(0, 0, 0, 0);
    z-index: 25;
}

.twentytwenty-overlay:hover {
    background: rgba(0, 0, 0, 0.5);
}

.twentytwenty-overlay:hover .twentytwenty-after-label {
    opacity: 1;
}

.twentytwenty-overlay:hover .twentytwenty-before-label {
    opacity: 1;
}

.twentytwenty-before {
    z-index: 20;
}

.twentytwenty-after {
    z-index: 10;
}

.twentytwenty-handle {
    height: 38px;
    width: 38px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -22px;
    margin-top: -22px;
    border: 3px solid white;
    -webkit-border-radius: 1000px;
    -moz-border-radius: 1000px;
    border-radius: 1000px;
    -webkit-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
    -moz-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
    box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
    z-index: 40;
    cursor: pointer;
}

.twentytwenty-horizontal .twentytwenty-handle:before {
    bottom: 50%;
    margin-bottom: 22px;
    -webkit-box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
    -moz-box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
    box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
}

.twentytwenty-horizontal .twentytwenty-handle:after {
    top: 50%;
    margin-top: 22px;
    -webkit-box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
    -moz-box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
    box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
}

.twentytwenty-vertical .twentytwenty-handle:before {
    left: 50%;
    margin-left: 22px;
    -webkit-box-shadow: 3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
    -moz-box-shadow: 3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
    box-shadow: 3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
}

.twentytwenty-vertical .twentytwenty-handle:after {
    right: 50%;
    margin-right: 22px;
    -webkit-box-shadow: -3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
    -moz-box-shadow: -3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
    box-shadow: -3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
}

.twentytwenty-left-arrow {
    border-right: 6px solid white;
    left: 50%;
    margin-left: -17px;
}

.twentytwenty-right-arrow {
    border-left: 6px solid white;
    right: 50%;
    margin-right: -17px;
}

.twentytwenty-up-arrow {
    border-bottom: 6px solid white;
    top: 50%;
    margin-top: -17px;
}

.twentytwenty-down-arrow {
    border-top: 6px solid white;
    bottom: 50%;
    margin-bottom: -17px;
}

.twentytwenty-container {
    width: 100%;
    height: 100%;
    max-height: 550px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.ba-slide {
    object-fit: cover;
    width: 100%;
    height: 300px;
    width: 650px;
}

@media (min-width: 640px) {
    .ba-slide {
        height: 550px;
    }
}

.bas-container {
    width: 100%;
    max-width: 850px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-radius: 10px;
}

@media (min-width: 768px) {
    .bas-container {
        background-image: url(../images/bas-background.webp);
    }

    .img-wrapper {
        min-height: 128px;
        min-width: 128px;
        max-height: 128px;
        max-width: 128px;
    }
}

@media (max-width: 768px) {
    .twentytwenty-container {
        border-radius: 10px;
    }
}

.bas-header {
    max-width: 650px;
}

.img-wrapper {
    min-height: 96px;
    min-width: 96px;
    max-height: 96px;
    max-width: 96px;
}

.cert-img {
    height: 140px;
    object-fit: cover;
    width: 100%;
}

@media (min-width: 1280px) {
    #cs-full-dropdown,
    #me-full-dropdown,
    #ke-full-dropdown {
        margin-top: 0px;
    }
}

.wp-block-esteticon-main-slide {
    height: 100%;
}

.small-img-wrapper {
    min-width: 64px;
    min-height: 64px;
    max-width: 64px;
    max-height: 64px;
}

/** Swiper styles **/
.swiper {
    display: flex;
    flex-direction: column;
    user-select: none;
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
    height: 100%;
    padding-top: 0px;
    padding-bottom: 0px;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    border-radius: 0px;
}


.swiper-slide-content {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 1;
    box-sizing: border-box;
    padding: 48px 48px;
    align-items: flex-start;
    justify-content: center;
    transform: translate3d(0, 0, 0);
}

.main-slider .swiper-pagination {
    margin-bottom: 15px;
}



@media (max-width: 1024px) {
    .swiper-slide {
        flex-direction: column;
        max-width: 100%;
    }

    .swiper-slide-content {
        position: static;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    :root {
        --swiper-navigation-color: rgb(0, 0, 0, 1) !important;

        --swiper-pagination-color: rgb(0, 0, 0, 1) !important;
        --swiper-pagination-bullet-inactive-color: rgb(0, 0, 0, 1) !important;
    }

    .swiper-pagination {
        margin-bottom: 30px;
    }
    .main-slider .swiper-button-next, .main-slider .swiper-button-prev {
        display: none !important;
    }

}

@media (min-width: 1024px) and (max-width: 1536px) {
    .swiper-slide-content {
        padding-left: 98px;
        padding-right: 98px;
    }
}

.swiper-slide-title {
    font-size: 21px;
    font-weight: bold;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 1);
    }

.swiper-slide-text {
    max-width: 640px;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 1);
}

.swiper-slide-title + .swiper-slide-text {
    margin-top: 8px;
}

.swiper-slide-image {

    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.swiper-button-next {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 100%;
    top: 45% !important;
    right: -65px !important;
    height: 130px !important;
    width: 130px !important;
    transition: .3s;
}

.swiper-button-prev {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 100%;
    top: 45% !important;
    left: -65px !important;
    height: 130px !important;
    width: 130px !important;
    transition: .3s;
}

.swiper-button-prev:hover, .swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.5);
}

.swiper-button-next::after, .swiper-button-prev::after {
    display: none;
}

:root {
--swiper-navigation-color: rgba(255, 255, 255, 1);

--swiper-pagination-color: rgba(255, 255, 255, 1);
--swiper-pagination-bullet-inactive-color: rgba(255, 255, 255, 1);
}

.slider-cards .swiper-slide {
    align-items: flex-start;
}

.doctors-swiper {
    user-select: none;
    box-sizing: border-box;
    overflow: visible;
    width: 100%;

    height: 100%;

    padding-top: 0px;
    padding-bottom: 0px;
  }
  .doctors-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;

    background-color: rgba(51, 51, 51, 1);

    border-radius: 10px;
  }

  .doctors-swiper .swiper-slide-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    padding: 0px 0px;

    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .swiper-slide-title {
    font-size: 21px;
    font-weight: bold;
    letter-spacing: 0.03em;
    color: rgba(0, 0, 0, 1);
  }

  .swiper-slide-text {
    max-width: 640px;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(0, 0, 0, 1);
  }

  .doctors-swiper .swiper-slide-title + .swiper-slide-text {
    margin-top: 8px;
  }

  .doctors-swiper .swiper-slide-image {
    position: absolute;
    object-fit: cover;

    left: 0%;
    top: 0%;
    width: 100%;
    height: 100%;

    z-index: 0;
  }

  :root {
    --swiper-navigation-color: rgba(255, 255, 255, 1);
  }

.owl-stage {
    display: flex;
}

/* Animations */

.mouse-animation {
    animation-name: mouse;
    animation-duration: 3s;
    animation-delay: 2s;
    animation-iteration-count: infinite;
}

@keyframes mouse {
    15%  {margin-top: 10px;}
    30%  {margin-top: 0px;}
}

.mobile-animation {
    animation-name: mobile;
    animation-duration: 3s;
    animation-delay: 2s;
    animation-iteration-count: infinite;
}

@keyframes mobile {
    15%  {margin-right: 10px;}
    30%  {margin-right: 0px;}
}

.max-h-slider {
    max-height: 300px !important;
    min-height: 300px !important;
}

@media (min-width:768px) {
    .max-h-slider {
        max-height: 400px !important;
        min-height: 400px !important;
    }
}

@media (min-width:1024) {
    .max-h-slider {
        max-height: 500px !important;
        min-height: 500px !important;
    }
}

@media (min-width:1280px) {
    .max-h-slider {
        max-height: 600px !important;
        min-height: 600px !important;
    }
}

@media (min-width:1536px) {
    .max-h-slider {
        max-height: 750px !important;
        min-height: 750px !important;
    }
}

@media (max-width: 1024px) {
    .main-slider .swiper-pagination {
        display: block !important;
        bottom: 60px !important;
    }
    .second-slider .swiper-button-next, .second-slider .swiper-button-prev {

    }
}

[tab-panel] {
    display: none;
}

[tab-panel].active {
    display: block;
    animation: fade .5s;
}

[tab-button] svg {
    transition: rotate .5s;
}

[tab-button] svg.active {
    rotate: 180deg;
}

@keyframes fade {
    from {opacity: 0;}
    to {opacity: 1;}
  }

  @media (min-width: 1280px) {
    @keyframes fade {
      from {opacity: 0; margin-top:50px;}
      to {opacity: 1; margin-top: 0px;}
    }
  }


.menu-active {
    color: var(--primary-color);
}

@media (min-width:1280px) {
    .menu-active {
        border-bottom: 2px solid var(--primary-color);
        color: #000000;
    }
}


/* -------------------- POPUP --------------------- */

.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    z-index: 999;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}

.modal-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 20px 0 20px;
    width: auto;
    border-radius: 0.5rem;
}
@media all and (min-width: 1024px) {
.modal-content {
    width: 62rem;
}
}

.close-button {
    width: 50px;
    height: 50px;
    max-width: 50px;
    max-height: 50px;
    min-height: 50px;
    min-width: 50px;
}

.show-modal {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}
