header {
  margin-bottom: 12px;
  background-image: radial-gradient(#17842a 20%, #096318 80%);
  border-bottom: 1px solid #dbdbdb;
  padding: 20px 0 0px 0;
}

@media (max-width: 990px) {
  header .row-single .col-left {
    text-align: center;
  }
}

.sub-banner {
  font-size: 13px;
  float: right;
  margin: 0;
  padding: 0.44em 0;
  width: 100%;
  background: #00420c;
  margin-top: 20px;
}

.toggle-off-canvas {
  display: none;
}

@media (max-width: 990px) {
  .toggle-off-canvas {
    display: block;
    text-align: inherit;
    padding-left: 1rem;
  }
}

.sub-banner ul li:last-child {
  padding-right: 1.25em;
}

header a {
  color: white;
}
header .sub-banner a:hover {
  text-decoration: underline;
  color: white;
}

/*Acesso às redes sociais e ao portal do amin */
.flex-header {
  display: flex;
  justify-content: space-between;
}

.lista-icones ul {
  display: inline-block;
}

.lista-icones ul li a {
  display: block;
  width: 30px;
  height: 30px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}

.lista-icones ul li a:hover {
  opacity: 1;
}

.lista-icones img {
  vertical-align: inherit;
}

.lista-icones span {
  padding-top: 2px;
}

header .icones-header li a {
  font-size: 22px;
  line-height: 36px;
  white-space: nowrap;
  border-radius: 0.15em;
}

header .icones-header li a {
  transition: background-color 0.5s ease;
}

@media (max-width: 990px) {
  header .lista-icones {
    display: grid !important;
    width: 100%;
    padding-right: 30px;
    margin: 20px auto 0 auto;
    text-align: -webkit-center;
  }
}

header .high-contrast {
  border-bottom: 1px dotted white;
}

header .logo-ifc,
header .imagem-extra {
  height: 7.5em;
  margin-left: 2rem;
}

/* barra de busca */
header .busca {
  margin-bottom: 15px;
  width: 100%;
  padding: 10px;
}

header .search-form {
  width: 50%;
}

@media (max-width: 990px) {
  header .logo-ifc {
    height: auto;
    max-height: 7.5em;
    max-width: 100%;
  }
  header .imagem-extra {
    display: none;
  }
  header .search-form {
    width: 100%;
  }
  .flex-header {
    flex-direction: column;
  }
  header .busca {
    margin-top: 2em;
  }
  header .lista-icones {
    display: none;
  }
  header .sub-banner {
    margin-top: 0;
  }
}
header .lista-links-acessibilidade,
header .lista-acoes {
  display: inline-block;
}

header .lista-links-acessibilidade {
  font-size: 11px;
}

header .lista-links-acessibilidade li span {
  background: #9ed4ae;
  color: black;
  padding: 0 4px;
}

@media (max-width: 460px) {
  header .logo-ifc {
    height: auto;
    max-height: 7.5em;
    max-width: 70%;
  }
}

@media (min-width: 990px) {
  header .lista-icones {
    float: right;
  }
  header .lista-acoes {
    float: right;
  }
}

/* menu header*/
.menu-menu-header-container ul {
  list-style: none;
  padding: 3px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  font-size: 1em;
  margin-bottom: 0;
  padding-right: 12px;
}

.menu-menu-header-container ul li:last-child {
  padding-right: 0;
}

.menu-menu-header-container ul li:not(:last-child) {
  margin-right: 0.7em;
  border-right: 1px solid #2f5439;
  padding-right: 0.7em;
  width: auto;
}

@media (max-width: 460px) {
  .menu-menu-header-container ul {
    list-style: none;
    padding: 3px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    font-size: 1rem;
    margin-bottom: 0;
    padding-right: 12px;
  }
}
/*
.menu-menu-header-container ul li:first-child {
  height: 30px;
  flex-basis: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
  
  display: flex;
  align-items: center;

  background: white;
  border-radius: 10px;
}

.menu-menu-header-container ul li:first-child a{
  width: 100%;
  color: #000;
}*/

.menu-menu-header-container ul li:not(:last-child) {
  margin-right: 1rem;
  border-right: 1px solid #2f5439;
  padding-right: auto;
  width: auto;
}

/*fim menu header*/

.breadcrumbs p {
  text-transform: uppercase;
  font-size: 13px;
}

.breadcrumbs p a {
  color: #0373bd;
  font-size: 13px;
}

.breadcrumbs p a:hover {
  color: #025b97;
}

@media (max-width: 768px) {
  .breadcrumbs {
    width: 97%;
  }

  .breadcrumbs p {
    padding-left: 7px !important;
  }
}

#page-canvas {
  position: relative;
  overflow: hidden;
  width: 100%;
}

#page-content {
  left: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition: 0.3s ease all;
}

#page-canvas.active #page-content {
  left: 0;
}

#page-canvas.active #page-content .overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  content: "";
  opacity: 1;
  transition: opacity 0.5s;
  cursor: pointer;
  user-select: none;
}

#off-canvas-menu {
  width: 50%;
  left: -70%;
  height: 100%;
  position: fixed;
  top: 0;
  background: #ffffff;
  color: #fff;
  transform: translateX(0);
  z-index: 2000;
  transition: 0.3s ease all;
  overflow: auto;
}

.botao-menu-principal {
  padding: 0;
}

#off-canvas-menu ul {
  list-style: none;
  padding-left: 0;
}

#off-canvas-menu > ul > li > a {
  display: block;
  padding: 0.5em 1em;
  border-top: 0.22em #124b1a solid;
  background: #dfdfdf;
  color: #124b1a;
  font-size: 15px;
  cursor: pointer;
}

#off-canvas-menu ul ul li {
  padding-left: 1em;
  border-bottom: 0.1em solid #dfdfdf;
  margin-bottom: 0.5em;
  margin-top: 0.25em;
}

#off-canvas-menu ul ul li:last-child {
  border-bottom: 0;
}

#page-canvas.active #off-canvas-menu {
  left: 0;
}

#toggle-off-canvas {
  display: block;
}

.off-canvas-menu-title {
  font-size: 24px;
  text-align: center;
  padding: 10px 0 15px 0;
}

.off-canvas-menu > li > a {
  display: block;
  padding: 10px 5px;
  color: #fff;
  border-bottom: 1px solid #000;
}

.off-canvas-menu > li:first-child {
  border-top: 1px solid #000;
}

.off-canvas-menu > li a:hover {
  background-color: #555;
}

.off-canvas-sub-menu {
  background-color: #ddd;
}

.off-canvas-sub-menu li a {
  display: block;
  padding: 10px 15px;
  color: #444;
}

.off-canvas-sub-menu ul:last-child a {
  display: block;
  padding: 10px 15px 10px 30px;
  color: #444;
}

.off-canvas-sub-menu li a:hover {
  color: #fff;
}
