:root {
    --primary-color: #f6b343;
    --secondary-color: #077187;
    --ticket-color: #fff4e5;
    --soft-black: rgba(45,46,47,1);
    --white: #fff;
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #f6b343;
        --secondary-color: #077187;
        --ticket-color: #fff4e5;
        /* --ticket-color: #f6d6a0; */
        --soft-black: rgba(45,46,47,1);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

input[type="color"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"],
select:focus,
textarea {
  font-size: 16px;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

html {
    scroll-behavior: smooth;
}

body, html {
    height: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5;
    /* background: #91ad31; */
    /* background: #93d63b; */
    /* background: radial-gradient(#93d63b, #c6ef8f); */
    /* width: 100vw;
    min-height: 100vh; */
    /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; */
    /* position: relative; */
    /* color: #0A0908; */
    color: var(--soft-black);
    display: flex;
    flex-direction: column;
    background: var(--white);
}

p {
    line-height: 2.1em;
    font-weight: 500;
    font-weight: 400;

}

/* b {
    text-decoration: none;
    font-weight: normal;
    background: #079DA1;
    padding-right: 2px;
    padding-left: 2px;
} */

a {
    text-decoration: none;
    transition: 0.4s;
    color: inherit;
}

input.error {
    color: red;
}

textarea.error {
    color: red;
}

label.error {
    font-size: 0.9rem;
    color: red;
}

.heroHeader {
    width: 100%;
    background: var(--primary-color);
    /* color: #fff; */
    padding: 64px 0 32px 0;
    display: flex;
    flex-direction: column;
    min-height: 96px;
}


#searchForm {
    width: 100%;
    position: relative;
    display: grid;
    /* grid-template-columns: 10fr 2fr; */
    grid-template-areas: 
        'query'
        'btnFilters'
        'filter';
    grid-gap: 8px;

}

#searchInputWrapper {
    width: 100%;
    border: 1px solid #077187;
    border-radius: 8px;
    background: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: relative;
    grid-area: query;
}


#searchInputWrapper input {
    width: 100%;
    height: 100%;
    padding: 16px 8px 16px 16px;
    border: none;
    border-radius: 8px;
    background: #fff;
    font-size: 1rem;
    flex: 1;
}

#searchInputWrapper #searchInputOptions {
    padding: 16px 16px 16px 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
}



#searchInputWrapper #eraseSearch {
    font-size: 1.2rem;
    /* color: #cc4c4c; */
    color: gray;
    cursor: pointer;
    display: none;
    margin: 0 16px;
}


#searchInputWrapper #submitSearch {
    font-size: 1.5rem;
    /* color: #333; */
    color: #fff;
    /* position: absolute; */
    /* top: auto; */
    /* right: 16px; */
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 8px;
    height: 100%;
    aspect-ratio: 1/1;
    background: var(--secondary-color);
    display: flex;
    flex-direction: row;
    border-radius: 8px;

}


/* #searchInputWrapper #submitSearch:hover {
    animation: rotate 0.7s ease-in-out both;

}
*/

/* #searchInputWrapper #submitSearch i {

    animation: storm 0.7s ease-in-out both;
    animation-delay: 0.06s;
} */


@keyframes rotate {
    0% {
      transform: rotate(0deg) translate3d(0, 0, 0);
    }
    25% {
      transform: rotate(3deg) translate3d(0, 0, 0);
    }
    50% {
      transform: rotate(-3deg) translate3d(0, 0, 0);
    }
    75% {
      transform: rotate(1deg) translate3d(0, 0, 0);
    }
    100% {
      transform: rotate(0deg) translate3d(0, 0, 0);
    }
}
    
@keyframes storm {
    0% {
      transform: translate3d(0, 0, 0) translateZ(0);
    }
    25% {
      transform: translate3d(4px, 0, 0) translateZ(0);
    }
    50% {
      transform: translate3d(-3px, 0, 0) translateZ(0);
    }
    75% {
      transform: translate3d(2px, 0, 0) translateZ(0);
    }
    100% {
      transform: translate3d(0, 0, 0) translateZ(0);
    }
}  




#btnFilters {
    grid-area: btnFilters;
    margin-top: 6px;
    font-size:  16px;
}

#btnFilters small {
    width: fit-content;
    cursor: pointer;
    display: flex;
    flex-direction: row;
}

#btnFilters small i {
    margin-left: 8px;
}

#searchFilters {
    grid-area: filter;
    display: grid;
    /* grid-template-columns: 10fr 2fr; */
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: 
        'c d'; /* disctrict category */
    grid-gap: 8px;
    display: none;
}

