.section-strefy .baner-strefa-fitness {
    background-image: url("/wp-content/uploads/img_template/fitness/bg_fitness.webp");
}

.section-strefy .baner-strefa-wellness {
    background-image: url("/wp-content/uploads/img_template/wellness/bg_wellness.webp");
}

.section-strefy .baner-kosmetologia {
    background-image: url("/wp-content/uploads/img_template/kosmetologia/bg_kosmetologia.webp");
}

/* FITNESS */
.section-strefy .baner-roll-shaper {
    background-image: url("/wp-content/uploads/img_template/fitness/roll_shaper/bg_roll_shaper.webp");
}

.section-strefy .baner-swan-shaper-classic {
    background-image: url("/wp-content/uploads/img_template/fitness/swan_shaper_classic/bg_swan_shaper_classic.webp");
}

.section-strefy .baner-vacu-shaper-classic {
    background-image: url("/wp-content/uploads/img_template/fitness/vacu_shaper_classic/bg_vacu_shaper_classic.webp");
}

.section-strefy .baner-tulip {
    background-image: url("/wp-content/uploads/img_template/fitness/tulip/bg_tulip.webp");
}

.section-strefy .baner-rower-poziomy {
    background-image: url("/wp-content/uploads/img_template/fitness/rower_poziomy/bg_rower_poziomy.webp");
}

.section-strefy .baner-ems {
    background-image: url("/wp-content/uploads/img_template/fitness/ems/bg_ems.webp");
}

.section-strefy .baner-platforma-wibracyjna {
    background-image: url("/wp-content/uploads/img_template/fitness/platforma_wibracyjna/bg_platforma_wibracyjna.webp");
}

.section-strefy .baner-bieznia {
    background-image: url("/wp-content/uploads/img_template/fitness/bieznia/bg_bieznia.webp");
}

/* WELLNESS */
.section-strefy .baner-limfodrenaz {
    background-image: url("/wp-content/uploads/img_template/wellness/limfodrenaz/bg_limfodrenaz.webp");
}

.section-strefy .baner-elektrostymulacja {
    background-image: url("/wp-content/uploads/img_template/wellness/elektrostymulacja/bg_elektrostymulacja.webp");
}

.section-strefy .baner-elektrostymulacja-ir {
    background-image: url("/wp-content/uploads/img_template/wellness/elektrostymulacja_ir/bg_elektrostymulacja_ir.webp");
}

.section-strefy .baner-sauna-ir {
    background-image: url("/wp-content/uploads/img_template/wellness/sauna_ir/bg_sauna_ir.webp");
}

.section-strefy .baner-sauna-karbonowa {
    background-image: url("/wp-content/uploads/img_template/wellness/sauna_karbonowa/bg_sauna_karbonowa.webp");
}

.section-strefy .baner-sunny-studio {
    background-image: url("/wp-content/uploads/img_template/wellness/sunny_studio/bg_sunny_studio.webp");
}

.section-strefy .baner-body-wrapping {
    background-image: url("/wp-content/uploads/img_template/wellness/body_wrapping/bg_body_wrapping.webp");
}

.section-strefy .baner-presso-shaper {
    background-image: url("/wp-content/uploads/img_template/wellness/presso_shaper/bg_presso_shaper.webp");
}

/* KOSMETOLOGIA */
.section-strefy .baner-beauty-contour {
    background-image: url("/wp-content/uploads/img_template/kosmetologia/beauty_contour/bg_beauty_contour.webp");
}

.section-strefy .baner-beauty-hood {
    background-image: url("/wp-content/uploads/img_template/kosmetologia/beauty_hood/bg_beauty_hood.webp");
}

.section-strefy .baner-beauty-shaper {
    background-image: url("/wp-content/uploads/img_template/kosmetologia/beauty_shaper/bg_beauty_shaper.webp");
}

.section-strefy .baner-carbon-master {
    background-image: url("/wp-content/uploads/img_template/kosmetologia/carbon_master/bg_carbon_master.webp");
}

.section-strefy .baner-cavi-shape-advanced {
    background-image: url("/wp-content/uploads/img_template/kosmetologia/cavi_shape_advanced/bg_cavi_shape_advanced.webp");
}

