#drp_autogen0{
    background: #fff;
    padding: 15px 10px;
    width:100%;
}
.section-filter{
    position:relative;
}

.form-filter .grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap:20px;
}


.form-filter .grid.grid-5,
.form-filter .grid.grid-4{
    grid-template-columns: 1fr;
}

.form-filter .grid select{
   max-width:100%;
}



.form-filter .grid .form-field label{
    display: block;
}

.form-filter .grid .form-field input,
.form-filter .grid .form-field select{
    width:100%;
    border-color: var(--teiasp-color-cinza);
    outline: 0;
    border-width: 1px;

}

.form-field-modality {
    background: rgba(255,255,255,.8);
    padding: 30px 20px;
    border: 1px solid #ccc;
    width: 300px;
    position: absolute;
    top: -200px;
    z-index: 999;

}



.form-field-modality label{
    display: block;
}
.form-field-modality select{
    width:100%;
}
.form-filter-buttons{
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
}

.form-filter-buttons button{
    border-radius: var(--teiasp-border-radius);
   background: var(--teiasp-color-azul);
   color: #fff;
}
.form-filter-buttons button:hover{
    background: var(--teiasp-color-amarelo);
}

.form-filter-buttons button.invert{
    background: var(--teiasp-color-amarelo);
}

.form-filter-buttons button.invert:hover{
    background: var(--teiasp-color-amarelo);
}


/*Section - Programacao*/

.container-schedule{
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap:20px;
    padding-top: 30px;
}
.container-schedule.schedule-fixed{
    padding-top:0;
}
.header-schedule{
    background:#ccc;
    margin: 15px 0 10px;
}
.title-primary-schedule{
    margin:0;
    padding:10px;
    color:#333;
}


.box-schedule{
    padding:10px;
    border:1px solid #e5e5e5;
}

.box-schedule:hover{
    box-shadow:0 0 10px #ccc;
}

.thumbnail-schedule{
    height: 230px;
    overflow: hidden;
    position:relative;
}

.date-schedule{
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    background: #fff;
    flex-direction: column;
    width: 50px;
    color: #333;
    text-align: center;
    padding: 5px;
    box-shadow:0 0 5px #ccc;
}

.date-schedule span{
    line-height: 100%;
    font-size: 1.3rem;
    font-weight: 700;
}


.title-schedule{
    font-size: 1.8rem;
    line-height: 1.2;
    font-weight: 700;   
    margin: 0;
    padding:10px 0 0;
 } 

.box-schedule a.btn{
    line-height: 1.2;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.box-schedule a.btn::after{
    content: ' >>';
}

 .title-schedule a{
    color: #333;
 }

 .btn-schedule{
    display: inline-block;
    padding: 5px 45px;
    background-color: #8d89bf;
    color: #fff;
 }

.btn-schedule a,
 .btn-schedule a:focus,
 .btn-schedule a:hover,
 .btn-schedule a:active{
    color: #fff !important;
 }

 .container-datetime{
    padding: 10px 0;

 }

 .container-schedule .btn.btn-more{
    
 }

.post-type-archive-programacao  .form-field h5{
    color:#fff;
 }

 button#drp_autogen0{
    padding: 1.4rem 0.75rem;
 }
 
 .menu-filter-mobile{
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: var(--teiasp-color-preto);
}

.menu-filter-mobile button{
    width:100%;
    background: var(--teiasp-color-preto) !important;
    display:block;
    color:#FFF;
    display: none;
}

.form-filter .close-filters{
    display:none;
    position:relative;
    width:100%;
}
.form-filter .close-filters button{
    position:absolute;
    top: -10px;
    right: -40px;
}



 @media (min-width:767px) {
    .form-filter .grid.grid-5{
        grid-template-columns: repeat(5, 1fr);
    }
    .form-filter .grid.grid-4{
        grid-template-columns: repeat(4, 1fr);
    }
    .menu-filter-mobile{
        display:none;
    }  
    .form-filter .close-filters{
        display:none;
    } 
    
}

@media (max-width:766px) {

    .form-filter .dropdown-content-mobile{
       z-index: 10000;
        width: 100%;
        overflow: auto;
        position:relative;
    }
    .form-filter .grid{
        padding-top:20px;
    }
    #form-calendar h5{
        color: var(--ast-global-color-2);
    }
   
}


/*MAPAS PLUGIN*/

#locate-anything-template-wrapper,
#locate-anything-template-wrapper *{
    box-sizing: border-box;
}

@media (min-width:767px) {
#category-filters-container1 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 25px;
    margin:0;
}
}

#category-filters-container1 li{
 min-width: auto;
}
#category-filters-container1 li select{
    min-width: 100%;
    max-width: 100%;
    width: 100%;
}

#locate-anything-template-wrapper{
    display:block !important;
}

#locate-anything-template-wrapper .reset{
    padding-bottom:20px;
    display:flex;
    justify-content: flex-end;
}
#locate-anything-template-wrapper 
span.select2-selection.select2-selection--single {
    max-width: 100%;
    min-width: 100%;
}
.page-template-page-pontos
.select2-container--default .select2-search--dropdown .select2-search__field
{
    max-width: 100%;
    min-width: 100%;
    padding:5px;
    
}
.page-template-page-pontos span.select2-dropdown.select2-dropdown--below{
    top:  20px;
}
.page-template-page-pontos
.select2-container--default .select2-selection--single .select2-selection__arrow{
    top: 15px;
}
.page-template-page-pontos
.category-filters-container li b{
    width: auto !important;
}