body.node-type-proyectos #content .contenido-proyecto .bloque1 .cifras {
    position: absolute;
    left: calc(50% + 50px);
    top: 0 !important;
}


/* GENERAL */

.destacados{
  color: #464646;
  box-sizing: border-box;
}
.destacados img.img-svg{
  display: inline-block;
  height: 50px;
  background-size: cover;
  margin: 0 auto;
}
.destacados h3{
  font-family: 'Roboto-Regular', Arial, sans-serif !important;
  font-weight: normal;
}
.destacados p,
.destacados span{
  font-size: 14px;
  line-height: 19px;
  font-style: italic;
  margin: 0;
}


/* MEGADESTACADO */

#megadestacado .md-proyect {
    width: 38%;
    padding-right: 25px;
}

#megadestacado .md-others h3 {
    font-family: 'Roboto-Regular', Arial, sans-serif !important;
    font-size: 22px;
    line-height: 28px;
    font-style: normal;
    margin-bottom: 20px;
}

#megadestacado h2 img {
    max-width: 50px;
    margin-bottom: 20px;
}

#megadestacado .proyect-messaje {
    background: #ff8200;
}

#megadestacado .proyect-testimony {
    color: #fff;
    padding: 25px;
    background: #ff8200;
    border: none;
}

#megadestacado .proyect-testimony:after {
    background: #FF6200;
    opacity: 1;
    z-index: 1;
}

#megadestacado .proyect-testimony p {
    font-family: 'Roboto-Regular', Arial, sans-serif !important;
    font-size: 16px;
    margin: 0;
}

#megadestacado .md-proyect .btn {
    width: auto;
    min-width: 200px;
    padding: 12px 16px;
    margin-left: 0;
}

#megadestacado li {
    font-family: 'Roboto-Regular', Arial, sans-serif !important;
    line-height: 22px;
    padding: 20px 0;
    border-color: #ddd;
}

#megadestacado li:last-child {
    border-color: #ddd;
}


/* DESTACADO SENCILLO */

.destacado-sencillo-foto{
  width: 100%;
  max-width: 338px;
  height: 500px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  /*align-items: center;*/
  border: 1px solid #ddd;
}
.destacado-sencillo-foto h3{
  line-height: 22px;
  font-size: 18px;
  margin: 10px 0;
  quotes: "“" "”" "‘" "’";
}
.destacado-sencillo-foto h3 strong{
  font-family: 'repsolregular'!important;
}
.destacado-sencillo-foto h3:before{
  content: open-quote;
  font-family: 'repsolbold'!important;
  font-size: 36px;
  vertical-align:top;
  padding-right: 5px;
}
.destacado-sencillo-foto h3:after{
  content: close-quote;
  font-family: 'repsolbold'!important;
  font-size: 36px;
  vertical-align:middle;
  padding-left: 5px;
  align-self:flex-end;
}
.destacado-sencillo-foto p{
  font-size: 13px;
  line-height: 18px;
  font-style: normal;
  width: 200px;
  text-align: left;
  margin: 50px 0 0;
}
.destacado-sencillo-foto p.derecha{
  text-align: right;
  margin: 50px 0 0 calc(100% - 200px);
}
.destacado-sencillo-foto p strong{
  color: #ff8200;
  display: block;
  font-family: 'Roboto-Medium', Arial, sans-serif !important;
  font-weight: normal;
  margin-bottom: 2px;
}
.destacado-sencillo-foto span{
  font-size: 14px;
  line-height: 16px;
}

.destacado-sencillo-foto.ciclo-conferencias{
        background: #ffffff url('/sites/all/themes/fundacionrepsol/images/destacados/img-ciclo-conferencias.jpg') 0 bottom  no-repeat;
}
.destacado-sencillo-foto.catedra-transicion-energetica{
        background: #ffffff url('/sites/all/themes/fundacionrepsol/images/destacados/img-catedra-transicion-energetica.jpg') 0 200px  no-repeat;
}
.destacado-sencillo-foto.talleres-aprendenergia{
        background: #ffffff url('/sites/all/themes/fundacionrepsol/images/destacados/img-talleres-aprendenergia.jpg') 0 bottom  no-repeat;
}
.destacado-sencillo-foto.fondo-emprendedores{
    background: #ffffff url('/sites/all/themes/fundacionrepsol/images/destacados/img-fondo-emprendedores.jpg') bottom right  no-repeat;
}
.destacado-sencillo-foto.proyecto-eworld{
    background: #ffffff url('/sites/all/themes/fundacionrepsol/images/destacados/img-proyecto-eworld.jpg') bottom right  no-repeat;
}
.destacado-sencillo-foto.becas{
    background: #ffffff url('/sites/all/themes/fundacionrepsol/images/destacados/img-becas.jpg') 0 bottom  no-repeat;
    background-size: 140px;
}