.section-strefy .baner-cavi-smart {
    background-image: url("/wp-content/uploads/img_template/kosmetologia/cavi_smart/bg_cavi_smart.webp");
}

.section-strefy .baner-hifu-4d {
    background-image: url("/wp-content/uploads/img_template/kosmetologia/hifu_4d/bg_hifu4d.webp");
}

.section-strefy .baner-hifu-lipohifu {
    background-image: url("/wp-content/uploads/img_template/kosmetologia/hifu_lipohifu/bg_hifu_lipohifu.webp");
}

.section-strefy .baner-ice-tech {
    background-image: url("/wp-content/uploads/img_template/kosmetologia/ice_tech/bg_ice_tech.webp");
}

.section-strefy .baner-diamond {
    background-image: url("/wp-content/uploads/img_template/kosmetologia/diamond/bg_diamond.webp");
}

.section-strefy .baner-laser-frakcyjny {
    background-image: url("/wp-content/uploads/img_template/kosmetologia/laser_frakcyjny/bg_laser_frakcyjny.webp");
}

.section-strefy .baner-laser-shr {
    background-image: url("/wp-content/uploads/img_template/kosmetologia/laser_shr/bg_laser_shr.webp");
}

.section-strefy .baner-lipolaser {
    background-image: url("/wp-content/uploads/img_template/kosmetologia/lipolaser/bg_lipolaser.webp");
}

.section-strefy .baner-multipolar-rf {
    background-image: url("/wp-content/uploads/img_template/kosmetologia/multipolar_rf/bg_multipolar_rf.webp");
}

.section-strefy .baner-power-shaper {
    background-image: url("/wp-content/uploads/img_template/kosmetologia/power_shaper/bg_power_shaper.webp");
}

.section-strefy .baner-sface {
    background-image: url("/wp-content/uploads/img_template/kosmetologia/sface/bg_sface.webp");
}

.section-strefy .baner-slim-4d {
    background-image: url("/wp-content/uploads/img_template/kosmetologia/slim_4d/bg_slim_4d.webp");
}

/* Devices - start */
.section-devices-list .baner-devices-list .container-devices-list .devices-grid {
    /*display: grid;*
    grid-template-columns: repeat(6, 1fr);*/
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.section-devices-list .baner-devices-list .container-devices-list .devices-grid .decive-item-grid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: calc(33% - 20px);
}

.section-devices-list .baner-devices-list .container-devices-list .devices-grid .decive-item-grid .btn-global {
    width: 100%;
}

.section-devices {
    gap: 110px;
    overflow: hidden;
}

section .baner-devices {
    padding: 0;
	scroll-margin-top: 60px;
}

section .baner-devices:nth-child(odd) {
    position: relative;
    background: linear-gradient(to left, #E6EDF1 50%, #FFFFFF 50%);
}

section .baner-devices:nth-child(even) {
    position: relative;
    background: linear-gradient(to right, #E6EDF1 50%, #FFFFFF 50%);
}

section .baner-devices:nth-child(odd)::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    box-shadow: 20px 0px 40px 0px rgba(51, 133, 178, 0.25) inset;
}

section .baner-devices:nth-child(even)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    box-shadow: -20px 0px 40px 0px rgba(51, 133, 178, 0.25) inset;
}

section .baner-devices .container-devices {
    position: relative;
    z-index: 1;
}

section .baner-devices:nth-child(odd) .container-devices {
    border-radius: 720px 0px 0px 720px;
    background: #E6EDF1;
    box-shadow: 50px 0px 40px 0px rgba(51, 133, 178, 0.25) inset;
}

section .baner-devices:nth-child(even) .container-devices {
    border-radius: 0px 720px 720px 0px;
    background: #E6EDF1;
    box-shadow: -50px 0px 40px 0px rgba(51, 133, 178, 0.25) inset;
}

section .baner-devices:nth-child(even) .container-devices .row {
    flex-direction: row-reverse;
}

section .baner-devices .container-devices .row .img-section-devices {
    position: relative;
}

