/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

:root{
  --orange: #FF5100;
  --black: #000000;
  --lilac: #7564A0;
  --dark-blue: #090746;
  --light-blue: #3BBFAD;
  --sea-water: #00AFAA;
  --yellow: #FFB71B;
  --pink: #E45181;
  --white: #FFFFFF;
  --dark: #252A34;
  --blue-logo: #003595;

  --lilac-hover: #67578e;
  --light-blue-hover: #309c8e;
  --white-hover: #F2F2F2;
  --dark-blue-hover: #120E8B;
  --yellow-hover: #e69d00;
}

html{
  scroll-behavior: smooth;
}

@media screen and (min-width: 992px) and (max-width: 1450px) {
  .brxe-container{
    padding-right: 60px!important;
    padding-left: 60px!important;
  }
}

.splide button:focus,
.splide button:active{
  outline: none;
}
body{
  background-color: #FAFAFA;
}
html{
  font-family: 'Raleway';
}

img {

	border-radius: 8px;
}

p{
  font-size: clamp(13px, 4vw, 16px);
  color: var(--dark);
}
h2{
  font-size: clamp(23px, 4vw, 31px);
  color: var(--black);
}

/** Menu Styles */
.menu-item-link{
  font-size: 17px;
  font-weight: 400;
  color: #000000;
  text-wrap: nowrap;
}

.menu-item.has-children.level-0{
  position: relative;
}
.menu-item.has-children.level-0 > .menu-item-link:after{
  content: url('/wp-content/uploads/2024/05/arrow-bottom-menu.svg');
  margin-left: 5px;
}
.menu-item-link{
  transition: .3s;
}
.menu-item-link:hover{
  color: #003595;
}

.menu-item.has-children.level-0 .menu-items-wrapper{
  position: absolute;
  top: calc(100% - 8px);
  background-color: #FAFAFA;
  padding: 10px;
  border-radius: 12px;
  opacity: 0;
  transition: .3s;
  pointer-events: none;
}
.menu-item.has-children.level-0:hover .menu-items-wrapper{
  opacity: 1;
  pointer-events: auto;
}
.menu-item.has-children:not(.level-0) .menu-items-wrapper{
  display: none;
}
.menu-item.level-1 .menu-items-wrapper{
  display: none;
}
.menu-item.mobile{
  display: none;
}
.footer .menu-item.has-children .menu-items-wrapper{
  display: none;
}
.footer .menu-item.has-children.level-0 > .menu-item-link:after{
  content: '';
  display: none;
}

.menu-item-link.item-685 ~ .menu-items-wrapper .menu-item.level-1:nth-child(1){
  display: none;
}

@media(max-width: 992px){
  .menu-item.has-children.level-0{
    position: relative;
    width: fit-content;
  }
  .menu-item.has-children.level-0 .menu-items-wrapper{
    opacity: 1;
    position: static;
    background-color: transparent;
    padding: 0px;
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
    transition: .3s;
  }
  .footer .menu-item.has-children.level-0 .menu-items-wrapper{
    display: none;
  }
  .menu-item.mobile{
    display: block;
  }
  .social-container .social:nth-child(1),
  .social-container .social:nth-child(2),
  .social-container .social:nth-child(3),
  .social-container .social:nth-child(4){
    grid-column: span 3;
  }
  .social-container .social:nth-child(5),
  .social-container .social:nth-child(6),
  .social-container .social:nth-child(7){
    grid-column: span 4;
  }
  .menu-item-link.item-694:before{
    display: none;
  }
  .menu-item-link.item-685 ~ .menu-items-wrapper .menu-item.level-1:nth-child(1){
    display: block;
  }
}

.item-693,
.item-694,
.item-8765,
.item-8766 {
  padding: 5px 20px;
  color: #FFFFFF;
  border-radius: 50px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
}
.item-693,
.item-8765{
  background-color: transparent;
  color: #000000;
  border: 1px solid #003595;
}
.item-694{
  background-color: #00AFAA;
  color: #FFFFFF;
  border: 1px solid #00AFAA;
}

