
.external:after {
    content: "\f08e";
    display: inline-block;
    font-family: 'FontAwesome';
    font-size: 11px;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    position: relative;
    top: -6px;
    margin: 0 0 0 0.2rem;
}

.border-image {
    border-radius: 1rem 1rem 0 0;
}
#main-content img.full-image {
    object-fit: contain;
    width: 100%; 
    height: auto;
}
.header button.fa-search {
    margin: 0 2rem;
    background: transparent;
    color: #eee;
    outline: 0;
    border: 0;
    width: 2rem;
    height: 2rem;
}
figcaption {
    background: none repeat scroll 0 0 #002635;
    font-size: 13px;
    padding: 0.3rem 0.8rem 0.5rem;
    margin:0px 0 1rem 0;
    font-family: Arial;
    line-height: 1.3rem;
    color: var(--whiteTag);
    text-transform: initial;
}
figcaption:first-letter {
    text-transform: uppercase;
}

/********************************************
    SCROLLBAR PERSONALIZADO
*********************************************/

::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--linkhover);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--aquamarine);
}

/*************************************************
    HOME SECTIONS
/************************************************/

.path-frontpage .main-container .container {
    margin-top: 0rem;
}
.discover-block {
    background: url(../img/background-discover.jpg) no-repeat;
    background-size: contain;
}
.discover-block .discover-text {
    background: url(../img/earth.png) no-repeat top right;
    padding: 2rem 37rem 2rem 1rem;
}
@media screen and (max-width: 1024px)  {
  .discover-block .discover-text {
    padding: 2rem 4rem !important;

  }
}
.explore-programms-section {
    margin: 4rem auto 2rem;
}
.news-and-events-home {
    margin: 2rem auto 0rem;
}
.page-node-type-projects #main-content {
    padding: 2rem 0 4rem; 
}


/*************************************************
    BLOQUES DE CONTENIDOS LISTADOS (E.G. NEWS)
/************************************************/

/* General-content */
.content-block-listed {
    border-bottom: 1px dotted var(--medium-gray);
    box-sizing: border-box;
    padding: 20px 0;
}

/* link tags */
.content-tag-list {
    background-color: var(--light-gray);
}

.content-tag-list a {
    color: var(--aquamarine);
    padding: 3px 10px;
}

/* p block */
p.p-block {
    color: #000;
    font-size: 14px;
}

.status-block {
    color: var(--linkhover);
    font-family: 'notesesabold';
    font-size: 16px;
}

/* quitar falsa maquetacion h2 */

    h1.h2-enlace-bloque {
        font-size: 18px;
        border-bottom: none;
        margin-bottom: 0;
    }

    h1.h2-enlace-bloque a:hover {
        text-decoration: none;
    }

/*******************************
    BREADCRUMBS
/*******************************/
    .container-breadcrumbs {
        padding-bottom: 0;
    }
    .breadcrumb {
      display: flex;
      flex-wrap: wrap;
      padding: 0.5rem 0;
      margin-left: 0px !important;
      margin-bottom: 1rem;
      font-size: 1rem;
      list-style: none;
      background-color: transparent;
      border: none;
      font-family: 'notesesareg';
    }
    .breadcrumb-item a {
    /*  color: rgba(0, 0, 0, 0.2);*/
    text-transform: uppercase;
    }
    .breadcrumb-item + .breadcrumb-item {
      padding-left: 5px;
    }
    .breadcrumb-item + .breadcrumb-item::before {
      display: inline-block;
      padding-right: 5px;
      color: var(--aquamarine);
      content: "»";
    }
    .breadcrumb-item + .breadcrumb-item:hover::before {
      text-decoration: underline;
    }
    .breadcrumb-item + .breadcrumb-item:hover::before {
      text-decoration: none;
    }
    .breadcrumb-item.active {
      color: #777777;
    }

/******************
    TABLE 
*****************/
    caption {
        text-align: left;
        padding: 0.6rem 0rem;
        margin: 0;
        font-family: 'notesesareg';
        font-size: 1.8rem;
        color: var(--white);
        caption-side: top;
    }
    table {
      border-collapse: collapse;
      width: 100% !important;
      max-width: 100%;
      margin: 3rem 0 2rem;
      border: 0;
      background: transparent;  
    }
    table th {
      padding: 10px;
      border-left: 0;
      border-right: 0;
    }
    table th {
        text-align: left;
        color: var(--aquamarine);
        font-family: 'notesesabold';
        text-transform: uppercase;
    }
    table th p {
        margin: 0;
        color: var(--aquamarine);
    }
    table th h1,
    table th h2,
    table th h3 {
      margin: 0;
      font-size: 20px;
    }
    table a:hover {
      text-decoration: underline;
    }
    table tr {
        border-top: 1px solid var(--linkhover);
        border-bottom: 1px solid var(--linkhover);
    }
    table td {
      padding: 10px;
      border-left: 0;
      border-right: 0;
      color: var(--white);
    }

    table.logos {
        margin: 4rem 0;
    }
    table.logos tr {
        
    }
    table.logos tr:last-child {
        border: 0;
    }
    table.logos tr td {
        padding: 0.8rem 0;
    }
    table.logos tr td img {
        padding: 0.6rem;
        width: auto;
        height: auto;
        background: var(--whiteLight);
        border-radius: 0.6rem 0; 
    }



/******************************
    TABS
********************************/
    .tabs-primary {
        margin: 0 0 1rem 0;
    }
    .nav-tabs.primary {
      margin: 0 0 2rem 0;
      overflow: hidden;
      background:transparent;
      font-size: 14px;
      border-bottom: 1px solid var(--linkhover);
      display: flex;
      justify-content: center;
    }

    @media (max-width: 991px) {
      .nav-tabs.primary {
        padding-left: 20px;
        padding-right: 20px;
      }
    }
    .nav-tabs.primary li {
      float: none;
      border: 0px;  
      display: flex;
      padding: 0;
    }
    .nav-tabs.primary li.active a {
      background: var(--aquamarine);
      color: var(--whiteLight);
      text-transform: uppercase;
      font-weight: bold;
    }
    .nav-tabs.primary a {
      display: block;
      padding: 8px 25px;
      color: var(--white);
      text-transform: uppercase;
      border-right: 1px solid var(--linkhover);
      border-radius: 0;
      border: 0;
    }
    .nav-tabs.primary a:hover {
      text-shadow: none;
      color:var(--subtitle);
      border: 0;
    }

/*******************************
    HEADER
/*******************************/

    /* Barra Superior */
    .content-superior-bar {
        height: 64px;
        box-sizing: border-box;
        position: relative;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 24px;
        background-color: #003247;
        border-bottom: 4px solid var(--aquamarine);
        color: var(--white);
        z-index: 500;
    }
    .content-txt-barra-superior {
        align-items: center;
        height: 64px;
        padding: 0;
    }
    .logo-esa {

    }
    .logo-esa img{
        width: 90px;
    }
    .content-txt-barra-superior p {
        color: #fff;
        font-family: 'notesesabold';
        font-size: 1rem;
        margin: 0;
        padding: 15px 0;

    }
    /* Registro */
    .content-form-search .navbar-nav li a,
    .content-form-search-mobile .navbar-nav li a {
        color: #fff;
        font-family: 'notesesareg';
        text-align: right;
    }
    #block-titleuserregister h1, 
    #block-titleuserlogin  h1,
    #block-titleresetyourpassword h1 {
        margin-top: 1rem;
    }

/***************************************/