#districtInputWrapper {
    grid-area: d;
    width: 100%;
    border: 1px solid #077187;
    border-radius: 8px;
    background: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: relative;
}

#categoryInputWrapper {
    grid-area: c;
    width: 100%;
    border: 1px solid #077187;
    border-radius: 8px;
    background: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: relative;
}

#districtInputWrapper select, #categoryInputWrapper select {
    width: 100%;
    height: 100%;
    padding: 16px 42px 16px 16px;
    border: none;
    border-radius: 8px;
    background: #fff;
    font-size: 1rem;
    -webkit-appearance: none;
    color: var(--soft-black);;
}

#districtInputWrapper #districtInputOptions, #categoryInputWrapper #categoryInputOptions {
    padding: 16px 16px 16px 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
}



#districtInputWrapper #eraseDistrict, #categoryInputWrapper #eraseCategory {
    font-size: 1.2rem;
    /* color: #e43f3f; */
    color: gray;
    cursor: pointer;
    display: none;
    margin: 0 16px;
}

/* #searchForm button {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    border: 1px solid #077187;
    border-radius: 8px;
    background: #fff;
    color: #0A0908;
    margin: 0;
    cursor: pointer;
    transition: 0.5s;
}

#searchForm button:hover {
    background: #07718799;
} */


.inputGroup {
    /* width: 96%; */
    width: 100%;
    display: grid;
    grid-template-columns: 12fr;
    grid-gap: 4px 8px;
    padding: 8px;
}

.inputGroup label {
    /* display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1rem; */
    display: none;
}

.inputGroup input {
    /* padding: 6px;
    border: none;
    border-radius: 8px;
    width: 100%;
    font-size: 1rem;
    text-align: center; */


    /* border: 1px solid transparent; */
    border: 1px solid #f6b343;
    height: 40px;
    width: 100%;
    border-radius: 8px;
    padding: 10px;
    /* background: #f2f2f2; */
    background: #fff;
    font-weight: 300;
}

.inputGroup textarea {

    border: 1px solid #f6b343;
    width: 100%;
    border-radius: 8px;
    padding: 10px;
    /* background: #f2f2f2; */
    background: #fff;
    font-weight: 300;
    resize: none;
}


.inputGroup .inputSubmit {
    /* width: 100%; */
    

    border: none;
    border-radius: 8px;
    padding: 18px;
    cursor: pointer;
    background: #077187;
    color: #fff;
    font-size: 1.1rem;
    transition: .3s ease-out;

}

.inputSubmit:hover {
    background: #FF9505;
}


#google-map {
    width: 100%;
    height: 380px;
    background-color: gray;
    border-radius: 8px;
    margin-top: 24px;

    overflow: hidden;
    /* padding-bottom: 56.25%; */
    position: relative;
}

#google-map iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}


.margin {
    width: 1280px;
    /* width: 1240px; */
    max-width: 88%;
    margin: 0 auto;
    position: relative;
}




#topBar {
    /* background: #FF9505; */
    /* background: radial-gradient(ellipse at center top, #FF9505, #f2b560); */
    display: none;
    width: 100%;
}



#mainHeader {
    /* padding: 3.125rem 0; */
    
    display: block;
    color: #373a3c;
    background: var(--primary-color);
}

#mainHeader .topHeader {
    border-bottom: 1px solid var(--ticket-color);
    padding: 4px 0;
}


#mainHeader .topHeader .margin {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    
}

#mainHeader .topHeader .margin .socialLinks {

}

#mainHeader .topHeader .margin .socialLinks a {
    color: var(--soft-black);
    font-size: 20px;
    padding: 0px 4px;
}

#mainHeader .topHeader .margin .contactInfo {
    
}

#mainHeader .topHeader .margin .contactInfo p {
    font-size: 14px;
}

#mainHeader .header_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
}

#mainHeader .header_marca {
    display: flex;
    align-items: center;
    /* color: #373a3c; */
    text-decoration: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.2;
    padding: 8px 0;
}

#mainHeader .header_marca img {
    border-radius: 50%;
    margin-right: .5rem;
}



#mainHeader .header_nav {
    display: flex;
    align-items: center;
}

#mainHeader .header_nav nav {
    display: flex;
    align-items: center;
}

#mainHeader .header_nav nav ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

#mainHeader .header_nav nav ul li {
    display: inline-block;
    font-size: 1rem;
    line-height: 1.625;
    font-size: 15px;
    /*
    margin: 0 .5em;
    padding: .5em;
    */
}

#mainHeader .header_nav nav ul li a {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 8px 12px;
    line-height: 1;
    white-space: nowrap;
    border-radius: 8px;
    /* text-transform: lowercase; */
    color: var(--color-text);
    /* transition: color .2s linear; */
    border: 1px solid transparent;

}

