@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');


:root {
    --color-step-1: #48c119;
    --color-step-2: #ead02e;
    --color-step-3: #6e97f7;
    --color-step-4: #fc646c;
    --color-step-5: #c4c4c4;
    --color-step-6: #d578e3;
    --color-step-7: #e28a2c;
    --color-mappa: #48C119;
  }


body {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #000;
}

.app__header {
    min-height: 260px;
    max-height: 260px;
    height: 260px;
    background-color: #000;
    background-position: 50% 55%;
    transition: 0.5s;
    background-image: url(../data/header-1.svg?v=2), url(../data/mapujeme_web_banner.png);
    background-position: 0% 50%, 100% 50%;
    background-size: auto 100%, cover;

    background-position: 0% 50%, calc(100% + 50px) 50%;
    background-size: auto 100%, auto 93%;
    min-height: 260px;
    max-height: 260px;
    height: 260px;

    background-repeat: no-repeat;
}

.mappa-logo-map {
    position: fixed;
    bottom: 0;
    z-index: 999;
    pointer-events: none;
    bottom: 40px;
    left: 50px;
}


.app__title {
    opacity: 0;
}


body[data-type="form"] .app__header  {
    background-position: 0% 50%, 100% 50%;
    background-size: auto 100%, auto 150%;
}

body[data-type="form"][data-step="init"] .app__header  {
    min-height: 250px;
    max-height: 450px;
    height: 450px;
    margin: 0 auto;
    background-color: #000;

    background-position: 0% 50%, 100% 50%;
    background-size: auto 100%, auto 150%;
}

body[data-type="form"][data-step="0"] .app__header,
body[data-type="geom"] .app__header {
    background-position: 0% 50%, calc(100% + 50px) 50%;
    background-size: auto 100%, auto 93%;
    min-height: 260px;
    max-height: 260px;
    height: 260px;
}

body[data-type="form"][data-step="0"] .app__sidebar,
body[data-type="geom"]:not(.is-mobile-draw-mode) .app__sidebar {
    flex-basis: 480px;
}

@media (max-width: 767px), (max-height: 400px) {
    .mappa-logo-map {
        display: none;
    }
}

body .app__header::after {
    display: none;
}

body[data-type="form"][data-step="init"] .app__sidebar  {
    flex-basis: 100%;
}

body[data-type="form"][data-step="init"] .slides  {
    max-width: 100%;
    overflow: unset;
}


body[data-type="form"][data-step="init"] .mappa-logo-map {
    display: none;
}


.mappa-logo-sticky {
    position: sticky;
    bottom: 40px;
}

@media (max-width: 767px) {
    body[data-type="form"] .app__sidebar {
        flex-basis: 100%;

    }
    body[data-type="geom"]:not(.is-mobile-draw-mode) .app__sidebar {
        flex-basis: 50%;
    }
}

.leaflet-touch .leaflet-control-layers-toggle {
    padding-right: 50px;
    padding-top: 5px;
    padding-left: 10px;
    background-position: 90% 50%;
    color: #222;
    padding-bottom: 5px;
    height: auto;
    width: auto;
}

.btn {
    padding: 0.5rem 2rem;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 40px;
}

.btn-lg {
    padding: 1rem 2rem;
}

.btn-primary {
    background-color: #000;
    border-color: #000;
}

.btn-outline-primary {
    color: #000;
    border-color: #000;
    border-width: 2px;
}

.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary:hover {
    background-color: #222 !important;
    border-color: #222 !important;
    color: #FFF !important;
}

.btn-primary:focus,
.btn-primary:active,
.btn-primary:hover {
    background-color: #222 !important;
    border-color: #222 !important;
}

.external-logo {
    filter: grayscale(100);
    image-rendering: -webkit-optimize-contrast;

}

.external-logo:hover {
    filter: grayscale(0);
}

.perex {
    font-size: 16px;
}

.intro-title {
    max-width: 250px;
}

.circle-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-weight: 600;
    flex-shrink: 0;
}


body[data-step="0"] .progressBar:after {
    background-color: #dee2e6;
}
body[data-step="1"] .progressBar:after {
    background-color: var(--color-step-1);
}
body[data-step="2"] .progressBar:after {
    background-color: var(--color-step-2);
}
body[data-step="3"] .progressBar:after {
    background-color: var(--color-step-3);
}
body[data-step="4"] .progressBar:after {
    background-color: var(--color-step-4);
}
body[data-step="5"] .progressBar:after {
    background-color: var(--color-step-5);
}
body[data-step="6"] .progressBar:after {
    background-color: var(--color-step-6);
}
body[data-step="7"] .progressBar:after {
    background-color: var(--color-step-7);
}
body[data-step="8"] .progressBar:after {
    background-color: var(--color-mappa);
    transform: scaleX(1);
}


.btn-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-next svg {
    margin-left: 2rem;
    margin-right: -1.25rem;
}

.btn-next.btn-lg svg {
    margin-left: 2rem;
    margin-right: 0;
}

.btn-prev {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-prev svg {
    margin-left: -1.25rem;
    margin-right: 1rem;

}

body[data-type=form][data-step="0"] .app__map {
    filter: none;
}
body[data-type=form][data-step="0"] .app__map>* {
    filter: none;
}

.leaflet-control-layers-toggle {
    font-weight: 700;
}


.btn-next-icon {
    padding-right: 3rem;
    background-image: url(../data/arrow-right.svg);
    background-position: calc(100% - 0.75rem) 50%;
    background-repeat: no-repeat;
}

.drawButton {
    border-radius: 40px;
    padding: 1.25rem 2rem;
}

.drawButton svg {
    margin-right: 0;
}

.drawButton__text {
    text-transform: uppercase;
    color: #000;
    font-size: 21px;
    font-weight: 600;
}

.js-pm-text-step-title {
    font-size: 24px;
    color: #000 !important;
    font-weight: 700;
    margin-top: 2rem;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem !important;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.custom-control-input:checked~.custom-control-label:before {
    background-color: #000;
}

select.form-control {
    border-radius: 40px;
    appearance: none;
    background-image: url(../data/select.svg);
    background-position: calc(100% - 1.25rem) 50%;
    background-repeat: no-repeat;
    text-transform: uppercase;
    font-weight: 600;
    color: #000;
    padding-left: 1rem;
    padding-right: 1rem;
}

.custom-control-label {
        font-weight: 600;
        text-transform: uppercase;

}


.semibold {
    font-weight: 600;
}

.link-inverse {
    color: #000;
    font-weight: 700;
    font-size: 18px;
}

.link-inverse:hover {
    color: #000;
}

@media (max-width: 767px) {
    body[data-type="form"][data-step="init"] .app__header {
        display: block;
        background-position: 0% 50%, calc(100% + 80px) 50%;
        background-size: auto 100%, auto 93%;
        height: 250px;
    }

    body[data-type=form][data-step="0"] .app__sidebar {
        flex-basis: 100%;
    }

    .btn-next-icon {
        padding-right: 1rem;
        padding-left: 1rem;
        background-image: none;
    }

    .js-pm-text-step-title {
        margin-bottom: 2rem !important;
        margin-top: 0;
    }


    .btn-prev svg {
        display: none;
    }

    .navigationBar .btn-prev,
    .navigationBar .btn-next {
        padding-right: 1rem;
        padding-left: 1rem;
    }



}