/* Header */
    .no-scroll {
        overflow: hidden;
    }
    header {
        position: relative;
        display: flex;
        top: 0;
        left:0;
        z-index: 10;
        background-color: var(--background-blue);
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0.5rem 1rem;
        border-bottom: 2px solid #335E6F;
    }
    @media (max-width: 1600px) {
        header {
            flex-wrap: wrap;
        }
    }
    @media (max-width: 1400px) {
        header {
            flex-wrap: nowrap;
        }
    }
    .sticky {
        position: sticky;
        top: 0;
    }

    .content-img-home {
/*        background-image: url(../img/hero-image.jpg);*/
        background-color: var(--background-blue);;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        height: 450px;
        display: flex;
        justify-content: center;
        position: relative;
    }
    .content-img-default {
        background-image: url(../img/hero-image.jpg);
    }
    .content-img-home .hero-section-background-video {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    .content-img-home .hero-section-background-video video {
        width: 100%;
        height: auto;
        /*
        min-width: 100%;
        min-height: 100%;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        */
    }
    .content-img-home.not-front {
            display: flex;
            position: relative;
            flex-direction: column;
            justify-content: space-between;
    }
    .content-img-home.not-front:before {
        content: '';
        display: block;
        height: 100%;
        width: 100%;
        background: #000310;
        position: absolute;
        opacity: 0.5;
    }
    .content-img-home.not-front .breadcrumbs-wrapper {
        position: relative;
        z-index: 1;
        margin-top: 3rem;
        padding: 0;
    }

    @media (min-width: 1921px){
        .content-img-home {
            background-image: url(../img/hero-image-original.jpg);
            background-position: center 30%;
        }
    }
    .content-img-artes-elements, 
    .content-image-header-artes-elements {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        height: 450px;
        display: inline-flex;
    }

    /* Txt header */

    .content-main-txt-header {
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
    }
    .content-img-home.not-front .content-main-txt-header {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        position: relative;
        margin-bottom: 3rem;
        padding: 0;
    }
    .content-main-txt-header > p, 
    .content-main-txt-header > h1 {
        color: #fff;
        margin-bottom: 0px;
        padding: 0;
    }
    .content-main-txt-header > p .first-title, 
    .content-main-txt-header > h1 .first-title {
        text-transform: uppercase;
        font-size: 80px;
        line-height: 1.2;
        padding: 6px 0;
        display: block;
        font-family: 'notesesabold';
        text-align: center;
    }
    .path-node .content-main-txt-header > p .first-title, 
    .content-main-txt-header > h1 .first-title {
        text-align: left;
        font-size: 4rem;
    }
    .content-main-txt-header > p .second-title {
        text-transform: uppercase;
        font-size: 54px;
        line-height: 1.2;
        padding: 0px 12px;
        display: block;
        font-family: 'notesesareg';
        letter-spacing: 8.5px;
    }
    .content-main-txt-header > p .back-list {
        text-transform: uppercase;
        color: var(--white);
        display: flex;
        align-items: center;
        font-size: 0.875rem;
        font-family: 'notesesareg';
    }
    .content-main-txt-header > p .back-list:before {
        content: "";
        z-index: 9;
        cursor: pointer;
        display: block;
        width: 1rem;
        height: 1.6rem;
        margin-right: 1rem;
        margin-left: 0;
        background: var(--white);
        -webkit-mask-image: url(../img/arrow-right-white.svg);
        mask-image: url(../img/arrow-right-white.svg);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-position: center;
        mask-size: contain;
        transform: rotate(-180deg);
    }

    /*.header-artes-elements-420 .content-main-txt-header {f
        margin-left: 0;
    }*/

    .content-img-artes-elements .content-main-txt-header {
        display: none;
    }

    .content-img-artes-elements h2 {
        color: #fff;
        background-color: var(--aquamarine);
        padding: 20px;
        margin-bottom: 10px;
        font-family: 'notesesabold';
        width: max-content;
        font-size: 46px;
    }

    .content-img-home ul li, 
    .content-img-artes-elements ul li {
        color: #fff;
        font-family: 'notesesareg';
    }
    .play-animation {
      width: 80px;
      height: 80px;
      margin-right: 20px;
      float: left;
      position: relative;
      cursor: pointer;
    }
    .play-animation:hover .play-animation__play-button {
      opacity: 1;
    }
    .play-animation__play-button {
      position: absolute;
      top: 50%;
      left: 50%;
      z-index: 2;
      margin-top: -8px;
      margin-left: -5px;
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 8px 0 8px 14px;
      border-color: transparent transparent transparent var(--white);
      opacity: 0.3;
      transition: 0.5s;
    }
    .play-animation .circle {
      border-radius: 50%;
      transition: all 400ms ease-out;
    }
    .play-animation .circle--lg {
      width: 100%;
      height: 100%;
      border: 2px outset var(--aquamarine);
      animation: rotating 2s cubic-bezier(0.17, 0.67, 0.31, 0.95) infinite;
    }
    .play-animation .circle--md {
      width: 75%;
      height: 75%;
      margin-left: auto;
      margin-right: auto;
      margin-top: -71px;
      border: 2px inset var(--white);
      background-color: transparent;
      animation: rotatingback 2s cubic-bezier(0.17, 0.67, 0.31, 0.95) infinite;
    }
    .play-animation .circle--sm {
      width: 50%;
      height: 50%;
      margin-left: auto;
      margin-right: auto;
      margin-top: -50px;
      border: 2px inset var(--aquamarine);
      background-color: transparent;
      animation: rotating2 2s cubic-bezier(0.17, 0.67, 0.31, 0.95) infinite;
    }
    @-webkit-keyframes rotating {
      from {
        -webkit-transform: rotateY(0deg);
      }
      to {
        -webkit-transform: rotate(360deg);
      }
    }
    @-webkit-keyframes rotatingback {
      from {
        -webkit-transform: rotate(100deg);
      }
      to {
        -webkit-transform: rotate(-260deg);
      }
    }
    @-webkit-keyframes rotating2 {
      from {
        -webkit-transform: rotate(110deg);
      }
      to {
        -webkit-transform: rotate(470deg);
      }
    }
    @-moz-keyframes rotating2 {
      from {
        -moz-transform: rotate(110deg);
      }
      to {
        -moz-transform: rotate(470deg);
      }
    }
    @-o-keyframes rotating2 {
      from {
        -o-transform: rotate(110deg);
      }
      to {
        -o-transform: rotate(470deg);
      }
    }
    @-ms-keyframes rotating2 {
      from {
        -ms-transform: rotate(110deg);
      }
      to {
        -ms-transform: rotate(470deg);
      }
    }
    @keyframes rotating2 {
      from {
        transform: rotate(110deg);
      }
      to {
        transform: rotate(470deg);
      }
    }

    .content-video, 
    .hero-section-popup {
        display: none;
    }

    .hero-section-popup {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1200;
      width: 100%;
      height: 100vh;
      background: rgba(0, 0, 0, 0.6);
      display: none;
      align-items: center;
      justify-content: center;
    }
    .hero-section-popup.is-active {
      display: flex;
      flex-direction: column;
    }
    .hero-section-popup.is-active > span {
        display: block;
        width: 60%;
        text-align: right;
        cursor: pointer;
    }
    .hero-section-popup video {
      object-fit: contain;
    }
    @media (min-width: 990px) {
        .hero-section-popup {
            background: rgba(0, 0, 0, 1);
        }
        .hero-section-popup.is-active > span {
            width: 100%;
            padding: 3rem 1rem;
        }
      .hero-section-popup video {
          width: 100%;
          height: 100vh;
          
      }
    }
/***************************************/

/* Botón open menu */
    .content-search-menu{
        align-items: center;
    }
    .content-btn-menu {
        display: inline-flex;
        align-items: center;
        padding: 20px 0 0px;
    }
    .content-btn-desplegable-menu {
        display: inline-block;
        height: 26px;
        width: 40px;
    }
    .content-btn-desplegable-menu:hover {
        cursor: pointer;
    }
    .linea {
        background-color: #fff;
        height: 2px;
        margin: 0;
        width: 100%;
        /* transition: .3s all ease;
        -webkit-transition: .3s all ease;
        -moz-transition: .3s all ease; */
        transition:.3s cubic-bezier(.55,.86,.63,.95);
        --webkit-transition:.3s cubic-bezier(.55,.86,.63,.95);
        --moz-transition:.3s cubic-bezier(.55,.86,.63,.95);
    }
    .linea-1 {
        top: 0;
    }
    .linea-2 {
        top: 12px;
    }
    .linea-3 {
        bottom: 0;
    }
    .content-btn-desplegable-menu:hover .linea-1  {
        right: 0;
        transform: rotate(60deg);
        margin:0;
        width: 50%;
    }
    .content-btn-desplegable-menu:hover .linea-3  {
        right: 0;
        transform: rotate(-60deg);
        margin:0;
        width: 50%;
    }


/* Menú */

/* Open menu animation */
@keyframes animated-open-menu {
    from { width: 0; padding: 0;}
    to { width: 30%; 
         padding: 80px 40px;
    }
  }
/* Close menu animation */
  @keyframes animated-close-menu {
    from { width: 30%; 
            padding: 80px 40px;
         }
    to  { width: 0; padding: 0;}
  }

/*.general-content-menu {
    left: 0%;
    top: 0;
    z-index: 11;
    transition:10s ease-out cubic-bezier(.07,.78,.09,.9);
    --webkit-transition:10s ease-out cubic-bezier(.07,.78,.09,.9);
    --moz-transition:10s ease-out cubic-bezier(.07,.78,.09,.9);

}

.open-menu {
    background-color: var(--linkhover);
    height: 100%;
    animation-name: animated-open-menu;
    animation-duration: .3s;
    animation-timing-function: cubic-bezier(.07,.78,.09,.9);
    width: 30%;*/
    /* transition:1s ease-out cubic-bezier(.07,.78,.09,.9);
    --webkit-transition:1s ease-out cubic-bezier(.07,.78,.09,.9);
    --moz-transition:1s ease-out cubic-bezier(.07,.78,.09,.9); */
/*}

.close-menu {
    background-color: var(--linkhover);
    height: 100%;
    animation-name: animated-close-menu;
    animation-duration: .3s;
    animation-timing-function: cubic-bezier(.07,.78,.09,.9);
    width: 0;
}*/

/* Botón cerrar */
    .close-btn {
        display: none;
        position: relative;
        transition:.3s all cubic-bezier(.05,.33,.63,.95);
        --webkit-transition:.3s all cubic-bezier(.05,.33,.63,.95);
        --moz-transition:.3s all cubic-bezier(.05,.33,.63,.95);

    }
    .close-btn i {
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 20px;
        width: 20px;
        transition:.3s cubic-bezier(.05,.33,.63,.95);
        --webkit-transition:.3s cubic-bezier(.05,.33,.63,.95);
        --moz-transition:.3s cubic-bezier(.05,.33,.63,.95);

    }
    .close-btn:hover {
        cursor: pointer;
    }
    .close-btn i:hover {
        transform: rotate(270deg);
        --webkit-transform: rotate(270 deg);
        --moz-transform: rotate(270 deg);
    }
    .close-btn:hover i {
        --transform: rotate(130 deg);
        --webkit-transform: rotate(130 deg);
        --moz-transform: rotate(130 deg);
    }

/**************
    SEARCH 
*************************/
    .content-form-search,
    .content-form-search-mobile {
        padding: 20px 0 0px;
        margin-left: auto;
        margin-right: 2rem;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #001f2c;
        z-index: 9;
        display: flex;
        align-items: center;
        justify-content: center;
        display: none;
    }

    .content-form-search .region-nav-additional,
    .content-form-search-mobile .region-nav-additional {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;
    }
    
    .fixed .content-form-search{
        padding: 10px 0 0px;    
    }
    .content-form-search .region-nav-additional
    .content-form-search-mobile .region-nav-additional {
        display: inline-block;
        width: 100%;
    }
    .content-form-search .search-artes {
/*        width: 50%;
        display: block;*/
    }
    .content-form-search-mobile .search-artes {
        width: 100%;
    }
    .content-form-search .form-actions,
    .content-form-search-mobile .form-actions {
        width: 40px;
        height: 40px;
        float: right;
    }
    .content-form-search .js-form-item,
    .content-form-search-mobile .js-form-item {
        width: calc(100% - 40px);
    }
    .content-form-search input[type="search"],
    .content-form-search-mobile input[type="submit"],
    .content-form-search-mobile input[type="search"] {
        border-radius: 0;
        background-color: transparent;
        border-color: rgba(255, 255, 255, .6);
        color: #fff;
        float: left;
        width: 100%;
    }
    .content-form-search-mobile input[type="submit"] {
        background-color: var(--aquamarine);
    }
    .content-form-search-mobile input[type="submit"] i {
        color: #fff;
    }
    .block-search {
        width: 80%;
        margin: auto;
    }
    .content-form-search input#edit-submit, 
    .content-form-search input.search-btn-artes {
        background-color: var(--aquamarine);
        border: 1px solid rgba(255, 255, 255, .5);
        border-radius: 0;
        background-image: url('../img/search-solid.png');
        background-repeat: no-repeat;
        background-size: countain;
        background-position: center;
        width: 100%;
    }
    .content-form-search input#edit-submit, 
    .content-form-search input.search-btn-artes {
       color: transparent !important;
    }
    .content-form-search div#edit-actions {
        margin-left: 0;
    }
    /* mobile or tablet Icon */

    .content-search-menu i.fa-search,
    .content-form-search-mobile,
    .content-form-search-mobile i.fa-search,
    .content-search-menu i {
        display: none;
    }

