@media screen and (min-width: 1000px) {  
    .s1 {
        text-align: center;
        margin-top: 30px;
        padding-top: 30px;
        margin-bottom: 30px;
    }

    .s1-title {
        margin-top: 10px;
        font-size: 42px;
        font-weight: 100;
    }

    .s2-table {
        width: 100%;
        padding: 30px;
        border-left: 1px solid #EDEEF0;
        border-right: 1px solid #EDEEF0;
    }

    .title-posrednictwo {
        display: flex;
        gap: 25px;
        margin-top: 140px;
        margin-bottom: 20px;
    }

    .title-posrednictwo-text {
        flex-shrink: 1;
        text-align: left;
        font-weight: 200;
        font-size: 35px;
        transition: all 0.2s ease;
    }
    
    .title-posrednictwo-text-bold  {
        font-weight: 400;
        font-size: 35px;
    }
    
    .title-posrednictwo-fill {
        flex-grow: 1;
        padding-top: 10px;
    }

    .title-kredyt {
        display: flex;
        gap: 25px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .title-kredyt-text {
        flex-shrink: 1;
        text-align: left;
        font-weight: 200;
        font-size: 35px;
        transition: all 0.2s ease;
    }
    
    .title-kredyt-text-bold  {
        font-weight: 400;
        font-size: 35px;
    }
    
    .title-kredyt-fill {
        flex-grow: 1;
        padding-top: 10px;
    }


    .title-partnerzy {
        display: flex;
        gap: 25px;
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .title-partnerzy-text {
        flex-shrink: 1;
        text-align: left;
        font-weight: 200;
        font-size: 35px;
        transition: all 0.2s ease;
    }
    
    .title-partnerzy-fill {
        flex-grow: 1;
        padding-top: 10px;
    }

    .kroki-section {
        width: 100%;
        margin-top: 30px;
        padding-top: 30px;
        text-align: center;
        background-image: url('/img/bg-posrednictwo.jpg');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
    }

    .kroki-table {
        width: 100%;
    }

    .kroki-table td {
        vertical-align: top;
    }

    .kroki-table td:first-child { 
        width: 30%; 
        text-align: right;
    }

    .kroki-table-div {
        border: 1px solid #D7B756;
        width: 740px;
        background: rgba(255,255,255,0.9);
        margin-left: 35px;
        padding-left: 35px;
        padding-right: 20px;
        padding-top: 17px;
        padding-bottom: 17px;
        text-align: left;
    }

    .kroki-table-div-title {
        font-weight: 500;
        font-size: 16px;
        margin-bottom: 13px;
    }

    .kroki-table-div-body {
        font-weight: 300;
        font-size: 15px;
        color: rgb(145,156,167);
    }

    .kroki-table-div-body a {
        font-weight: 400;
        font-size: 15px;
    }

    .kroki-table-div-body a:hover {
        color:#D7B756;
    }

    .kroki-table-div-1 {
        margin-bottom: 26px;
    }

    .kroki-table-div-2 {
        margin-bottom: 26px;
    }

    .kroki-table-div-3 {
        margin-bottom: 38px;
    }

    .kroki-table-div-4 {
        margin-bottom: 38px;
    }

    .kroki-table-div-5 {
        margin-bottom: 42px;
    }

    .kroki-table-div-6 {
        margin-bottom: 46px;
    }

    .kroki-table-div-7 {
        margin-bottom: 30px;
    }

    .s2-table td {
        width: 50%;
    }

    .s2-table-right-inside {
        padding-left: 80px;
    }

    .s2-table-partnerzy {
        width:100%;
    }

    .s2-table-partnerzy-ul li {
        font-weight: 300;
        font-size: 17px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .s2-text-title {
        font-size: 22px;
        font-weight: 500;
        color: #2A2A2A;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .s2-text-body {
        font-size: 16px;
        font-weight: 400;
        color: #848484;
        line-height: 30px;
        margin-bottom: 30px;
    }

    .s8-section {
        background-image: url("../img/bg-form.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: right;
        border-top: 1px solid #D7B756;
    }

    .s8-table {
        width: 100%;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .s8-table td {
        width: 50%;
    }

    .s8-title {
        margin-left: 90px;
        font-size: 42px;
        font-weight: 300;
    }

    .form-input {
        background-color: #fff;
        border: 1px solid #828A91;
        border-radius: 3px;
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 16px;
        padding-right: 16px;
        margin: 5px;
        font-size: 15px;
        font-family: 'Montserrat', sans-serif;;
        width: 416px;
    }

    .form-button {
        opacity: 0.8;
        background-color: #D7B756;
        border: 1px solid #D7B756;
        border-radius: 3px;
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 16px;
        padding-right: 16px;
        margin: 5px;
        font-size: 15px;
        font-family: 'Montserrat', sans-serif;;
        width: 416px;
    }

    .form-option {
        background-color: #fff;
        border: 1px solid #828A91;
        border-radius: 3px;
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 16px;
        padding-right: 16px;
        margin: 5px;
        font-size: 15px;
        font-family: 'Montserrat', sans-serif;;
        width: 416px;
    }

    .form-button:hover {
        color: #FFF;
    }


    .carousel-container {
        width: 600px;
        overflow-x: hidden;
    }

    .carousel-slide {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
    }

    .carousel-slide img {
        display: block;
        margin: 0;
        padding: 0;
        min-width: 150px;
    }
}




@media screen and (max-width: 999px) {  
    .s1 {
        text-align: center;
        margin-top: 30px;
        padding-top: 30px;
        margin-bottom: 30px;
    }

    .s1-title {
        margin-top: 55px;
        font-size: 6.5vw;
        font-weight: 200;
    }

    .s1-title-bold {
        font-weight: 3200;
    }

    .s1-title-bar {
        width: 70%;
    }

    .title-posrednictwo {
        display: flex;
        gap: 25px;
        margin-top: 140px;
        margin-bottom: 20px;
    }

    .title-posrednictwo-text {
        flex-shrink: 1;
        text-align: left;
        font-weight: 200;
        font-size: 3.5vw;
        transition: all 0.2s ease;
    }
    
    .title-posrednictwo-text-bold  {
        font-weight: 400;
        font-size: 3.5vw;
    }
    
    .title-posrednictwo-fill {
        flex-grow: 1;
        padding-top: 10px;
    }

    .title-kredyt {
        display: flex;
        gap: 25px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .title-kredyt-text {
        flex-shrink: 1;
        text-align: left;
        font-weight: 200;
        font-size: 5vw;
        transition: all 0.2s ease;
    }
    
    .title-kredyt-text-bold  {
        font-weight: 400;
    }
    
    .title-kredyt-fill {
        flex-grow: 1;
        padding-top: 20px;
    }


    .title-partnerzy {
        display: flex;
        gap: 25px;
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .title-partnerzy-text {
        flex-shrink: 1;
        text-align: left;
        font-weight: 200;
        font-size: 35px;
        transition: all 0.2s ease;
    }
    
    .title-partnerzy-fill {
        flex-grow: 1;
        padding-top: 10px;
    }

    .kroki-section {
        width: 100%;
        margin-top: 30px;
        padding-top: 30px;
        text-align: center;
        background-image: url('/img/bg-posrednictwo.jpg');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
    }

    .kroki-table {
        width: 100%;
    }

    .kroki-table td {
        vertical-align: top;
    }


    .kroki-table-div {
        border: 1px solid #D7B756;
        width: 90%;
        background: rgba(255,255,255,0.9);
        margin-left: auto;
        margin-right: auto;
        padding-left: 35px;
        padding-right: 25px;
        padding-top: 25px;
        padding-bottom: 25px;
        text-align: left;
    }

    .kroki-table-div-title {
        font-weight: 500;
        font-size: 3.25vw;
        margin-bottom: 13px;
    }

    .kroki-table-div-body {
        font-weight: 300;
        font-size: 3vw;
        color: rgb(128,128,128);
    }

    .kroki-table-div-body a {
        font-weight: 400;
        font-size: 15px;
    }

    .kroki-table-div-body a:hover {
        color:#D7B756;
    }

    .kroki-table-div-1 {
        margin-bottom: 26px;
    }

    .kroki-table-div-2 {
        margin-bottom: 26px;
    }

    .kroki-table-div-3 {
        margin-bottom: 26px;
    }

    .kroki-table-div-4 {
        margin-bottom: 26px;
    }

    .kroki-table-div-5 {
        margin-bottom: 26px;
    }

    .kroki-table-div-6 {
        margin-bottom: 26px;
    }

    .kroki-table-div-7 {
        margin-bottom: 30px;
    }

    .s2-table {
        border-top: 1px solid #D7B756;
        border-bottom: 1px solid #D7B756;
    }

    .s2-table td {
        width: 100%;
        background-color: #EAEAEA;
        padding: 40px;
        text-align: center;
    }

    .s2-table-b td {
        width: 100%;
        padding: 40px;
        text-align: center;
    }

    .s2-table-right-inside {
        padding-left: 80px;
    }

    .s2-table-partnerzy {
        width:100%;
    }

    .s2-table-partnerzy-ul li {
        font-weight: 300;
        font-size: 17px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .s2-text-title {
        font-size: 4.75vw;
        font-weight: 400;
        color: #2A2A2A;
        margin-top: 15px;
        margin-bottom: 30px;
    }

    .s2-text-body {
        font-size: 3.5vw;
        font-weight: 300;
        color: #2A2A2A;
        line-height: 5vw;
        margin-bottom: 30px;
    }

    .s2-table-partnerzy-logo-housecredit {
        width:125px;
    }

    .s8-section {
        margin:0;
        background-image: url("../img/bg-form.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: right;
        border-top: 1px solid #D7B756;
    }

    .s8-table {
        width: 100%;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .s8-table td {
    }

    .s8-title {
        font-size: 4vw;
        font-weight: 300;
    }

    .form-input {
        background-color: #fff;
        border: 1px solid #828A91;
        border-radius: 3px;
        padding-top: 16px;
        padding-bottom: 16px;
        padding-left: 16px;
        padding-right: 16px;
        margin: 5px;
        font-size: 2.75vw;
        font-family: 'Montserrat', sans-serif;;
        width: 95%;
    }

    .form-button {
        opacity: 0.8;
        background-color: #D7B756;
        border: 1px solid #D7B756;
        border-radius: 3px;
        padding-top: 16px;
        padding-bottom: 16px;
        padding-left: 16px;
        padding-right: 16px;
        margin: 5px;
        font-size: 2.75vw;
        font-family: 'Montserrat', sans-serif;;
        width: 95%;
        color: #000;
    }

    .form-option {
        background-color: #fff;
        border: 1px solid #828A91;
        border-radius: 3px;
        padding-top: 16px;
        padding-bottom: 16px;
        padding-left: 16px;
        padding-right: 16px;
        margin: 5px;
        font-size: 2.75vw;
        font-family: 'Montserrat', sans-serif;;
        width: 95.5%;
        color: #000;
        outline: none;
        height: 70px;
    }

    .form-button:hover {
        color: #FFF;
    }



    .carousel-container {
        width: 330px;
        overflow-x: hidden;
    }

    .carousel-slide {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
    }

    .carousel-slide img {
        display: block;
        margin: 0;
        padding: 0;
        min-width: 110px;
    }
}

@media screen and (min-width: 1000px) and (max-width: 1400px)  {
    .beforeafter-container1,
    .beforeafter-container2 {
        width: 450px;
    }
    .s2-table {
        padding-left: 0;
        padding-right: 0;
        border: 0;
    }
} 