* {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  list-style: none;
  text-decoration: none;
}

body {
  font-size: 14px;
  /*display: flex;*/
  justify-content: center;
  align-items: center;
  height: 100vh;
  line-height: 1.6;
  background:#f3f3f3;
  padding-bottom: 100px;
}
.videos {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 5px 5%;
}
.videos .principal {
    flex: 0 0 65%;
    max-width: 65%;
    padding: 10px;
    background: #ffffff;
}

.videos .principal .opcion video {
    width: 100%;
}

.videos .principal .opcion img {
    width: 100%;
}

.videos .principal .opcion .video-desc {
    color: #04bcff;
    font-size: 18px
/*    padding: 15px 0;*/
}

.videos .lista {
    flex: 0 0 34%;
    max-width: 34%;
    background: #ffffff;
    height: 546px;
    overflow-y: scroll;
}

.videos .lista::-webkit-scrollbar {
    width: 3px;
}

.videos .lista::-webkit-scrollbar-track {
    border-radius: 50px;
    background: #cccccc;
}

.videos .lista::-webkit-scrollbar-thumb {
    border-radius: 50px;
    background: #666666;
}

.videos .lista .opcion {
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 20px;
    background: #fff;
    margin: 5px;
    line-height: 19px;
    font-size: 14px;
    cursor: pointer;
}

.videos .lista .opcion:hover {
    background: white;
    color: #04bcff;
}

.videos .lista .opcion.seleccion {
    background: #04bcff;
}
.videos .lista .opcion video {
    flex: 0 0 20%;
    max-width: 20%;
}

.videos .lista .opcion img {
    flex: 0 0 20%;
    max-width: 20%;
}

.videos .lista .opcion.seleccion .video-desc {
    color: #ffffff;
}

.videos .lista .opcion .video-desc {
    font-size: 14px;
    flex: 1;
    max-width: 80%;
}

@media (max-width:800px) {
    .videos {
        flex-direction: column;
    }
    .videos .principal {
        flex: 0 0 100%;
        max-width: 100%;    
        height: auto;
        margin-bottom: 5px;
    }
    .videos .lista {
        flex: 0 0 100%;
        max-width: 100%;

    }
}

.titulo{
    color: #2980b9;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 48px;
    margin: 0 0 0;
    padding: 20px 30px;
    text-align: center;
    text-transform: uppercase;
}

.titulo-login{
    color: snow;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 48px;
    margin: 0 0 0;
    padding: 20px 30px;
    text-align: center;
    text-transform: uppercase;
}

/* efectos para el contenedor de pantalla completa */
#contenedor {
    display: flex;
    align-items: center;
    justify-content: center;
    
    margin: 0;
    padding: 0;
    min-width: 100vw;
    min-height: 100vh;
    width: 100%;
    height: 100%;
}

/* contenedor del login a la izquierda */
#contenedorcentrado {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction:row;
    
    min-width: 380px;
    max-width: 900px;
    width: 90%;
    
    background-color: #2980b9;
    
    /*opacity: 0.50;
    filter: alpha(opacity=50);*/
    
    border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    
    -webkit-box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.15);
    box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.15);
    
    padding: 30px;
    box-sizing: border-box;
}

/* formulario de login */
/* formulario de login */
#login {
    width: 100%;
    max-width: 320px;
    min-width: 320px;
    padding: 30px 30px 50px 30px;
    background-color: #04bcff;
    
    -webkit-box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.15);
    box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.15);
    
    border-radius: 3px 3px 3px 3px;
    -moz-border-radius: 3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
    
    box-sizing: border-box;
    
    opacity: 1;
    filter: alpha(opacity=1);
}

#login label {
    display: block;
    font-family: sans-serif;
    font-size: 120%;
    color:snow;
    
    margin-top: 15px;
}

#login input {
    font-family: sans-serif;
    font-size: 110%;
    color: #1b262c;
    
    display: block;
    width: 100%;
    height: 40px;
    
    margin-bottom: 10px;
    padding: 5px 5px 5px 10px;
    
    box-sizing: border-box;
    
    border: none;
    border-radius: 3px 3px 3px 3px;
    -moz-border-radius: 3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
}

#login input::placeholder {
    font-family: sans-serif;
    color: #E4E4E4;
}

#login button {
    font-family: sans-serif;
    font-size: 110%;
    color:snow;
    width: 100%;
    height: 40px;
    border: none;
    
    border-radius: 3px 3px 3px 3px;
    -moz-border-radius: 3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
    
    background-color: #2980b9;
    
    margin-top: 10px;
}

#login button:hover {
    background-color: snow;
    color:#2980b9;
}
/* formulario de login */
/* formulario de login */

/* seccion de la derecha */
/* seccion de la derecha */
/* por defecto */
#derecho {
    /*display: flex;
    align-items:center;
    justify-content:center;*/
    
    text-align: center;
    width: 100%;
    
    opacity: 0.70;
    filter: alpha(opacity=70);
    color: snow;
    padding:20px 20px 20px 50px;
    box-sizing: border-box;
}


.logo-empresa img {
    width: 60%;
}

hr {
    border-top: 1px solid #8c8b8b;
    border-bottom: 1px solid #dfcdc3;
    
}
.pie-form {
    font-size: 90%;
    text-align: center;    
    margin-top: 15px;
}

.pie-form a {
    display: block;
    text-decoration: none;
    color: #dfcdc3;
    margin-bottom: 3px;
}

.pie-form a:hover {
    color: #719192;
}
/* seccion de la derecha */
/* seccion de la derecha */

/* ajustar a pantallas con ancho menor o igual a 775px; */
/* ajustar a pantallas con ancho menor o igual a 775px; */
@media all and (max-width: 775px)
{
    #contenedorcentrado {
        flex-direction:column-reverse;

        min-width: 380px;
        max-width: 900px;
        width: 90%;

        background-color: #2980b9;

        /*opacity: 0.50;
        filter: alpha(opacity=50);*/

        border-radius: 10px 10px 10px 10px;
        -moz-border-radius: 10px 10px 10px 10px;
        -webkit-border-radius: 10px 10px 10px 10px;

        -webkit-box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.15);
        -moz-box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.15);
        box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.15);

        padding: 30px;
        box-sizing: border-box;
    }
    
    #login {
        margin: 0 auto;
    }
    
    #derecho {
        padding:20px 20px 20px 20px;
    }
    
    #login label {
        text-align: left;
    }
}

.esconder {
    display: none !important;
}

#contador {
    display: inline;
}

#recargar {
    cursor: pointer;
    font-size: 16px;
    color: #2980b9;
}

#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 120px;
  height: 120px;
  margin: -76px 0 0 -76px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #2980b9;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s
}

@-webkit-keyframes animatebottom {
  from { bottom:-100px; opacity:0 } 
  to { bottom:0px; opacity:1 }
}

@keyframes animatebottom { 
  from{ bottom:-100px; opacity:0 } 
  to{ bottom:0; opacity:1 }
}