/***************************************/


/*******************************
    HOME
/*******************************/

.content-latest-news {
    background: #3085a3;
    background-image: url('../img/shutterstock_firemen_MANET.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    float: left;
    overflow: hidden;
    max-height: 240px;
    height: 100%;
    text-align: center;
    cursor: pointer;
}

/***************************************/

/*****************************************************
    NEWS (news and projects has a similar structure)
/*****************************************************/

/* Before filters  */

.view-news-and-events .info {
    font-family: Verdana, arial;
    font-size: 14px;
    font-weight: 400;
}

/* Fieldset filtros */

#edit-field-category-target-id--wrapper .content-fieldset,
 .view-contractors .content-fieldset{
    display: none;
}

#edit-field-category-target-id--wrapper .legend-title span,
.Partners #edit-field-category-target-id--wrapper .legend-title span.fieldset-legend,
.view-contractors span.fieldset-legend, 
.news #edit-field-category-target-id--wrapper .legend-title span,
.Partners #edit-field-category-target-id--wrapper .legend-title span.fieldset-legend,
.view-contractors span.fieldset-legend  {

}





/*******************************
    FILTERS ARTES ELEMENTS
/*******************************/

    .view-filters {
        background: transparent;
        padding: 1rem 0rem;
        margin: 0 0 1rem 0;
    }
    .view-projects .view-filters {
        border-bottom: 1px dotted var(--linkhover);
    }
    .view-filters fieldset {
        float: none !important;
    }
    .view-filters fieldset legend, 
    .view-filters fieldset legend span{
        color: var(--whiteLight);
        font-family: 'notesesareg';
        font-size: 1.4rem;
        font-weight: 400;
        text-transform: uppercase;
    }
    .view-filters fieldset legend span:hover {
        cursor: pointer;
    }
    .view-filters input,
    .view-filters select, 
    .form-control {
        border-radius: 0;
    }    
    .view-filters .form-checkbox{
      width: 1.4rem;
      height: 1.4rem;
      position: relative;
      top: 4px;
      background: rgba(40,40,40,0.2);
      -webkit-appearance: none;
      -moz-appearance: none;
      border: 1px solid var(--linkhover);
      border-radius: 0;
      margin: 0 0.6rem 0 0;
    }
    .view-filters .form-checkbox:checked {
        background: var(--aquamarine);
    }
    .view-filters label {
        font-weight: normal;
        font-size: 1rem;
        color: var(--white);
        text-transform: capitalize;
    }
    .form-checkboxes.bef-nested > ul {
        column-count: 2;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .form-checkboxes.bef-nested > ul > li {
        margin: 0.8rem 0;
    }
    .form-checkboxes.bef-nested > ul > li .form-item {
        margin: 0;
    }
    .form-checkboxes.bef-nested > ul > li ul {
        list-style: none;
        padding: 0 0 0 2rem;
    }
    .form-item-field-companies-target-id {
        /*padding: 15px 15px 0 0;*/
        width: 50%;
    }
    .bef-exposed-form .form--inline > .form-item {
        float: none;
    }
    .bef-exposed-form .bef-toggle {
        text-align: center;
        border-radius: 16px;
        border: 1px solid var(--aquamarine);
        background-color: rgba(25, 217, 208, 0.28);
        color: var(--white);
        font-family: "notesesabold";
        letter-spacing: 0.05rem;
        text-transform: uppercase;
        text-align: center;
        font-size: 1rem;
        padding: 0.8rem 1.1rem;
        margin: 2rem 2rem;
        width: auto;
        min-width: 180px;
        display: inline-block;
    }
    .bef-exposed-form .bef-toggle:hover {
        background: var(--aquamarine);
        text-decoration: none;
    }
    .bef-exposed-form .bef-checkboxes {
        display: flex;
        flex-wrap: wrap;
        margin: 1rem 2.5rem;
    }
    .bef-exposed-form .bef-checkboxes > .form-type-checkbox {
        float: none;
        display: flex;
        width: calc(20% - 1rem);
        margin: 0 0.5rem 0 0;
    }


    /* Filters Buttons */

    input#edit-reset, 
    input#edit-submit-news-and-events,
    input#edit-submit-projects,
    input#edit-submit-contractors,
    input#edit-submit-tenders {
      text-align: center;
      border-radius: 16px;
      border: 1px solid var(--aquamarine);
      background-color: rgba(25, 217, 208, 0.28);
      color: var(--white);
      font-family: "notesesabold";
      letter-spacing: 0.05rem;
      text-transform: uppercase;
      text-align: center;
      font-size: 1rem;
      padding: 0.8rem 1.1rem;
      margin: 16px 0;
      width: auto;
      min-width: 180px;
      display: inline-block;
    }
    .view-filters input#edit-reset:hover,
    input#edit-submit-contractors:hover, 
    .view-filters input#edit-submit-news-and-events:hover,
    .view-filters input#edit-submit-projects:hover,
    .view-filters input#edit-submit-tenders:hover {
      background: var(--aquamarine);
      text-decoration: none;
    }


/* Content */

.node--view-mode-teaser .field--name-field-news-image,
.node--view-mode-teaser .field--name-field-description-teaser1,
.content-img-project { /* .content-img-project - class of the content-image of project section */
    width: 16.66%;
    display: inline-block;
    margin: 0;
    padding: 0;
}
.node--view-mode-teaser .field--name-field-description-teaser1 { /* .content-info - class of the content of project section */
    float: right;
    padding-left: 30px;
    width: 83%;
}

.node--view-mode-teaser .field--name-field-description-teaser1 {
    padding-left: 15px;
}

.node--view-mode-teaser p {

}

.node--view-mode-teaser img,
.content-img-project img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    min-width: 90%;
    font-size: 1rem;
}

div#block-mainpagecontent img {
   max-width: 100%;
   height: auto;  
/*     height: 100%;
    object-fit: cover;*/
}

.field--name-field-company-image img {  
    max-width: 100%;
    height: auto;  
/*    padding: 0 3px;
    width: 100%;
    height: 100%;
    object-fit: cover;*/
}

/* img list news */

.field--name-field-news-image img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0 15px;
}


/* PROJECTS DETAILS */

.field--name-field-company-url a {
    font-size:1rem;
    color: var(--aquamarine);
}

.field--name-field-company-url a:hover {
    text-decoration: none;
}

.field--name-field-company-image .field__label,
.field--name-field-company-url .field__label,
.field--name-field-company-country .field__label {
    display: none;
}



.project_header {
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-bottom: 30px;
}

.project_image {
    width: 30%;
}

.project_image img {
    height: auto;
    width: 60%!important;
}

.project_header_data {
    width: 70%;
}


.project_category {
    width: 100%;
    display: flex;
    margin-bottom: 10px;
}

.field--name-field-category .field__items {
    margin-bottom: 2rem;
    width: 100%;
}

.node--type-projects ul {
    margin-bottom: 10px;
    margin-bottom: 30px;
}

.node--type-projects ul li {
    list-style: disc;
}

.field--name-field-status,
.field--name-field-status-date,
.field--name-field-activity-code {
    width: auto;
    display: flex;
    float: left;
    padding-right: 10px;
}
article[about="/open-call-proposals"] p, 
article[about="/open-call-proposals"] span {
    background: transparent !important;
    color: var(--white) !important;
    font-size: 1.125rem !important;
    line-height: 1.5 !important;
 }
article[about="/open-call-proposals"] a {
    color: var(--aquamarine) !important;
}
article[about="/open-call-proposals"] a:hover {
    color: var(--linkhover) !important;
}
article[about="/national-delegations"] table {

}
article[about="/national-delegations"] table td:nth-child(1), 
article[about="/national-delegations"] table td:nth-child(3) {
    display: none;
}
article[about="/national-delegations"] table td:nth-child(2) p {
    margin-bottom: 0;
}
article[about="/national-delegations"] table tr:nth-child(2n) {
    background: var(--linkhover-alpha);
}

