/*
 * Footer de la web antigua (dikka), partials/footer-race.php.
 * Reglas copiadas de producción (bootstrap.css, dikka-installable/style.css, dikka-child/style.css,
 * style_jesus.css, style_cabecera.css, new-styles.css y race-styles.css) en el mismo orden,
 * limitadas a #race-footer para no afectar al resto de la web.
 */

/* Fila principal del footer de Astra: se mantiene por los formularios de registro del área privada
   (#block-12), pero sin su acordeón (#block-8) ni su pie (.footer-race), que sustituye este footer. */
#colophon #block-8,
#colophon .footer-race {
	display: none !important;
}

#colophon .site-primary-footer-wrap {
	padding: 0;
	min-height: 0;
	background: none;
	border: 0;
}

#colophon .site-primary-footer-wrap .ast-builder-grid-row {
	min-height: 0;
}

#race-footer {
	display: block;
	clear: both;
	text-align: left;
	font-size: 14px;
	line-height: 1.5286;
}

#race-footer p,
#race-footer span,
#race-footer a,
#race-footer div {
	font-family: DIN;
}

#race-footer p {
	color: #585858;
	margin: 0 0 10px;
	padding: 0;
}

#race-footer a {
	font-size: inherit;
	line-height: 1.4;
	text-decoration: none;
}

#race-footer img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

/* bootstrap.css */
#race-footer .container {
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
	box-sizing: border-box;
}

@media (min-width: 768px) {
	#race-footer .container {
		width: 750px;
	}
}

@media (min-width: 992px) {
	#race-footer .container {
		width: 970px;
	}
}

@media (min-width: 1200px) {
	#race-footer .container {
		width: 1170px;
		position: relative;
	}
}

#race-footer .row {
	margin-right: -15px;
	margin-left: -15px;
}

#race-footer .col-sm-3 {
	position: relative;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
	box-sizing: border-box;
}

@media (min-width: 768px) {
	#race-footer .col-sm-3 {
		float: left;
		width: 25%;
	}
}

#race-footer .container:before,
#race-footer .container:after,
#race-footer .row:before,
#race-footer .row:after {
	display: table;
	content: " ";
}

#race-footer .container:after,
#race-footer .row:after {
	clear: both;
}

/* dikka-installable/style.css */
#race-footer .footer {
	width: 100%;
	color: #f5f5f5;
	padding: 50px 0 20px;
	background: #dadad9 !important;
}

#race-footer #bottom-footer {
	padding: 30px 0;
	width: 100%;
	display: inline-block;
	border-top: 1px solid #fafafa;
}

#race-footer .widget {
	margin: 0 0 40px;
	float: left;
	width: 100%;
}

#race-footer .widgettitle {
	letter-spacing: 1px;
	padding-bottom: 5px;
	margin-top: 20px !important;
	margin-bottom: 25px !important;
	font-size: 13px !important;
	line-height: 1.5 !important;
	text-transform: uppercase !important;
	font-weight: 800 !important;
}

#race-footer .footer .widgettitle {
	border-bottom: none;
	padding-bottom: 0;
}

#race-footer .footer p,
#race-footer .footer a {
	font-weight: 400 !important;
}

/* inline de la web antigua y resize.css */
#race-footer .b-text {
	padding-left: 12px;
	float: left;
	width: 100%;
	text-align: left;
	box-sizing: border-box;
}

@media (max-width: 767px) {
	#race-footer .b-text {
		padding-left: 0 !important;
	}
}

@media (max-width: 479px) {
	#race-footer .b-text {
		margin: 16px;
		float: none !important;
		text-align: center !important;
		width: auto !important;
	}
}

/* dikka-child/style.css */
#race-footer .mbTitulos {
	margin-bottom: 19px !important;
}

#race-footer .footer a.sprites-icon-appstore {
	margin-bottom: 12px !important;
}

#race-footer #bottom-footer {
	border: 0;
	background: #444;
	color: #fff;
	padding: 0;
}

#race-footer #bottom-footer a:link,
#race-footer #bottom-footer a:visited {
	color: #fff;
}

#race-footer #bottom-footer a:hover {
	color: #ae7748;
}

#race-footer .b-text img.logo-race-pie {
	margin-right: 15px;
	width: 30px;
}

#race-footer [class*="sprites-"] {
	display: block;
}

#race-footer .sprite {
	background: url("../images/sprites-s71de8ac053.png") no-repeat;
}

#race-footer .sprites-icon-appstore {
	height: 40px;
	width: 176px;
	background-position: 0 -1274px !important;
}

#race-footer .sprites-icon-googleplay {
	height: 40px;
	width: 177px;
	background-position: 0 -1124px !important;
}