.item-8766 {
	border: 1px solid #043595;
	transition: .3s;
	color: #fff;
	background-color: #043595;
	
	&:hover {
		background-color: #fff;
		color:#043595;
	}
}

.item-694:before{
  content: '';
  background-image: url('/wp-content/uploads/2024/05/user-icon.svg');
  height: 15px;
  width: 15px;
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
  margin-right: 5px;
}
.back-to-top.unshow{
  transform: translateY(90px);
}

.popup-org.hide{
  display: none;
}

.popup-org{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  z-index: 99;
}

.puesto-link:after{
  content: '';
  display: block;
  background-image: url('/wp-content/uploads/2024/04/arrow-left-curve.svg');
  width: 20px;
  height: 10px;
  background-repeat: no-repeat;
  background-size: contain;
  transform: rotate(180deg);
  transition: .3s;
}
.puesto-link{
  font-size: clamp(14px, 4vw, 17px);
  font-weight: 500;
  color: #000000;
  cursor: pointer;
  line-height: 1.2;
  transition: .3s;
  display: flex;
  gap: 15px;
  
  align-items: center;
}
.puesto-link:hover{
  color: #003595;
}
.puesto-link.active{
  color: #003595;
}
.puesto-link.active:after{
  transform: rotate(270deg);
}
.worker-area.hide{
	display: none;
}
.section-workers{
	transition: .2s;
  opacity: 1;
}
.section-workers.hide{
	opacity: 0;
}

@media(max-width: 991px){
  .menu-item-link:not(.menu-container-footer .menu-item-link){
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
  }
  .item-693:not(.menu-container-footer .menu-item-link),
  .item-694:not(.menu-container-footer .menu-item-link){
    padding: 7px 20px;
    border-radius: 0px;
    border: 1px solid #FFFFFF;
    font-size: 15px;
  }
  .item-693:not(.menu-container-footer .menu-item-link){
    background-color: transparent;
    color: #FFFFFF;
  }
  .item-694:not(.menu-container-footer .menu-item-link){
    background-color: #FFFFFF;
    color: #003595;
  }
  .menu-container{
    position: absolute;
    top: 0px;
    left: 0px;
    transform: translateX(-100%);
    transition: .3s;
    z-index: 20;
  }
  .menu-container.show{
    transform: translateX(0px);
  }
}

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

.button-cta{
  font-size: clamp(14px, 4vw, 16px);
  font-weight: 400;
  background-color: var(--lilac);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 18px;
  border-radius: 50px;
  cursor: pointer;
  transition: .3s;
}
.button-cta:after{
  content: '';
  display: block;
  width: 20px;
  background: url('/wp-content/uploads/2024/03/arrow-right-wt.svg');
  height: 20px;
  background-repeat: no-repeat;
  background-size: contain;
  margin-left: 8px;
  transition: .3s;
}

.button-cta--animated{
  background-color: var(--white);
  color: #000000;
  border: 1px solid #003595;
  transition: .3s;
  position: relative;
}
.button-cta--animated--lilac{
  background-color: #7564A0;
  border: 1px solid #7564A0;
  color: #FFFFFF;
}
.button-cta--animated:after{
  position: absolute;
  opacity: 0;
  top: 50%;
  transform: translateY(-50%);
  right: 8px;
}
.button-cta--animated:hover{
  background-color: var(--lilac);
  color: var(--white);
  padding-right: 35px;
  border: 1px solid var(--lilac);
}
.button-cta--animated:hover:after{
  opacity: 1;
}
.button-cta--yellow{
  background-color: var(--yellow);
  color: #000000;
}
.button-cta--yellow::after{
  filter: brightness(0);
}
.button-cta--yellow:hover{
  background-color: var(--yellow-hover);
}
.button-cta--yellow:hover:after{
  transform: translateX(5px);
}
.button-cta--lilac{
  background-color: var(--lilac);
}
.button-cta--lilac:hover{
  background-color: var(--lilac-hover);
}
.button-cta--lilac:hover:after{
  transform: translateX(5px);
}
.button-cta--blue{
  background-color: var(--light-blue);
}
.button-cta--blue:hover{
  background-color: var(--light-blue-hover);
}
.button-cta--blue:hover::after{
  transform: translateX(5px);
}
.button-cta-dark--blue{
  background-color: var(--dark-blue);
}
.button-cta-dark--blue:hover{
  background-color: var(--dark-blue-hover);
}
.button-cta-dark--blue:hover::after{
  transform: translateX(5px);
}
.button-cta--white{
  background-color: var(--white);
  color: #000000;
}
.button-cta--white:after{
  margin-top: 2px;
}
.button-cta--white:hover{
  background-color: var(--white-hover);
}
.button-cta--white:hover::after{
  transform: translateX(5px);
}
.button-cta--white:after{
  filter: invert(1);
}