article[about="/national-delegations"] table tr td:nth-child(2){
    text-align: center;
    vertical-align: top;
 }

/* h1 duplicado y se hace este apaño para quitarlo */
.page-node-type-projects div#block-mainpagecontent h1:first-child {
    /* display: none; */
}

.page-node-type-news-and-events .node__content ul li{
    list-style-type: disc;
}
.page-node-type-news-and-events .node__content ul li{
    margin-bottom: 4px;
}

/* Contractor & subcontractor */

.project_contractor, .project_subcontractor {
    width: 50%;
    float: left;
}
.project_contractor h2, 
.project_subcontractor h2 {
    color: var(--whiteLight);
    font-family: 'notesesareg';
    font-size: 2.375rem;
    line-height: 1.6;
    text-transform: initial;
    font-weight: normal;
    margin-bottom: 1rem;
}
.project_contractor .content, 
.project_subcontractor .content {
    display: flow-root;
    margin-bottom: 2.2rem;
}

.project_contractor .node--type-company .content, 
.project_subcontractor .node--type-company .content {
    margin-bottom: 40px;
}

.project_contractor .field__item, .project_subcontractor .field__item {
    float: left;
    width: 20%;
}

.field--name-field-company-country .field__item,
.field--name-field-company-url .field__item {
    width: 100%;
}

.project_contractor .field__item img, 
.project_subcontractor .field__item img {
    height: 100%;
    float: right;
    width: 100%;
    object-fit: cover;
    border-radius:0.6rem 0.6rem 0 0;
}

.project_contractor .contractor_teaser_content,
.project_subcontractor .contractor_teaser_content {
    float: right;
    margin-bottom: 10px;
    padding-left: 20px;
    width: 80%;
}

.contractor_teaser_content .title,
.subcontractor_teaser_content .title {
    font-family: 'Arial';
    font-size: 1.125rem;
}

.contractor_teaser_content .field__item,
.subcontractor_teaser_content .field__item {
    font-size: 1rem;
    line-height: 1.6;
}

.project_patners {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.project_patners > h2 {
    width: 100%;
}
.project_patners > .content {
    width: 50%;
}

/* Related contents */
.field--name-field-public-documents, 
.field--name-field-related-links-pro {
    margin-bottom: 30px;
}


.field--name-field-company-description .field__item {
    color: var(--white);
}

.field--name-field-related-links-pro .field__item a:hover {
    color: var(--linkhover);
    text-decoration: none;
}

/* field--name-field-status  */

.project_footer .field--name-field-status {
    width: 100%;
    justify-content:flex-end;
}
.project_footer .field--name-field-status .field__label {
    margin-right: 0.2rem;
}


.project_footer .field--name-field-status .field__label:before {
    content: "\f274";    
    font-family: 'Font Awesome 5 Free';
    padding-right: 10px;
}

.field--name-field-company-description {
    margin-bottom: 1rem;
}

.field--name-field-company-country .field__item {
    margin-bottom: 0.2rem;
}

/***************************************/

/*******************************
    NARROW RIGHT COLUMNS 
/*******************************/

    .region-sidebar-second .block-views {
        margin: 0rem 0 2rem;
        padding: 0 1rem;
    }
    .region-sidebar-second .block-views-blockcalendar-block-1 {
        margin: 3rem 0 2rem;
    }
    

    .region-sidebar-second .views-element-container img {
        width: 100%;
        height: auto;
    }


    .block-views-blockrecent-news-block-1 .views-row{
        display: flex;
        flex-direction: column-reverse;
    }

    .views-field.views-field-title {
        margin: 0px 0 1.6rem !important;
        padding: 5px 0 !important;
    }

    .view-display-id-page_2 .views-field.views-field-title {
        margin: 0px 0 0rem !important;
        padding: 0 !important;
    }
    .region-sidebar-second .block-views .views-field-title a {
        font-family: 'Arial';
        font-weight: normal;
        color: var(--white);
        line-height: 1.45;
        display: block;
        text-decoration: none;
    }

    .region-sidebar-second .block-views .views-field-title a:hover {
        text-decoration: none;
        color: var(--linkhover);
    }

    .region-sidebar-second .block-views .views-field-created {
        font-family: 'notesesareg';
        color: var(--whiteTag);
        text-transform: uppercase;
    }



.metadata-list-projects {
    padding: 0;
    margin: 0 !important;
    width: 100%;
    list-style: none;
    display: flex;
}
.metadata-list-projects li {
    list-style: none !important;
}
.metadata-list-projects li a{
    display: inline-block;
    font-size: 1rem;
    padding: 3px 10px;
    margin: 4px 8px 4px 0;
    color:var(--aquamarine);
    border: 1px solid;
    border-radius: 0.6rem;
    font-family: 'notesesareg';
    text-transform: uppercase;
    text-decoration: none;
}
.metadata-list-projects a:hover {
    background-color: var(--aquamarine);
    text-decoration: none;
    color: var(--white);
    border-color: var(--aquamarine);
}
.project_data {
    padding: 0;
    width: 100%;
    list-style: none;
    display: flex;
}
.project_data li{
    list-style: none !important;
    margin-right: 0.6rem;
}
.project_data li .field__label{
    margin-right: 0.2rem;
}
.project_data li .field__item{
    
}
.project_body {

}
.project_body .text-formatted .field__label, 
.field--name-field-public-documents  .field__label, 
.field--name-field-related-links-pro .field__label, 
.project_body h2 {
    color: var(--whiteLight);
    font-family: 'notesesareg';
    font-size: 2.375rem;
    line-height: 1.6;
    text-transform: initial;
    font-weight: normal;
    margin-bottom: 1rem;
}
.project_body .text-formatted .field__item {
    
}
.block-jquery-countdown-timer {
    margin: 1rem 0;
}
#jquery-countdown-timer-note {
    color: var(--white) !important;
}

/*******************************
    PROJECTS
/*******************************/

    .view-projects .project-item {
        display: flex;
        margin: 2rem 0;
        padding: 2rem 0 0 0;
        border-bottom: 1px dotted var(--linkhover);
    }
    .view-projects .field-content {
        display: flex;
        flex-wrap: wrap;
    }
    .view-projects h2 {
        padding: 0 0 10px 0;
        margin: 0;
        width: 100%;
    }
    .view-projects h2 a {

    }
    .view-projects h2 a:hover {
        text-decoration: none;
    }
    .view-projects .metadata-list-program {
        padding: 0;
        width: 100%;
    }
    .view-projects .metadata-list-program a {
        display: inline-block;
        font-size: 1rem;
        padding: 3px 10px;
        margin: 4px 8px 4px 0;
        color:var(--aquamarine);
        border: 1px solid;
        border-radius: 0.6rem;
        font-family: 'notesesareg';
        text-transform: uppercase;
        text-decoration: none;
    }
    .view-projects .metadata-list-program a:hover {
        background-color: var(--aquamarine);
        text-decoration: none;
        color: var(--white);
        border-color: var(--aquamarine);
    }
    .view-projects .project-item .subcontractor li {
        margin-left: 0;
    }
    .view-projects .content-info > p {
        font-family: 'notesesareg';
        color: var(--whiteTag);
        text-transform: uppercase;
        margin: 0;
    }
    .view-projects .teaser ul li {
        list-style-type: initial;
    }
    .view-projects .content-info .contractor {
        border-right: 1px dotted var(--linkhover);
        padding: 0.6rem 1rem;
    }
    .view-projects .content-info .subcontractor {
        padding: 0.6rem 1rem 0.6rem 2rem;
    }
    .view-projects .content-info .contractor h3, 
    .view-projects .content-info .subcontractor h3 {
        font-family: 'notesesareg';
    }
    .view-projects .content-info .contractor ul, 
    .view-projects .content-info .subcontractor ul {
        padding: 0;
        list-style-type: none !important;
    }
    .view-projects .content-info .contractor ul li, 
    .view-projects .content-info .subcontractor ul li {
        list-style-type: none !important;
    }
    .view-projects .content-info .contractor ul a, 
    .view-projects .content-info .subcontractor ul a {
        color: var(--aquamarine);
    }
    .view-projects .subcontractor a,
    .view-projects .contractor a {
        display: block;
        width: 100%;
    }
    .view-projects .subcontractor a:hover,
    .view-projects .contractor a:hover {
        color: var(--linkhover)!important;
        text-decoration: none;
    }




    /* Filter projects  */
    legend {
        position: relative;
    }
    .view-projects .legend-title {
        cursor: pointer;
    }
    .view-projects .form-item-field-companies-target-id, 
    .view-projects  #edit-field-status-value--wrapper, 
    .view-projects .form-item-sort-bef-combine {
        width: 33%;
        margin: 1rem 0;
        padding: 0 2rem;
        float: left !important;
    }
    .view-filters fieldset#edit-field-status-value--wrapper legend span, 
    .view-filters fieldset#edit-field-status-value--wrapper legend.page-h2 {
        color: var(--white);
        font-family: 'arial';
        font-size: initial;
        text-transform: capitalize;
    }
    .view-filters fieldset#edit-field-status-value--wrapper .content-fieldset {
        margin-top: 0.2rem;
    }
    .view-filters fieldset#edit-field-status-value--wrapper .bef-checkboxes {
        margin: 0;
    }
    .view-projects .bef-exposed-form .bef-checkboxes {
        margin: 0 0 0 2.5rem;
    }
    .view-projects .bef-exposed-form .bef-checkboxes > .form-type-checkbox {
        width: auto;
        flex: 1;
    }




/******************
  END PROJECTS
*******************/


