@font-face {
  font-family: 'Ventura_Edding';
  src: local('Ventura_Edding'),
       local('Ventura_Edding'),
       local('Ventura_Edding'),
       url(../fonts/Ventura_Edding.otf);
}

@font-face {
  font-family: 'Ventura_Edding_Bold';
  src: local('Ventura_Edding_Bold'),
       local('Ventura_Edding_Bold'),
       local('Ventura_Edding_Bold'),
       url(../fonts/Ventura_Edding_Bold.otf);
}
.comics:hover .ttcomic > .elementor-widget-container{
    background: #fff !important;
    transition: .3s ease;
}
.imgcomic img {
    border: 5px solid transparent !important;
    transition: .3s ease;
}
.comics:hover .imgcomic img {
    border: 5px solid #fff !important;
    transition: .3s ease;
}
.pest .e-n-tab-title {
  padding: 5px 5px 30px 5px !important;
  border-radius: 10px 10px 0 0 !important;
}
.pest .e-n-tab-title-text {
  width: 200px !important;
  height: 100%;
  text-align: center !important;
  justify-content: center;
  padding: 5px 20px 5px 20px;
  border-radius: 10px;
  line-height: 1.2;
}
.pest .e-n-tab-icon {
  display: none !important;
}

#btn-blue .e-n-tab-title-text {
  background: #112656;
}
#btn-pur .e-n-tab-title-text {
  background: #7D318E;
}
#btn-oran .e-n-tab-title-text {
  background: #F9612E;
}
#btn-green .e-n-tab-title-text {
  background: #10A09C;
}

.box-modal {
  position: relative;
  padding: 50px 20px 30px 20px;
}

.box-modal::before {    
    content: "";
    background-image: url('../img/txt-modal.png');
    background-size: cover;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: 0.2;
}

.bg-blue {
  background-color: #112656;
}
.bg-purple {
  background-color: #7D308E;
}
.bg-orange {
  background-color: #FA612D;
}
.bg-green {
  background-color: #10A09C;
}


.content-modal {
  border: 3px solid #FFD668;
  position: relative;
  padding: 30px;
}

.tt-modal {
  background: #FFD668;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  border-radius: 10px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%,-50%);
}
.tt-modal h2{
  margin: 0;
  font-family: 'Ventura_Edding_Bold';
  line-height: 1;
  font-size: 25px;
  color: #112656;
  text-align: center;
  text-transform: uppercase;
  font-weight: normal;
}

.box-border-zz{
  margin-top: 20px;
  position: relative;
  display: flex;
  background-image: url(../img/zz.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 20px 30px;
}
.partc, .area, .miembros{
  width: 33.33%;
  position: relative;
  padding: 15px;
}
.miembrosf{
  width: 100%;
  position: relative;
  padding: 15px;
}

.ttzz{
  width: 90%;
  max-width: 250px;
  padding: 5px 10px;
  border-radius: 5px;
  margin-right: auto;
  margin-left: auto;
}

.ttzzd{
  width: 90%;
  position: relative;
  max-width: 250px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 40px;
  padding-right: 20px;
  border-radius: 5px;
  background: #112656;
  margin-top: 20px;
  margin-bottom: 20px;
}
.ttzzd::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 1px;
  border-top: 3px solid #FFD668;
  left: -20px;
  transform: rotate(-40deg);
  top: 5px;
}
.ttzzd::before {
  content: '';
  position: absolute;
  width: 60px;
  height: 1px;
  border-top: 3px solid #FFD668;
  left: -15px;
  transform: rotate(-40deg);
  top: 10px;
}
.bg-blue .ttzz{
  background: rgba(119, 154, 234, 0.6);
}
.bg-purple .ttzz{
  background: rgba(125, 48, 142, 0.6);
}
.bg-orange .ttzz{
  background: rgba(250, 97, 45, 0.6);
}
.bg-green .ttzz{
  background: rgba(16, 118, 156, 0.6);
}
.ttzz h2{
  font-family: 'Ventura_Edding_Bold';
  line-height: 1;
  font-size: 22px;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  margin: 0;
  font-weight: normal;
}
.ttzzd h2{
  font-family: 'Ventura_Edding_Bold';
  line-height: 1;
  font-size: 30px;
  color: #FFD668;
  text-transform: uppercase;
  margin: 0;
  font-weight: normal;
}
.bicon {
  text-align: center;
  margin-top: 10px;
}
.bicon img {
  width: 50%;
  max-width: 80px !important;
}

