/* GENERALES  */

.efeMitigado {
  opacity: .5;
  transition: .3s;
}
.efeMitigado:hover {
  opacity: 1;
}
.efeMitigar{
  opacity: 1;
  transition: .3s;
}
.efeMitigar:hover {
  opacity: .5;
}
.efeMitigar2{
  opacity: 1;
  transition: .3s;
}
.efeMitigar2:hover {
  opacity: .7;
}

/*  Botón REC  */

.rec {
  width: 380px;
  height:300px;
  animation: infinite beat 1s ease-in-out;
  drop-shadow: 3px 3px 4px var(--color-black);
}


.rec:before{
  position: absolute;
  content: "";
  left: 200px;
  top: 0;
  width: 200px;
  height: 300px;
  box-shadow: 0 0 10px #111;
  background: rgb(163,40,120);
  border-radius: 200px 200px 0 0;
  transform: rotate(-45deg);
  transform-origin: 0 100%;
}

.rec:after {
  position: absolute;
  content: "";
  left: 200px;
  top: 0;
  width: 200px;
  height: 300px;
  box-shadow: 4px -2px 5px #131313;
  background: linear-gradient(90deg, hsl(321, 60%, 40%), hsl(321, 60%, 20%)); 
  border-radius: 200px 200px 0 0;
  transform: rotate(-45deg);
  transform-origin: 0 100%;
}

.rec:after {
  left: 0;
  transform: rotate(45deg);
  transform-origin :100% 100%;
}

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



/* SLIDER  */

#slides {
  /*margin-top: 70px;*/
  max-width: 100%;
  position: relative;
  top: 0;
}

#slides label{
  cursor: pointer;
}
.catch {
  display: block;
  height: 0;
  overflow: hidden;
}



#container {
  width: 1500px;
  max-width: 100%;
  overflow: hidden;
  height: 420px;
  position: relative;
  top: 0;
}

article img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  z-index: 1;
}



#commands {
  /*margin: -25% 0 0 0;*/
  width: 100%;
  /*height: 100%;*/
  position: absolute;
  top: calc( 50% - 20px );
  /*display: flex;
  align-items: center;*/
  z-index: 3;
}

#commands label {
  display: none;
  width: 30px;
  height: 30px;
  opacity: 0.5;
  /*padding: 1em;*/
}

#commands label:hover {
  opacity: 0.8;
}

#active {
  position: absolute;
  bottom: 10px;
  z-index: 5;
  margin: -28px 0 0 0;
  text-align: center;
}

#active label {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 6px 1px 6px;
  background: #bbb;
  cursor: pointer;
}

#active label:hover {
  background: #333;
}


.caption {
  width: 1094px;
 /* max-width: 17%;*/
  bottom: 55px;
  /*margin: 0 0 -150%;*/
  position: absolute;
  /*padding: 320px 12px;*/
  opacity: 0;
  color: var(--color-text);
  transition: .3 ease;
  z-index: 5;
}

.caption bar {
  display: inline-block;
  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70);
}
.caption h2{
  font-size: 55px;
  line-height: .86em;
  text-transform: uppercase;
  color: var(--color-white08);
  width: 50%;
}
.caption h3{
  margin-top: -10px;
  font-size: 30px;
  line-height: .9em;
  text-transform: uppercase;
  color: var(--color-white08);
  width: 70%;
  max-width: 500px;
}
.caption h4{
  font-size: 14px;
  color: var(--color-verdeClaro);
}
/*.caption:hover h2 {
  color: rgba(255,255,255, 1);
  transition: .3s ease;
  letter-spacing: 2px;
}
.caption:not(hover) h2 {
  transition: .3s ease;
}*/

#slides {
  position: relative;
