/*
   ==================
		NORMALIZE v8.0.0   
   ==================
*/

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

body {
  margin: 0;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

button,
input {
  /* 1 */
  overflow: visible;
}

button,
select {
  /* 1 */
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

/*
   ==================
					VIDEO  
   ==================
*/

/* ===== VIDEOJS ===== */

.oculto {
  opacity: 0;
}
.nooculto {
  opacity: 1;
}

.video-js.vjs-hls-quality-selector {
  display: block;
}

.vjs-icon-hd {
  font-family: VideoJS;
  font-weight: normal;
  font-style: normal;
}
.vjs-icon-hd:before {
  content: "\f114";
  font-size: 18px;
  line-height: 28px;
}

.video-js .vjs-time-control {
  display: block;
}
.video-js .vjs-remaining-time {
  display: none;
}

/* Fondo despegables subtítulos */

.vjs-track-setting > select,
.vjs-text-track-settings fieldset span > select {
  margin-right: 1em;
  margin-bottom: 0.5em;
  background: #000;
  color: #fff;
}

.vjs-menu-item-text {
  text-transform: capitalize !important;
}

/* === Loaders ================================*/

/* videojs original */
/*
.video-js.force-loader .vjs-loading-spinner::before,
.video-js.force-loader .vjs-loading-spinner::after {
    animation: vjs-spinner-spin 1.1s linear infinite;
}


@keyframes vjs-spinner-spin {
    100% { transform: rotate(360deg); }
}

.video-js.hide-spinner-now .vjs-loading-spinner {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    animation: none !important;
}

.video-js.force-loader .vjs-loading-spinner {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;   
    top: auto !important;     
    bottom: 10% !important;   
    left: 50% !important;
    transform: translateX(-50%) !important;    
   
    width: 50px !important;
    height: 50px !important;
    margin: 0 !important;
}

.video-js.force-loader .vjs-loading-spinner {
    animation: vjs-spinner-spin 1.1s linear infinite !important;
}
*/

/* Barras facebook */

/* 1. Contenedor principal: lo movemos abajo y lo limpiamos */
.video-js.force-loader .vjs-loading-spinner {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    border: none !important;
    background: none !important;
    width: 80px !important;
    height: 80px !important;
    top: auto !important;
    bottom: 10% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    animation: none !important; /* Quitamos la rotación por defecto */
}

/* 2. Estilo de las barras (Tus divs inyectados) */
.video-js.force-loader .vjs-loading-spinner div {
    box-sizing: border-box;
    display: inline-block;
    position: absolute;
    width: 16px;
    background: rgb(255, 255, 255); /* Color del loader, cámbialo si quieres */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Un poco de brillo */
    animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite !important;
}

/* 3. Posiciones y retardos de cada barrita */
.video-js.force-loader .vjs-loading-spinner div:nth-child(1) {
    left: 8px;
    animation-delay: -0.24s !important;
}
.video-js.force-loader .vjs-loading-spinner div:nth-child(2) {
    left: 32px;
    animation-delay: -0.12s !important;
}
.video-js.force-loader .vjs-loading-spinner div:nth-child(3) {
    left: 56px;
    animation-delay: 0s !important;
}

/* 4. La animación que elegiste */
@keyframes lds-facebook {
    0% {
        top: 8px;
        height: 64px;
    }
    50%, 100% {
        top: 24px;
        height: 32px;
    }
}

/* Fix de poster mostrado más grande que el player 😠 */

/* El contenedor del póster debe estar quieto */
.video-js .vjs-poster {
    background-size: contain !important;
    background-color: #000 !important;
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

/* La imagen dentro del póster (si existe) */
.video-js .vjs-poster img {
    display: block !important; /* ¡Que se vea! */
    width: 100% !important;
    height: 100% !important;
    position: absolute !important; /* Esto evita que "empuje" el contenedor hacia abajo */
    top: 0 !important;
    left: 0 !important;
    object-fit: contain !important; /* Para que no se estire como un chicle */
}

/* Forzamos el hueco del vídeo desde el principio */
.video-js {
    width: 100% !important;    
    height: auto !important;
}

/* ===== RIBONES ===== */

/* Ribbon 1 */

h2.ribbon {
  width: 90%;
  position: absolute;
  margin: 20px 0;
  padding: 0;
  color: white;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: normal;
  font-style: italic;
}

h2.ribbon span {
  position: relative;
  display: block;
  margin: 0;
  padding: 5px 10px;
  background-color: #ff0000;
}

h2.ribbon span a {
  color: white;
  text-decoration: none;
}
h2.ribbon span:before {
  top: -15px;
  left: 0;
  content: "\0020";
  position: absolute;
  width: 12px;
  min-height: 70px;
  display: block;
  background-color: transparent;
  background-repeat: no-repeat;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAABGCAYAAAD4tnXtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAcxJREFUeNq8l01vwyAMhsEklXrZaZed9v//YhLwTGUyQ7GBHRYJNWr9+OtNwXHOOe8WrmwMfI/ie7SAjQ2wMUYNeAgAFbgCnsIoGfANfLBhb71FysAnrUjr4s8eVAFfbHgKKHYALMA3G54COhlq63LwoMt7v3N7A+sShD7Vlb/MTAEK5JXlABG3vAja2IFcvhfh5R0AgkjFN63/BThCSCmFfd/DTITbcwihyncIUCRoi3wDyGsxDkoqFQykQeu5ayiLvosU92qXtpk0JNgTCqz/uTT0/GzZNbx1AcDcRXop2cJRZ3xWOH9a3dFq0EAvAdcYO/PR0PptFe2NB86PADOdng7DnRxmc7eKbh34XgS/0qWl6/+AqfOtAJpB99iCWc9tBJyFQDk5cRZApQ6zaJxtK9K2OUwL2pOSoVYXlJsxxhg1QzVC90y2ir5/oKNrWLT0nI7jcFbhvZTSSLjUMdJExNylO4K4V7uVN+NiiBNRHJAGkb3HmfRAzkdNJFW4G8iKD4Ujr1dOh46qeJ5nVGa+KsJrCiOF5eimd4kjXKTwZUyVVQSyPcqsd4lZrzu/Lg+JfxpDlwfd5VF6eVhffh1YfuFY3vKXXpp+BBgAJ4tDuRr9Ie8AAAAASUVORK5CYII=");
  background-position: 0% 0%;
}
h2.ribbon:before,
h2.ribbon:after {
  content: "\0020";
  position: absolute;
  width: 0;
  height: 0;
}
h2.ribbon:before {
  width: 10px;
  right: -30px;
  bottom: -10px;
  border-width: 20px 20px;
  border-style: solid;
  border-color: #cc0000 transparent #cc0000 #cc0000;
}
h2.ribbon:after {
  right: 0;
  top: 100%;
  border-width: 5px 5px;
  border-style: solid;
  border-color: #990000 transparent transparent #990000;
}
h2.ribbon.red span {
  background-color: #990000;
}
h2.ribbon.red:before {
  border-color: #660000 transparent #660000 #660000;
}
h2.ribbon.red:after {
  border-color: #330000 transparent transparent #330000;
}

/* Ribbon 2 */

h2.ribbon2 {
  width: 90%;
  position: absolute;
  bottom: 30px;
  margin: 20px auto;
  color: white;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  font-size: 16px;
  text-align: center;
  font-weight: normal;
}

/* ===== PRELOADER ===== */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 9999999;
  height: 100%;
  width: 100%;
  overflow: hidden;
}
.no-js #preloader,
.oldie #preloader {
  display: none;
}
#loader {
  overflow: hidden;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120px;
  height: 120px;
  margin-left: -60px;
  margin-top: -60px;
  padding: 0;
  background-color: #002396;
  border-radius: 100%;
  -webkit-animation: sk-scaleout 1s infinite ease-in-out;
  animation: sk-scaleout 1s infinite ease-in-out;
}
@-webkit-keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);
    opacity: 0;
  }
}
@keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0;
  }
}

