/*!
Theme Name: Zebra Ben Guide
Theme URI: https://rocgroup.com
Author: ROC Group
Author URI: https://rocgroup.com
Description: Zebra's benefit guide. Version 1.0.0 prepared in 2022 for Annual Enrollment.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: zebra-ben-guide
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Zebra Ben Guide is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/

All default CSS from _underscores has moved to /css/scores.css
*/

/* VARIABLES */
:root {
   /* Fonts */
   --primary-font: Arial, sans-serif;

   /* Colors */
   --blue: #0073e6;
   --light-blue: #cce3fa;

   --purple: #6165e3;

   --green: #78D64B;

   --light-grey: #eeeeee;
   --neutral-grey: #f7f7f7;
   --medium-grey: #cccccc;
   --hero-grey: #f5f5f5;
   --grey: #999999;

   --light-yellow: #FFDB61;
   --yellow: #f6be00;

   --table-hover: #e9e9e9;
   --table-band: #f7f7f7;
}

.light-blue {
    background-color: var(--light-blue);
}

.black {
    background-color: black;
}

.green {
	color: black;
    padding: 1rem;
    border: 3px solid var(--green);
    font-size: 1.25rem;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
input,
.copyright {
    font-family: var(--primary-font);
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
}

h1 {
    font-size: 2.875rem;
    color: black;
    margin: 0;
    line-height: 1.2;
}

#index h1 {
    font-size: 2.875rem;
    color: white;
    margin: 0;
    line-height: 1.2;
}

#index h2 {
    font-size: 2.375rem;
    margin: 0;
}

h2 {
    font-size: 2.375rem;
    color: var(--blue);
    margin-bottom: 0;
    line-height: 1.2;
}

h2:first-of-type {    
    margin-top: 0;
}

#index h3 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.875rem;
    color: black;
    margin-bottom: 0;
}

h4 {
    font-size: 1.625rem;
    color: black;
    margin-bottom: .5rem;
}

#index.search h4:first-of-type {
    margin-top: 0;
}

h5 {
    font-size: 1.375rem;
    text-transform: uppercase;
    color: black;
}

#index h5 {
    margin: 0 0 1rem 0;
    text-transform: none;
}

h2 + p,
h3 + p {
    margin-top: 0;
}

p, li {
    font-size: 1rem;
    color: black;
}

p.first-elem {
    margin-top: 0;
}

p.footnote {
    font-size: .75rem;
}

/* Links */
a {
    transition: .3s;
}

a,
a:visited,
.green a {
	color: black;
}

a:hover,
a:focus,
a:active {
	color: var(--blue);
}

a:hover,
a:active {
	outline: 0;
}

a strong {
    font-weight: 400;
}

.banner-text a:hover {
    background: white;
    text-decoration: none;
}

/* Lists */
li {
    margin-bottom: .5rem;
}

.main-content li {
    color: var(--blue);
}

.main-content li p {
    margin: 0;
}

.main-content li p .note {
    margin-top:1rem;
}

ol:not(.footnote) {
    counter-reset: round-number;
    padding: 0;
}

ol:not(.footnote) > li {
    list-style: none;
    counter-increment: round-number;
    margin-left: 2.5rem;
    display: flex;
    align-items: start;
    margin-bottom: .5rem;
}

ol:not(.footnote) > li::before {
    content: counter(round-number);
    display: inline-table;
    color: white;
    background-color: var(--blue);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    margin-left: -1.5em;
	margin-right: 15px;
	padding: 3px 1.5px 3px 1.5px;
	flex: 0 0 auto;
}

/* HEADER */
header {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 10;
}

.header-grid {
    display: grid;
    grid-template-columns: 20% 1fr;
    width: 80%;
    margin: 1rem auto 0;
}

.logo {
    align-self: end;
    padding-bottom: 10px;
}

.header-right-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.utility-container {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.search-form {
    display: flex;
    border-left: 1px solid black;
    padding-left: 1rem;
}

.search-field,
input[type="search"] {
    background-color: var(--light-grey);
    -webkit-background-color: var(--light-grey);
    -moz-background-color: var(--light-grey);
    color: black!important;
    border: none;
    height: 2rem;
    border-radius: 0;
    padding-left: 6px;
    outline: none;
    outline-offset: 0;
    font-size: .75rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

::placeholder {
    color: black;
}

.search-submit {
    color: black;
    background-color: var(--gray);
    width: 2rem;
    height: 2rem;
    padding: 3px;
    border: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.search-submit:hover {
    cursor: pointer;
}

/* Nav */
.primary-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}
#primary-menu {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

#primary-menu li {
    list-style: none;
    transition: .3s;
    position: relative;
}

#primary-menu a {
    transition: .3s;
    text-decoration: none;
}