.destacado-sencillo-foto.talleres-aprendenergia h3:before,
.destacado-sencillo-foto.talleres-aprendenergia h3:after{display: none;}

/* DESTACADO NARANJA - MARRON*/

.destacado-contorno{
  padding: 16px;
  position: relative;
  padding: 6px;
  text-align: center;
  width: 298px;
}
.destacado-contorno:first-child {
    margin-bottom: 30px;
}
.contorno-naranja{
  background: linear-gradient(to right, #fda300, #ff8b00);
}
.contorno-marron{
  background: linear-gradient(to right, #ddd, #aaa);
  margin-left: 25%;
}
.destacado-contorno-blanco{
  
  height: 220px;
  background: #ffffff;
  padding: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.destacado-contorno-blanco div{
  margin: 0 auto;
}
.destacado-contorno h3{
  font-size: 18px;
  margin: 0;
}
.destacado-contorno h3 strong{
  font-family: 'Roboto-Medium', Arial, sans-serif !important;
  font-weight: normal;
  display: block;
  font-size: 22px;
  line-height: 26px;
  margin-bottom: 5px;
}

/* DESTACADO MARRON */

.destacado-contorno-ancho{
  padding: 16px;
  position: relative;
  background: linear-gradient(to right, #aaa, #464646);
  padding: 6px;
  text-align: left;
}
.destacado-contorno-ancho-blanco{
  width: 430px;
  height: 325px;
  background: #ffffff;
  padding: 20px;
}
.destacado-contorno-ancho h3{
  line-height: 23px;
  font-size: 17px;
  font-style: italic;
  width: 250px;
  margin-top: 0;
  quotes: "“" "”" "‘" "’";
}
.destacado-contorno-ancho h3:before{
  content: open-quote;
  font-family: 'repsolbold'!important;
  font-size: 30px;
  vertical-align:top;
  padding-right: 5px;
}
.destacado-contorno-ancho h3:after{
  content: close-quote;
  font-family: 'repsolbold'!important;
  font-size: 30px;
  vertical-align:middle;
  padding-left: 5px;
  align-self:flex-end;
}
.destacado-contorno-ancho h3.social-voluntario{
  font-size: 27px;
  width: 150px;
}
.destacado-contorno-ancho h3.social-voluntario strong{
  font-family: 'repsolbold'!important;
  display: block;
  font-size: 38px;
  line-height: 38px;
  margin-bottom: 5px;
}
.destacado-contorno-ancho h3.social-voluntario:before,
.destacado-contorno-ancho h3.social-voluntario:after{
  display: none;
}
.destacado-contorno-ancho p{
  font-size: 14px;
  line-height: 19px;
  font-style: normal;
  width: 250px;
}
.destacado-contorno-ancho p strong{
  display: block;
  font-family: 'Roboto-Medium', Arial, sans-serif !important;
  font-weight: normal;
  margin-bottom: 2px;
}
.destacado-contorno-ancho-blanco.fondo-emprendedores{
  background: #ffffff url('/sites/all/themes/fundacionrepsol/images/destacados/img-fondo-emprendedores.jpg') right bottom  no-repeat;
}
.destacado-contorno-ancho-blanco.repsol-impacto-social{
  background: #ffffff url('/sites/all/themes/fundacionrepsol/images/destacados/img-repsol-impacto-social.jpg') right bottom  no-repeat;
}
.destacado-contorno-ancho-blanco.proyecto-eworld{
  background: #ffffff url('/sites/all/themes/fundacionrepsol/images/destacados/img-proyecto-eworld.jpg') right bottom  no-repeat;
}
.destacado-contorno-ancho-blanco.energia-conciencia{
  background: #ffffff url('/sites/all/themes/fundacionrepsol/images/destacados/img-energia-conciencia.jpg') right bottom  no-repeat;
}
.destacado-contorno-ancho-blanco.social-voluntario{
  background: #ffffff url('/sites/all/themes/fundacionrepsol/images/destacados/img-social-voluntario.jpg') right bottom  no-repeat;
}

/* DESTACADO FRANJA WEBINARS */
#destacado-webinars {
  background: #f2f2f2;
  padding: 30px 0;
}
#destacado-webinars > div {
  display: flex;
  flex-flow: row;
  width: 95%;
  max-width: 1170px;
  text-align: left;
  margin: 0 auto;
}

#destacado-webinars > div > div:first-child {
  display: flex;
  flex-flow: column;
  flex-shrink: 0;
  align-items: flex-start;
  justify-content: center;
  width: 32%;
  padding-right: 20px;
  color: #464646;
}
#destacado-webinars > div > div:first-child .titulo {
  font-family: 'Roboto-Medium', Arial, sans-serif !important;
  font-size: 30px;
  line-height: 34px;
}
#destacado-webinars > div > div:first-child .subtitulo {
  font-size: 20px;
  line-height: 26px;
  font-weight: normal;
  margin: 7px 0 15px;
}

