@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sofia+Sans+Condensed:wght@500&display=swap');

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Sofia Sans Condensed', sans-serif;  
}

.flex{
    display: flex;
}

.ai-c{
    align-items: center;
}

.ai-fs{
    align-items: flex-start;
}

.ai-fe{
    align-items: flex-end;
}

.jc-sb{
    justify-content: space-between;
}

.jc-se{
    justify-content: space-evenly;
}

.jc-sa{
    justify-content: space-around;
}

.wrap{
    flex-wrap: wrap;
}

.center{
    justify-content: center;
    align-items: center;
}

.row-reverse{
    flex-direction: row-reverse;
}

.column{
    flex-direction: column;
}

.none{
    display: none;
}

.show{
    display: flex;
}

.mostrar{
    display: block !important;
}

.text-required{
    color: red;
}

.container-body{
    margin: 30px 20px 30px 20px;
    padding-right: 30px;
}

/*Opciones -> Register, página principal y Login*/
.containerPrincipal{
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.body_principal{
    background-image: url(../img/fondo1.jpeg);
    background-size: 50%;
}

.form_container{
    width: 700px;
    height: auto;
    padding: 4% 8%; 
    background-color:rgb(255, 255, 255);
    box-shadow: #d4d4d4 0px -2px 9px 0px;
    border-radius: 20px;
}

.form_cuadro{
    font-size: 25px;
    height: 30px;
    margin: 1% 0;
    transition: .8s;
    border: 0;
    border-bottom: 2px solid gray;
}

.form_cuadro:focus{
    outline-color: #1d791d ;
}

.form_cuadro:disabled {
    background: rgb(214, 214, 214);
    color:#333333;
}


/*Password*/

.container-password{
    position: relative;
}

.container-password input{
    width: 100%;
}

.container-password img{
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 10%;
}


/*Botones*/
.btn_success{
    color: rgb(11, 131, 7);
    background-color: rgba(72, 216, 59, 0.685);
    border: 1px solid rgb(11, 131, 7);
    text-align: center;
    margin: 2%;
}

.btn_warning{
    color: rgb(255, 145, 0);
    background-color: rgba(238, 238, 56, 0.747);
    border: 1px solid rgb(255, 145, 0);
    text-align: center;
    margin: 2%;
}

.btn_error{
    color: rgb(131, 7, 7);
    background-color: rgba(216, 59, 59, 0.685);
    border: 1px solid rgb(156, 5, 5);
    text-align: center;
    margin: 2%;
}

.btn{
    display:block;
    text-align: center;
}

.form_botonGreen{
    padding: 13px 13px;
    margin: 1% 0;
    font-size: 16px;
    color: white;
    border: 0;
    transition: background-color .7s;
    background-color: darkgreen;
    box-shadow: #29b929 0px -2px 9px 0px;
}

.form_botonGray{
    padding: 13px 13px;
    margin: 1% 0;
    font-size: 16px;
    color: white;
    border: 0;
    transition: background-color .7s;
    background-color: gray;
    box-shadow: rgb(96, 96, 96) 0px -2px 9px 0px;
}

.form_botonOrange{
    padding: 13px 13px;
    margin: 1% 0;
    font-size: 16px;
    color: white;
    border: 0;
    transition: background-color .7s;
    background-color: rgb(247, 151, 9);
    box-shadow: rgb(255, 145, 0) 0px -2px 9px 0px;
}

.form_botonGreen:hover, .form_botonGray:hover, .form_botonOrange:hover{
    background-color: black;
    box-shadow: #242424 0px -2px 9px 0px;
}

.btn-seccion{
    border-bottom: #1d791d solid 3px;
    color: #1d791d;
}


/*Body*/
.body-principal{
    width: calc(100% - 250px);
    margin-left: 250px;
    margin-top: 85px;
    padding: 50px 40px;
    transition: all 0.3s linear;
}

/*Header*/

/*Header Vertical*/
.headerPrincipal .opt_vertical{
    background-color: #1d791d;
    top: 100px;
    height: 100%;
    width: 250px;
    position: fixed;
    z-index: 3;
    transition: all 0.3s ease;
}
.headerPrincipal .opt_vertical .header_cuadro{
    position: relative;
}
.headerPrincipal .opt_vertical .header_cuadro li a {
    color: white;
    text-decoration: none;
    display: block;
    position: relative;
    transition: all 300ms;
}
.headerPrincipal .opt_vertical .header_cuadro li a .nav-option {
    line-height: 30px;
    font-size: 18px;
    display: flex;
    align-items: center;
    padding: 10px 30px;
    position: relative;
    white-space: nowrap;
    transition: all 0.8s ease;
}

.headerPrincipal .opt_vertical .header_cuadro li a .nav-option i{
    margin-right: 20px;
    width: 20px;
}
.headerPrincipal .opt_vertical .header_cuadro li a .nav-option p{
    font-weight: 400px;
}
.headerPrincipal .opt_vertical ul li a .nav-option span{
    position: absolute;
    right: 20px;
    font-size: 1.5em;
}
.headerPrincipal .opt_vertical ul li a:hover{
    background-color: rgb(0, 152, 5);
    color: rgb(255, 255, 255);
}
.header_cuadro ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header_cuadro ul li {
    position: relative; 
}

.header_cuadro ul li:hover {
    position: relative;
}

.header_cuadro ul ul {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
}

.header_cuadro ul li:hover > ul {
    display: block;
}

.headerPrincipal .opt_vertical .header_cuadro ul li:hover ul{
    background-color: #2eb92e;
    height: auto;  
}
/*Header horizontal*/
.headerPrincipal .opt_horizontal{
    background-color: #29b929;
    width: 100%;
    height: 100px;
    position: fixed;
    top: 0;
    display: flex;
    z-index: 2;
}
.headerPrincipal .opt_horizontal .logoSENA{
    width: 250px;
    height: 100%;
    background-color: #1d791d;
    transition: all 0.3s ease;
}
.headerPrincipal .opt_horizontal > .logoSENA .img_logo{
    display: block;
    margin: 0 auto;
    width: 30%;
}

.headerPrincipal .opt_horizontal .content-horizontal{
    width: calc(100% - 250px);
    padding: 0 2%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.headerPrincipal .opt_horizontal .content-horizontal .btn_perfil .btnC{
    line-height: 30px;
    display: block;
    font-size: 20px;
    text-decoration: none;
    color: white;
    transition: all 0.8s;
}
.headerPrincipal .opt_horizontal .content-horizontal .btn_perfil .btnC:hover{
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
}

.opt_text{
    color: white;
}
.opt_name{
    font-size: 30px;
}
.opt_rol{
    font-size: 20px;
}

#toggler, .opt_vertical label{
    display: none;
    font-size: 35px;
}

.cuadroBtnPerfil > li{
    list-style: none;
}

.submenuPerfil{
    background-color: rgba(87, 87, 87, 0.712);
    position: absolute;
    right: 0;
    text-align: left;
    top: 70%;
    padding: 20px;
    margin-right: 1%;
    border-radius: 20px;
}

.btnP{
    line-height: 30px;
    display: block;
    font-size: 20px;
    text-decoration: none;
    color: white;
    transition: all 0.8s;
    padding-left: 20px;
    padding-right: 20px;
}
.btnP:hover{
    font-size: 23px;
}

/*Ticket*/
.container-ticket{
    border: 1px solid black;
    padding: 20px;
    width: 400px;
    margin: 0 auto;
}

/*Estilos tablas*/
.tabla{
    background-color: #29b929;
    font-size: 20px;
    color: white;
}

/*Secciones*/
.estilo-seccion{
    font-size: 25px;
    cursor: pointer;
    margin-left: 20px;
}

.estilo-seccion:hover{
    font-size: 25px;
    cursor: pointer;
    margin-left: 20px;
    color: #636262;
}

input[readonly]{
    background-color: #c9c9c9;
}

/*Responsive Header*/

/*Estilos input validación*/


.form_inputs{
    margin-bottom: 3px;
}

.form_inputs.error{
    display: flex;
    flex-direction: column;
}

.form_inputs.success{
    display: flex;
    flex-direction: column;
}

.form_inputs.success .form_cuadro{
    border-color: green;
}

.form_inputs.error .form_cuadro{
    border-color: red;
}

.form_inputs small{
    color: red;
    font-size: 14px;
    visibility: hidden;
}

.form_inputs.error small{
    visibility: visible;
    margin-bottom: 2px;
}

.estado{
    border-radius: 5%;
    width: 70px;
    font-size: 17px;
    text-align: center;
}

.estado-activo{
    background-color: lightseagreen;
    width: 70px;
    color: blue;
    border: 2px solid blue;
}

.estado-inactivo{
    background-color: lightsalmon;
    width: 150px;
    color: orangered;
    border: 2px solid orangered;
}


@media screen and (max-width: 768px) {
    .body-principal{
        width: calc(100% - 80px);
        margin-left: 80px;
        margin-top: 95px;
        padding: 25px 20px;
    }
    .openBody{
        width: calc(100% - 250px);
        margin-left: 250px;
    }
    .headerPrincipal .opt_vertical{
        width: 80px;
        overflow: hidden;
    }
    .headerPrincipal .open {
        width: 250px;
    }
    .headerPrincipal .opt_horizontal .logoSENA{
        width: 80px;
    }
    .headerPrincipal .opt_horizontal .openLogo{
        width: 250px;
    }
    .headerPrincipal .opt_horizontal > .logoSENA .openImgLogo{
        width: 25%;
    }
    .headerPrincipal .opt_vertical .header_cuadro li a .nav-option i{
        font-size: 20px;
        margin-right: 30px;
    }
    .headerPrincipal .opt_vertical ul li a .nav-option span{
        transform: rotateZ(90deg);
    }
    .headerPrincipal .opt_horizontal .content-horizontal{
        width: calc(100% - 80px);
    }
    .headerPrincipal .opt_horizontal .open{
        width: calc(100% - 250px);
    }
    .header_cuadro{
        width: 10%;
    }
    .header_cuadro ul ul {
        display: none;
        position: relative;
        top: 0;
        left: 0;
        background-color:#29b929;
    }
    .header_cuadro ul li {
        position: relative; 
        width: 250px;
    }
    .header_cuadro ul li:hover > ul {
        display: block;
    }

    .opt_vertical label{
        display: inline-flex;
        align-items: center;
        cursor: pointer;
    }
    
    #toggler:checked ~ .header_cuadro{
        max-height: 100%;
    }

    .headerPrincipal .opt_horizontal .content-horizontal{
        padding: 25px;
    }
    .header_cuadro ul li:hover > ul {
        display: none;
    }

    .opt_name{
        font-size: 18px;
    }
    
    .opt_rol{
        font-size: 15px;
    }
}

.camara{
    width: 70%;
    margin: 0 auto;
}
.camara > video{
    background-color: #242424;
    width: 100%;
}

/*Opciones de texto*/

.container-textoP{
    margin-bottom: 2%;
}

.titulo-principal{
    font-size: 40px;
}

.icon-titulo{
    font-size: 40px;
    color: #29b929;
    margin-right: 10px;
}

.icon-titulo-min{
    margin-top: 20px;
    font-size: 35px;
    color: #29b929;
}

.mensajeItalic{
    color: red;
    font-style: italic;
    font-size: 20px;
    text-align: center;
    margin-top: 30px;
}

.loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
    border-top: 4px solid #FFF;
    border-right: 4px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
  }
  .loader::after {
    content: '';  
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border-bottom: 4px solid rgb(11, 131, 7);
    border-left: 4px solid transparent;
  }
  @keyframes rotation {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  } 