/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 13/out/2017, 15:04:31
    Author     : jose
*/
.single-diretorio .site-main {
    padding-top: 0;
    padding: 0;
}
.diretorio-container-home {
    margin-top: 30px;
}
.diretorio-top-bar {
    padding: 20px;
    background: #f1f1f1;
}
.diretorio-top-bar h1 {
    margin: 0 !important;
    padding: 5px 0 !important;
    font-size: 25px;
}
.diretorio-top-bar .row {
    margin-bottom: 0 !important
}
.diretorio-top-bar .searchandfilter {
    margin-bottom: 0 !important
}
.diretorio-top-bar .searchandfilter ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 30px;
    margin: 0
}
.diretorio-top-bar .searchandfilter ul li {
    padding: 0
}
.diretorio-top-bar .searchandfilter input, .diretorio-top-bar .searchandfilter select,  .diretorio-top-bar .searchandfilter .select2 span {
    margin-bottom: 0 !important;
    height: 40px;
    line-height: 40px;
    border-radius: 5px !important
}
.diretorio-top-bar .searchandfilter input[type=submit] {
    line-height: 100%;
    width: 100%;
    border: 1px #ddd solid
}




.diretorio-wrapper {
    padding: 20px;
}
.diretorio-galeria ul {
    display: inline-block;
    width: 100%;
    margin: 0;
}
.diretorio-galeria ul li {
    display: inline-block;
    width: 25%;
    float: left
}
.diretorio-galeria ul li a {
    display: flex;
    border: 1px #fff solid
}
.diretorio-galeria ul li a img {
    width: 100%;
}
.aside-diretorio section h3 {
    padding: 7px 15px;
    background: #f1f1f1
}
.aside-diretorio section {
    margin-bottom: 25px;
}
.diretorio-redes-sociais .flexcontainer {
    display: flex;
}
.diretorio-redes-sociais a {
    display: inline-flex;
    padding: 5px;
    flex-grow: 1;
    justify-content: center;
    background: #f1f1f1;
          -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.diretorio-redes-sociais a:hover {
    background: #ddd 
}
.footer-location-wrapper {
    padding: 10px;
    background: #f1f1f1
}
.footer-location-wrapper .row {
    margin: 0;
}
.footer-location-wrapper .col-xs-2 {
    display: flex;
    justify-content: center;
    align-items: center
}


#categoria_de_diretorio_db {
    margin: 0px !important
}
.diretorio-top-bar-home {
    padding: 5px 0;
    display: inline-block;
    float: right;
    height: 36px;
}

.diretorio-caticon-wrapper {
    text-align: center;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 200px;
    justify-content: center;
}
.diretorio-caticon-img, .diretorio-caticon-txt {
  align-self: center;
}

.diretorio-caticon-txt h2 {
    font-size: 1.1em;
    line-height: 120%;
    margin: 0;
}
.diretorio-caticon-txt a {
    color: #fff;
    padding: 10px 5px;
    display: block;
}

.diretorio-inline-cats-wrapper {
    margin-top: 30px;
    margin-bottom: 30px;
}


