.xaz-video {
    height: auto;
    position: relative;
}

.xaz-video video {
    height: auto;
}

.xaz-banner-small {
    height: auto;
    background: url( "../assets/homepage/pasek_CTA.svg" ) center center no-repeat;
    background-size: cover !important;
    background-position: center center !important;
}

.xaz-banner-small .container-fluid {
    height: 250px;
    display: block;
}

.xaz-banner-small .text {
    color: #fff;
    text-align: center;
}

.xaz-banner-small .text h2 {
    color: #fff;
    margin-bottom: 0px;
}

.xaz-banner-small .text h3 {
    color: #fff;
    margin-bottom: 5px;
}

.xaz-banner-small .text p {
    color: #fff;
    text-align: center;
}

.xaz-parallax-image {
    background-attachment: fixed !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    height: auto;
}

.xaz-parallax-image .gradient {
    background: url( "../assets/podstrony/overlay.svg" ) center center no-repeat;
    background-size: cover !important;
}

.xaz-parallax-image .container-fluid {
    height: 900px;
    text-align: center;
    position: relative;
}

.xaz-parallax-image .text {
    text-align: center;
    color: #fff;
    position: absolute;
    bottom: 70px;
}

.xaz-parallax-image .text h3 {
    color: #fff;
    margin-bottom: 5px;
    margin-top: -15px;
}

.xaz-parallax-image .text h2 {
    color: #fff;
}

.xaz-parallax-image .text p {
    text-align: center;
    color: #fff;
    font-weight: 300;
}

.xaz-parallax-image .text .btn {
    margin-top: 50px;
}

.home-banner {
    height: 552px;
    position: relative;
}

.home-banner .text {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 100px;
    color: #fff;
    z-index: 1;
}

.home-banner .text h2 {
    color: #fff;
    margin-bottom: 0px;
}

.home-banner .text h3 {
    color: #fff;
    margin-bottom: 25px;
}

.home-banner .text p {
    color: #fff;
    text-align: center;
    font-size: 17px;
    line-height: 26px;
}

.home-wizyta {

}

.home-wizyta img {
    margin-bottom: -1px;
}

.xaz-video-full {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.xaz-video-full video {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
}

.xaz-video-full .gradient-overlay {
    width: 100%;
    background: url( "../assets/podstrony/overlay.svg" ) center center no-repeat;
    background-size: cover !important;
    height: 100%;
    position: relative;
    z-index: 1;
}

.xaz-video-full .gradient-overlay .video-content {
    margin-top: 0px;
    width: 100%;
    height: 100%;
}

.xaz-video-full .gradient-overlay .video-content .text {
    width: 100%;
    margin-left: 0;
    text-align: center;
}

.xaz-video-full .gradient-overlay .video-content h2 {
    color: #fff;
}

.xaz-video-full .gradient-overlay .video-content h3 {
    color: #fff;
    margin-top: 20px;
    margin-bottom: 5px;
}

.xaz-video-full .gradient-overlay .video-content p {
    color: #fff;
    text-align: center;
}

.bg-image {
    position: absolute;
    z-index: -1;
    max-width: none;
}

/* ===== HOME ===== */

#home {

}

#home-1 {
    padding-top: 0px;
}

#home-1 .scroll-down {
    position: absolute;
    left: 160px;
    z-index: 1;
    bottom: 80px;
}

#home-1 .xaz-image {
    height: 830px;
    position: relative;
}

#home-1 .xaz-image .overlay {
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 1;
    width: 100%;
    background: url( "../assets/podstrony/overlay.svg" ) center center no-repeat;
    background-size: cover !important;
    height: 100%;
}

#home-1 .xaz-image .text {
    position: absolute;
    bottom: 120px;
    left: 160px;
    z-index: 2;
    text-align: left;
    width: 40%;
}

#home-1 .xaz-image .text img {
    margin-bottom: 50px;
}

#home-1 .xaz-image .text h1 {
    margin-bottom: 5px;
    color: #fff;
}

#home-1 .xaz-image .text h3 {
    color: #fff;
}

#home-1 .xaz-image .text p {
    color: #fff;
    font-weight: 300;
}

#home-1 .xaz-image .text .btn {
    margin-bottom: 55px;
}

#home-2 {
    padding-top: 160px;
    position: relative;
}

#home-2 #bg-image-1 {
    left: -100px;
    top: -100px;
}

#home-2 #bg-image-2 {
    right: -80px;
    top: -80px;
    width: 115vw;
}

#home-2 #bg-image-3 {
    right: 0px;
    bottom: -90px;
}

#home-2 #text-1 p {
    text-align: center;
}

#home-2 .xaz-video {
    margin: 40px 0px 90px;
	display: none;
}

#home-2 #text-2 {
    position: relative;
}