/* ===== SOMBRAS ===== */

.effect0 {
  /* 
    -webkit-box-shadow: 0 10px 10px 10px #777;
       -moz-box-shadow: 0 10px 10px 10px #777;
            box-shadow: 0 10px 10px 10px #777;
    */
  -webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.41);
  -moz-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.41);
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.41);
}

.effect1 {
  -webkit-box-shadow: 0 10px 6px -6px #777;
  -moz-box-shadow: 0 10px 6px -6px #777;
  box-shadow: 0 10px 6px -6px #777;
}

.effect2 {
  position: relative;
}
.effect2:before,
.effect2:after {
  z-index: -1;
  position: absolute;
  content: "";
  bottom: 15px;
  left: 10px;
  width: 50%;
  top: 80%;
  max-width: 300px;
  background: #777;
  -webkit-box-shadow: 0 15px 10px #777;
  -moz-box-shadow: 0 15px 10px #777;
  box-shadow: 0 15px 10px #777;
  -webkit-transform: rotate(-3deg);
  -moz-transform: rotate(-3deg);
  -o-transform: rotate(-3deg);
  -ms-transform: rotate(-3deg);
  transform: rotate(-3deg);
}
.effect2:after {
  -webkit-transform: rotate(3deg);
  -moz-transform: rotate(3deg);
  -o-transform: rotate(3deg);
  -ms-transform: rotate(3deg);
  transform: rotate(3deg);
  right: 10px;
  left: auto;
}

