@charset "UTF-8";
/* CSS Document */

@font-face {
  font-family: 'Roboto';
  src: url(../fonts/Roboto-Regular.ttf);
  font-weight: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url(../fonts/Roboto-Bold.ttf);
  font-weight: bold;
}

@font-face {
  font-family: 'Roboto';
  src: url(../fonts/Roboto-Black.ttf);
  font-weight: bolder;
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 16px;
    vertical-align: baseline;
    box-sizing: border-box;
    font-family: 'Monserrat', Arial, sans-serif;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

body, html {
    font-size: 1rem;
    color: #444;
    width: 100%;
    height: 100%;
    /* border: solid 1px red; */
    background-color:transparent;
    margin: 0px auto;
    padding: 0px;
    font-family: 'Monserrat', Arial, sans-serif;
    font-weight: normal;
    text-rendering: optimizeLegibility;
    position: relative;
}

.inicio{
    background-image:url('../imagenes/fondos/panorama3.jpg');
    /*background-image:url('../videos/panoramica.mp4');*/
    background-attachment: fixed;
    background-size: cover; 
}
/* div,section, article {border:solid 1px red;} */

#video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    z-index: -10;
    visibility: visible;
}

[class*="col-"] {
    float: left;
    padding: 6px 15px;
    /* border: 1px solid white; */
}

.col-1 { width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}

form p{
    padding: 5px;
    font-weight: bold;
}

header{
    /* border:solid 1px white; */
    /* background-color:white; */
    background-blend-mode: luminosity;
    position: relative;
}

.loguito {
    display: inline-block;
    padding: 6px 20px;
}

.loguito img{
    width: 85px;
    height: auto;
    position: relative;
    /* top: 20px; */
    /* left: 10px; */
    float: left;
    width: 4.1vw;
}

.loguito #logo {
    float: left;
    font-size: 50px;
    color: black;
    font-weight: bold;
    margin: 30px;
    text-shadow: 2px 0 0 white,
    -2px 0 0 white,
    0 2px 0 white,
    0 -2px 0 white,
    1px 1px white,
    -1px -1px 0 white,
    1px -1px 0 white,
    -1px 1px 0 white;
    font-size: 2.3vw;
    margin: 2vw
}

header img {
    width: 85px;
    height: auto;
    position: relative;
    /* top: 20px; */
    /* left: 10px; */
    float: left;
    width: 7.1vw;
}

.raqueta {
    position: absolute;
    width: 93px;
    height: 34px;    
    top: 0%;
    right: 2%;
    background: linear-gradient(#c52d2d, #f1c5c5);

    border: solid 1px #900;
    color: #fff;
    margin: 4px;
    border-radius: 7px;
    cursor: pointer;
    display: inline-block;
    min-width: 30px;
    padding: 3px 1px 4px 1px;
}

.raqueta:hover {
    background: linear-gradient(#f1c5c5, #c52d2d);
    border: solid 1px #900;
    color: #900;
}
.raqueta img{
    width: 25px;
    height: auto;
}
.raqueta p{
    position: absolute;
    right: 7%;
    top: 32%;
    /*color: white; */
    font-size: 10px;
    text-transform: uppercase;
}

section{
    position: relative;
}

article{
    position: relative;
}

.interna{
    background-color: white;
}

#logo {
    float: left;
    font-size: 50px;
    color:black;
    font-weight: bold;
    margin: 30px;
    text-shadow: 1px 0 0 white,
    -1px 0 0 white,
    0 1px 0 white,
    0 -1px 0 white,
    1px 1px white,
    -1px -1px 0 white,
    1px -1px 0 white,
    -1px 1px 0 white;
    font-size: 4.3vw;
    font-size: 2.8rem;
    margin: 2vw;
}

.usuario {
    color:aliceblue;
    position: absolute;
    font-variant: small-caps;
    bottom: 2px;
    right: 2px;
    text-shadow: 1px 0 0 black,
    -1px 0 0 black,
    0 1px 0 black,
    0 -1px 0 black,
    1px 1px black,
    -1px -1px 0 black,
    1px -1px 0 black,
    -1px 1px 0 black;
}

#acceso{
    border: solid 1px black;
    width: 30%;
    margin: 5vw auto;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    opacity: .7; 
    height: auto;
    /* animation: acceso 20s ease-in-out 1; */
    animation: fadeInOpacity 3s 1;
    align-items: center;
    display: flex;
    justify-content: center;
    height: 100%;
}

.contenedor {
    background: #EEE;
    align-items: center;
    display: flex;
    justify-content: center;
    height: 100%;
}

.elemento {
    height: 100%;
    width: 100%;
}

@keyframes fadeInOpacity {
    0% {
        opacity: 0;
    }
    30% {
        opacity: 0;
    }
    100% {
        opacity: .9;
    }
}