/*padding:2px;border:1px solid #ddd;margin:45px 0 0;background:#FFF
  ;background: -webkit-linear-gradient(#FFF,#FFF 20%,#EEE 80%,#DDD);
  background: -moz-linear-gradient(#FFF,#FFF 20%,#EEE 80%,#DDD);
  background: -ms-linear-gradient(#FFF,#FFF 20%,#EEE 80%,#DDD);
  background: -o-linear-gradient(#FFF,#FFF 20%,#EEE 80%,#DDD);
  background: linear-gradient(#FFF,#FFF 20%,#EEE 80%,#DDD);
  -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.2);
  -moz-box-shadow: 0 0 3px rgba(0,0,0,0.2);
  box-shadow: 0 0 3px rgba(0,0,0,0.2);*/
}

#slides .inner {
  -webkit-transform: translateZ(0);
  -webkit-transition: all 800ms cubic-bezier(0.770,0.000,0.175,1.000);
  -moz-transition: all 800ms cubic-bezier(0.770,0.000,0.175,1.000);
  -ms-transition: all 800ms cubic-bezier(0.770,0.000,0.175,1.000);
  -o-transition: all 800ms cubic-bezier(0.770,0.000,0.175,1.000);
  transition: all 800ms cubic-bezier(0.770,0.000,0.175,1.000);
  -webkit-transition-timing-function: cubic-bezier(0.770,0.000,0.175,1.000);
  -moz-transition-timing-function: cubic-bezier(0.770,0.000,0.175,1.000);
  -ms-transition-timing-function: cubic-bezier(0.770,0.000,0.175,1.000);
  -o-transition-timing-function: cubic-bezier(0.770,0.000,0.175,1.000);
  transition-timing-function: cubic-bezier(0.770,0.000,0.175,1.000);
}

#slider {
  -webkit-transform: translateZ(0);
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  display: flex;
  justify-content: center;
  background-color: var(--color-bgOscuro);
}
#slider > input{
  display: none;
}
#slider #commands {
  /*margin: -25% 0 0 5%;
  height: 50px;*/
  padding: 0 1em;
}
#commands label {
  -webkit-transform: translateZ(0);
  -webkit-transition: opacity 0.2s ease-out;
  -moz-transition: opacity 0.2s ease-out;
  -o-transition: opacity 0.2s ease-out;
  transition: opacity 0.2s ease-out;
}



#commands,#commands label,#slides,#active,#active label {
  -webkit-transform: translateZ(0);
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}

#slider {
  width: 100%;
}

@media only screen and (max-width:850px) and (min-width:450px) {
  #slider #commands {
  }
  #slider #commands label {
    -moz-transform: scale(0.9);
    -webkit-transform: scale(0.9);
    -o-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
  }

  .caption h2{
    font-size: 45px;
    line-height: .86em;
  }
  .caption h3{
    font-size: 20px;
    line-height: 1em;
  }
}

@media only screen and (max-width:450px) {
  #slider #commands {
    width: 100%;
  }
  #slider #commands label {
    -moz-transform: scale(0.7);
    -webkit-transform: scale(0.7);
    -o-transform: scale(0.7);
    -ms-transform: scale(0.7);
    transform: scale(0.7);
  }
  .caption h2{
    font-size: 30px;
  }
  .caption h3{
    font-size: 20px;
  }
}

/*.sombraSlide, .divCabecera > div > div {
  position: absolute;
  width: 100%;
  height: 420px;
   /* --circle_w: 1px;
    --circle_color: #0c1245;
    --bg_color2: rgba(17, 23, 73, .1);
    --m_bet_circle: 1px;  
    --A: calc(var(--circle_w) + var(--m_bet_circle));
    --B: calc(var(--circle_w) / 2);
    background: 0 0/var(--A) var(--A) radial-gradient(circle at center, var(--circle_color) var(--B), var(--bg_color2) var(--B));*/
 /* background-image: url(/img/ico/puntico.png);
  background-repeat: repeat;
  background-size: auto;
  z-index: 3;
}*/
.divCabecera > div {
  z-index: 0;
}

@media only screen and (max-width:500px) {
  .divCabecera > div, .divCabecera > div > div {
    height: 218px;
  }
}


