/* 
* ATOM - Template - TJRO
* Ajustes e Personalizações 
* Por Ariosto Nogueira, DIDESJUD/STIC.
* Agosto, 2022.
*/

/*-----------------------------------------------------------------------------*/

/* TOPO - PESQUISA E CONFIG */

#browse-menu>button, #user-menu>button {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    color: #fff;
    background-color: rgb(72 108 91 / 75%) !important;
    background-image: url(../images/white-arrow.png);    
}

#browse-menu>button:hover, #user-menu>button:hover {
    color: #083060;
    background-color: #fff !important;
    background-image: url(../images/gray-arrow.png);
}    

#search-bar #search-form-wrapper input {
    border: none;
    background-color: #fff;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    color: rgb(72 108 91 / 75%) !important;
    width: 100%;
    min-height: 0;
    margin-bottom: 0;
    padding: 0 8px;
    height: 25px;
}

#search-bar #search-form-wrapper button {
    background-color: rgb(72 108 91 / 75%) !important;
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

#quick-links-menu.open,
#language-menu.open,
#admin-menu.open,
#import-menu.open,
#manage-menu.open,
#add-menu.open,
#clipboard-menu.open,
#quick-links-menu > button:hover,
#language-menu > button:hover,
#admin-menu > button:hover,
#import-menu > button:hover,
#manage-menu > button:hover,
#add-menu > button:hover,
#clipboard-menu > button:hover,
#quick-links-menu > button:focus,
#language-menu > button:focus,
#admin-menu > button:focus,
#import-menu > button:focus,
#manage-menu > button:focus,
#add-menu > button:focus,
#clipboard-menu > button:focus {
    background-color: rgb(72 108 91 / 75%) !important;
}


@media (max-width: 979px) {
    nav {
      clear: both; 
      display: inline-block !important;      
    }
    #logo {
      float: none;
      text-align: center;
    }
    #search-bar {
      *zoom: 1;
      margin: 0 auto;
      padding: 0 20px;
      clear: both;
      display: inline-block;
    }
    #search-bar:before,
    #search-bar:after {
      display: table;
      content: "";
      line-height: 0;
    }
    #search-bar:after {
      clear: both;
    }
    #search-bar #search-form-wrapper {
      width: 80%;
      float: left;
    }
    #search-bar #search-form-wrapper form {
      width: auto;
      margin-right: 0;
    }
    #search-bar #search-form-wrapper input {
      display: block;
      width: 100%;
      min-height: 30px;
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
      min-height: 25px;
    }
    #search-bar #browse-menu {
      width: 20%;
    }
    #search-bar #browse-menu > a {
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
      width: 100%;
      margin-right: 0px;
      float: left;
    }
  }

  @media (max-width: 767px) {
    #top-bar{
        margin: 0;
        background: #1a3f6b !important;
        text-align: center;
        margin-bottom: 24px;

    }

    header #logo {
        float: none !important;
        margin: 0 !important;
        padding-top: 12px !important;
    }

    #search-bar {
        background-color: #1a3f6b !important;
        display: flex;
    }    

    #site-slogan {
        margin: 0;
        padding: 0 20px;
        height: inherit;
        white-space: inherit;
    }

  }

@media (max-width: 580px){
    #browse-menu {
        width: 30% !important;
    }

    #site-slogan {
        overflow: inherit !important;
    }


}

@media (max-width: 380px){
    #browse-menu {
        width: 40% !important;
    }

}

@media (max-width: 335px){
    #browse-menu {
        width: 55% !important;
    }

}

/* FIM TOPO - PESQUISA E CONFIG */

/*-----------------------------------------------------------------------------*/

/* TOPO - LOGO E TITULO */

header #logo {
    display: block;
    float: left;
    margin: 0 20px 0 8px;
    margin-right: 39px !important;
    margin-left: 46px !important;
}

#logo {
    margin-top: 51px !important;
}

#top-bar {
    height: 158px !important;
    background: url(../../../images/head.jpg) no-repeat #1a3f6b;
    background-color: #1a3f6b;
    width: 100%;
    padding-top: 0px;
    display: inline-block;
}

.top-dropdown-container .top-dropdown-body ul a:hover {
    color: #1a3f6b;
  }

/* FIM TOPO - LOGO E TITULO */

/*-----------------------------------------------------------------------------*/

/* MENU LATERAL */

#site-slogan {
    background-color: #083060;
    background-color: rgb(72 108 91 / 75%);
    text-align: center;
}

#site-slogan span {
    line-height: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px; 
    word-spacing: 4px;
    text-shadow: #0a1615 1px 1px 2px;
}

#sidebar{
    background-color: #1a3f6b;
    color: #fff;
    padding: 10px;    
}

#sidebar h2{
    text-transform: uppercase;
    background-color: rgb(72 108 91 / 75%);
    font-size: 10pt;
    font-weight: bold;
    padding-left: 12px;
    letter-spacing: 2px; 
    word-spacing: 2px;    
    text-shadow: #0a1615 2px 2px 2px;
}

#sidebar ul{
    color: #fff;
    margin-left: 12px !important;
}

#sidebar li {
    border-bottom: 1px solid #265e87;
    list-style-type: none;
     padding: 5px 0 5px 5px;     
}

#sidebar li a{
    color: #fff !important;
    font-size: 8pt;
    text-transform: uppercase;
    letter-spacing: 2px; 
    word-spacing: 2px;
    line-height: 16px;
}

#sidebar li:hover{
    color:#fff !important;
    background-color: rgb(72 108 91 / 75%);
}


.facet .facet-body {
    display: none;
    background-color: #1a3f6b;
    margin-bottom: 10px;
 }

.facet .facet-header a {
    color: #fff;
}

.facet.open .facet-header a {
    background-color: rgb(72 108 91 / 75%);
    color: #fff;
}

#treeview {
    background-color: #718993;
}

#treeview-menu li>a {
  color: #fff !important;
  background-color: #758e84;
}

#treeview .active {
    background-color: #718993;
}

#treeview .ancestor {
    background-color: #628b8b !important;
}

#treeview .more a {
    background-color: #425847;
    color: #fff;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

#treeview-header p {
    background-color: rgb(72 108 91 / 95%) !important;
    color: #fff;
}

/* FIM MENU LATERAL */

/*-----------------------------------------------------------------------------*/

/* CONTAINER */

#content {
    background-color: #fff;
    border: 1px solid rgb(72 108 91 / 25%);
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -webkit-box-shadow: 0 1px 1px rgb(0 0 0 / 20%);
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.2);
    box-shadow: 0 1px 1px rgb(0 0 0 / 20%);
}


.pagination ul {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
  }
  

  .pagination ul>li>a, .pagination ul>li>span {
    border: none;
    border-left: 2px solid #fff;
}


/* FIM CONTAINER */

/*-----------------------------------------------------------------------------*/
