* {
    margin: 0;
    padding: 0;
}

/*https://www.0to255.com/0d61a5*/
/*color keeper*/

/*--- MARGENES BARRA SUPERIOR E INFERIOR ---*/


/*--- I M A G E N E S ---*/

.imgtexto {
    display: flex;
    position: relative;
    text-align: center;
    width: 100%;
    height: auto;
    color: white;
    cursor: pointer;
}

.imgtexto:hover {
    font-size: 110%;
}

.imgtexto h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
    font-size: 150%;
    width: 100%;
}

.imgcorte {
    display: block;
    width: 100%;
    max-height: 150px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/*-----USER SIDEBAR------*/

.sidebaruser {
    background-color: black;
    color: white;
    z-index: 3;
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    transition: .5s;
    text-align: center;
}

.sidebaruser p {
    width: 90%;
    margin: auto;
}

.sidebaruser i {

    padding: 0.5em 0.5em 0 0;

    display: flex;
    flex-direction: row-reverse;
    align-self: flex-end;

}

.sidebaruser.active {
    right: 0;
}

.sidebaruser a {
    text-transform: uppercase;
    font-size: 1em;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: white;
}

.sidebaruser div {
    padding-bottom: 1em;
    width: 90%;
    margin: auto;
}

#martin {
    border: solid;
    border-radius: 50%;
    width: 10em;
    height: auto;
    margin-bottom: 1em;
}
#martin:hover {
    color: #71a0cc;
}
.sidebaruser h3:hover {
    color: #71a0cc;}

.sidebaruser img {
    width: 4em;
    margin: 2em 1em 1em 1em;
}

/*-----BARRA DE ICONOS------*/

#navbaricons {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding-bottom: 10px;
    background-color: #24242a;
    z-index: 1
}

#closesidebar {
    cursor: pointer;
}

ul.navbaricons {

    width: 100%;
    height: 35px;
    margin-bottom: 0%;
    margin-top: 0%;

    display: flex margin-block-start: 1em;
    padding-top: 10px;
    padding-right: 1px;
    padding-left: 0px;
    text-align: center;
}

.navbaricons li {
    font-size: 140%;
    display: flex margin-block-start: 1em;
    display: inline;
}

.navbaricons li a {
    color: white;
    text-decoration: none;
    padding: 10%;
    padding-bottom: 0;
}



/*--- 25 DE MAYO MATADEROS ---*/

header {
    background-color: black;
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    position: relative;
    top: 0;


}

#logo {
    width: 200px;
    height: auto;
    margin: 1em;
    margin-left: em;
    position: relative;


}

#usuario {
    height: auto;
    max-width: 40px;
    margin-right: 4%;
    cursor: pointer;
    border: solid;
    border-color: white;
    border-width: 2px;
    border-radius: 50%;
}


/*--- M E N U ---*/

.navbartext {
    font-family: 'Open Sans', sans-serif;
    line-height: 30px;
    display: none;

}

.menu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    align-content: stretch;
}

li.menu {

    list-style: none;
}

.menu li a {

    color: white;
    text-decoration: none;
    margin: 0 30px;
}

.menu li a:hover {
    color: #71a0cc;
}

/*----- B O D Y ------*/

a {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    text-decoration: none;
}

a:hover {
    cursor: pointer;
}

h1 {
    font-family: 'Libre Baskerville', serif;
    text-transform: uppercase;
    color: #24242a;
    font-size: 2em;
    font-weight: 700;
    padding-bottom: 1em;
    padding-top: 1em;
    letter-spacing: 0.2em;
    text-align: center;
}

h2 {
    font-family: 'Libre Baskerville', serif;
    text-transform: uppercase;
    font-size: 1.8em;
    font-weight: 700;
    padding-bottom: 0.7em;
    padding-top: 0.7em;
    letter-spacing: 0.1em;
    text-align: center;
}

h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5em;
}

p {
    font-size: 100%;
    font-family: 'Open Sans', sans-serif;
}

.fakeslide {
    background-color: gray;
    height: 20em;

}

.noticias hr, .bonito hr {
    display: block;
    width: 3em;
    height: 1px;
    border: 0;
    border-top: 4px solid #71a0cc;
    margin: 1em 0;
    padding: 0;
}

.noticias {
    color: black;
    margin: 0%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-around;
    margin-bottom: 2em;
    padding-top: 3em;
}

.noticia a {
    color: black;
    font-weight: 400;
}

.noticias div {
    margin: auto;
    width: 90%;

}

.noticia {
    padding-bottom: 2em;
    ;
}

.volanta {
    text-transform: uppercase;
    font-size: 1em;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #71a0cc;
}

