/*********** CUSTOM CODE CSS ****************/
menu.eib-mega-menu.eib-mega-menu--v2.eib-mega-menu--light {
    top: 0;
}
.eib-mega-menu--v2.eib-mega-menu--light + .header-title {
    position: relative;
    display: block;
    margin-top: 68px;
}
@media screen and (min-width: 78em) {
    .eib-mega-menu--v2.eib-mega-menu--light + .header-title {
        margin-top: 92px;
    }
}
/* Icons SVG library */
.eib-icon, .eib-icon:hover {
    width:16px;
    height:16px;
    display:inline-block;
    background-repeat:no-repeat;
    position:relative;
    top:3px;
}

.eib-icon.eib-download {
    background-image:url('https://tech.eib.org/img/icons/download-white.svg');
}
a:hover .eib-icon.eib-download {
    background-image:url('https://tech.eib.org/img/icons/download-blue.svg');
}

.header-banner__wrapper .eib-button--primary:hover,
.header-banner__wrapper .eib-button--primary:hover span {
  color: #2f80ed;
  background-color: #fff;
  border-color: #fff;
}

.eib-button--primary .eib-icon {
  /* stylelint-disable-next-line declaration-no-important */
  transform: translateX(0) !important;
  transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

.eib-button--primary:hover .eib-icon {
  /* stylelint-disable-next-line declaration-no-important */
  transform: translateX(4px) !important;
}

.eib-button--primary .eib-icon.eib-download {
  /* stylelint-disable-next-line declaration-no-important */
  transform: translateY(0) !important;
  transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

.eib-button--primary:hover .eib-icon.eib-download {
  /* stylelint-disable-next-line declaration-no-important */
  transform: translateY(4px) !important;
}

.eib-button .eib-icon {
    margin: 0 0 0 1.2rem;
}

/*********** END OF CUSTOM CODE CSS ****************/

.eib-button--primary {
    color: #fff;
    background-color: #2f80ed;
    border: 2px solid #2f80ed;
    transition: none;
}

.eib-button--secondary {
    color: #2f80ed;
    background-color: transparent;
    border: 2px solid #2f80ed;
}

.eib-button--secondary:hover {
    color: #fff;
    text-decoration: none;
    background-color: transparent;
}

.eib-button--secondary:before {
  background: #2f80ed;
}
.eib-button--secondary:visited {
  color: #fff;
  background-color: #2f80ed;
}

.eib-button--primary:before {
  display: none;
}
.eib-button--primary:visited {
  color: #fff;
  background-color: #2f80ed;
}

.eib-button--primary:hover {
  color: #2f80ed;
  text-decoration: none;
  background-color: transparent;
}

.eib-title__button {
    margin-top: 2.4rem;
}

.eib-button {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 1.6rem 2.4rem;
    overflow: hidden;
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 1.2;
    text-decoration: none;
    vertical-align: middle;
    border-radius: 14.8rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.2, 1);
}

.eib-split-text--padded .eib-split-text__content {
    padding-top: 14.8rem;
    padding-bottom: 14.8rem;
}

.banner .eib-split-text--padded .eib-split-text__content {
    padding-top: 10.8rem;
    padding-bottom: 10.8rem;
}

.eib-section--blue .eib-button--action {
    color: #fff;
}

.fs-inherit {
  font-size: inherit !important;
}

.eib-section-title {
  display: block;
  margin: 0;
  color: #0E2031;
  font-weight: 700;
  font-size: 1.2rem;
  font-family: "Roboto", sans-serif;
  line-height: 1.2;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}


@media (min-width: 48em) {
  .eib-section-title {
    font-size: 1.6rem;
  }
}

.eib-card-title {
    display: block;
    margin: 0;
    color: #333;
    font-weight: 700;
    font-size: 2rem;
    font-family: "Alegreya Sans", sans-serif;
    line-height: 1.1;
    letter-spacing: 0;
}
@media (min-width: 48em) {
    .eib-card-title {
        font-size: 2.4rem;
    }
}

.eib-heading-3 {
    display: block;
    margin: 0;
    color: #0e2031;
    font-weight: 700;
    font-size: 3rem;
    font-family: "Alegreya Sans", sans-serif;
    line-height: 1.2;
    letter-spacing: -0.2px;
}
@media (min-width: 62em) {
    .eib-heading-3 {
        font-size: 4.6rem;
        line-height: 1.1;
    }
}

.eib-heading-4 {
    display: block;
    margin: 0;
    color: #0e2031;
    font-weight: 700;
    font-size: 2.4rem;
    font-family: "Alegreya Sans", sans-serif;
    line-height: 1.1;
}
@media (min-width: 48em) {
    .eib-heading-4 {
        font-size: 32px;
    }
}

.eib-heading-3--small {
    display: block;
    margin: 0;
    color: #0e2031;
    font-weight: 700;
    font-size: 2.8rem;
    font-family: "Alegreya Sans", sans-serif;
    line-height: 1.1;
}
@media (min-width: 48em) {
    .eib-heading-3--small {
        font-size: 4.0rem;
    }
}

/*------------*/
.eib-button--primary:hover .fa {
    color: #2f80ed;
}


/* Tooltip on logo */

@media (min-width:48em) {
  .sticky-menu .eib-mega-menu__logo{
    width: 120px;
  }
}

.eib-mega-menu .tooltip-logo {
  position: relative;
  display: inline-block;
}

.eib-mega-menu .tooltip-logo img {
  width: 100%;
}

.eib-mega-menu .tooltip-logo .tooltiptext {
  visibility: hidden;
  width: 300px;
  background-color: #000;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 0;
  margin-left: -90px;
  padding: 5px;
}

.eib-mega-menu .tooltip-logo .tooltiptext::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}