/***** EVENTS *****/
    .event-date-wrapper {
        padding-right: 0;
        margin: 0 0 1.6rem 0;
    }
    .event-date-wrapper .date-hightlighted {
        background: #003247;
        border-right: 4px solid var(--aquamarine);
        font-size: 42px;
        font-family: 'notesesabold';
        padding: 0.4rem 1rem;
        margin: 0 0 0.6rem 0;
        color:#FFF;
        text-align: right;
        border-radius: 1rem 0 0 1rem;
    }
    .event-date-wrapper .date-hightlighted .event-date-hightlighted-year {
        display: block;
        font-size: 1.4rem;
        font-family: 'notesesareg';
        line-height: 1rem;
        padding-top: 1rem;
    }
    .event-date-wrapper .date-hightlighted .event-date-hightlighted-start {

    }
    .event-date-wrapper .date-hightlighted .event-date-hightlighted-end {

    }
    .event-date-wrapper .date-hightlighted .event-date-hightlighted-end:before {
        content: '';
        background: url(../img/arrow-date.svg) no-repeat;
        width: 35px;
        height: 35px;
        display: inline-block;
        background-position: center;
        margin: 0 1.2rem 0 0.4rem;
    }

    .event-date-wrapper .event-country {
        font-size: 35px;
        font-family: 'notesesabold';
        text-transform: uppercase;
        padding-right: 1.6rem;
        text-align: right;
        margin:0;
    }
    .event-date-wrapper .event-country:before {
        content: '';
        background: url(../img/location-icon.svg) no-repeat;
        width: 35px;
        height: 35px;
        display: inline-block;
        background-position: right;
        margin: 0 1.2rem 0 0.4rem;
    }
    .event-date-wrapper .event-country.no-address:before {
        display: none;
    }
    .event-date-wrapper .event-address {
        text-transform: uppercase;
        font-family: 'notesesareg';
        font-size: 20px;
        padding-right: 1.6rem;
        text-align: right;
    }
    .event-date-wrapper.no-timestamp .event-country {
        text-align: left;
    }
    .event-date-wrapper.no-timestamp .event-address {
        text-align: left;
        padding-left: 3.8rem;
    }
    .event-image {
        padding-left: 0;
        padding-right: 3.2rem;
    }
    .timetable-section {
        display: flex;
        flex-direction: column-reverse;
    }
    .timetable-section h2{
        margin-top: 0 !important;
        text-transform: uppercase !important;
    }
    .timetable-section .tag-section-node{
        margin: 0;
    }
    .tag-section-node {
        text-transform: uppercase;
        font-size: 1rem;
    }

    .timetable-date {
        display: flex;
        justify-content: flex-start;
        padding: 0;
        margin: 0;
    }
    .timetable-date li {
        
        text-align: center;
        margin:0 0.8rem 0 0;
        display: flex;
        flex-direction: column;
    }
    .timetable-date li span:nth-child(1) {
        font-family: 'notesesabold';
        text-transform: uppercase;
        font-size: 35px;
        display: block;
        margin-bottom: 0.4rem;
        padding: 0.8rem 1rem;
        border-radius: 0.4rem;
        background: #003247;
    }
    .timetable-date li span:not(:nth-child(1)) {
        font-size: 1rem;
        display: block;
    }

    @media (max-width:767px) {
        .event-date-wrapper .date-hightlighted {
            text-align: center;
        }
        .event-date-wrapper .event-country {
            text-align: center;
        }
        .event-date-wrapper .event-address {
            text-align: center;
        }
        .event-image {

        }
        .event-image figure {
/*            width: 100% !important;*/
            margin: auto;
        }
    }



/***** END EVENTS *****/

/** RELATED TXANOMIES BLOCK **/
    .related-taxonomies-block {
        margin: 0rem 0 2rem;
        padding: 0 1rem;
    }
    .related-taxonomies-block h2 {
        font-family: 'notesesareg' !important;
        text-transform: uppercase !important;
        margin: 0;
        padding: 0.6rem 0;
        color: var(--whiteLight);
        text-transform: uppercase; 
    }
    .related-taxonomies-block .taxomonies-list {
        margin:1rem 0;
        padding: 0;
        list-style-type: none;
        display: flex; 
        flex-wrap: wrap;  
    }
    .related-taxonomies-block .taxomonies-list li {
        list-style-type: none !important;
        padding: 0.4rem 0.8rem;
        border: 1px solid;
        border-radius: 0.6rem;
        text-transform: uppercase;
        opacity: 0.6;
        font-family: 'notesesareg';
        letter-spacing: -0.5px;
        border-radius: 0.8rem;
        margin: 0rem 0.6rem 0.6rem 0;
    }
    .related-taxonomies-block .taxomonies-list li:first-child {
/*        margin-left: 0rem;*/
    }
    .related-taxonomies-block .taxomonies-list li a {
        color: var(--white);
        text-decoration: none;
        text-transform: uppercase;
        font-size: 1rem;
    }
    .related-taxonomies-block .taxomonies-list li a:hover {
        color: var(--whiteLight);
         opacity: 1;
    }
/** END RELATED TXANOMIES BLOCK **/


/*******************************
    ARTES ELEMENTS
/*******************************/

/* Header Artes Elements */

.page-node-type-artes-elements .row {
    margin-right: 0;
    /*align-items: stretch;*/
}

.header-artes-elements-420 {
    height: 450px;
    overflow: hidden;
}

.content-image-header-artes-elements {
    display: flex;
    height: 100%;
    padding: 0;
    filter: brightness(65%);
    /*filter: blur(1px);*/
}

.header-artes-elements-420 img {
    /*filter: brightness(65%);*/
    height: auto;
    width: 100%;
}

.node--view-mode-full .field--name-field-artesimage,
.node--view-mode-full .field--name-field-overview-image {
/*    display: inline-block;
    width: auto;
    padding: 20px;
    float: left;*/
}

.field.field--name-field-overview-page.field--type-entity-reference.field--label-hidden.field__item {
    display: inline-block;
}

.node--type-artes-elements .field.field--name-field-overview-page.field--type-entity-reference.field--label-hidden.field__item {
    display: none!important;
}
.page-node-type-artes-elements .node-news .field__label{
    color: var(--whiteLight);
    font-family: 'notesesareg';
    font-weight: normal;
    text-transform: uppercase;
    font-size: 2.375rem;
    margin: 2rem auto 0.5rem;;
}

/***************************************/

.content-img-artes-elements h2, 
.content-img-artes-elements .content-summary-artes-elements {
    z-index: 1;
}
.content-summary-artes-elements {
    box-sizing: border-box;
    padding: 0;
    max-width: 800px;
    margin: 7.5rem auto 0;
}
.content-summary-artes-elements p.h2-cabecera,  
.content-summary-artes-elements h1.h2-cabecera {
    font-size: 2.875rem;
    line-height:1.4;
    width: auto;
    background-color: transparent;
    display: inline;
    padding: 0;
    word-spacing: -16px;
}
.content-summary-artes-elements p.h2-cabecera span, 
.content-summary-artes-elements h1.h2-cabecera span{
    padding: 0 8px;
    background-color: var(--aquamarine);
    text-transform: uppercase;
}
.content-summary-artes-elements-no-tid {
    box-sizing: border-box;
    padding: 1rem;
    margin: 3rem 0;
    display: flex;
    align-items: flex-end; 
}
.content-summary-artes-elements-no-tid h1.artes-elements-title-node{
    font-size: 2.875rem;
    line-height:1.25;
    width: auto;
    background-color: transparent;
    display: inline;
    padding: 0;
    word-spacing:-1px;
    text-transform: uppercase;
    text-shadow: 1px 1px 4px var(--background-blue);
}
.content-summary-p {
    margin-top: 1rem;
}
.content-summary-p > p{
    color: var(--whiteLight);
    font-size: 1.5rem;
    line-height: 1.35;
    width: 100% !important;
    padding: 0.5rem 0px;
}

@media (max-width: 900px){
    .content-summary-artes-elements  {
        max-width: 70%;
    }
}
@media (max-width: 750px) and (orientation: portrait){
    .content-img-home {
/*        background-image: url('../img/hero-image-mobile.jpg');*/
    }
    .content-img-home .hero-section-background-video video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .content-img-home, 
    .content-img-artes-elements {
        display: flex;
        height: 100vh !important;
    }
    .content-summary-artes-elements  {
        max-width:  80%;
    }
    .content-summary-artes-elements-no-tid {
        align-items: center;
    }
    .content-summary-artes-elements h2.h2-cabecera {
        font-size: 42px !important;
        padding: 0 !important;
        line-height: 54px;
    }   
    .content-summary-artes-elements {
        margin: 12.5rem 30px 30px !important;
        min-height: 350px;
    } 
}

.right.cajas-artes-elements {
    color: #fff;
} 

.cajas-artes-elements {
    display: inline-flex;
    align-items: center;
    padding: 0;
}

