/*
	Theme Name: Szablon Place4You
	Theme URI: https://place4you.pl
	Description: Place4You
	Author: ASARI
	Author URI: https://asaricrm.com/
	Template: asaritemplate2023
	Version: 1.0.0
*/

.team-details #intro .btn-primary {
    background-color: var(--color-1);
    border-color: var(--color-1);
    color: #ffffff;
}
.team-details #intro .btn-primary:is(:hover, :focus) {
    color: var(--color-white);
    background-color: #04492f;
    border-color: #04492f;
}
.agent-reviews-slider-wrapper {
    overflow: hidden;
}
.agent-reviews-slider.owl-carousel .owl-stage-outer {
    overflow: visible;
}
.agent-reviews-slider.owl-carousel .owl-stage {
    display: flex;
    height: 100%;
}
.agent-reviews-slider.owl-theme .owl-nav [class*="owl-"] span {
    font-size: 2rem;
    padding: 2px 18px;
}
.agent-reviews-slider .reviews-item {
    background-color: #fff;
    position: relative;
    overflow: hidden;
    border-radius: .3rem;
    box-shadow: 0 6px 10px rgba(0,0,0,.1);
    padding: 30px;
    display: flex;
    flex: 1 0 auto;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.agent-reviews-slider .reviews-item-text {
    text-align: center;
    font-size: 1rem;
    font-style: italic;
    position: relative;
    line-height: 1.2;
}

.agent-reviews-slider .reviews-item-name {
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    margin-top: 20px;
}
.agent-reviews-slider.owl-theme .owl-nav {
    margin-top: 18px;
}
.agent-reviews-slider.owl-carousel .owl-nav button.owl-next,
.agent-reviews-slider.owl-carousel .owl-nav button.owl-prev {
    background-color: var(--color-1-7);
    border-radius: 0;
    color: var(--color-text-on-1);
    margin: 0 12px;
}
.agent-reviews-slider.owl-carousel .owl-nav button.owl-next:hover,
.agent-reviews-slider.owl-carousel .owl-nav button.owl-prev:hover {
    background-color: var(--color-1);
}
.agent-reviews-slider.owl-carousel .owl-nav button i {
    color: var(--color-text-on-1);
    padding: 12px 15px;
}

#footer, #footer a {
    background-color: #646665;
    color: #fff;
}
#footer strong, #footer b {
    color: #fff;
}
#footer .pxp-footer-social a {
    display: inline-block;
}

#footer #footer-widgets-bottom > .section.footer-right:last-child {
    justify-content: space-between;
}

#footer #menu-footer {
    margin-top: 1.5rem;
}

.team-map {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.team-map > .holder {

}

.widget-team.boxes.cols-5 .person {
    margin: 10px;
    width: calc(30% - 20px);
}

.team-map .map-holder .leaflet-container {
    width: 100%;
    height: 100%;
    min-height: 80vh;
}
.p4u-map-popup {
    width: 160px;
}
.p4u-map-popup__image {
    width: 100%;
    height: auto;
}

.agent-social {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-bottom: 20px;
}

.buttons + .agent-social {
    margin-top: -20px;
}

.home :is(#slider .widgets, #slider + .widgets) h3 {
    font-size: clamp(21px, 3vw, 36px);
}

/*#footer-widgets-bottom,
#footer-widgets-bottom :is(a,strong),
#footer-widgets-bottom a > * {
    color: #000000;
}
#footer-widgets-bottom a:hover {
    opacity: 0.6;
}*/

.map-toggle.btn.btn-primary {
    background-color: #ffffff;
    position: absolute;
    right:15px;
    top:15px;
    z-index: 9;
}
.map-toggle.btn.btn-primary:where(:hover, :focus) {
    background-color: var(--color-1);
}


@media (max-width: 768px) {
    .widget-team.boxes:not(.cols-1).team-map > .holder {
        display: flex;
        flex-direction: column;
        flex-wrap: unset;
    }

    .team-map .map-holder {
        order: 0;
        margin-bottom: 50px;
    }

    .team-map .person {
        order: 1;
    }
}

@media (min-width: 768px) {
    /*.team-map {
        flex-direction: row;
        gap: 60px;
    }
    .team-map .holder {
        width: 65%;
    }

    .team-map .map-holder {
        width: 35%;
    }*/

    .team-map .map-holder {
        padding: 10px;
        width: 40%;
    }

    .team-map .map-holder .leaflet-container {
        min-height: 100%;
    }
    .team-map .link {
        color: var(--color-1);
    }
}

@media (min-width: 992px) {
    #footer #menu-footer {
        margin-top: 0;
    }
}

@media (min-width: 1190px) {
    .page-template-page-home #slider .widgets {
        top:25vh;
        bottom: auto;
    }
    .page-template-page-home #slider .widgets .widget {
        height: 50vh;
        justify-content: space-between;
    }
    .page-template-page-home #slider-widgets-1 {
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    #footer #footer-widgets-bottom > .section.footer-right {
        justify-content: center;
        flex-direction: column;
    }
}