﻿
footer {
   --white: rgba(255, 255, 255, 1);
   --white-dark: rgba(245, 245, 245, 1);
   --grey: rgba(192, 192, 192, 1);
   --grey-dark: rgba(64, 64, 64, 1);
   --blue: rgba(142, 192, 224, 1);
   --blue-dark: rgba(0, 66, 133, 1); 
}

footer {
    /* margin-top: 0.5rem; */
    position: relative;
    background-color: var(--blue-dark);
    width: 100%;
    padding: 2% 2% 0% 2%;
    margin: 0 auto;
    margin-top: 1rem;
    box-sizing: border-box;
}

footer a {
    color: var(--white);
    text-decoration: none;
    line-height: 16.25px;
    margin-bottom: 10px;
}

footer .madFooterlogos {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

footer .madFooterlogos div:nth-of-type(1) {
    text-align: left;
    position: relative;
    top: .5rem;
}

footer .madFooterlogos div:nth-of-type(2) {
    text-align: right;
}

footer .footer-info {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
    padding-bottom: .5rem;
    flex-direction: column;
    list-style-type: none;
    border-bottom: 1px solid var(--white);
}



footer .footer-info li {
    margin-bottom: .5rem;
}


footer .footer-info a {
    color: rgb(255, 255, 255);
    font-size: .8rem;
}

/* SocialButtons*/

footer .social-buttons {
    margin-top: .5rem;
    width: 100%;
    justify-content: space-between;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}

footer .social-buttons span {
    color: var(--white);
    font-size: .9rem;
}

footer .social-buttons strong {
    color: var(--white);
}

footer. social-buttons p {
    text-align: right;
}

footer .social-buttons ul {
    display: flex;
    list-style-type: none;
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-bottom: 15px;
}

footer .social-buttons ul li {
    margin-left: 1rem;
}

footer .social-buttons strong {
    color: var(--white);
    margin-left: .5rem;
}

/* madRedesSociales*/
footer .madRedessociales ul li:first-child {
    margin-left: 0rem;
}

footer .madRedessociales p {
    text-align: right;
}

@media only screen and (min-width: 992px) {
    footer .footer-info {
        flex-direction: row;
    }

    footer .footer-info li a:before {
        position: relative;
        z-index: 5;
        right: 3px;
    }

    footer .footer-info li {
        margin-bottom: 0rem;
    }
    footer .footer-info a {
        font-size: 1rem;
    }

    footer .social-buttons {
        flex-wrap: nowrap;
    }
}