.cajas-artes-elements img {
    height: auto;
    max-width: 100%;
    width: 100%;
}
.right.cajas-artes-elements {
    box-sizing: border-box;
    /*padding: 40px;*/
    padding: 40px 10% 40px 40px;
    position: relative;
    width: 80%;
    background: url(../img/background-video-text.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.left.cajas-artes-elements iframe {
    margin-right: -2px;
    width: 100%;
}

/* content-video-txt-artes-elements  */

.content-video-txt-artes-elements {
    height: 450px;
}


/*******************************
    PAGINATION
/*******************************/

    ul.pager__items  {
        justify-content: center;
        display: flex;
    }
    ul.pager__items  li {
        border: none !important;
        background: transparent !important;
        flex: initial !important;
        padding: 0 !important; 
    }
    ul.pager__items  li span {
        border: none !important;
        padding: 0;
        background: transparent !important;
        display: block;
        color: var(--aquamarine);   
    }
    ul.pager__items  li a {
        border: none !important;
        padding: 0.5rem 0.75rem;;
        background: transparent !important;
        display: block;
        color: var(--aquamarine);
    }
    ul.pager__items  li span:hover,
    ul.pager__items  li a:hover {
        color: var(--whiteLight) !important;
    }
    ul.pager__items  li.active  span, 
    ul.pager__items  li.active  a {
        color: var(--white) !important;
        font-weight: bold !important;
    }

 /* added because of update of bootstrap4 contrib theme */
    ul.pagination, 
    ul.pager__items  {
        justify-content: center;
        display: flex;
    }
    ul.pagination  li, 
    ul.pager__items li {
        border: none !important;
        background: transparent !important;
        flex: initial !important;
        padding: 0 !important; 
    }
    ul.pagination  li span, 
    ul.pager__items li span {
        border: none !important;
        padding: 0;
        background: transparent !important;
        display: block;
        color: var(--aquamarine);   
    }
    ul.pagination  li a, 
    ul.pager__items li a {
        border: none !important;
        padding: 0.5rem 0.75rem;;
        background: transparent !important;
        display: block;
        color: var(--aquamarine);
    }
    ul.pagination  li span:hover,
    ul.pagination  li a:hover, 
    ul.pager__items li span:hover, 
    ul.pager__items li a:hover {
        color: var(--whiteLight) !important;
    }
    ul.pagination  li.active  span, 
    ul.pagination  li.active  a, 
    ul.pager__items li.active span, 
    ul.pager__items li.active a {
        color: var(--white) !important;
        font-weight: bold !important;
    }
    ul.pagination li.disabled, 
    ul.pager__items li.disabled {
        display: none;
    }

/***************************************/



.node--type-artes-elements.node--view-mode-teaser-spl-nodes {
    padding: 20px;
    min-height: 390px;
}
.node--type-artes-elements.node--view-mode-teaser-spl-nodes:hover{
  box-shadow: 0 0px 20px rgba(0,0,0,0.15);
  transition: box-shadow 0.4s ease-in-out;
}

.node--type-artes-elements.node--view-mode-teaser-spl-nodes h2 a:hover {
    text-decoration: none;
}
.node--type-artes-elements.node--view-mode-teaser-spl-nodes h2 a:hover .field--name-title{
    background: var(--linkhover);
}

.node--type-artes-elements.node--view-mode-teaser-spl-nodes.content-node-personalize .field.field--name-field-artesimage.field--type-image.field--label-hidden.field__item {
    overflow: hidden;
    padding: 0;
}

.node--type-artes-elements.node--promoted.node--view-mode-teaser-spl-nodes.content-node-personalize .field.field--name-field-artesimage.field--type-image.field--label-hidden.field__item img {
    width: 100%;
    height: auto;
}

.field--name-field-overview-page {
    display: none;
}

/*****************************************************
    CONTACT (ARTES ELEMENTS) 
/*****************************************************/

    /* Div General content of contact */

    .field--name-field-spl-contacts {
        display: inline-block;
        margin-bottom: 2rem;
        position: relative;
        width: 100%;
    }

    .field--name-field-spl-contacts .field__items {
        display: flex;
        flex-direction: row;
    }

    .field--name-field-spl-contacts .field__items > .field__item {
        background-image: url('../img/esa-logo-contacts.png');
        background-repeat: no-repeat;
        background-position: right 2rem top 2rem ;
        border: 1px solid var(--linkhover);
        padding: 4rem 2rem 2rem;
        margin: 1rem 3rem 1rem 0;
        width: 50%;
    }

    .field--name-field-spl-contacts .field__item:nth-child(2n) {
        margin-right: 0;
    }

    .field--name-field-spl-contacts .field__item .node--type-artes-elements .field--name-field-artesimage img {
        padding: 0;
        height: auto;
        width: 100%;
    }

    .field--name-field-firstname,
    .field--name-field-lastname {
        display: none;
    }

    .node--type-contacts h2 {
        display: none;
    }

    .field--name-field-firstname,
    .field--name-field-lastname {
        width: auto!important;
        display: inline-block;
        float: none;
        font-size: 2.4rem;
        position: relative;
        font-family: 'notesesareg';
        font-weight: normal;
        color: var(--whiteLight);
        text-align: left;
        margin-bottom: 1rem;
    }

    .field--name-field-address,
    .field--name-field-zip,
    .field--name-field-city,
    .field--name-field-phone,
    .field--name-field-fax,
    .field--name-field-email
     {
        width: 100%!important;
        display: block;
        text-align: right;
        font-family: arial;
        font-size: 1rem;
    }
    .field--name-field-address {
        font-weight: bold;
    }
    .field--name-field-address br {
        display: none;
    }
    .page-node-type-contacts .field--name-field-address,
    .page-node-type-contacts .field--name-field-zip,
    .page-node-type-contacts .field--name-field-city,
    .page-node-type-contacts .field--name-field-country, 
    .page-node-type-contacts .field--name-field-phone, 
    .page-node-type-contacts .field--name-field-fax,
    .page-node-type-contacts .field--name-field-email
     {
        width: 100%!important;
        display: block;
        text-align: left;
        font-size: 1rem;
    }
    .page-node-type-contacts .field--name-field-phone .field__item, 
    .page-node-type-contacts .field--name-field-phone .field__label,
    .page-node-type-contacts .field--name-field-email .field__item, 
    .page-node-type-contacts .field--name-field-email .field__label
    {
        text-align: left;
        font-family: 'Verdana';
        font-size: 14px;
        font-weight: normal;
    }

    .field.field--name-field-category.field--type-entity-reference.field--label-hidden.field__items {
        display: none;
    }

    .field--name-field-firstname {
        margin-right: 6px!important;
    }

    svg.mailto {
        display: none;
    }

    /* No link email card */

    .field--name-field-spl-contacts .field--name-field-email {
        pointer-events: none;
        cursor: default;
    }

/****************************************
    RELATED BANNERS (ARTES ELEMENTS) 
/****************************************/

    /* .field--name-field-related-banners General content of Related Banners */


    .field--name-field-related-banners .field__items {
        position: relative;
        display: flex;
        margin: 2rem 0;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .node.node--type-rsb-icon {
        display: block;
        width: 100%;
        height: 100%;
    }

    .field--name-field-related-banners .field__items > .field__item { 
        position: relative;
        min-height: 220px;
        overflow: hidden;
        margin: 1rem 2rem 1rem 0rem;
        width: calc(50% - 1rem);
    }
    .field--name-field-related-banners .field__items > .field__item:nth-child(2n) {
        margin: 1rem 0rem 1rem 0rem;
    }
    .field--name-field-related-banners .field__items > .field__item:hover {
        cursor: pointer;
      box-shadow: 0 0px 20px rgba(0,0,0,0.15);
      transition: box-shadow 0.4s ease-in-out;
    }

    .field--name-field-related-banners .field__items > .field__item .field--name-field-rsp-image {
        padding: 0;
        height: 100%;
        width: 100%;
        background: var(--background-blue) !important;
        position: absolute;
    }
    .field--name-field-related-banners .field__items > .field__item .field--name-field-rsp-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        opacity: 0.8;
        -webkit-transition: opacity 0.6s ease-in-out;
        transition: opacity 0.6s ease-in-out;
    }
    .field--name-field-related-banners .field__items > .field__item:hover .field--name-field-rsp-image img {
         cursor: pointer;
        opacity: .4;
        -webkit-transition: all 0.6s ease-in-out;
        transition: opacity 0.6s ease-in-out;
    }
    .field--name-field-related-banners .field--name-field-link {
        font-size: 1rem !important;
        line-height: 16px !important;
        padding: 0;
        position: absolute;
        z-index: 2;
        top: 25px;
        left: 25px;
        width: 70%;
        max-width: 70%;
    }
    .field--name-field-related-banners .field--name-field-link a {
        color: #fff;
        text-transform: uppercase;
        font-family: 'notesesabold';
    }

    .field--name-field-related-banners .field--name-field-link a:hover {
        text-decoration: none;
    }
    .field--name-field-related-banners .field__label {
        display: none;
    }
    .node.node--type-rsb-icon h2 a:hover {
        text-decoration: none;
    }
    .node--type-rsb-icon.node--promoted.node--view-mode-teaser-spl-nodes.content-node-personalize .h2-enlace-bloque {
        position: absolute;
        bottom: 20px;
        padding: 20px;
        z-index: 1;
        display: none;
    }
    .field--name-field-related-banners .field__label,
    .field--name-field-spl-contacts .field__label, 
    .field--name-field-spl-term .field__label {
        /*display: none;*/
    }
    article.node.node--type-rsb-icon.node--promoted.node--view-mode-teaser-spl-nodes.content-node-personalize .field--name-field-spl-contacts .field__item {
        width: 100%;
    }

/*******************************
    OUR ACTIVITIES
/*******************************/

    ul.our-activities-items {
        display: contents;
    }

    li.our-activities-list {
        width: 33.33333%;
        display: flex;
        float: left;
        flex-direction: column-reverse;
        padding: 0 40px 10px 0;
        min-height: 220px;
        position: relative;
        justify-content: flex-end;
    }

    li.our-activities-list .views-field.views-field-title {
        margin: 0!important;
        padding: 0!important;
    }

    li.our-activities-list .views-field.views-field-title span.field-content {
        display: flex;
        width: 100%;
        background-color: #fff;
    }

    li.our-activities-list .views-field.views-field-title a {
        color: var(--aquamarine);
        font-family: arial;
        font-size: 1.5rem;

    }

    li.our-activities-list .views-field-field-overview-image a {
        position: absolute;
        width: 100%;
        height: 100%;

    }

/*******************************
    FUNDING
/*******************************/

    /* Content-Funding */

    .Funding .views-field-title .field-content a {
        font-family: 'notesesabold';
        font-size: 18px;
    }

    .field--name-field-tender-description .field__label {
        color: var(--navy-blue);
        font-size: 22px;
        line-height: 24px;

    }

    /* READ MORE BTN */

    .right.cajas-artes-elements .read-more {
        position: absolute;
        bottom: 40px;
        /*right: 20%;*/
        left: 40px;
    }

    .right.cajas-artes-elements .read-more a {
        text-decoration: none;
        color: var(--aquamarine);
        font-family: 'notesesareg';
        font-size: 1.2rem;
        text-transform: uppercase;
    }

    .right.cajas-artes-elements .read-more a:hover {
        color: var(--whiteLight);
    }

/*******************************
    FOOTER
/*******************************/

    footer {
        background-color: var(--background-footer);
    }

    footer a {
        color: var(--white);
    }

    footer h2 {
        border-bottom: 2px solid var(--aquamarine-transparency);
        color: var(--white);
        font-size: 16px;
    }

    footer.node__meta {
        background-color: transparent;
    }

    footer.node__meta span {
        color: var(--linkhover);
    }

    /* Content footer menu */
    footer .field--name-body {
        display: flex;
    }

    footer .region-footer {
        display: flex;
        width: 100%;
    }

    /* Social Footer imgs */

    div#block-connectivity-footersociallinks .field--name-body ul {
        display: flex;
    }
    div#block-connectivity-footersociallinks h2 {
        border: none;
        display: flex;
        opacity: 0.8;
        font-family: Arial;
    }

    div#block-connectivity-footersociallinks .field.field--name-body.field--type-text-with-summary {
        display: flex;
        align-items: center;
    }
    div#block-connectivity-footersociallinks .field--name-body ul {
        display: flex;
        padding: 0;
        margin-left: 1.5rem;
    }
    div#block-connectivity-footersociallinks .field--name-body ul li {
        display: block;
        margin: 0 8px 0 0;
        width: 1.375rem;
    }

    div#block-connectivity-footersociallinks .field--name-body  ul li a img {
        opacity: 0.4;
        width: 100%;
        height: auto;
    }

    div#block-connectivity-footersociallinks .field--name-body  ul li a:hover img {
        opacity: 1;
    }

    footer a:hover {
        opacity: 0.6;
        color: #FFF;
        text-decoration: none;
    }

    .col-footer {
        display: flex;
        flex-wrap: wrap;
        padding: 0;
    }

    /* Logo Footer */

    .panels-flexible-region-last {
        width: 100%;
    }

    .panels-flexible-region-last img {
        width: 80px;
        float: right;
    }

    /* Copyright */

    .content-copyright-footer {
        border-top: 1px solid #4C7B8D;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 15px;
    }

    .content-copyright-footer p {
        color: #4C7B8D;
        font-family: 'notesesabold';
        font-size: 1.125rem;
    }
    /* Back to top btn */

    .back-to-top {
        position: fixed;
        color: var(--whiteLight);
        padding:0;
        font-size: 16px;
        border-radius: 2.5em;
        right: 6px;
        bottom: 30px;
        transition: background 0.5s;
        width: 3.5em;
        height: 3.5em;
        color: var(--whiteLight);
        background-color: var(--aquamarine);
        border-color: var(--aquamarine);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
    }

    i.fa-chevron-up.btn-primary {
        background-color: var(--aquamarine);
        border-color: var(--aquamarine);
        position: relative;
        top: -4px;

    }
    i.fa-chevron-up.btn-primary:active {
        background-color: var(--aquamarine) !important;
        border-color: var(--aquamarine) !important;
    }

