/*
Theme Name: Twój Idealny Dom
Text Domain TID - Twój Idealny Dom
Version: v1.2440a
Descripion: Twój Idealny Dom
Tags: Real estate, responsive layout, investition
Autor: TID
Author URI: https://twojidealnydom.pl
*/
@import url('https://fonts.googleapis.com/css2?family=Encode+Sans:wght@100;200;300;400;500;600;700;800;900&family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
:root {
    
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;

    --op-primary: #906F51;
    --op-secondary: #000000;
    --op-menu-items: #333;
    --op-text-white: #fff;
    --op-text-black: #333;

    --op-primary-rgb: rgb(43, 67, 125);

    --op-font-default: "Inter";
    --op-font-headers: "Inter", sans-serif;
    --op-global-radius: 4px;

}

*,
*::before,
*::after {
    box-sizing: border-box;
    outline: none;
    border:none;
}

/* 
====================== 
HTML ELEMENTS
=======================
*/
.background-clip {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

html {
    line-height: 1.15;
    min-height: 100vh;
    height: 100%;

}

body {
    color: var(--secondary);
    min-height: 100vh;
    height: 100%;
    position: relative;
    overflow-x: hidden;
}

body.op-default {
    font-family: var(--op-font-default);
    font-weight: 400;
    font-size: 15px;
    width: 100%;
    display: flex;
    flex-direction: column;
    
}

body.op-default > footer { 
    margin-top: auto;
}

footer {
    width: 100%;
}

a {
    color: inherit;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--op-secondary);
    font-family: var(--op-font-headers) !important;
}

.op-bg-primary {
    background: var(--op-primary) !important;
}

.op-bg-secondary {
    background: var(--op-secondary) !important;
}

.op-bg-white {
    background: #fff !important;
}

h2.op-header {
    font-weight: 400;
    font-size: 2.3em;
    text-transform: uppercase;
    display: block;
}

h2.op-block-heading {
    font-size: 1.5em;
    text-transform: uppercase;
    margin-bottom: 0;
}



h2.op-header.primary {
    font-weight: 800;
    font-size: 2.5em;
    color: var(--op-primary);
}

h3.op-header-3 {
    display: block;
    font-weight: 400;
    font-size: 1.5em;
    text-transform: uppercase;
}

h3.op-header-3.primary {
    color: var(--op-primary);
}

.op-primary-text {
    color: var(--op-primary);
}

p.op-text {
    font-weight: 400;
    font-size: 1em;
    display: block;
}

h1.op-wspolpraca {
    font-weight: 700;
    font-size: 1.5em;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.hero-search {
    margin-top: 0px !important;
}

p {
    margin-bottom: 0;
}

.op-bg-dark {
    background: #222;
}

section.default-section {
    width: 100%;
    margin-bottom: 80px;
    position: relative;
}

section.default-section.margin-bottom {
    margin-bottom: 120px;
}

section.background-section {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    box-shadow: inset 0px 0px 25px rgba(0,0,0,0.6);
}

section.section-copyrights {
    background-color: #161616;
    color: var(--op-text-white);
    font-size: 0.8em;
    text-align: center;
    font-weight: 300;
}

section.hero-section {
    width: 100%;
    position: relative;
}

section.hero-container {
    width: 1440px;
    margin-inline: auto;
    margin-bottom: 80px;
    position: relative;
}

section.op-image-background {
    background-position: 50% 50% !important;
    background-repeat: no-repeat !important;;
    background-size: cover !important;
    min-height: 90svh;
}

section.section-90 img {
    height: 90vh;
}

section.op-min-80 {
    min-height: 80vh;
}

section.default-page {
    margin-top: 120px;
}

.form-control {
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
    height: 2.75rem;
    border-color: var(--light)
}

.logo {
    width: 200px;
    height: auto;
}

nav.navbar {
    position: relative;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 1) !important;
    z-index: 9999;
}

nav.navbar.nav-sticky {
    position: fixed;
    background-color: rgba(0,0,0,0.65) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    animation: slidein;
    animation-duration: 0.5s;
    animation-iteration-count: 1;
}

.w-max {
    width: max-content;
}

.blog-baner {
    width: 100%;
    height: 500px;
    object-fit: cover;
    filter: brightness(0.75);
    position: relative;
}

.blog-baner-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-baner-header {
    font-weight: 400;
    font-size: 2em;

    font-family: var(--op-font-headers);
    color: var(--op-text-white);
    text-transform: uppercase;
    text-align: center;
}

.blog-flex {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 48px;
}

.blog-flex > * {
    flex-basis: 50%;
}

.blog-flex:nth-child(even) {
    flex-direction: row-reverse;
}

.blog-flex:nth-child(even) .col-img {
    position: relative;
    right: 25px;
    z-index: 3;
}

.blog-flex:nth-child(odd) .col-img {
    position: relative;
    left: 25px;
    z-index: 3;
}

.blog-flex:nth-child(even) .col-text {
    position: relative;
    left: 25px;
    z-index: 2;
    padding: 48px 73px 48px 48px;
}

.blog-flex:nth-child(odd) .col-text {
    position: relative;
    right: 25px;
    z-index: 2;
    padding: 48px 48px 48px 73px;
}

.col-img {
    width: 100%;
}

.col-img img {
    width: 100%;
    display: flex;
}

.col-text {
    box-sizing: border-box;
    border: solid 1px var(--op-secondary);

}

.wpis-info {
    margin-top: 6px;
    margin-left: 6px;
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 12px;
}

@keyframes slidein{
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}


.navbar-brand {
    flex-basis: 20%;
}

/* 
====================== 
END HTML ELEMENTS
=======================
*/

/* 
====================== 
SPLIDE
=======================
*/

#inwestycja-hero .splide__pagination__page {
    background: transparent;
    border: solid 2px var(--op-text-white);
    height: 16px;
    width: 16px;
}

#inwestycja-hero .splide__pagination {
    bottom: 1em;
    gap: 20px;
}

#pisali-o-nas .splide__pagination__page.is-active {
    background-color: var(--op-secondary);
}

#inwestycja-hero .splide__pagination__page.is-active {
    background-color: var(--op-text-white);
}

.splide {
    font-size: 16px;
}

.slide-wrap {
    width: 100%;
    height: 700px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}




.slide-wrap img {
    width: 100%;
    object-position: bottom center;
    aspect-ratio: 16 / 9;
    animation: move 8.1s ease ;
    /* Add infinite to loop. */
    animation-iteration-count: infinite;
    -ms-animation: move 8.1s ease infinite;
    -webkit-animation: move 8.1s ease infinite;
    -o-animation: move 8.1s ease infinite;
    -moz-animation: move 8.1s ease infinite;
    position: absolute;
}