/***   CARROUSEL para las RRSS   ***/

/**
 * Owl Carousel v2.3.4
 * Copyright 2013-2018 David Deutsch
 * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
 */
/*
 *  Owl Carousel - Core
 */
 .owl-carousel, .owl-carousel2 {
  display: none;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  /* position relative and z-index fix webkit rendering fonts issue */
  position: relative;
  z-index: 1; }
  .owl-carousel .owl-stage, .owl-carousel2 .owl-stage  {
    position: relative;
    -ms-touch-action: pan-Y;
    touch-action: manipulation;
    -moz-backface-visibility: hidden;
    /* fix firefox animation glitch */ }
  .owl-carousel .owl-stage:after, .owl-carousel2 .owl-stage:after  {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0; }
  .owl-carousel .owl-stage-outer, .owl-carousel2 .owl-stage-outer  {
    position: relative;
    overflow: hidden;
    /* fix for flashing background */
    -webkit-transform: translate3d(0px, 0px, 0px); }
  .owl-carousel .owl-wrapper,
  .owl-carousel .owl-item, 
  .owl-carousel2 .owl-wrapper,
  .owl-carousel2 .owl-item {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0); }
  .owl-carousel .owl-item, .owl-carousel2 .owl-item  {
    position: relative;
    min-height: 1px;
    float: left;
    -webkit-backface-visibility: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none; }
  .owl-carousel .owl-item img, .owl-carousel2 .owl-item img {
    display: block;
    width: 100%; }
  .owl-carousel .owl-nav.disabled,
  .owl-carousel .owl-dots.disabled, 
  .owl-carousel2 .owl-nav.disabled,
  .owl-carousel2 .owl-dots.disabled {
    display: none; }
  .owl-carousel .owl-nav .owl-prev,
  .owl-carousel .owl-nav .owl-next,
  .owl-carousel .owl-dot,
  .owl-carousel2 .owl-nav .owl-prev,
  .owl-carousel2 .owl-nav .owl-next,
  .owl-carousel2 .owl-dot {
    cursor: pointer;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; }
  .owl-carousel .owl-nav button.owl-prev,
  .owl-carousel .owl-nav button.owl-next,
  .owl-carousel button.owl-dot,
  .owl-carousel2 .owl-nav button.owl-prev,
  .owl-carousel2 .owl-nav button.owl-next,
  .owl-carousel2 button.owl-dot  {
    height: 100px;
    width: 20px;
    background: none;
    color: inherit;
    border: none;
    padding: 0 !important;
    font: inherit; }
  .owl-carousel.owl-loaded,
  .owl-carousel2.owl-loaded {
    display: block; }
  .owl-carousel.owl-loading,
  .owl-carousel2.owl-loading {
    opacity: 0;
    display: block; }
  .owl-carousel.owl-hidden,
  .owl-carousel2.owl-hidden  {
    opacity: 0; }
  .owl-carousel.owl-refresh .owl-item,
  .owl-carousel2.owl-refresh .owl-item  {
    visibility: hidden; }
  .owl-carousel.owl-drag .owl-item,
  .owl-carousel2.owl-drag .owl-item {
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; }
  .owl-carousel.owl-grab,
  .owl-carousel2.owl-grab  {
    cursor: move;
    cursor: grab; }
  .owl-carousel.owl-rtl,
  .owl-carousel2.owl-rtl  {
    direction: rtl; }
  .owl-carousel.owl-rtl .owl-item,
  .owl-carousel2.owl-rtl .owl-item  {
    float: right; }

.owl-nav button.owl-prev > span {
  content: url(/img/ico/arrow-le-b.svg);
}
.owl-nav button.owl-next > span {
  content: url(/img/ico/arrow-ri-b.svg);
}



/* No Js */
.no-js .owl-carousel,
.no-js .owl-carousel2 {
  display: block; }

/*
 *  Owl Carousel - Animate Plugin
 */
