@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed&display=swap');

*{
    margin: 0;
    padding: 0;
}

body{
    font-family: 'Roboto Condensed', sans-serif;
    margin: 0px;
    background: #F7F6EE;
    color: rgb(56, 54, 54);
}

.link{
    text-decoration: none;
}

.acceder p a:visited{
    color: #bb1616;
}

.PENDIENTE{
    background: #194973;
    color:white;
    padding: 5px;
}

.ENPROCESO{
    background: #f18219;
    color:white;
    padding: 5px;
}

.TERMINADO{
    background: #15eb38;
    color:white;
    padding: 5px;
}

.CANCELADO{
    background: red;
    color:white;
    padding: 5px;
}


.tabla-detalle{
    border-collapse: separate;
    padding: 10px;
    border-spacing: 0px 10px;
    margin: auto;
    font-size: 14px;
    margin-bottom: 50px;
}

.encabezado{
    text-align: center;
    font-size: 25px;
    font-weight: bold;
    background: #194973;
    color: white;
    border-bottom-left-radius: 35px ;
    border-top-right-radius: 35px ;
}

.titulo{
    border: 2px solid #194973;
    padding: 15px;
    border-right: none;
}
.espacio{
    width: 5px;
}
.valor{
    border: 2px solid #194973;
    padding: 5px;
    border-left: none;
}

.tabla-alta .total_servicio{
    background-color: green;
    font-weight: bold;
    color: white;
    text-align: center;
    font-size: 30px;
    padding: 3px;
    border: none;
    width: 100%;
}

#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    padding-top: 50px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.9); 
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 550px;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.modal-content, #caption { 
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

.close-img-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close-img-modal:hover,
.close-img-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}

.img-250{
    width: 250px;
    height: 250px;
    border-radius: 10px;
}

.img-25{
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0px 0px 10px 3px grey;
    padding: 3px;
}

.padre{
    width: 540px;
    height: 500px;
    display: flex;
    margin: auto;
    justify-content: center;
    box-shadow: 0px 0px 15px 2px grey;
    margin-top: 2%;
    padding: 10px;
    /*border-bottom-left-radius: 135px;
    border-top-right-radius: 135px;*/
    border-radius: 20px;
}

.padre h1{
    margin-left: 21%;
    margin-top: 20px;
}

.principal{
    width: 100%;
    margin-top: 5%;
    margin-bottom: 5%;
}

.principal p{
  margin-top: 5%;
}

.tablas-listado{
    margin-bottom: 60px;
}

.btn-buscar{
    background: transparent;
    border: 2px solid #1b8597;
    color: #1b8597;
    cursor: pointer;
    padding: 5px;
    font-size: 15px;
    border-radius: 5px;
    transition: ease-in .5s;
}

.btn-buscar:hover{
    background:  #1b8597;
    color: white;
}

.input-alta{
    padding: 10px;
    border-radius: 5px;
    font-size: 15px;
    background: transparent;
    color: #194973;
    width: 93%
}

div.tablas-listado h1{
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
}

.tabla-listado{    
    border-collapse: collapse;
    text-align: center;
    width: 95%;
    margin: auto;
}

.tabla-listado thead th{
    background: #15307a;
    color: white;
    padding: 10px;
}

.tabla-listado thead th:first-child{
    border-bottom-left-radius: 25px;
}

.tabla-listado thead th:last-child{
    border-top-right-radius: 25px;
}

.tabla-listado tbody tr td{
    border-bottom: 1px solid #194973;
    padding: 10px;
}

.fila-busqueda{     
    width: 700px;
    border-collapse: separate;
    text-align: center;
    margin: auto;
    border-spacing: 15px 15px;
}

.icon-menu{
    height: 30px;
    object-fit: fill;
    width: 30px;    
    position: absolute;
    margin-left: -38px;
    margin-top: 0px;
}

.principal .ico-login{    
    margin-left: calc(50% - 143px);
    border-radius: 50%;
    width: 300px;
    height: 150px;
}

.principal .ico-login:hover{
    filter: blur(1px);
}

.menu_bar {
    display:none;
}


header{
        width: 100%;
        background: #194973;
}

header nav ul {
    list-style-type: none; 
    text-align: center;
}

header nav > ul li {
    display: inline-block;
    position: relative;
    width: 14%;
}

header nav li a {
    display: block;
    text-decoration: none;
    font-size: 1rem;
    line-height: 2.5rem;
    color: white;
    padding: 10px;
}