#home-2 #text-2 img {
    position: absolute;
    left: -105px;
}

#home-2 #text-2 h3 {
    margin-top: 50px;
}

#home-2 ul {
    list-style: none;
    margin: 0px !important;
    padding: 0px 0px 0px 10px !important;
}

#home-2 ul li {
    padding-left: 20px;
    position: relative;
    width: 45%;
    margin-right: 4% !important;
    display: inline-block;
}

#home-2 ul li:before {
    content: "";
    width: 6px;
    height: 6px;
    background: #222;
    border-radius: 6px;
    position: absolute;
    left: 0px;
    top: 10px;
}

#home-2 .komorahome img {
	text-align: center;
	margin: 30px auto;
    display: block;
}

#home-3 {
    padding-top: 40px;
}

#home-4 {
    padding-top: 100px;
}

#home-4 .text {
    margin-top: 30px;
}

#home-4 .text img {
    margin-bottom: 0px;
}

#home-4 .text h3 {
    margin-bottom: 30px;
}

#home-4 #row-1 {
    margin-bottom: 100px;
}

#home-4 #xaz-image-1 {
    height: 552px;
}

#home-4 #xaz-image-2 {
    height: 560px;
}

#home-5 {

}

#home-6 {
    position: relative;
}

#home-6 #bg-image-3 {
    left: -140px;
    bottom: -400px;
}

#home-6 #bg-image-1 {
    left: -78px;
    top: -100px;
    width: 800px;
}

#home-6 #text-1 {
    margin-bottom: 50px;
}

#home-6 #text-1 h2 {
    text-align: center;
    display: block;
}

#home-6 #text-1 p {
    width: 80%;
}

.step-box {
    margin-bottom: 40px;
}

.step-box .text {
    position: relative;
    padding-left: 110px;
    padding-top: 20px;
}

.step-box .text img {
    position: absolute;
    left: 0px;
    top: 0px;
}

.step-box .xaz-image {
    height: 355px;
}

#home-7 {

}

#home-7 .xaz-parallax-image .container-fluid {
	height: 550px;
}


#home-8 {
    padding-top: 100px;
}

#home-8 #text-1 {
    text-align: center;
    margin-bottom: 80px;
}

#home-8 #text-1 p {
    text-align: center;
}

#home-9 {
    padding-top: 160px;
    position: relative;
}

#home-9 #bg-image-1 {
    right: -77%;
    bottom: -100px;
}

/* ===== JAK DZIAŁA ===== */

#jak-dziala-1 #bg-image-1 {
    right: -100px;
    top: -100px;
}

.section-1 {
    text-align: center;
    padding-top: 90px;
}

.section-1 p {
    text-align: center;
}

.section-1 img {
    margin-bottom: 20px;
}

.section-1 h1 {
    margin-bottom: 5px;
}

.image-text-section {

}

.image-text-section .row {
    margin-bottom: 80px;
}

.image-text-section .text {
    margin-top: 50px;
}

.image-text-section .text h3 {
    margin-bottom: 5px;
}

.image-text-section .text h4 {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 30px;
}

.image-text-section .xaz-image {
    height: 550px;
}

.image-text-section .xaz-video video {
    height: 416px;
}

#jak-dziala-1 {
    position: relative;
}

#jak-dziala-2 {
    padding-top: 70px;
}

.top-0 {
    padding-top: 0px;
}

#jak-dziala #home-9 #bg-image-1 {
    right: -80%;
    bottom: -170px;
}

/* ===== CENNIK ===== */

.cennik-table {

}

.cennik-table > div {
    padding: 5px 20px;
}

.cennik-table > div:nth-of-type(2n) {
    background: #F1F1F1;
}

.cennik-table > div span:nth-of-type(2) {
    float: right;
}

#cennik #home-9 #bg-image-1 {
    right: -80%;
    bottom: -170px;
}

/* ===== GABINET ===== */

#gabinet {

}

#gabinet-1 {
    position: relative;
}

#gabinet-1 #bg-image-1 {
    right: -100px;
    top: -100px;
}

#gabinet-2 {
    padding-top: 80px;
    position: relative;
}

#gabinet-2 #bg-image-1 {
    right: -55px;
    bottom: -190px;
}

#gabinet-2 #xaz-image-1 {
    height: 552px;
    margin-bottom: 100px;
}

#gabinet-2 #xaz-image-2 {
    height: 390px;
    margin-top: 60px;
}

#gabinet-3 {

}

#gabinet-4 {
    padding-top: 100px;
}

#gabinet-4 .xaz-image {
    height: 320px;
    margin-bottom: 30px;
}

#gabinet-4 .text {
    margin-top: 50px;
}

#gabinet-5 {

}

#gabinet-6 {
    position: relative;
}

