﻿.nav-quick-links {
    text-align: center;
    padding: 28px 0 35px;
    position: relative;
    background: #E9F0F5;
}

.nav-quick-links .card {
    border-style: solid;
    border-width: 5px 0 0 0;
    padding: 25px 20px;
    background: #fff;
    overflow: hidden;
    border-radius: 4px;
}

.card.card--blue-top-light {
    border-color: #0092CB;
    margin: 0 -12px;
}

.nav-quick-links .nav-item {
    float: left;
    padding: 10px 12px;
    position: relative;
    min-height: 150px;
    text-decoration: none;
    color: #061B2B;
    width: 50%;
    border-radius: 4px;
}

.nav-quick-links .nav-item:after {
    content: '';
    position: absolute;
    width: 1px;
    height: 40px;
    background: #0092CB;
    right: 0;
    top: 50%;
    margin-top: -20px;
}

.nav-quick-links .nav-item:nth-of-type(2n):after {
    content: none;
}

.nav-quick-links .nav-item:hover .contentbg,
.nav-quick-links .nav-item:focus .contentbg {
    opacity: 1;
}

.nav-quick-links .nav-item .contentbg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 1;
    border-radius: 4px;
    background: #061B2B;
}

.nav-quick-links .nav-item:nth-of-type(odd) {
    clear: both;
}

.nav-quick-links .nav-item:hover,
.nav-quick-links .nav-item:focus,
.nav-quick-links .nav-item:hover p,
.nav-quick-links .nav-item:focus p{
    color: #fff;
}

.nav-quick-links .icon-quick {
    font-size: 2.7em;
    margin: 20px auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 9;
    position: relative;
}

.nav-quick-links .readLatestNewsNotesIcon {
    width: 24px;
    height: 24px;
    background-image: url("/Assets/img/readLatestNewsIcon.svg");
}

.nav-quick-links .icon-careers {
    background-image: url("../img/careerIcon.png");
    width: 30px;
    height: 30px;
}

.nav-quick-links .nav-item:hover .readLatestNewsNotesIcon,
.nav-quick-links .nav-item:focus .readLatestNewsNotesIcon,
.nav-quick-links .nav-item:hover .icon-careers,
.nav-quick-links .nav-item:focus .icon-careers {
    filter: invert(1);
}

.nav-quick-links .readLatestNewsNotesIcon::before,
.nav-quick-links .icon-careers::before {
    display: none;
}

.nav-quick-links p {
    margin: 0;
    letter-spacing: 0.35px;
    padding: 0 10px;
    font-size: 1.4em;
    font-weight: 400;
    min-height: 40px;
    position: relative;
    z-index: 9;
}

@media screen and (min-width: 450px) {
    .nav-quick-links p {
        font-size: 1.6em;
    }
}

@media (min-width: 48em) {

    .nav-quick-links .nav-item {
        width: 33.333333%;
        padding: 20px 10px;
        display: table;
        min-height: 170px;
    }

    .nav-quick-links .nav-item:nth-of-type(odd) {
        clear: none;
    }

    .nav-quick-links .nav-item:nth-of-type(2n):after {
        content: "";
    }

    .nav-quick-links .nav-item:nth-of-type(3n):after {
        content: none;
    }

    .nav-quick-links .nav-item .content {
        display: table-cell;
        vertical-align: middle;
        position: relative;
        z-index: 2;
    }
}

@media (min-width: 64.0625em) {
    .nav-quick-links .nav-item {
        width: 16.666666667%;
    }

    .nav-quick-links .nav-item:nth-of-type(3n):after {
        content: "";
    }

    .nav-quick-links .nav-item:last-of-type:after{
        content: none;
    }
}