#race-footer .widget {
	float: left;
	width: 100%;
	margin: 0 !important;
}

@media (min-width: 600px) {
	#race-footer .footer .container .widget.widget_text {
		width: 99%;
	}
}

@media (max-width: 767px) {
	#race-footer .footer .col-sm-3 .widget {
		text-align: center;
		width: 100%;
	}

	#race-footer .footer .col-sm-3 .sprites-icon-appstore,
	#race-footer .footer .col-sm-3 .sprites-icon-googleplay {
		display: block;
		margin: 0 auto;
	}

	#race-footer .b-text img.logo-race-pie {
		display: block;
		margin: 15px auto;
	}

	#race-footer .footer {
		padding-top: 0;
	}

	#race-footer .footer p {
		margin-bottom: 0 !important;
	}

	#race-footer .footer .container .row .col-sm-3 {
		display: block;
		margin-bottom: 15px;
		height: auto !important;
	}

	#race-footer .footer .container .row .col-sm-3 .widget {
		float: none;
	}

	#race-footer .footer .container .widgettitle {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}

	#race-footer #bottom-footer .copyright {
		float: right;
		font-size: 90%;
		margin-top: 10px;
		line-height: 14px;
		text-align: left;
		width: 70%;
	}
}

/* style_jesus.css y style_cabecera.css */
@media (min-width: 600px) {
	#race-footer .widget {
		width: 46%;
		margin: 0 0 0 2% !important;
	}
}

@media (min-width: 950px) {
	#race-footer .widget {
		width: 100%;
		margin: 0 !important;
	}
}

#race-footer #text-5 {
	width: 107% !important;
	margin-left: -1rem !important;
}

/* new-styles.css */
#race-footer .btn-blue {
	border: 2px solid #1b74da;
	font-weight: bold;
	border-radius: 50px;
	color: #1b74da !important;
	display: inline-block;
}

#race-footer .btn-blue:hover {
	color: #fff !important;
	background-color: #1b74da !important;
}

@media (min-width: 1200px) {
	#race-footer .container {
		width: 100%;
		max-width: 1200px;
		margin: 0 auto;
	}
}

#race-footer .footer {
	background: #f1f1f1;
	clear: both;
}

@media (max-width: 767px) {
	#race-footer .footer {
		padding-bottom: 0;
		margin-top: 0;
	}

	#race-footer .footer .col-sm-3 {
		padding: 0;
		margin: 0 !important;
	}
}

#race-footer .footer .col-sm-3 .widget .widgettitle:before {
	width: 25px;
	height: 22px;
	display: inline-block;
	content: "";
	margin-bottom: -4px;
	margin-right: 8px;
}

#race-footer .footer .col-sm-3 #text-3 .widgettitle:before {
	background: url("/wp-content/uploads/2018/11/contacto.svg") 0 0 / 65% auto no-repeat;
	margin-bottom: -7px;
}

#race-footer .footer .col-sm-3 #text-4 .widgettitle:before {
	background: url("/wp-content/uploads/2018/11/mundo.svg") no-repeat;
}

#race-footer .footer .col-sm-3 #text-5 {
	width: 100% !important;
	margin-left: 0 !important;
}

#race-footer .footer .col-sm-3 #text-5 .widgettitle:before {
	background: url("/wp-content/uploads/2018/12/finger-touching-tablet-screen.svg") center center / 89% auto no-repeat;
}

#race-footer .footer .col-sm-3 #text-6 .widgettitle:before {
	background: url("/wp-content/uploads/2018/11/corona.svg") no-repeat;
}

@media (max-width: 767px) {
	#race-footer .footer .col-sm-3 .widget.widget_text {
		width: 100%;
	}

	#race-footer .footer .col-sm-3 .widget {
		margin: 0 !important;
	}
}

#race-footer .footer .col-sm-3 .widget .widgettitle {
	border-bottom: 1px solid #1c1c1b;
	text-transform: none !important;
	color: #1c1c1b !important;
	padding-bottom: 8px !important;
	margin-bottom: 20px !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	letter-spacing: -.5px !important;
}

@media (max-width: 767px) {
	#race-footer .footer .col-sm-3 .widget .widgettitle {
		text-align: left;
		border-bottom: none;
		border-top: 1px solid #d2d2d2;
		cursor: pointer;
		margin-bottom: 0 !important;
		padding: 9px 15px 8px 30px !important;
	}

	/* En la web antigua eran los iconos plus/minus de FontAwesome, que esta web no carga */
	#race-footer .footer .col-sm-3 .widget .widgettitle:after {
		content: "+";
		color: #1f77dc;
		float: right;
		margin-right: 10px;
		font-size: 24px;
		font-weight: 700;
		line-height: 24px;
	}

	#race-footer .footer .col-sm-3 .widget .close-text:after {
		content: "\2212";
	}

	#race-footer .footer .col-sm-3 .widget .textwidget {
		padding: 10px 15px;
		background: rgba(255, 255, 255, .6);
		border-top: 1px solid #d2d2d2;
		display: none;
		width: 100%;
		box-sizing: border-box;
	}
}