#destacado-webinars > div > .eventos {
  display: flex;
  flex-flow: row;
}
#destacado-webinars > div > .eventos a {
  display: flex;
  flex-flow: row;
  align-items: center;
  border: 4px solid #ddd;
}
#destacado-webinars > div > .eventos a:first-child {
    margin-right: 10px;
}
#destacado-webinars > div > .eventos a:last-child {
    margin-left: 10px;
}
#destacado-webinars > div > .eventos a.show-icon {}
#destacado-webinars > div > .eventos a.show-icon:before {
  content: '';
  width: 90px;
  height: 80px;
  margin: 50px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url(../../images/svg/icon-ciclo-conferencias.svg);
  display: block;
}
#destacado-webinars > div > .eventos a.show-icon .destacado {
  border-left: 2px solid #e0ded9;
}
#destacado-webinars > div > .eventos a.w50 {
  width: 50%;
}
#destacado-webinars > div > .eventos a .destacado {
  display: flex;
  flex-flow: column;
  width: 100%;
  height: 100%;
}
#destacado-webinars > div > .eventos a .destacado .contenido {
  display: flex;
  flex-flow: column;
  flex-grow: 1;
  color: #464646;
  margin: 25px;
}
#destacado-webinars > div > .eventos a .destacado .contenido .fecha {
  font-size: 14px;
}
#destacado-webinars > div > .eventos a .destacado .contenido .fecha span {
  font-family: 'Roboto-Medium', Arial, sans-serif !important;
  font-size: 28px;
  color: #ff8200;
  margin-right: 2px;
}
#destacado-webinars > div > .eventos a .destacado .contenido .horario {
  font-size: 17px;
  margin-bottom: 5px;
}
#destacado-webinars > div > .eventos a .destacado .contenido .titulo {
  font-family: 'Roboto-Medium', Arial, sans-serif !important;
  font-size: 20px;
  line-height: 26px;
}
#destacado-webinars > div > .eventos a .destacado .enlace {
  display: flex;
  justify-content: flex-end;
}
#destacado-webinars > div > .eventos a .destacado .enlace:after {
  content: "\f105";
  font-family: "FontAwesome";
  color: #00809A;
  background: #f2f2f2;
  width: 54px;
  height: 54px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: background 200ms cubic-bezier(0.645, 0.045, 0.355, 1);
  border-left: 1px solid #ddd;
  border-top: 1px solid #ddd;
}
#destacado-webinars > div > .eventos a:hover .destacado .enlace:after,
#destacado-webinars > div > .eventos a:focus .destacado .enlace:after {
  background: #f2f2f2;
  color: #00809A;
  border-left: none;
}
#destacado-webinars > div > .eventos a .destacado .enlace .boton {
  opacity: 0;
  background: #f2f2f2;
  color: #00809A;
  height: 55px;
  padding: 0 0px 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: 400;
  font-size: 14px;
  transition: padding-right 200ms cubic-bezier(0.645, 0.045, 0.355, 1), opacity 200ms cubic-bezier(0.645, 0.045, 0.355, 1);
}
#destacado-webinars > div > .eventos a:hover .destacado .enlace .boton,
#destacado-webinars > div > .eventos a:focus .destacado .enlace .boton {
  opacity: 1;
  padding-right: 56px;
  border-left: 1px solid #ddd;
  border-top: 1px solid #ddd;
}
#destacado-webinars > div > .eventos a .destacado .enlace .boton .boton-destacado {
  font-size: 14px;
  color: #00809A;
}

/* DESTACADOS HOME */

#destacados-home-2 {
    width: 95%;
    max-width: 1170px !important;
    padding: 0 !important;
}

