
.adsi-modal-content {
   width: 68%;
   float: left
}
.adsi-modal-sidebar {
   width: 30%;
   float: right
}

.adsi-modal-sidebar {
   display: inline-block;
}

#map {
        height: 100px;
        width: 100%
    }
    #main {
        background: #fff;
    }

    .grid-item { 
        margin-bottom: 15px;
    }
    .grid-item-content img {
        width: 100%;
        display: block;
    }
.grid-item--width2 { width: 50%; }

.pop {
    width: 100%;
    height: 100%;
    overflow: auto;
    
}
.pop-click {
    position: relative;
}
.pop-click:hover {
    cursor: pointer;
}
.pop-inside {
    margin: auto;
    max-width: 100%;
    background: #fff;
    padding: 0 0 50px 0;
}
.pop-close {
    background: #ff0000;
    float: right;
    line-height: 100%;
    padding: 10px;
    color: #fff
}
.pop-close:hover {
  background: #888000 none repeat scroll 0 0;
  color: #fff;
  cursor: pointer;
}
.pop-content {
    display: none;
}
.pop-imagem {
    text-align: center;
    background: #f7f7f7;
    position: relative;
    border: 1px #ccc solid;  
    margin-bottom: 20px;
    
    
}
.pop-imagem img {
    display: block !important;     
    margin: auto !important;
    width: 100%;
}
.pop-certificado {
    width: 150px;
    height: 150px;
    position: absolute;
    right: 15px;
    bottom: 15px;
}
.pop-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 5px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    z-index: 999;
    width: 100%;
       
}
.overflow-hidden {
    overflow: hidden !important;
}
.diretorio-item-caption {
    padding: 10px;
    background: #f4f4f4;
    color: #333;
    text-align: center
}
.diretorio-container {
    padding: 40px 0;
}
.contact-table td {
    padding: 10px;
    line-height: 120%;
}
.contact-table td:first-child {
    background: #f1f1f1
}

.bdadsi-pop-header {
    height: 80px;
    padding: 20px 0;
    background: #343434;
    color: #fff;
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    display: inline-block;
    margin-bottom: 20px;
}
.bdadsi-pop-header h2 {
    float: left;
    margin: 0;
    padding-top: 2px
}
.bdadsi-pop-header .pop-close {
    float: right;
}
.col-xs-4 {
    width: 33.33% !important;
}
.pop-sidebar aside {

}
.pop-sidebar aside h3 {
    background: #888000;
    color: #fff;
    padding: 10px 20px;
    margin-bottom: 5px;
    margin-top: 0;
}
.pop-sidebar .aside-content {
    background: #f4f4f4;
    padding: 15px 30px;
    margin-bottom: 15px;
    display: inline-block;
    width: 100%;
    word-break: break-all;
    word-wrap: break-word 
}
.bdadsi-btn {
    display: block;
    text-align: center;
    padding: 10px;
    background: #888000;
    color: #fff;
    border-radius: 4px;
}
.bdadsi-galeria-thumbnail {
    display: block;
    width: 20%;
    float: left;    
    margin: 0;
}
.bdadsi-galeria-thumbnail img {
    display: block;
    border: 3px transparent solid;
    margin: 0;
}
.adsi-bd-pages-menu li {
    padding-left: 15px; 
}
.adsi-bd-pages-menu li.parent0 {
    padding-left: 0 !important; 
}



/*SUBPAGES GRID*/
.dir-subpages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px;
}
.dir-subpages-item {
    display: flex;
    height: 450px;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}
.dir-subpages-item .image-overlay {
    display: none !important
}
.dir-subpages-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    filter: saturate(30%);
    transition: all 0.5s ease;
}
.dir-subpages-item:hover img {
    width: 110%;
    height: 110%;
    filter: saturate(100%);
}
.dir-subpages-item h3 {
    position: absolute;
    background: rgba(0,0,0,0.35);
    font-weight: 600;
    font-size: 1.5em;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0
    
}
/*SUBPAGES GRID ICONS*/
.dir-subpages-grid-icons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 30px;
}
.dir-subpages-item-icon {
    color: #3a5675;
    font-size: 50px;
    text-align: center;
    padding: 50px 30px;    
    border: 1px #f1f1f1 solid;
    border-radius: 10px;
    transition: all ease-in-out 0.5s      
}
.dir-subpages-item-icon path {
    transition: all ease-in-out 0.5s  
}
.dir-subpages-item-icon:hover {
    background-color: #3a5675;
    color: #ffffff;
    text-decoration: none     
}
.dir-subpages-item-icon:hover path {
    fill: #fff !important
}
.dir-subpages-item-icon h3 {
    margin-top: 15px
}

