/* PAGINA HOME */

@media(max-width: 992px) {
    .news_btns_next_prev_desktop {
        display: none;
    }
    .carousel_news_mobile {
        display: flex;
        align-items: center;
    }
    .news_btns_next_prev_mobile {
        display: block;
    }
}

@media(min-width: 993px) {
    .news_btns_next_prev_mobile {
        display: none;
    }
    .news_btn_mobile {
        display: none;
    }
}

/* FINISH PAGINA HOME

/* PAGINA NOTICIA - EVENTO  */

.container_text_news_events {
    padding: 0 5%;
    padding-bottom: 150px;
}

.excerpt_news_events {
    font-size: 16px;
    margin-bottom: 75px;
    margin-top: 45px;
}

.text_news_events p {
    color: #221E1F;
}

/* FINISH PAGINA NOTICIA - EVENTO  */

/* PAGINA PORTFOLIO INSIDE */

.company_header {
    position: absolute;
    height: 65%;
    width: 100%;
    bottom: 0;
    background-color: #00000057;
}

.company_header .titulo_seccao {
    text-align: left;
    color: #fff;
}

.company_header > .titulo_seccao {
    font-size: 50px;
    margin-left: 60px;
}


.company_header .border_tituloprograms {
    margin-left: 60px;
}

.contiudo_company_header {
    color: #fff;
}

.contiudo_company_header img {
    width: 100%;
}

.contiudo_company_header .col-md-4 {
    margin-top: 50px;
}

.contiudo_company_header .col-md-4 p {
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
}

.contiudo_company_header p {
    font-weight: 300;
}

.contiudo_company_header .col-md-4 p:last-child {
    margin-top: 0;
    text-align: left;
    font-size: 30px;
    font-weight: 300;
}

.contiudo_company_header .col-md-8 .col-md-6 p {
    font-size: 23px;
}

.contiudo_company_header .col-md-8 p {
    padding-left: 20px;
}

/* OVERVIEW */

.row_overview_portfolio,
.row_innovation,
.row_contacts {
    text-align: center;
}

.row_overview_portfolio .content_box_portfolio_inside,
.row_innovation .content_box_portfolio_inside,
.row_contacts .content_box_portfolio_inside {
    padding: 0 90px;
}

.content_box_portfolio_inside .box_text_programs::after {
    content: none;
}

.row_overview_portfolio .box_titulo_programs {
    margin-top: 100px;
}

.row_overview_portfolio .box_titulo_programs,
.row_innovation .box_titulo_programs,
.row_contacts .box_titulo_programs {
    margin-bottom: 100px;
}

.row_overview_portfolio .col-md-4 .titulo_seccao {
    text-align: left;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 40px;
}

.row_overview_portfolio .col-md-4 p,
.content_box_portfolio_inside .box_text_programs p {
    font-weight: 300;
    font-size: 17px;
    text-align: left;
}

.row_overview_portfolio::after,
.row_contacts::after,
.row_innovation::after {
    content: '';
    border: 13px solid transparent;
    border-top: 14px solid #FBB034;
    width: 0;
    height: 0;
    display: inline-block;
    margin-top: 150px;
}

/* CONTACTS */
.logo-img{
    padding-bottom: 30px;
    padding-top: 18vh;
    text-align: center;
}
.logo-img img {
    width: 123px;
}


.row_contacts .col-md-6 {
    min-height: 114px;
}

.row_contacts .col-md-12 .titulo_seccao,
.row_contacts .col-md-6 .titulo_seccao {
    text-align: left;
    font-size: 40px;
    font-weight: 500;
}

.row_contacts .col-md-12 p,
.row_contacts .col-md-6 p {
    font-weight: 300;
    font-size: 21px;
    text-align: left;
    margin-left: 40px;
}

.row_contacts .col-md-6 p a {
    color: #333;
}

.row_contacts .col-md-6 .btn_contact_us {
    background-color: #FBB034;
    padding: 15px 28px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    float: left;
    font-size: 11px;
    margin-top: 50px;
}

.navbar-fixed-top-contacts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    display: block !important;
    opacity: 1 !important;
}


/* FINISH PAGINA PORTFOLIO INSIDE */

/* HOME - Our Programs */

.navbar-nav {
    margin: 0;
}