.eib-mega-menu .tooltip-logo:hover .tooltiptext {
  visibility: visible;
}

.eib-mega-menu .tooltip-logo .tooltiptext .tooltiptext-link {
  text-decoration: underline;
}
.eib-mega-menu .tooltip-logo .tooltiptext .tooltiptext-link:hover {
  text-decoration: none;
  cursor:pointer;
}



/* ------------------- custom code for header end -------------------------- */

/*---------- Sticky - scroll ------------*/
.sticky-menu {height: 60px;}

.eib-mega-menu__languages, .eib-mega-menu__search, .eib-mega-menu__toggle, .eib-mega-menu__logo, .eib-mega-menu__connect {
  -webkit-transition: all .2s ease-in-out;
 -moz-transition: all .2s ease-in-out;
 -ms-transition: all .2s ease-in-out;
 -o-transition: all .2s ease-in-out;
 transition: all .2s ease-in-out;
}

@media (min-width: 48em) {
  .sticky-menu .eib-mega-menu__languages {
      top: .8em;
  }
}

@media (min-width: 48em) {
  .sticky-menu .eib-mega-menu__search {
      top: 2rem;
  }
  .sticky-menu .eib-mega-menu__toggle {
      top: 2rem;
  }
  .sticky-menu .eib-mega-menu__logo img {
      width: 120px;
  }
}

.sticky-menu .eib-mega-menu__connect {
    top: 2rem;
}

.sticky-menu .eib-mega-menu__icon-link span {
    font-size: 1.2rem;
    line-height: 15px;
}

.sticky-menu .eib-mega-menu__icon-link svg {
   width: 15px;
   height:15px;
}

.sticky-menu .eib-select__label, .sticky-menu .eib-select__option {
    font-size:1.2rem;
}

/*---------- Navbar fixed top - scroll ------------*/
@media only screen and (min-width: 992px) {
    .sticky-menu {
        position:fixed;
        left:0;
        right:0;
        top: 0;
        border-width: 0 0 1px;
        z-index:1003;
   }

   #top-menu__horizontal{
     top:60px !important;
   }
}


/*---------- Country indicator list ------------*/

#country-indicator__list .search-filter__results .row-list.row-list-standard .row-title{
  font-size: 14px !important;
  font-weight: 400 !important;
  font-family: Roboto,sans-serif !important;
}

/* [*] gif style **********************************************/
.small-gif .banner.banner__article.banner__article--picture > .banner__wrapper{
    height: 460px !important;
}

@media only screen and (min-width: 992px) {
  .small-gif .banner.banner__article.banner__article--picture > .banner__wrapper{
    width: 40% !important;
  }
}

/* ------------------------------------------------------------------
                     Eligibility table styling
            https://www.eib.org/en/investor_relations/cab/index or sab/index
*******************************************************************/
.eligibility-table__wrap{
  overflow-x:auto;
}
.eib-table.eligibility-table td , .eib-table.eligibility-table th {
  border: 2px solid black;
  padding:8px;
  font-size:16px;

}