#primary-menu li:hover {
    cursor: pointer;
}

#primary-menu > li {
    display: inline-block;
    padding: 10px;
}

#primary-menu > li > a {
    color: black;
    font-weight: 700;
    text-decoration: none;
}

#primary-menu > li:hover,
#primary-menu > li.current-menu-item,
#primary-menu > li.current-menu-ancestor {
    background-color: black;
}

#primary-menu > li:hover > a,
#primary-menu > li.current-menu-item a,
#primary-menu > li.current-menu-ancestor > a {
    color: white;
}

.sub-menu {
    display: none;
}

#primary-menu > li:hover > .sub-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 300px;
    background: #FFFFFF;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
    padding: 1rem;
}

#primary-menu .sub-menu li {
    padding: 10px 0;
    border-bottom: 1px solid var(--accent-grey);
}

#primary-menu .sub-menu a {
    font-weight: 700;
    color: var(--dark-gray);
    padding-left: 1rem;
    border-left: 3px solid transparent;
    display: block;
}

#primary-menu .sub-menu li:hover a {
    border-left: 3px solid var(--light-blue);
}

.menu-utility-container {
    background: var(--light-grey);
    padding: 10px 20px;
}

#utility-menu {
    padding: 0;
    margin:0;
    display: flex;
    gap: 2rem;
}

#utility-menu li {
    list-style: none;
    color: black;
    font-size: .75rem;
	margin: 0;
}

#utility-menu a {
    text-decoration: none;
	transition: .3s;
}

#utility-menu > li:hover > a {
    text-decoration: underline;
}

.mobile-icons {
    display: none;
}

/* Mega Menu */
#primary-menu .mega-menu {
    position: static;
    transition: 0s;
}

#primary-menu .mega-menu:hover {
    background: black;
}

#primary-menu .mega-menu > a {
    transition: 0s;
}

#primary-menu .mega-menu > .sub-menu h3,
#primary-menu .mega-menu > .sub-menu p {
    color: white;
} 

#primary-menu .mega-menu > .sub-menu a p {
    font-weight: 400;
    font-size: 1.25rem;
}

#primary-menu .mega-menu > .sub-menu > li a {
    color: var(--blue);
}

#primary-menu li:nth-child(1).mega-menu > .sub-menu > li > a {
    color: var(--blue);
} 

#primary-menu li:nth-child(2).mega-menu > .sub-menu > li > a {
    color: var(--green);
} 

#primary-menu li:nth-child(3).mega-menu > .sub-menu > li > a {
    color: var(--purple);
} 

#primary-menu li:nth-child(4).mega-menu > .sub-menu > li > a {
    color: var(--yellow);
} 

#primary-menu #menu-item-441 > a {
    color: black;
    display: none;
}

#primary-menu .mega-menu > .sub-menu .sub-menu a {
    color: var(--medium-grey);
    font-weight: 400;
}

#primary-menu .mega-menu:hover > .sub-menu { 
    display: grid;
    width: 100%;
    top: 98px;
    padding: 2rem 10%;
    gap: 1rem;
    box-shadow: none;
    background: black;
}

#primary-menu .mega-menu > .sub-menu > li:hover > a {
    cursor: initial; 
    border-left: 3px solid transparent;
}

#primary-menu .mega-menu > .sub-menu > li:first-child {
    padding-right: 3rem;
}

#primary-menu .mega-menu > .sub-menu > li:first-child a {
    padding-left: 0;
    border-left: 0;
}

#primary-menu .mega-menu > .sub-menu > li:first-child:hover a {
    border-left: 0;
}

#primary-menu .mega-menu > .sub-menu > li:not(:first-child) {
    border-left: 1px solid var(--medium-grey);
}

#primary-menu .mega-menu:hover > .sub-menu .sub-menu {
    display: block;
    padding: 0;
}

#primary-menu .mega-menu:hover > .sub-menu .sub-menu a {
    border-left: 3px solid transparent;
}

#primary-menu .mega-menu:hover > .sub-menu .sub-menu li:hover a {
    color: white;
    border-left: 3px solid white;
}

/* FOOTER */
.main-footer-container {
    width: 80%;
    margin: 0 auto;
}

.main-footer-container * {
    color: white;
}

.main-footer-container h4 {
    margin: 0;
}

