/*
Theme Name: campushokey
Author: Daniel Rodríguez
Description: Tema para la web campushokeycoruna.com
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: campushokey
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/

@import url(https://fonts.googleapis.com/css?family=Abel);
@import url(https://fonts.googleapis.com/css?family=Oswald);
@import url(https://fonts.googleapis.com/css?family=Racing+Sans+One);

* {
    padding: 0;
    border: 0;
    margin: 0;
    outline: 0;
    resize: none;
    border-spacing: 0;
    border-collapse: collapse;
    text-decoration: none;
}
/* estilos básicos */
.floatleft {float: left}
.floatright {float: right}
.floatcenter {margin: 0 auto}
.clearleft {clear: left}
.clearright {clear: right}
.clearboth {clear: both}
.hideoverflow {overflow: hidden}
.relative {position: relative;}
.displayblock {display: block}
.inlineblock {display: inline-block}
.valigntop {vertical-align: top!important}
.valignbottom {vertical-align: bottom!important}
.valignmiddle {vertical-align: middle}
.aligncenter {text-align: center}
.alignleft {text-align: left}
.alignright {text-align: right}
.alignjustify {text-align: justify}
.mayus {text-transform: uppercase}
.regular {font-weight: normal}
.bold {font-weight: bold}
.italic {font-style: italic}
.underline {text-decoration: underline}
.tx-white, .th-white:hover {color: white}
.tx-yellow {color: #F0D051}
.tx-orange, .th-orange:hover {color: #F89E1C}
.tx-grey {color: #231F20}
.tx-black, .th-black:hover {color: black}
.f-oswald {font-family: 'Oswald'}
.f-racing {font-family: 'Racing Sans One', sans-serif}
.indent {text-indent: 20px}
.titulo {
    padding-bottom: 10px;
    border-bottom: 5px solid #F89E1C;
    margin-bottom: 20px;
}
.titulin {
    padding-bottom: 10px;
    border-bottom: 3px solid;
    margin-bottom: 15px;
}
/* clases básicas */
.cont1080 {
    max-width: 1080px;
    margin: 0 auto;
}
.table {
    width: 100%;
    height: 100%;
    display: table;
}
.table .table-cell {
    display: table-cell;
    vertical-align: middle;
}
#cargando {
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.75);
    background-image: url('../images/loading.gif');
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: fixed; 
    z-index: 100;
    top: 0;
    left: 0;
    display: none;
}
.cargando #cargando {
    display: block!important;
}
html {
    background-image: url('images/fondo2.jpg');
    background-size: cover;
    /*background-repeat: no-repeat;*/
    background-position: center top;
    background-attachment: fixed;
    font-family: 'Abel', sans-serif;
}
header {
    padding: 20px 40px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    margin-top: 5%;
    background-color: #231F20;
    font-family: 'Racing Sans One', sans-serif;
    line-height: 1;
}
header .menu {
    padding: 0 5px;
    color: #F0D051;
    display: inline-block;
    vertical-align: middle;
    position: relative;
}
header .menu .submenu {
    min-width: 100%;
    padding: 15px 10px;
    background-color: #231F20;
    position: absolute;
    z-index: 20;
    top: 100%;
    left: 0;
    text-align: center;
    white-space: nowrap;
    display: none;
}
/*header .menu:hover .submenu {
    display: block;
}*/
header .menu .submenu a {
    margin-top: 10px;
    color: white;
    display: block;
}
header #menu-mini {
    height: 24px;
}
header .redes {
    color: white;
    font-size: 24px;
    display: inline-block;
    vertical-align: middle;
}
header .redes + .redes {
    margin-left: 5px;
}
header .redes img {
    display: block;
}
#top {
    position: relative;
}
#top #top-porteria, #top .top-jugador, #top #top-fechas {
    width: 100%;
    height: 0;
    padding-bottom: 47.5%;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
}

