.investment .card {
    border: unset;
    overflow: hidden;
    height: 100%;
}

.scale {
    transition: transform 150ms ease-in-out;
}

.scale:hover {
    transform: scale(1.02);
}

.investment:hover .card {
    cursor: pointer;
    box-shadow: 0 0 10px 1px rgba(0,0,0,0.05);
}

.investment .card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: .5rem;
}

.investment .card .card-body .card-text {
    color: #000;
}

.investment .card .card-footer {
    background-color: #FFF;
    border-top: unset;
    padding: 0 1.5rem 1.5rem;
}

.investment .card .thumbnail-overlay {
    background-color: rgba(0,0,0,0);
    transition: all 250ms ease-in-out;
}

.investment .card:hover .thumbnail-overlay {
    background-color: rgba(0,0,0,1);
}

.investment .card .thumbnail {
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    object-position: center;
}

.investment .card .card-title {
    font-weight: 600;
    color: #000;
}

.investment:hover .card .card-title {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.order-results:hover {
    cursor: pointer;
}

.sector-btn {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    background-color: #FFF;
    color: #000;
    overflow: hidden;
    border-radius: 5px;
}


.sector-btn:hover {
    color: var(--e-global-color-primary);
    box-shadow: 0 0 10px 1px rgba(0,0,0,0.05);
}

.sector-btn.nohover:hover {
    color: #000;
    box-shadow: unset;
}

.sector-btn .sector-icon {
    background-color: #FFF;
    border-radius: 5px;
    width: 50px;
    max-height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    height: 50px;
    flex-shrink: 0;
    margin-left: 10px;
}

.sector-btn.small .sector-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.sector-btn.btn-in-card .sector-icon {
    width: 20px;
    height: 20px;
    margin-top: 4px;
    margin-left: 0;
}

.sector-btn .sector-icon img {
    width: 20px;
    height: 20px;
    aspect-ratio: 1;
    object-fit: contain;
    object-position: center;
    /* filter: invert(21%) sepia(70%) saturate(3670%) hue-rotate(345deg) brightness(79%) contrast(89%); */
    margin: auto;
}

.sector-btn .sector-name {
    padding: 0 10px;
    font-weight: normal;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sector-btn.small .sector-name {
    padding: .25rem 1rem;
}

.display {
    display:block;
}

/** INVESTMENT LIST ITEMS **/
ul.investment-list {
    padding-left: 0;
    list-style-type: none;
}

.investment-list li:not(:last-child) {
    margin-bottom: 1.5rem;
}

.investment-list .list-item-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    background-color: #FFF;
    overflow: hidden;
    border-radius: 5px;
    transition: all 150ms ease-in-out;
}

.investment-list .list-item-wrapper:hover {
    cursor: pointer;
    box-shadow: 0 0 10px 1px rgba(0,0,0,0.05);
}

.list-item-thumbnail {
    border-radius: 5px 0 0 5px;
    overflow: hidden;
    flex-shrink: 0;
    max-width: 200px;
    height: auto;
    aspect-ratio: 16/9;
}

.list-item-thumbnail img {
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
    height: 100%;
}

.investment-list .list-item-title {
    display: flex;
    flex-direction: row;
    justify-content:flex-start;
    align-items: flex-start;
    gap: 1rem;
}

.investment-list .idp {
    font-weight: normal;
    font-size: 16px;
    color: #818181;
    margin-bottom: 0;
}

.investment-list .idp:hover {
    color: var(--e-global-color-primary);
    text-decoration: underline;
}

.investment-list .list-item-title .bookmark {
    flex-shrink: 0;
    margin-left: auto;
    padding: 0;
    border: unset;
    background-color: transparent;
    font-size: 16px;
}

.investment-list .list-item-title .bookmark:hover {
    color: var(--e-global-color-primary);
}

.list-item-content {
    background-color: #FFF;
    padding: 1.5rem;
    min-height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-content: space-around;
    gap: 1rem;
}

.list-item-content .title {
    color: #000;
}

.list-item-content .title:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.list-item-content .province {
    color: #404040;
    font-weight: normal;
    font-size: 16px;
}

.list-item-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}


.img-16-9 {
    aspect-ratio: 16/9;
    object-position: center;
    object-fit: cover;
}


.detail-block {
    background-color: #F5F5F5;
    padding: .15rem .75rem;
}

.detail-block .detail-header {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: .5rem;
    margin-bottom: .75rem;
}

.investment-field-icon {
    width: 25px;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    object-position: center;
}

.detail-block .detail-title {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
}

.detail-block .detail-title::after {
    content: "";
    position: absolute;
    left: 0;
    width: 2rem;
    bottom: -.215rem;
    height: 2px;
    background-color: var(--e-global-color-primary);
}

.detail-block .detail-title h6 {
    margin-bottom: unset;
}

.detail-block .detail-title p:last-child {
    margin-bottom: unset;
}

.detail-description {
    color: #000;
    font-size: 16px;
    line-height: 1.5;
    font-weight: normal;
    margin-bottom: 0;
}

.detail-block .detail-content {
    margin-top: .75rem;
}

/** NAV TABS **/
.nav.nav-tabs {
    background-color: #FFF;
    border: unset;
    padding: .75rem .5rem;
}

.nav.nav-tabs .nav-link {
    color: rgba(60,60,60, .4);
    border: unset;
    position: relative;
}

.nav.nav-tabs .nav-link:hover,
.nav.nav-tabs .nav-link.active {
    border:unset;
    color: #000;
}


.nav.nav-tabs .nav-link.active {
    color: rgba(60,60,60,1);
}

.nav.nav-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #000;
}

#investmentTabs {
    justify-content: space-between;
}


/** Documents list **/
.list-document-container {
    padding: 0 .75rem;
}
.list-item-document .doc-wrapper {
    background-color: #E2E1E1;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 5px;
    transition: background-color 150ms ease-in-out;
}

.list-item-document .doc-wrapper:hover {
    background-color: #CCC;
}

.list-item-document .doc-icon {
    flex-shrink: 0;
    flex-grow: 0;
    width: fit-content;
    height: auto;
}
.list-item-document .icon-pdf {
    height: 36px;
    width: auto;
}

.list-item-document .doc-info {
    color: #000;
}

.list-item-document .doc-info .filename {
    font-weight: normal;
    font-size: 16px;
    line-height: 18px;
}

.list-item-document .doc-info .file-description {
    color: inherit;
    font-weight: normal;
    font-size: 14px;
}

.list-item-document .doc-size {
    margin-left: auto;
    flex-grow: 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    align-self: center;
}

.list-item-document .aligned-end {
    margin-left: auto;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

.list-item-document .doc-size .filesize {
    color: #000;
    font-weight: normal;
    font-size: 14px;
    line-height: normal;
    flex-shrink: 0;
    flex-grow: 0;
}

.list-item-document .doc-wrapper hr {
    border: 1px solid #000;
    margin: 0 auto 0 auto !important;
    height: 38px;
    opacity: 1;
}

.list-item-document .doc-download {
    flex-shrink: 0;
    flex-grow: 0;
    width: fit-content;
    height: auto;
}

.list-item-document .doc-download .download-icon {
    height: 20px;
    width: auto;
}