.subtitle-card{
  color: #252A34;
  font-weight: 700;
}
.subtitle-card--big{
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.075px;
}
.subtitle-card--small{
  font-size: 17px;
  line-height: 1.5;
  color: #090746;
}
.title{
  font-size: clamp(16px, 4vw, 25px);
  line-height: 1.2;
  font-weight: 700;
}
.title--white,
.text--white{
  color: var(--white);
}
.title--black,
.text--black{
  color: var(--black);
}

.donation-button{
  transform-origin: bottom right;
  transform: rotate(270deg);
  background-color: var(--orange);
  color: var(--white);
  border-radius: 12px 12px 0px 0px;
  position: fixed;
  top: 100px;
  right: 0px;
  font-size: clamp(16px, 4vw, 25px);
  letter-spacing: 0.9px;
  font-weight: 700;
  display: flex;
  flex-direction: row;
  padding: 10px 20px;
  gap: 16px;
  justify-content: center;
  padding-right: 60px;
}
.donation-button:after{
  content: '';
  background: url('/wp-content/uploads/2024/04/hand.svg');
  display: block;
  width: 30px;
  height: 30px;
  margin-bottom: 16px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin: auto;
  transform-origin: 0px;
  position: absolute;
  top: 0px;
  right: 5px;
  transform: rotate(90deg) translateY(7px);
}
.donation-button:before{
  content: '';
  background: url('/wp-content/uploads/2024/04/coin.svg');
  display: block;
  width: 13px;
  height: 13px;
  transform: translateX(0px);
  margin-bottom: 16px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin: auto;
  position: absolute;
  right: 20px;
  bottom: 20px;
  
}
.donation-button:hover::after{
  animation: flip-coin 2s linear infinite;
}
.donation-button:hover::before{
  animation: bounce-coin 4s linear infinite;
}

.lightning-qs{
  position: absolute;
  bottom: -120px;
  left: 20%;
  z-index: 2;
  animation: lightning-transform 4s linear infinite;
}
.arrow-qs{
  position: absolute;
  top: -80px;
  right: 20%;
  animation: arrow-transform 4s linear infinite;
}
.arrow01-qs{
  position: absolute;
  top: -40px;
  left: 0px;
  transform: rotate(40deg);
  animation: arrow-yellow-transform 6s linear infinite;
}

@keyframes arrow-yellow-transform {
  0%{
    transform: rotate(40deg) translateY(0px) translateX(0px);
  }
  20%{
    transform: rotate(50deg) translateY(10px) translateX(-10px);
  }
  40%{
    transform: rotate(50deg) translateY(10px) translateX(-10px);
  }
  100%{
    transform: rotate(40deg) translateY(0px) translateX(0px);
  }
}

@keyframes arrow-transform {
  0%{
    transform: rotate(7deg) translateY(0px);
  }
  20%{
    transform: rotate(8deg) translateY(8px);
  }
  40%{
    transform: rotate(8deg) translateY(8px);
  }
  100%{
    transform: rotate(7deg) translateY(0px);
  }
}