@-webkit-keyframes move {
    0% {
        -webkit-transform-origin: center center;
        -moz-transform-origin: center center;
        -ms-transform-origin: center center;
        -o-transform-origin: center center;
        transform-origin: center center;
        transform: scale(1.0);
        -ms-transform: scale(1.0);
        /* IE 9 */

        -webkit-transform: scale(1.0);
        /* Safari and Chrome */

        -o-transform: scale(1.0);
        /* Opera */

        -moz-transform: scale(1.0);
        /* Firefox */
    }

    100% {
        transform: scale(1.07);
        -ms-transform: scale(1.07);
        /* IE 9 */

        -webkit-transform: scale(1.07);
        /* Safari and Chrome */

        -o-transform: scale(1.07);
        /* Opera */

        -moz-transform: scale(1.07);
        /* Firefox */
    }
}

.splide-header {
    width: 100%;
    position: absolute;
    left: 80px;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    z-index: 5;
}

.splide-header > * {
    margin-bottom: 0;
}

.splide-header h3.splide-title {
    font-size: 2.5em;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--op-text-white);
    width: 0;
    overflow-x: hidden;
}

.splide-header h4.splide-price {
    background: var(--op-secondary);
    color: var(--op-text-white);
    width: 350px;
    font-size: 1.8em;
    font-weight: 700;
    padding: 5px 30px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.splide__slide.slide-wrap.is-active.is-visible .splide-title.typing-animation {
    width: 800px;
    animation: typing 8s infinite ease;
    white-space: nowrap;
    overflow: hidden;
}
    
@keyframes typing {
    from {
        width: 0
    }
    80% {
        width: 100%;
    }
    100% {
        width: 100%;
    }
}

.splide-header .splide-button {
    width: 350px;
    font-size: 1.2em;
    font-weight: 700;
    background: var(--op-text-white);
    color: var(--op-primary);
    padding: 5px 30px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.splide-header .splide-button:hover {
    letter-spacing: 1px;
}

.splide-overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0) 20%, rgba(0,0,0,0.35) 90%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.splide-overlay.projekty {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.2) 20%, rgba(0, 0, 0, 0.4) 90%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 222;
}

.splide__slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* 
====================== 
END SPLIDE
=======================
*/

.op-btn {
    font-weight: bold;
    font-size: 1.1em;
    padding: 10px 20px;
    transition: all 0.4s ease-in-out;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.op-btn-primary {
    color: var(--op-text-white);
    background-color: var(--op-primary);

}

.op-btn-primary:hover {
    background: var(--op-secondary);
}

.op-btn-secondary {
    background: var(--op-secondary);
    color: var(--op-text-white);
}


.op-btn-secondary:hover {
    background-color: var(--op-primary);
}

.op-link-menu {
    color: var(--op-text-white);
    text-decoration: none;
    font-weight: 300;
    font-family: var(--op-font-default);
}

.op-link-active .op-link-menu {

    font-weight: 600 !important;
}

.op-nav .nav-item {
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.2s ease-in-out;
}

.op-social-media {
    gap: 10px;
    margin-left: 10px;
    flex-basis: 20%;
}

.social-mobile {
    display: none !important;
}

.op-social-item {
    color: var(--op-text-white);
    font-size: 18px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

nav.navbar.nav-sticky .op-social-item:hover {
    color: var(--op-text-white);
}

.op-social-item:hover, nav.navbar.nav-sticky .op-social-item {
    color: var(--op-primary);
}

.op-cover-hero {
    background: url('/wp-content/uploads/theme-images/hero-cover.jpeg');
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 1;
}

.op-cover-hero-70 {
    min-height: 70vh;
}

.op-cover-hero-80 {
    min-height: 80vh;
}

.op-cover-hero-90 {
    min-height: 90vh;
}

.op-cover-hero-100 {
    min-height: 100vh;
}

.op-cover-content {
    position: relative;
    z-index: 3;
    padding-inline: 10px;
}

.op-cover-desc {
    color: var(--op-text-white);
    font-size: 1.8rem;

}

.op-cover-heading {
    color: var(--op-text-white);
    font-size: 4rem;
    font-weight: 600;
}

.op-cover-overlay {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.op-cover-overlay-black-20 {
    background-color: rgba(0,0,0,0.2);
}

.op-cover-overlay-black-30 {
    background-color: rgba(0,0,0,0.3);
}

.op-cover-overlay-black-40 {
    background-color: rgba(0,0,0,0.4);
}

.op-cover-overlay-black-50 {
    background-color: rgba(0,0,0,0.5);
}




/* 
====================== 
WYSZUKIWARKA
=======================
*/
#oferta-nieruchomosci .hero-search {
    margin-top: 120px !important;
}

.op-form-search {
    box-sizing: border-box;
    background: var(--op-secondary);
    padding: 24px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.op-search-inputs {
    width: 100%;
    display: flex;

}

.op-search-inputs-range {
    width: 100%
}

.op-search-inputs select {
    width: 100%;
    height: 60px;
    border: none;
    background: var(--op-secondary);
    padding-inline: 15px;
    font-size: 16px;
    color: var(--op-text-white);
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 95%;
    background-position-y: 16px;
    border: 1px solid var(--op-text-white);
}

.op-search-inputs select option {
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 14px;
}

.ui-state-default {
    border-radius: 50% !important;
    background-color: var(--op-secondary) !important;
    border: 1px solid var(--op-secondary) !important;
}

.ui-widget-header {
    background-color: var(--op-secondary) !important;

}

.range-output {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    margin-top: 5px;
}

.range-square {
    font-size: 14px !important;
}

.ui-slider {
    border: solid 1px var(--op-secondary) !important;

}

.input-range {
    width: 65px;
    background: transparent;
    text-align: center;
    font-weight: 300 !important;
    font-size: 14px !important;
    color: var(--op-text-black) !important;
}

.op-btn.search-btn {
    height: 60px;
    width: 100%;
}

.op-btn.search-btn:hover {
    background: var(--op-text-white);
    color: var(--op-secondary);
}

/* 
====================== 
END WYSZUKIWARKA
=======================
*/

/* 
====================== 
TOP 3
=======================
*/

.op-card-top3 {
    width: 100%;
    height: 400px;
    position: relative;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 0 8px rgba(0,0,0,0.15);
    z-index: 2;
}

.op-t3-cards:hover .op-card-top3:not(:hover) {
    filter: grayscale(100%);
}

.op-card-top3-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.2s ease-in-out;
}

.op-card-top3:hover {
    transform: scale(1.01);
}

.op-card-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.15);
    transition: all 0.2s ease-in-out;
}

.op-card-top3:hover .op-card-overlay {
    background: rgba(0,0,0,.15);
}

.op-card-top3-header {
    width: 100%;
    height: 100%;
    position: absolute;
    color: var(--op-text-white);
    z-index: 5;
}

.op-offer-card-city-outline {
    position: absolute;
    right: 5px;
    top: 5px;
    border: solid 1px var(--op-secondary);
    color: var(--op-secondary);
    padding: 5px 15px;
    font-size: 18px;
}

.op-card-top3-badge {
    width: 100%;
    background-color: #fff;
    padding: 20px 10px;
    font-size: 1.1em;
    text-transform: uppercase;
    border: solid 1px var(--op-secondary);
    font-weight: 600;
    font-family: var(--op-font-headers);
    text-decoration: center;
    text-align: center;
    position: relative;
    transform: translateY(-100%);
    z-index: 1;
    transition: all 0.5s ease-in-out;
}

