body.undernavigation {
    overflow-x: hidden;
    padding-top: 0px;
}


a {
    color: black;
    text-decoration: none;
}

a:active {
    color:#428bca;
}

a:visited {
    color:#708090;
}

a:hover {
    text-decoration:none;
}


.row {
    display: block;
}


/* ocultar jumbotron */

.jumbotron {
    display:none;
}

/*ocultar divs busca facetada e comunidades 

.container.row {
    display: none;
}

*/

.container.row > .col-md-4 {
    display: none;
}

.col-md-8 > #facets.facetsBox.row.panel {
    display: none;
}

.col-md-8 > h3.facets {
    display: none;
}


#content {
    padding-bottom: 60px;
    width: 100%;
}

/* menus laterais busca facetada */

.panel-success {
    border-color: #f19f4d;
}

.panel-success>.panel-heading {
    color: black;
    border-color:#f19f4d;
    background-image: linear-gradient(to bottom, #f19f4d 0, #f19f4d 100%);
}


/* cor dos carets */
.nav .caret {
    border-top-color: black;
}


/* menu hambuguer */

.navbar-toggle {
    background-color: #808080;
}

span.icon-bar {
    background-color: #FFFFFF;
}

.navbar-inverse .navbar-toggle {
    border-color:#4484ce;
    background-color:#4484ce;

}

.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
    background-color: #72b9f8;

}



/* buscador */

.background-main-ri {
    background-image:url('/image/mata-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 360px;
    margin-top: -20px;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(2px 4px 6px black);
}

.buscador {
    display:flex;
    flex-direction: column;
    max-width: 570px;
}


.nav {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    display: inline-block;
}



.navbar-form {
    padding: 0;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    -webkit-box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%), 0 1px 0 rgb(255 255 255 / 10%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%), 0 1px 0 rgb(255 255 255 / 10%);
    opacity: 0.8;
}


.form-control {
    padding: 6px 12px;
    font-size: 18px;
    line-height: 1.428571429;
    color: black;
    vertical-align: middle;
    background-color: #fff;
    border: 1px solid #ccc;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;

}

.form-control-search {
    height: 50px;
    width: 500px;
    box-sizing: border-box;
    border: 1px solid #D9D9D9;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 10px 0px 0px 10px;
    display: inline-block;
}



