@media (min-width: 1440px) {

  .container,
  .front_news_title,
  .feedback-new-message-title, .feedback-new-message-form,
  .feedback-custom-text .form-tooltip > *,
  .feedback-custom-text .faq > *,
  #content .news_list_container,
  #content .albums_list_container,
  .pages_list_container {
    width: 1420px;
  }

  #map {
    width: 100%;
  }

  .media-section .container,
  .fixed-menus > .container,
  .footer .container {
    width: 940px;
  }

  .flexslider .flex-caption-inner,
  .front_news_title,
  .event_list_title,
  .link_to_all,
  .front_news_component #news,
  .subsite_front_news_component .list,
  .header .menu-bar,
  .header .menu-bar.fixed .menu_component,
  .breadcrumb_component ul,
  .breadcrumb_component ol,
  .simple-section,
  .news-show, .page-show, .event-show,
  #content .news-list.grid .search-results,
  .pages_list_container .search-results {
    max-width: 1420px;
  }

  .front_news_component #news {
    grid-template-columns: 300px 300px 300px 300px;
    grid-column-gap: 74px;
  }
  .subsite_front_news_component .list {
    grid-template-columns: 220px 220px 220px 220px 220px 220px;
  }
  .main-links .links {
    grid-template-columns: 220px 220px 220px 220px 220px 220px;
  }

  .event_list_component #events li {
    max-width: 360px;
  }
}

/* Media Queries */
@media (max-width: 980px) {
  header .logo { margin-left: 20px; }
  .header .menu-bar { padding-right: 20px; }

  .front_news_component #news {
    grid-template-columns: 300px 300px;
  }
  .subsite_front_news_component .list {
    grid-template-columns: 220px 220px 220px;
  }
  .main-links .links {
    grid-template-columns: 220px 220px 220px;
  }
  .services .services-icons {
    grid-template-columns: 140px 140px 140px 140px;
  }
  .about-home .about-row p {
    margin-right: 0;
  }
  .link_to_all {
    padding: 0 34px;
    box-sizing: border-box;
  }
  .event-lists .container {
    display: block;
  }
  .event_list_component #events li {
    /*max-width: 50%;*/
    &:nth-child(n+9) {
      display: none;
    }
  }
  .event_list_component #events {
    grid-template-columns: repeat(2, 300px);
    grid-template-rows: repeat(4, auto);
    justify-content: center;
    &.empty {
      padding-top: 30px;
    }
  }
}

@media (max-width: 768px) {
  .header .menu-bar {
    justify-content: flex-end;
    align-items: center;
  }
  .header .menu_component {
    color: var(--white);
  }
  .menu-mobile {
    display: flex;
  }

  body > header {
    .menu-bar {

      .search_box_component {
        position: absolute;

        &.open {
          [name=search]#search {
            width: 100%;
            background-color: var(--white);
            border-radius: 0;
          }
        }
      }

      .search-toggle {
        display: none;
        top: calc(140px + 30px);
        position: absolute;
        right: 50%;
        button {
          transform: translate(50%, -50%);
          background-image: asset-url('level3/search-white.svg');
        }
      }


      &.mob-open {
        .search_box_component {
          top: 140px;
          left: 0;
          height: 60px;
          margin-left: 0;
          width: 100% !important;
          background-color: var(--sub-color);
          z-index: 2;
        }

        .search-toggle {
          display: block;
          &.open {
            right: 20px;
          }
        }

        .menu_component {
          display: block;
          position: absolute;
          left: 0;
          top: 200px;
          width: 100%;
        }
      }
    }

    &.fixed {
      .menu-bar.mob-open {
        .search_box_component {
          top: 108px;
        }

        .search-toggle {
          top: calc(108px + 30px);
        }

        .menu_component {
          top: 168px;
        }
      }
    }
  }

  .header .menu_component>.menu-res {
    display: block;
  }
  .header .menu_component .menu-res > li.sub > a {
    margin-right: 70px;
  }
  .header .menu_component > .menu-res > li > a {
    padding-top: 19px;
    padding-bottom: 20px;
  }
  .header .menu_component>.menu-res>li.sub>a:after {
    right: -60px;
    background-image: asset-url('level3/expand-more-white.png');
  }
  .menu-bar .menu_component {
    display: none;
    background-color: var(--main-color);
    z-index: 4;
  }
  .header .menu-bar.fixed .menu_component .menu-res {
    padding-left: 0;
  }

  .menu-bar.mob-open .menu_component .menu-res.submenu > li {
    color: var(--white);
  }
  .menu-bar.mob-open.fixed .menu_component .menu-res.submenu > li {
    color: inherit;
  }
  .menu-bar.mob-open .menu-handle .icon {
    background-image: asset-url('level3/ic-fechar.svg');
    background-position: center;
  }
  .header .menu_component>.menu-res>li.sub>.submenu {
    width: 100%;
  }
  .header .menu_component .menu-res.submenu {
    background-color: transparent;
    box-shadow: none;
    position: static;
    left: 0;
    transform: none;
    margin-left: 25px;
    color: var(--white);

    > li.sub > a:after {
      background-image: asset-url('level3/expand-more-white.png');
    }
  }
  .dock-container {
    display: none;
  }
  .slider, .flexslider .slides img {
    height: 300px;
  }
  .flexslider .flex-caption {
    height: 84px;
  }
  .front_news_title, .event_list_title, .fixed-menus h3 {
    text-align: center;
  }
  .link_to_all {
    position: relative;
    left: 0;
    top: -130px;
    transform: none;
    text-align: center;
  }
  .event_list_component .link_to_all {
    top: -70px;
  }
  .subsite_front_news_component .link_to_all {
    top: -100px;
  }
  .front_news_component #news {
    grid-template-columns: 300px;
  }
  .subsite_front_news_component .list {
    grid-template-columns: 220px 220px;
  }
  .main-links .text_component {
    text-align: center;
  }
  .main-links .links {
    grid-template-columns: 220px 220px;
  }
  .services .text_component {
    text-align: center;
  }
  .services .services-icons {
    grid-template-columns: 140px 140px 140px;
  }
  .services .btn {
    position: static;
  }
  .maps .address .container {
    display: block;
  }
  .maps .address .container > div {
    margin-bottom: 20px;
  }
  .feedback-new-message-title {
    text-align: center;
  }
}