.op-card-top3:hover .op-card-top3-badge {

    transform: translateY(0%);
}

.op-card-top3-href {
    text-decoration: none;
}

.op-card-top3:hover .op-card-top3-title, .op-card-top3:hover .op-card-top3-location {
    letter-spacing: 6px !important;
}

.op-card-top3-location {
    margin-bottom: 20px;
    font-size: 1.2em;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-align: center;
    color: var(--op-text-white);
    transition: all 0.2s ease-in-out;
}

/* 
====================== 
END TOP 3
=======================
*/

/* 
====================== 
O NAS
=======================
*/

.op-onas-description {
    max-width: calc(100% - 120px);
    text-align: center;
}

.op-full-size {
    width: 100%;

}

.op-full-size-cover {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.op-full-size-overlay-black {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2;
    top: 0;
}

.op-full-size-overlay-white {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255,255,255, 1) 0%, rgba(255,255,255,0) 20%);
    z-index: 2;
    top: 0;
}

.op-absolute-ceneter {
    left: 50%;
    transform: translateX(-50%);
}

.hero-section-main .container img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}

/* 
====================== 
END O NAS
=======================
*/

/* 
====================== 
OFERTA
=======================
*/


.op-h3-header {
    font-size: 2.5em; 
    font-weight: 200;
    text-transform: uppercase;

}

.op-offer-link {
    text-decoration: none;
}

.op-offer-card {
    width: 100%;
    height: 100%;
    position: relative;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}

.op-offer-card:hover {
    transform: scale(1.01);
}

.offer-card-top {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.offer-card-top-bs {
position: absolute;
    display: block;
    content: 'Bestseller';
    text-align: center;
    text-transform: uppercase;
    width: 150px;
    height: 20px;
    line-height: 20px;
    left: -50px;
    /* -50% of width*/
    top: 15px;
    /* -50% of height*/
    transform-origin: 50% 50%;
    transform: translate(20px, 20px) rotate(-45deg);
    background: var(--op-secondary);
    color: var(--op-text-white);
    z-index: 100;
}

.op-offer-card-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-sizing: border-box;
    transition: all .5s ease-in-out
}

.op-offer-card:hover .op-offer-card-cover {
    opacity: 0;
}

.cover-overlay {
    opacity: 0;
    transition: all .5s ease-in-out;
}

.op-offer-card:hover .cover-overlay {
    opacity: 1 !important;
}

.cover-overlay {
    position: absolute;
    left: 0;
    top: 0;

}

.op-offer-card-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background-color: rgba(0,0,0,0.15);
    box-sizing: border-box;
    transition: all 0.2 ease-in-out;
}

.op-offer-card:hover .op-offer-card-overlay {
    background-color: rgba(0,0,0,0.1);
}

.op-offer-card-price {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
    padding: 5px 15px;
    background: #fff;
    border-left: solid 1px rgba(0,0,0,0.1);
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
    color: var(--op-text-black);
    font-size: 1.3em;
}

.offer-card-bottom {
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    padding: 5px;
    border: solid 1px var(--op-secondary);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
    position: relative;
}

.op-offer-card-type {
    font-size: 0.8em;
    text-transform: uppercase;
}

.op-offer-card-name {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 400;
    font-size: 1.2em;
    line-height: 1em;
    text-transform: uppercase;
    height: max-content;
    position: relative;
    top: -20px;
    left: -20px;
    background: var(--op-primary);
    width: 280px;
    padding: 10px 20px;
    color: #fff;
    z-index: 3;
}

.op-offer-card-details {
    display: flex;
    gap: 2px;
    flex-direction: column-reverse;
}

.op-offer-card-attrs {
    position: absolute;
    right: 0;
    top: 12px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.op-offer-card-wyk {
    padding: 10px 20px;
    text-align: center;
    background-color: rgba(255,255,255,1);
    color: var(--op-secondary);
    text-transform: uppercase;
    font-size: 1em;
    font-weight: 800;

}

.op-offer-card-attr {
    width: max-content;
    padding: 5px 20px;
    text-align: center;
    background-color: rgba(255, 255, 255, 1);
    color: var(--op-primary);
    text-transform: uppercase;
    font-size: 0.8em;
    font-weight: 400;
    z-index: 3;
    margin-top: 6px;
}

.op-offer-card:hover h5.op-offer-card-location {
    text-indent: 15px;
}

.btn-top3 {
    font-size: 1.3em;
    font-weight: 500;
    border: solid 2px #fff;
    color: #fff;
    text-transform: uppercase;
}


.btn-oferta:hover {
    box-shadow: 0 0 8px rgba(0,0,0,0.4);
    opacity: 0.9;
} 

/* 
====================== 
END OFERTA
=======================
*/

/* 
====================== 
VIDEOBLOG
=======================
*/

.op-video-card {
    width: 100%;
    height: 100%;
    position: relative;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}

.op-video-card:hover {
    transform: scale(1.01);
}

.op-vd-card:hover .op-video-card:not(:hover) {
    filter: grayscale(100%);
}

.op-vd-card:hover .op-video-card:not(:hover)::after {
    background-color: rgba(#000, 0.5);
}


.op-video-card-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-sizing: border-box;
}

.op-video-card-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.3);
    transition: all 0.2s ease-in-out;
}

.op-video-card:hover .op-video-card-overlay {
    background: rgba(0,0,0,0);
}

.op-video-card-header {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    
}

.op-video-card-text {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--op-text-white);
}

.op-video-card-title {
    font-size: 2.1em;
    font-weight: 300;
    color: var(--op-text-white);
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: all 0.2s ease-in-out;
    text-align: center;
}

.op-video-card:hover .op-video-card-title {
    margin-right: 45px;
}

.op-video-card-location {
    font-weight: 300;
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.2s ease-in-out;
}

.op-video-card:hover .op-video-card-location {
    margin-left: 45px;
}

#splide-logo .splide__arrow.splide__arrow--prev, #splide-logo .splide__arrow.splide__arrow--next {
    background: transparent;
}

#splide-logo svg {
    width: 40px;
    height: 40px;
}

.op-background-grey {
    background: rgba(0,0,0,0.65);
}

/* 
====================== 
END VIDEOBLOG
=======================
*/

/* 
====================== 
TESTIMONIAL
=======================
*/


.op-testimonial-cover {
    max-height: none !important;
    padding: 60px;
}

#splide-testimonial .splide__arrows {
    display: none;
}

h2.op-testimonial-quote {
    font-size: 2.1em;
    font-weight: 200;
    text-align: center;
    letter-spacing: 2px;
    color: var(--op-text-white);
}

.op-testimonial-signature {
    font-size: 1.3em;
    font-weight: 300;
    color: #f0f0f0;
}

/* 
====================== 
END TESTIMONIAL
=======================
*/

/* 
====================== 
OFFER PAGE
=======================
*/