.btn {
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.428571429;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.btn-primary {
    background-image: -webkit-gradient(linear,left 0,left 100%,from(#428bca),to(#3071a9));
    background-image: -webkit-linear-gradient(top,#428bca,0%,#3071a9,100%);
    background-image: -moz-linear-gradient(top,#428bca 0,#3071a9 100%);
    background-image: linear-gradient(to bottom,#428bca 0,#3071a9 100%);
    background-repeat: repeat-x;
    border-color: #F19F4D;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca',endColorstr='#ff3071a9',GradientType=0);
    background: #F19F4D;
    justify-content:left;
}

.btn-primary-search {
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 0px 10px 10px 0px;
    height: 50px;
    width: 50px;
    display: inline-block;
}


.advanced-search {
    color: white;
    font-size: 14px;
    font-family: Helvetica, sans-serif;
    text-decoration: none;
    display: flex;
    justify-content: flex-end;
}

.advanced-search:hover {
    color:orange;
    
}

a.advanced-search:visited {
    color:lightgrey;
}

.glyphicon-search:before {
    font-size: 25px;
    content: "\e003";

}

.glyphicon-adjust {
	content: "\e063";
}




/* div comunidades */

.box {
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    grid-gap: 50px;
    justify-content:center;
    justify-items: center;
    align-items: flex-end;
}

#headline {
    flex:1 100%;
    text-align: center;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 26px;
    line-height: 35px;
    color: #000000;
    padding-top: 10px;
}    


.comunidade {
    display:grid;
    font-size: 14px;
    color: #fff;
    font-family: sans-serif;
    padding: 0px;
    border-radius: 10px;
    box-shadow: 0 4px 5px 0 rgba(0,0,0,0.14), 0 1px 10px 0 rgba(0,0,0,0.12), 0 2px 4px -1px rgba(0,0,0,0.3);
    align-items:flex-end;
}


.comunidade-1 {
    display:grid;
    background-image: url('/image/sede-div.jpg');
    background-size: cover;
    width: 215px;
    height: 215px;
    align-items:flex-end;
    cursor: pointer;
}

.comunidade-2 {
    display:grid;
    background-image: url('/image/uabj-div.jpeg');
    background-size: cover;
    width: 215px;
    height: 215px;
    align-items:flex-end;
    cursor: pointer;
}

.comunidade-3 {
    display:grid;
    background-image: url('/image/eadtec-div.jpeg');
    background-size: cover;
    width: 215px;
    height: 215px;
    align-items:flex-end;
    cursor: pointer;
}

.comunidade-4 {
    display:grid;
    background-image: url('/image/uast-div.jpg');
    background-size: cover;
    width: 215px;
    height: 215px;
    align-items:flex-end;
    cursor: pointer;
}

.comunidade-5 {
    display:grid;
    background-image: url('/image/uacsa-div.jpg');
    background-size: cover;
    width: 215px;
    height: 215px;
    align-items:flex-end;
    cursor: pointer;
}

.comunidade-6 {
    display:grid;
    background-image: url('/image/memoria-div.jpg');
    background-size: cover;
    width: 215px;
    height: 215px;
    align-items:flex-end;
    cursor: pointer;
}

.comunidade-7 {
    display:grid;
    background-image: url('/image/uag-div.jpg');
    background-size: cover;
    width: 215px;
    height: 215px;
    align-items:flex-end;
    cursor: pointer;
}


.legenda {
    display:grid;
    align-items:flex-end;
    max-height:70px;
    padding: 20px;
    border-radius: 0px 0px 10px 10px;
}

.comunidade.legenda {
    background-color: rgba(68, 132, 206, 0.6);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    color: #FFFFFF;
}

.comunidade.legenda a {
    text-decoration: none;
    color: white;
}

.fadein {
    opacity:0.7;
    transition: 1s ease;
}
    
.fadein:hover{
    opacity:1;
    transition: 1s ease;
}


/* footer */

.navbar-inverse {
    background-image: linear-gradient(to bottom,#777777 0,#777777 100%);
    height: 210px;
    border:none;
    border-radius:unset;
    width:100%;
}

/* tentar aplicar nesta se necessário 
.navbar.navbar-inverse.navbar-bottom {
*/


.footer-class {
    background:#777777;
    height: 208px;
    width:100%;
}

.rodape {
    padding-top: 50px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    padding-bottom: 40px;
    display:flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: #1B2D4F;
    align-items: center;
}

.link-contato {
    color: white;
}

.box-img {
    float: left;
    width: 50%;
    width: 220px;
}

.logos {
    display:flex;
    align-items: center;
    justify-content: space-around;
    width: 220px;
}

.text-muted ul li {
    font-family: Helvetica, sans-serif, Arial;
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 20px;
    color: white;
    text-decoration: none;
    text-align:right;
    list-style-type: none;
}


/* estatisticas botao */

a.statisticsLink.btn.btn-info {
    background: #428bca;
    color: white;
}


/* barra de navegação */
.navbar-nav {
        margin: 30px 0 0 0;
}

/* bordas comunidades */

.well {
    background-image: linear-gradient(to bottom,#d9d9d9 0,white 100%);
    border-radius: 15px;
}

/* botao assinar */

input.btn.btn-sm.btn-info {
    background: #F19F4D;
}

/* botao entrar login */

input.btn.btn-success.pull-right {
    background: #f19f4d;
}

/* login */

.navbar-static-top, .navbar-fixed-top, .navbar-fixed-bottom {
    background:whitesmoke;
}

header.navbar.navbar-inverse.navbar-fixed-top {
    background: whitesmoke;
}

.navbar-inverse .navbar-nav>li>a {
    color: black;
}

.navbar-inverse .navbar-nav>.open>a, .navbar-inverse .navbar-nav>.open>a:hover, .navbar-inverse .navbar-nav>.open>a:focus {
    color: black;
    background-color: #428bca;
}

.navbar-inverse .navbar-nav>.open>a .caret, .navbar-inverse .navbar-nav>.open>a:hover .caret, .navbar-inverse .navbar-nav>.open>a:focus .caret {
    border-top-color: black;
    border-bottom-color: #fff;
}

/* footer login */

footer.navbar.navbar-inverse.navbar-bottom {
    background: #1B2D4F;
}

footer.navbar.navbar-inverse.navbar-bottom.rodape {
    display: flex;
    justify-content: space-around;
}

/*alto contraste */

.corLabel {
    color: #fff;
}



@media screen and (max-width: 768px){
    form.navbar-form.navbar-right {
        display: flex;
        justify-content: center;
    }
    .navbar-form {
        display:flex;
        padding:10px;
        margin-bottom: 0;
    }
    .buscador {
        width: 300px;
    }
    .form-control-search{
        width:220px;
        height:45px;
    }
    .btn-primary-search {
        height:45px;
        width:45px;
    }
    .glyphicon-search:before {
        font-size: 20px;
    }
    .adv-search .advanced-search {
        display:flex;
        justify-content: center;
    }
    .box{
        display:flex;
        flex-direction: column;
        align-items: center;
    }
    .comunidade {
        margin-bottom:10px;
        height: 215px;
    }
    .comunidade.legenda {
        display:flex;
        align-items:center;
        margin-bottom:0px;
        height:10px;
    }
    .logos {
        display:flex;
        flex-direction: column;
        width: auto;
    }
    img.img-ufrpe {
        width: 100%;
        margin-bottom: 10px;
    }
    img.ibict {
        width: 80%;
        margin-bottom: 10px;
    }
    img.sib {
        width: 50%;
    }
    .container.menu {
        display: block;
    }
    select#tlocation {
        width: 180px;
    }
    input#query {
        width: 280px;
    }
    input#filterquery {
        width: 180px;
    }
    img.media-object.img-responsive {
        display: none;
    }

}

@media screen and (min-width: 992px) {
    .col-md-4 {
        width: 100%;
    }
}

