/*-----------------------------------------*/
/* CABECERA */

body.section-agenda #content #arista-listadoeventos {
  background: none !important;
  border-top: 1px #ddd solid !important;
  border-bottom: 1px #ddd solid !important;
  margin-bottom: 50px;
}
body.section-agenda #content #arista-listadoeventos > div{
  padding: 30px 20px;
}
body.section-agenda #content #arista-listadoeventos > div .form-item input,
body.section-agenda #content #arista-listadoeventos > div .form-item select {
  height: auto !important;
  padding: 13px 16px !important;
  border: 1px solid #ddd !important;
  border-radius: 5px !important;
  transition: all .5s ease;
}
body.section-agenda #content #arista-listadoeventos > div .form-item input::placeholder,
body.section-agenda #content #arista-listadoeventos > div .form-item select {
  color: #757575 !important;
}
body.section-agenda #content #arista-listadoeventos > div .form-item input::placeholder,
body.section-agenda #content #arista-listadoeventos > div .form-item.form-item-tipo-evento select, 
body.section-agenda #content #arista-listadoeventos > div .form-item.form-item-mes select, 
body.section-agenda #content #arista-listadoeventos > div .form-item.form-item-ano select,
body.section-agenda #content #arista-listadoeventos > div .form-item.form-item-tipo-evento:after, 
body.section-agenda #content #arista-listadoeventos > div .form-item.form-item-mes:after, 
body.section-agenda #content #arista-listadoeventos > div .form-item.form-item-ano:after,
body.section-agenda #content .view-agenda-listado2 {
  color: #464646;
}
body.section-agenda #content #arista-listadoeventos > div .form-item input:hover,
body.section-agenda #content #arista-listadoeventos > div .form-item select:hover {
    border-color: #aaa !important;
}
body.section-agenda #content #arista-listadoeventos > div .form-item.form-item-tipo-evento:after, 
body.section-agenda #content #arista-listadoeventos > div .form-item.form-item-mes:after, 
body.section-agenda #content #arista-listadoeventos > div .form-item.form-item-ano:after{
  width: 50px;
  height: 100%;
  color: #00809A;
  font-size: 20px;
  border: none;
}
body.section-agenda #content .view-agenda-listado2 p{
  text-align: center;
  font-family: 'repsollight' !important;
  font-size: 30px;
  margin: 20px 0 0 0;
}
/* Botón Filtro */
body.section-agenda #content #arista-listadoeventos > div #edit-submit {
  width: auto;
  height: auto;
  text-transform: none;
  padding: 0 50px;
  background: #00809A;
  border: 2px solid #00809A;
  border-radius: 5px !important;
  -ms-border-radius: 5px !important;
  -webkit-border-radius: 5px !important;
  transition: all .5s ease;
  -ms-transition: all .5s ease;
  -webkit-transition: all .5s ease;
  box-sizing: border-box;
  -ms-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

body.section-agenda #content #arista-listadoeventos > div #edit-submit:hover {
  border-color: #00809A;
  color: #00809A;
}
/*-----------------------------------------*/




/*-----------------------------------------*/
/* LISTADO AGENDA */
body.section-agenda #content .view-agenda-listado2 .btn-participar{
  margin-bottom: 25px;
  transition: all .5s ease;
  -ms-transition: all .5s ease;
  -webkit-transition: all .5s ease;
}
body.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item{
  min-height: auto;
  margin: 0;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  padding-top: 10px;
}
body.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item,
body.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item .fecha{
  background: none;
}
body.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item .fecha{
  border-right: 6px #ff8200 solid;
  text-align: center;
  border-bottom: none;
  justify-content: space-evenly;
  transition: all .5s ease;
  -ms-transition: all .5s ease;
  -webkit-transition: all .5s ease;
}
body.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item .contenido{
  border-bottom: none;
  margin-left: 15px;
  padding: 20px 21px;
}
body.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item .contenido .texto{
  padding-right: 50px;
}

