/* ********** ESTILOS GENÉRICOS ********** */
.navbar-brand{
	display: none;
}

#logo{
	text-align: center;
    padding: 10px;
}

#logo img{
	width: 8%;
}

#masthead{
	background: black !important;
	padding: 0px !important;
}

#main-nav > ul > li > a{
	color: white !important;
	transition: background 1s;
	font-size: 17px !important;
}

#main-nav ul li{
	transition: background 1s;
	width: 100%;
    text-align: center;
}

#main-nav ul li:hover{
	background: #ffffff;
	transition: background 1s;
}

#main-nav ul li:not(.active):hover a{
	color: black !important;
	font-weight: 500 !important;
}

#main-nav ul li.active:hover a{
	color: black !important;
	font-weight: 600 !important;
}

#menu-menu-principal{
	width: 100%;
	margin: 0 auto;
}

.entry-header, .entry-footer{
	display: none;
}

#imagen-inicial{
	margin-top: -90px;
}

/* ********** INICIO ********** */
#acceso-rapido {
    text-align: center;
    padding: 20px 10px !important;
    margin-top: -30px;
}

#contenedor-publicidad{
	display: grid;
	grid-template-columns: 33.3% 33.3% 33.3%;
	grid-gap: 0px;
}

#contenedor-publicidad .enlace {
    padding: 0px;
    width: 100%;
    margin: 0 auto;
}

#contenedor-publicidad .enlace:nth-child(1) {
    background: url(https://revolucionweb.es/loidazabala/wp-content/uploads/2020/07/liberty_sesalen.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

#contenedor-publicidad .enlace:nth-child(2) {
    background: url(https://revolucionweb.es/loidazabala/wp-content/uploads/2020/07/apoya_deportista.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

#contenedor-publicidad .enlace:nth-child(3) {
    background: url(https://revolucionweb.es/loidazabala/wp-content/uploads/2020/07/pabellon.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

#contenedor-publicidad .enlace:hover{
	cursor: pointer;
}

#contenedor-publicidad .enlace:hover .cuerpo p{
	visibility: visible;
	background: rgba(0,0,0,.7);
}

#contenedor-publicidad .enlace, .enlace:hover{
	text-decoration: none;
}

#contenedor-publicidad .enlace .cuerpo p{
	font-size: 1.2em;
	color: white;
	margin-bottom: 0px;
	visibility: hidden;
	text-transform: uppercase;
	transition: all 0.4s;
	height: 140px;
	padding-top: 60px;
	padding-left: 20px;
    padding-right: 20px;
}

#contenedor-publicidad .enlace .cuerpo{
	margin-top: 0px;
	width: 100%;
    margin: 0 auto;
    height: 150px;
}

.page-id-220 div#content, .page-id-240 div#content, .page-id-291 div#content {
    padding-top: 0;
}

.bg-grey {
	background-color: #eeeeee;
}

#post-342 a {
    color: #343434;
    font-weight: bold;
    text-decoration: none;
}

h3.wp-show-posts-entry-title a {
    color: #323232;
    text-decoration: none;
}

h3.wp-show-posts-entry-title {
    font-family: 'Open Sans', sans-serif;
}

a.wp-show-posts-read-more, a.wp-show-posts-read-more {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #222;
    color: #222;
    font-size: 1em;
    text-decoration: none;
}

a.wp-show-posts-read-more:focus, a.wp-show-posts-read-more:hover {
	border: 1px solid #222;
}

.single-post header.entry-header {
    display: block;
}

.single-post header.entry-header  h1, h3#reply-title {
	font-family: 'Open Sans', sans-serif;
}

.single a {
	color: #383838;
	font-family: 'Open Sans', sans-serif;
}

h3.widget-title {
    font-family: 'Open Sans', sans-serif !important;
}

aside#secondary {
    margin-top: 25px;
}

.alert.alert-info {
    display: none !important;
}

p.form-allowed-tags, nav.navigation.post-navigation  {
    display: none;
}

input#commentsubmit {
    background-color: #2a2a2a;
    border: 1px solid transparent;
}

section#categories-2 a, .tagcloud a {
    color: #3e3e3e;
}

ul.dropdown-menu.show > li:hover {
    background-color: #e3e3e3 !important;
}

/* ********** FOOTER ********** */

label {
    display: contents;
}

#colophon{
	background: black !important;
    color: white !important;
    text-align: left;
    font-size: 0.9em !important;
}

textarea.wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required.form-control {
    height: 150px;
    margin-bottom: 15px;
}

input.wpcf7-form-control.wpcf7-submit.btn.btn-primary {
    margin-bottom: 10px;
    width: 100%;
    background-color: #272727;
    border: 1px solid transparent;
}

.mc4wp-form-fields input {
    position: relative;
    left: 50%;
    transform: translate(-50%);
}

.social-footer {
    display: inline-block;
}

.social-footer {
    position: relative;
    float: right;
    text-align: right;
}

/* ********** RESPONSIVE ********** */

@media (max-width: 425px) {
    
    .social-footer {
        width: 100% !important;
        text-align: left;
    }

    #imagen-inicial {
        margin-top: -68px;
    }

    span.navbar-toggler-icon {
        background-color: white;
        margin: 12px;
        border-radius: 5px;
        padding: 12px;
    }

    #contenedor-publicidad .enlace .cuerpo p {
        padding-top: 20px;
    }

    p.footer-text-res {
        padding: 0px 12px;
    }

    div#wpcf7-f5-o1 {
        padding-left: 25px;
    }

    .social-footer {
        padding-top: 10px;
    }

    a.nav-link {
        text-align: left;
    }

}

@media (max-width: 768px) {
    
    .social-footer {
        width: 32%;
    }

    button.navbar-toggler {
        margin-bottom: 16px !important;
    }

}

@media (max-width: 1024px) {
    
    button.navbar-toggler {
        background-color: white;
        margin: 8px;
    }

    nav.navbar.navbar-expand-xl.p-0 {
        padding-bottom: 10px !important;
    }

}