@keyframes lightning-transform {
  0%{
    transform: rotate(7deg) translateY(0px) scale(0.95);
  }
  20%{
    transform: rotate(6deg) translateY(5px) scale(1);
  }
  40%{
    transform: rotate(6deg) translateY(5px) scale(1);
  }
  100%{
    transform: rotate(7deg) translateY(0px) scale(0.95);
  }
}

@keyframes flip-coin {
  0%{
    transform: rotate(90deg) translateY(7px);
  }
  20%{
    transform: rotate(80deg) translateY(7px);
  }
  40%{
    transform: rotate(90deg) translateY(7px);
  }
  100%{
    transform: rotate(90deg) translateY(7px);
  }
}

@keyframes bounce-coin {
  0%{
    transform: translateX(0px);
  }
  20%{
    transform: translateX(7px);
  }
  40%{
    transform: translateX(0px)
  }
  100%{
    transform: translateX(0px);
  }
}

.card-colaborar:nth-child(7)::before{
  animation: in-out 4s linear infinite;
  transform-origin: 0px 0px;
}
#brxe-pwoygn::after{
  animation: scale-leaf 4s linear infinite;
}
#brxe-zyoyll::before{
  animation: paper-plane 6s linear infinite;
  transform-origin: 0px 0px;
}
#brxe-omkofz{
  animation: scale-asterisk 4s linear infinite;
}
#brxe-ixyqme{
  animation: lightning 5s linear infinite;
}
#brxe-zlgncz{
  animation: subtle-rotation 5s linear infinite;
}

@keyframes in-out{
  0%{
    transform: translateX(0px) rotate(0deg);
  }
  25%{
    transform: translateX(-10px) rotate(1deg);
  }
  50%{
    transform: translateX(0px) rotate(3deg);
  }
  75%{
    transform: translateX(-10px) rotate(1deg);
  }
  100%{
    transform: translateX(0px) rotate(0deg);
  }
}

@keyframes scale-leaf{
  0%{
    transform: scale(.9);
  }
  50%{
    transform: scale(1);
  }
  100%{
    transform: scale(.9);
  }
}
@keyframes scale-asterisk{
  0%{
    transform: scale(.8);
  }
  50%{
    transform: scale(1);
  }
  100%{
    transform: scale(.8);
  }
}
@keyframes paper-plane{
  0%{
    transform: translateX(-20px) rotate(20deg);
  }
  25%{
    transform: translateX(-10px) rotate(10deg);
  }
  50%{
    transform: translateX(0px) rotate(0deg);
  }
  75%{
    transform: translateX(-10px) rotate(10deg);
  }
  100%{
    transform: translateX(-20px) rotate(20deg);
  }
}
@keyframes lightning{
  0%{
    transform: translateY(-10px) scaleX(.95) rotate(15deg);
  }
  50%{
    transform: translateY(0px) scaleX(1) rotate(15deg);
  }
  100%{
    transform: translateY(-10px) scaleX(.95) rotate(15deg);
  }
}
@keyframes subtle-rotation{
  0%{
    transform: translateY(-7px) rotate(20deg);
  }
  50%{
    transform: translateY(0px) rotate(17deg);
  }
  100%{
    transform: translateY(-7px) rotate(20deg);
  }
}

.card-valores{
  display: flex;
  justify-content: center;
  align-items: center;
  transition: .3s;
  cursor: pointer;
}
.card-valores .view{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
  padding: 40px;
  gap: 30px;
  background-color: #FFFFFF;
  transition: .3s;
}
.card-valores .view-text{
  transform: rotateY(180deg);
  opacity: 0;
  transition: .15s;
  z-index: 2;
}
.card-valores .view-text p{
  font-size: clamp(10px, 4vw, 12px);
}
.card-valores .minus,
.card-valores .plus{
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 0;
  transition: .3s;
}
.card-valores .minus{
  left: 8px;
  z-index: 2;
  opacity: 0;
}
.card-valores .icon{
  max-width: 120px;
  width: fit-content;
}
.card-valores .text{
  font-size: clamp(14px, 4vw, 15px);
  font-weight: 700;
  color: var(--dark-blue);
  line-height: 1.2;
}
.card-valores .icon-container{
  transition: .15s;
}
.card-valores.active .view{
  transform: rotateY(180deg);
}
.card-valores.active .view-text{
  opacity: 1;
}
.card-valores.active .icon-container{
  opacity: 0;
}
.card-valores.active .plus{
  opacity: 0;
}
.card-valores.active .minus{
  opacity: 1;
}

