@import 'https://fonts.googleapis.com/css?family=Open+Sans';
@import 'https://fonts.googleapis.com/css?family=Roboto';


/* Some common values stored as variables */
:root {
    --normal-video-width: 480px;
    --normal-video-height: 300px;
    --normal-button-height: 26px;
}

/* Align bootstrap 4 tooltips */
.tooltip-inner {
    text-align: justify;
    hyphens: auto;
}


.app-width {
  min-width: 1040px;
  width: 1040px;
}

.mini-video {
  width: 234px;
  height: 146px;
  background: Aquamarine;
  z-index: 0;
}

.normal-video {
  width: var(--normal-video-width);
  height: var(--normal-video-height);
  background: Aquamarine;
  z-index: 0;
}

.mini-video-width {
  width: 234px;
}
.normal-video-width {
  width: var(--normal-video-width);
}

.video-container {
  position: relative;
}

.player-container {
  position: absolute;
  width: var(--normal-video-width);
  height: var(--normal-video-height); 
}

#myplayer {
    /* per qualche motivo l'altezza dev'essere forzata nel tag <video> */
}

.stack-bottom { z-index: -10 !important; }
.stack-top { z-index: 10 !important; }

.unselectable {
    user-select: none;
}
.pointer {
    cursor: pointer;    
}

.mirrored {
  transform: rotateY(180deg);    
}

.fullscreen-button {
  position: absolute;
  bottom: 8px;
  right: 8px;
  text-shadow: 0px 0px 2px black;
  color: Snow;  
  font-size: 0.75em;
  cursor: pointer;
  user-select: none;
 
  z-index: 1;
}

.video-button {
  position: absolute;
  top: 8px;
  right: 8px;
  text-shadow: 0px 0px 2px black;
  color: Snow;  
  font-size: 0.75em;
  cursor: pointer;
  user-select: none;
 
  z-index: 1;
}

.video-button-position-tl { top: 8px;     bottom: initial; left: 8px;     right: initial; }
.video-button-position-tr { top: 8px;     bottom: initial; left: initial; right: 8px;     }
.video-button-position-br { top: initial; bottom: 8px;     left: initial; right: 8px;     }
.video-button-position-bl { top: initial; bottom: 8px;     left: 8px;     right: initial; }


.video-caption {
  font-size: 0.75em;
  font-family: Roboto;
  position: absolute;
  bottom: 1px;
  width: 100%;
  
  text-align: center;
  text-shadow: 0px 0px 2px black;
  color: Snow;  
  background: rgba(0, 0, 0, 0);
  
  cursor: default;
  user-select: none;
  
  z-index: 1;
}



.transparent {
    display:none;
    opacity:0.0;
    filter:alpha(opacity=0);
}

.btn-w-1 { width:  2.75em; }
.btn-w-2 { width:  3.5em;  }
.w-2em    { width:  2em;    }
.w-3em    { width:  3em;    }
.w-4em    { width:  4em;    }
.w-5em    { width:  5em;    }
.w-6em    { width:  6em;    }
.w-7em    { width:  7em;    }
.w-8em    { width:  8em;    }
.w-9em    { width:  9em;    }
.w-10em  { width: 10em;    }
.w-11em  { width: 11em;    }
.w-12em  { width: 12em;    }
.w-13em  { width: 13em;    }
.w-14em  { width: 14em;    }
.w-15em  { width: 15em;    }
.w-16em  { width: 16em;    }
.w-17em  { width: 17em;    }
.w-18em  { width: 18em;    }
.w-19em  { width: 19em;    }
.w-20em  { width: 20em;    }

.fs-large {  font-size: 1.5rem; }


.opacity-100 { opacity: 1.00; }
.opacity-90  { opacity: 0.90; }
.opacity-75  { opacity: 0.75; }
.opacity-50  { opacity: 0.50; }
.opacity-25  { opacity: 0.25; }
.opacity-10  { opacity: 0.10; }

.opacity-hover-100:hover { opacity: 1; }




.border-gray {
    border-color: silver;
}
.dashed {
    border-style: dashed !important;
    border-width: 3px !important;
}

.input-file {
    width: 0px;
    height: 0px;
    padding: 0;
    border: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.input-file + label {
    cursor: pointer;
}


.undroppable {
    
}

.droppable-area {
    position: absolute; 
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
    width: 100%;
    height: 100%;
    font-size: 2em;
    display: flex;
    align-items: center;  
    justify-content: center;    
}


.droppable-area.dropping {
    text-shadow: 0px 0px 2px black;
    color: LemonChiffon;
    opacity: 0.5;

}

.clock {
  /*background: rgba(0, 0, 0, 0.1);color: #fff;*/
  
  font-family: "Open Sans", sans-serif;
  font-size: 1.25rem;
  line-height: 4.5rem;
  vertical-align: middle;
  text-align: center;
}


.vertical {
  transform: rotate(270deg);
}


.no-video-controls::-webkit-media-controls {
  display:none !important;
}


/* extend FontAwesome effetcs */

@keyframes fa-blink-3x {
    0%   { opacity: 0;   transform: scale(1.0); }
    10%  { opacity: 0.2; transform: scale(1.2); }
    15%  { opacity: 0.3; transform: scale(1.5); }    
    20%  { opacity: 0.4; transform: scale(1.8); }
    25%  { opacity: 0.7; transform: scale(2.0); }    
    30%  { opacity: 0.8; transform: scale(2.3); }
    35%  { opacity: 0.9; transform: scale(2.7); }    
    40%  { opacity: 1.0; transform: scale(3.5); }
    45%  { opacity: 1.0; transform: scale(3.5); }
    50%  { opacity: 1.0; transform: scale(2.7); }
    55%  { opacity: 1.0; transform: scale(2.3); }
    60%  { opacity: 0.8; transform: scale(2.0); }
    70%  { opacity: 0.6; transform: scale(1.8); }
    80%  { opacity: 0.4; transform: scale(1.5); }
    90%  { opacity: 0.2; transform: scale(1.2); }
    100% { opacity: 0;   transform: scale(1.0); }
}

.fa-blink-3x {
   animation: fa-blink-3x 2s linear infinite;
   color: yellow;
}

@keyframes fa-blink-2x {
    0%   { opacity: 0;   transform: scale(1.0); }
    10%  { opacity: 0.2; transform: scale(1.1); }
    15%  { opacity: 0.3; transform: scale(1.25); }    
    20%  { opacity: 0.4; transform: scale(1.4); }
    25%  { opacity: 0.7; transform: scale(1.5); }    
    30%  { opacity: 0.8; transform: scale(1.65); }
    35%  { opacity: 0.9; transform: scale(1.85); }    
    40%  { opacity: 1.0; transform: scale(2.0); }
    45%  { opacity: 1.0; transform: scale(2.0); }
    50%  { opacity: 1.0; transform: scale(1.85); }
    55%  { opacity: 1.0; transform: scale(1.65);  }
    60%  { opacity: 0.8; transform: scale(1.5); }
    70%  { opacity: 0.6; transform: scale(1.4); }
    80%  { opacity: 0.4; transform: scale(1.15); }
    90%  { opacity: 0.2; transform: scale(1.1); }
    100% { opacity: 0;   transform: scale(1.0); }
}

.fa-blink-2x {
   animation: fa-blink-2x 2s linear infinite;
}



.fa-blink, .fa-blink-1x {
  animation: fa-blink 1s linear infinite;
}

@keyframes fa-blink {
  50% {
    opacity: 0;
  }
}