.op-offer-list {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.op-offer-item {
    box-sizing: border-box;
    border: solid 1px var(--op-secondary);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    text-decoration: none ;
}

.op-offer-item:hover .offer-item-left img {
    transform: scale(1.3) translateX(-10%);
    transition: all 5s ease-out;
}

.offer-item-left {
    flex-basis: 50%;
    padding: 32px 0 ;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.offer-item-left img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transform: scale(1.3) translateX(10%);
    transition: all 0.5s ease-in;
}

.offer-item-right {
    flex-basis: 50%;
    width: calc(100% - 48px);
    height: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/*.right-item-description {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    
}*/

.op-oferta-opis {
    overflow: hidden;
    display: block;
    font-size: 0.9em;
    line-height: 1.5em;
    height: 4.5em;
}


.offer-item-right > .right-item-button{
    text-align: end;
    display: flex;
    justify-content: flex-end;

}

.right-item-title .item-title-header {
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    /* number of lines to show */
    line-clamp: 1;
    -webkit-box-orient: vertical;
}

.right-item-title .item-title-location {
    text-transform: uppercase;
    font-weight: 700;
}

.op-justify-text {
    text-align: justify;
    font-size: 14px;
}

.right-item-parametrs {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
}

.item-parametrs {
    display: flex;
    align-items: center;
    gap: 15px;
}

.item-parametrs i {
    font-size: 18px;
    width: 25px;
    margin: 0 !important;
}

.offer-pagination {
    margin-top: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination-button {
    font-size: 1.2em;
    font-weight: 500;
    text-decoration: none;
    width: 40px;
    height: 40px;
    border: solid 2px #000;
    display: grid;
    place-items: center;
}

.pagination-button.active {
    background: #000;
    color: white;
}

/* 
====================== 
END OFFER PAGE
=======================
*/

/* 
====================== 
 OFFER DETAILS
=======================
*/

.op-offer-hero {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 1;
}

.op-offer-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0);
    z-index: 2;
}

.op-offer-overlay-white {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background: rgba(255, 255, 255, 0.3);
        z-index: 2;
}

.op-offer-hero-container {
    width: 100%;
    position: relative;
    z-index: 3;
}

.op-offer-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.offer-content-left {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-left: 50px;
    color: var(--op-text-white);
    text-transform: uppercase;
    flex-basis: 60%;
}

.offer-content-left .offer-left-name {
    font-family: var(--op-font-headers);
    font-weight: 400;
    font-size: 2.5em;
    letter-spacing: 1px;
}

.offer-content-left .offer-left-location {
    font-family: var(--op-font-headers);
    font-weight: 100;
    font-size: 2em;
    letter-spacing: 1px;
}

.offer-content-right {
    width: 100%;
    flex-basis: 40%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.op-offer-triangle {
    width: 0;
    height: 0;
    border-top: 50px solid transparent;
    border-bottom: 50px solid transparent;
    border-right: 50px solid #fff;
}

.content-right-bg {
    float: right;
    width: 350px;
    background: #fff;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding-right: 50px;

}

.content-right-price {
    color: #000;
    font-weight: 500;
    font-size: 2.5em;
    line-height: 30px;
    letter-spacing: 1px;
}

.content-right-label {
    font-weight: 300;
    font-size: 1.5em;
    line-height: 30px;
    letter-spacing: 1px;
    color: var(--op-text-black);
}

.content-right-note {
    font-weight: 300;
    font-size: 12px;
    color: var(--op-text-black);
}

.op-offer-back-btn {
    font-size: 1.1em;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.op-offer-back-btn:hover {
    letter-spacing: 1px;
}

.op-offer-features {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.op-offer-features .offer-features-icon {
    margin-bottom: 10px;
    height: 50px;
}

.op-offer-features-title {
    font-size: 1em;
    font-weight: 600;
    text-transform: uppercase;
    font-family: var(--op-font-headers);
    text-align: center;
}

.op-offer-features-value {
    font-size: 1em;
    font-weight: 200;
    text-transform: uppercase;
}

.op-offer-gallery-section {
    padding-inline: 6px;
}

.op-offer-gallery {

}

.op-offer-wykonczenie {
    font-size: .9em;
    font-weight: 700;
    text-transform: uppercase;
}

.flex-images img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.op-offer-maps {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-height: 400px;
    padding-top: 35%;
    filter: grayscale(100%);
}

.op-offer-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.op-offer-adviser {
    width: calc(100% - 200px);
    margin-inline: auto;
    border: solid 1px var(--op-secondary);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.adviser-head-name {
    font-family: var(--op-font-headers);
    font-weight: 600;
    font-size: 2.1em;
    text-transform: uppercase;
}

.adviser-head-position, .adviser-socialmedia-title {
    font-family: var(--op-font-headers);
    font-weight: 200;
    font-size: 1.5em;
    text-transform: uppercase;
}

.adviser-contact-item {
    width: 100%;
    
}

.adviser-contact-item i {
    color: var(--op-secondary);
    font-size: 1.7em;
}

.offer-adviser-text {
    margin-left: 20px;
    font-size: 1.4em;
    font-weight: 500;
    
}

.offer-adviser-socialmedia {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 20px;
}

.adviser-socialmedia-flex {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
}

.adviser-socialmedia-flex i {
    font-size: 2.5em;
}

.offer-adviser-img {
    position: absolute;
    bottom: -81px;
    right: 0;
    height: auto;
    width: 400px;
    z-index: 3;
}

.offer-adviser-img img {
    width: 100%;
    height: auto;
}

.offer-advisor-url-box {
    position: absolute;
    bottom: -30px;
    right: 30%;
    width: 100%;
    flex-basis: 50%;
    display: flex;
    justify-content: flex-end;
    align-items: center;

}

.offer-advisor-url {
    height: 60px;
    width: 40%;
    background-color: var(--op-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--op-text-white);
    font-size: 2em;
    z-index: 2;
}

.offer-advisor-triangle {
    width: 0;
    height: 0;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-right: 30px solid #000;

}

.op-advisor-card {
    width: 100%;
    border: solid 1px var(--op-secondary);
    padding-top: 20px;
    overflow: hidden;
    height: 450px;
    position: relative;
    display: flex;
    align-items: end;
}

.op-advisor-item {
    margin-bottom: 24px;
}

.op-advisor-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

#kontakt-doradcy .op-advisor-card-info {
    transform: translateY(0);
}

.op-advisor-card:hover .op-advisor-card-info {
    transform: translateY(0%);
}

.op-advisor-card-info {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6.4px);
    -webkit-backdrop-filter: blur(6.4px);
    border-top: 1px solid rgba(255, 255, 255, 0.61);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    transform: translateY(100%);
    transition: all 0.3s ease-in-out;
}

.advisor-card-name {
    font-size: 1.3em;
    font-family: var(--op-font-headers);
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
}

.advisor-card-position {
    font-size: 1.1em;
    font-family: var(--op-font-headers);
    font-weight: 200;
    text-transform: uppercase;
}

.card-contact-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.card-contact-item:hover {
    color: var(--op-primary);
}

.card-contact-item .advisor-contact-value {
    font-size: 1.1em;
}

.advisor-card-social {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.advisor-card-social a {
    text-decoration: none;
}

.advisor-card-social a:hover {
    color: var(--op-primary);
}

.advisor-card-social a i {
    font-size: 1.7em;
}

/* 
====================== 
END OFFER DETAILS
=======================
*/
/* 
====================== 
KONTAKT
=======================
*/

.section-margin-top {
    margin-top: 120px;
}

.kontakt-page {
    height: 70svh;
    width: 100%;
    display: flex;
    align-items: center;

}

.op-advisor-grid {
    justify-content: center;
}

.op-contact-box {
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.op-contact-list {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
}

.op-contact-list .op-contact-item {
    text-decoration: none;
    border: solid 1px #000;
    color: #000;
    height: 50px;
    font-size: 1.2em;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.op-contact-list .op-contact-item:hover {
    background: #000;
    color: #fff;
}

.op-contact-list .op-contact-item i {
    margin-right: 10px;
}

.op-contact-black {
    background: var(--op-secondary);
}

/* wspolpraca */

.op-wspolpraca-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 20% 80%;
    gap: 5px 10px;
}

.op-wspolpraca-grid .op-wspolpraca-icon {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
}

.op-wspolpraca-grid .op-wspolpraca-icon img {
    width: 100%;
    height: auto;
}

.op-wspolpraca-grid .op-wspolpraca-title {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
    font-size: 1.3em;
    font-weight: 200;
    text-transform: uppercase;
    font-family: var(--op-font-headers) !important;
}

.op-wspolpraca-grid .op-wspolpraca-text {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
    font-size: 0.9em;
}

.op-temat-box {
    width: 100%;
    display: block;
    position: relative;
    margin-bottom: 20px;
}

.op-temat-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: brightness(0.5);
    transition: all 0.2s ease-in-out;
}

.op-temat-box:hover img {
    filter: brightness(0.8);
}

.op-temat-title-box {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: grid; 
    place-items: center;
}

.op-temat-title {
    font-size: 1.7em;
    font-weight: 400;
    text-transform: uppercase;
    font-family: var(--op-font-headers) !important;
    color: var(--op-text-white);
    letter-spacing: 4px;
}

.op-opinie-bg {
    background: #f4f3f2;
    padding-top: 60px;
    padding-bottom: 60px;
}

.op-opinia-box {
    background: white;
    border: solid 1px var(--op-secondary);
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    margin: 20px;
}

.op-opinia-title {
    font-family: var(--op-font-headers);
    font-weight: 700;
    font-size: 1.1em;
    margin-bottom: 12px;
}

.op-opinia-podpis {
    font-size: 0.9em;
}

.op-opinie-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.op-opinie-nav div {
    border: solid 1px var(--op-secondary);
    padding: 15px 20px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.op-opinie-nav div:hover {
    opacity: 0.9;
    background: var(--op-text-white);
}

/*BLOG */

.op-blog-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.op-blog-item {
    width: 100%;
    position: relative;
}

.op-blog-item img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    filter: brightness(0.5);
    transition: all 0.2s ease-in-out;
}

.op-blog-item:hover img {
    filter: brightness(0.8);
}

.blog-item-content {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.item-content-title {
    font-weight: 400;
    text-transform: uppercase;
    color: var(--op-text-white);
    padding: 20px;
    text-align: center;
}

.item-content-badge {
    width: 200px;
    position: absolute;
    left: 0;
    bottom: 30px;
    background: #fff;
    text-align: end;
    padding-right: 10px;
}

.item-content-badge img {
    width: 120px;
    height: auto;
}


/*Agent single */
.op-agenci-content {
    width: 100%;
    display: flex;
    position: relative;
    z-index: 4;

}

.op-agenci-content>* {
    flex-basis: 50%;
}

.agenci-content-right {
    width: 100%;
}

.agenci-content-right img {
    width: 100%;
    height: auto;
}

.agenci-content-left {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.agenci-content-left p {
    font-size: 1.1em;
}

.op-agentci-name {
    font-size: 2em;
    font-family: var(--op-font-headers);
    font-weight: 700;
    text-transform: uppercase;
}

.op-agenci-stanowisko {
    font-size: 1.8em;
    font-family: var(--op-font-headers);
    font-weight: 200;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.op-agent-nmagin {
    margin-top: -250px;
    position: relative;
    z-index: 5;
}

.op-agent-box {
    width: 100%;
    padding: 60px;
    border: solid 1px var(--op-secondary);
    background: #fff;
}

.agent-box-header {
    text-align: center;
    width: max-content;
    margin-inline: auto;
    font-family: var(--op-font-headers);
    font-weight: 700;
    font-size: 2em;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: var(--op-text-white);
    background: var(--op-secondary);
    padding: 15px 80px;
}

.agent-box-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agent-box-content > * {
    flex-basis: 50%;
}

.agent-box-left {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.agent-left-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    font-size: 1.5em;
    text-decoration: none;
}


.agent-box-right {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    font-size: 3.5em;
}

.agent-mapa {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-height: 550px;
    padding-top: 35%;
    filter: grayscale(100%);

}

.agent-mapa iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
        padding-inline: 16px;
}

#wspolpraca-form {
    position: relative;
    top: -200px;
}

/* 
====================== 
FOOTER
=======================
*/

body:has(#oferta-doradca) .op-contact-nmargin {
    margin-top: 3rem;
}

body:has(#oferta-doradca) #footer-contant-blocks, body:has(#oferta-doradca) #footer-contact-title {
    display: none;
}

.op-contact-nmargin {
    margin-top: -62px;
}

.row-footer-separator {
    display: flex;
    align-items: center;
}
  
.row-footer-separator::before,
.row-footer-separator::after {
    content: '';
    width: 100%;
    flex: 1;
    border-bottom: 2px solid #000;
}

.op-contact {
    background: var(--op-secondary);
    padding: 20px;
}

  .op-call-link, .op-call-title {
    color: var(--op-text-white);
}

.op-call-title {
    font-size: 1.5em;
    font-weight: 200;
    text-transform: uppercase;
}

.op-call-link {
    font-size: 2em;
    font-weight: 700;
    text-decoration: none;
}

.op-mb-5 {
    margin-bottom: 80px;
}

.op-contact-title {
    font-weight: 600;

}

.op-footer-logo img{
    width: 50%;
}



.op-contact-branches {
    list-style: none;
    padding-left: 5px;
}

.op-contact-phone {
    gap: 10px;
    font-size: 1.7em;
    font-weight: 600;
    text-decoration: none;
}

.op-contact-social {
    gap: 20px;
}

.op-footer-links {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.op-footer-link {
    font-weight: 500;
    font-size: 0.9em;
}

.op-copyright {
    font-weight: 600;
    font-size:1.1em;
}


/* 
====================== 
NEWSLETTER
=======================
*/

.hidden-input {
    display: none;
}



.op-form-box {
    padding: 48px;
    background: var(--op-secondary);
    box-shadow: -10px -10px 0 rgba(0,0,0,0.2);
}

.op-form-title {
    font-family: var(--op-font-headers) !important;
    font-size: 1.3em;
    font-weight: 200;
    text-transform: uppercase;
    color:var(--op-text-white);
    margin-bottom: 12px;
}

/* NOWE */
.op-text-block {
    background: var(--op-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 450px;
    position: relative;
    padding: 48px;
}

.op-img-block {
    width: 100%;
    min-height: 450px;
    object-fit: cover;
    object-position: center;
}

.op-block-header {
    background: var(--op-text-white);
    color: var(--op-secondary);
    padding: 10px 20px;
    min-width: 50%;
    width: max-content;
    position: absolute;
    top: 36px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.op-block-header.right {
    right: 0;
}

.op-block-header.left {
    left: 0;
}

.op-block-header.right::after {
    content: '';
    width: 40px;
    height: 47px;
    background: var(--op-text-white);
    display: block;
    position: absolute;
    right: -40px;
    top: 0;
    box-shadow: 6px 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.op-block-header.right::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
        border-right: 30px solid transparent;
    
        border-bottom: 47px solid white;
    display: block;
    position: absolute;
    left: -30px;
    top: 0;
    z-index: -1;
}

.op-block-header.left::after {
    content: '';
    width: 40px;
    height: 47px;
    background: var(--op-text-white);
    display: block;
    position: absolute;
    left: -40px;
    top: 0;
    box-shadow: -6px 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.op-block-header.left::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;

    border-bottom: 47px solid white;
    display: block;
    position: absolute;
    right: -30px;
    top: 0;
    z-index: -1;
}

b {
    font-weight: 800 !important;
}

.accordion-button{
    text-transform: uppercase !important;
    color: var(--op-primary);
}

.accordion-button:focus {
    border: none !important;
    box-shadow: none !important
}

.accordion-button:not(.collapsed) {
    background: transparent !important;
    color: var(--bs-gray);
}

.op-hover-item {
    transition: all 0.2s ease-in-out;
}

.op-hover-item:hover {
    background: var(--op-primary) !important;
    color: var(--op-text-white) !important;
}

.op-hover-item h4 {
    transition: all 0.2s ease-in-out;
}

.op-hover-item:hover h4 {
    color: var(--op-text-white);
}

#formularz-stopka #wpforms-425{
    margin: 0;
    font-family: var(--op-font-default) !important;
}

#wpforms-425 .wpforms-field {
    padding: 4px 0 !important;
}

#wpforms-425 input[type="text"], #wpforms-425 input[type="email"] {
    border-radius: 0;
    font-size: 14px;
    height: 36px;
    border: solid 1px rgba(0,0,0,0.25);
}

#wpforms-425 textarea {
    border-radius: 0;
    font-size: 14px;
    border: solid 1px rgba(0,0,0,0.25)
}

#wpforms-425 label {
    font-size: 10px;
    color: var(--op-text-white);
    padding-left: 4px;
}

#wpforms-425 label a {
    color: var(--op-primary);
}

#wpforms-425 input[type="checkbox"]::before {
    width: 10px;
    height: 10px;
}

#wpforms-425 button {
    border-radius: 0;
    background: var(--op-primary);
    color: var(--op-text-white);
    font-weight: 700;
    padding: 10px 20px;
    
}