#race-footer .footer .col-sm-3 .widget .textwidget .tel-contact {
	margin-top: 35px;
}

@media (max-width: 767px) {
	#race-footer .footer .col-sm-3 .widget .textwidget .tel-contact {
		margin-top: 0;
	}

	#race-footer .footer .col-sm-3 .widget .textwidget .tel-contact p {
		border: none;
	}

	#race-footer .footer .col-sm-3 .widget .textwidget .tel-contact p a {
		display: inline-block;
		width: auto;
	}
}

#race-footer .footer .col-sm-3 .widget .textwidget p {
	font-size: 16px;
	color: #1c1c1b;
	line-height: 18px;
	margin-bottom: 13px !important;
}

@media (min-width: 768px) {
	#race-footer .footer .col-sm-3 .widget .textwidget p {
		font-size: 17px;
	}
}

@media (max-width: 767px) {
	#race-footer .footer .col-sm-3 .widget .textwidget p {
		border: 1px solid #e2e2e2;
		padding: 6px 10px;
		max-width: 340px;
		border-radius: 2px;
		margin: 10px auto !important;
	}

	#race-footer .footer .col-sm-3 .widget .textwidget p.btn-p {
		border: none;
	}
}

#race-footer .footer .col-sm-3 .widget .textwidget p span {
	font-size: 13px;
}

#race-footer .footer .col-sm-3 .widget .textwidget p a {
	color: #1c1c1b;
}

@media (max-width: 767px) {
	#race-footer .footer .col-sm-3 .widget .textwidget p a {
		display: block;
		width: 100%;
		margin-bottom: 0 !important;
	}
}

#race-footer .footer .col-sm-3 .widget .textwidget p a b {
	display: inline-block;
}

#race-footer .footer .col-sm-3 .widget .textwidget p a.sprite.sprites-icon-appstore.mbTitulos {
	margin-top: 24px;
}

@media (max-width: 767px) {
	#race-footer .footer .col-sm-3 .widget .textwidget p a.sprite.sprites-icon-appstore.mbTitulos {
		margin-top: 0;
		margin-bottom: 10px !important;
	}
}

#race-footer #bottom-footer {
	background-color: #1c1c1b;
}

#race-footer #bottom-footer .b-text {
	padding: 10px 0;
	display: flex;
	float: none;
	align-items: center;
	justify-content: space-between;
	font-size: 13px;
	color: #fff;
}

@media (max-width: 767px) {
	#race-footer #bottom-footer .b-text {
		display: block;
		padding: 10px 0 0;
		font-size: 15px;
	}
}

#race-footer #bottom-footer .b-text .left-col {
	float: left;
}

@media (max-width: 767px) {
	#race-footer #bottom-footer .b-text .left-col {
		float: none;
		display: flex;
		align-items: center;
		justify-content: center;
		margin-bottom: 15px;
	}

	#race-footer #bottom-footer .b-text .left-col .logo-race-pie {
		margin: 0 15px 0 0;
	}

	#race-footer #bottom-footer .b-text .left-col .copyright {
		width: auto;
		margin-top: 3px;
	}

	#race-footer #bottom-footer .b-text .left-col .copyright strong {
		display: block;
		margin-bottom: 5px;
	}
}

@media (max-width: 479px) {
	#race-footer #bottom-footer .b-text .left-col {
		display: inline-flex;
	}
}

#race-footer #bottom-footer .b-text .right-col {
	float: right;
}

@media (max-width: 767px) {
	#race-footer #bottom-footer .b-text .right-col {
		float: none;
	}

	#race-footer #bottom-footer .b-text .right-col a {
		display: block;
		text-align: center;
		margin: 10px auto;
		padding: 6px 10px;
		max-width: 340px;
		background: rgba(255, 255, 255, .1);
		border-radius: 2px;
	}

	#race-footer #bottom-footer .b-text .right-col span {
		display: none;
	}
}

/* Estilo en línea del widget "Más del RACE" (en producción solo se aplican estas dos reglas:
   las de "a" e "img" quedan invalidadas por unos <p> colados en su <style>) */
#race-footer .social-links-container {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: -15px;
}

@media (max-width: 768px) {
	#race-footer .social-links-container {
		justify-content: center;
		width: 100%;
		align-items: center;
		padding-left: 20%;
		box-sizing: border-box;
	}
}