.eib-table.eligibility-table th{
    color:white;
}

.eib-table.eligibility-table li{
  font-size:16px
}

.eib-table.eligibility-table .empty-cell{
  border:none;
}

.eib-table.eligibility-table td{
  vertical-align: top;
  max-width : 300px;
}

.eib-table.eligibility-table td:first-of-type{
  vertical-align:middle;
}

.eib-bright_blue{
    background-color:#2F80ED;
}
.eib-midnight_blue{
    background-color:#0E2031;
}
.eib-blue_80{
    background-color:#667FBC;
}
.eib-blue_60{
    background-color:#AAB4DB;
}
.eib-dark_green{
  background-color: #2b582e;
}
.eib-light_green{
  background-color: #a9d18e;
}
.eib-dark_orange{
  background-color: #e94e0f;
}
.eib-light_orange{
  background-color: #f4b183;
}

.boxWithNumbers .square-boxe .box__content{
  height: auto !important;
}
/*----------------------------
 *                           |
 * Investor - Data table          |
 *                           |
 *---------------------------*/
table.investor{
  min-width:400px;
  min-heiht:85px;
}

table.investor td , .press-release-investor td{
  padding-left: 10px;
  padding-right: 10px;
  text-align: left;
  vertical-align: middle;
}

table.investor tr.odd, .press-release-investor tr:nth-child(odd){
  background-color: #e9e9e9d9;
}

.accordion.ui-state-default{
  border: 0px !important;
  background: none !important;
}




/*------- gallery in banner ------*/

.header-gallery {
    background-color: #F7F7F7;
}