div.wpforms-container-full button[type="submit"]:focus::after {
    border: none !important;
}

.wpforms-submit-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.border-top-primary {
    border-top: solid 5px var(--op-primary);
}

.text-space-1 {
    letter-spacing: 1px;
}

.op-footer-social-item {
    background: var(--op-text-white);
    font-size: 22px;
    color: var(--op-text-black);
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    text-decoration: none;
}

footer .op-link-menu {
    font-weight: 500;
    color: #888;
    transition: all 0.2s ease-in-out;
}

footer .op-link-menu:hover {
    color: var(--op-primary);
}

footer .text-privacy {
    font-size: 11px;
    color: #888;
    text-align: center;
}

.project-name-box {
    box-sizing: border-box;
    width: max-content;
    padding:  20px 40px;
    text-transform: uppercase;
    position: relative;
    right: 50px;
}

.project-name-box.box-black {
    background: var(--op-secondary);
    box-shadow: -6px 2px 3px rgba(0, 0, 0, 0.2);
}

.project-name-box.box-white {
    background: var(--op-text-white);
    box-shadow: -6px 2px 3px rgba(0, 0, 0, 0.2);
}

.project-name-box.box-white::after {
    content: '';
    width: 50px;
    height: 78px;
    background: #fff;
    position: absolute;
    right: -50px;
    top: 0px;
}

