/* ======= Investor Relations Css Start ======= */

/* ------- Header: Investor Relations dropdown in the top bar ------- */
/* The top bar forces its padding and hover marker onto every nested li, so undo that for the dropdown items. */
.mainlinks .topHeader .dropdown-menu li {
    padding-top: 0 !important;
}
.mainlinks .topHeader .dropdown-menu li::before {
    display: none;
}
/* Keep "Board of Directors" etc. as written instead of the theme's capitalize. */
.mainHeader .mainlinks .topHeader .investorMenu li a {
    text-transform: none;
}
@media (min-width: 992px) {
    /* Open the menu leftwards so it never runs off the right edge of the screen. */
    .mainlinks .topHeader .investorMenu {
        left: auto !important;
        right: 0 !important;
    }
}

/* ------- Document cards (Annual Report, Annual Return, Policies, MOA, AOA) ------- */
.irDocList > [class*="col-"] {
    display: flex;
}
.irDoc {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    text-align: left;
    background: #fff;
    border-left: 4px solid #34708D;
    box-shadow: 0px 10px 20px #ccc;
    padding: 20px;
    margin-bottom: 24px;
    transition: box-shadow 0.3s ease;
}
.irDoc .irDocIcon {
    flex: 0 0 50px;
    max-width: 50px;
    margin-right: 18px;
}
.irDoc .irDocIcon img {
    height: 56px;
    object-fit: contain;
}
.irDoc .irDocIcon .fa {
    display: block;
    text-align: center;
    font-size: 40px;
    color: #34708D;
}
.irDoc .irDocText {
    flex: 1 1 auto;
    min-width: 0;
}
.irDoc .irDocTitle {
    display: block;
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    color: #000;
    transition: color 0.3s ease;
}
.irDoc .irDocAction {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    line-height: 22px;
    color: #417D9A;
}
a.irDoc:hover {
    box-shadow: 0px 10px 25px #b5b5b5;
}
a.irDoc:hover .irDocTitle {
    color: #417D9A;
}
.irDoc.irDocPending {
    border-left-color: #CBCBCB;
    cursor: default;
}
.irDoc.irDocPending .irDocIcon {
    opacity: 0.45;
}
.irDoc.irDocPending .irDocAction {
    color: #888888;
    font-style: italic;
}

/* ------- People cards (Board of Directors) ------- */
.irPeople > [class*="col-"] {
    display: flex;
}
.irPerson {
    flex: 1 1 auto;
    text-align: center;
    background: #fff;
    border: 1px solid #DCD9D9;
    border-top: 4px solid #34708D;
    padding: 30px 20px 26px;
    margin-bottom: 30px;
    transition: box-shadow 0.3s ease;
}
.irPerson:hover {
    box-shadow: 0px 10px 20px #ccc;
}
.irPerson .irPersonImg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 130px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background: #EAF1F5;
}
.irPerson .irPersonImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.irPerson .irPersonImg .fa {
    font-size: 64px;
    color: #34708D;
}
.irPerson .irPersonName {
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    color: #000;
    padding-bottom: 4px;
}
.irPerson .irPersonRole {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #417D9A;
    padding-bottom: 10px;
}
.irPerson .irPersonMeta {
    font-size: 14px;
    line-height: 22px;
    color: #666666;
    padding-bottom: 0;
}

/* ------- Tables (Key Managerial Personnel, Committees) ------- */
.irTableWrap {
    overflow-x: auto;
    margin-bottom: 30px;
}
.irTable {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    background: #fff;
    text-align: left;
}
.irTable th,
.irTable td {
    padding: 12px 16px;
    border: 1px solid #DCD9D9;
    font-size: 16px;
    line-height: 24px;
    vertical-align: top;
}
.irTable thead th {
    background: #34708D;
    border-color: #34708D;
    color: #fff;
    font-weight: 500;
}
.irTable tbody tr:nth-child(even) {
    background: #F8F8F8;
}
.irTable .irSr {
    width: 90px;
    text-align: center;
}
.irCommittee {
    margin-bottom: 10px;
}

/* ------- Quick link tiles (Overview) ------- */
.irTiles > [class*="col-"] {
    display: flex;
}
.productDetailPage .productDetailSection a.irTile {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #F8F8F8;
    border: 1px solid #DCD9D9;
    color: #000;
    padding: 26px 15px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}
.productDetailPage .productDetailSection a.irTile .fa {
    font-size: 36px;
    color: #34708D;
    margin-bottom: 14px;
    transition: color 0.3s ease;
}
.productDetailPage .productDetailSection a.irTile span {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
}
.productDetailPage .productDetailSection a.irTile:hover {
    background: #34708D;
    border-color: #34708D;
    color: #fff;
}
.productDetailPage .productDetailSection a.irTile:hover .fa {
    color: #fff;
}

/* ------- Investor contact ------- */
.irContactList > [class*="col-"] {
    display: flex;
}
.irContact {
    flex: 1 1 auto;
    text-align: left;
    background: #F8F8F8;
    border: 1px solid #DCD9D9;
    border-top: 4px solid #34708D;
    padding: 24px 26px;
    margin-bottom: 24px;
}
.irContact .hd4 {
    color: #34708D;
}
.irContact p {
    font-size: 16px;
    line-height: 26px;
    padding-bottom: 12px;
}
.irContact p:last-child {
    padding-bottom: 0;
}
.irContact .fa {
    width: 20px;
    color: #34708D;
}
.irNote {
    font-size: 15px;
    line-height: 24px;
    color: #444444;
}

@media (max-width: 1366px) {
    .irDoc .irDocTitle {
        font-size: 16px;
        line-height: 24px;
    }
    .irPerson .irPersonName {
        font-size: 18px;
        line-height: 26px;
    }
    .irTable th,
    .irTable td {
        font-size: 15px;
    }
}
@media (max-width: 767px) {
    .irDoc {
        padding: 16px;
        margin-bottom: 16px;
    }
    .irDoc .irDocIcon {
        flex-basis: 40px;
        max-width: 40px;
        margin-right: 14px;
    }
    .irDoc .irDocIcon img {
        height: 46px;
    }
    .irDoc .irDocIcon .fa {
        font-size: 32px;
    }
    .irPerson {
        padding: 24px 16px 20px;
        margin-bottom: 20px;
    }
    .irPerson .irPersonImg {
        width: 110px;
        height: 110px;
    }
    .irPerson .irPersonImg .fa {
        font-size: 54px;
    }
    .productDetailPage .productDetailSection a.irTile {
        padding: 20px 10px;
        margin-bottom: 16px;
    }
    .productDetailPage .productDetailSection a.irTile .fa {
        font-size: 30px;
        margin-bottom: 10px;
    }
    .productDetailPage .productDetailSection a.irTile span {
        font-size: 14px;
        line-height: 20px;
    }
    .irContact {
        padding: 20px;
    }
}

/* ======= Investor Relations Css End ======= */
