header#menu-principal{
  background-color: white;
}

header:not(.scrollY)#menu-principal{
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
}

header.scrollY#menu-principal{
  background-color: #42145F;
}

header.scrollY#menu-principal .logo img:first-child{
  opacity: 0;
}
header#menu-principal .logo img:first-child{
  opacity: 1;
}

header.scrollY#menu-principal .logo img:last-child{
  opacity: 1;
}
header#menu-principal .logo img:last-child{
  opacity: 0;
}

header#menu-principal nav > ul > li > a:not(.text-white){
  color: #42145F;
}

header.scrollY#menu-principal nav > ul > li > a:not(.text-white){
  color: white;
}

header.scrollY#menu-principal nav > ul > li > .btn-menu-responsive{
  color: white;
}

header#menu-principal nav > ul > li > .btn-menu-responsive{
  color: #42145F;
}

header#menu-principal{
  animation: menu auto linear forwards;
  animation-timeline: scroll(root block);
  animation-fill-mode: both;
}

@keyframes menu {
  0% {
    background-color: #42145F;
  }
  1% {
    background-color: #42145F;
  }
  2% {
    background-color: white;
  }
  100% {
    background-color: white;
  }
}

/* header#menu-principal .logo img:first-child{
  animation: logo 1s linear forwards;
  animation-timeline: scroll(root block);
  animation-fill-mode: both;
}

@keyframes logo {
  0% {
    opacity: 0;
  }
  1% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

header#menu-principal .logo img:last-child{
  animation: logo2 1s linear forwards;
  animation-timeline: scroll(root block);
  animation-fill-mode: both;
}

@keyframes logo2 {
  0% {
    opacity: 1;
  }
  1% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
} */

/* header#menu-principal nav > ul > li > a:not(.text-white){
  will-change: transform;
  animation: menu-item 1s linear forwards;
  animation-timeline: scroll(root block);
  animation-fill-mode: both;
}

@-webkit-keyframes slidein {
  to {color: white;}
}

@keyframes menu-item {
  0% {
    color: white;
  }
  1% {
    color: #42145F;
  }
  2% {
    color: #42145F;
  }
  100% {
    color: #42145F;
  }
} */

#parallax {
  position: relative;
  width: 100%;
  max-width: 450px;/*387px*/
  height: 280px;
  background-image: url(https://cognosonline.com/wp-content/themes/cognosonline/assets/images/home/slider-home-03.webp), url(https://cognosonline.com/wp-content/themes/cognosonline/assets/images/home/slider-home-02.webp), url(https://cognosonline.com/wp-content/themes/cognosonline/assets/images/home/slider-home-01.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-position: 50% 50%;
  margin-left: -30px;
}

#content.casos-de-exito-mod article p,
#content.single-mod article p,
#content.post-mod article p{
  font-size: 1.2rem;
  line-height: 1.75rem;
  margin-bottom: 1rem;
}

.swiper.carousel>.swiper-wrapper {
  transition-timing-function: linear !important;
}

.swiper-button-next{
  right: -4rem;
}
.swiper-button-prev{
  left: -4rem;
}

.swiper-button-next:after, 
.swiper-button-prev:after{
  font-size: 24px;
  color: #42145F;
}

.swiper-soluciones-pagination{
  position: absolute;
  width: 300px !important;
  bottom: 34% !important;
  left: 0;
  top: inherit !important;
  background: #42145F33;
}

/* media query 0 to 1024 */
@media (max-width: 1024px) {
  .swiper-soluciones-pagination{
    bottom: 0% !important;
    width: 100% !important;
  }
}

.swiper-soluciones-pagination > .swiper-pagination-progressbar-fill{
  background: #42145Fdd;
}

.swiper.home.soluciones.thumbs > .swiper-wrapper > .swiper-slide >span{
  cursor: pointer;
}


/* nosotros */
.swiper.nosotros.clientes>.swiper-wrapper,
.swiper.home.carousel>.swiper-wrapper {
  transition-timing-function: linear !important;
}

.swiper-politicas-pagination{
  position: absolute;
  width: 300px !important;
  bottom: 32% !important;
  left: 2.5rem !important;
  top: inherit !important;
  background: #42145F33;
}

/* media query mobile < 1024 */
@media (max-width: 1024px) {
  .swiper-politicas-pagination{
    bottom: -2% !important;
    width: 100% !important;
    left: 0 !important;
  }
}

.swiper-politicas-pagination > .swiper-pagination-progressbar-fill{
  background: #42145Fdd;
}


/* Tabs (index) */
.tabs-desc{
  position: relative;
  overflow: hidden;
}
.tabs-desc .tab{
  position: relative;
  opacity: 1;
  visibility: visible;
  z-index: 10;
  transition: opacity 0.3s;
}
.tabs-desc .tab.disabled{
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  transition: opacity 0.3s;
}


/* post loader */
body.single .post-mod .post-loader{
  align-self: stretch;
  align-items: center;
  display: none;
  /* display: flex; */
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
  margin-bottom: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
}
body.single .post-mod .post-loader > .post-loader-bar{
  background-color: red;
  width: 100%;
  height: 5px;
  margin: auto;
  position: static;
  top: 0%;
  bottom: 0%;
  left: 0%;
  right: 0%;
}

/* post content */
.wpb_wrapper p:last-child,
.wpb_wrapper p:first-child{
  margin-top: 1.25rem !important;
  margin-bottom: 1.25rem !important;
}

/* table of content on post (plugin) */
#ez-toc-container{
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}


/* Fix hover buttom (Andres) */
body.elementor-default main#content .elementor-widget.elementor-widget-text-editor:hover .elementor-widget-container{
  /* background-color: #E98300 !important; */
}