.eib-post-title-gallery::before {
    content: "";
    position: absolute;
    height: 26rem;
    width: 100vw;
    right: 0;
    background-color: #0e2031;
}
.eib-image-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 100%;
    min-height: 26rem;
    padding: 3.6rem;
    overflow: hidden;
    text-align: left;
    text-decoration: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-bottom: 3px solid #fff;
    border-radius: 6px 6px 0 0;
}
.eib-image-card__title {
    margin-bottom: 1.2rem;
    color: #fff;
    font-weight: 700;
    font-size: 2.4rem;
    font-family: "Alegreya Sans", sans-serif;
    line-height: 1.1;
}
.eib-image-card__title {
    margin-bottom: 1.2rem;
    color: #fff;
    font-weight: 700 !important;
    font-size: 2.4rem !important;
    font-family: "Alegreya Sans", sans-serif;
    line-height: 1.1;
    z-index: 10;
    position: relative;
    transition: color .3s ease-in-out;
}
.eib-title-gallery .highlighted .eib-image-card__title {
    font-size: 4rem !important;
    line-height: 110%;
    letter-spacing: -0.2px;
    width: 60%;
}
.eib-image-card__title:after {
    position: relative;
    top: 3px;
    display: inline-block;
    width: 17px;
    height: 17px;
    transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1);
    content: "";
}
.eib-image-card__title-text {
    display: inline;
    margin-right: 2rem;
}
.eib-image-card {
    position: relative;
    display: flex;
    height: 100%;
    min-height: 26rem;
    padding: 3.6rem 2.8rem 2.9rem 2rem;
    overflow: hidden;
    text-align: left;
    text-decoration: none;
    background-color: #0e2031;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-bottom: 3px solid #fff;
    border-radius: 15px;
    flex-direction: column;
    justify-content: end;
    align-items: start;
}
.eib-image-card:before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.79) 20%, rgba(0, 0, 0, 0) 100%);
    /* stylelint-disable-next-line declaration-no-important */
    transform: translateY(5%) !important;
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    content: "";
}
.eib-image-card:hover {
    text-decoration: none;
}
.eib-image-card:hover .eib-image-card__title {
    transition: color .3s ease-in-out;
}
.eib-image-card:hover:before {
    /* stylelint-disable-next-line declaration-no-important */
    transform: translateY(0) !important;
}
.eib-image-card:hover .eib-image-card__title:after {
    transform: translateX(4px);
}
.eib-image-card__date {
    z-index: 10;
    color: #fff;
    font-weight: 400;
    font-size: 1.6rem;
    font-family: "Roboto", sans-serif;
    line-height: 1.1;
}
.highlighted .eib-image-card{
    min-height: 46rem;
    background-position: 50% 25%;
}
.highlighted  .eib-image-card__content::after {
    content: url(https://tech.eib.org/_tools/front/img/icons/arrow-right-gallery.svg);
    position: absolute;
    width: 48px;
    height: 48px;
    right: 28px;
    bottom: 29px;
}
.eib-title--bg-gallery {
    background-color: #0e2031;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
}
.eib-image-card .eib-image-card__main-date {
    font-family: Roboto, sans-serif;
    font-style: normal;
    font-weight: bold !important;
    font-size: 1.2rem !important;
    line-height: 120%;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #FFFFFF;
    padding-top: 1rem;
    position: relative;
    margin-bottom: .4rem;
}

.eib-image-card .eib-image-card__top-title {
    font-family: Roboto, sans-serif;
    font-style: normal;
    font-weight: 700 !important;
    font-size: 12px !important;
    line-height: 160%;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #FFFFFF;
    z-index: 10;
    position: relative;
    margin-bottom: 1.2rem;
}

.eib-image-card__top-title a {
    font-weight: 700 !important;
}

.eib-image-card__title a {
    font-family: "Alegreya Sans", sans-serif;
    font-weight: 700 !important;
    font-size: 2.4rem !important;
    color: #fff;
}

.eib-small-gallery .js-animate-in__item {
    height: 0 !important;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0 !important;
    opacity: 0;
    transition: all .3s ease-in;
}

.eib-small-gallery .js-animate-in__item.is-visible {
    height: auto !important;
    overflow: auto;
    padding-top: 0;
    padding-bottom: 26px !important;
    opacity: 1;
    transition: all .3s ease-in;
}

.eib-small-gallery .eib-layout__row > div:nth-child(n+4){
    /*visibility: hidden;
    display: none;*/
}
.eib-section-title.eib-section-title__gallery {
    margin: 6rem 0 0;
    padding-bottom: 3.5rem;
    position: relative;
    color: rgba(251, 251,251, .3);
}
.eib-gallery__show-less {
    display: none !important;
}
.eib-post-title-gallery.expended .eib-gallery__show-less {
    display: inline-block !important;
}
.eib-post-title-gallery.expended .eib-gallery__show-more {
    display: none !important;
}
.eib-gallery__show-more {
    display: inline-block;
}
/*.expended .eib-small-gallery .eib-layout__row > div:nth-child(n+4) {
    display: block;
    visibility: visible;
}*/
.eib-gallery-toggle {
    width: 100%;
}

.eib-gallery-toggle span {
    cursor: pointer;
}
.eib-gallery-toggle {
    width: 100%;
}
.eib-gallery-toggle span i {
    font-size: 1.6rem;
}

.eib-show-hide-button {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    transition: color .3s ease-in-out;
}

.eib-show-hide-button:hover {
    color: #2f80ed;
    transition: color .3s ease-in-out;
}

.eib-show-hide-button i {
    color: #2F80ED;
}

.pb-6 {
    padding-bottom: 2.4rem !important;
}
.pl-0 {
    padding-left: 0 !important;
}
.pr-0 {
    padding-right: 0 !important;
}
.pt-6 {
    padding-top: 2.4rem !important;
}
.pb-15 {
    padding-bottom: 6rem !important;
}
.eib-layout + .eib-layout {
    margin-top: 6rem;
}
.eib-layout--thirds {
    max-width: 100%;
    max-width: calc(100% + (2 * 2.4rem));
    margin-right: auto;
    margin-left: auto;
    padding: 0 2.4rem;
}
@media (min-width: 36em) {
    .eib-layout--thirds {
        /* Breakpoint: sm */
        max-width: 540px;
        max-width: calc(540px + (2 * 2.4rem));
        margin-right: auto;
        margin-left: auto;
        padding: 0 2.4rem;
    }
}
@media (min-width: 48em) {
    .eib-layout--thirds {
        /* Breakpoint: md */
        max-width: 720px;
        max-width: calc(720px + (2 * 2.4rem));
        margin-right: auto;
        margin-left: auto;
        padding: 0 2.4rem;
    }
}
@media (min-width: 62em) {
    .eib-layout--thirds {
        /* Breakpoint: lg */
        max-width: 960px;
        max-width: calc(960px + (2 * 2.4rem));
        margin-right: auto;
        margin-left: auto;
        padding: 0 2.4rem;
    }
    .eib-layout--thirds.eib-small-gallery {
        max-width: 100%;
    }
}
@media (min-width: 78.375em) {
    .eib-layout--thirds {
        /* Breakpoint: xl */
        max-width: 1206px;
        max-width: calc(1206px + (2 * 2.4rem));
        margin-right: auto;
        margin-left: auto;
        padding: 0 2.4rem;
    }
}
.eib-layout--thirds .eib-layout__col {
    margin-top: 2.4rem;
}
.eib-layout--thirds .eib-layout__col:first-child {
    margin-top: 0;
}
@media (min-width: 62em) {
    .eib-layout--thirds .eib-layout__row {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        margin-right: -0.8333333333em;
        margin-left: -0.8333333333em;
    }
    .eib-layout--thirds .eib-layout__col {
        box-sizing: border-box;
        padding-right: 0.8333333333em;
        padding-left: 0.8333333333em;
        width: 33.3333333333%;
        margin-top: 0;
    }
}
@media (min-width: 78.375em) {
    .eib-layout--thirds .eib-layout__row {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        margin-right: -0.8333333333em;
        margin-left: -0.8333333333em;
    }
    .eib-layout--thirds .eib-layout__col {
        box-sizing: border-box;
        padding-right: 0.8333333333em;
        padding-left: 0.8333333333em;
        width: 33.3333333333%;
        margin-top: 0;
    }
}
.bg-color-blue *, .bg-color-blue .standard-header__summary p, .bg-color-blue .breadcrumbs-container .breadcrumbs.eib-typography__secondary-label > li > a{
    color: #fff;
}
.header-title.bg-color-blue .banner__share .resp-sharing-button__link i, .header-title.bg-color-blue .printList .resp-sharing-button--print i{
    color: #fff;
}
.header-title.bg-color-blue .banner__share .resp-sharing-button__link i:hover, .header-title.bg-color-blue .printList .resp-sharing-button--print i:hover{
    color: #2F80ED;
}
.eib-image-card__title::after {
    position: relative;
    top: 3px;
    display: inline-block;
    width: 17px;
    height: 17px;
    background-image: url(/images/arrow-image-card.svg?a473835376e0540a38f70fcf8b2cf72b);
    transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1);
    content: "";
}
.kids-page_form option{
    color:black;
}
.kids-page_form .form-footer__newsletter{
    margin-bottom:0 !important;
}
.newsletter-page-kids__wrapper .footer-newsletter__input,
.newsletter-page-kids__wrapper .optional-language__dropdown--wrap-page ,
.newsletter-page-kids__wrapper .optional-affiliation__dropdown--wrap-page {
    margin-bottom:16px;
    color:black;
}