.boton_caja {
    position:initial;
    right: 20px;
    bottom: 100px;
    width: 100%;
    text-align: center;
}

.forget{
    font-size: 1.3vw;
    font-size: .7rem;
    text-decoration: none;
    color: #900;
}

.forget:hover{
    color:gray;
}

.cuadro{
    width: 70%;
    height: auto;
    min-height: 450px;
    background-color: white;
    margin: 0px auto 10px auto;
    margin-top: 20px;
    opacity: .9;
    animation: fadeInOpacity 1.5s 1;
    padding-bottom: 10px;
    border-radius: 5px;
}

.cuadroPpla{
    width: 70%;
    height: auto;
    min-height: 450px;
    background-color:transparent;
    margin: auto;
    margin-top: 20px;
   
   /* animation: fadeInOpacity 2.5s 1; */
}

.minimo{min-width: 835px;}

nav{
    text-align: right;
    padding: 0px;
    background-color: white;
}

nav a {
    text-decoration: none;
    width: auto;
    display: inline-block;
    /* border: solid; */
    text-align: center;
    color: darkslategray;
    font-variant: all-small-caps;
    font-size: 16px;
    padding: 10px 15px;
    font-size: 1.4vw;
}

nav a:hover {
    color:#900;
    font-weight: normal;

}

footer{
    clear: both;
    border-top:solid 1px white;
    width: 100%;
    height:auto;
    font-size: 12px;
    text-align: center;
    line-height: 150%;
    padding: 10px;
    background-color:whitesmoke;
    position:inherit;
    bottom: 0px;
    opacity: .6;
}

footer a{
    text-decoration: none;
    color: #900;
    font-variant: small-caps;
    font-size: small;
}

footer a:hover{
    font-weight: bold;
}

h1 {
    font-size: 26px;
    font-variant: small-caps;
    color: #900;
    text-align: center;
    /* margin: 20px 0px 30px 0px; */
    padding: 20px;
}

fieldset{
    border: solid 1px #900;
    border-radius: 5px;
    width: 99%;
    margin: 0 auto;
}

legend{
    font-size: 1.2rem;
    font-variant: small-caps;
    color: #900;
    padding: 0 3px;
    margin: 0 10px;
}

label {
    display: block;
    color: #900;
    font-variant: small-caps;
    font-size: 1rem;
    margin-top: 14px;
}

input, select{
    border: solid 1px gray;
    padding: 4px;
    border-radius: 3px;
    width: 100%;
    background-color:aliceblue;
}

select {
    padding: 3px;
}

input[type="radio"] {
    display: inline;
    width: auto;
    height: 12px;
    margin-top: 8px;
    margin-left: 20px;
    font-size: 10px;
}

input[type="date"] {
    display: inline;
    width: auto;
    height: 17px;
    padding: 13px;
}

input[type="file"] {
    font-size: 12px;
}

textarea{
    width: 100%;
    border: solid 1px lightgray;
    border-radius: 5px;
    padding: 5px;
    background-color: whitesmoke;
}