#top-contenido {
    background-color: #2B2928;
    background-image: url('../images/pizarra.jpg');
    background-size: 100% auto;
        /* background-size: cover; */
    background-repeat: no-repeat;
    background-position: center top;
}
#top-contenido #top-contenido-cont {
    padding: 0 5% 5%;
}
section .section-top {
    position: relative;
}
section .section-top > img {
    width: 100%;
    display: block;
}
section .section-top h1, section .section-top h2 {
    padding: 10px 15px;
    background-color: #231F20;
    color: white;
}
section .section-top img + h1, section .section-top img + h2, section .section-top a + h2 {
    position: absolute;
    bottom: 0;
    left: 0;
}
section .section-top h1 > * {
    display: inline-block;
    vertical-align: bottom;
}
#top-contenido .tam14 {
    margin-top: 20px;
}
#inscripcion {
    border-radius: 10px;
    padding: 20px 20px 36px;
    margin-bottom: 5%;
    background-color: #F89E1C;
    background-image: url('../images/lineas.png');
    background-repeat: repeat-x;
    background-position: left bottom;
}
#inscripcion span, #inscripcion img, #inscripcion a, #inscripcion div {
    display: inline-block;
    vertical-align: middle;
}
#inscripcion img, #inscripcion a {
    margin-left: 10px;
}
#inscripcion a {
    padding: 20px 15px;
    border-radius: 15px;
    background-color: #231F20;
}
#inscripcion div {
    margin-left: 20px;
    line-height: 1;
}
#botton {
    margin-left: -1%;
    margin-right: -1%;    
}
#bottom > * {
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 1%;
    display: inline-block;
    vertical-align: middle;
}
footer {
    padding: 20px 40px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    margin-bottom: 5%;
    background-color: #231F20;
}

@viewport {
    width: device-width;
    zoom: 1;
}
@media all and (min-width: 1080px) {
    html {
        overflow-x: hidden;
    }
    #menu-mini {
        display: none;
    }
    #top #top-stick {
        width: 1400px;
        background-size: 100% auto;
        left: -160px;
    }
}
@media all and (max-width: 1079px) {
    #menu {
        display: none;
    }
    #top #top-stick {
        width: 100%;
        background-size: 129.63% auto;
        left: 0;
    }
}
@media all and (min-width: 960px) {
    footer .mitad {
        width: 47%;
        display: inline-block;
        vertical-align: top;
    }
    footer .mitad + .mitad {
        margin-left: 5%;
    }
    footer .mitad:first-of-type p {
        margin-left: 50px;
    }
    .tam10 {font-size: 10px}
    .tam11 {font-size: 11px}
    .tam12 {font-size: 12px}
    .tam13 {font-size: 13px}
    .tam14 {font-size: 14px}
    .tam15 {font-size: 15px}
    .tam16 {font-size: 16px}
    .tam18 {font-size: 18px}
    .tam20 {font-size: 20px}
    .tam22 {font-size: 22px}
    .tam24 {font-size: 24px}
    .tam30 {font-size: 30px}
    .tam36 {font-size: 36px}
    .tam40 {font-size: 40px}
    .tam44 {font-size: 44px}
    .tam48 {font-size: 48px}
    .tam60 {font-size: 60px}
    .tam72 {font-size: 72px}
}
@media all and (min-width: 540px) and (max-width: 959px) {
    footer .mitad {
        width: 47.5%;
        display: inline-block;
        vertical-align: top;
    }
    footer .mitad + .mitad {
        margin-left: 5%;
    }
    .tam10 {font-size: 10px}
    .tam11 {font-size: 11px}
    .tam12 {font-size: 12px}
    .tam13 {font-size: 13px}
    .tam14 {font-size: 14px}
    .tam15 {font-size: 15px}
    .tam16 {font-size: 16px}
    .tam18 {font-size: 17px}
    .tam20 {font-size: 18px}
    .tam22 {font-size: 19px}
    .tam24 {font-size: 20px}
    .tam30 {font-size: 22px}
    .tam36 {font-size: 24px}
    .tam40 {font-size: 26px}
    .tam44 {font-size: 28px}
    .tam48 {font-size: 30px}
    .tam60 {font-size: 48px}
    .tam72 {font-size: 56px}
}
@media all and (max-width: 539px) {
    footer .mitad {
        text-align: center!important;
    }
    footer .mitad + .mitad {
        margin-top: 5%;
    }
    .tam10 {font-size: 10px}
    .tam11 {font-size: 11px}
    .tam12 {font-size: 12px}
    .tam13 {font-size: 13px}
    .tam14 {font-size: 14px}
    .tam15 {font-size: 15px}
    .tam16 {font-size: 16px}
    .tam18 {font-size: 17px}
    .tam20 {font-size: 18px}
    .tam22 {font-size: 19px}
    .tam24 {font-size: 20px}
    .tam30 {font-size: 21px}
    .tam36 {font-size: 22px}
    .tam40 {font-size: 23px}
    .tam44 {font-size: 24px}
    .tam48 {font-size: 28px}
    .tam60 {font-size: 30px}
    .tam72 {font-size: 36px}
}