section .baner-devices .container-devices .row .img-section-devices img {
    width: 100%;
    border: 20px solid #FFF;
    border-radius: 50%;
}

section .baner-devices:nth-child(odd) .container-devices .img-section-devices {
    margin-left: -2px;
    padding-left: 0;
}

section .baner-devices:nth-child(even) .container-devices .img-section-devices {
    margin-right: -2px;
    padding-right: 0;
}

section .baner-devices:nth-child(even) .container-devices .text-section-devices {
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    text-align: start;
    gap: 20px;
}

section .baner-devices:nth-child(odd) .container-devices .text-section-devices {
    display: flex;
    justify-content: center;
    align-items: end;
    flex-direction: column;
    text-align: end;
    gap: 20px;
}

section .baner-devices .container-devices .text-section-devices .text-content-devices {
    width: 95%;
}

section .baner-devices:nth-child(even) .container-devices .text-section-devices .text-content-devices {
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    text-align: start;
    gap: 20px;
}

section .baner-devices:nth-child(odd) .container-devices .text-section-devices .text-content-devices {
    display: flex;
    justify-content: center;
    align-items: end;
    flex-direction: column;
    text-align: end;
    gap: 20px;
}

section .baner-devices .container-devices .text-section-devices .text-content-devices p:nth-child(1) {
    font-size: 20px;
}

section .baner-devices:nth-child(even) .container-devices .text-section-devices .btn-container {
    justify-content: start;
}

section .baner-devices:nth-child(odd) .container-devices .text-section-devices .btn-container {
    justify-content: end;
}

/*Device - In*/
.decive-item-grid.inside {
    width: calc(33% - 20px);
    height: 66px;
    border-radius: 69px;
    background-color: #ff9100;
    border: 2px solid #ff9100;
    padding: 10px 25px;
    text-decoration: none;
    text-align: center;
}

section.section-devices.inside .container-devices .img-section-devices img {
    border-radius: 50%;
}

