.new-left-right{

}

.new-left-right .new-left-right__box{
    display: grid;
    /*grid-template-columns:1fr 5fr;*/
    grid-template-columns: 1fr 1px 5fr;
    gap: 32px;
    position: relative;
}

.new-left-right .new-left-right__box h2{
    font-family: 'ShockaFamily', sans-serif;
    font-style: italic;
    font-weight: 300;
    font-size: 44px;
    line-height: 44px;
    letter-spacing: 0;
}

.new-left-right .new-left-right__box p{
    font-family: 'OddvalText', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 20px;

}

.new-left-right .separator {
    background-color: #000;
    width: 1px;
}


.new-left-right {
    position: relative;
}

.new-left-right .container{
    position: relative;
    z-index: 9;
}

.new-left-right__box div:first-child{
    margin-left: auto;
}

.left-right-new-paralax {
    position: absolute;
}



.left-right-new-paralax-1,
.left-right-new-paralax-3,
.left-right-new-paralax-5,
.left-right-new-paralax-7
{
    right: 0;
}

.left-right-new-paralax-2,
.left-right-new-paralax-4,
.left-right-new-paralax-6,
.left-right-new-paralax-8

{
    left: 0;
}

.left-right-new-paralax-6{
    left: 50%;
    left: 30%;
}

.left-right-new-paralax-1 {
    top: -5%;
}
.left-right-new-paralax-2 {
    top: -3%;
}
.left-right-new-paralax-3 {
    top: 20%;
}
.left-right-new-paralax-4 {
    top: 30%;
}
.left-right-new-paralax-5 {
    top: 40%;
}
.left-right-new-paralax-6 {
    top: 50%;
}
.left-right-new-paralax-7 {
    top: 60%;
}

.left-right-new-paralax-8 {
    top: 90%;
}

/**
* Podstrony
*/

body:has(.child) .home-header h1{
    max-width: 800px;
    font-family: 'ShockaFamily', sans-serif;
    font-style: italic;
    letter-spacing: 0px;

}

body:has(.child) .home-header .new-header-img{
    object-position:  center;
}




body:has(.child) .home-paralax,
body:has(.child) .paint-svg{
    display: none;
}

body:has(.child) .home-header{
    margin-top: 37px;
    max-height: 504px;
    min-height: 504px;
}

body:has(.child) .home-header .container {
    max-width: calc(100% - 74px);
    min-height: 504px;
}

body:has(.child) .home-header .container .row{
    height: 504px !important;
}

body:has(.child) .home-header .new-header-img{
    max-height: 504px;
}

body:has(.child) .new-left-right__box{
    grid-template-columns: 1fr;
}

body:has(.child) .new-left-right h2{
    font-size: 68px;
}

body:has(.child) .new-left-right .right-img{
    margin-left: auto;
}

body:has(.child) .new-left-right .left-img:not(.center-img){
    margin-right: auto;
}

body:has(.child) h2 span{
    display: block;
    font-family: 'OddvalText', sans-serif;
    font-style: normal;
    font-weight: 200;
    letter-spacing: -4px;
    font-size: 44px;
    margin-top: 12px;
}

body:has(.child) .first-child p{
    font-size: 24px;
    line-height: 38px;
    font-weight: 300;
}

body:has(.child) .text-desc.right-img{
    margin-left: 115px;
    max-width: 436px;
}

body:has(.child) .new-left-right__box div:first-child{
    width: 100%;
}

body:has(.child) .text-desc.left-img{
    margin-left: -115px;
    max-width: 436px;
}


body:has(.child) .left-right-new-paralax-1{
    display: none;
}

body:has(.child) .left-right-new-paralax-4{
    display: none;
}

body:has(.child) .left-right-new-paralax-3{
    display: none;
}

body:has(.child) .left-right-new-paralax-podstrona{
    top: 20%;
    right:0;
}

body:has(.child) .left-right-new-paralax-7{
    left: 25%;
}

.left-right-new-paralax-podstrona{
    display: none;
}

body:has(.child) .left-right-new-paralax-podstrona{
    display: block;
}

body:has(.child) .left-right-new-paralax-5{
    display: none;
}

body:has(.child) .left-right-new-paralax-8{
    display: none;
}

body:has(.child) .left-right-new-paralax-6{
    left: 0px;
    top: 90%;
}

body:has(.child) .left-right-new-paralax-2{
    top: 15%;
}

