/*body{
    border: 5px solid lime;
}*/

:root {
    --tema: #0079a3;
    --sombra: #8b8b8b;
}

main {
    width: 85vw;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

a {
    color: var(--tema);
}

.navbar-brand a.site-title {
    display: none;
}

.node__content .align-left {
    padding-right: 1rem;
}

.views-row:after {
    content: "";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

.view-content .card {
    box-shadow: 2px 2px 4px var(--sombra);
}

#block-deptsubtheme-page-title {
    color: var(--tema);
    display: flex;
    justify-content: center;
}

body:not(.front-page) #block-deptsubtheme-page-title {
    padding: 2rem 0;
}


/*--------------------------- regiao header --------------------*/

.region-header{
    background-image: url(../images/testeira7.jpg);
    background-repeat: no-repeat;
    background-position: center;
    margin-top: -0.7rem;
    height: 18rem;
}


#search-block-form{
    float: right;
    margin-top: 12rem;
}

.btn:last-child{
    background-color: var(--tema) ;
    border-color: var(--tema); /* talvez tenha que ser none mesmo */
}

.btn:last-child:hover{
    background-color: #026282;
}


/*---------------------------- menu superfish ---------------------*/

/*------ correcao dos bullets em seta ------*/
ul.sf-menu .sf-sub-indicator {
    height: 15px;
    top: 42%;
}

.navbar {
    display: grid;
    justify-content: center;
    background-color: var(--tema);
    height: 3.5rem;
}

.navbar a {
    text-decoration: none;
}

ul.sf-menu span.nolink {
    padding-right: 3em;
}


ul.sf-menu.menu a, .nolink {
    display: grid;
    background-color: var(--tema)!important;
    color: #fff !important;
}

div.sf-accordion-toggle.sf-style-white a, div.sf-accordion-toggle.sf-style-white a.sf-expanded,
    ul.sf-menu.sf-style-white span.nolink, ul.sf-menu.sf-style-white a:visited {
    background-color: var(--tema)!important;
    color: #fff !important;
    border: none;
}


ul.sf-menu.sf-style-white li:hover, ul.sf-menu.sf-style-white li.sfHover, ul.sf-menu.sf-style-white a:focus,
    ul.sf-menu.sf-style-white a:hover, ul.sf-menu.sf-style-white span.nolink:hover {
    background: #ffffff !important;
    color: var(--tema) !important;
    outline: 0;
}


/*------------------------------ slide ------------------------------*/

.view-featured-1{
    margin-bottom: 3rem;
}

.carousel-caption a {
    color: #fff;
    text-shadow: 2px 2px 2px #000;
    font-size: 1.5rem;
    text-decoration: none;
}


.carousel-caption a:hover {
    padding: 10px;
    background-color: #0079a388;
}

.titleSlide{
    text-align: center;
    padding-bottom: 1.5rem;
}

.carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 20px;
    height: 20px;
    padding: 0;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #fff;
    background-clip: padding-box;
    border: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    transition: opacity .6s ease;
    border-radius: 50%;
}

.carousel-dark .carousel-indicators [data-bs-target] {
	background-color: #fff;
}

/*------------------------- breadcrumb -------------------------*/
.breadcrumb{
    padding-top: 2rem;
}

/*------------------------ bloco destaques --------------------------------*/

.view-destaque{
    margin-bottom: 2.5rem;
}


.view-destaque .card-header{
    background-color: var(--tema);
}

.view-destaque .card{
    border: none;
}


.view-destaque .view-content a{
    color: #fff ;
    padding-bottom: 0.5rem;
    text-decoration: none;
}

.field--name-field-link-destaque{
    padding: 2rem 0;
}


/*-------------------------Bloco-View Noticias----------------------------------*/

.region-highlighted{
    box-shadow: 2px 2px 4px var(--sombra);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem , 1fr));
    margin-bottom: 3rem;
}


.views-field-field-featured2-imagem, .field--name-field-featured2-imagem {
    display: grid;
    justify-content: center;
    grid-area: imagem;
    padding-bottom: 1rem;
}


.view-display-id-bloco_featured_2_1 {
    padding: 0 1rem;

}


#block-bloco-featured-2-1 h2 {
  background-color: var(--tema);
  text-align: center;
  color: var(--bs-white);
  margin-top: -3rem;
  width: 85vw;
}

.bloco-featured-2-1 .card-body .text-align-justify {
    max-width: 700px;
}

#block-bloco-featured-2-1 .views-field-field-featured2-imagem img {
    display: block;
    float: left;
}


#block-bloco-featured-2-1 .view-content .card-body {
    margin-top: 1rem;
}


#block-bloco-featured-2-1 .card, .view-display-id-bloco_featured_2_2 .card{
    box-shadow: none;
}