.main-footer-container .full-width-row {
    position: relative;
    overflow-y: hidden;
    background: linear-gradient(to bottom, white 8rem, transparent 8rem), linear-gradient(90deg, #00FFFF, #00C9FF, #0099FF);
    z-index: 0;
    padding-bottom: 1rem;
}

.main-footer-grid-wrapper {
    position: absolute;
    background-color: black;
    height: 100%;
    width: 100%;
    transform: skewY(-5deg);
    transform-origin: bottom right;
    z-index: -1;
}

.main-footer-grid {
    display: grid;
    grid-template-columns: 75% 1fr;
    grid-gap: 0 4rem;
    width: 80%;
    margin: 10rem auto 0;
}

.main-footer-grid .right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.main-footer-grid .right img {
    height: 4rem;
    margin-left: auto;
}

.copyright p {
    margin-bottom: 0;
}

footer .footnote,
footer #year {
    color: var(--grey);
}

.disclaimer {
    width: 80%;
    margin: 1rem auto 0;
    border-top: 1px solid var(--grey);
}

/* PAGES */
.page-content {
    width: 80%;
    margin: 0 auto;
}

#index .page-content {
    margin: 2rem auto 0;
}

/* Vimeo Player Overide */
.player .vp-controls {
    display: none!important;
}

.col2-row-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2rem;
    margin: 1.25rem 0;
}

.col4-row-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 2rem;
}

.full-width-container {
    width: 80%;
    margin: 0 auto;
}

.full-width-row {
    margin: 0 -12.5%;
    padding: 4rem 0;
}

.full-width-row .col2-row-grid,
.full-width-row .col4-row-grid {
    width: 80%;
    margin: 0 auto;
}

/* Tables */
.table-wrapper {
	overflow-x: auto;
}

table {
    border-collapse: collapse;
}

thead td,
thead th {
    background-color: var(--blue);
}

thead td:first-of-type {
    background-color: transparent!important;
    border: none;
}

table p {
    margin: 0;
}

.col-4 th {
    width: calc(100% / 4);
}

.col-6 th {
    width: calc(100% / 6);
}

th {
    background-color: var(--medium-blue);
}

th,
th p,
thead td,
thead td p {
    color: white;
}

th,
td {
    border: 1px solid #ccc;
    padding: 1rem;
    text-align: center;
}

td:first-child {
    text-align: left;
    background-color: var(--blue);
    color: white;
}

td:first-child p {
    color: white;
}

.highlight td,
.highlight td:first-child,
.transparent .highlight td,
.transparent .highlight td:first-child {
    background-color: var(--light-blue);
}

.highlight td:first-child p {
    color: black;
}

.highlight-dark td,
.highlight-dark td:first-child {
    background-color: var(--grey);
    color: white;
    font-weight: 700;
}

.align-left td {
    text-align: left;
}

.align-btm {
    vertical-align: bottom;
}

.align-btm > td:first-of-type > p:first-of-type {
    margin-bottom: 1rem;
}

thead td:first-of-type.border {
    border: 1px solid #ccc;
}

/* Left align table content by page */
#life-and-add-insurance td,
#new-hire td,
#tax-advantaged-accounts td {
    text-align: left;
}

table:not(.emp-contributions-post-tax) tr:nth-child(odd):not(.highlight) > td:not(:first-child) {
    background-color: #f7f7f7;
}

tr:hover:not(.highlight) > td:not(:first-child):not(thead td),
table:not(.emp-contributions-post-tax) tr:nth-child(odd):hover:not(.highlight) > td:not(:first-child) {
    background-color: #e9e9e9;
}

/* Generic Table Versions */

/* transparent class on a table makes all td transparent, no hover effect, <th> remains blue */
table.transparent tr:not(.highlight) td,
table.transparent tr:hover:not(.highlight) td {
    background-color: transparent!important;
    color: black;
}

table.transparent td p {
    color: black;
}

/* full-row-band class on a table makes first col td match the rest of the row's background on normal and hover */
table.full-row-band tr:not(.highlight):not(.highlight-dark) td:first-of-type {
    background-color: transparent;
}

table.full-row-band td,
table.full-row-band td p {
    color: black;
}

table.full-row-band:not(.emp-contributions-post-tax) tr:nth-child(odd):not(.highlight):not(.highlight-dark) > td {
    background-color: var(--table-band);
}

table.full-row-band tr:hover:not(.highlight):not(.highlight-dark) td,
table.full-row-band:not(.emp-contributions-post-tax) tr:hover:nth-child(odd):not(.highlight):not(.highlight-dark) > td {
    background-color: var(--table-hover);
} 

/* Specific Table Variations */

/* Medical Plans Page */
.mri-pricing-table td,
.mri-pricing-table tr:hover td,
.mri-pricing-table tr:nth-child(odd) > td:not(:first-child),
.mri-pricing-table tr:hover > td:not(:first-child):not(thead td),
.mri-pricing-table li,
.mri-pricing-table li p {
    background: transparent;
    color: black;
}