input[type='button'],
input[type='submit'],
input[type='reset'] {
    background: linear-gradient(#2d7dc5, #2e4676);
    border: solid 1px #07c;
    color: white;
    margin: 4px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    min-width: 30px;
    padding: 3px 15px 4px 15px;
    text-align: center;
    width: auto;
}

input[type='reset'] {
    background: linear-gradient(#c52d2d, #762e2e);
}

input[type='button']:hover {
    background: linear-gradient(#2e4676, #2d7dc5);
    border: solid 1px #07c;
    color: white;
}

input[type=reset]:hover{
    background: linear-gradient(#762e2e, #c52d2d);
    border: solid 1px #07c;
    color: white;
}
select[id='cie10']{
    font-size: 13px;
    height: 29px;
}

.tabla{
display: table;
width: 90%;
margin: 10px auto;
background-color: white;
}

.linea{
    display: table-row;
}

.lineaCabeza{
    display: table-row-group;
    color:#900;
    font-variant: small-caps;
}

.celda {
    display: table-cell;
    text-align: center;
    border-collapse: collapse;
    font-size: 13px;
    padding: 2px 2px 20px 2px;
    width: 33%;
    position: relative;
}

.celda img {
    border: solid 1px transparent;
    width: 100%;
    height: auto;
}

.celda img:hover {
    border: solid 1px #900;
    opacity: .9;
}


.celda p,
.celda a{
    font-size: 0.8rem;
    text-align: center;
    font-variant: small-caps;
    color: #900;
    font-weight: bold;
    text-decoration: none;
}

object{
    border: solid 1px gray;
    width: 100%;
}

.ampliar {
    width: 20px;
    height: fit-content;
    position: absolute;
    top: 10px;
    right: 10px;
}


#insertar {
    position: absolute;
    top: 6px;
    right: 17px;
    width: 25px;
    height: 25px;
}

#insertar img{
    width: 25px;
    height: auto;
}

.reservasTitulo,
.reservasDetalle,
.reserv{
    display: flex;
    flex-flow: row wrap;
    flex-direction: row;
    align-items: stretch;
    width: 820px;
    /* border: dashed 2px blue; */
    margin: 0 auto;
    justify-content: center;
    align-items: center;

}

.reservasDetalle{
    flex-direction: column;
    height: 420px;
    width: 816px;
}

.reserv {
    flex-direction: row;
    height: 420px;
    width: 108px;
}

.reserv input[type='submit']{
    font-size: 8px;
    width: 33px;
    MIN-WIDTH: 0;
    padding: 0;
    height: 33px;
    margin: 0;
    background: linear-gradient(#009924, #02b62c);
    border: solid 1px #016017;
}

.reserv input[type='submit']:hover {
    background: linear-gradient(#02b62c,#009924);
}   

.fecha,
.cancha {
    height: 35px;
    width: 36px;
    border: solid 1px #eee;
    border-radius: 3px;
    font-size: 10px;
    vertical-align: middle;
    text-align: center;
    display: inline-table;
    line-height: 150%;
}

.fecha{
    width: 108px;
}

.cancha p,
.fecha p {
    display: table-cell;
    vertical-align: middle;
    font-size: 10px;
    font-weight: bold;
    line-height: 120%;
}

.cancha:hover p{
    font-weight: bold;
}

.titreservas{
    background-color:darkgrey;
    color:#fff;
    overflow: hidden;
}

.ancho{
    width: 60px;
}

.reservado,
.noreservado,
.mireserva{
    color: white;
    background-color: #900;
    font-weight: bold;
    text-align: center;
    line-height: 100%;
}

.noreservado:hover::after {
    background-color: #06c132;
    /* content: "Libre"; */
    
}
.noreservado:hover {
    background-color: #06c132;
}

.noreservado{
    background-color: #009924;
    cursor: pointer;
}
.mireserva{
    background-color:#07c;
}

#ingreso{
    width: 300px;
    height: 240px;
    border: solid 1px red;
    border-radius: 5px;
    background-color: snow;
    position: absolute;
    top: 25%;
    left: 38%;
    /*display: none;*/
}

#ingreso p,
#ingreso input,
#ingreso select {
    font-size: 12px;
    font-weight: normal;
    line-height: 130%;
    margin: 0;
    padding: 2px 10px;
    width: auto;
}
#ingreso select{
    width: auto;
    margin: 2px 10px 5px;
}

#ingreso h2{
    text-align: center;
    padding: 5px;
    color: #900;
    font-weight: bold;
    font-size: medium;
}

#ingreso .tit{
    font-weight: bold;
    color: #900;
    font-size: 12px;
}

#ingreso .confirmar{
    margin: 10px;
    width: auto;
    text-align: center;
}

.cerrar{
    position: absolute;
    top: 5px;
    right: 5px;
    color: #900;
    cursor: pointer;
}

details{

    font-size: 13px;
    margin: 10px 20px;
    font-weight: bold;
    color: darkgray;
}

details ul {
    font-size: 13px;
    margin: 10px 20px;
    font-weight: bold;
}

details li{
    font-size: 13px;
    margin: 2px 20px;
}


summary{
    font-size: 13px;
    margin: 10px 20px;
    font-weight: bold;
    color: brown;
}

.leyenda{
    width: 10px;
    height: 10px;
    display: inline-block;
    margin-right: 10px;
}
.verde {background-color: #009924;}
.rojo {background-color:#900;}
.azul {background-color: #07c;}



@media only screen and (max-width: 860px) {
    /*max-width: 768px*/
    /* For mobile phones: */
    [class*="col-"] {
        width: 100%;
    }
    #acceso {
        width: 60%;
    }
    #logo {
        font-size: 2rem;
    }
    .cuadro{
        width: 95%;
        margin-top: 0;
        overflow: scroll;
        
    }
    .minimo{
    min-width: 0;
    }
    .tabla{
        display: block;
        width: 100%;
    }
    .celda{
        display: block;
        width: 100%;
    }

    h1{
        font-size: 1rem;
        padding: 5px;
    }

    .loguito #logo {
    font-size: 16px;
    }

    .loguito img {
    width: 6.1vw;
    }

    #ingreso {
        left: 20%;
    }

 .raqueta{
        width: 40px;
        height: auto;
        background: linear-gradient(white, white);
        border: none;
    }
    .raqueta p {
        display: none;
    }
    .raqueta img{
        width: 30px;
        height: auto;
    }

}

@media only screen and (max-width: 560px) {

    #acceso {
        width: 90%;
    }

    #logo{
        font-size: .95rem;
    }

    label{
        font-size: .8rem;
    }

    .ancho {
        width: 64px;
    }

    

}