﻿*{
    padding:0;
    margin:0;
    box-sizing:border-box;
}
body {
    font-family: 'Helvetica Neue',sans-serif;
    
}
a{
    text-decoration: none;
    color:#000;
}
.contenedor{
    width:100%;
    min-height:100vh;
    margin:0 auto;
    /*display:grid;
    grid-template-columns:minmax(90px, 90px) auto;
    grid-template-rows: 60px auto;
    grid-template-areas:"header header"
                        "menu contenido";*/
    transition: all .3s ease;
}
.contenedor .active{
    /*grid-template-columns: minmax(300px, 18%) auto;*/
}

.contenedoradmin {
    width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    display:grid;
    grid-template-columns:minmax(90px, 90px) auto;
    grid-template-rows: 60px auto;
    grid-template-areas:"header header"
                        "menu contenido";
    transition: all .3s ease;
}

    .contenedoradmin.active {
        grid-template-columns: minmax(300px, 18%) auto;
    }
        /*--------------- HEADER ------------------------*/
        .header{
    grid-area: header;
    padding : 10px 20px;
    /*padding-top:10px;*/
    display: grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    justify-content: space-between;
    grid-gap: 20px;
    grid-template-areas: "logo busqueda iconos";
    
}


.header .contenedor-logo{
    grid-area:logo;
    display:flex;
    align-items:center;

}
.header .contenedor-logo .boton-menu {
        border: none;
        padding: 10px;
        background: none;
        cursor: pointer;
        font-size: 18px;
        border-radius: 100px;
        width: 50px;
        height: 50px;
        margin-right: 20px;
}

.header .contenedor-logo .boton-menu:hover {
        background: #E7E7E7;
}


    .header .contenedor-logo .logo {
        font-family: 'Helvetica Neue', cursive;
        font-size: 20px;
        position: relative;
        top: 5px;
        display: inline-block;
    }

        .header .contenedor-logo .logo .imagen {
            vertical-align: top;
            position: relative;
            top: -4px;

            /*width: 30px;
        top: -30px;*/
        }

.header .contenedor-logo .logo .fas { /*esto es el logotipo de youtube cambiar por logotipo sbbox pequeño.*/
        background: #ff0000;
        padding: 7px 12px;
        border-radius: 4px;
        font-size: 8px;
        color: #fff;
        position: relative;
        top: -4px;
        margin-right: 4px;
}

    


.header .barra-busqueda {
        grid-area: busqueda;
        display: flex;
        align-items:center;
        justify-content:center;
}

.header .barra-busqueda input{
    min-width: 60%;
    padding: 0 15px;
    height: 35px;
    line-height :35px;
    border: 1px solid #ccc;
    font-size:16px;
    font-family: 'Open Sans', sans-serif;

}

.header .barra-busqueda button {
        height:35px;
        border: 1px solid #ccc;
        border-left:none;
        color:#545454;
        background:#f8f8f8;
        padding: 0 25px;
        cursor: pointer;

}

.header .barra-busqueda button:hover{
    background:#f5f5f5;
}

    .header .barra-busqueda TextBox {
        min-width: 60%;
        padding: 0 15px;
        height: 35px;
        line-height: 35px;
        border: 1px solid #ccc;
        font-size: 16px;
        font-family: 'Open Sans', sans-serif;
    }

    #boton-buscar {
        height: 35px;
        width:75px;
        text-align:center;
        border: 1px solid #ccc;
        border-left: none;
        color: #545454;
        /*background: #f8f8f8;*/
        background: #18A79D;

        padding: 0 25px;
        cursor: pointer;
    }

        #boton-buscar:hover {
            background: #f5f5f5;
        }

.header .botones-header {
        grid-area: iconos;
        display:flex;
        align-items:center;
}

.header .botones-header button{
    background:none;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 18px;
    padding: 7px 12px;
    border-radius:100px;
    color: #828282;
    margin-right : 20px;
    cursor: pointer;
}