/*MENUBAR*/
.adsibd-menu-bar-icons {
    display: flex;
    flex-flow: row;
    justify-content: flex-end;
}
.adsibd-menu-bar-icons a {
    display: flex;
    padding: 15px 10px;
    font-size: 50px;
    transition: all ease-in-out 0.5s 
}
.adsibd-menu-bar-icons a:hover {
    background: #3a5675
}
.adsibd-menu-bar-icons a path {
    transition: all ease-in-out 0.5s  
}
.adsibd-menu-bar-icons a:hover path {
    fill: #fff !important
}

.bdadsi-entry-header {
    background: #f4f4f4;
    padding: 0;
}
.bdadsi-entry-header .row {
    margin-bottom: 0
}
.bdadsi-entry-header h1, .bdadsi-entry-header #adsi_diretorio_id {
    margin-bottom: 0
}
.bdadsi-page-title {
    padding: 20px 0 !important;
    line-height: 100%;
    font-size: 30px !important
        
}
/*ADSI BD GRID*/
.adsibd-grid {
    display: grid;
    grid-gap: 15px;
}

.adsibd-grid-item {
    min-height: 250px;
    color: #444;
    display: block;
    position: relative;
    width: 100%
}

.adsibd-grid-item img {
    object-fit: cover;
    min-width: 100%;
    min-height: 100%
}
.adsibd-grid-item-caption {
    position: absolute;
    width: 100%;
    bottom: 0;
    background: #fff;
    padding: 20px 40px 20px 20px;
    line-height: 160%;
    font-size: 0.9em
}

.adsibd-grid-item-caption:after {
    content: "\f054";  /* this is your text. You can also use UTF-8 character codes as I do here */
    font-family: FontAwesome;
    right:10px;
    position:absolute;
    top:20px;
 }

/*MODAL WINDOW*/
.diradsi-modal-header {
    display: grid;
    grid-template-columns: 1fr 100px;
    padding: 0 0 15px 0;
    border-bottom: 1px #f1f1f1 solid
}
.diradsi-modal-body {
    padding: 30px 0;
    font-size: 15px;
}
.diradsi-modal-body h1 {
    font-size: 21px
}
.diradsi-modal-body h3, .diradsi-modal-body h4  {
    font-size: 13px
}

.diradsi-modal-clode {
    display: flex;
    align-items: center;
    justify-content: end;
}
.diradsi-modal-clode a {
    padding: 10px;
    background: #888000;
    border-radius: 5px;
    color: #fff
}

/*MODAL WINDOW*/
 .blocker {
     z-index: 99999;
     background: #F5F5F5;
 }
 .modal {
     box-shadow: none;
     margin: 50px auto !important;
 }
 .close-modal {
     display: none
 }
 
 
@media only screen and (min-width: 769px) { 
.adsibd-grid-3 {
    grid-template-columns: 1fr 1fr 1fr
}
}

@media only screen and (max-width: 768px) {
    .adsi-modal-content {
   width: 100%;
   float: left;
   clear: both;
}
.adsi-modal-sidebar {
   width: 100%;
   float: left;
       clear: both;
    }
    .diradsi-modal-body {
        padding: 5px
    }
    .dir-subpages-grid-icons {
        grid-template-columns: 1fr;
    }
    .dir-subpages-grid {
        grid-template-columns: 1fr;
    }
    /*MENUBAR*/
    .bdadsi-entry-header {
        text-align: center
    }
    .adsibd-menu-bar-icons {
        justify-content: center;
    }
    .bdadsi-page-title {
        padding: 15px 0;
    }
}