﻿#public-home-navbox-container {
    display: flex;
}

.public-hp-toplevelContentContainer {
    max-width: 1400px !important;
    margin: auto;
}

.public-hp-box {
    width: 360px !important;
    height: 360px !important;
    box-sizing: border-box;
    background: #EDF5FA 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    opacity: 1;
    margin-right: 30px;
    float: left;
    overflow: visible !important;
}

/* Special height for HHI box with two sections */
#public-hp-hhibox {
    height: 360px !important;
}

#homePageContent {
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

#public-hp-welcome, #public-hp-welcome p {
    margin-top: 40px;
    text-align: left;
    font: normal normal normal 18px/26px Roboto;
    letter-spacing: 0px;
    color: #000000;
}


#homePageContent .public-hp-box:last-of-type {
    margin-right: 0px !important;
}


.public-hp-box a {
    text-decoration: none;
}

/* Link styling for Institution and Market boxes */
.public-hp-box-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000000;
    cursor: pointer;
    position: relative;
    padding-right: 50px;
    height: 100%;
    overflow: visible;
}

.public-hp-box-link:hover {
    text-decoration: none;
    background-color: rgba(0, 110, 149, 0.05);
    transition: background-color 0.2s ease;
}

/* Chevron styling - ONLY for home page links */
.public-hp-box-link .link-chevron,
.hhi-section .link-chevron {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #000000 !important;
    font-size: 24px !important;
    font-weight: 100 !important;
    opacity: 0.6 !important;
    display: inline-block !important;
    visibility: visible !important;
    z-index: 10 !important;
}

/* Force the chevron icon content to appear */
.public-hp-box-link .link-chevron::before,
.hhi-section .link-chevron::before {
    content: var(--fa) !important;
    font-family: "Font Awesome 7 Free" !important;
    font-weight: 900 !important;
}

.public-hp-box a:hover .headerTitle {
    text-decoration: none;
}

.public-hp-box-link:hover {
    text-decoration: none;
}

.public-hp-box .public-hp-box-header {
    height: 71px !important;
    color: #FFFFFF !important;
    padding: 25px 20px 0px 20px;
    font: normal normal bold 18px/22px Roboto;
    position: relative;
}

.public-hp-box .public-hp-box-header .headerTitle {
    position: absolute;
    top: 23px;
    font: normal normal bold 18px/22px Roboto;
}

.public-hp-box .public-hp-box-header .headerTitle.twoLine {
    top: 14px !important;
    line-height: 22px !important;
    font: normal normal bold 18px/22px Roboto;
}

.public-hp-box .public-hp-box-header .headerArrow {
    position: absolute;
    top: 32px;
    font-size: 14px !important;
    font-weight: 100 !important;
    right: 20px;
    display: none;
}

.public-hp-box .public-hp-box-content {
    padding: 20px 20px 20px 20px;
    text-align: left;
    font: normal normal normal 16px/24px Roboto;
    letter-spacing: 0px;
    color: #000000;
    opacity: 1;
    transition: background-color 0.2s ease;
    position: relative;
    overflow: visible !important;
}

.public-hp-box a:hover  {
    text-decoration: none !important;
    color: #000000;
}

#public-hp-instbox .public-hp-box-header {
    background-color: #617F58;
}

#public-hp-marketbox .public-hp-box-header {
    background-color: #D16500;
}

#public-hp-hhibox .public-hp-box-header {
    background-color: #006E95;
}

/* HHI box specific styles for two-section layout */
#public-hp-hhibox .public-hp-box-header {
    height: 71px !important;
    padding: 25px 20px 0px 20px;
}

#public-hp-hhibox .public-hp-box-header .headerTitle {
    top: 23px;
}

#public-hp-hhibox .public-hp-box-content {
    padding: 10px 20px 12px 20px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 71px);
    overflow: hidden;
    box-sizing: border-box;
}

.hhi-section-link {
    display: block;
    text-decoration: none;
    color: #000000;
    cursor: pointer;
    padding: 0;
    margin: 0;
    flex: 1;
    overflow: hidden;
}

.hhi-section-link:hover {
    background-color: rgba(0, 110, 149, 0.05);
    transition: background-color 0.2s ease;
}

.hhi-section {
    padding: 10px 60px 10px 0;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hhi-section:first-child {
    border-bottom: 1px solid #999999;
    padding-bottom: 11px;
}

.hhi-section:last-child {
    padding-top: 11px;
    border-bottom: none;
}

.hhi-section .link-chevron {
    top: 50%;
    transform: translateY(-50%);
}

.hhi-section-title {
    font: normal normal bold 16px/22px Roboto;
    color: #000000;
    margin-bottom: 8px;
}

.hhi-section-description {
    font: normal normal normal 16px/24px Roboto;
    color: #000000;
}

.hhi-section-link:hover .hhi-section-title {
    text-decoration: none;
}

#hpNewsLinks {
    padding: 35px 0px 65px 100px;
    border-top: 1px solid #C6DEEB;
    background-image: url("/images/newspapericon.svg");
    background-repeat: no-repeat;
    background-position: 0px 40px;
    background-size: 59px 47px;
    color: #000000;
}
#NewsLink span {
    color: #000000 !important;
}
.NewsLink:hover {
    color: #000000 !important;
    text-decoration: underline !important;
    cursor: pointer;
}
