@font-face {
	font-family: swipe-race;
	src: url(http://f1rst.servegame.com/wp-content/themes/seos-football/fonts/SwipeRaceDemo.ttf);
	font-weight: normal;
}

#page {
    overflow: visible;
}

#page .top-banner {
    background-image: url("https://f1rst.servegame.com/wp-content/uploads/2021/12/cropped-2822-h.jpg");
    background-position: left top;
    background-size: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 200px;
    position: relative;
}

.top-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

#page .top-banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 100%;
}

#page .top-banner-text h1 {
    margin: 0;
    font-size: 48px;
    font-weight: 700;
    font-family: 'Jockey One', sans-serif;
}

#page .top-banner-text p {
    margin: 5px 0 0;
    font-size: 20px;
    font-family: 'Jockey One', sans-serif;
}

/* ANIMACION TITULO */

.home .top-banner-text h1 {
    animation: entrarDerecha 1.2s cubic-bezier(0.25, 1.4, 0.5, 1) forwards;
}

.home .top-banner-text p {
    animation: entrarIzquierda 1.2s 0.2s cubic-bezier(0.25, 1.4, 0.5, 1) forwards;
}


/* H1: entra desde la derecha */
@keyframes entrarDerecha {
    from {
        opacity: 0;
        transform: translateX(300px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* P: entra desde la izquierda */
@keyframes entrarIzquierda {
    from {
        opacity: 0;
        transform: translateX(-300px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* FIN ANIMACION TITULO */

#page .nav-center {
    position: sticky;
    top: 0;
    z-index: 1000;
}

#content .ig-home article {
    background-color: rgba(0, 0, 0, 0.75);
}

#content .ig-home article p {
    min-height: 350px;
}

#content .ig-home article .app-sub {
    min-height: 210px;
}

#content section .em-cal-nav {
    background-color: #000;
    padding: 0px 25px;
}

#content section .month input {
    color: #fff;
    font-size: 18px !important;
}

#content section .em-cal-nav .month-nav a {
    color: #fff;
}

#content section .em-cal-nav .month-nav a:hover {
    color: red;
}

#content section .em.em-calendar .em-cal-head,
#content section .em.em-calendar .em-cal-body {
    border-radius: 0;
    background-color: #000;
}

#content section .em.em-calendar .em-cal-head .em-cal-day,
#content section .em.em-calendar .em-cal-body .em-cal-day {
    color: #fff;
    border: 1px solid #fff;
    padding: 5px 5px;
}

#em_widget-3 .em.pixelbones li {
    color: #fff;
    padding: 0px 25px;
}


/* HEREDADO - Estilos anteriores a la actualizacion a php 8.3, Wordpress 7.1.2 y Seos Football 1.2.2 */

header .site-title a {
	font-family: swipe-race;
	margin: 0px;
}

header .site-description {
	font-size: 20px;
}

header .header-img {
	overflow: visible;
}

.main-navigation ul {
	padding: 0px;
}

.main-navigation ul li {
	padding: 8px;
}

.main-navigation ul li a {
	font-size: 20px;
}

.main-navigation ul ul li {
	background-color: #000;
	padding: 0px;
}

.main-navigation ul ul li a {
	font-size: 17px;
}

.main-navigation ul li:hover,
.main-navigation ul ul li a:hover {
	background-color: #bf0000;
	webkit-box-shadow: none;
	box-shadow: none;
}

.main-navigation ul li > a:after {
	content: "▼";
	transform: rotate(
0deg);
}

.nav-center {
	border-top: 4px solid #000;
	background: #000;
}

#content article,
#content .widget,
#content #comments,
#content aside h2 {
	background: rgba(0,0,0,0.8);
}

.tml-login form,
.tml-user-avatar {
	padding: 0px 20px 0px 20px;
}

aside a {
	line-height: 1.7em;
	font-size: 17px;
}

article li{
	line-height: 1.7em;
	font-size: 15px;
}

article p {
	line-height: 1.7em;
	font-size: 15px;
	margin-bottom: 15px;
}

.wp-block-image figcaption {
	color: #bebebe;
	font-style: italic;
	font-size: 13px;
}

.comment-form textarea {
	margin-top: 10px;
}

.wp-block-button__link:hover {
	color: #32373c;
	background-color: #fff;
	border-color: #32373c;
}

.entry-footer {
	font-size: 15px;
}

.entry-footer span {
	margin-right: 20px;
	font-family: ''Jockey One'', sans-serif;
	font-weight: 100;
}

.entry-footer span.edit-link {
	padding: 0px;
}

.no-results,
.error-404 {
	background: rgba(0,0,0,0.8);
}

.no-results .page-content p {
	margin-bottom: 20px;
}

.no-results .page-content .search-field {
	width: 300px;
}

.titulo-404 {
	margin: 0 0 20px 0;
	font-weight: 100;
	color: #eee;
 	font-family: ''Jockey One'', sans-serif;
	text-align: center;
	font-size: 2.8em;
}

.imagen-404 {
	text-align: center !important;
}

.texto-404 {
	text-align: center !important;
	padding: 0 50px;
}

.boton-404 {
	margin: 20px auto 20px auto !important;
}

.titulo-calendario {
	font-family: ''Jockey One'';
	font-size: 20px;
	text-align: center;
	margin-left: -10px;
}

.lista-calendario {
	margin-left: -12px;
}

.app-sub {
	height: 130px !important;
}

.post img {
	height: 130px !important;
}

.titulo-descarga-coches,
.titulo-descarga-circuitos {
	margin-top: 0px;
	padding-top: 0px;
}

pre {
	padding: 1em;
	color: #444;
	margin-bottom: 1em;
  margin-top: 1.6em;
}

table.em-calendar td.eventless-today {
	color: black;
  font-weight: bold;
}

table.em-calendar td.eventless-today, table.em-calendar td.eventful-today {
  background-color: #777;
}

table.em-calendar td.eventful a,
table.em-calendar td.eventful-today a {
  font-family: ''Roboto'',''Helvetica Neue'',Arial,Verdana,sans-serif;
	font-weight: bold;
	line-height: initial;
}

table.em-calendar tr.days-names {
	text-transform: uppercase;
  font-weight: bold;
}

table.em-calendar td.eventless-pre, .em-calendar td.eventless-post,
.em-calendar td.eventful-pre a,
.em-calendar td.eventful-post a
{
	color: #555 !important;
}

.em-booking-buttons input {
	height: 35px;
}

.em-tickets-spaces {
  display: none;
}

.proxima-carrera {
	margin:20px 30px 20px 20px;
	background:rgba(0,0,0,0.8);
	padding:20px;
	width: auto;
}

.proxima-carrera table,
.proxima-carrera tr,
.proxima-carrera td {
	border: 0px;
}

.proxima-carrera h1,
.proxima-carrera h2,
.proxima-carrera h3 {
	padding: 0px;
	margin: 0px;
	display: inline;
}

div.em-booking-login label {
	width: initial;
}

div.em-booking-login #em_rememberme {
	margin-top: 20px;
}

div.em-booking-login #em_wp-submit {
	height: 35px;
   margin-top: 15px;
}

.nav-links .page-numbers {
	font-family: ''Jockey One'', sans-serif;
}

.wpforms-recaptcha-container input.wpforms-recaptcha-hidden {
	display: none !important;
}

div.wpforms-container-full .wpforms-form label.wpforms-error {
	color: #ff0000;
}