body.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item .contenido .texto .horario,
body.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item .contenido .texto .titulo,
body.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item .fecha .dia, 
body.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item .fecha .mes {
  color: #464646;
  transition: all .5s ease;
  -ms-transition: all .5s ease;
  -webkit-transition: all .5s ease;
}
body.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item .contenido .texto .titulo {
  font-size: 26px;
  line-height: 32px;
  margin-bottom: 15px;
}
body.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item .fecha .dia{
  font-size: 40px;
  font-family: 'Roboto-Medium', Arial, sans-serif !important;
}
ody.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item .fecha .mes {
  font-size: 15px;
  letter-spacing: 1px;
}
body.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item .contenido .botones button.btn-calendario {
  border: 1px #ddd solid;
  border-radius: 8px;
  display: none;
}
body.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item .contenido .botones button{
  height: 60px;
  color: #fff;
  background: #00809A;
  transition: all .5s ease;
  -ms-transition: all .5s ease;
  -webkit-transition: all .5s ease;
}
body.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item .contenido .botones button.btn-calendario .fa-calendar:before {
    font-size: 20px;
}
body.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item .contenido .botones button:hover {
    background: #fff;
    color: #00809A;
}
body.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item .contenido .botones button.btn-calendario:focus:after, 
body.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item .contenido .botones button.btn-calendario:hover:after{
    color: #00809A;
    border: 1px #ddd solid;
    background: #FFF;
    font-family: 'titilliumtext22l_regular' !important;
    line-height: 20px;
    top: -1px;
    width: 300px;
    right: 70px;
    -webkit-box-shadow: 0 1px 2px 0 #ddd;
    box-shadow: 0 1px 2px 0 #ddd;
}

body.section-agenda #content .view-agenda-listado2 .btn-participar:hover{
  background:#f2f2f2;
}
body.section-agenda #content .view-agenda-listado2 .btn-participar:hover .agenda-item .fecha{
  border-right: 3px #ff8200 solid;
}
body.section-agenda #content .view-agenda-listado2 .btn-participar:hover .agenda-item .contenido .texto .titulo,
body.section-agenda #content .view-agenda-listado2 .btn-participar:hover .agenda-item .fecha .dia, 
body.section-agenda #content .view-agenda-listado2 .btn-participar:hover .agenda-item .fecha .mes {
  color: #ff8200;
}

/* Botón Participa */
body.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item .contenido .botones button.btn-participar-ext{
  background: #00809A;
  border: 2px solid #00809A;
  border-radius: 5px !important;
  -ms-border-radius: 5px !important;
  -webkit-border-radius: 5px !important;
  transition: all .5s ease;
  -ms-transition: all .5s ease;
  -webkit-transition: all .5s ease;
  min-width: auto;
  padding: 17px 30px;
  color: #ffffff;
  height: min-content;
  margin-right: 40px;
}
body.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item .contenido .botones button:hover.btn-participar-ext {
  border-color: #00809A;
  color: #00809A;
  background: #ffffff;
}
/*-----------------------------------------*/




/*-----------------------------------------*/
/* PROYECTOS RELACIONADOS */

body.section-agenda .listado.noticias{
  width: 100%;
  max-width: 1240px;
  padding: 40px 20px 80px;
  margin: 0 auto;
  box-sizing: border-box;
  background: none;
}
body.section-agenda .listado.noticias:after{
  display: none;
}
body.section-agenda .listado.noticias{
  background: none !important;
}

body.section-agenda .listado.noticias:after{
  background: none;
}
body.section-agenda .listado.noticias .lista-destacados {
  justify-content: space-between;
}
body.section-agenda .listado.noticias .lista-destacados > a {
    width: calc((100% - 40px) /3);
    margin: 0;
}

@media (max-width: 1024px) {
    body.section-agenda .listado.noticias .lista-destacados > a {
        width: calc((100% - 20px) / 2);
    }
}