/* section {
    margin-bottom: 5%;
} */
section .section-top {
    margin-bottom: 2.5%;
}
section form input, section form textarea {
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Abel', sans-serif;
    color: white;
}
section form input[type='text'], section form textarea, section form textarea + p {
    background-color: #231F20;
}
section form input[type='text'] {
    margin-bottom: 2.5%;
}
section form input[type='button'] {
    padding: 10px 30px;
    background-color: #F89E1C;
    color: black;
    cursor: pointer;
}
section form textarea {
    width: 100%;
    height: 150px;
    display: block;
}

@media all and (min-width: 960px) {
    .mitad, .tercio, .dostercios {
        display: inline-block;
        vertical-align: top;
    }
    .mitad {
        width: 47.5%;
    }
    .tercio {
        width: 30%;
    }
    .dostercios {
        width: 62%;
    }
    .mitad + .mitad, .tercio + .dostercios {
        margin-left: 5%;
    }
}
@media all and (min-width: 540px) and (max-width: 959px) {
    .tercio, .dostercios {
        width: 47.5%;
        display: inline-block;
        vertical-align: top;
    }
    .tercio + .dostercios {
        margin-left: 5%;
    }
    .mitad {
        width: 100%;
    }
}
@media all and (max-width: 539px) {
    form {
        margin-top: 5%;
    }
    .mitad {
        width: 100%;
    }
}

root { 
    display: block;
}

.error404{
    width: 500px;
    left: -250px;
    margin-left: 50%;
    position: absolute;
    height: 300px;
    margin-top: 100px;
    text-align: center;
}

.error404 p{
    font-size: 13px;
}

.error404 ul{
   margin: 0;
    padding: 0; 
}

.error404 ul li{
    list-style-type:  none;
    line-height: 30px;
    margin: 0;
    padding: 0;
}

.error404 a{
    color: blue;
}

/* section {
    margin-bottom: 5%;
} */
section .section-top {
    margin-bottom: 2.5%;
}
section .cuarto {
/*    border-radius: 5px;*/
    margin-bottom: 2%;
    overflow: hidden;
}
section .cuarto img {
    width: 100%;
    border-radius: 5px;
    display: block;
}

@media all and (min-width: 960px) {
    section .cuarto {
        width: 23.5%;
        display: inline-block;
        vertical-align: top;
    }
    section .cuarto + .cuarto {
        margin-left: 2%;
    }
    section .cuarto:nth-of-type(4n + 1) {
        margin-left: 0!important;
    }
}
@media all and (min-width: 540px) and (max-width: 959px) {
    section .cuarto {
        width: 32%;
        display: inline-block;
        vertical-align: top;
    }
    section .cuarto + .cuarto {
        margin-left: 2%;
    }
    section .cuarto:nth-of-type(3n + 1) {
        margin-left: 0!important;
    }
}
@media all and (max-width: 539px) {
    section .cuarto {
        width: 49%;
        display: inline-block;
        vertical-align: top;
    }
    section .cuarto:nth-of-type(even) {
        margin-left: 2%;
    }
}

/* section {
    margin-bottom: 5%;
} */
section .section-top {
    margin-bottom: 2.5%;
}
section .mitad,
section .tercio{
    margin-bottom: 2%;
    overflow: hidden;
}
section .mitad a,
section .tercio a{
    display: block;
    color: white;
    font-size: 24px;
}
section .mitad img,
section .tercio img{
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
    display: block;
}
section .video {
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
}
section .video iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

@media all and (min-width: 540px) {
    section .mitad {
        width: 49%;
        display: inline-block;
        vertical-align: top;
    }
    section .mitad-centrado{
        margin-left: 25%;
    }
    section .tercio {
        width: 32%;
        display: inline-block;
        vertical-align: top;
    }    
    section .mitad + .mitad,
    section .tercio + .tercio {
        margin-left: 2%;
    }
    section .mitad:nth-of-type(2n + 1),
    section .tercio:nth-of-type(3n + 1){
        margin-left: 0!important;
    }   
}
@media all and (max-width: 539px) {
    section .mitad + .mitad,
    section .tercio + .tercio{
        margin-top: 40px;
    }
}