.views-row:after {
    content: "";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}


.views-field-field-featured2-imagem img {
    margin-bottom: 1rem;
    object-fit: cover;
}


#block-bloco-featured-2-2 a, #block-bloco-featured-2-1 a, .view-display-id-bloco_featured_2_1 a{
    text-decoration: none;
}


.view-display-id-bloco_featured_2_2 .view-footer p a{
    float: right;
    padding: 1rem;
}


#block-bloco-featured-2-1 h2{
    background-color: var(--tema) ;
    text-align: center;
    color: #fff;
    margin-top: -3rem;
    min-width: 70vw;
}


.page-featured-2 .view-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 30rem));
    column-gap: 2rem;
    row-gap: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    justify-items: center;
    justify-content: center;
}


.page-featured-2 .views-row{
    box-shadow: 2px 2px 4px var(--sombra);
}


.page-featured-2 .views-field-field-featured2-body{
    padding: 0 1rem;
    font-size: 0.9rem;
}


.page-featured-2 a:hover{
    text-decoration: underline;
}


.page-featured-2 h2, .page-featured-2 h5{
    padding: 1rem;
}


.page-featured-2 .more-link{
    padding-bottom: 1rem;
}


.field--name-field-videos::before {
    display: none;
    /*content: "Videos:";
    padding-right: 1rem;
    color: var(--tema);*/
}


.field--name-field-videos {
    margin-top: 4rem;
    margin-bottom: 2rem;
    padding-top: 4rem;
    padding-bottom: 2rem;
    border-top: 1px dotted var(--tema);
    border-bottom: 1px dotted var(--tema);
    display: flex;
    column-gap: 1rem;
    row-gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}


.field--name-field-midia-imagens {
    display: flex;
    column-gap: 1rem;
    row-gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}


.field--name-field-featured2-link{
    padding: 1rem 0 0 0;
}


#cboxTitle{
    background-color: var(--tema);
    color: #fff;
}


#cboxCurrent{
    color: var(--tema);
}


/* ----------------------- Lateral --------------------------------------*/

/* regra para sites de referencia */
.path-sites-de-referencia .view-content .views-row:not(:last-child) {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #cacaca;
}

#block-deptsubtheme-views-block-who-s-online-who-s-online-block {
    padding: 2rem 0 0 1rem;

    h2 {
        font-size: .9rem;
        color: var(--tema);
        font-weight: bold;
    }

}


/* ---------------------- Banner --------------------------------------- */

.level-menu{
    padding-left: 1rem;
}


.region-sidebar-second {
    margin: -3rem 0 0 1rem;
    padding: 0;
    height: 100%;
}
.view-id-banner .view-content {
    margin-top: 10px;
}

.view-id-banner .view-header {
    display: flex;
    justify-content: center;
    color: #fff;
    background-color: var(--tema);
}

.view-id-banner .views-row {
    padding: 2rem 0;
}



.views-field-field-imagem-banner {
    box-shadow: 2px 2px 4px var(--sombra);
    margin: 1rem;
}

.view-id-banner p a {
    text-decoration: none;
}

.view-id-banner .view-header h4 {
    font-size: 1.4rem;
    padding-top: 4px;
}

#block-deptsubtheme-menulateral-2{
    display: grid;
    justify-content: center;
    background-color: var(--tema);
}

#block-deptsubtheme-menulateral-2:hover{
    background-color: var(--tema);
}

/* -----------------------Bloco-View Eventos ----------------------------------*/

.view-display-id-bloco_featured_3{
    padding-bottom: 3rem;
}


.view-display-id-page_featured_3 .card{
    border: none;
}

.view-display-id-bloco_featured_3 .card{
    border: none;
}


.view-display-id-bloco_featured_3 .view-header a{
    display: flex;
    justify-content: right;
    margin-right: 10px;
    text-decoration: none;
}

.field--name-title{
    color: var(--tema);
    display: flex;
    justify-content: center;
    padding: 2rem 0;
    font-weight: normal;
}
#block-deptsubtheme-page-title {
    display: flex;
    justify-content: center;
}

#block-bloco-featured-3 h2{
    background-color: var(--tema) ;
    color: #fff;
    text-align: center;
}


.card-text a, .card-body h6{
    text-decoration: none;
    color: var(--tema);
}

.card-text a:hover {
    text-decoration: underline;
}


.view-display-id-bloco_featured_3 .views-field-title h3 {
    font-size: 1.2em;
}


.view-display-id-bloco_featured_3 .field-content h3 a {
    text-decoration: none;
}

.view-display-id-bloco_featured_3 .field-content h3 a:hover {
    text-decoration: underline;
}