.mri-pricing-table td:first-child {
    border-right: none;
}

.mri-pricing-table td:not(:first-child) {
    text-align: right;
    border-left: none;
}

.mri-pricing-table tr:nth-child(1) td,
.mri-pricing-table tr:nth-child(4) td,
.mri-pricing-table tr:nth-child(5) td {
    border-bottom: none;
}

.mri-pricing-table tr:nth-child(2) td,
.mri-pricing-table tr:nth-child(5) td,
.mri-pricing-table tr:nth-child(6) td {
    border-top: none;
}

/* Prescription Drug Benefits Page */
.member-pay-table td:first-child,
.member-pay-table .highlight > td,
.member-pay-table .highlight:hover > td,
.member-pay-table tr:nth-child(odd) > td:not(:first-child),
.member-pay-table tr:hover > td:not(:first-child):not(thead td),
.member-pay-table tr:nth-child(even):not(.highlight) > td,
.member-pay-table tr:nth-child(even):hover:not(.highlight) > td:not(:first-child):not(thead td) {
    background-color: transparent;
}

.member-pay-table td:first-child,
.member-pay-table td:first-child p {
    color: black;
}

.member-pay-table .highlight td {
    border: none;
}

/* Dental and Vision Tables */ 
.dental-plan-table tr:nth-child(odd) > td:not(:first-child),
.dental-plan-table tr:hover > td:not(:first-child):not(thead td),
.dental-basic-plan-table tr:nth-child(odd) > td:not(:first-child),
.dental-basic-plan-table tr:hover > td:not(:first-child):not(thead td),
.quarterly-point-tracking-table tr:hover > td:not(:first-child):not(thead td),
.quarterly-point-tracking-table tr:nth-child(odd) > td {
    background-color: transparent;
}

.dental-plan-table tr:nth-child(odd) > td:nth-child(odd):not(:first-child),
.dental-plan-table td:nth-child(odd):not(:first-child),
.dental-plan-table tr:hover > td:nth-child(odd):not(:first-child),
.dental-basic-plan-table tr:nth-child(odd) > td:nth-child(odd):not(:first-child),
.dental-basic-plan-table td:nth-child(odd):not(:first-child),
.dental-basic-plan-table tr:hover > td:nth-child(odd):not(:first-child) {
    background-color: #f7f7f7;
}

.eyemed-coverage-table td:first-child,
.eyemed-coverage-table td:first-child p,
.quarterly-point-tracking-table td:first-child,
.quarterly-point-tracking-table td:first-child p {
    background-color: transparent;
    color: black;
}

.eyemed-coverage-table tr:nth-child(odd) > td {
    background-color: #f7f7f7;
}

.eyemed-coverage-table tr:hover > td:nth-child(odd) {
    background-color: #e9e9e9;
} 

/* HSA Page */
.hsa-contibution-limit tr:nth-of-type(odd) td:nth-child(4),
.hsa-contibution-limit tr:nth-of-type(even) td:nth-child(3),
.hsa-contibution-limit tr:nth-of-type(odd) td:nth-child(6),
.hsa-contibution-limit tr:nth-of-type(even) td:nth-child(5) {
    border-left: none;
}

.hsa-contibution-limit tr:nth-of-type(odd) td:nth-child(3),
.hsa-contibution-limit tr:nth-of-type(even) td:nth-child(2),
.hsa-contibution-limit tr:nth-of-type(odd) td:nth-child(5),
.hsa-contibution-limit tr:nth-of-type(even) td:nth-child(4) {
    border-right: none;
}

/* Employee Contributions */
.employee-contributtions-2023-table td {
    width: 25%;
}

/* Front Page Tempalte */
#index .hero-container {
    position: relative;
    min-height: 576px;
    background-position: 100% center;
    background-repeat: no-repeat;
    overflow: hidden;
    border: none;
    background-color: white;
}

#index.search .hero-container {
    min-height: 350px;
}

#index .hero-wrapper {
    position: absolute;
    min-height: 576px;
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    transform: skewY(-5deg);
    transform-origin: top left;
}

.hero-text-container,
#index.search .hero-text-container {
    width: 80%;
	min-height: 350px;
	margin: 0 auto;
    display: grid;
    align-items: center;
	grid-template-columns: 1fr 1fr;
	grid-gap: 4rem;
}

#index .hero-text-container {
    background-color: transparent;
    background-image: url('/wp-content/uploads/gradient-top.svg');
    background-position: left top;
    background-size: 60% 10%;
    background-repeat: no-repeat;
    min-height: 576px;
    display: flex;
    align-items: center;
    position: absolute;
    width: 100%;
    
}