section .section-top {
    margin-bottom: 2.5%;
}
section .section-middle {
    margin-bottom: 5%;
}
section .sangria {
    padding-left: 25px;
}

@media all and (min-width: 540px) {
    section .item {
        width: 32%;
        display: inline-block;
        vertical-align: top;
    }
    section .item + .item {
        margin-left: 2%;
    }
}
@media all and (max-width: 539px) {
    section .item {
        width: 100%;
        display: block;
    }
    section .item + .item {
        margin-top: 20px;
    }
}

#top-contenido {
    padding-top: 42%;
}
/* section {
    padding: 5%;
    border-radius: 10px;
    margin-bottom: 5%;
    background-color: #F89E1C;
    background-image: url('../../images/lineas.png');
    background-repeat: repeat-x;
    background-position: left bottom;
} */
section .aligncenter {
    margin-bottom: 2.5%;
}
section form h3 {
    margin-bottom: 10px;
}
section form .margin {
    padding-bottom: 2%;
}
section form input::-moz-placeholder {
    color: black;
    opacity: 1;
}
section form input:-ms-input-placeholder {
    color: black;
    opacity: 1;
}
section form input::-webkit-input-placeholder {
    color: black;
    opacity: 1;
}
section form input[type='text'], section form input[type='button'], section form .cuadro {
    padding: 10px 5px;
    border: 2px solid black;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom: 2%;
    background-color: #F89E1C;
    font-family: 'Abel', sans-serif;
}
section form .recuadro {
    padding: 1% 2% 2%;
    border: 2px solid black;
    margin-bottom: 2%;
}
section form .recuadro input {
    margin-top: 1%;
    margin-bottom: 0!important;
}
section form .recuadro input:nth-of-type(1) {
    width: 8%;
}
section form .recuadro input:nth-of-type(2) {
    width: 9%;
}
section form .recuadro input:nth-of-type(3) {
    width: 7%;
}
section form .recuadro input:nth-of-type(4) {
    width: 70%;
}
section form .recuadro input + input {
    margin-left: 2%;
}
section form input[type='checkbox'] {
    /*margin-left: 10px;*/
}
section form input[type='radio'] {
    margin-left: 0px;
}
section form input[type='button'] {
    padding: 10px 20px;
    background-color: #231F20;
    color: white;
}
section form .inlineblock {
    line-height: 1;
}

@media all and (min-width: 960px) {
    section form .input1 {
        width: 100%;
    }
    section form .input7, section form .input5 {
        display: inline-block;
        vertical-align: middle;
    }
    section form .input7 {
        width: 60%;
    }
    section form .input5 {
        width: 37.5%;
    }
    section form .input + .input {
        margin-left: 2%;
    }
}
@media (max-width: 959px) {
    section form .input1, section form .input7,
    section form .input5 {
        width: 100%;
    }   
}

#top-contenido {
    padding-top: 42%;
}
/* section {
    margin-bottom: 5%;
} */
section .section-top {
    margin-bottom: 2.5%;
}
section .item {
    padding: 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #231F20;
}
section .item img {
    width: 100%;
    display: block;
}
section .item p {
    margin-top: 15px;
    line-height: 1;
}
section #inscripcion {
    margin-top: 5%;
}

@media all and (min-width: 960px) {
    section .item {
        width: 18.4%;
        display: inline-block;
        vertical-align: top;
    }
    section .item + .item {
        margin-left: 2%;
    }
    section .item:nth-of-type(5n + 1) {
        margin-left: 0;
    }
    section .item:nth-of-type(n + 6) {
        margin-top: 2%;
    }
}
@media all and (min-width: 540px) and (max-width: 959px) {
    section .item {
        width: 32%;
        display: inline-block;
        vertical-align: top;
    }
    section .item + .item {
        margin-left: 2%;
    }
    section .item:nth-of-type(3n + 1) {
        margin-left: 0;
    }
    section .item:nth-of-type(n + 4) {
        margin-top: 2%;
    }
}
@media all and (max-width: 539px) {
    section .item {
        width: 49%;
        display: inline-block;
        vertical-align: top;
    }
    section .item:nth-of-type(even) {
        margin-left: 2%;
    }
    section .item:nth-of-type(n + 3) {
        margin-top: 2%;
    }
}

