#home {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    max-width: 1200px;
    /* min-height: 500px; */
}

/***** Column One *****/

.column-one-flex {
    display: flex;
    flex-direction: column;
    width: 285px;
    /* background-color: aquamarine; */
}

.column-one-flex-item {
    position: relative;
    height: 240px;
    cursor: pointer;
    border: solid 1px #ccc;
}

.column-one-flex-item:nth-child(2) {
    margin-top: 10px;
    margin-bottom: 10px;
}

.img-your-health {
    background: url(/Images/BK-Your-Health-11162022.jpg) no-repeat center bottom;
    background-size: cover;
}

.img-your-future {
    background: url(/Images/BK-Retirement-11162022.jpg) no-repeat center bottom;
    background-size: cover;
}

.img-your-peace-of-mind {
    background: url(/Images/BK-Your-Peace-Of-Mind-11162022.jpg) no-repeat center bottom;
    background-size: cover;
}

.overlay {
    position: relative;
    /* background-color: rgba(255, 255, 255, .8); */
    height: 100%;
    overflow: hidden;
    background-color: #fff;
    opacity: 0;
}

.column-one-flex-item h3,
.column-two-flex-item h3 {
    position: absolute;
    /* margin: 0 20px; */
    padding: 3px;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
    width: 70%;
    bottom: 0.5%;
    left: 15%;
    font-size: 1em;
    color: #333;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 100;
}

.nav-list {
    position: absolute;
    top: 10px;
    left: 0;
    list-style-type: none;
    list-style-position: outside;
    /* list-style-image: url(/Images/Icon-Link-Blue-Arrow.png); */
    font-size: 0.8em;
    display: none;
    /* display:block; */
}

.nav-list li a {
    display: block;
    margin: 0 !important;
    padding: 2px 0;
    text-decoration: none;
}

.nav-list li a:link,
.nav-list li a:visited {
    color: #333;
}

.nav-list li a:hover {
    color: #0061ab;
}

/***** End Column One *****/

/***** Column Two *****/

.column-two-flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0 10px;
    width: 600px;
    /* width:52%; */
    /* background-color: #ccc; */
}

.column-two-flex-item {
    position: relative;
    /* width:100%;
    height:100%; */
    border: solid 1px #ccc;
    /* background-color: green; */
}

#benefit-elections,
#qe-nh-benefits,
#casuals-interns-coops,
#np-employees,
#tax-savings,
#top-5 {
    width: 285px;
    height: 240px;
    cursor: pointer;
}

#benefit-elections,
#np-employees {
    margin-right: 5px;
}

#qe-nh-benefits,
#tax-savings,
#top-5 {
    margin-left: 5px;
}

#carousel {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 580px;
    height: 240px;
}

.carousel-caption {
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    background-color: rgba(0, 51, 153, 0.7);
}

.carousel-placeholder {
    width: 100%;
    height: 240px;
}

#top-5 {
    background: url(/Images/BK-Top-Links-02202018.jpg) no-repeat center right;
    background-size: cover;
}

#tax-savings {
    background: url(/Images/BK-Your-Future-11162022.jpg) no-repeat center center;
    background-size: cover;
}

#np-employees {
    background: url(/Images/BK-New-Hires-11162022.jpg) no-repeat center center;
    background-size: cover;
}

#casuals-interns-coops {
    background: url(/Images/BK-Interns-11162022.jpg) no-repeat center center;
    background-size: cover;
}

#benefit-elections {
    background: url(/Images/BK-Your-Benefit-Elections-11162022.jpg) no-repeat center center;
    background-size: cover;
}

/***** End Column Two *****/
.column-third-flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    /* align-content: space-between; */
    /* justify-content: center; */
    width: 265px;
    /* background-color: blueviolet; */
}

.column-third-flex-item {
    margin-bottom: 10px;
    padding: 10px;
    text-align: center;
    width: 127px;
    height: 150px;
    border: solid 1px #ccc;
}

.column-third-flex-item:nth-child(odd) {
    margin-right: 5px;
}

.column-third-flex-item:nth-child(even) {
    margin-left: 6px;
}

.column-third-flex-item h3 {
    margin: 10px 0 0 0;
    color: #fff;
    font-size: 0.6em;
    text-transform: uppercase;
}

/***** Media Query *****/

@media screen and (max-width: 1193px) {
    #home {
        flex-wrap: wrap;
        width: 100%;
        /* background-color:red; */
    }

    .column-one-flex {
        width: 32%;
    }

    .column-two-flex {
        padding-right: 0;
        width: 68%;
        /* background-color:green; */
    }

    #top-5,
    #np-employees,
    #tax-savings,
    #benefit-elections {
        width: 49%;
    }

    #carousel {
        width: 100%;
    }

    .column-third-flex {
        margin-top: 10px;
        width: 100%;
        justify-content: space-evenly;
    }

    .column-third-flex-item {
        margin: 0 0 10px 0 !important;
    }
}

@media screen and (max-width: 769px) {
    #alt-menu {
        top: 10px !important;
        right: 4% !important;
        display: block;
    }

    #menu-panel {
        top: 10px !important;
    }

    .column-one-flex,
    .column-third-flex {
        display: none;
    }

    .column-two-flex {
        position: relative;
        padding-right: 10px;
        width: 100%;
        /* background-color:green; */
    }

    #top-5,
    #np-employees,
    #tax-savigs,
    #benefit-elections {
        width: 49%;
    }

    #top-5,
    #tax-savigs,
    #benefit-elections,
    #np-employees {
        margin-bottom: 10px;
    }

    #carousel {
        width: 100%;
        height: 300px;
        order: -1;
    }
    .carousel-placeholder {
        height: 300px;
    }
}

@media screen and (max-width: 541px) {
    #top-5,
    #qe-nh-benefits,
    #relocation,
    #np-employees,
    #tax-savings,
    #benefit-elections {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    #tax-savings,
    #np-employees {
        margin-bottom: 10px;
    }
}

/***** End Media Query *****/