/**** FONT issue fix MAC ***/
.more-link a {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.morelinksl {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.views_slideshow_cycle_slide .field-content a {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.gridnews figure h2 a {
    -webkit-transform: translate3d(0, 0, 0) !important;
    transform: translate3d(0, 0, 0) !important;
}

    /* VIDEO POPUP */
.content-popup-videos-carrusel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 10000000;
}
.bg-popup-videos-carrusel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.85;
}
.content-popup-videos-carrusel i {
    position: absolute;
    top: 80px;
    right: 80px;
    font-size: 2rem;
    color: #fff;
    transition: .3s all ease;
    --webkit-transition: .3s all ease;
    --moz-transition: .3s all ease;
    z-index: 11;
}
.content-popup-videos-carrusel i:hover {
    cursor: pointer;
    transform: rotate(180deg);
    --webkit-transform: rotate(180deg);
    --moz-transform: rotate(180deg);
}
.video-carrusel-popup {
    display: flex;
    align-items: center;
    justify-content: center;
    
    z-index: 1;
}
.video-carrusel-popup iframe {
    height: 484px;
    width: 802px;
}
/* CKEditors styles */
.cke_contents_ltr blockquote {
    padding-left: 20px;
    padding-right: 8px;
    border-left-width: 5px;
}
blockquote {
    font-family: Arial;
    padding: 20px;
    padding: 10px 20px;
    margin: 2rem 0 20px;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--whitelight);
    position: relative;
}
blockquote p {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--whitelight);
}
blockquote:before {
    content: '';
    width: 6px;
    height: 100%;
    display: inline-block;
    background: linear-gradient(180deg, rgba(0,174,157,1) 25%, rgba(0,174,157,0.8) 25%, rgba(0,174,157,0.8) 50%, rgba(0,174,157,0.6) 50%, rgba(0,174,157,0.6) 75%, rgba(0,174,157,0.4) 75%);
    /* margin-left: 1rem; */
    position: absolute;
    top: 0;
    left: 0;
}





/*textarea {
    display: block!important;
    visibility: visible!important;
}*/
textarea#g-recaptcha-response {
    display: none !important;
    visibility: hidden !important;
}
.indent {
list-style: none;
padding-left: 10px;
}

/*****************************************************
    HIGHTLIGHTEXD ON HOME
/*****************************************************/
.highlighted-home{
    margin-top: 4rem;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}
.block-views-blockartes-elements-highlighted-on-home-block-1, 
.block-views-blockopportunities-on-home-highlighted-opportunities, 
.block-views-blockopportunities-on-home-opportunities-home {
    width: 100%;
}
.block-views-blockartes-elements-highlighted-on-home-block-1 .view-content, 
.block-views-blockopportunities-on-home-highlighted-opportunities .view-content,  
.block-views-blockopportunities-on-home-opportunities-home .view-content{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.block-views-blockartes-elements-highlighted-on-home-block-1 .node--type-artes-elements.node--view-mode-teaser-spl-nodes, 
.block-views-blockopportunities-on-home-opportunities-home .node--type-artes-elements.node--view-mode-teaser-spl-nodes {
    padding: 0;
}

.hightlighted-item {
    position: relative;
    min-height:425px;
    margin:1rem 0rem 1rem 1rem;
    width: calc(33% - 0.45rem);
    -webkit-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}
.hightlighted-item:hover {
    cursor: pointer;
    -webkit-box-shadow: 0px 0px 36px 0px rgba(255,255,255,0.2);
    -moz-box-shadow: 0px 0px 36px 0px rgba(255,255,255,0.2);
    box-shadow: 0px 0px 36px 0px rgba(255,255,255,0.2); 

    z-index:3 ;
    -webkit-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
}
.hightlighted-item:nth-child(3n) {
    margin-right: 0;
}
.hightlighted-item:nth-child(3n+1) {
    margin-left: 0;
}
.hightlighted-item article{
    padding: 0;
    min-height: inherit;
}

.highlighted-img > div.background-image,
.hightlighted-item .node__content > div.background-image {
    position: absolute;
    z-index: 1;
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.hightlighted-item .highlighted-img > div.background-image:before, 
.hightlighted-item .node__content > div.background-image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    background-color: rgba(0, 0, 0);
    -webkit-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
}
.hightlighted-item:hover .highlighted-img > div.background-image:before, 
.hightlighted-item:hover .node__content > div.background-image:before  {
    opacity: 0.5;
    -webkit-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
}

.highlighted-img img {
    display: none;
}
.hightlighted-item h2,
.highlighted-title {
    font-size: 1rem !important;
    line-height: 16px !important;
    padding: 0;
    position: absolute;
    z-index: 2;
    top: 25px;
    left: 25px;
    width: 90%;
    max-width: 90%;
}
.highlighted-text {
    position: absolute;
    bottom: 0;
    left: 25px;
    text-transform: uppercase;
    padding-top: 16px;
    font-size: 16px;
    opacity: 0;
    color: var(--whiteLight);
    z-index: 4;
}
.hightlighted-item:hover .highlighted-text {
    opacity: 1;
    -webkit-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
}
.hightlighted-item p.text-date {
    margin: 0 0 0.6rem 0;
    font-size: 16px;
    text-transform: uppercase;
    color: var(--whiteLight);
}
.hightlighted-item p.read-more {
    position: relative;
    text-transform: uppercase;
    padding-top: 16px;
    font-size: 16px;
    color: var(--whiteLight);
}
.hightlighted-item p.read-more:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 70px;
    height: 4px;
    background-color: var(--whiteLight);
    -webkit-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
}
.hightlighted-item:hover p.read-more {
    opacity: 1;
    -webkit-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
}


.hightlighted-item h2:hover,
.highlighted-title:hover{

}

.hightlighted-item .h2-enlace-bloque a,
.hightlighted-item h2 a,
.highlighted-title a {
    color: #fff;
    text-decoration: none;
}
/* end of highlighted on home */