.field--name-field-featured3-body, .field--name-field-featured3-link{
    padding: 2rem;
}

.field--name-field-featured3-imagem{
    display: flex;
    justify-content: center;
}


/*------------------------------ Footer --------------------------------*/

footer {
    display: grid;
    justify-content: center;
    background-color: var(--tema) ;
    font-size: 0.8rem;

    .region-footer .navbar-nav {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      flex-direction: row;
      column-gap: 2rem;
      row-gap: 5rem;
      border-bottom: 1px dashed #fff;
      padding: 2rem 1rem;
      max-width: 85vw;
      margin: 0 auto;

      & ul {
          list-style-type: none;
          padding: 0;
      }

      & > .nav-item > .nav-link {
          font-size: 0.85rem;
          font-weight: bold;
      }

      & > .nav-item > ul > .nav-item > .dropdown-item:after {
          content: "▼"; /* Down arrow */
          font-size: 0.6rem;
          margin-left: 0.3rem;
          vertical-align: middle;
      }

      & ul ul > .nav-item > .nav-link:before {
          content: "•"; /* Bullet */
          margin-right: 0.3rem;
      }
    }
}

#block-deptsubtheme-menufooter .is-active{
    color: lime;
}


#block-deptsubtheme-enderecofooter{
    display: grid;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: #fff;
    border-bottom: 1px dashed #fff;
}


#block-deptsubtheme-logos ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    column-gap: 2rem;
    place-items: center;
    flex-flow: row wrap;
    list-style: none;
    flex-basis: auto;
    padding: 2rem;
    border-bottom: 1px dashed #fff;
}


#block-deptsubtheme-logos li:nth-child(3) {
    padding-right: 10rem;
}

#block-deptsubtheme-politicadeacesso {
    display: flex;
    justify-content: center;
    padding-top: 3rem;
    color: var(--bs-white);
}
#block-deptsubtheme-politicadeacesso a {
  text-decoration: underline;
}
#block-deptsubtheme-politicadeacesso a:hover {
  background-color: #fff;
  color: var(--tema);
}
footer.footer-dark .navbar-nav a:hover {
  background-color: #f8f9fa;
  color: var(--tema);
}

#block-deptsubtheme-logos li:nth-child(6) {
    min-width: 58px;
}


/* verificar nome melhor para tema e diferenciar os a:hover do bloco de notícias da home */


/*-------------------- Inicio Quem somos -----------------------*/

.body-quemsomos{
    display: grid;
    justify-content: center;
    max-width: auto;
    padding: 2% 8%;
}

/*-------------------- Inicio secoes do site  -----------------------*/

.view-taxonomy-secoes-do-site .view-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 30rem));
    column-gap: 2rem;
    row-gap: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    justify-items: center;
    justify-content: center;
}

.view-taxonomy-secoes-do-site .views-row {
    box-shadow: 2px 2px 4px var(--sombra);
}

.view-taxonomy-secoes-do-site h5 {
    padding: 1rem;
    font-size: 1.25rem;
}

.view-taxonomy-secoes-do-site a {
    text-decoration: none;
}

.view-taxonomy-secoes-do-site a:hover {
    text-decoration: underline;
}

.node__content .field--type-entity-reference {
    text-align: center;
    padding: 1rem;
}

/*-------------------- fim secoes do site -----------------------*/


/* -------------------------MEDIAS --------------------------------*/

/* ----------------------Media Noticias -----------------------*/

@media (max-width: 768px){
    .region-highlighted{
        display: inline-block;
        justify-content: center;
    }
}

@media (max-width: 768px){
    .view-display-id-bloco_featured_2_2 .views-row{
        display: inline-block;
        justify-content: center;
    }
}


/*-----------------------Media Banner--------------------------------*/

@media (max-width: 768px){
    .view-id-banner{
        margin-top: 2rem;
    }
}


/* ---------------------- Media menu lateral--------------------*/

@media (min-width: 992px){
    .col-lg-9 {
        flex: 0 0 auto;
        width: 82%;
    }
}
@media (min-width: 992px){
    .col-lg-3 {
        flex: 0 0 auto;
        width: 18%;
    }
}

@media screen and (max-width: 1220px) {
    .region-sidebar-second {
        display: grid;
        justify-content: center;
        width: 100%;
        height: auto;
        position: relative;
    }
    .region-sidebar-second a {
        float: left;
    }
    div.content {
        margin-left: 0;
    }
}


@media screen and (max-width: 768px) {
    .region-sidebar-second a {
        text-align: center;
        float: none;
    }
}

/*---------------------Media Menu footer ------------------------------*/

@media screen and (max-width: 992px) {
    #block-deptsubtheme-menu-footer{
        display: none;
    }
}