#top-contenido {
    padding-top: 33%;
}
section .section-top {
    margin-bottom: 2.5%;
    position: relative;
}

#img-secundaria {
    position: absolute;
    top: 0;
    width: 52.5%;
    height: 46%;
}

.alojamiento-img img {
    display: block;
    margin: 0 auto;
}
.alojamiento-img img:first-child{
    margin-bottom: 5%;
    width: 50%;
}
.alojamiento-img img:nth-child(2){
    width: 100%;
}

section .section-middle {
    margin-bottom: 5%;
}
section .mitad img {
    max-width: 100%;
    display: block;
}
@media all and (min-width: 540px) {
    section .mitad {
        width: 48.5%;
        display: inline-block;
        vertical-align: top;
    }
    section .mitad + .mitad {
        margin-left: 3%;
    }
}
@media all and (max-width: 539px) {
    section .mitad + .mitad {
        margin-top: 5%;
    }
}

#top-contenido {
    padding-top: 33%;
}
section .section-top {
    margin-bottom: 2.5%;
}
section .section-middle {
    margin-bottom: 5%;
}

section .sangria {
    padding-left: 25px;
    position: relative;
}
section .sangria2 {
    padding-left: 15px;
    margin-left: 28px;
    position: relative;
}
section .sangria .fa-long-arrow-right, section .sangria2 .fa-caret-right {
    position: absolute;
    top: 4px;
    left: 0;
}

#adelantos {
    margin: 15px auto 0;
}
#adelantos tr > * {
    padding: 5px;
    border-bottom: 1px solid white;
}
#adelantos tr > * + * {
    padding-left: 20px;
    text-align: center;
}

#top-contenido {
    padding-top: 40%;
}
#top-contenido #top-contenido-cont {
    padding-top: 5%;
}
#inicio #inicio-top {
    margin-bottom: 5%;
    position: relative;
    z-index: 3;
}
#inicio #inicio-top p + p {
    margin-top: 15px;
}
#inicio #inicio-bottom {
    margin-bottom: 5%;
}
#inicio-bottom .tercio .img {
    width: 100%;
    margin-bottom: 20px;
    display: block;
}

@media all and (min-width: 960px) {
    #top-contenido {
        padding-top: 40%;
    }
    #top-contenido #top-contenido-cont {
        background-image: url('../../images/inicio/ninos.png');
        background-size: 60% auto;
        background-repeat: no-repeat;
        background-position: left top;
    }
    #inicio #inicio-top {
        padding-left: 50%;
    }
    #inicio-bottom .tercio {
        width: 30%;
        display: inline-block;
        vertical-align: top;
    }
    #inicio-bottom .tercio + .tercio {
        margin-left: 4%;
    }
    #inicio #inicio-bottom .post + .post {
        margin-top: 5%;
    }
}
@media all and (max-width: 959px) {
    #top-contenido {
        padding-top: 47%;
    }
}
@media all and (min-width: 540px) and (max-width: 959px) {
    #inicio-bottom .tercio:nth-of-type(1), #inicio-bottom .tercio:nth-of-type(2), #inicio-bottom .tercio .post {
        width: 47.5%;
        display: inline-block;
        vertical-align: top;
    }
    #inicio-bottom .tercio:nth-of-type(2), #inicio-bottom .tercio .post + .post {
        margin-left: 5%;
    }
}
@media all and (max-width: 539px) {
    #inicio-bottom .tercio + .tercio, #inicio-bottom .tercio .post + .post {
        margin-top: 5%;
    }
}