.deportes {
    align-content: center;
    text-align: center;
}

.deportes,
.resultados {
    background-color: #71a0cc;
    padding: 2em 0;
}


/* --- R E S U L T A D O S --- */

.partido {
    padding-bottom: 3em;
}

.marcador img {
    height: 2em;
    width: auto;
    margin: 0em 0.5em;
}

.marcador {

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: center;

    font-family: 'Open Sans', sans;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: white;
    text-align: center;
    font-size: 2.5em;
}

.marcador p {
    width: 2.5em;
}

.resultados .volanta {
    color: white;
    text-align: center;
    margin: auto;
}

.resultados h2 {
    color: white;
}

.resultados {}

/*contacto*/
.contacto {
    background-color: #24242a;
    text-align: center;
    color: white;
}

.contacto h2 {
    color: white;
}

.contacto p {
    margin-bottom: 1%;
    font-size: 130%;
    display: block;
    margin-top: 0.5em;
    margin-bottom: 0.5em;

}

#mensaje {
    margin-bottom: 20px;

}

/*--- D E P O R T E S ---*/

.imgtexto h2 {
    color: white;
}

.textos {
    width: 90%;
    margin: 0 auto 0.1em auto;
}

#futsalexpand p {
    margin: 2em auto;
}

.expandible {
    margin-top: 20px;
    margin-bottom: 20px;
}

/*--- 2 X 2 G R I D ---*/

.galeria4 {
    min-height: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.galeria4 img {
    flex: 50%;
    max-width: 50%;
    display: flex;
    flex-basis: calc(50% - 0px);
    justify-content: center;
    flex-direction: column;
}

/*--- N O T I C I A S ---*/

.textos {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.textos h3 {
    font-size: 3em;
}

.textos img {
    width: 100%;
    margin: 1em auto;
}

/*--- I N S T A L A C I O N E S ---*/
.gallery {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: space-around;

}

.gallery {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: space-around;

}

.gallery img {
    max-width: 140px;
    padding-left: 5px;
}

.gallery img:hover {
    transform: scale(1.1);
}


/*--- G O O G L E   M A P S ---*/

iframe {
    display: block;
    margin: auto;
}

/*--- F O O T E R ---*/

footer {
    color: white;
    background-color: black;
    padding: 1%;
    padding-bottom: 5em;
}

footer p {
    max-width: 90%;
    font-size: 60%;
    margin: auto;
    text-align: center;
    margin-bottom: 0.5em;
    display: block;
}

footer h3 {
    text-align: center;
    margin-bottom: 0.5em;
    font-weight: 700;
    font-size: 90%;
    margin-top: 1em;
}

.footer a {
    font-weight: 100;
    color: #71a0cc;
}
 #click {
    font-weight: 100;
    color: #71a0cc;
}
.footer a:hover {
    color: white;
}

#click:hover {
    font-size: 103%;
}
.slideshow {
    position: relative;
}

li,
ul,
ol .slideshow {
    list-style: none;
}


.slideshow li ul {
    width: 100%;
}

.slideshow li img {
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 350px;
}


.slideshow .caption {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.pagination {
    position: absolute;
    top: 102%;
    width: 100%;
    display: flex;
    justify-content: center;

}

.pagination li {
    font-size: 15px;
    margin: 2px 5px;
    color: #24242a;
    cursor: pointer;
}

.left,
.right {
    position: absolute;
    top: 0;
    height: 100%;

    display: flex;
    align-items: center;
    color: #fff;
    font-size: 30px;
    z-index: 2;
    cursor: pointer;
}

.left {
    left: 10 px;
    margin-left: 10px;
}

.right {
    right: 10px;

}

.slideshow h1 {
    padding: 5%;
    color: white;
    font-size: 8vw;
}

/*--- P E R F I L ---*/

#logoingreso {
    max-width: 300px;
}

.login {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    color: white;
    height: 100%;
    margin-top: 5%;
    margin-bottom: 5%;
}

.login img {
    max-width: 50%;
    height: auto;
}

.login h2 {
    font-size: 200%;
    margin: 1em auto 0.5em auto;
    padding: 0;
    color: white;
}

.login p,
.perfil p {
    margin-bottom: 1%;
    font-size: 130%;
    display: block;
    margin-top: 1em;
    margin-bottom: 0.5em;
}

.login input {
    color: white;
    width: 35%;
    padding: 0.5%;
    font-size: 100%;
    font-family: 'Open Sans', sans;
    box-sizing: border-box;
    border: none;
    background-color: #24242a;
    border-bottom: 2px solid;
}


.login input,
select {
    margin-bottom: 3%;
}


.login p {
    font-weight: 700;
    font-size: 1em;
}