@media (max-width: 767px) {
    body.section-agenda .listado.noticias .lista-destacados > a {
        width: 100%;
        margin-bottom: 20px;
    }
}

/*-----------------------------------------*/


/*-----------------------------------------*/
/* Botón - Más actualidad */

body.section-agenda .listado.noticias a.btn-actualidad {
  background: #00809A;
  border: 2px solid #00809A;
  border-radius: 5px;
  -ms-border-radius: 5px;
  -webkit-border-radius: 5px;
  transition: all .5s ease;
  -ms-transition: all .5s ease;
  -webkit-transition: all .5s ease;
  box-sizing: border-box;
  -ms-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
body.section-agenda .listado.noticias a.btn-actualidad:after {
  content: ""; 
  position: absolute; 
  top: 0; 
  left: 50%; 
  width: 0; 
  height: 100%; 
  background: #fff; 
  border-radius: 5px; 
  transition: all .5s ease;
}
body.section-agenda .listado.noticias a.btn-actualidad:hover {
  color: #00809A;
  border-color: #00809A;
}

body.section-agenda .listado.noticias a.btn-actualidad span{
  position: relative; 
  z-index: 10;
}
/*-----------------------------------------*/



/*-----------------------------------------*/
/* DETALLE EVENTO */
body.section-agenda #content.evento {
    margin: 40px auto 0 auto;
    max-width: 820px;
}
body.section-agenda #content #page-title {
    max-width: none;
    font-size: 46px !important;
    color: #FF6200;
    text-align: left;
    display: flex;
    align-items: start;
    font-weight: normal;
    text-transform: inherit;
    margin: 0 0 40px;
    line-height: 50px;
    position: relative;
}

body.section-agenda #content #page-title:before{
    content: '';
    height: 48px;
    background-repeat: no-repeat;
    border-left: 5px solid #ff8200;
    margin-right: 0;
    display: block;
    background: none;
    width: 30px;
    margin-bottom: 0;
    top: 0;
    left: 0;
    transform: none;
}

body.section-agenda article.node-eventos .evento-contenido .mapa-contenido h2{
  font-weight: 600!important;
  font-size: 32px!important;
  line-height: 1.2em!important;
  letter-spacing: 0.1rem!important;
  max-width: 430px;
  margin-bottom: 30px;
  color: #464646;
}
body.section-agenda article.node-eventos .evento-contenido .mapa-contenido h2:before{display: none;}
body.section-agenda article.node-eventos .evento-contenido .mapa-contenido h2:after{
  content: '';
  height: 5px;
  background-repeat: no-repeat;
  border-left: 285px solid #ff8200;
  display: flex;
  align-items: flex-start;
  margin-top: 18px;
  margin-left: -100px;
}
body.section-agenda article.node-eventos .evento-contenido .body p, 
body.section-agenda article.node-eventos .evento-contenido .body ul, 
body.section-agenda article.node-eventos .evento-contenido .body li{
  font-size: 18px !important;
  line-height: 33px !important;
  color: #464646;
}
body.section-agenda article.node-eventos .evento-contenido .bloques .bloque {
  background: none;
  margin-right: 30px;
  width: calc(((100% - 30px) / 3 ));
  border: 5px #ddd solid;
}
body.section-agenda article.node-eventos .evento-contenido .bloques .bloque .titulo {
  height: 65px;
  border-bottom: 1px solid #ddd;
  text-transform: none;
  font-size: 20px;
  color: #464646;
  letter-spacing: 1px;
  padding: 15px;
  box-sizing: border-box;
}
body.section-agenda article.node-eventos .evento-contenido .bloques .bloque .titulo:before{
  background: none;
  color: #ff8200;
  width: 18px;
  height: auto;
  display: inline-block;
}
body.section-agenda article.node-eventos .evento-contenido .bloques .bloque.donde .titulo:before {
  content: url(../../images/svg/ico-localizador.svg);
}
body.section-agenda article.node-eventos .evento-contenido .bloques .bloque.cuando .titulo:before {
  content: url(../../images/svg/ico-calendario.svg);
  width: 25px;
}
body.section-agenda article.node-eventos .evento-contenido .bloques .bloque.horario .titulo:before {
    content: url(../../images/svg/ico-duracion.svg);
    width: 25px;
  }