.card-valores .plus.pulse{
  animation: pulse 2s ease-in infinite;
}

@keyframes pulse{
  0%{
    transform: scale(1);
  }
  50%{
    transform: scale(1.1);
  }
  100%{
    transform: scale(1);
  }
}

.full-width-blue{
  background-color: var(--dark-blue);
  position: relative;
}
.full-width-blue:after,
.full-width-blue:before{
  content: '';
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  background-color: var(--dark-blue);
}
.full-width-blue:before{
  top: 0px;
  left: 0px;
  transform: translateX(-100%);
}
.full-width-blue:after{
  top: 0px;
  right: 0px;
  transform: translateX(100%);
}

.full-width-white{
  background-color: var(--white);
  position: relative;
}
.full-width-white:after,
.full-width-white:before{
  content: '';
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  background-color: var(--white);
}
.full-width-white:before{
  top: 0px;
  left: 0px;
  transform: translateX(-100%);
}
.full-width-white:after{
  top: 0px;
  right: 0px;
  transform: translateX(100%);
}

.full-width-grey{
  background-color: #EDEDED;
  position: relative;
}
.full-width-grey:after,
.full-width-grey:before{
  content: '';
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  background-color: #EDEDED;
}
.full-width-grey:before{
  top: 0px;
  left: 0px;
  transform: translateX(-100%);
}
.full-width-grey:after{
  top: 0px;
  right: 0px;
  transform: translateX(100%);
}

.full-width-blue-dark{
  background-color: #003595;
  position: relative;
}
.full-width-blue-dark:after,
.full-width-blue-dark:before{
  content: '';
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  background-color: #003595;
}
.full-width-blue-dark:before{
  top: 0px;
  left: 0px;
  transform: translateX(-100%);
}
.full-width-blue-dark:after{
  top: 0px;
  right: 0px;
  transform: translateX(100%);
}

.plane-qs{
  animation: paper-plane-02 4s linear infinite;
}

@keyframes paper-plane-02{
  0%{
    transform: translateX(-10px) rotate(10deg);
  }
  50%{
    transform: translateX(0px) rotate(-5deg);
  }
  100%{
    transform: translateX(-10px) rotate(10deg);
  }
}

@media(max-width: 992px) {
  .overlay-project{
    background-image: none!important;
    height: calc(100% + 55px)!important;
  }
}

@media(max-width: 768px){
  .donation-button{
    padding-right: 50px;
  }
  .donation-button:after{
    width: 20px;
    height: 20px;
    top: 4px;
    right: 6px
  }
  .donation-button:before{
    width: 10px;
    height: 10px;
    bottom: 17px;
    right: 16px;
  }
  .donation-button:hover::before,
  .donation-button:hover::after{
    animation: none;
  }
  .card-valores{
    width: 47%;
  }

}

.doodle-orange{
  position: absolute;
  top: 50%;
  left: 180px;
  z-index: -1;
  height: 150px;
  transform: translateY(-50%);
}
.doodle-yellow{
  position: absolute;
  top: 50%;
  right: 220px;
  z-index: -1;
  height: 150px;
  transform: translateY(-50%);
}