#index .hero-text {
    padding: 4rem 4rem 4rem 10%;
    width: 35%;
    clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 60% 100%, 0% 100%);
    background: var(--blue);
}

#index.search .hero-text {
    width: 75%;
}

#index .hero-text p {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.annual-enrollment {
    padding: 0;
}

.annual-enrollment img {
    display: block;
    height: 100%;
}

#index .annual-enrollment h2 {
    color: black;
    margin-bottom: 1.25rem;
}

#index .annual-enrollment h5 {
    font-weight: 500;
}

.whats-new h2 {
    color: black;
    margin-top: 0;
}

.whats-new-grid {
    display: grid;
    width: 75%;
    margin: 2rem auto 0;
    grid-gap: 3rem;
    grid-template-columns: repeat(2, 1fr);
}

.new-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.new-item h4 {
    margin-top: 0;
}

.new-item p {
    margin: 0;
}

.new-item a {
    color: var(--light-blue);
    font-weight: 700;
}

.new-item::before {
    content: url('/wp-content/uploads/icon_FPO.svg');
    width: 44px;
}

.new-item-inner {
    border-left:1px solid var(--blue);
    padding-left: 1rem;
}

.new-item.voluntary-life:before {
    content: url('/wp-content/uploads/icon_voluntary-life.svg');
    width: 44px;
}

.new-item.higher-fsa:before {
    content: url('/wp-content/uploads/icon_fsa-hsa.svg');
    width: 44px;
}

.new-item.vision:before {
    content: url('/wp-content/uploads/icon_vision-benefits.svg');
    width: 44px;
}

.new-item.travel:before {
    content: url('/wp-content/uploads/icon_travel-benefits.svg');
    width: 44px;
}

#index .whats-new h5 {
    margin-top: 2rem
}

.whats-new h5:before {
    content: '';
    background: url(/wp-content/uploads/icon_learn-more.svg);
    height: 2rem;
    width: 2rem;
    margin-right: 1rem;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

.center-flex-wrapper {
    display: flex;
    height: 100%;
    width: 100%;
    flex-direction: column;
    justify-content: center;
}

/* FAQ */
.faq {
    position: relative;
    overflow-y: hidden;
    background: linear-gradient(to bottom, white 8rem, transparent 8rem), linear-gradient(90deg,  #00FFFF, #00C9FF, #0099FF);
    z-index: 0;
}

.faq-wrapper {
    position: absolute;
    background-color: black;
    height: 100%;
    width: 100%;
    transform: skewY(-5deg);
    transform-origin: bottom right;
    z-index: -1;
}

.faq-grid {
	display: grid;
	grid-template-columns: 60% 1fr;
	grid-gap: 0 4rem;
    width: 80%;
	margin: 10rem auto 0;
}

.faq h4,
.faq p {
    color: white;
}

/********** Toggle Sections **********/
.toggle-label {
	transition: .3s;
	padding: 1rem 0;
	border-bottom: 1px solid white;
	color: white;
	font-family: var(--primary-font);
    font-weight: 600;
 }
 
 .toggle-label:after {
	content:  "\002b";
	padding: 0 8px 1px;
	margin-left: 1rem;
	transition: .3s;
	color: black;
	background-color: white;
	border-radius: 50%;
	float: right;
 }
 
 .toggle-label.toggle-close:after {
	transform: rotate(45deg);
	background-color: white;
 }

.toggle-label:hover {
	border-bottom: 1px solid white;
}

 .toggle-label:hover:after {
	 background-color: white;
 }
 
 .toggle-label.toggle-close {
	margin-bottom: 1rem;
	border-bottom: 0;
 }
 
 .toggle-label:hover {
	cursor: pointer;
 }
 
 .toggle-content {
	display: none;
	margin-bottom: 1rem;
    padding-bottom: 1rem;
 }
 
 .toggle-content:last {
	margin-bottom: 3em;
 }
 
 .toggle-content ul {
	margin-left: 1em;
 }

 .toggle-content p,
 .toggle-content li {
	 color: white;
 }

 .toggle-label.toggle-close ~ .toggle-content {
	 border-bottom: 1px solid white;
 }

/* Main Page Template */
.hero-container {
    position: relative;
    min-height: 350px;
    background-position: 100% center;
    background-repeat: no-repeat;
    background-size: auto 100%;
	background-color: var(--hero-grey);
}

.hero-text-wrapper p {
    color: black;
    line-height: 2;
    font-size: 1.5rem;
}

.hero-text {
	align-self: center;
}

.hero-text p {
	margin: 0;
}

.hero-img-container {
    position: relative;
	margin-left: auto;
}

.hero-img-container img {
    display: block;
	max-width: none;
}

.hero-img-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom:0;
    right: 0;
    background-image: url("/wp-content/uploads/gradient-bottom.svg");
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 100% 10%;
}

.content-grid {
    display: grid;
    grid-template-columns: 65% 1fr;
    grid-gap: 4rem;
    margin: 4rem 0;
}

.right-sidebar-wrapper {
    padding-left: 2rem;
}

.contacts p:last-of-type {
    margin-bottom: 0;
}

.contacts,
.links {
    margin-bottom: 1rem;
}

.contact-callout-container {
    background-color: var(--hero-grey);
    padding: 1rem;
}

.contact-callout-container::before {
    content: "";
    background-image: url('/wp-content/uploads/icon_computer.svg');
    width: 3rem;
    height: 3rem;
    margin-right: 1rem;
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
}

.contact-callout {
    margin-left: 5rem;
}

.contact-callout p {
    margin: 0;
}

.contact-callout a,
.contact-callout a:hover {
    text-decoration: none;
    color: var(--blue);
}

.right-sidebar h4 {
    margin-top: 0;
    line-height: 1.2;
}

.sidebar-btn {
    background: var(--light-yellow);
    padding: 8px 20px;
    transition: .3s;
    display: inline-block;
    font-weight: 700;
    color: black;
    text-decoration: none;
}

.sidebar-btn:hover {
    background: var(--yellow);
    color: black;
}

.sidebar-links {
    margin-bottom: 2rem;
}

/* Contacts Template */
.contact-heading {
    display: flex;
    gap: .5rem;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-heading img {
    width: 4rem;
}

.contact-heading h3 {
    margin: 0;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2rem;
    margin-bottom: 4rem;
}

.contact-tile {
    padding: 3rem;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-tile h4 {
    margin: 0;
}

.contact-tile p {
    margin: 0;
}

.benefit {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-blue);
}

.contact-btm-container {
    background-color: var(--pale-blue);
    padding: .5rem;
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.contact-btm-container img {
    transition: .3s;
    width: 3rem;
}

.contact-btm-container img:hover {
    transform: scale(1.2);
}

/* Dental Page */
#dental tr:nth-child(1) td:first-child {
    width: 60%;
}
/* Community Involvement Page */
.gives-logo {
    width: 25%;
}

/* Tabs */
.tabs {
    margin-top: 1rem;
}

#tabs-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

#employee-assistance-program #tabs-nav {
    display: grid;
    grid-template-columns: repeat(5, 20%);
}

#employee-assistance-program #tabs-nav li {
    padding: .5rem 1rem;
    margin: 0;
}