/*****************************************************
    OPPORTUNITIES NODE 
/*****************************************************/
.opportunity-header {

}
.opportunity-header .opportunity-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px 16px 0px 0px;
}
.opportunity-header .opportunity-metadata li  {
    border-bottom: 1px solid var(--linkhover);
    padding: 0.4rem 0.3rem;
    background: transparent;
}
.opportunity-header .opportunity-metadata .label-description {
    color: var(--aquamarine);
    font-family: "notesesabold", sans-serif;
    display: inline-block;
    width: 12rem;
    text-transform: uppercase;
    padding-right: 1rem; 
}
.opportunity-header .opportunity-metadata .text-description {
    margin: 0px;
    font-weight: lighter;
    text-align: left;
    flex: 1;
}
.opportunity-header .opportunity-metadata .webinar-info {
    display: flex;
    align-items: center;
    padding: 0.4rem 0.3rem;
    justify-content: space-between;
}
.opportunity-header .opportunity-metadata .text-register {
    display: inline-block;
    width: 6.5rem;
}
.opportunity-header .opportunity-metadata .text-register a {
    background-color: rgba(25, 217, 208, 0.28);
    color: var(--white);
    font-family: "NotesEsaBold";
    letter-spacing: 0.05rem;
    text-transform: uppercase;
    font-size: 1rem;
    padding: 0.2rem 0.8rem;
    border-radius: 0.8rem;
    border: 1px solid var(--aquamarine);
    display: inline-block;
    text-decoration: none;
    text-shadow: none;
    box-shadow: none;
}

/*****************************************************
    RELATED CONTENTS (ARTES ELEMENTS) 
/*****************************************************/

.field--name-field-related-content .field__label,
.field--name-field-spl-contacts .field__label {

}

.field--name-field-related-content .field__item,
.name-field-related-banners .field__item {

}

.field--name-field-related-content .field__item:hover .field--name-field-artesimage {
    opacity: .6;
} 

.field--name-field-related-content .field__item:hover h2 {
    opacity: 1;
}

.field--name-field-related-content .field__items {
    display: flex;
    margin-top: 1rem;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.field--name-field-related-content .field__item article .node__content {
    display: inline-block;
} 

.field--name-field-related-content .field__item article .node__content .field--type-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.field--name-field-related-content .field--name-title { 

}


/*** KEYPOINTS ***/
    .keypoints-wrapper {
        margin: 4rem 0;
    }
    .keypoints-header, 
    .label-first {
        display: flex;
        flex-direction: column;
    }
    .keypoints-header h2, 
    .label-first h2 {
        order: 2;
        margin-top: 0 !important;
        font-size: 2.5rem;
        padding: 0;
        text-transform: uppercase;
    }
    .keypoints-header .label,  
    .label-first .label {
        order: 1;
        font-family: 'notesesareg';
        text-transform: uppercase;
        font-size: 1rem;
        font-weight: lighter;
    }
    .keypoints-layout {
        display:flex;
        flex-wrap: wrap;
    }
    .keypoints-layout .keypoint-card {
        width: calc(  33% - 1.4rem);
        margin: 0 1.4rem 2.8rem 0;
        background: url(../img/key-arrow.svg);
        background-repeat: no-repeat;
        background-position: 90% bottom;
        transition: background-position 0.5s ease;
        padding: 0 0 1rem 0;
    }
    .keypoints-layout .keypoint-card:hover {
        background-position: 100% bottom;
        transition: background-position 0.5s ease;
        cursor: pointer;
    }
    .keypoints-layout .keypoint-card h3 {
        font-size: 20px !important;
        text-transform: uppercase;
    }
    .keypoints-layout .keypoint-card h3 a {
        color: var(--white);
        text-decoration: none;
    }
    .keypoints-layout .keypoint-card h3 a:hover {
        color: var(--aquamarine);
    }
    /** icons **/
    .keypoint-icon {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }
    .keypoint-icon:before {
        display: block;
        content: "";
        min-width: 40px;
        width: 40px;
        height: 40px;
        margin: 0 0.4rem 0 0;
        background: var(--aquamarine);
        -webkit-mask-image: url(../img/key-arrow.svg);
        mask-image: url(../img/key-arrow.svg);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-position: center;
    }

    .keypoint-icon.group:before {
        -webkit-mask-image: url(../img/group-icon.svg);
        mask-image: url(../img/group-icon.svg);
    }
    .keypoint-icon.target:before {
        -webkit-mask-image: url(../img/target-icon.svg);
        mask-image: url(../img/target-icon.svg);
    }
    .keypoint-icon.info:before {
        -webkit-mask-image: url(../img/info-icon.svg);
        mask-image: url(../img/info-icon.svg);
    }
    .keypoint-icon.analysis:before {
        -webkit-mask-image: url(../img/analysis-icon.svg);
        mask-image: url(../img/analysis-icon.svg);
    }
    .keypoint-icon.space:before {
        -webkit-mask-image: url(../img/space-icon.svg);
        mask-image: url(../img/space-icon.svg);
    }
    .keypoint-icon.arrow:before {
        -webkit-mask-image: url(../img/key-arrow.svg);
        mask-image: url(../img/key-arrow.svg);
    }

    @media (max-width:1024px) {
        .keypoints-layout .keypoint-card {
            width: calc(50% - 1.4rem);
        }
    }
    @media (max-width:767px){
        .keypoints-layout .keypoint-card {
            width: calc(100% - 1.4rem);
        }
    }



.btn-all:after {
    display: block;
    content: "";
    width: 7.7rem;
    height: 1.6rem;
    margin: 0 0 0 1rem;
    background: var(--enisa-blue);
    -webkit-mask-image: url(../images/arrow-btn-all.svg);
    mask-image: url(../images/arrow-btn-all.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

/*** RELATED LINKS NEWS **/
.related-links-wrapper {
  display: flex;
  flex-wrap: wrap;
}
.page-node-type-landing-pages .related-links-wrapper {
  display: flex;
  flex-direction: column;
}
.related-links-news, 
.external-links-news {
  flex: 6;
}
.related-links-events {
  flex: 100%;
}
.related-links-news ul, 
.external-links-news ul,
.related-links-events ul {
  list-style-type: none !important;
  margin: 0.5rem 0 !important;
  padding-left: 0rem;
}
.related-links-news ul li, 
.external-links-news ul li,
.related-links-events ul li {
  margin: 0.5rem;
  list-style-type: none !important;
}
.related-links-news ul li a, 
.external-links-news ul li a,
.related-links-events ul li a {
  text-decoration: none;
  color: var(--white);
  font-family: 'notesesareg';
  text-transform: uppercase;
  display: flex;
  align-items: flex-start;
}
.related-links-news ul li a:before, 
.external-links-news ul li a:before,
.related-links-events ul li a:before {
    display: block;
    content: "";
    width: 1.8rem;
    min-width: 1.8rem;
    height: 1rem;
    margin: 0;
    background: var(--aquamarine);
    -webkit-mask-image: url(../img/key-arrow.svg);
    mask-image: url(../img/key-arrow.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center left;
    mask-position: center left;
    -webkit-mask-size: contain;
    mask-size: 1rem;
    position: relative;
    top: 0.4rem;
    transition: all 0.4s;
}
.related-links-news ul li a:hover:before, 
.external-links-news ul li a:hover:before,
.related-links-events ul li a:hover:before {
    -webkit-mask-position: 4px;
    mask-position: 4px;
    transition: all 0.4s;
}
.related-links-news, 
.external-links-news, 
.related-links-events  {
    background: #003247;
    padding: 1rem;
    display: block;
    border-radius: 0.6rem; 
    margin:0 1rem 2rem 0; 
}
.region-sidebar-second .related-links-news, 
.region-sidebar-second .external-links-news, 
.region-sidebar-second .related-links-events  {
    margin:0 0rem 1rem 0; 
}
.related-links-news .url-news {
  word-break: break-word;
}
.related-links-news h2, 
.external-links-news h2, 
.related-links-events h2 {
    padding: 0.4rem 0.8rem !important;
    background: var(--background-blue);
    border-radius: 4rem;
    margin-bottom: 1.2rem !important;
    font-size: 1rem !important;
}
.related-links-news h3, 
.external-links-news h3, 
.related-links-events h3 {
    font-size: 1rem !important;
    color: var(--white);
    background: var(--background-blue);
    display: inline-block;
    padding: 0.4rem 0.8rem !important;
    border-radius: 4rem;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    margin: 0.5rem 0 1.2rem;
}
@media (max-width: 1024px) {
  .related-links-wrapper {
    flex-direction: column;
  }
}
.downloads ul {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    list-style-type: none;
}
.downloads ul li{
    list-style-type: none !important;
}








/* Bug in related content caused by the highlighted on home entity queue */
.field--name-field-related-content .highlighted-img > div{
    width: 100%;
    z-index: 1;
    margin-bottom: 0px;
}
.field--name-field-related-content .highlighted-title{

}
.field--name-field-related-content .highlighted-img:hover{
    box-shadow: 0 0px 20px rgb(0 0 0 / 15%);
    transition: box-shadow 0.4s ease-in-out;
}


/* end of the bug in related content caused by the highlighted on home entity queue */

main article .field--name-body li{
    list-style: unset;
}

.hide > div > div > h1 {
    display: none !important;
}

.block-bootstrapartes-account-menu-menu{
    display: none;
}

/* align images into the body */
.align-left {
    float: left;
    margin-right: 1.6rem;
}
.align-right {
    float: right;
    margin-left: 1.6rem;
}


.file--application-pdf{
    background-image: none;   
}
.node--type-news-and-events .file--application-pdf {
    background-image: none;
}
.node--type-news-and-events .field--name-field-attachments-news .field__label {
    font-family: 'notesesareg' !important;
    font-size: 1.5rem;
    margin: 0;
    padding: 0.6rem 0;
    color: var(--whiteLight);
    text-transform: uppercase;
    font-weight: normal;
}