#destacados-home-2 .lista-destacados .destacado .contenido .titulo,
#destacados-home-2 .lista-destacados .destacado .contenido .texto {
    color: #464646 !important;
}

#destacados-home-2 .lista-destacados .destacado .contenido .titulo {
    font-family: 'Roboto-Medium', Arial, sans-serif !important;
    font-size: 20px !important;
    line-height: 26px;
}

#destacados-home-2 .lista-destacados .destacado .contenido .texto {
    font-family: 'Roboto-Regular', Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 22px;
}

#destacados-home-2 .lista-destacados .destacado .enlace .boton,
#destacados-home-2 .lista-destacados a:hover .destacado .enlace .boton,
#destacados-home-2 .lista-destacados a:hover .destacado .enlace:after {
    color: #00809A !important;
    background: #fff !important;
}

#destacados-home-2 .lista-destacados .destacado .contenido,
#destacados-home-2 .lista-destacados a .destacado .enlace {
    border-color: #ddd !important;
}

#destacados-home-2 .lista-destacados .destacado .enlace:after {
    color: #00809A !important;
    width: 54px;
    height: 54px;
    background: #fff !important;
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
}

#destacados-home-2 .lista-destacados .destacado .enlace .boton {
    height: 55px !important;
}

#destacados-home-2 .lista-destacados a {
    margin: 0 !important;
}

#destacados-home-2 .lista-destacados a:nth-child(even) {
    margin: 0 20px !important;
}

#destacados-home-2 .lista-destacados a:hover .destacado .enlace .boton {
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
}

#destacados-home-2 .lista-destacados a:hover .destacado .enlace:after {
    border-left: none;
}


@media (max-width: 1024px) {
    body.node-type-proyectos #content .contenido-proyecto .bloque1 .cifras {
        width: 41%;
        max-width: 338px;
    }
    body.node-type-proyectos #content .contenido-proyecto .bloque1 .cifras .destacado-sencillo-foto {
        padding: 25px !important;
    }
    body.node-type-proyectos #content .contenido-proyecto .bloque1 .cifras .destacado-sencillo-foto p {
        width: 100%;
        padding-right: 50%;
        box-sizing: border-box;
    }
    body.node-type-proyectos #content .contenido-proyecto .bloque1 .cifras .destacado-contorno {
        width: 100%;
        box-sizing: border-box;
    }
    body.node-type-proyectos #content .contenido-proyecto .bloque1 .cifras .destacado-contorno h3 strong {
        font-size: 26px;
        line-height: 26px;
        margin-bottom: 2px;
    }
    body.node-type-proyectos #content .contenido-proyecto .bloque1 .cifras .destacado-contorno-ancho {
        max-width: 338px !important;
    }
    body.node-type-proyectos #content .contenido-proyecto .bloque1 .cifras .destacado-contorno-ancho .destacado-contorno-ancho-blanco {
        width: 100% !important;
        background-size: 160px;
    }
    body.node-type-proyectos #content .contenido-proyecto .bloque1 .cifras .destacado-contorno-ancho .destacado-contorno-ancho-blanco p {
        width: 50% !important;
    }
    body.node-type-proyectos #content .contenido-proyecto .bloque1 .cifras .destacado-contorno {
        margin-left: 0 !important;
    }

    /* MEGADESTACADO */
    #megadestacado .md-proyect,
    #megadestacado .md-utilities {
        width: 50%;
    }
    #megadestacado .md-utilities {
        flex-direction: column;
        justify-content: flex-start;
    }
    #megadestacado .md-image,
    #megadestacado .md-others,
    #megadestacado .proyect-testimony {
        width: 100%;
    }
    #megadestacado .md-image {
        height: 50%;
    }

    /* FONDO DE EMPRENDEDORES - BLOQUE 01 - DESTACADO SENCILLO FOTO */
    body.section-fondo-emprendedores #content .contenido-proyecto .bloque1 .cifras .destacado-sencillo-foto {
        background-size: 190px;
    }

    /* BECAS - BLOQUE 01 - DESTACADO SENCILLO FOTO */
    body.section-becas #content .contenido-proyecto .bloque1 .cifras .destacado-sencillo-foto p {
        padding-left: 45%;
        padding-right: 0;
        margin-left: 0;
    }

    /* DESTACADO FRANJA WEBINARS */
    #destacado-webinars > div > .eventos a .destacado .enlace .boton {
        opacity: 1;
    }
    #destacado-webinars > div > .eventos a .destacado .enlace:after {
        border-left: none;
    }
    #destacado-webinars > div > .eventos a .destacado .enlace .boton,
    #destacados-home-2 .lista-destacados .destacado .enlace .boton {
        border-top: 1px solid #ddd;
        border-left: 1px solid #ddd;
    }
    #destacados-home-2 .lista-destacados .destacado .enlace:after {
        border-left: none;
    }
    #destacados-home-2 .lista-destacados a:nth-child(even) {
        margin: 0 !important;
    }
    #destacados-home-2 .lista-destacados {
        margin-top: 25px !important;
        margin-bottom: 60px !important;
    }
    #destacados-home-2 .slick-dots {
        margin-top: 25px !important;
    }
    #news h2.news-title {
        margin-bottom: 25px;
    }
}