#top-contenido {
    padding-top: 42%;
}
/* section {
    padding: 5%;
    border-radius: 10px;
    margin-bottom: 5%;
    background-color: #F89E1C;
    background-image: url('../../images/lineas.png');
    background-repeat: repeat-x;
    background-position: left bottom;
} */
section .aligncenter {
    margin-bottom: 2.5%;
}
section form h3 {
    margin-bottom: 10px;
}
section form .margin {
    padding-bottom: 2%;
}
section form input::-moz-placeholder {
    color: black;
    opacity: 1;
}
section form input:-ms-input-placeholder {
    color: black;
    opacity: 1;
}
section form input::-webkit-input-placeholder {
    color: black;
    opacity: 1;
}
section form input[type='text'], section form input[type='button'], section form .cuadro {
    padding: 10px 5px;
    border: 2px solid black;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom: 2%;
    background-color: #F89E1C;
    font-family: 'Abel', sans-serif;
}
section form .recuadro {
    padding: 1% 2% 2%;
    border: 2px solid black;
    margin-bottom: 2%;
}
section form .recuadro input {
    margin-top: 1%;
    margin-bottom: 0!important;
}
section form .recuadro input:nth-of-type(1) {
    width: 8%;
}
section form .recuadro input:nth-of-type(2) {
    width: 9%;
}
section form .recuadro input:nth-of-type(3) {
    width: 7%;
}
section form .recuadro input:nth-of-type(4) {
    width: 70%;
}
section form .recuadro input + input {
    margin-left: 2%;
}
section form input[type='checkbox'] {
    /*margin-left: 10px;*/
}
section form input[type='radio'] {
    margin-left: 0px;
}
section form input[type='button'] {
    padding: 10px 20px;
    background-color: #231F20;
    color: white;
}
section form .inlineblock {
    line-height: 1;
}

@media all and (min-width: 960px) {
    section form .input1 {
        width: 100%;
    }
    section form .input2, section form .input4 {
        display: inline-block;
        vertical-align: middle;
    }
    section form .input2 {
        width: 49%;
    }
    section form .input4 {
        width: 23.5%;
    }
    section form .input + .input {
        margin-left: 2%;
    }
}
@media all and (min-width: 540px) and (max-width: 959px) {
    section form .input1, section form .input2 {
        width: 100%;
    }
    section form .input4 {
        width: 49%;
        display: inline-block;
        vertical-align: middle;
    }
    section form .input4:nth-child(odd) {
        margin-left: 2%;
    }
}
@media all and (max-width: 539px) {
    section form .input1, section form .input2, section form .input4 {
        width: 100%;
    }
}

#top-contenido {
    padding-top: 50%;
}
section p, section ul {
    margin-top: 10px;
}

#top-contenido {
    padding-top: 33%;
}
/* section {
    margin-bottom: 5%;
} */
section .section-top {
    margin-bottom: 2.5%;
}
section #texto a {
    color: #F89E1C;
}
section #video {
    max-width: 540px;
    margin: 0 auto;
}
section #video #video-cont {
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    position: relative;
}
section #video #video-cont iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

@media all and (min-width: 540px) {
    section #sharer .mitad + .mitad {
        float: right;
    }
}
@media all and (max-width: 539px) {
    section #sharer .mitad {
        display: block;
    }
}

#top-contenido {
    padding-top: 42%;
}
/* section {
    margin-bottom: 5%;
} */
section .section-top {
    margin-bottom: 2.5%;
}
section .item {
    padding: 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #231F20;
}
section .item .img {
    width: 100%;
    margin-bottom: 20px;
    display: block;
}
section .item p {
    margin-top: 15px;
    line-height: 1;
}
section .paginador {
    margin-top: 2.5%;
}
section .paginador span, section .paginador a {
    width: 32px;
    line-height: 32px;
}
section .paginador span {
    background-color: #ddd;
}
section .paginador a {
    background-color: #231F20;
}
section .paginador select {
    min-width: 64px;
    height: 32px;
}

@media all and (min-width: 960px) {
    section .item {
        width: 23.5%;
    }
    section .item + .item {
        margin-left: 2%;
    }
}
@media all and (min-width: 540px) and (max-width: 959px) {
    section .item {
        width: 49%;
    }
    section .item:nth-of-type(even) {
        margin-left: 2%;
    }
}
@media all and (max-width: 539px) {
    section .item + .item {
        margin-top: 2%;
    }
}

.formulario p{
    width: 100%;
}
.formulario p{
    font-size: 12px;
    line-height: 20px;
    margin: 5px;
}
.formulario p input[type='text'], .formulario p input[type='password'], .formulario p textarea{
    border: 1px solid #333 !important;
    width: 80%;
    float: right;
}
.formulario p textarea{
    height: 150px !important;
}
.formulario p span{
    display: inline-block;
    width: 15%;
    text-align: right;
    padding-right: 5px;
}
.formulario .error {
    color: #cc0000;
    display: block;
    font-size: 9px;
    margin-top: -5px;
    text-align: right;
    width: 15%;
    line-height: 10px;
}


