/* Linkt branding CSS  */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: #404040;
    font-size: 14px;
}

.pyj-header .pyjReset {
    color: #fff !important;
    background-color: #0f893c;
}

#pyjMapControls .btn:first-child {
    border-top-left-radius: 0.9rem;
    border-bottom-left-radius: 0.9rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#pyjMapControls .btn:last-child {
    border-top-right-radius: 0.9rem;
    border-bottom-right-radius: 0.9rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#pyjMapControls {
    gap: 3px;
}
#pyjMapControls .btn {
    color: #0f893c;
}
#pyjMapControls .btn:hover {
    background-color: #e0ece5;
}

.pyj-header #linktpyjReset {
    display: block !important;
}

.pyj-journey-mode .btn {
    color: #0f893c;
    border-radius: 0.9rem;
}
.pyj-journey-mode .btn:hover {
    background-color: #096b2f20;
}
.pyj-journey-mode .btn.active, #pyjMapControls .btn.active {
    color: #FFF;
    background-color: #0f893c !important;
}

.mapboxgl-ctrl-geocoder--input:focus {
    border: none !important;
    border-bottom: 1px solid #0f893c !important;
    background-color: #0f893c10 !important;
}
.mapboxgl-ctrl-geocoder input[type='text'] {
    border-radius: 0;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    border-bottom: 1px solid #00000050;
    background: #f5f5f5;
}
.mapboxgl-ctrl-geocoder.focus .mapboxgl-ctrl-geocoder--icon {
    fill: #0f893c !important;
}

.mapboxgl-ctrl-geocoder .suggestions a:hover {
    background-color: #0f893c10 !important;
}

.mapboxgl-ctrl-geocoder--button {
    background-color: transparent !important;
}

.btn-linkt {
    color: #0f893c;
}

.pyj-preroll {
    border-radius: 0rem;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    border: 2px solid transparent;
    /* border-bottom: 2px solid transparent; */
}
.pyj-preroll.active .pyj-preroll-progress {
    border-right: none;
}
.pyj-preroll.active.complete .pyj-preroll-progress {
    border-right-color: #20A55C;
    width: 100% !important;
}
.pyj-preroll.active,
.pyj-video-wrapper.active {
    border: 2px solid transparent;
    border-bottom: 2px solid #00a0df
}
.pyj-preroll.active.complete {
    border-color: transparent;
    border-bottom-color: #20A55C;
    background: #20a55c1f;
}

.linkt-pyj-savings {
    background: #fff;
    color: #000;
    padding: 12px 20px;
    border: 2px solid #eff1f2;
    border-radius: 0.9rem;
}

.linkt-pyj-savings-icon {
    gap: 12px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.linkt-pyj-savings-number {
    margin: 16px 0 0 0;
    display: flex;
    justify-content: center;
}

.linkt-pyj-savings-icon i {
    font-size: 1.2rem;
    background-color: #c9f3ce;
    padding: 0.6rem;
    color: #0f893c;
    border-radius: 50%;
}
.linkt-pyj-savings-icon p {
    margin-bottom: 0;
}

.linkt-pyj-tolls {
    display: flex;
    background: #1da248;
    color: #FFF;
    text-align: center;
    padding: 12px 20px;
    border-radius: 0.9rem;
    flex-direction: column;
    justify-content: center;
}

.pyj-savings-number, .pyj-savings-metric {
    font-weight: bold;
    display: block;
    font-size: 1.5em;
    line-height: 0.8;
}

.pyj-savings-metric {
    margin-left: 4px;
}

/* .pyj-video-fallback {
    background: #f5f5f5;
}
.pyj-video-fallback.active img {
    z-index: 0;
}
.pyj-video-fallback h2 {
    font-size: 1.8rem;;
    color: #00000075;
    font-weight: 600;
}
.pyj-video-fallback.active .pyj-video-fallback-text-wrapper {
    position: relative;
    z-index: 1;
    background: #4f4b4bad;
    padding: 16px;
    border-radius: 8px;
}
.pyj-video-fallback.active h2 {
    color: #c9c9c9;
} */
.pyj-video-fallback-icons {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 8px;
}
.pyj-video-fallback-icons i {
    font-size: 1.8rem;
    color: #fff;
}

.linkt-popup a {
	color: #0e893c !important;
}

@media (min-width: 1700px) {
    .pyj-help-text {
        max-width: 100%;
    }
}

/* @media (min-width: 577px) {
    #pyjMapLegend {
        display: block !important;
    }
} */