.kids-page_form .optional-language__dropdown--wrap-page:after ,.kids-page_form  .optional-affiliation__dropdown--wrap-page:after {
     content:"\f13a ";
        font-family: FontAwesome;
        color: #0e2031;
        position: absolute;
        right:-25px;
        top:5px;
        width: 50px;
        height: 100%;
}


.kids-page_form .optional-language__dropdown--wrap-page,.kids-page_form  .optional-affiliation__dropdown--wrap-page  {
    position: relative;
    display: block;
}
.kids-page_form select{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: black !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 18px !important;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    padding: 6px 10px !important;
    height: 39px;
}

/* Remove the arrow of select element in IE */
.newsletter-page-kids__wrapper select::-ms-expand {
    display: none;
}
@media only screen and (max-width: 640px){
.kids-page_form .control-label, .kids-page_form .optional-affiliation__label-page {
text-align: center;
}
}
.kids-page_form .msg-footer:before{
    display:none;
}
/* display hide mobile */
.mobile-show {
        display:none;
    }
@media screen and (min-width: 820px) {

  /* USE THESE CLASSES TO HIDE CONTENT ON MOBILE */
 .mobile-hide {
    display: block !important;
 }

 .mobile-show {
        display:none;
    }

}
@media screen and (max-width: 820px) {

  /* USE THESE CLASSES TO HIDE CONTENT ON MOBILE */
 .mobile-hide {
    display: none !important;
 }

 .mobile-show {
        display:block;
    }

}

.overlay-on {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0px;
    z-index: 10;
    background: rgba(0, 0, 0, .7);
    transition: .3s linear;
  }

.overflow-unset{overflow: unset !important;}

.banner__text.p0 p:last-child{
    margin-bottom: 10px;
}