.full a {
    color: #71a0cc;
}

.login #ingreso,
.guardar {
    text-decoration: none;
    color: white;
    font-family: 'Open Sans', sans;
    background-color: #4a627b;


}

.guardar:hover {
    background-color: #71a0cc
}

#boton {
    color: white;
}

/*-----PERFIL-----*/

.full {
    background-color: black;
    color: white;
    padding: 3%;
    font-family: 'Open Sans', sans-serif;
    margin: auto;
}



.actividades {
    color: white;
    z-index: 3;
    top: 0;
    height: 100%;
    transition: .5s;
    text-align: center;
}

.actividades i {
    padding: 0.5em 0.5em 0 0;
    display: flex;
    flex-direction: row-reverse;
    align-self: flex-end;
}

.actividades a {
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

#actividades {
    padding-top: 0;
    color: white;
}

#actividades hr {
    margin: auto;
}

.perfil {

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid white;


}
.perfil h3 { z-index: 3}

.perfil p {
    margin: 1%;
}

.perfil #martin {
    height: 30%;
    width: 30%;

}

.perfil a {
    color: white;
    text-decoration: none;
    align-self: flex-end;

}

.guardar {
    padding: 2%;
    margin: 0.6em;
    text-decoration: none;
    color: white;
    font-family: 'Open Sans', sans;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;

}

/*---DEPORTES---*/
.banner-deportes {
    cursor: pointer;
}

.fechas {
    margin-left: 10px;
}

.centraresto {
    text-align: center;
    margin-bottom: 20px;
}

/* -------- INSCRIPCIONES ----------*/
.inscripciones p {
    text-align: center;
  padding-bottom: 10px;
}

#paso1, #containerpaso2{
    display: flex;
    justify-content: center;
    margin: 1.5%;
    
}
.deporte, .actividad {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2%;
}
.basketbox {
    margin-left: 4%;
    margin-right: 4%;
}

#paso1 h3, #paso2 h3 {
    font-family: 'Open Sans', sans;
    text-transform: uppercase;
    font-size: 130%;
  
}
.bonito hr
{
    
}
.deporte:hover {
    color: #71a0cc;
    cursor: pointer;
}
.is-active{
      color: #71a0cc;
    }
.actividad:hover {
     color: #71a0cc;
    cursor: pointer;
}

.actividad .is-active{
     color: #71a0cc;
    }
.horarios, .torneos{
    margin: 2%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center
}

.horarios li, .torneos li {
      cursor: pointer;
      display: inline-block;
      padding: 8px 8px;
      background-color: #FFF;
      color: #000;
      margin: 0 4px 4px;
      border: 2px solid #71a0cc;
    font-family: open sans, sans-serif
}

.torneos li.is-active {
      background-color: #71a0cc;
      color: #FFF;

    }
.horarios li.is-active {
      background-color: #71a0cc;
      color: #FFF;

    }
/*--- MEDIA QUERY DESKTOP ---*/
@media screen and (min-width:800px) {

    /*--- I M A G E N E S ---*/

    /*---NAVBAR ICONS---*/

    #navbaricons {
        display: none;
    }

    /* --- HEADER --- */

    header {
        max-height: 100px;
    }

    header li {
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: 700;
    }

    #logo {
        width: 300px;
        height: auto;
        padding: 1em;
        margin-left: 2em;
    }

    /* --- BODY --- */

    main {
        margin-top: 0;
    }

    .textos {
        width: 90%;
        max-width: 50em;
        margin: auto;
        padding-bottom: 3em;
    }

    .imgtexto {
        font-size: 1.5em;
    }

    .imgtexto:hover {
        font-size: 1.8em;
    }

    .noticias {
        flex-direction: row;
        margin-left: 30px;
        margin-right: 30px;
    }

    .noticias div {
        margin: 1%;
        margin-left
    }

    .partidoflex {

        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        align-content: stretch;
    }

    .texto {
        max-width: 80%;
        margin: auto;
        margin-bottom: 1em;
    }

    .navbartext {
        display: block;

    }

    /*--- L O G I N ---*/

    #martin {
        max-width: 25%;
        height: auto;
        margin-bottom: 1em;
    }


    .full p,
    .full input,
    .full select {
        margin: 0.5em;
    }

    /*--- F O O T E R ---*/

    footer {
        padding: 2em;
    }

    footer p {
        max-width: 70%;
    }

    /* galeria */
    .gallery {
        display: flex;

        flex-flow: row wrap;
        margin-top: 2em;
        margin-left: auto;
        margin-right: auto;

    }

    .gallery img {
        max-width: 150px;
        margin: 0.5em;
    }

}