.project-name-box.box-white::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 77px solid white;
    display: block;
    position: absolute;
    left: -40px;
    top: 0;
    z-index: 1;
    filter: drop-shadow(-6px 2px 3px rgba(0, 0, 0, 0.2));
}

.project-name-box.box-black .project-details {
    color: var(--op-text-white); 
    font-weight: 400;
    margin-bottom: 0;
}

.project-name-box.box-black::after {
    content: '';
    width: 50px;
    height: 78px;
    background: #000;
    position: absolute;
    right: -50px;
    top: 0;
}

.project-name-box.box-black::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 78px solid black;
    display: block;
    position: absolute;
    left: -40px;
    top: 0;
    z-index: 1;
    filter: drop-shadow(-6px 2px 3px rgba(0, 0, 0, 0.2));
}

#main-slider ul, #main-slider li {
    height: 80vh !important;
}

.op-variant-item {
    width: 100%;
    box-sizing: border-box;
    padding: 15px 30px;
    border: solid 1px var(--op-secondary);
    display: grid;
    place-items: center;
    font-size: 1.2em;
    font-weight: 700;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.op-variant-item.active, .op-variant-item:hover {
    background-color: var(--op-primary);
    border-color: var(--op-primary);
    color: var(--op-text-white);
}

.op-project-download {
    width: 100%;
    padding: 17px 30px;
    border: solid 1px var(--op-secondary);
    display: none;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.op-project-download:hover {
    background: var(--op-secondary);
    color: var(--op-text-white);
}

.op-project-download.show {
    display: flex;
}

.op-level-item {
    border: solid 1px var(--op-secondary);
    padding: 15px 30px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.op-level-item.active, .op-level-item:hover {
    background: var(--op-secondary);
    color: var(--op-text-white);
}

.op-level-item:first-child {
    border-right: none;
}

.op-level-item:nth-child(3) {
    border-left: none;
}

.op-project-table {
    display: none;
    padding: 36px;
    border: solid 3px var(--op-secondary);
    width: 100%;
}

.op-project-table.show {
    display: block;
}

.op-table-row {
    display: flex;
    justify-content: space-between;
    padding: 7px;
}

.op-table-row:nth-child(even) {
    background: rgba(0,0,0,0.1);
}

.op-table-cell:first-child {
    width: 5%;
    font-weight: 700;
}

.op-table-cell:nth-child(2) {
    width: 80%;
}

.op-table-cell:nth-child(3) {
    width: 15%;
    font-weight: 500;
    text-align: end;
}

#warianty a.wariant-link {
    display: none;
    width: 100%;
    height: 100%;
}

#warianty a.wariant-link.show {
    display: flex;
    justify-content: center;
}

.wariant-link img {
    object-fit: contain;
}

.op-technologia-box {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.op-technologia-item {
    width: 100%;
    padding: 24px;
    background: var(--op-text-white);
    border: solid 2px var(--op-secondary);
    color: var(--op-secondary);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.op-technologia-item.active, .op-technologia-item:hover {
    background: var(--op-secondary);
}

.op-technologia-item.active h3,
.op-technologia-item:hover h3 {
    color: var(--op-text-white);
    font-weight: 700;
}

.op-level-group {
    display: none;
}

.op-level-group.show {
    display: flex;
    align-items: center;
}

.hide-section {
    display: none;
}

.etapy > * {
    transition: all 0.3s ease-in-out;
}

.etapy > *:hover {
    transform: translateY(-10px);
}

.inwestycje-hero-absolute {
    position: absolute;
    top: 80px;
    left: 80px
}

.inwestycje-hero-heading {
    background: rgba(144, 111, 81,.8);
    color: var(--op-text-white);
    padding: 15px 55px;
    text-transform: uppercase;
    font-size: 1.3em;
}

@media (max-width: 1450px) {
    .op-agent-nmagin {
        margin-top: -160px;
    }
}
  
@media (max-width: 1290px) {
    .offer-advisor-url-box {
        right: 40%;
    }

        .op-mb-2 {
            margin-bottom: 12px;
        }
}

@media (max-width: 992px) {



    .social-mobile {
        display: flex !important;
    }

    .op-social-media.social-desktop {
        display: none !important;
    }

    #o-nas .container.position-absolute {
        position: inherit !important;
    }

    .op-onas-description {
        max-width: 100%;
        text-align: justify;
    }

    #onas p, #onas-dlaczegomy p {
        text-align: justify !important;
    }

    .splide-header {
        left: 12px;
        width: calc(100% - 24px);
    }

    .slide-wrap img {
        max-height: 100%;
        height: 100%;
    }

    .splide__slide.slide-wrap.is-active.is-visible .splide-title.typing-animation {
        width: 100%;
        font-size: 1.8em;
        white-space: normal;
        animation: none;
        text-align: center;
    }

    .splide-header h4.splide-localisation {
        font-size: 1.5em;
        text-align: center;
    }
    
    .splide-header .splide-button {
        font-size: 1em;
        width: max-content;
        margin: 0 auto;
    }

    .op-form-search {
        flex-direction: column;
    }

    .op-h3-header {
        font-size: 1.8em;
        text-align: center;
    }

    

    .op-contact-nmargin {
        margin-top: 12px;
    }

    footer .op-mb-5 {
        margin-bottom: 20px;
    }

    .op-call-title {
        font-size: 1.2em;
    }

    .op-call-link {
        font-size: 1.6em;
    }


    .op-reverse-column > * {
        margin-bottom: 20px;
    }

    .kontakt-page {
        height: auto;
    }

    .op-contact-box {
        margin-inline: 12px;
    }

    .op-contact-list .op-contact-item {
        width: calc(100%);
    }

    .op-contact-list .op-contact-item:last-child {
        margin-bottom: 12px;
    }
}

@media (max-width: 768px) {

    h2.op-header, h2.op-header.primary {
            font-size: 2em;
        }

                .slide-wrap {
                    height: 500px;
                }

    .etapy {
        flex-direction: column;
    }

    .op-offer-card-details {
        flex-direction: column;
        position: absolute;
        right: 5px;
        gap: 4px;
    }

    .small-w-100 {
        width: 100%;
    }

    .mt-sm-5 {
        margin-top: 48px
    }
    .menu-stopka ul {
        flex-direction: column !important;
        flex: 1 !important;
    }

    .menu-stopka ul li {
        text-align: center;
    }

    .op-offer-card-name {
        font-size: 1em;
        top: -40px;
    }

    #offer-navigation > * > .row:last-child {
        margin-top: 24px;
    }

    .offer-card-bottom {
        padding: 10px 5px;
        min-height: 70px;
        align-items: end;
    }

    .op-offer-card-details > * {
        display: flex;
        align-items: center;
    }

    .op-contact-list .op-contact-item {
        font-size: 1em;
    }

    .op-cover-desc {
        font-size: 1rem;
    
    }

    .op-nav .nav-item:hover {
        background-color: var(--op-primary);
        
    }

    .op-nav .nav-item:hover a {
        color: var(--op-text-white);
    }

    .op-advisor-card-info {
        transform: translateY(0%);
    }

    .op-offer-item {
        flex-direction: column;
    }

    .offer-item-right {
        padding: 12px;
    }

    .offer-item-right > .right-item-button {
        justify-content: center;
    }

    .offer-content-left .offer-left-name {
        font-size: 1.7em
    }

    .offer-content-left .offer-left-location {
        font-size: 1.2em;
    }

    .op-offer-content {
        flex-direction: column-reverse;
        gap: 40px;
        
    }

    .offer-content-left {
        margin-left: 0;
        padding: 12px;
    }

    .op-offer-overlay {
        background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.8) 100%);
    }
    
    .content-right-bg {
        padding-right: 10px;
        width: 200px;
    }

    .content-right-price {
        font-size: 1.7em;
        line-height: 16px;
    }
    .content-right-label {
        font-size: 1.2em;
        
    }

    #offer-navigation .col-12 {
        gap: 20px;
    }

    .op-offer-maps {
        max-height: 600px;
        padding-top: 100%;
    }

    .op-offer-adviser {
        width: 100%;
        gap: 30px;
        padding: 20px;
    }

    .offer-adviser-img {
        position: relative;
        bottom: -40px;
        right: 40px;
        z-index: 3;
    }

    .offer-advisor-url-box {
        z-index: 5;
        right: 0;
    }
    .offer-advisor-url {
        width: 100%;
        font-size: 1.5em;
    }

    .adviser-head-name {
        font-size: 1.6em
    }
    .adviser-head-position {
        font-size: 1.1em;
    }

    .adviser-contact-item i {
        font-size: 1.4em;
    }

    .offer-adviser-text {
        font-size: 1.1em;
        margin-left: 10px;
    }

    .adviser-socialmedia-title {
        font-size: 1.3em;
    }

    .adviser-socialmedia-flex i {
        font-size: 1.8em;
    }