.organigrama-container:nth-child(2) .organigrama-title{
  border-bottom: 2px solid #00AFAA!important;
}
.organigrama-container:nth-child(2) .button-cta{
  background-color: #00AFAA!important;
}
.popup-organigrama{
  transition: .3s;
}
.popup-organigrama.unshow{
  opacity: 0;
  pointer-events: none;
}
.popup-organigrama-1 .organigrama-big-image{
  overflow-y: scroll!important;
  overflow-x: hidden;
}
.popup-organigrama-0 .organigrama-big-image img,
.popup-organigrama-2 .organigrama-big-image img{
  height: 500px!important;
}
.popup-organigrama-1 .organigrama-big-image img{
  width: 70%!important;
  margin-left: 15%;
}
.description-objective-container{
  overflow: hidden;
}
.description-objective{
  opacity: 0;
  transition: opacity .6s, height 0s;
}
.description-objective.active{
  margin: 10px 0px;
  opacity: 1;
}
.title-objective{
  color: #888888!important;
}
.title-objective.active{
  text-decoration: underline #003595;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  color: #000000!important;
}

@media(max-width: 992px){
  .popup-organigrama-2 .organigrama-big-image img{
    max-height: 300px;
  }
}

@media(max-width: 768px){
  .card-valores{
    width: 48%;
  }
}

/** Proyectos */

.module-container{
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1350px;
  margin: auto;
  padding: 40px 20px;
}
@media(max-width: 480px){
  .module-container{
    padding: 20px;
  }
}
.module-container.invert{
  flex-direction: row-reverse;
}
.module-column-half{
  width: 48%;
}
.module-container-wide{
  max-width: 1650px!important;
}

#forminator-module-3089 .forminator-row{
  margin-bottom: 15px;
}
#forminator-module-3089 .forminator-button{
  border-radius: 50px;
  margin: auto;
  margin-top: 20px;
  padding: 10px 15px;
}
#forminator-module-3089 .forminator-row-last .forminator-col .forminator-field{
  display: flex;
  justify-content: center;
  align-items: center;
}

@media(max-width: 992px){
  .module-container{
    display: flex;
    flex-direction: column-reverse;
    padding-left: 0px;
    padding-right: 0px;
  }
  .module-container.invert{
    flex-direction: column;
  }
  .module-column-half{
    width: 100%;
  }
}

@media(max-width: 480px){
  .slide-number{
    height: 35px!important;
  }
}

.workers-container{
  overflow: hidden;
  transition: .3s;
}
.workers-drop .title-area{
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 20px;
  width: fit-content;
  line-height: 1.2;
  font-size: clamp(16px, 4vw, 25px);
}

.workers-drop .title-area:after{
  content: '';
  display: block;
  background-image: url('/wp-content/uploads/2024/05/plus-button-rounded.svg');
  width: 25px;
  min-width: 25px;
  height: 25px;
  background-repeat: no-repeat;
  background-size: contain;
}

.workers-drop.active .title-area:after{
  background-image: url('/wp-content/uploads/2024/05/minus-button-rounded.svg');
}

.item-galeria-actividad:nth-child(1),
.item-galeria-actividad:nth-child(2),
.item-galeria-actividad:nth-child(3){
  grid-column: span 4;
}

.item-galeria-actividad:nth-child(4),
.item-galeria-actividad:nth-child(5),
.item-galeria-actividad:nth-child(6),
.item-galeria-actividad:nth-child(7){
  grid-column: span 3;
}

@media(max-width: 992px){
  .workers-drop .title-area{
    width: 90%;
  }
  .item-galeria-actividad:nth-child(1),
  .item-galeria-actividad:nth-child(2),
  .item-galeria-actividad:nth-child(3),
  .item-galeria-actividad:nth-child(4),
  .item-galeria-actividad:nth-child(5),
  .item-galeria-actividad:nth-child(6),
  .item-galeria-actividad:nth-child(7){
    grid-column: span 1;
  }
}




/** Quienes somos en submenu mobile **/
@media screen and (max-width: 992px){
	.only-mobile{
		display: flex!important;
	}
  #brxe-whugub{
    display: none!important;
  }
}
.only-mobile{
	display: none;
}