#galeria {
    width: 100%;
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
}
#galeria #gal-fondo {
    width: 100%;
    height: 100%;
    background-image: url('../images/loading.gif');
    background-repeat: no-repeat;
    background-position: center center;
    background-color: rgba(0,0,0,0.85);
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    cursor: zoom-out;
}
#galeria #gal-cont {
    position: absolute;
    z-index: 15;
    cursor: pointer;
}
#galeria #gal-cont #gal-imagen {
    width: 100%;
    height: 100%;
    display: block;
}
#galeria #gal-leyenda {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    z-index: 10;
    left: 0;
    color: white;
    text-align: center;
}
#galeria #gal-cont #gal-leyenda #gal-titulo {
    font-weight: bold;
}
#galeria #gal-close, #galeria #gal-prev, #galeria #gal-next {
    position: absolute;
    z-index: 20;
    cursor: pointer;
    font-size: 36px;
    line-height: 36px;
}
#galeria #gal-prev, #galeria #gal-next {
    margin-top: -18px;
    top: 50%;
}

@media all and (min-width: 960px) {
    #galeria {
        padding: 50px 50px 25px;
    }
    #galeria #gal-leyenda {
        padding: 25px 50px 0;
        bottom: 25px;
    }
    #galeria #gal-close {
        top: 25px;
        right: 25px;
    }
    #galeria #gal-prev {
        left: 25px;
    }
    #galeria #gal-next {
        right: 25px;
    }
}
@media all and (min-width: 540px) and (max-width: 959px) {
    #galeria {
        padding: 40px 40px 20px;
    }
    #galeria #gal-leyenda {
        padding: 20px 40px 0;
        bottom: 20px;
    }
    #galeria #gal-close {
        top: 20px;
        right: 20px;
    }
    #galeria #gal-prev {
        left: 20px;
    }
    #galeria #gal-next {
        right: 20px;
    }
}
@media all and (max-width: 539px) {
    #galeria {
        padding: 30px 30px 15px;
    }
    #galeria #gal-leyenda {
        padding: 15px 30px 0;
        bottom: 15px;
    }
    #galeria #gal-close {
        top: 15px;
        right: 15px;
    }
    #galeria #gal-prev {
        left: 15px;
    }
    #galeria #gal-next {
        right: 15px;
    }
}

/* NEW CSS */

#menu button {
    display: none;
}

#primary-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;

    & li {
        display: inline-block;
        vertical-align: middle;
        margin: 0;
        padding: 0;
        position: relative;

        &:not(:last-child)::after {
            content: '/';
            position: absolute;
            right: -8px; 
            top: 2px;
        }
        &:is(:first-child) a {
            padding-left: 0;
        }

        & a {
            padding: 0 15px;
            color: #F0D051;
            display: inline-block;
            vertical-align: middle;
            position: relative;
        }

        & .sub-menu {
            display: none;
            position: absolute;
            z-index: 100;
            background-color: #231F20;
            padding: 15px 0px;
            margin: 0;
            width: max-content;
            left: 0;
            top: 100%;
            transition: 0.3s;
            
            & li {
                display: block;
                &::after {
                    display: none;
                }

                & a {
                    text-align: center;
                    display: block;
                    color: #fff;
                    font-size: 20px;
                    margin-top: 10px;
                }
            }
        }

        &:hover .sub-menu {
            display: block;
        }
    }
}

footer ul.floatleft {
    margin-left: 50px;
    list-style-type: none;
    a {
        display: block;
        color: #fff;
    }
}

.firstSection {
    margin-bottom: 20px;
    & .item {
        width: 18%;
    }
    & .item:nth-child(6n) {
        margin-left: 0;
    }
}

.desktop {
    display: block;
}

.mobile {
    display: none;
}

@media(max-width: 1000px) {
    #top-contenido #top-contenido-cont {
        background-image: none !important;
    }
    .desktop {
        display: none;
    }
    .mobile {
        display: inline-block;
    }

    .firstSection .item{
        width: 48%;
        vertical-align: top;
        margin-top: 10px !important;
    }

    .page-template-instalaciones .alojamiento-img img {
        width: 100%;
    }

    #posts .item {
        width: 100%;
        margin-left: 0;
    }

    .page-template-galeria .mitad {
        width: 100% !important;
    }

    form.wpcf7-form.init span {
        width: 100% !important;
    }
}