:root {
    --color1: white;
    --color2: #f9e6df;
    --color3: #401b00;
}

#ZELogo {
    width: 18rem;
    max-width: 100vw;
    
}
#ZELogo path, #ZELogo polygon {
    fill: var(--color3)
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    min-height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    background: var(--color2);
}
body::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 40vh;
    width: 100vw;
    background: var(--color2);
}
h2 {
    color: var(--color3);
}
main {
    flex-grow: 1;
}
p {
    font-size: 14pt;
}
.container.header {
    margin: 3rem auto;
    position: relative;
    z-index: 1;
}

#form .header h1{
    font-size: 18pt;
    color: var(--color3);
    font-weight: bold;
}

.info-container {
    position: relative;
    background: var(--color1);
    display: block;
    min-height: 12rem;
    min-width: 12rem;
    padding: 3rem 2rem 2rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 0 4px #00000030;
    z-index: 1;
}
.info-container::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 1.5rem;
    width: 100%;
    background: var(--color3);
    border-radius: 1rem 1rem 0 0;
}
@media (max-width: 768px) {
    .info-container {
        border-radius: 0;
    }
    .info-container::after {
    border-radius: 0;
}
}

textarea {
    min-height: 6rem;
    max-height: 23rem;
}
.form-item {
    position: relative;
    width: 100%;
}
.form-item input {
    height: 3rem;
}
.form-item.currency input {
    padding-left: 1.75rem;
}
.form-item.currency::after {
    content: "$";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: .35rem .75rem;
    font-size: 16pt;
    height: 3rem;
}
label:not(.checkbox) {
    display: inline-block;
    width: 100%;
    font-size: 18pt;
    margin-bottom: .5rem;
}
.checkbox {
    position: relative;
    cursor: pointer;
    padding-left: 2rem;
}
.checkbox.disabled {
    pointer-events: none;
    opacity: .5;
}
.checkbox span {
    font-size: 16pt;
    margin-left: 8px;
}
.checkbox input {
    display: none;
}
.checkbox::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 1.5rem;
    width: 1.5rem;
    border: 2px solid var(--color3);
    border-radius: 4px;
}
.checkbox input:checked ~ ::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 4px;
    transform: translateY(-50%);
    height: calc(1.5rem - 8px);
    width: calc(1.5rem - 8px);
    background: var(--color3);
    border-radius: 2px;
}

.mapboxgl-ctrl-geocoder {
    box-shadow: none !important; 
}
.form-input, .mapboxgl-ctrl-geocoder--input {
    width: 100%;
    border-radius: .25rem;
    box-shadow: none;
    outline: none;
    border: 1px solid var(--color3) !important;
    padding: .25rem 1rem;
    font-size: 16pt !important;
    background: transparent;
}
select.form-input {
    cursor: pointer;
    padding: .5rem 1rem;
}

#errors {
    color: red;
    font-size: 14pt;
}

.btn.btn-success {
    color: var(--color2);
    background: var(--color3);
    border-color: var(--color3);
    transition: .25s;
}
.btn.btn-success:hover {
    background: var(--color2);
    color: var(--color3);
    transition: .25s;
}
.btn.btn.succes:active, .btn.btn-success:focus {
    box-shadow: none;
}

.btn.loading {
    pointer-events: none;
    position: relative;
    background: grey !important;
    color: grey !important;
    border-color: grey !important;
    outline: none;
    box-shadow: none;
}
.btn.loading::after, #map.loading::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 1.5rem;
    width: 1.5rem;
    border-top: 1px solid var(--color3);
    border-right: 1px solid var(--color3);
    border-bottom: 1px solid transparent;
    border-left: 1px solid transparent;
    border-radius: 50%;

    animation-name: loading;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes loading {
    from { transform: translate(-50%, -50%) rotate(0); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
.title {
    font-size: 21pt;
}

#footer .copyright {
    font-size: 12pt;
}
.social-link {
    color: var(--color3);
}
.social-link svg {
    height: 1.5rem;
    width: 1.5rem;
}

.gallery {
    padding: 0;
    overflow: hidden;
}
.carousel-inner .carousel-item {
    background: var(--color2);
    height: 32rem;
}
.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
}

.wrap { position: relative; }
.input { width:100%; padding:16px; box-sizing:border-box; }
#map { position: relative; width: 100%; 
    height: 18rem;
    max-height: 50vh; 
    border-radius: 12px;
}
#map span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.hint { font-size:13px; color:#555; margin-top:8px; }
button { margin-top:12px; padding:8px 12px; border-radius:10px; border:1px solid #ddd; background:#fff; cursor:pointer; }
.mapboxgl-ctrl-geocoder {width: 100% !important; max-width: unset !important;}
.mapboxgl-ctrl-geocoder svg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.mapboxgl-ctrl-geocoder .mapboxgl-ctrl-geocoder--pin-right > * {
    right: 18px !important;
    top: 50% !important;
    transform: translateY(-50%);
}
.mapboxgl-ctrl-geocoder--icon-close {
    margin: 0;
}

#menu {
    padding: 2rem;
}
.menu-item {
    padding: 0 2rem;
}
@media (min-width: 768px) {
    .menu-item:not(:first-child, :nth-child(4)) {
        border-left: 1px solid black;
    }
}

.menu-item .label {
    font-size: 18pt;
    font-weight: bold;
    margin: 0;
}
.menu-image {
    position: relative;
    width: 100%;
    height: auto;
}
@media (min-width: 768px) {
    .menu-image {
        width: 50%;
        margin: 0 auto;
    }
}
.menu-image img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
}