body.section-agenda article.node-eventos .evento-contenido .bloques .bloque .texto{
  color: #464646;
}
body.section-agenda article.node-eventos .evento-contenido .bloques .bloque .texto .negrita {
    font-family: 'Roboto-Medium', Arial, sans-serif !important;
    font-weight: normal;
}
/* Botón Participa */
body.section-agenda article.node-eventos .evento-contenido .participa a{
  background: #00809A;
  border: 2px solid #00809A;
  border-radius: 5px !important;
  -ms-border-radius: 5px !important;
  -webkit-border-radius: 5px !important;
  transition: all .5s ease;
  -ms-transition: all .5s ease;
  -webkit-transition: all .5s ease;
  min-width: auto;
  padding: 17px 30px;
  color: #ffffff;
  height: min-content;
  margin: 0 auto 0 auto;
  width: 150px;
}
body.section-agenda article.node-eventos .evento-contenido .participa a:hover {
  border-color: #00809A;
  color: #00809A;
  background: #ffffff;
}

/* Redes sociales */
body.section-agenda article.node-eventos .evento-contenido .compartir .addthis_toolbox a{
  color: #464646;
  background: #f2f2f2;
}
body.section-agenda article.node-eventos .evento-contenido .compartir .addthis_toolbox a:hover:before{
  background: #00809A;
}
/*-----------------------------------------*/

@media (max-width: 1024px) {
    body.section-agenda #content #arista-listadoeventos > div {
        margin-bottom: 0;
    }
    body.section-agenda #content #arista-listadoeventos > div .form-item.form-item-texto,
    body.section-agenda #content #arista-listadoeventos > div .form-item.form-item-tipo-evento {
        margin-bottom: 20px !important;
    }
    body.section-agenda .lista-destacados a .noticia .enlace .boton {
        padding-right: 56px;
        opacity: 1;
        border-top: 1px solid #ddd;
        border-left: 1px solid #ddd;
    }
    body.section-agenda .lista-destacados a .noticia .enlace:after {
        color: #00809A;
        background: #fff;
    }
    body.section-agenda .lista-destacados {
        justify-content: space-between;
    }
    body.section-agenda .lista-destacados a {
        width: calc((100% - 20px) / 2);
        margin: 0;
    }
    body.section-agenda .lista-destacados a:last-child {
        display: none;
    }
}

@media (max-width: 900px) {
    body.section-agenda .listado.noticias {
        margin-top: 0 !important;
    }
}

@media (max-width: 767px) {
    body.section-agenda .lista-destacados {
        width: 100%;
        flex-direction: column;
    }
    body.section-agenda .lista-destacados a {
        width: 100%;
        margin: 0 0 20px;
    }
}

@media (max-width: 600px) {
    body.section-agenda #content #arista-listadoeventos > div .form-item {
        margin-bottom: 20px !important;
    }
    body.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item {
        padding: 0 0 30px;
    }
    body.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item .fecha {
        padding: 0;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        border: none;
    }
    body.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item .fecha .dia {
        line-height: 40px;
    }
    body.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item .fecha .mes {
        font-size: 13px;
        padding-bottom: 10px;
        margin-left: 0;
        border-bottom: 5px solid #ff8200;
    }
    body.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item .contenido {
        padding: 20px 0 0;
        margin-left: 0;
    }
    body.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item .contenido .texto {
        padding-right: 0;
    }
    body.section-agenda #content .view-agenda-listado2 .btn-participar .agenda-item .contenido .botones {
        margin-top: 20px;
    }
}