#tabs-nav li {
display: inline-block;
  padding: 1rem 6rem;
  border:  1px solid white;
  background-color: var(--grey);
  text-align: center;
  transition: .3s;
}

#tabs-nav li:not(:last-of-type) {
    margin-right: 1rem;
}

#tabs-nav li:hover,
#tabs-nav .active {
  background-color: var(--blue);
  cursor: pointer;
}

#tabs-nav li a {
  text-decoration: none;
  font-size: 1.5rem;
  color: white;
}

/*Tabbed Tables*/
table.tab th:nth-child(n+3),
table.tab td:nth-child(n+3) {
	display: none;
}

table.tab th:first-child {
	width: 50%;
    background-color: transparent;
    border: none;
}

.table-tab {
	display: inline-block;
	border:  1px solid black;
	padding:  10px;
	margin:  0 1em 1em 0;
    transition: .3s;
}

.table-tab:hover {
	cursor: pointer;
}

.table-tab:hover,
.table-tab.active {
    background-color: var(--blue);
    color: white;
}

/*whole-life-table*/
.whole-life-table tbody td:nth-of-type(2) p {
	text-align: left;
}

.contacts-table tbody tr:nth-of-type(3) td:nth-of-type(1) {
	text-align: center;
}

.contact-wrapper p {
	font-size: .8rem;
}

/*vision-care-service-table*/
.vision-care-service-table tbody tr:nth-of-type(2) td:nth-of-type(2), .vision-care-service-table tbody tr:nth-of-type(2) td:nth-of-type(3) {
	vertical-align: bottom;
}

/* Search Results Template */
.search-grid {
    display: grid;
    grid-template-columns: 65% 1fr;
    grid-gap: 4rem;
    margin: 4rem 0;
    min-height: calc(100vh - 348px);
}

.pdf-resources-wrapper {
    border-left: 1px solid var(--medium-grey);
    padding-left: 2rem;
}