header nav li:hover a, header nav li a:focus {
    background: #2179ac;
    color: #fff;
}
header nav li ul {
    position: absolute;
    width: 0;
    overflow: hidden;
}
header nav li:hover ul, header nav li:focus ul {
    width: 100%;
    margin: 0 -4rem -4rem -4rem;
    padding: 0 4rem 4rem 4rem;
    z-index: 5;
}

header nav li li {
    display: block;
    width: 100%;
}
header nav li:hover li a, header nav li:focus li a {
    font-family: monospace;
    font-size: .9rem;
    line-height: 1.7rem;
    border-top: 1px solid #e5e5e5;
    background: #194973;
}
header nav li li a:hover, header nav li li a:focus {
    background: #2179ac; 
}

.derecha{
    text-align: end;
}

.tabla-alta input, .tabla-alta textarea{
    padding: 10px;
    border-radius: 5px;
    font-size: 15px;
    background: transparent;
    color: #FF1919;
    width: 93%;
    border: 1px solid;
}

.tabla-alta#alta-usuario input{
    width: 96%
}

.tabla-alta select{
    padding: 10px;
    border-radius: 5px;
    font-size: 15px;
    background: transparent;
    color: #194973;
    width: 98%
}

.btn-registrar{
    padding: 13px;
    font-size: 14px;
    font-weight: bold;
    background: transparent;
    border: 1px solid #c22424;
    color: #c22424;
    border-radius: 10px;
    box-shadow: 8px 8px 3px 1px #441717;
    transition: all .5s;
    cursor: pointer;
}

.btn-registrar:hover{
    border: 1px solid #441717;
    background: #c22424;
    color: white;
    box-shadow: 8px 8px 3px 1px #c22424;
}

.btn-actualizar{
    padding: 13px;
    font-size: 14px;
    font-weight: bold;
    background: transparent;
    border: 1px solid #e96f29;
    color: #e96f29;
    border-radius: 10px;
    box-shadow: 8px 8px 3px 1px #6d3311a6;
    transition: all .5s;
    cursor: pointer;
}

.btn-actualizar:hover{
    border: 1px solid #963c09;
    background: #963c09;
    color: white;
    box-shadow: 8px 8px 3px 1px #6d3311;
}

table#izquierda{
    text-align: left;
}

table#derecha{
    text-align: right;
}

.tabla-div-modal h2{
    font-size: 18px;
}

.modalDialog {
	position: fixed;
	font-family: Arial, Helvetica, sans-serif;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;
    overflow-y: scroll;
    color: white;
}
.modalDialog:target {
	opacity:1;
	pointer-events: auto;
}

.mayusculas{
    text-transform: uppercase;
}

.modalDialog > div {
	width: 900px;
	position: relative;
	margin: 10% auto;
	padding: 5px 20px 13px 20px;
	border-radius: 10px;
	background: #fff;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    text-align: center;
}


.close {
	background: #606061;
	color: #FFFFFF;
	line-height: 25px;
	position: absolute;
	right: -12px;
	text-align: center;
	top: -10px;
	width: 24px;
	text-decoration: none;
	font-weight: bold;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
}


