body {
    background-color: #f8f9fa;
    font-family: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

.navbar {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 4px 8px rgba(0, 0, 0, 0.23);
}

.navbar-brand {
    width: 60%;
}

.navbar-brand img {
    height: auto;
    width: 60%;
    transition: all 200ms linear;
}

.page-content {
    margin-top: 40px;
}

.home-text {
    text-align: justify;
    margin-top: 20px;
    text-transform: uppercase;
}

.home-text > p {
    margin-bottom: 5px;
    font-size: 20px;
}

.home-text > p.color-trend {
    color: rgb(219, 37, 95);
    font-size: 26px;
}

.home-text > h2 {
    margin-bottom: 10px;
    color: rgb(219, 37, 95);
    font-weight: bold;
}

.thumbnail-content {
    overflow: hidden;
    padding: 0;
    max-height: 400px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 4px 8px rgba(0, 0, 0, 0.23);
}

.image-thumbnail {
    margin-top: -15%;
    width: 100%;
}

@media (max-width: 1440px) and (min-width: 768px) {
    .thumbnail-content {
        height: 300px;
    }
}

@media (max-width: 991px) {
    .image-thumbnail {
        margin-top: 0;
    }
}

@media (max-width: 767px) and (min-width: 426px) {
    .thumbnail-content {
        height: 200px;
    }
}


@media (max-width: 426px) {
    .thumbnail-content {
        height: 130px;
    }

    .image-thumbnail {
        margin-top: 0;
    }
}


.thumbnail-title {
    margin: 0;
}

.centered-text {
    position: absolute;
    width: 100%;
    top: -60px;
    color: rgb(0, 0, 0);
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 22px;
    transition: top 500ms;
}

#triangle {
    width: 0;
    height: 0;
    position: absolute;
    top: -500px;
    transition: top 500ms;
    border-left: 36em solid transparent;
    border-right: 36em solid transparent;
    border-top: 300px solid rgba(245, 147, 38, 0.4);
}

.thumbnail-content:hover #triangle, .thumbnail-content:focus #triangle {
    transition: top 500ms;
    top: 0;
}

.thumbnail-content:hover .centered-text, .thumbnail-content:focus .centered-text {
    transition: top 500ms;
    top: 15%;
}


@media (max-width: 1199px) and (min-width: 992px) {
    #triangle {
        border-left: 30em solid transparent;
        border-right: 30em solid transparent;
        border-top: 230px solid rgba(245, 147, 38, 0.4);
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    #triangle {
        border-left: 22.5em solid transparent;
        border-right: 22.5em solid transparent;
        border-top: 200px solid rgba(245, 147, 38, 0.4);
    }

    .centered-text {
        font-size: 14px;
    }
}


@media (max-width: 767px) {
    #triangle {
        border-left: 17em solid transparent;
        border-right: 17em solid transparent;
        border-top: 150px solid rgba(245, 147, 38, 0.4);
    }

    .centered-text {
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    #triangle {
        border-left: 50vw solid transparent;
        border-right: 50vw solid transparent;
        border-top: 25vw solid rgba(245, 147, 38, 0.4);
    }

    .centered-text {
        font-size: 14px;
    }
}

.thumbnail-link {
    width: 100%;
}

.footer-text {
    margin: 0;
}

.text-bold {
    font-weight: bold;
}

/**********************************************************************************************************************/
/********************************************* slider *****************************************************************/
/**********************************************************************************************************************/
.container-slider {
    margin-top: 100px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3), 0 4px 8px rgba(0, 0, 0, 0.3);
    max-height: 600px;
}

.advps-slide-container {
    width: 100%;
    max-width: none !important;
    max-height: 550px; /*wysokość slidera*/
}

.advps-slide {
    width: 100% !important;
}

.bx-wrapper img {
    margin-top: -10%;
}

/***/
.advps-excerpt-one {
    width: 45% !important;
}

.advps-overlay-one {
    margin-left: -250px;
    transform: skew(-20deg);
}

.advps-excerpt-block-one {
    text-transform: uppercase;
    top: 40%;
    margin-left: -250px;
}

