﻿/* ============================================== Variables ====================================== */
footer{
    --white-dark: rgba(245, 245, 245,1);
	--white: rgba(245, 245, 245,1);
    --grey: rgba(125, 120, 120,1);
	--grey-light: rgba(143, 143, 143,1);
    --grey-dark:  rgba(171, 160, 160,1);
    --blue: rgba(142, 192, 224,1);
	--red: rgba(122, 65, 0,1);
	--blue-dark: rgba(0, 114, 198, 1);		
}

/* ============================================== Footer ======================================== */
footer{
	background:var(--color-white);
	background-color: rgb(243, 243, 243);
	margin-top: 1rem;
}
footer ul li a {
	display: inherit;
	color: var(--color-black);
	padding: 5px 8px;
	font-size: .9rem;
}

footer img {
	border:1px solid white
}

footer ul li a:visited {
	color: var(--color-black);
}

footer ul li a:hover {
	color: var(--red);
}

footer #madPie #madBanners ul {
	display: flex;
	justify-content: center;
}

footer #madBanners ul,
footer #madMenuPie ul,
footer #madAccesibilidad ul {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: center;
	list-style-type: none;
	align-items: center;
	padding: 0;
}

footer #madBanners img,
footer #madBanners a {
	width: 100px;
	height: 60px;
}

footer #madMenuPie{
	padding-bottom: .75rem!important;
}

footer  ul li img:hover {
    transform: scale(1.04, 1.04);
    transition: transform 0.2s;
}


footer #madfechaActualizacion {
	margin: 1rem 0.5rem;
	text-align: center;
	font-size: 1rem;
}

footer #madfechaActualizacion strong {
	color: var(--red);
	font-weight: bold;
}

footer #madBanners {
	background: var(--grey-light);
	padding: 0.25rem;
}

footer #madAccesibilidad ul li img {
	width: 70px;
}

footer #madAccesibilidad ul li:last-child img {
	width: auto;
	height: 25px;
}

/* ****************************** RWD ********************************* */
@media only screen and (min-width: 992px) {
#madMenuPie ul,
	#madAccesibilidad ul {
		justify-content: center;
	}
}