.pdf-resources-wrapper:before {
    content: "Resources";
    display: block;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-family: var(--primary-font);
    line-height: 1.2;
    font-size: 1.625rem;
    font-weight: 700;
    color: black;
}

.pdf-resources li {
    color: var(--accent-blue);
}

/* EAP Page */
#employee-assistance-program .tab-content {
    padding-top: 1rem;
}

.eap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2rem
}

.eap-grid p {
    margin: 0;
}

/*Home Tiles*/
.light-blue.benefits {
    background-image: linear-gradient(to bottom, var(--light-blue) 40%, transparent 40%);
    background-color: transparent;
}

.benefits > h2,
.benefits > p {
    text-align: center;
}

.benefits > p {
    width: 60%;
    margin: 0 auto 2rem;
}

.home-tile {
    background: var(--neutral-grey);
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--blue);
}

#index .home-tile h3 {
    font-size: 2rem;
    margin: 0;
    width: 60%;
}

.home-tile h3:after {
    content: "";
    width: 25%;
    height: 5px;
    background-color: var(--blue);
    display: block;
    margin-top: 1rem;
}

#index .home-tile h4 {
    font-size: 1.5rem;
    font-weight: 400;
}

.home-tile .cta-btn {
    background: var(--blue);
    color: white;
    margin-top: auto;
    width: 50%;
    text-align: center;
    font-weight: 700;
}

.home-tile .cta-btn a,
.home-tile .cta-btn a:hover {
    color: inherit;
    text-decoration: none;
    display: block;
    padding: 5px 10px;
}

.home-tile .cta-btn:hover {
    cursor: pointer;
}

.home-tile:nth-child(2) {
    border-bottom: 1px solid var(--green);
}

.home-tile:nth-child(2) h3:after {
    background-color: var(--green);
}

.home-tile:nth-child(2) .cta-btn {
    background-color: var(--green);
    color: black;
}

.home-tile:nth-child(3) {
    border-bottom: 1px solid var(--purple);
}

.home-tile:nth-child(3) h3:after,
.home-tile:nth-child(3) .cta-btn  {
    background-color: var(--purple);
}

.home-tile:nth-child(4) {
    border-bottom: 1px solid var(--yellow);
}

.home-tile:nth-child(4) h3:after,
.home-tile:nth-child(4) .cta-btn  {
    background-color: var(--yellow);
}

.home-tile:nth-child(4) .cta-btn {
    color: black;
}

.home-footnote {
    text-align: center;
    margin: 0;
}


/************************************************************************/
/****************************** RESPONSIVE ******************************/
/************************************************************************/
@media only screen and (max-width: 1024px) {
    .primary-container {
        justify-content: flex-end;
    }

    .mobile-icons {
        display: block;
        margin: 0 1rem;
    }

    .header-grid {
        width: 90%;
        padding-bottom: 0;
    }

    #index .hero-wrapper {
        background-size: 135%;
    }

    .print {
        display: none;
    }

    nav {
        display: none;
        padding: 2rem;
        background-color: black;
        position: absolute;
        left: 0;
        top: 7.5rem;
        width: 100vw;
        box-shadow: 1px 1px 4px var(--gray);
        max-height: 80vh;
        overflow-x: auto;
    }

    #primary-menu {
        flex-direction: column!important;
    }

    #primary-menu h3 {
        display: none!important;
    }

    #primary-menu > li > a {
        color: white;
        font-size: 2.5rem;
    }

    #primary-menu .sub-menu li {
        padding: 0;
    }

    nav .sub-menu {
        display: block;
        padding: 0;
    }

    /**********************************************************************************************************************/

/* MOBILE Mega Menu */
#primary-menu * {
    display: block!important;
    
}

#primary-menu .mega-menu:hover > .sub-menu { 
    display: block;
    padding: 0;
}

#primary-menu > li:hover > .sub-menu {
    position: static;
}

#primary-menu .mega-menu > .sub-menu > li:first-child {
    padding-right: 0;
}