.diretorio-top-bar-icon {
    height: 30px;
    margin-right: 15px;
}
.LisTerms {
    margin: 0;
    display: flex;
    margin: 0;
}
.LisTerms li {
    flex-grow: 1;
    text-align: center;
    margin: 10px 0;
}
.LisTerms li a {
    padding: 5px;
    background: #f4f4f4;
    display: block;
    width: 100%;
              -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.LisTerms li a:hover {
    background: #337AB7;
    color: #fff;
}

/*SIDENAV*/
/*DEFAULT SIDEBAR*/
.adsidir-default-sidebar-menu-home {
    display:  inline-block;
    width: 100%;
    padding: 5px 30px 5px 10px;
    background: #f1f1f1;
    border-radius: 5px;
    margin-bottom: 15px;
}
.adsidir-default-sidebar-menu-home:after {
    font-family: "Font Awesome 6 Free"; 
    font-weight: 600; 
    content: "\f015";
    float: right;
    margin-right: -21px;
}
.adsidir-default-sidebar-menu, .adsidir-default-sidebar-menu ul {
    margin: 0;
}
.adsidir-default-sidebar-menu li {
    margin-bottom: 5px;
}
.adsidir-default-sidebar-menu li a {
    display: inline-block;
    width: 100%;
    padding: 5px 30px 5px 10px;
    border-radius: 5px;
    background: #fff
}
.adsidir-default-sidebar-menu li a:after {
    font-family: "Font Awesome 5 Free"; 
    font-weight: 600; 
    content: "\f054";
    float: right;
    margin-right: -21px;
}
.adsidir-default-sidebar-menu li.i-have-kids > a:after {
    content: "\f067";
}
.adsidir-default-sidebar-menu .children {
    padding-left: 20px !important;
    margin-bottom: 5px !important;
}
.adsidir-default-sidebar-menu .children li {
    margin-top: 5px !important;
}

.adsidir-default-sidebar-menu .current-cat > a {
    color: #007dcc !important
}
/*SIDENAV - FIM*/


/*CATEGORIAS INLINE GRID*/
.cat-inline-diretorio-grid {
    display: grid;
    gap: 50px;
}

.cat-inline-diretorio-grid-2 {
    grid-template-columns: 1fr 1fr;
}

.cat-inline-diretorio-grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.cat-inline-diretorio-grid-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.cat-inline-diretorio-grid-5 {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}
.cat-inline-diretorio-grid-6 {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}

/*CATEGORIAS INLINE GRID - FIM*/

/*LISTA DE ENTRADAS*/
.loop-diretorio-wrapper {
    display: grid;
}
.loop-diretorio-wrapper-lista {
    grid-template-columns: 1fr;
    grid-gap: 15px;
}


.loop-diretorio-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    height: 280px
}
.loop-diretorio-wrapper {
    margin-bottom: 30px;
}

.loop-diretorio-wrapper img {
    min-width: 100%;
    height: 100%;
    object-fit: cover; 
}
.loop-diretorio-caption {
    padding: 15px;
    background: #fff;
    display: flex;
    flex-flow: column;
    justify-content: center  
}
.loop-diretorio-caption h3 {
    margin: 0;
}
/*LISTA DE ENTRADAS - FIM*/

/*GRELHA DE ENTRADAS*/
    .loop-diretorio-wrapper-grelha {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 50px;
        margin-top: 40px;
        background: #f4f4f4;
        padding: 50px 0;
    }
    .loop-diretorio-wrapper-grelha a {
        display: grid;
        grid-template-columns: 1fr;
        border-radius: 10px
    }
/*GRELHA DE ENTRADAS - FIM*/

/*SELECT2 OPTIONS*/
.select2-container {
    width: 100% !important
}
.select2-dropdown {
    padding: 10px
}
.select2-search input {
    margin-bottom: 10px
}
/*SELECT2 OPTIONS - FIM*/

/*jose daniel 27-02-2023*/
.cat-inline-diretorio-grid article {
    position: relative;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f1f1
}
.cat-inline-diretorio-grid article figure {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

.cat-inline-diretorio-grid article header {
    z-index: 9;
    color: #fff
}
.cat-inline-diretorio-grid article figure a {
    display: flex;
    height: 100%;
}
.cat-inline-diretorio-grid article figure a:after {
    background: linear-gradient(0deg, rgba(0, 125, 204, 1), rgba(0, 125, 204, 0.5));
}
.cat-inline-diretorio-grid article figure img {
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
}
/*jose daniel 27-02-2023 - fim*/
@media only screen and (max-width: 989px) { 
    .loop-diretorio-wrapper-grelha {
        grid-template-columns: 1fr 1fr;
    }
}
@media only screen and (max-width: 767px) {
    .loop-diretorio-wrapper-grelha {
        grid-template-columns: 1fr;
    }
    .diretorio-top-bar .searchandfilter ul {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .loop-diretorio-item {
        grid-template-columns: 1fr;
    }
    .cat-inline-diretorio-grid-3 {
        grid-template-columns: 1fr 1fr;
    }
}

/*jose daniel - 24-02-2023*/
@media only screen and (min-width: 767px) {
    .diretorio-campos-topo {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}