#advps_container1 .advs-title, #advps_container1 .advs-title a {
    font-size: 30px !important; /*czcionka na sidebarze*/
    color: rgb(245, 147, 38)!important;
}

.advs-title {
    text-align: center !important;
    margin-left: -125px;
}

@media (max-width: 1440px) {

    .advps-slide > img {
        width: 100% !important;
        height: auto;
        max-height: 500px;
        min-height: 500px;
    }

    .sidebar-content {
        top: 100px;
    }
}
@media (max-width: 1440px) and (min-width: 768px) {
    .advps-overlay-one {
        margin-left: -90px;
    }

    #advps_container1 .advs-title, #advps_container1 .advs-title a {
        font-size: 14px !important;
        margin-left: 90px !important;
    }
}

@media (max-width: 767px) {
    .container-slider {
        margin-top: 60px;
    }

    .advps-overlay-one {
        margin-left: -30%;
    }

    #advps_container1 .advs-title, #advps_container1 .advs-title a {
        font-size: 12px !important;
        margin-left: 50% !important;
    }

    .advps-excerpt-one {
        width: 50% !important;
    }
}

@media (max-width: 1024px) {

    .advps-slide > img {
        width: 100% !important;
        height: auto;
        max-height: 450px;
        min-height: 450px;
    }
}

@media (max-width: 768px) {
    .advps-slide > img {
        width: 100% !important;
        height: auto;
        max-height: 350px;
        min-height: 350px;
    }
}

@media (max-width: 425px) {
    .advps-slide > img {
        width: 100% !important;
        height: auto;
        max-height: 200px;
        min-height: 200px;
    }
}

/**********************************************************************************************************************/
/************************************************ Footer **************************************************************/
/**********************************************************************************************************************/

.footer-tittle {
    padding-bottom: 5px;
    border-bottom: 1px solid;
}

.content-contact {
    text-transform: uppercase;
}

.content-map {
    margin-top: 20px;
}

.content-contact p {
    margin-bottom: 3px;
}

.content-contact a {
    color: #212529;
}

/**********************************************************************************************************************/
/************************************************ Phone ***************************************************************/
/**********************************************************************************************************************/

.bg-shadow {
    -webkit-box-shadow: 0 8px 5px -5px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 8px 5px -5px rgba(0, 0, 0, 0.5);
    box-shadow: 0 8px 5px -5px rgba(0, 0, 0, 0.5);
}

.bg-inner-shadow {
    -webkit-box-shadow: inset 0 -8px 5px -5px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: inset 0 -8px 5px -5px rgba(0, 0, 0, 0.5);
    box-shadow: inset 0 -8px 5px -5px rgba(0, 0, 0, 0.5);
}

.full-width {
    width: 100% !important;
}

.color-trend {
    color: rgb(219, 37, 95);
    text-align: center;
}

.copyright-title {
    text-align: center;
    font-size: 14px;
    margin: 0;
    padding: 7px 0;
    color: whitesmoke;
}

.bg-trendhomes {
    background-color: #DB255F;
}

/**********************************************************************************************************************/
/************************************************ miniaturki wtyczka  *************************************************/
/**********************************************************************************************************************/

.ngg-gallery-thumbnail a {
    margin: 0 !important;
}

.ngg-gallery-thumbnail {
    margin: 0 !important;
}

.ngg-gallery-thumbnail-box {
    margin: 24px;
    -webkit-box-shadow: 0 8px 5px -5px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 8px 5px -5px rgba(0, 0, 0, 0.5);
    box-shadow: 0 8px 5px -5px rgba(0, 0, 0, 0.5);
}

/**********************************************************************************************************************/
/************************************************ box patron **********************************************************/
/**********************************************************************************************************************/

.image-patron {
    display: block;
    max-height: 150px;
    margin: auto auto;
}

/**********************************************************************************************************************/
/************************************************ miniaturki wtyczka  *************************************************/
/**********************************************************************************************************************/

.footer-text {
    font-size: 12px;
    position: absolute;
    bottom: 0;
}