#lista-ofert p {
    text-align: left !important;
}

.op-video-card-title {
    font-size: 1.4em;
}
.op-video-card-location {
    font-size: 1.1em;
}

    .op-blog-grid {
        grid-template-columns: 100%;
    }

    .blog-flex {
        flex-direction: column;
        margin-inline: auto;
    }

    .blog-flex > * {
        flex-basis: 100%;
    }

        .blog-flex:nth-child(even) .col-img {
            position: relative;
            right: 0;
            z-index: 3;
        }
    
        .blog-flex:nth-child(odd) .col-img {
            position: relative;
            left: 0;
            z-index: 3;
        }
    
        .blog-flex:nth-child(even) .col-text {
            position: relative;
            left: 0;
            z-index: 2;
            padding: 16px;
        }
    
        .blog-flex:nth-child(odd) .col-text {
            position: relative;
            right: 0;
            z-index: 2;
            padding: 16px
        }

        .blog-flex .blog-wysiwyg-element {
            padding: 0 !important;
        }

        .op-agenci-content {
            flex-direction: column;
        }

        .op-agentci-name {
            font-size: 1.8em;
        }
        
        .op-agenci-content {
            padding: 40px 0;
        }

        .op-agenci-stanowisko {
            font-size: 1.5em;
        }

        .op-agent-nmagin {
            margin-top: -80px !important;
        }

        .op-agent-box {
            padding: 16px;
        }

        .agent-box-header {
            font-size: 1.5em;
            width: 100%;
            padding: 10px 20px;
        }

        .agent-box-content {
            flex-direction: column;
        }

        .agent-left-item {
            font-size: 1.1em;
            gap: 8px;
        }

        .agent-box-right {
            font-size: 2.5em;
            margin-top: 40px;
        }

        .op-text-block {
            padding: 24px;
            width: calc(100% - 24px);
            margin-inline: auto;
        }

        .op-block-header {
            position: initial;
            margin-bottom: 24px;
            width: 100%;
        }

        .op-block-header.right::after, .op-block-header.right::before, .op-block-header.left::before, .op-block-header.left::after {
            width: 0;
            height: 0;
            border: none;
            
        }

        h2.op-block-heading {
            font-size: 1.25em;
        }

        .op-technologia-box {
            flex-direction: column;
        }

        #formularz-stopka {
            width: 100% !important;
        }

        /*.project-name-box {
            width: 100% !important;
            position: initial;
            right: 0;
            padding: 10px;
        }*/

        .project-details {
            margin-bottom: 0 !important;
        }

         .project-name-box.box-black::before {
            border-left: 39px solid transparent;
                border-right: 30px solid transparent;
                border-bottom: 59px solid black;
        }

        .project-name-box.box-white::before {
            border-left: 39px solid transparent;
                border-right: 30px solid transparent;
                border-bottom: 60px solid white;
        }

        .project-name-box h2 {
            font-size: 1em !important
        }

        .op-table-cell:first-child {
            width: 10%;
        }

        .op-table-cell:nth-child(3) {
            width: 30%;
        }

        #kontakt-items > * {
            width: 100% !important;
        }
}