.namearea{
  margin-top: 10px;
}
.namearea h2{
  font-family: 'Ventura_Edding_Bold';
  line-height: 1;
  font-size: 22px;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  margin: 0;
  font-weight: normal;
}

.barea {
  margin-top: 40px;
  position: relative;
  background-image: url(../img/bg-area.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 20px 30px;
  width: 75%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.barea h2{
  font-family: 'Ventura_Edding_Bold';
  line-height: 1;
  font-size: 22px;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  margin: 0;
  font-weight: normal;
}

.bperson {
  margin-top: 20px;
  text-align: center;
}

.bperson img{
  width: 70px;
  max-width: 80%;
}

.members{
  margin-top: 10px;
}
.membersf{
  margin-top: 10px;
  display: flex;
  justify-content: center;
  position: relative;
  flex-wrap: wrap;
}
.pers {
  margin: auto;
  min-width: 25%;
  max-width: 25%;
}
.membersf h2, .members h2{
  font-family: 'Ventura_Edding_Bold';
  line-height: 1;
  font-size: 22px;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  margin: 0;
  font-weight: normal;
}
.bg-blue .bdetalle{
  background: rgba(119, 154, 234, 0.6);
}

.bg-purple .bdetalle{
  background: rgba(125, 48, 142, 0.6);
}

.bg-orange .bdetalle{
  background: rgba(250, 97, 45, 0.6);
}
.bg-green .bdetalle{
  background: rgba(16, 118, 156, 0.6);
}
.bdetalle {
  margin-top: 20px;
  
  color: #fff;
  padding: 20px;  
  border-radius: 10px;
}
.bdetalle p{
  font-family: 'Ventura_Edding';
  line-height: normal;
  font-size: 20px;
  margin: 0;
}

.dialog-close-button {
  text-decoration: none;
}
.modalficha .dialog-message {
  max-width: 900px !important;
  max-height: 95vh !important;
}


.page-numbers {
  border: 1px solid #112656;
  padding: 5px !important;
  aspect-ratio: 1;
  width: 30px;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  align-items: center;
}

.page-numbers.prev, .page-numbers.next {
  border: none;
  display: revert;
}
.page-numbers:hover{
  color: #FFDA68 !important;
  background: #112656;
  transition: .3s ease all;
}
.page-numbers.current {
  color: #FFDA68 !important;
  background: #112656;
}


.tipo-re-imagina .btncard {
  background: #112656 !important;
}

.tipo-re-imagina .btncard-inner {
  background: #7798E8 !important;
}

.tipo-academia .btncard {
  background: #7D308E !important;
}

.tipo-academia .btncard-inner {
  background: #CE7AE2 !important;
}

.tipo-innovacion-estrategica .btncard {
  background: #FA612D !important;
}

.tipo-innovacion-estrategica .btncard-inner {
  background: #FFA63B !important;
}

.tipo-innovacion-abierta .btncard {
  background: #10A09C !important;
}

.tipo-innovacion-abierta .btncard-inner {
  background: #112656 !important;
}

@media (max-width: 990px) {
  .pest .e-n-tab-title-text{
    width: 150px !important;
  }
  .modalficha .dialog-message{
    width: 90vw !important;
  }
  .box-border-zz{
    padding: 15px 15px;
  }
}

@media (max-width: 768px) {
  .pest .e-n-tab-title-text{
    width: 100% !important;
    padding: 10px 20px !important;
  }
  .pest .e-n-tab-title{
    padding: 5px !important;
  }
  .page-numbers{
    width: 20px;
    height: 20px;
  }
  .content-modal {
    padding: 10px 20px;
  }
  .box-border-zz {
   flex-wrap: wrap;
   padding: 40px 15px;
  }
  .partc, .area, .miembros {
    width: 100%;
  }
  .pers{
    min-width: 50%;
    max-width: 50%;
  }
}