.header .botones-header button:hover {
    color: #E7E7E7;
}

    .header .botones-header linkbuton {
        background: none;
        border: none;
        width: 40px;
        height: 40px;
        font-size: 18px;
        padding: 7px 12px;
        border-radius: 100px;
        color: #828282;
        margin-right: 20px;
        cursor: pointer;
    }

        .header .botones-header linkbuton:hover {
            color: #E7E7E7;
        }
    .header .botones-header .avatar {
        width: 30px;
        height: 30px;
        /*display: inline-block;*/
        background-color: #18A79D;
        border-radius: 100px;
        display: flex;
        align-items: center;
        text-align: center;
    }
        .header .botones-header .avatar .etiqueta {
            /*vertical-align: top;
            position:relative;*/
            width: 30px;
            display: block;
            text-align: center;
            align-items: center
            /*border-radius: 100px;*/
        }
/*--------------- MENU LATERAL ------------------------*/
        .menu-lateral {
    grid-area: menu;
    background: #fff;
    overflow:hidden;

}

            .menu-lateral a {
                display: block;
                padding: 15px 35px;
                color: #000;
                min-width: 800px;
                font-size: 16px;
                font-family: 'Helvetica Neue';
            }

            .menu-lateral a:hover {
            background:#e5e5e5;
            }

            .menu-lateral a.active{
                background: #e5e5e5;
                font-weight:bold;
            }

           

            .menu-lateral .fas{
                color:#606060;
                margin-right: 32px;
                width: 20px;
                text-align: center;
            }

            .menu-lateral a.active .fas {
                color: #ff0000;
                
            }

            .menu-lateral hr{
                margin: 20px 0;
                border: 1px solid #dfdfdf;
            }
/*--------------- MAIN ------------------------*/

.main {
    grid-area: contenido;
    background: #f9f9f9;
    padding: 40px;

}

.main .titulo{
    margin-bottom:20px;
}

    .main .grid-videos {
        display: grid;
        grid-gap: 40px 20px;
        grid-template-columns: repeat(4,1fr);
    }
.main .grid-videos .video{
    width:100%;
    display:block;
   
    
}

    .main .grid-videos .video img {
        width: 100%;
    }
    .main .video-principal {
        width: 100%;
        height: 700px;
        align-items:center;
    }

    .main .video-principal video {
            padding: 0px 0px;
            width: 100%;
            height :600px;
            align-items:center;
    }
    .main .video{
        border:1px solid;
        border-color:lightgray
    }
.main hr {
    margin: 20px 0;
    border: 1px solid #dfdfdf;
}

.video-principal h3 {
    padding: 0px 40px;
    
    font-size: 26px;
    font-family: 'Helvetica Neue';
}
.video-principal span {
    padding: 20px 40px;
    color:blue;
    font-size:16px;
    font-family: 'Helvetica Neue';
}

.login-box {
    width: 360px;
    margin: 7% auto;
    border:1px solid;
    border-color:lightgray;
    padding:40px;
    border-radius:20px;
}

.user-box {
    width: 550px;
    margin: 7% auto;
    border: 1px solid;
    border-color: lightgray;
    padding: 40px;
    border-radius: 20px;
}

.customers {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
    padding-top:30px;
}

    .customers td, #customers th {
        border: 1px solid #ddd;
        padding: 8px;
    }

    .customers tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    .customers tr:hover {
        background-color: #ddd;
    }

    .customers th {
        padding-top: 12px;
        padding-bottom: 12px;
        text-align: left;
        background-color: #04AA6D;
        color: white;
    }



    /*...................Mediaqueries*/
    @media screen and (max-width:1200px) {
        .main .grid-videos {
            grid-template-columns: repeat(3,1fr);
        }

        .header .contenedor-logo .logo span {
            display: none;
        }

        .header .barra-busqueda input {
            min-width: 70%;
        }
    }

    @media screen and (max-width:992px) {
        .main .grid-videos {
            grid-template-columns: repeat(2,1fr);
        }
    }

    @media screen and (max-width:768px) {
        .contenedor {
            grid-template-rows: auto;
        }

        .header {
            padding: 20px;
            grid-template-columns: auto auto;
            justify-content: space-between;
            grid-template-areas: "logo iconos" "busqueda busqueda";
        }

            .header .contenedor-logo .logo span {
                display: inline;
            }

            .header .barra-busqueda input {
                min-width: auto;
                width: 100%
            }
        .login-box {
            width: 90%;
            margin-top: 20px
        }
    }

    @media screen and (max-width:576px) {
        .main .grid-videos {
            grid-template-columns: repeat(1,1fr);
        }
    }