.page-id-148 .first-child p
{
    font-family: 'OddvalText', sans-serif;
    font-weight: 300 !important;
    font-size: 14px !important;
    line-height: 20px !important;
}

body:has(.child).page-id-148 .first-child .text-desc.left-img{
    margin-left: 0px;
}

body:has(.child).page-id-148 .first-child .text-desc.left-img{
    margin-left: 0px;
}

body:has(.child).page-id-148 .new-left-right ul{
    list-style: none;
    margin-left: 0px;
    font-weight: 300;
    font-size: 14px;
    line-height: 20px;
    font-family: 'OddvalText', sans-serif;
}

body:has(.child).page-id-148 .new-left-right li{
    position: relative;
    padding-left: 36px;
    margin-bottom: 8px;
}

body:has(.child).page-id-148 .new-left-right li:before{
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 15px;
    background-image: url("https://megapolis.pl/inwestycja/krakow/osiedlefi/wp-content/uploads/2025/03/Vector-41.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

body:has(.child).page-id-148 .text-desc:has(ul.not-left){
    margin-left: 0px;
}

body:has(.child).page-id-148 .text-desc:has(p.right){
    margin-left: 0px;
}

body:has(.child) .text-desc.left-img:has(.stations){
    max-width: 100%;
}

.stations{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}



.stations p{
    font-weight: 400 !important;
}

.stations .bus{
    display: flex;
    grid-template-columns: 1fr 5fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 10px;
}

.stations .bus .cont div{
    background-color: #89917E;
    color: #fff;
    text-align: center;
    padding: 3px 9px;
    border-radius: 8px;
    font-size: 14px;
}

.stations .trajka .cont div{
    background-color: #BDC2B7;
    color: #fff;
    text-align: center;
    padding: 3px 9px;
    border-radius: 8px;
    font-size: 14px;
}

.stations .bus .cont{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

.stations .trajka{
    display: flex;
    grid-template-columns: 1fr 5fr;
    gap: 20px;
    align-items: center;
}

.stations .trajka .cont{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

.stations img{
    min-width: 32px;
    max-width: 32px;
    width: 100%;
    height: auto;
}



/*body:has(.child) .left-img{*/
/*    margin-left: auto;*/
/*}*/

/*body:has(.child) .right-img{*/
/*    margin-right: auto;*/
/*}*/

@media(min-width: 1450px){
    .new-left-right__box:has(.stations){
        margin-top: 150px;
    }
}

@media(min-width: 991.98px) {
    .new-left-right .col-lg-6:not(.not){
        margin-top: -32px;
    }

    body:has(.child).page-id-148 .new-left-right__box:has(ul.top) {
        padding-top: 162px;
        padding-bottom: 150px;
    }

}


@media(max-width: 1450px) {

    .new-left-right__box:has(.stations){
        margin-top: 150px;
    }

    .stations{
        grid-template-columns: 1fr;
        overflow-y: scroll;
        padding-right: 10px;
        max-height: 300px;
    }

    .stations::-webkit-scrollbar {
        width: 8px;
    }


    .stations::-webkit-scrollbar-track {
        background: #BDC2B7;
        border-radius: 4px;
    }

    .stations::-webkit-scrollbar-thumb {
        background-color: #89917E;
        border-radius: 4px;
        border: 2px solid transparent;
        background-clip: content-box;
    }

    .stations .bus .cont{
        width: 100%;
    }

    .stations .trajka .cont{
        width: 100%;
    }
}



@media(max-width: 991.98px) {

    .stations{
        grid-template-columns: 1fr;
        overflow-y: hidden;
        padding-right: 0px;
        max-height: 100%;
    }




    .opacity-img{
        margin: 60px auto;
    }

    body:has(.child) .home-header .container{
        max-width: calc(100%);
    }
    body:has(.child) .home-header{
        margin-top: 0px;
    }

    body:has(.child) .first-child p{
        font-weight: 300;
        font-size: 14px;
        line-height: 20px;
    }
}

@media(max-width: 768.98px) {

    .opacity-img{
        margin: 60px auto;
    }

    .new-left-right .new-left-right__box{
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .new-left-right .separator{
        width: 100%;
        height: 1px;
        display: none;
    }

    .new-left-right__box div:first-child{
        margin-left: unset;
    }

    body:has(.child) .text-desc.right-img{
        margin-left: unset;
        max-width: unset;
    }

    body:has(.child) .new-left-right h2{
        font-size: 54px;
    }
}