.decive-item-grid.inside p,
.grid-item-content p {
    color: white;
    font-family: "Epilogue", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

/*
.devices-grid > :nth-child(1),
.devices-grid > :nth-child(4),
.devices-grid > :nth-child(7),
.devices-grid > :nth-child(10),
.devices-grid > :nth-child(13),
.devices-grid > :nth-child(16),
.devices-grid > :nth-child(19) {
    grid-column: 1 / span 2;
}

.devices-grid > :nth-child(2),
.devices-grid > :nth-child(5),
.devices-grid > :nth-child(8),
.devices-grid > :nth-child(11),
.devices-grid > :nth-child(14),
.devices-grid > :nth-child(17),
.devices-grid > :nth-child(20) {
    grid-column: 3 / span 2;
}

.devices-grid > :nth-child(3),
.devices-grid > :nth-child(6),
.devices-grid > :nth-child(9),
.devices-grid > :nth-child(12),
.devices-grid > :nth-child(15),
.devices-grid > :nth-child(18),
.devices-grid > :nth-child(21) {
    grid-column: 5 / span 2;
}


.devices-grid > :nth-child(1),
.devices-grid > :nth-child(2),
.devices-grid > :nth-child(3) {
    grid-row: 1;
}

.devices-grid > :nth-child(4),
.devices-grid > :nth-child(5),
.devices-grid > :nth-child(6) {
    grid-row: 2;
}

.devices-grid > :nth-child(7),
.devices-grid > :nth-child(8),
.devices-grid > :nth-child(9) {
    grid-row: 3;
}

.devices-grid > :nth-child(10),
.devices-grid > :nth-child(11),
.devices-grid > :nth-child(12) {
    grid-row: 4;
}

.devices-grid > :nth-child(13),
.devices-grid > :nth-child(14),
.devices-grid > :nth-child(15) {
    grid-row: 5;
}

.devices-grid > :nth-child(16),
.devices-grid > :nth-child(17),
.devices-grid > :nth-child(18) {
    grid-row: 6;
}

.devices-grid > :nth-child(19),
.devices-grid > :nth-child(20),
.devices-grid > :nth-child(21) {
    grid-row: 7;
}

.devices-grid > :nth-last-child(1):nth-child(3n+1) {
    grid-column: 3 / span 2;
}

.devices-grid > :nth-last-child(2):nth-child(3n+1) {
    grid-column: 2 / span 2;
}

.devices-grid > :nth-last-child(1):nth-child(3n+2) {
    grid-column: 4 / span 2;
}

.devices-grid > :nth-last-child(2):nth-child(3n+1):nth-last-child(2) {
    grid-column: 2 / span 2; 
}

.devices-grid > :nth-last-child(2):nth-child(3n+1):nth-last-child(1) {
    grid-column: 4 / span 2;
}*/

@media only screen and (max-width: 992px) {
    .section-devices-list .baner-devices-list .container-devices-list .devices-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-strefy .baner-strefa-fitness {
        background-image: url("/wp-content/uploads/img_template/fitness/bg_fitness_mobile.webp");
    }

    .section-strefy .baner-strefa-wellness {
        background-image: url("/wp-content/uploads/img_template/wellness/bg_wellness_mobile.webp");
    }

    .section-strefy .baner-kosmetologia {
        background-image: url("/wp-content/uploads/img_template/kosmetologia/bg_kosmetologia_mobile.webp");
    }

    .section-strefy .baner-strefa-fitness {
        background-image: url("/wp-content/uploads/img_template/fitness/bg_fitness_mobile.webp");
    }

    .section-strefy .baner-strefa-wellness {
        background-image: url("/wp-content/uploads/img_template/wellness/bg_wellness_mobile.webp");
    }

    .section-strefy .baner-kosmetologia {
        background-image: url("/wp-content/uploads/img_template/kosmetologia/bg_kosmetologia_mobile.webp");
    }

    /* FITNESS */
    .section-strefy .baner-roll-shaper {
        background-image: url("/wp-content/uploads/img_template/fitness/roll_shaper/bg_roll_shaper_mobile.webp");
    }

    .section-strefy .baner-swan-shaper-classic {
        background-image: url("/wp-content/uploads/img_template/fitness/swan_shaper_classic/bg_swan_shaper_classic_mobile.webp");
    }

    .section-strefy .baner-vacu-shaper-classic {
        background-image: url("/wp-content/uploads/img_template/fitness/vacu_shaper_classic/bg_vacu_shaper_classic_mobile.webp");
    }

    .section-strefy .baner-tulip {
        background-image: url("/wp-content/uploads/img_template/fitness/tulip/bg_tulip_mobile.webp");
    }

    .section-strefy .baner-rower-poziomy {
        background-image: url("/wp-content/uploads/img_template/fitness/rower_poziomy/bg_rower_poziomy_mobile.webp");
    }

    .section-strefy .baner-ems {
        background-image: url("/wp-content/uploads/img_template/fitness/ems/bg_ems_mobile.webp");
    }

    .section-strefy .baner-platforma-wibracyjna {
        background-image: url("/wp-content/uploads/img_template/fitness/platforma_wibracyjna/bg_platforma_wibracyjna_mobile.webp");
    }

	.section-strefy .baner-bieznia {
        background-image: url("/wp-content/uploads/img_template/fitness/bieznia/bg_bieznia_mobile.webp");
    }
	
    /* WELLNESS */
    .section-strefy .baner-limfodrenaz {
        background-image: url("/wp-content/uploads/img_template/wellness/limfodrenaz/bg_limfodrenaz_mobile.webp");
    }

    .section-strefy .baner-elektrostymulacja {
        background-image: url("/wp-content/uploads/img_template/wellness/elektrostymulacja/bg_elektrostymulacja_mobile.webp");
    }

    .section-strefy .baner-elektrostymulacja-ir {
        background-image: url("/wp-content/uploads/img_template/wellness/elektrostymulacja_ir/bg_elektrostymulacja_ir_mobile.webp");
    }

    .section-strefy .baner-sauna-ir {
        background-image: url("/wp-content/uploads/img_template/wellness/sauna_ir/bg_sauna_ir_mobile.webp");
    }

    .section-strefy .baner-sauna-karbonowa {
        background-image: url("/wp-content/uploads/img_template/wellness/sauna_karbonowa/bg_sauna_karbonowa_mobile.webp");
    }

    .section-strefy .baner-sunny-studio {
        background-image: url("/wp-content/uploads/img_template/wellness/sunny_studio/bg_sunny_studio_mobile.webp");
    }

    .section-strefy .baner-body-wraping {
        background-image: url("/wp-content/uploads/img_template/wellness/body_wraping/bg_body_wraping_mobile.webp");
    }

    .section-strefy .baner-presso-shaper {
        background-image: url("/wp-content/uploads/img_template/wellness/presso_shaper/bg_presso_shaper_mobile.webp");
    }

    /* KOSMETOLOGIA */
    .section-strefy .baner-beauty-contour {
        background-image: url("/wp-content/uploads/img_template/kosmetologia/beauty_contour/bg_beauty_contour_mobile.webp");
    }

    .section-strefy .baner-beauty-hood {
        background-image: url("/wp-content/uploads/img_template/kosmetologia/beauty_hood/bg_beauty_hood_mobile.webp");
    }

    .section-strefy .baner-beauty-shaper {
        background-image: url("/wp-content/uploads/img_template/kosmetologia/beauty_shaper/bg_beauty_shaper_mobile.webp");
    }

    .section-strefy .baner-carbon-master {
        background-image: url("/wp-content/uploads/img_template/kosmetologia/carbon_master/bg_carbon_master_mobile.webp");
    }

    .section-strefy .baner-cavi-shape-advanced {
        background-image: url("/wp-content/uploads/img_template/kosmetologia/cavi_shape_advanced/bg_cavi_shape_advanced_mobile.webp");
    }

    .section-strefy .baner-cavi-smart {
        background-image: url("/wp-content/uploads/img_template/kosmetologia/cavi_smart/bg_cavi_smart_mobile.webp");
    }

    .section-strefy .baner-hifu-4d {
        background-image: url("/wp-content/uploads/img_template/kosmetologia/hifu_4d/bg_hifu4d_mobile.webp");
    }

    .section-strefy .baner-hifu-lipohifu {
        background-image: url("/wp-content/uploads/img_template/kosmetologia/hifu_lipohifu/bg_hifu_lipohifu_mobile.webp");
    }

    .section-strefy .baner-ice-tech {
        background-image: url("/wp-content/uploads/img_template/kosmetologia/ice_tech/bg_ice_tech_mobile.webp");
    }

    .section-strefy .baner-diamond {
        background-image: url("/wp-content/uploads/img_template/kosmetologia/diamond/bg_diamond_mobile.webp");
    }

    .section-strefy .baner-laser-frakcyjny {
        background-image: url("/wp-content/uploads/img_template/kosmetologia/laser_frakcyjny/bg_laser_frakcyjny_mobile.webp");
    }

    .section-strefy .baner-laser-shr {
        background-image: url("/wp-content/uploads/img_template/kosmetologia/laser_shr/bg_laser_shr_mobile.webp");
    }

    .section-strefy .baner-lipolaser {
        background-image: url("/wp-content/uploads/img_template/kosmetologia/lipolaser/bg_lipolaser_mobile.webp");
    }

    .section-strefy .baner-multipolar-rf {
        background-image: url("/wp-content/uploads/img_template/kosmetologia/multipolar_rf/bg_multipolar_rf_mobile.webp");
    }

    .section-strefy .baner-power-shaper {
        background-image: url("/wp-content/uploads/img_template/kosmetologia/power_shaper/bg_power_shaper_mobile.webp");
    }

    .section-strefy .baner-sface {
        background-image: url("/wp-content/uploads/img_template/kosmetologia/sface/bg_sface_mobile.webp");
    }

    .section-strefy .baner-slim-4d {
        background-image: url("/wp-content/uploads/img_template/kosmetologia/slim_4d/bg_slim_4d_mobile.webp");
    }

    .section-strefy .img-place-holder-baner {
        min-height: 630px;
    }

    section .baner-devices:nth-child(odd) {
        background: none;
    }

    section .baner-devices:nth-child(even) {
        background: none;
    }

    section .baner-devices:nth-child(odd)::before {
        content: unset;
    }

    section .baner-devices:nth-child(even)::before {
        content: unset;
    }

    section .baner-devices:nth-child(odd) .container-devices {
        border-radius: unset;
        border-radius: 400px;
        background: #E6EDF1;
        box-shadow: 0px 0px 40px 0px rgba(51, 133, 178, 0.25) inset;
        padding-bottom: 140px;
    }

    section .baner-devices:nth-child(even) .container-devices {
        border-radius: unset;
        border-radius: 400px;
        background: #E6EDF1;
        box-shadow: 0px 0px 40px 0px rgba(51, 133, 178, 0.25) inset;
        padding-bottom: 140px;
    }

    section .baner-devices .container-devices .row {
        row-gap: 60px;
    }

    section .baner-devices .container-devices .row .img-section-devices {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    section .baner-devices:nth-child(odd) .container-devices .img-section-devices {
        margin-left: auto;
    }

    section .baner-devices:nth-child(even) .container-devices .img-section-devices {
        margin-right: auto;
    }

    section .baner-devices:nth-child(odd) .container-devices .text-section-devices,
    section .baner-devices:nth-child(even) .container-devices .text-section-devices {
        justify-content: start;
        align-items: center;
        padding-left: 35px;
        padding-right: 35px;
        margin: auto;
        text-align: center;
        width: calc(100% - 130px);
    }

    section .baner-devices .container-devices .text-section-devices .text-content-devices {
        width: 100%;
    }

    section .baner-devices:nth-child(odd) .container-devices .text-section-devices .text-content-devices,
    section .baner-devices:nth-child(even) .container-devices .text-section-devices .text-content-devices {
        align-items: center;
        text-align: center;
    }

    section .baner-devices .container-devices .text-section-devices .text-content-devices p {
        text-align: center;
    }

    section .baner-devices:nth-child(even) .container-devices .text-section-devices .btn-container,
    section .baner-devices:nth-child(odd) .container-devices .text-section-devices .btn-container {
        justify-content: center;
    }

    section .baner-devices:nth-child(even) .container-devices .text-section-devices .btn-container .btn-global,
    section .baner-devices:nth-child(odd) .container-devices .text-section-devices .btn-container .btn-global {
        width: auto;
    }

    .section-devices-list .baner-devices-list .container-devices-list .devices-grid .decive-item-grid {
        width: calc(50% - 20px);
    }

    .decive-item-grid.inside {
        width: calc(50% - 20px);
    }
}

@media only screen and (max-width: 768px) {
    .section-devices-list .baner-devices-list .container-devices-list .devices-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .section-strefy .img-place-holder-baner {
        min-height: 550px;
    }
}

@media only screen and (max-width: 568px) {
    /*.section-strefy .img-place-holder-baner {
        min-height: 500px;
    }*/

    section .baner-devices {
        padding: 0 16px;
    }

    section .baner-devices:nth-child(odd) {
        background: none;
    }

    section .baner-devices:nth-child(even) {
        background: none;
    }

    section .baner-devices:nth-child(odd)::before {
        content: unset;
    }

    section .baner-devices:nth-child(even)::before {
        content: unset;
    }

    section .baner-devices:nth-child(odd) .container-devices {
        padding-bottom: 100px;
    }

    section .baner-devices .container-devices .row {
        row-gap: 40px;
    }

    section .baner-devices:nth-child(odd) .container-devices .img-section-devices,
    section .baner-devices:nth-child(even) .container-devices .img-section-devices {
        padding-left: 0px;
        padding-right: 0px;
    }

    section .baner-devices:nth-child(odd) .container-devices .text-section-devices,
    section .baner-devices:nth-child(even) .container-devices .text-section-devices {
        width: 100%;
    }

    .section-devices-list .baner-devices-list .container-devices-list .devices-grid .decive-item-grid {
        width: 100%
    }

    .decive-item-grid.inside {
        width: 100%
    }
}

@media only screen and (max-width: 400px) {
    /*.section-strefy .img-place-holder-baner {
        min-height: 600px;
    }*/
}