.blockWebsite {
 display: block;
 position: fixed;
 width: 100vw;
 height: 100vh;
 z-index: 99999;
 top: 0;
 left: 0;
 background: rgba(0,0,0,0.3);
}

/* Cookie bot */
#CybotCookiebotDialog {
    position: fixed !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: none !important;
    transform: none !important;
    left: 0 !important;
    top: auto !important;
    bottom: 0 !important;
    border-radius: 0 !important;
    max-height: 400px !important;
    font-family: "Inter" !important;
    font-weight: 400 !important;
}


#CybotCookiebotDialogHeader {
    border: none !important;
}

.CybotCookiebotDialogContentWrapper {
    max-width: 1200px !important;
    width: 1200px !important;

    display: flex;
    justify-content: center;
}

#CybotCookiebotDialogNav {
    border: none !important;
}

#CybotCookiebotDialogHeader {
    padding: 5px 15px !important;
}

#CybotCookiebotDialogPoweredbyImage {
    display: none !important;
}

#CybotCookiebotDialogPoweredbyCybot {
    position: absolute;
    left: 15px !important;
    bottom: 25px !important;
    width: 100px !important;
}

.CybotCookiebotDialogNavItem:last-child {
    display: none;
}

.CybotCookiebotDialogNavItemLink {
    padding: 5px !important;
    color: #000 !important;
    font-size: 14px !important;
    border-bottom: solid 1px rgba(0, 0, 0, 0.2) !important;
}

.CybotCookiebotDialogNavItemLink.CybotCookiebotDialogActive {
    border-bottom: 3px solid #000 !important;
}

#CybotCookiebotDialogBodyContent {
    padding: 0 !important;
}

#CybotCookiebotDialogBodyContentText {
    font-size: 12px !important;
}

#CybotCookiebotDialogTabContent {
    margin-bottom: 5px !important;
}

.CybotCookiebotDialogBodyLevelButtonWrapper {
    padding: 0 !important;
    border-right: none !important
}

#CybotCookiebotDialogBodyLevelButtonsSelectPane {
    border-bottom: none !important;
}

#CybotCookiebotDialogBodyButtonDecline {
    /*border-radius: 0 !important;
    background: transparent !important;
    border: solid 3px #000 !important;
    color: #000 !important;
    padding: 10px !important;*/
    display: none !important;
}

#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll {
    /*display: none !important;*/
    color: white !important;
    border-radius: 0 !important;
    background: #000 !important;
    border: solid 1px #000 !important;
    padding: 5px !important;
}

#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection {
    /border-radius: 0 !important;
        background: transparent !important;
        border: solid 3px #000 !important;
        color: #000 !important;
        padding: 10px !important;
    /*display: none !important;*/
}

.CybotCookiebotDialogDetailBodyContentCookieLink,
.CybotCookiebotDialogDetailBodyContentCookieProvider {
    color: #000 !important;
}

.CybotCookiebotDialogDetailBodyContentCookieLink:hover,
.CybotCookiebotDialogDetailBodyContentCookieProvider:hover {
    color: #333 !important;
}

#CybotCookiebotDialog button:hover::before,
#CybotCookiebotDialog button:hover::after {
    color: #000 !important;
}

.CybotCookiebotDialogDetailBodyContentCookieContainerButton {
    color: #000 !important;
}

.CookiebotWidget-close {
    width: 30px !important;
    height: 30px !important;
}

.CookiebotWidget-body-inner {
    padding: 5px 18px !important;
}

#CookiebotWidget-btn-change {
    background: #000 !important;
    border-radius: 0 !important;
    border: solid 1px #000 !important;
}

#CookiebotWidget-btn-withdraw {
    border-radius: 0 !important;
}

.CookiebotWidget-main-logo {
    margin-top: 5px !important;
}

.CookiebotWidget-main-logo svg {
    height: 14px !important;
    width: 100px !important;

}

#CybotCookiebotDialog .CybotCookiebotDialogBodyLevelButtonSlider {
    background-color: #d6d6d6 !important;
}

#CybotCookiebotDialog input:checked+.CybotCookiebotDialogBodyLevelButtonSlider {
    background-color: #000 !important;
}

#CybotCookiebotDialog form input[type="checkbox"][disabled]:checked+.CybotCookiebotDialogBodyLevelButtonSlider {
    background-color: #000 !important;
}