@media (max-width:992px) {
    .box_card_program, .box_img_card_program {
        height: auto;
        max-height: 400px;
    }
    .hi_tech_icon,
    .program-container:nth-child(2n) .program_image_position .hi_tech_icon {
        bottom: -35px;
        top: auto;
        right: 42%;
        width: 80px;
        height: 80px;
        left: auto;
    }
    .hi_tech_icon img {
        width: 60px;
    }
    .mobile_dropdown_programs {
        text-align: center;
        background-color: #FBB034;
        color: #fff !important;
        width: 100%;
        height: 50px;
        text-transform: uppercase;
        text-decoration: none !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    .mobile_dropdown_programs.active {
        background-color: #a06d19;
        color: #fff !important;
        border: 1px solid #a06d19 !important;
        margin-bottom: 5px;
    }

    .nav_filtros_programs li {
        margin-right: 0;
    }
    .nav_bar_dropdown_programs,
    .nav_bar_dropdown_programs li {
        width: 100%;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .nav_bar_dropdown_programs {
        position: absolute;
        z-index: 9;
    }
    .nav_bar_dropdown_programs li {
        background-color: #fff;
        border-bottom: 0;
    }
    .nav_bar_dropdown_programs li:last-child {
        border-bottom: 1px solid #FBB034;
    }
    .news_btn_mobile {
        padding-left: 5px;
        padding-right: 5px;
    }
    .news_btn_mobile img {
        max-width: 27px;
    }


    /*  Our Network */
    .nav_filtros_network li {
        padding: 14px 38px 10px 38px;
        max-width: 100% !important;
        margin-left: 0;
        margin-right: 0;

    }

}

@media (min-width:993px) {
    .nav_bar_dropdown_network {
        justify-content: center;
        width: 100%;
    }
}

/* FINISH HOME - Our Programs */

/* HEADER */

.header_navbar_default .navbar-nav > li > a {
    color: #fff !important;
}

.header_navbar_default {
    border: 0;
}

.header_navbar_default .navbar-collapse.collapse.in {
    border: 1px solid;
    border-right: 0;
    border-left: 0;
}

.header_navbar_default .navbar-toggle.collapsed {
    background-color: transparent;
    border-color: #fff;
}

.header_navbar_default .navbar-toggle:focus,
.header_navbar_default .navbar-toggle:hover {
    background-color: transparent !important;
    border-color: #fff !important;
}

.header_navbar_default .navbar-toggle span.icon-bar {
    background-color: rgba(255,255,255,1);
}


        /* HEADER FIXO */

.section-scroll{
   /* padding-top: 70px;
    padding-bottom: 50px;*/
}

@media (min-width:768px) {
    .header_navbar_default .nav.navbar-nav {
        float: right;
    }
}

/* navbar-fixed-top */

.navbar-fixed-top {
    background-color: #fff;
    z-index: 999;
    opacity: 0;
    display: none;
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -ms-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
}

/*.navbar-fixed-top .navbar-nav > li > a {
    color: #000 !important;
}*/

.navbar-fixed-top .navbar_brand_fixed_header {
    height: 70px;
    margin-left: 40px !important;
    padding: 0;
    position: absolute;
    top: 10px;
    left: 0;
}

.navbar-fixed-top .navbar_brand_fixed_header img {
    width: 205px;
    padding-top: 15px;
}

.top_header {
    
    display: block !important;
}

.opacity_header{
    opacity: 1 !important;
}

.instagram-logo{
  height: 100%;
}
.instagram-logo:hover{

  content: url('../../assets/images/icons/icon-instagram-grey.svg');
}
.facebook-logo{
  height: 100%;
}
.facebook-logo:hover{

  content: url('../../assets/images/icons/facebook-logo-hover.svg');
}
/* FINISH HEADER */

.grid {
      margin: 0 auto;
    }

    /* clearfix */
    .grid:after {
      content: '';
      display: block;
      clear: both;
    }

    /* ---- grid-item ---- */

    .grid-item {
      width: 300px;
      height: 120px;
      margin-bottom: 20px;
      float: left;
      background: #D26;
      border-radius: 5px;

    }

    .grid-item--height2 { height: 200px; }
    .grid-item--height3 { height: 260px; }

    .grid-item img {
  display: block;
  max-width: 100%;
}

.grid-item:hover {
  background: rgba(0,0,0,0.3);
}

.grid-item img:hover {
  opacity: 0.4;
  filter: alpha(opacity=40);
  /* For IE8 and earlier */
}

.captiontext,
.figure {
  display: inherit;
  top: 0;
  text-align: center;
  display: block;
}


/* ---- ----- ---- ---- -- --- --- --- */
.hovereffect {
  width: 100%;
  height: 100%;
  float: left;
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: default;
}

.hovereffect .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.3);
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  transform: translate(0px, 0px);

}

.hovereffect img {
  display: block;
  position: relative;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

.hovereffect h3 {
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  position: relative;
  font-size: 17px;
  padding: 10px;
  bottom: 0;
  position: absolute;
}


.hovereffect:hover .overlay {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
  -webkit-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  transform: translate(0px, 0px);
}

.hovereffect:hover h2 {
  -webkit-transform: translateY(0px);
  -ms-transform: translateY(0px);
  transform: translateY(0px);
}

   /* The popup bubble styling. */
.popup-bubble {
  /* Position the bubble centred-above its parent. */
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -100%);
  /* Style the bubble. */
  background-color: white;
  padding: 5px;
  border-radius: 5px;
  font-family: sans-serif;
  overflow-y: auto;
  max-height: 400px;
  box-shadow: 0px 2px 10px 1px rgba(0, 0, 0, 0.5);
}

/* The parent of the bubble. A zero-height div at the top of the tip. */
.popup-bubble-anchor {
  /* Position the div a fixed distance above the tip. */
  position: absolute;
  width: 100%;
  bottom: 8px;
  left: 0;
}

/* This element draws the tip. */
.popup-bubble-anchor::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  /* Center the tip horizontally. */
  transform: translate(-50%, 0);
  /* The tip is a https://css-tricks.com/snippets/css/css-triangle/ */
  width: 0;
  height: 0;
  /* The tip is 8px high, and 12px wide. */
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid white;
}

/* JavaScript will position this div at the bottom of the popup tip. */
.popup-container {
  cursor: auto;
  height: 0;
  position: absolute;
  /* The max width of the info window. */
  width: 200px;
}