.close:hover { background: #00d9ff; }

.modalDialog > div.preguntar {
	width: 600px;
	position: relative;
	margin: 10% auto;
	padding: 5px 20px 13px 20px;
	border-radius: 10px;
	background: #2179ac;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
}

.btn-eliminar{
    border: 0;
    border-radius: 0.25em;
    background-color: #d31616;
    padding: 7px;
    color: #fff;
    font-size: 1.0625em;
    margin-left: 15px;
    cursor: pointer;
}

.btn-eliminar:hover{
    background-color: #bb1616;
}

.new-flotante{
    position: fixed;
    top: 17%;
    margin-left: 1%;
}

.new-flotante img{
    border: 1px solid black;
    border-radius: 50%
}

.new-flotante img:hover{
    filter: blur(1px);
}

.izquierda{
    text-align: left;
}
.td-columns2{
    text-align: left;
}

.tabla-alta{
    border-collapse: separate;
    border-spacing: 20px 10px;
    margin: auto;
    margin-top: 15px;
    margin-bottom: 10px;
    width: 95%;
}

.box{
    width: 100%;
    height: 130px;
    overflow: hidden;
  }


@media screen and (max-width:800px ) {
    
    .btn-registrar#ingresar{
        width: 250px;
        padding: 5px;
    }

    .tablas-listado h1{
        text-align: center;
    }

    section{
        width: 100%;
        text-align: center;
    }

    .tabla-alta{
        border-collapse: separate;
        border-spacing: 0px 7px;
    }


    .tabla-alta p{
        font-size: 11px;
        width: 85px;
    }

    .tablas-listado{
        padding: 10px;
    }

    .principal{
        margin-top: 80px;
    }

    .principal h1{
        margin-top: -25px;
        margin-bottom: -10px;
        color: #FF1919;
    }

    .padre{
        width: 320px;
        height: 540px;
        margin: auto;
        margin-top: 8%;
    }

   
    .principal .ico-login{
        margin-left: calc(50% - 150px);
        padding-bottom: 10px;
    }
    
    .box img{
        width: 100%;
        height: auto;
    }

    @supports(object-fit: cover){
        .box img{
            height: 100%;
            object-fit: cover;
            object-position: center center;
        }
    }

    .secundario{
        margin-top: 5px;
        height: 270px;
        margin-left: 10px;
    }

    .principal table{
        border-spacing: 5px 20px;
        font-size: 14px;
        margin: auto;
    }

    .acceso{
        border-spacing: 5px 20px;
        font-size: 14px;
        margin-bottom: 5px;
    }


    header nav {
        width: 80%;
        height: 100%;
        left: -100%;
        margin:0;
        position: fixed;
        background-color: #15307a;
    }

    header nav ul li {
        float:none;
        border-bottom:1px solid rgba(255,255,255, .3);
    }
    
    header nav > ul li {
        width: 70%;
    }
    
    .fila-busqueda {
        width: 370px;
        border-collapse: separate;
        text-align: center;
        margin: auto;
        border-spacing: 5px 10px;
    }

    .menu_bar {
        display:block;
        width:100%;
        background:#ccc;
    }

    .menu_bar .bt-menu {
        display:block;
        padding:20px;
        background:#15307a;
        color:#fff;
        text-decoration:none;
        font-weight: bold;
        font-size:25px;
        -webkit-box-sizing:border-box;
        -moz-box-sizing:border-box;
        box-sizing:border-box;
    }

    .menu_bar span {
        float:right;
        font-size:40px;
    }

    .wrapper {
        height: 50px;
        margin-top: 80px;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        width: 100%;
    }

    .tablas-listado{
        padding-bottom: 100px;
    }

    .tabla-listado   thead {display: none;}
    .tabla-listado   tr {border-bottom: 2px solid rgba(154, 210, 223, 0.616);}
    .tabla-listado   tr:last-child {border-bottom: 0 none;}
    .tabla-listado   td {
      display: block;
      padding: .3rem .5rem;
      text-align: left;
    }

    .tabla-listado   td:before {
      content: attr(data-head);
      display: inline-block;
      width: auto;;
      min-width: 40%;
      font-weight: 900;
      padding-right: 1rem;
      font-variant: small-caps;
    }

    .tabla-listado   td:nth-child(odd) {
      background: rgba(131, 165, 216, 0.541);
    }

    .tabla-listado#listado_usuarios td:nth-of-type(1):before { content: "Id : "; }
    .tabla-listado#listado_usuarios td:nth-of-type(2):before { content: "Nombre Completo : "; }
    .tabla-listado#listado_usuarios td:nth-of-type(3):before { content: "Usuario : "; }
    .tabla-listado#listado_usuarios td:nth-of-type(4):before { content: "Contraseña :"; }
    .tabla-listado#listado_usuarios td:nth-of-type(5):before { content: "Email :"; }
    .tabla-listado#listado_usuarios td:nth-of-type(6):before { content: "Perfil :"; }  
    .tabla-listado#listado_usuarios td:nth-of-type(7):before { content: "Estado :"; }  
    .tabla-listado#listado_usuarios td:nth-of-type(8):before { content: "Fecha Alta :"; }      
    .tabla-listado#listado_usuarios td:nth-of-type(9):before { content: "Modificar :"; }  
    .tabla-listado#listado_usuarios td:nth-of-type(10):before { content: "Eliminar :"; }  
    .tabla-listado#listado_usuarios td:nth-of-type(11):before { content: "Datos :"; }  

    .vista-previa{
        width: 250px;
        height: 200px;
    }

    .img-25{
        width: 25px;
        height: 25px;
    }
    
    .tabla-alta input{
        padding: 2px;
        border-radius: 5px;
        width: 90%;
    }

    .tabla-alta input#btn-buscar-cp{
        margin-top: 5px;
        margin-left: 5px;
    }

    .btn-buscar-cp{
        background: transparent;
        border: 2px solid #1b8597;
        color: #1b8597;
    }

    .principal .politica {
        justify-content: center;
        display: flex;
        align-items: center;
        margin-top: 11px;
    }

}