.effect3 {
  position: relative;
}
.effect3:before {
  z-index: -1;
  position: absolute;
  content: "";
  bottom: 15px;
  left: 10px;
  width: 50%;
  top: 80%;
  max-width: 300px;
  background: #777;
  -webkit-box-shadow: 0 15px 10px #777;
  -moz-box-shadow: 0 15px 10px #777;
  box-shadow: 0 15px 10px #777;
  -webkit-transform: rotate(-3deg);
  -moz-transform: rotate(-3deg);
  -o-transform: rotate(-3deg);
  -ms-transform: rotate(-3deg);
  transform: rotate(-3deg);
}

.effect4 {
  position: relative;
}
.effect4:after {
  z-index: -1;
  position: absolute;
  content: "";
  bottom: 15px;
  right: 10px;
  left: auto;
  width: 50%;
  top: 80%;
  max-width: 300px;
  background: #777;
  -webkit-box-shadow: 0 15px 10px #777;
  -moz-box-shadow: 0 15px 10px #777;
  box-shadow: 0 15px 10px #777;
  -webkit-transform: rotate(3deg);
  -moz-transform: rotate(3deg);
  -o-transform: rotate(3deg);
  -ms-transform: rotate(3deg);
  transform: rotate(3deg);
}

.effect5 {
  position: relative;
}
.effect5:before,
.effect5:after {
  z-index: -1;
  position: absolute;
  content: "";
  bottom: 25px;
  left: 10px;
  width: 50%;
  top: 80%;
  max-width: 300px;
  background: #777;
  -webkit-box-shadow: 0 35px 20px #777;
  -moz-box-shadow: 0 35px 20px #777;
  box-shadow: 0 35px 20px #777;
  -webkit-transform: rotate(-8deg);
  -moz-transform: rotate(-8deg);
  -o-transform: rotate(-8deg);
  -ms-transform: rotate(-8deg);
  transform: rotate(-8deg);
}
.effect5:after {
  -webkit-transform: rotate(8deg);
  -moz-transform: rotate(8deg);
  -o-transform: rotate(8deg);
  -ms-transform: rotate(8deg);
  transform: rotate(8deg);
  right: 10px;
  left: auto;
}

.effect6 {
  position: relative;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(0, 0, 0, 0.1) inset;
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(0, 0, 0, 0.1) inset;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}
.effect6:before,
.effect6:after {
  content: "";
  position: absolute;
  z-index: -1;
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  top: 50%;
  bottom: 0;
  left: 10px;
  right: 10px;
  -moz-border-radius: 100px / 10px;
  border-radius: 100px / 10px;
}
.effect6:after {
  right: 10px;
  left: auto;
  -webkit-transform: skew(8deg) rotate(3deg);
  -moz-transform: skew(8deg) rotate(3deg);
  -ms-transform: skew(8deg) rotate(3deg);
  -o-transform: skew(8deg) rotate(3deg);
  transform: skew(8deg) rotate(3deg);
}

.effect7 {
  position: relative;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(0, 0, 0, 0.1) inset;
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(0, 0, 0, 0.1) inset;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}
.effect7:before,
.effect7:after {
  content: "";
  position: absolute;
  z-index: -1;
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  top: 0;
  bottom: 0;
  left: 10px;
  right: 10px;
  -moz-border-radius: 100px / 10px;
  border-radius: 100px / 10px;
}
.effect7:after {
  right: 10px;
  left: auto;
  -webkit-transform: skew(8deg) rotate(3deg);
  -moz-transform: skew(8deg) rotate(3deg);
  -ms-transform: skew(8deg) rotate(3deg);
  -o-transform: skew(8deg) rotate(3deg);
  transform: skew(8deg) rotate(3deg);
}

.effect8 {
  position: relative;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(0, 0, 0, 0.1) inset;
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(0, 0, 0, 0.1) inset;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}
.effect8:before,
.effect8:after {
  content: "";
  position: absolute;
  z-index: -1;
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  top: 10px;
  bottom: 10px;
  left: 0;
  right: 0;
  -moz-border-radius: 100px / 10px;
  border-radius: 100px / 10px;
}
.effect8:after {
  right: 10px;
  left: auto;
  -webkit-transform: skew(8deg) rotate(3deg);
  -moz-transform: skew(8deg) rotate(3deg);
  -ms-transform: skew(8deg) rotate(3deg);
  -o-transform: skew(8deg) rotate(3deg);
  transform: skew(8deg) rotate(3deg);
}

.effect9 {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.effect9:after {
  content: "";
  position: absolute;
  z-index: -1;
  -webkit-box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
  bottom: 0px;
  width: 80%;
  height: 50%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  left: 10%;
  right: 10%;
}