#gabinet-6 #bg-image-3 {
    right: -100px;
    top: -80px;
}

#gabinet #home-9 #bg-image-1 {
    right: -80%;
    bottom: -170px;
}

/* ===== STANDARD ===== */

#standard {

}

#standard-1 {
    padding-top: 100px;
}

/* ===== ERROR PAGE ===== */

#error-page {
    
}

#error-page .xaz-image {
    position: relative;
    height: 730px;
}

#error-page .text {
    position: absolute;
    bottom: 230px;
    z-index: 1;
    width: 100%;
}

#error-page .text h1 {
    color: #04C1DC;
    margin-bottom:35px
}

#error-page-1 {
    padding-top: 0px;
}

/* ===== KONTAKT ===== */

#kontakt {

}

#kontakt-1 {

}

#kontakt-2 {
    position: relative;
}

#kontakt-2 #bg-image-1 {
    right: -100px;
    bottom: -140px;
}

#kontakt-2 #text-1 {
    border-right: solid 1px #707070;
    font-size: 26px;
    line-height: 38px;
    text-align: center;
    padding-bottom: 10px;
}

#kontakt-2 #text-1 p {
    text-align: center;
}

#kontakt-2 #text-1 img {
    margin-bottom: 20px;
}

.map {
    margin-top: 90px;
}

#kontakt-2 #text-2 {
    margin-top: 30px;
}

#kontakt-2 #text-2 strong {
    font-family: "haboro-contrast-extended", sans-serif;
    color: #444444;
    font-size: 40px;
    line-height: 40px;
}

#kontakt-2 #text-2 a:not( .btn ) {
    font-family: "haboro-contrast-extended", sans-serif;
    color: #04C1DC;
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 10px;
    display: inline-block;
}

.btn-floating {
    position: fixed;
    right: -94px;
    top: calc( 50% - 63px );
    transform: rotate(90deg);
    z-index: 100;
}

/* ===== MOBILE ===== */

@media (max-width: 1850px) {
    header .navigation ul li {
        margin: 0px 10px 0px 0px;
    }
}

@media (max-width: 1700px) {
    header .navigation ul li {
        margin: 0px 10px 0px 0px;
    }

    header .navigation ul {
        margin: 0px 5px 0px 0px;
    }

    header .menu-line {
        display: none;
    }

    .start-icon {
        display: none;
    }

    header .home-logo {
        top: calc( 50% - 7px );
        left: 30px;
        width: 220px;
    }
}

@media (max-width: 1600px) {
    .menu-phone {
        display: none;
    }

    header .menu-social {
        right: 30px;
    }

    header .menu-buttons {
        right: 126px;
    }

    header .navigation {
        right: 412px;
    }

    #jak-dziala-2 .image-text-section .xaz-image {
        height: 430px;
    }
}

@media (max-width: 1400px) {
    .start-icon {
        display: none;
    }

    header .menu-line {
        display: none;
    }

    header .home-logo {
        left: 30px;
        width: 240px;
        top: calc( 50% - 9px );
    }

    .nav-button {
        display: block;
        right: 470px;
        top: 20px;
    }

    header .navigation {
        position: absolute;
        top: 60px;
        left: 0px;
        width: 100%;
        padding: 30px;
        background: #fff;
        -webkit-box-shadow: 0px 6px 10px 0px rgba(0,0,0,0.1);
        -moz-box-shadow: 0px 6px 10px 0px rgba(0,0,0,0.1);
        box-shadow: 0px 6px 10px 0px rgba(0,0,0,0.1);
        height: auto;
        border-right: none;
        display: none;
    }

    header .navigation.active {
        display: block;
    }

    header .navigation ul {
        margin: 0px;
    }

    header .navigation ul li {
        display: block;
        text-align: center;
        margin: 15px 0px;
    }

    header img.menueu {
        margin-top: 0px;
    }
}

@media (max-width: 1360px) {
    .container-fluid {
        padding: 0px 30px;
    }

    #home-1 .xaz-image .text {
        left: 30px;
        width: 70%;
    }

    h2 {
        font-size: 40px;
        line-height: 44px;
    }

    #home-4 #xaz-image-1 {
        height: 450px;
    }

    h3 {
        font-size: 26px;
        line-height: 32px;
    }

    body {
        font-size: 16px;
        line-height: 24px;
    }

    #home-4 #xaz-image-2 {
        height: 550px;
    }

    footer .container-fluid {
        padding: 40px 30px 30px 30px;
    }

    footer .text {
        padding-right: 0px;
    }

    footer .social a {
        margin-right: 15px;
    }

    #gabinet-2 #xaz-image-1 {
        height: 450px;
    }

    .section {
        padding-top: 70px;
    }

    #gabinet-4 {
        padding-top: 20px;
    }

    .step-box .xaz-image {
        height: 300px;
    }

    .btn {
        margin-bottom: 20px;
    }

    .image-text-section .xaz-image {
        height: 400px;
    }
}