#mainHeader .header_nav nav ul li a.active {
    background-color: #fff;
}

#mainHeader .header_nav nav ul li a:hover {
    /* background-color: #ffffff88; */
    border: 1px solid #fff;
}

#mainHeader .header_nav .menu-mobile {
    display: none;
}

#mainHeader .header_nav nav .menu-mobile-fechar {
    display: none;
}

#contentBox {
    flex: 1;
    /* flex-grow: 1;
    flex-shrink: 0;
    flex-basis: auto; */
}

#mainFooter .margin {

    margin-top: 32px;
    font-size: .875rem;
    padding: 2rem 0;
    border-top: 1px solid #eceeef;

}

#mainFooter .margin small {
    font-size: 0.8rem;
}

#mainFooter .margin a {
    text-decoration: none;
    border-bottom: 1px solid transparent;
    color: var(--soft-black);;
    font-weight: 600;
    transition: 0.4s;
}

#mainFooter .margin a:hover {
    border-bottom: 1px solid #000;
}

#mainFooter .margin {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}


#lgpdWarning {
    position: fixed;
    bottom: 12px;
    left: 12px;
    width: calc(100% - 24px); 
    max-width: 540px; 
    padding: 12px;
    background: #fff;
    color: #000;
    border: 1px solid var(--secondary-color);
    border-radius: 8px;
    display: none;
}

.showLGPD {
    display: inline-block !important;
}

.lgpdText p {
    font-size: 13px;
    line-height: 20px;
}

.lgpdText p a {
    color: var(--secondary-color);
}

.lgpdText p a:hover {
    border-bottom: 1px solid var(--secondary-color);
}

.lgpdButtons {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    margin-top: 8px;
}

.lgpdButtons button {
    display: inline-block;
    text-decoration: none;
    background: #fff;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    font-size: 14px;
    padding: 6px 8px;
    transition: 0.4s;
    cursor: pointer;
}


.lgpdButtons button:hover {
    color: #fff;
    background: var(--secondary-color);
}


@media (max-width: 992px) {

    

}


@media (max-width: 768px) {

    .margin {

        max-width: 92%;

    }

    #mainHeader .topHeader .margin {
        justify-content: center;
    }

    #mainHeader .topHeader .margin .contactInfo {
        display: none
    }


    #searchForm {
        width: 98%;
        position: relative;
        display: grid;
        grid-template-columns: 12fr;
    }

    /* #searchForm button {
        margin: 0 auto;
        width: 100%;
        padding: 16px;
        border: 1px solid #077187;
        border-radius: 8px;
        color: #fff;
        background: #077187;
        margin: 0;
    } */


    #mainHeader  #mainMenu {
        text-align: center;
    }




    #mainHeader  .header_nav {
        display: flex;
        align-items: center;
        z-index: 90;
    }
    
    #mainHeader .header_nav nav {
        list-style-type: none;
        position: fixed;

        width: 100%;
        height: 140%;
        top: 120%;
        left: 0;
        /* background: rgba(31, 127, 81, 0.96); */
        background: var(--primary-color);
        transition: .4s ease-out;

    }

    #mainHeader .header_nav nav .menu-mobile-fechar {
        position: absolute;
        top: calc(15% + 32px);
        right: 5%;
    }

    #mainHeader .header_nav nav ul {
        /*
        position: absolute;
        top: 30%;
        */
        display: flex;
        flex-direction: column;
        padding: 6%;
    }

    #mainHeader .header_nav nav ul li {
        color: #fff;
        font-size: 18px;
        margin: 1rem 0;
    }

    #mainHeader .header_nav nav ul li a.active {
        color: var(--primary-color);
    }

    #mainHeader .header_nav nav ul li a:hover {
        
    }

   

    
    #mainHeader .header_nav nav.aberto {
        top: -20% !important;
    }

    #mainHeader .header_nav nav.aberto ul {
        width: 100%;
    }

    

    #mainHeader .header_nav .menu-mobile {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: var(--primary-color);
        /* color: var(--primary-color); */
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        cursor: pointer;
        font-size: 1.6rem;
        transition: .4s;
    }

    #mainHeader .header_nav nav .menu-mobile-fechar {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: #f7f7f9;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        cursor: pointer;
        font-size: 1.6rem;
        transition: .8s;
    }


    
}

@media (max-width: 576px) {


    #searchFilters {
        /* grid-template-columns: 10fr 2fr; */
        grid-template-columns: 12fr;
        grid-template-areas: 
            'c'
            'd'; /* disctrict category */
        grid-gap: 8px;
        display: none;
    }

    
}