.owl-carousel .animated,
.owl-carousel2 .animated {
  animation-duration: 1000ms;
  animation-fill-mode: both; }

.owl-carousel .owl-animated-in,
.owl-carousel2 .owl-animated-in {
  z-index: 0; }

.owl-carousel .owl-animated-out,
.owl-carousel2 .owl-animated-out {
  z-index: 1; }

.owl-carousel .fadeOut,
.owl-carousel2 .fadeOut  {
  animation-name: fadeOut; }

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

/*
 * 	Owl Carousel - Auto Height Plugin
 */
.owl-height {
  transition: height 500ms ease-in-out; }

/*
 * 	Owl Carousel - Lazy Load Plugin
 */
.owl-carousel .owl-item,
.owl-carousel2 .owl-item {
  /**
			This is introduced due to a bug in IE11 where lazy loading combined with autoheight plugin causes a wrong
			calculation of the height of the owl-item that breaks page layouts
		 */ }
  .owl-carousel .owl-item .owl-lazy,
  .owl-carousel2 .owl-item .owl-lazy {
    opacity: 0;
    transition: opacity 400ms ease; }
  .owl-carousel .owl-item .owl-lazy[src^=""], .owl-carousel .owl-item .owl-lazy:not([src]),
  .owl-carousel2 .owl-item .owl-lazy[src^=""], .owl-carousel2 .owl-item .owl-lazy:not([src]) {
    max-height: 0; }
  .owl-carousel .owl-item img.owl-lazy,
  .owl-carousel2 .owl-item img.owl-lazy  {
    transform-style: preserve-3d; }

/*
 * 	Owl Carousel - Video Plugin
 */
.owl-carousel .owl-video-wrapper,
.owl-carousel2 .owl-video-wrapper {
  position: relative;
  height: 100%;
  background: var(--color-black); }

.owl-carousel .owl-video-play-icon,
.owl-carousel2 .owl-video-play-icon {
  position: absolute;
  height: 80px;
  width: 80px;
  left: 50%;
  top: 50%;
  margin-left: -40px;
  margin-top: -40px;
  background: url("owl.video.play.png") no-repeat;
  cursor: pointer;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  transition: transform 100ms ease; }

.owl-carousel .owl-video-play-icon:hover,
.owl-carousel2 .owl-video-play-icon:hover  {
  -ms-transform: scale(1.3, 1.3);
      transform: scale(1.3, 1.3); }

.owl-carousel .owl-video-playing .owl-video-tn,
.owl-carousel .owl-video-playing .owl-video-play-icon,
.owl-carousel2 .owl-video-playing .owl-video-tn,
.owl-carousel2 .owl-video-playing .owl-video-play-icon  {
  display: none; }

.owl-carousel .owl-video-tn, .owl-carousel2 .owl-video-tn
 {
  opacity: 0;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: opacity 400ms ease; }

.owl-carousel .owl-video-frame, .owl-carousel2 .owl-video-frame {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%; }


  .owl-item{
    width: 100%;
  }
  .item > div{
    height: 100%;
  }
  .item{
    cursor: move;
  }
  .owl-nav{
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100;
    top: calc(50% - 70px);
    text-align: 30px;
  }
  .owl-nav > button > span {
    font-size: 50px;
    height: 20px;
    opacity: .5;
    transition: .3s ease;
  }
  .owl-nav > button > span:hover {
    opacity: 1;
  }
  .owl-prev {
    left: -25px;
    position: absolute;
  }
  .owl-next {
    right: -25px;
    position: absolute;
  }
  @media (max-width: 600px) {
    .owl-prev {
      left: -20px;
    }
    .owl-next {
      right: -20px;
    }
    .caption h2{
      width: 70%;
    }
  }

  @media (prefers-color-scheme: dark) { 
    .dark-scheme-icon { 
      display:none; 
    }
  }
  @media (prefers-color-scheme: light) { 
    .light-scheme-icon { 
      display:none;
    }
  }