@media (max-width: 900px) {
    #news h2.news-title {
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    /* MEGADESTACADO */
    #megadestacado {
        flex-direction: column;
    }
    #megadestacado h2 {
        padding-left: 0;
    }
    #megadestacado .md-proyect,
    #megadestacado .md-utilities {
        width: 100%;
    }
    #megadestacado .md-proyect {
        padding-right: 0;
        margin-bottom: 35px;
    }

    /* BLOQUE 01 - DESTACADO SENCILLO FOTO */
    body.node-type-proyectos #content .contenido-proyecto .bloque1 .cifras .destacado-sencillo-foto {
        max-width: 338px !important;
        height: 460px;
        padding: 20px !important;
        background-size: 180px;
    }
    body.node-type-proyectos #content .contenido-proyecto .bloque1 .cifras .destacado-sencillo-foto h3 {
        font-size: 18px !important;
        line-height: 22px !important;
    }
    body.node-type-proyectos #content .contenido-proyecto .bloque1 .cifras .destacado-sencillo-foto p {
        margin: 10px 0 0 !important;
    }

    /* BLOQUE 01 - DESTACADO SENCILLO FOTO - CICLO CONFERENCIAS */
    body.node-type-proyectos #content .contenido-proyecto .bloque1 .cifras .destacado-sencillo-foto.ciclo-conferencias,
    body.node-type-proyectos #content .contenido-proyecto .bloque1 .cifras .destacado-sencillo-foto.catedra-transicion-energetica,
    body.node-type-proyectos #content .contenido-proyecto .bloque1 .cifras .destacado-sencillo-foto.talleres-aprendenergia {
        background-size: 100%;
    }

    /* BECAS - BLOQUE 01 - DESTACADO SENCILLO FOTO */
    body.section-becas #content .contenido-proyecto .bloque1 .cifras .destacado-sencillo-foto {
        background-size: 140px;
    }
    body.section-becas #content .contenido-proyecto .bloque1 .cifras .destacado-sencillo-foto p {
        padding-left: 50%;
        padding-right: 0;
        align-self: flex-end;
    }

    /* DESTACADO FRANJA WEBINARS */
    #destacado-webinars > div {
      flex-flow: column;
    }
    #destacado-webinars > div > div:first-child {
      width: 100%;
      padding: 0;
    }
    #destacado-webinars > div > div:first-child a.btn {
      margin: 10px 0 20px;
    }
    #destacado-webinars > div > .eventos {
      flex-flow: column;
    }
    #destacado-webinars > div > .eventos a {
      margin: 10px 0 !important;
      width: 100% !important;
    }
    #destacado-webinars > div > .eventos a .destacado {
      width: 100%;
    }
}

@media (max-width: 600px) {
    /* MEGADESTACADO */
    #megadestacado .md-proyect .btn {
        width: 100%;
    }

    /* DESTACADO FRANJA WEBINARS */
    #destacado-webinars > div {
      width: 90%;
    }
    #destacado-webinars > div > div:first-child a.btn {
        width: 100%;
    }

    body #destacados-home-2 {
        width: 90%;
    }
    body #destacados-home-2 .lista-destacados {
        width: 100%;
    }

    #news .news-content > div {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 414px) {
    /* DESTACADO FRANJA WEBINARS */
    #destacado-webinars > div > .eventos a.show-icon:before {
      width: 70px;
      height: 50px;
      margin: 10px;
    }
    #destacado-webinars > div > .eventos a .destacado .contenido {
      margin: 20px;
    }
    #destacado-webinars > div > .eventos a .destacado .contenido .titulo {
      font-size: 18px;
    }
    #destacado-webinars > div > .eventos a .destacado .enlace .boton {
      opacity: 1;
      padding: 0 20px;
    }
}