@media (max-width: 625px) {
  .header .logo {
    margin-right: 13px;
  }

  .header .ufg-logo {
    margin-right: 20px;
  }
  .event_list_component #events {
    display: block;
  }

  .event_list_component #events li {
    max-width: 100%;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .slider, .flexslider .slides img {
    height: 180px;
  }
  .flex-direction-nav li a {
    width: 52px;
    height: 52px;
    background-size: 52px 52px;
  }
  .front_news_component, .fixed-menus, .boxes-section, .main-links {
    padding-top: 60px;
  }
  .banner_list_component + .front_news_component {
    padding-top: 110px;
  }
  .front_news_component #news, .subsite_front_news_component .list {
    padding-bottom: 60px;
  }
  .front_news_title a, .front_news_title span, .event_list_title a, .event_list_title span,
  .fixed-menus h3, .main-links .text_component {
    font-size: 1.6em;
  }
  .subsite_front_news_component .list {
    grid-template-columns: 220px;
  }
  .subsite_front_news_component .list>li:first-child {
    grid-column: span 1;
    padding-top: 144px;
  }
  .subsite_front_news_component .list>li:first-child article .news-image img {
    width: 220px !important;
    height: 160px;
  }
  .subsite_front_news_component .list>li:first-child article .front_news_label {
    top: calc(144px + 14px);
  }
  .boxes-section {
    padding-bottom: 0;
  }
  .link_to_all {
    top: -60px;
  }
  .main-links .links {
    grid-template-columns: 220px;
  }
  .main-links .text_component {
    margin-bottom: 20px;
  }
  .services .services-icons {
    grid-template-columns: 140px 140px;
  }
  .footer .container:not(:first-child) {
    display: block;
  }
  .footer .container:first-child {
    justify-content: center;
  }
  .footer .ufg-logo, .footer .logo {
    text-align: center;
    flex: 0;
  }
  .footer .social-icons {
    justify-content: center;
    margin-top: 20px;
  }
  .footer .address {
    text-align: center;
  }
  .footer .menu_component {
    text-align: center;
    margin: 60px auto 0;
  }
  .social-toggle {
    display: flex;
    z-index: 6;
  }
  .menu_accessibility_component.bar .direct-access {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
  }
  .social-buttons {
    flex-wrap: wrap;
    .wtsp-share {
      flex: 0 0 100%;
      margin-top: 22px;
    }
  }
  .header {
    height: 108px;

    .container {
      position: relative;
    }
  }
  body > header {
    .menu-bar.mob-open {
      .search_box_component {
        top: 108px;
      }
      .search-toggle {
        top: calc(108px + 30px);
      }
      .menu_component {
        top: 168px;
      }
    }
  }
  .header .ufg-logo img, body > header.fixed .ufg-logo img {
    height: 42px;
  }
  .header .logo img, body > header.fixed .logo img {
    height: 30px;
  }

  body > header {

    .social-icons {
      opacity: 0;
      pointer-events: none;
      position: absolute;
      top: 100%;
      bottom: auto;
      width: 100%; /*280px;*/
      padding: 80px 30px 0;
      border-radius: 2px;
      box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
      background-color: var(--white);
      z-index: 5;
      display: flex;
      transition: .2s;
      justify-content: space-evenly;
      flex-wrap: wrap;

      &.open {
        opacity: 1;
        pointer-events: auto;
      }

      &:before {
        content: 'REDES SOCIAIS';
        font-family: Lato;
        font-size: 0.8em;
        font-weight: normal;
        font-style: normal;
        font-stretch: normal;
        line-height: normal;
        letter-spacing: normal;
        color: var(--grey);
        position: absolute;
        width: 100%;
        text-align: center;
        top: 30px;
        background-image: asset-url('level3/expand-more-inv.svg');
        background-repeat: no-repeat;
        background-position-x: calc(50% - 75px);
      }

      .social-icon {
        margin: 0 10px 30px;
        box-shadow: none;
      }
    }
  }
}