#primary-menu .sub-menu a,
#primary-menu .mega-menu > .sub-menu > li:hover > a,
#primary-menu .mega-menu:hover > .sub-menu .sub-menu a,
#primary-menu .mega-menu:hover > .sub-menu .sub-menu li:hover a {
    border-left: none;
}

   /***********************************************************************************************************************/

    #index .hero-container {
       background-position: left center;
    }

    #index .hero-text {
        padding: 4rem 4rem 4rem 5%;
    }
  
    .full-width-row {
        margin: 0 -2rem;
    }

    .main-footer-container {
        width: 100%;
    }

    .main-footer-container .full-width-row {
        background: linear-gradient(to bottom, white 2rem, transparent 2rem), linear-gradient(90deg, #00FFFF, #00C9FF, #0099FF);
        padding: 0;
        margin: 0;
    }

    .page-content,
    .socket-container {
        width: 100%;
        padding: 2rem;
    }

    .benefits-for-all > .flag {
        width: 50%;
        margin: 6rem 0 2rem 0;
    }

    #contacts .content-grid {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 980px) {
    .hero-text-container {
        position: relative;
        background-size: 0%, 50% 100%;
        background-position: center, 100%;
    }

    #index .hero-wrapper {
        background-size: 170%;
        background-position: 25% 40%;
    }

    #index .hero-container {
       background-position: 80% center;
    }

    .hero-text {
        width: 100%;
    }

    #index .hero-text {
        width: 60%;
    }

    .annual-enrollment img {
        height: auto;
    }

    .header-grid {
        width: 100%;
        padding: .5rem 2rem;
    }

    .page-content {
        margin: 0 auto;
    }

    .page-content,
    .full-width-container,
    .socket-container {
        width: 100%;
        padding: 2rem;
    }

    #index .page-content {
        margin-top: 0;
        padding-top: 0;
    }

    #index.search .search-grid {
       grid-template-columns: 1fr;
   }

    .content-grid {
        grid-template-columns: 100%;
        margin: 0;
    }

    .full-width-row {
        padding: 2rem;
    }

    .annual-enrollment .col2-row-grid {
        grid-template-columns: 1fr;
    }

    .whats-new {
        padding: 2rem 3rem;
    }

    .whats-new-grid {
        width: auto;
    }

    .whats-new .new-item {
        text-align: left;
    }

    .benefit-for-all-grid {
        grid-template-columns: 1fr;
    }

    .benefits-for-all > .flag {
        margin: 6rem 0 2rem -2rem;
        width: 50%;
        padding: 1rem 4rem;
    }

    #important-note .hero-container, 
    #legal-notices .hero-container, 
    #contacts .hero-container, 
    #index.search .hero-container,
    #important-note .hero-text-container, 
    #legal-notices .hero-text-container, 
    #contacts .hero-text-container, 
    #index.search .hero-text-container { 
        height: auto;
    }
    
    #important-note .hero-text, 
    #legal-notices .hero-text, 
    #contacts .hero-text, 
    #index.search .hero-text {
        margin-top: 0;
    }

    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .socket-container {
        flex-direction: column;
        gap: .5rem;
    }
}

@media only screen and (max-width:479px) {
    .header-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .hero-text-container, 
    #index.search .hero-text-container {
        width: 100%;
        grid-template-columns: 100%;
        overflow: hidden;
        grid-gap: 1rem;
    }

    .hero-text,
    #index .hero-text {
        padding: 1rem;
    }

    #index .hero-text {
        width: 100%;
        margin-top: 8rem;
    }

    #index .hero-wrapper {
        background-position: 25% 5%;
    }

    .new-item:before {
        margin-right: 10px;
    }

    .utility-container {
        justify-content: flex-start;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .search-form,
    .search-field {
       width: 100%;
    }

    nav {
        top: 15rem;
        max-height: 60vh;
    }

    #index .page-content {
       margin-top: 2rem;
   }

   #index.search .page-content {
       margin-top: 0;
   }

    .full-width-row {
        margin: 0 -1rem;
    }

    .page-content, 
    .full-width-container, 
    .socket-container {
        padding: 1rem;
    }

    .full-width-container,
    .benefits-for-all {
        padding: 0;
    }

    .benefits-for-all {
        background-image: none!important;
    }

    .benefits-for-all > .flag {
        margin: 0 0 2rem;
        width: 100%;   
    }

    .col2-row-grid,
    .whats-new-grid,
    .main-footer-grid {
        grid-template-columns: 1fr;
        grid-gap: 2rem;
    }

    .annual-enrollment {
        padding: 0;
    }

    .annual-enrollment .col2-row-grid {
        width: 90%;
    }

    .whats-new {
        padding: 5%;
    }

    #index h2,
    .footer-contact-container h4  {
        line-height: 1.2;
    }

    .footer-logo {
        text-align: center;
    }

    .jabil-experience {
        flex-direction: column;
    }

    .main-footer-container .full-width-row {
        background: linear-gradient(to bottom, white 0rem, transparent 0rem), linear-gradient(90deg, #00FFFF, #00C9FF, #0099FF);
        padding: 0;
        margin: 0;
    }

    .main-footer-grid {
        margin: 5rem auto 0;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }

    #contacts .content-grid {
        grid-template-columns: 100%;
    }

    .main-footer-grid .right img {
        align-self: start;
        margin-left: 0;
    }

    .exit-pop-up-content {
        width: 90%;
    }
} 