@media (max-width: 1300px) {

}

@media (max-width: 991px) {
    header .menu-buttons {
        display: none;
    }

    .nav-button {
        right: 95px;
    }

    header .menu-social {
        right: 0px;
        top: calc( 50% - 14px );
    }

    #home-1 .xaz-image .text img {
        margin-bottom: 20px;
        width: 180px;
    }

    #home-1 .xaz-image .text .btn {
        margin-bottom: 0px;
    }

    #home-1 .scroll-down {
        left: 30px;
    }

    #home-2 {
        padding-top: 40px;
    }

    #home-2 #text-2 img {
        position: static;
        margin-bottom: 20px;
    }

    #home-2 .xaz-video {
        margin: 40px 0px 40px;
    }

    #home-2 ul li {
        width: 100%;
        margin-right: 0px !important;
    }
    
    #home-5 img {
        display: none;
    }

    .step-box .xaz-image {
        height: 410px;
        margin-bottom: 30px;
    }

    .home-wizyta img {
        display: none;
    }

    #home-9 {
        padding-top: 30px;
    }

    #kontakt-2 #text-1 {
        border-right: none;
    }

    #kontakt-2 #text-2, #kontakt-2 #text-2 p {
        text-align: center;
    }

    .btn {
        margin-bottom: 10px !important;
    }

    .image-text-section .xaz-video video {
        height: auto;
        width: 100%;
    }

    .home-banner .text {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .step-box .xaz-image {
        height: 300px;
    }

    footer, footer * {
        text-align: center !important;
    }
}

@media (max-width: 500px) {
    #home-1 .xaz-image .text img {
        width: 140px;
    }

    header .home-logo {
        left: 15px;
        width: 200px;
        top: 24px;
    }

    header .menu-social {
        display: none;
    }

    .nav-button {
        right: 15px;
    }

    #home-1 .xaz-image .text h1 {
        font-size: 38px;
    }

    #pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a {
        font-size: 100% !important;
    }

    .btn-floating {
        font-size: 12px;
        line-height: 12px;
        right: -88px;
    }

    p {
        text-align: center;
    }

    h1, h2, h3, h4, h5 {
        text-align: center;
    }

    #home-1 p {
        text-align: left;
    }

    #home-1 h1, #home-1 h2, #home-1 h3, #home-1 h4, #home-1 h5 {
        text-align: left;
    }

    #home-4 #xaz-image-2 {
        height: 330px;
    }

    .section {
        padding-top: 40px !important;
    }

    #home-1 {
        padding-top: 0px !important;
    }

    h3 {
        font-size: 18px;
        line-height: 32px;
    }

    h2 {
        font-size: 28px;
        line-height: 34px;
    }

    .xaz-video-full video {
        height: 100%;
    }

    .xaz-video-full {
        height: auto;
    }

    .btn, .wpcf7-submit {
        font-size: 12px;
        padding: 8px 20px 8px 20px !important;
        line-height: 12px;
    }

    .btn-floating {
        right: -64px;
    }

    .btn {
        margin-bottom: 15px !important;
        margin-right: 0px !important;
    }

    #home-6 #text-1 p {
        width: 100%;
    }

    .step-box .text {
        position: static;
        padding-left: 0px;
        padding-top: 20px;
        text-align: center;
    }

    .step-box .text img {
        position: static;
        display: inline-block;
        margin-bottom: 10px;
    }

    h4 {
        line-height: 30px;
    }

    .xaz-parallax-image .text {
        bottom: 20px;
        left: 0px;
        padding: 0px 20px;
    }

    .xaz-parallax-image .text .btn {
        margin-top: 0px;
    }

    .home-banner .text {
        position: static;
    }

    .home-wizyta .xaz-banner-small {
        margin-top: 30px;
    }

    #gabinet-2 #xaz-image-1 {
        margin-bottom: 30px;
    }

    #gabinet-2 #xaz-image-2 {
        display: none;
    }

    #gabinet-4 .xaz-image {
        height: 200px;
    }

    .image-text-section .xaz-image {
        height: 200px;
    }

    .image-text-section .row {
        margin-bottom: 20px;
    }

    .section-1 h1 {
        margin-bottom: 5px;
        font-size: 40px;
        line-height: 44px;
    }

    .cennik-table {
        font-size: 10px;
    }

    #kontakt-2 #text-2 strong {
        font-size: 34px;
        line-height: 34px;
    }

    #kontakt-2 #text-2 a:not( .btn ) {
        font-size: 24px;
        line-height: 32px;
    }
}