* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

body {
    max-width: 100%;
    height: auto;
    background-color: #f7f8ff;
    font-family: "Source Sans 3";
}

footer {
    padding: 0;
    margin: 0;
}

.container {
    width: 100%;
    background-color: #5f6ce8;
    margin: 0;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    justify-content: space-between;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-template-rows: 1fr,;
    grid-template-areas:
    "uno dos tres cuatro";
}

.logo{
    grid-area: uno;
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    border-right: 1px solid white;
}

.logo img{
    width: 60px;
    height: auto;
    margin-right: 10px;
}

.logo h2{
    font-size: 14px;
    line-height: 16px;
    text-align: left;
    align-content: center;
    color: #f7f8ff ;
}

.locacion{
    grid-area: dos;
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
    justify-content: center;
    align-content: center;
    text-align: center;
    border-right: 1px solid white;
    color: #f7f8ff ;
}

.locacion p{
    text-decoration: none;
    text-align: center;
    font-size: 12px;
    line-height: 18px;
    color: #f7f8ff ;
}


.enlaces{
    grid-area: tres;
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
    align-content: center;
    text-align: center;
    color: #f7f8ff ;
    border-right: 1px solid white;
}

.enlaces ul li a{
    text-decoration: none;
    font-size: 12px;
    line-height: 16px;
    color: #f7f8ff ;
}

.enlaces a:hover{
    color: #ffac47;
}

.social-link{
    grid-area: cuatro;
    display: flex;
    width: auto;
    margin: 0;
    padding: 0;
    align-items: center;
    text-align: center;
    justify-content: space-evenly;
}

.social-link img{
    width: auto;
    height: 30px;
}

.imagen_hover:hover {
    text-decoration: none;
}

.hide{
    display:none;
}
/* CAMBIO DE IMAGEN*/
.imagen_hover:hover img:first-child{
    display:none;
}
.imagen_hover:hover img:last-child{
    display:inline-block;
}

/*.social-link a {
    display: inline-block;
    background-color: #d1e5f0;
    height: 30px;
    width: 30px;
    margin: 10px;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 18px;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    color: #7675d1;
    transition: all .5 ease;
}

.social-link a:hover {
    background-color:#ffac47;
} */

.container-2{
    width: 100%;
    height: 80px;
    display: flex;
    flex-wrap: wrap;
    background-color: #313f5f;
    align-content: center;
    justify-content: center;
    margin: 0;
    padding-left: 10px;
    padding-top: 0;
    padding-right: 10px;
    padding-bottom: 0;
}

.container-3{
    width: 50%;
    height: 60px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    background-color: #313f5f;
}

.ipfl img{
    height: 60px;
    align-content: center;
    justify-content: center;
    padding: 0;
}

.ipfl a:hover{
    opacity: 50%;
}

.sindicato img{
    height: 60px;
    width: auto;
    justify-content: right;
}

.sindicato a:hover{
    opacity: 50%;
}

.promocion {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    display: inline-block;
    text-align: center;
    color: #252525;
}

.promocion h4{
    font-size: 14px;
    line-height: 18px;
}

.promocion p{
    font-size: 12px;
    line-height: 16px;
}

.derechos {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    display: inline-block;
    text-align: center;
    font-size: 14px;
    line-height: 16px;
    color: #252525;
}

.footer-links {
    width: 25%;
    padding: 0 15px;
}

.footer-links h4 {
    font-size: 18px;
    color:rgb(50, 47, 187);
    margin-bottom: 25px;
    /*separacion hacai abajo*/
    border-bottom: 2px solid rgb(50, 47, 187);
    font-weight: 500;
    padding-bottom: 10px;
    /*para separar*/
    display: inline_block;
    text-align: center;
}

.footer-links ul li a {
    font-size: 15px;
    text-decoration: none;
    color: #ffffff;
    display: block;
    margin-bottom: 15px;
    transition: all 3s ease;
    text-align: center;
}

.footer-links ul li a:hover {
    color: #ffffff;
    padding-left: 11px;

}

.footer-links h3 {
    font-size: 18px;
    color: #ffffff;

}

.footer-links h2 {
    font-size: 28px;
    color: #ffffff;
}


@media(max-width:991px) {
    .footer-row {
        text-align: center;
    }

    .footer-links {
        width: 100%;
        margin-bottom: 30px;
    }
}

h5{ 
    text-align: center;
    font-size: 15px;
}

p{ 
    text-align: center;
}