/* module_links.css */
.module_links {
    display: flex;
    flex-direction: column;
    /*background-color: #66999d;*/
    background-color: #ceddde;/* to pass web accessibility "AA" */
    margin: 60px 0;
    padding: 60px 0 10px 0;
    align-items: center;
}

.module_links .header {
    padding: 0 20px;
    width: 100%;
}

.module_links .header h2 {
    /*margin: 0 0 40px 0;
    text-align: center;
    font-family: "Proxima Nova Bold", Arial, sans-serif;
    font-size: 48px;*/
    color: #000000;
    /*line-height: 48px;
    font-size: 32.4px;
    line-height: 1.25em;*/
}

.module_links .header h2 span {
    /*font-family: "Oswald Bold", Arial, sans-serif;
    font-size: 16px;
    letter-spacing: 2px;*/
    color: #000000;
    /*text-transform: uppercase;
    margin: 0 0 4px 0;
    display: block;
    line-height: 16px;*/
}

.module_links .links {
    display: flex;
    justify-content: center;
    max-width: 1248px;
    flex-wrap: wrap;
    width: 100%;
}

.module_links .links .wrapper {
    flex-direction: row;
    display: flex;
    /*justify-content: space-around;*/
    justify-content: inherit;
    width: 100%;
    flex-wrap: wrap;
}

.module_links .links .wrapper .link {
    display: flex;
    width: 25%;
    padding: 0 20px;
}

.module_links .links .wrapper .link a {
    font-family: "Proxima Nova Bold", Arial, sans-serif;
    text-transform: uppercase;
    color: #000000;
    background-color: rgba(255,255,255,0.5);
    font-size: 14px;
    line-height: 16px;
    text-decoration: none;
    letter-spacing: 2px;
    padding: 20px 20px;
    text-align: center;
    border: 1px solid #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    margin: 0 0 50px 0;
}

.module_links .links .wrapper .link a i {
    /*margin: 0 0 0 7px;*/
    color: #000000;
}

.module_links .links .wrapper .link a:hover,
.module_links .links .wrapper .link a:focus {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.module_links .links .wrapper .link a:hover i,
.module_links .links .wrapper .link a:focus i {
    color: #ffffff;
}


@media only screen and (max-width: 1280px) {
    .module_links {
        padding-bottom: 20px;
    }
    
    .module_links .links {
        max-width: 100%;
        padding: 0;
    }
    
    .module_links .links .wrapper .link {}
    
    .module_links .links .wrapper .link a {
        margin: 0 0 40px 0;
    }
}

@media only screen and (max-width: 1024px) {
    .module_links .links {}
    
    .module_links .links .wrapper {
        width: 100%;
    }
    
    .module_links .links .wrapper .link {
        width: 50%;
    }
}

@media only screen and (max-width: 767px) {
    .module_links .links {
        max-width: 100%;
    }
    
    .module_links .links .wrapper .link {}
    
    .module_links .links .wrapper .link a {
        min-height: 80px;
    }
}

@media only screen and (max-width: 680px) {
    .module_links .links .wrapper {
        width: 100%;
    }
}

@media only screen and (max-width: 640px) {
    .module_links .links {
        padding: 0;
        max-width: 100%;
    }
}

@media only screen and (max-width: 480px) {
    /*.module_links .header h2 {
        font-size: 40px;
        line-height: 40px;
    }*/
    
    .module_links .links .wrapper {
        flex-direction: column;
        width: 100%;
    }
    
    .module_links .links .wrapper .link {
        padding: 0;
        width: 100%;
    }
    
    .module_links .links .wrapper .link a {
        margin: 0 20px 40px 20px;
    }
}
