@font-face{
    font-family: play;
    src: url("../fonts/Play/Play-Bold.ttf") format(truetype);
    src: url("../fonts/Play/Play-Regular.ttf") format(truetype);
    font-weight: bold;
    font-style: normal;

}
* {
    margin: 0;
    padding: 0;
}

body {
    background: #adadad;
    font-family: Arial, Helvetica, sans-serif;
    color: black;
}
.m--top--1{
    margin-top: 10px;
}
.m--bottom--1{
    margin-bottom: 10px;
}
.p--top--5{
    padding-top: 50px;
}
.p--bottom--5{
    padding-top: 50px;
}

/* #region Navbar lateral */

.nav__bar {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
    list-style: none;
}

.lateral__head {
    border-radius: 10px 0 0 0;
    background-color: #147eff;
    text-align: center;
    color: #fff;
    font-weight: 600;
}

.lateral_img {
    height: 120px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img_perfil {
    background-color: #123054;
    border-radius: 50%;
    height: 100px;
    width: 100px;
}

.nav__bar>li>a {
    border-bottom: solid 1px #ccc;
    box-sizing: border-box;
    color: black;
    display: flex;
    font-family: sans-serif;
    font-size: 0.9em;
    height: 30px;
    align-items: center;
    text-decoration: none;
    transition: all 1s ease-in-out;
    position: relative;
    padding-left: 40px;
    width: 100%;
}

.nav__bar>li>a:hover {
    background: dodgerblue;
    color: white;
}

.nav__bar>ul>li .icon {
    height: 12px;
    width: 12px;
    left: 2px;
    top: 3px
}

.lateral {
    background: #ffff;
    box-sizing: border-box;
    box-shadow: 0px 0px 3px #171717;
    border-radius: 10px 0 0 10px;
    min-height: 70vh;
    margin: 5px;
    padding: 5px;
    width: 20%;
}

/* #endregion */

.contenedor {
    background: linear-gradient(to right, #ada996, #f2f2f2, #dbdbdb, #eaeaea);
    box-shadow: 2px 2px 3px 3px #666666;
    display: flex;
    flex-direction: column;
    min-height: 90vh;
    margin: 0 auto;
    margin-top: 1em;
    width: 1000px;
    justify-content: flex-start;
    align-items: center;
}

.contenedor__main {
    
    display: flex;
    flex-direction: row;
    
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

.contenido {
    box-sizing: border-box;
    box-shadow: 0px 0px 3px #171717;
    border-radius: 0 10px 10px 0;
    min-height: 70vh;
    margin: 5px;
    padding: 5px;
    width: 80%;
}

.contenedor__title {
    background: linear-gradient(to right, #ada996, #f2f2f2, #dbdbdb, #eaeaea);
    border-radius: 15px 15px 0 0;
    border-bottom: solid 2px #adadad;
    box-sizing: border-box;
    color: white;
    display: block;
    font-family: fantasy, sans-serif;
    font-size: 3.2em;
    height: 100%;
    padding: 15px;
    text-align: center;
    text-shadow: 0px 2px 3px #333;
    width: 100%;
}

.contenedor__body {
    color: #fff;
    display: grid;
    grid-template-columns: 50% 50% ;
    grid-template-rows: 55% 40%;
    grid-template-areas: "content content " 
                        "article2 article4";
    padding: 20px;
    padding-left: 40px;    
    padding-right: 40px;
    box-sizing: border-box;
    grid-gap: 0.8em;
    justify-content: center;
    width: 100%;
}

.title {
    font-family: play;
    font-size: 1em;
    text-align: center;
    font-weight: 900;
    color: white;
}

.border-radius {
    border-radius: 15px;
}

.contador {
    color: rgb(2, 5, 29);
    font-size: 6em;
    font-family: Impact, sans-serif;
    text-shadow: 0px 1px 1px white;
   
}

.contador--md {
    font-size: 1.5em;
}

.body__content {
    grid-area: content;
    background: linear-gradient(to right, #BE466C, #BE466C);
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.body__content span {
    width: 100%;
    display: flex;
    justify-content: center;
}

.body__article {
    align-items: center;
    background: linear-gradient(to right, #BE466C, #BE466C);
    display: flex;
    flex-direction: column;
    
}

.article__img {
    width: 40%;
    height: 60%;
    padding: 10px;
    box-sizing: border-box;
}

.article__contenido {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.body__articulo1 {
    grid-area: article1;
}

.body__articulo2 {
    grid-area: article2;
}

.body__articulo3 {
    grid-area: article3;
}

.body__articulo4 {
    grid-area: article4;
}

.content__form {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5px;
}

.form__ground {
    display: flex;
    flex-direction: column;
    padding: 5px;
}

.btn__ground {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
    margin-bottom: 5px;
}

.title__form {
    border-bottom: solid 1px #ccc;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 10px;
    margin-top: 10px;
    padding-bottom: 5px;
    width: 100%;
}

.control__ground {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
    margin-bottom: 5px;
}
.title--label{
    font-size:0.8em ;
    font-weight: bolder;
    padding-right:4px ;
    width: 20%;
}

.form--input {
    border-radius: 5px;
    border: 1px solid #c2c2c2;
    height: 30px;
    padding-left: 5px;
    width: 100%;
    background: #f0f0f0;
}

.form--input--Icon {
    border-radius: 5px;
    border: 1px solid #c2c2c2;
    height: 30px;
    padding-left: 30px;
    width: 100%;
    background: #f0f0f0;
}


.text-lg {
    font-size: 3em;
}

.text-md {
    font-size: 25px;
}

.text-sm {
    font-size: 16px;
}

.form--input:focus, .form--input--Icon:focus {
    background-color: beige;
    box-shadow: 0 0 8px 0 dodgerblue;
    color: dodgerblue;
}

/* #region iconos */

.item__icon {
    position: relative;
}

.icon {
    position: absolute;
    left: 5px;
    top: 6px;
    padding: 10px 10px;
    height: 16px;
    width: 16px;
    box-sizing: border-box;
}

.iconHome {
    background: url(../img/iconHome.svg);
    background-repeat: no-repeat;
    background-position: center;
}
.iconCamara {
    background: url(../img/video-solid.svg);
    background-repeat: no-repeat;
    background-position: center;
}
.iconAforo {
    background: url(../img/street-view-solid.svg);
    background-repeat: no-repeat;
    background-position: center;
}
.iconActualizar {
    background: url(../img/sync-alt-solid.svg);
    background-repeat: no-repeat;
    background-position: center;
}
.iconUser {
    background: url(../img/userIcon.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.iconSalir {
    background: url(../img/iconSalir.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.icon-clock {
    background: url(../img/clock-regular.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.icon-calendar {
    background: url(../img/calendar.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.icon-people {
    background: url(../img/user-check-solid.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.icon-peopleWalking {
    background: url(../img/walking-solid.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.icon-users {
    background: url(../img/users-solid.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.userIcon {
    background: url(../img/userIcon.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.keyIcon {
    background: url(../img/keyIcon.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.passwordIcon {
    background: url(../img/iconPassword.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.emailIcon {
    background: url(../img/iconEmail.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.userEditIcon {
    background: url(../img/userEdit.svg);
    background-repeat: no-repeat;
    background-position: center;
}

/* #endregion */

.buttom {
    color: black;
    line-height: 30px;
    background: white;
    border-radius: 15px;
    border: none;
    box-sizing: border-box;
    font-weight: bold;
    font-size: 14px;
    font-family: sans-serif;
    height: 30px;
    margin: 2px;
    padding-left: 5px;
    padding-right: 5px;
    text-decoration: none;
    text-align: center;
}

.buttom:hover {
    color: white;
    cursor: pointer;
    text-decoration: none;
}

.buttom--sm {
    width: 100px;
}

.buttom--lg {
    width: 300px;
}
.inputIcon{
    height: 20px;
    width: 20px;
    border: none;
    margin: 2px;
}
.inputIconDelete {
    background: url(../img/iconDelete.svg);
    background-repeat: no-repeat;
    background-position: center;
    
}

.inputIconEdit {
    background: url(../img/edit-solid.svg);
    background-repeat: no-repeat;
    background-position: center;
    
}
.inputIconCheck {
    background: url(../img/check.svg);
    background-repeat: no-repeat;
    background-position: center;
    
}
.inputIconNoCheck {
    background: url(../img/no-check.svg);
    background-repeat: no-repeat;
    background-position: center;
    
}

.inputIconDelete:hover {
    cursor: pointer;
}

/* #region background */

.bg--blue {
    background: linear-gradient(to bottom, #5FFFFF, #3D75FF);
    border: solid 1px #2f80ed;
    font-weight: 300;
    transition: all 300ms ease-in;
}

.bg--blue:hover {
    background: #2f80ed;
    box-shadow: 1px 1px 2px #333;
}

.bg--danger {
    background: linear-gradient(to bottom, #F0350D, #FF6B95);
    box-shadow: 1px 1px 2px #333;
    font-weight: 300;
}

.bg--danger:hover {
    background: #ff3131;
    box-shadow: 1px 1px 2px #333;
    color: white;
}

.bg--gold {
    background: linear-gradient( gold, #FE7E0D);
    border: solid 1px #2f80ed;
    font-weight: 300;
    transition: all 300ms ease-in;
}

.bg--gold:hover {
    background: goldenrod;
    box-shadow: 1px 1px 2px #333;
}

.bg--gray {
    background: linear-gradient(to left, #ada996, #f2f2f2, #dbdbdb, #eaeaea);
    border: solid 1px #ada996;
    font-weight: 300;
    transition: all 300ms ease-in;
}

.bg--gray:hover {
    background: #ccc;
    box-shadow: 1px 1px 2px #333;
}

.bg__active {
    background: #ffc0b3;
}

/* #endregion */

.txt--black {
    color: black;
}

.txt--danger {
    color: red;
}
.txt--warning {
    color: #eb7e17;
}
.txt--green {
    color: greenyellow;
}

.txt--bold {
    font-weight: bold;
}

input [type="file"] {
    border: solid 1px dodgerblue;
    background: blue;
}

.contenedor__flex {
    border-radius: 0px 0px 20px 20px;
    background: #fff;
    box-sizing: border-box;
    justify-content: space-around;
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 80vh;
    width: 100%;
    overflow: hidden;
}

.container-all {
    width: 95%;
    height: 100%;
    position: fixed;
    padding: 40px;
    visibility: hidden;
    opacity: 0;
    transition: all 600ms;
    top: 0;
    left: 0;
}

.container-all:target {
    background: rgba(0, 0, 0, 0.8);
    visibility: visible;
    opacity: 1;
}

.container-all:target .popup {
    top: 45%;
    left: 45%;
    transform: rotate(0deg) translate(-50%, -50%);
    visibility: visible;
}

.popup {
    border-radius: 10px;
    width: 100%;
    max-width: 800px;
    height: 300px;
    position: relative;
    display: flex;
    background: white;
    visibility: hidden;
    top: -80%;
    left: -80%;
    transform: rotate(90deg) translate(-150%, 230%);
    transition: all 600ms;
}

.img {
    width: 30%;
    background-size: cover;
    background-position: center;
}

.container-text {
    width: 60%;
    overflow-y: auto;
}

.container-text h1 {
    font-size: 30px;
}

.container-text p {
    margin-top: 20px;
    font-size: 16px;
}

.btn-close-popup {
    position: absolute;
    right: -20px;
    top: -20px;
    padding: 20px;
    background: black;
    color: white;
    border-radius: 50%;
    line-height: 10px;
    text-decoration: none;
    transition: all 1s ease-out;
}

.btn-close-popup:hover {
    background: orangered;
    color: black;
}

@media screen and (max-width: 900px) {
    .container-all:target .popup {
        top: 45%;
        left: 45%;
    }
    .popup {
        flex-direction: column;
        height: 80%;
        max-height: 800px;
    }
    .img {
        width: 90%;
        height: 40%;
        padding: 34px;
        box-sizing: border-box;
    }
    .container-text {
        width: 100%;
        height: 60%;
    }
}

@media screen and (max-width: 500px) {
    .container-text h1 {
        font-size: 20px;
    }
    .container-text p {
        font-size: 12px;
    }
}

/* #endregion finmodal*/

table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

caption {
    background: black;
    color: #fff;
    font-family: sans-serif;
    font-size: 0.8em;
    padding: 5px;
    text-align: center;
    caption-side: top;
}

td, th {
    border: 1px solid #dddddd;
    font-size: 0.8em;
    text-align: left;
    padding: 8px;
}

tr:nth-child(even) {
    background-color: #dddddd;
}

/* #region ESTILOS 404*/

.info {
    background: url(../img/error.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    font-style: italic;
    justify-content: center;
    align-items: center;
    height: 90vh;
    width: 100%;
}

.imgError {
    height: 150px;
    width: 200px;
}

.fatality {
    color: white;
    font-size: 9em;
    font-family: Helvetica, sans-serif;
    font-style: normal;
    text-align: center;
    font-weight: bold;
    text-shadow: 2px 4px 4px dodgerblue;
}

/* #endregion FIN ESTILOS 404*/

/*#region box*/

.punto, .punto__center {
    border-radius: 50%;
    height: 10px;
    position: absolute;
    right: 1px;
    top: 3px;
    width: 10px;
}

.punto__center {
    position: relative;
    left: 50%;
}

.punto__green {
    background-color: #00eb3f;
}

.punto__red {
    background-color: #eb0017;
}

.box__header {
    position: relative;
}

.contenido__boxes {
    display: flex;
    flex-direction: row;
    height: 140px;
    justify-content: center;
    width: 100%;
}

.box {
    align-items: center;
    background: #ff7373;
    border-radius: 10px;
    box-shadow: 0px 0px 3px black;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 120px;
    justify-content: space-between;
    margin: 10px;
    transition: all 300ms ease-in-out;
    width: 120px;
}

.box:hover {
    background: dodgerblue;
    cursor: pointer;
    font-weight: bold;
}

.box__body {
    border-radius: 0 0 10px 10px;
    background-color: #fff;
    height: 35px;
    line-height: 25px;
    font-size: small;
    text-align: center;
    width: 100%;
}

/*#endregion*/

/* #region circle*/

.circle {
    align-items: center;
    border-radius: 50%;
    background-color: black;
    box-shadow: 0px 0px 2px black;
    box-sizing: border-box;
    color: chartreuse;
    display: flex;
    flex-direction: column;
    font-size: 0.6em;
    justify-content: center;
    height: 80px;
    margin: 10px;
    text-align: center;
    width: 80px;
}

.circle:hover {
    /*animacion*/
    animation: circleToRectangle 3s ease-out;
}

@keyframes circleToRectangle {
    from{
        transform: scale(1,1);
        border-radius: 25%;
        background-color: dodgerblue;
        color: white;
    }
    to{
        transform: scale(1.5,1.5);
        border-radius: 15%;
        background-color: dodgerblue;
        color: white;
    }
    
}

.footer__circle{
    font-size: 1.5em;
    color: black;
    transform: translateY(50px);
    transition: all 2s  ease-out 100ms;
    position: absolute;
}
.circle:hover .footer__circle{
    font-size: 1.1em;
    color: white;
    transform: translateY(20px);
}
/* #endregion circle*/

/* #region MEDIA QUERY  ESTILOS RESPONSIVE*/

@media only screen and (max-width: 1024px) {
    .contenedor {
        width: 800px;
    }
    .contenedor__flex {
        height: 81vh;
    }
    .content__body2 {
        padding: 0px;
    }
    .title {
        font-size: 20px;
    }
    .contador--md {
        font-size: 1.5em;
    }
    .article__img {
        width: 30%;
        height: 80%;
    }
    table {
        font-family: arial, sans-serif;
        border-collapse: collapse;
        width: 100%;
    }
    caption {
        background: black;
        color: #fff;
        font-family: sans-serif;
        font-size: 0.8em;
        padding: 5px;
    }
    td, th {
        border: 1px solid #dddddd;
        font-size: 0.6em;
        text-align: center;
        padding: 5px;
    }
}

@media only screen and (max-width: 800px) {
    .contenedor__main{
        flex-wrap: wrap;
    }
    .lateral {
        align-items: center;
        display: flex;
        flex-direction: row;
        border-radius:0px;
        min-height: auto;
        height: 40px;
        justify-content: center;
        margin: 5px;
        padding: 0px;
        width: 100%;
    }
    .nav__bar{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        height: auto;
        padding-right: 10px;
    }
    .nav__bar > li > a{
        padding-left: 28px;
        font-size: 12px;
        margin-left: 2px;
        border-left: solid 1px #ccc;
    }
    .lateral__head{
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        border-radius: 0px;
        width: 30%;
        height: 100%;
    }
    .lateral_img{
        width: 30%;
        height: 100%;
    }
    .img_perfil{
        height: 30px;
        width: 35px;
    }
    .contenido{
        border-radius: 0px;
        width: 100%;
    }

    .contenedor {
        margin: 0px;
        min-height: 100vh;
        width: 100%;
        box-shadow: none;
        justify-content: flex-start;
    }
    .content__body2 {
        min-height: 100vh;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, 1fr);
        grid-template-areas: "form1" "form2";
    }
    .contenedor__title {
        font-size: 3em;
    }
    .contenedor__flex {
        justify-content: flex-start;
        min-height: 100vh;
    }
    .border-radius {
        border-radius: 15px;
    }
    .title {
        font-size: 20px;
    }
    .contador--md {
        font-size: 1.5em;
    }
    .article__img {
        width: 30%;
        height: 80%;
    }
    table {
        font-family: arial, sans-serif;
        border-collapse: collapse;
        width: 100%;
    }
    caption {
        background: black;
        color: #fff;
        font-family: sans-serif;
        font-size: 0.8em;
        padding: 5px;
    }
    td, th {
        border: 1px solid #dddddd;
        font-size: 0.8em;
        text-align: center;
        padding: 5px;
    }
}

@media only screen and (max-width: 640px) {
    .lateral__head{
        display: none;
    }
    .nav__bar{
        justify-content: center;
    }
    .contenedor {
        min-height: 100vh;
    }
    .contenedor__title {
        font-size: 2.5em;
    }
    .contenedor__body, .content__body2 {
        grid-template-columns: 100%;
        grid-template-rows: repeat(4, 1fr);
        grid-template-areas: "content " "article2 " "article3 " "article4 ";
        box-sizing: border-box;
        grid-gap: 10px;
        width: 100%;
    }
    .content__body2 {
        min-height: 100vh;
        grid-template-rows: repeat(2, 1fr);
        grid-template-areas: "form1" "form2";
    }
    .body__content {
        height: auto;
    }
    .body__article {
        align-items: center;
        background: linear-gradient(to bottom, #fbd3e9, #bb377d);
        display: flex;
        flex-direction: row;
        text-align: center;
    }
    .article__contenido {
        justify-content: center;
        align-items: flex-start;
        width: 70%;
    }
    .title {
        font-size: 1.5em;
    }
    .contador--md {
        font-size: 2em;
    }
    .article__img {
        width: 30%;
        height: 100%;
    }
    .form__ground {
        box-sizing: border-box;
        width: 100%;
    }
    .form--label {
        display: block;
        text-align: center;
        width: 100%;
    }
    .control__ground {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 5px;
        margin-bottom: 5px;
    }
}

@media only screen and (max-width: 480px) {
    .icon{
        display: none;
    }
    .nav__bar > li > a{
        font-size: 11px;
        height: 40px;
        padding: 5px;
    }

    .circle{
        
        height: 75px;
        margin: 2px;
        width: 75px;
    }
    .text-md{
        font-size: 20px;
    }
    .footer__circle{
        font-size: 1em;
        font-weight: bold;
    }
    .title--label{
        width: 100%;

    }
    .item__icon > .icon {
        display: block;
    }
    .modal{
        width: 90%;
    }

    .contenido__boxes {
        display: flex;
        flex-direction: row;
        height: auto;
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
        margin-bottom: 20px;
    }

    table {
        font-family: arial, sans-serif;
        border-collapse: collapse;
        width: 100%;
    }
    caption {
        background: black;
        color: #fff;
        font-family: sans-serif;
        font-size: 0.6em;
        padding: 5px;
    }
    td, th {
        border: 1px solid #dddddd;
        font-size: 0.6em;
        text-align: center;
        padding: 5px;
    }
}

/* #endregion*/

/* errores*/
label.error { 
    color: red; 
    padding-left: .5em; 
    vertical-align: 
    middle; 
    font-size: 12px; 
    
}