/* =========================================================
   BOU DIVISION OFFICERS
   Simple, Clean & Readable Table Design
   No JavaScript
   Bootstrap 3 Compatible
   ========================================================= */


/* =========================================================
   MAIN SECTION
   ========================================================= */

.bou-division-officers {
    padding: 45px 0 65px;
    background: #f6f8fb;
}

.bou-division-officers .container {
    position: relative;
}


/* =========================================================
   PAGE TITLE
   ========================================================= */

.bou-officers-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid #dfe6ed;
}

.bou-officers-kicker {
    display: block;
    margin-bottom: 8px;
    color: #225c9e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.bou-officers-header h2 {
    position: relative;
    display: inline-block;
    margin: 0 0 10px;
    padding: 0 22px;
    color: #173b55;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
}

.bou-officers-header h2:before,
.bou-officers-header h2:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 35px;
    height: 2px;
    background: #225c9e;
}

.bou-officers-header h2:before {
    left: -28px;
}

.bou-officers-header h2:after {
    right: -28px;
}

.bou-officers-header p {
    margin: 0;
    color: #5f6d7a;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
}


/* =========================================================
   TABLE WRAPPER
   ========================================================= */

.bou-officers-table-wrapper {
    width: 100%;
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid #dfe6ed;
    border-radius: 6px;
    box-shadow: 0 3px 12px rgba(23, 59, 85, 0.06);
    -webkit-overflow-scrolling: touch;
}


/* =========================================================
   TABLE
   ========================================================= */

.bou-officers-table-wrapper table {
    width: 100% !important;
    margin: 0 !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    background: #ffffff;
    font-size: 15px;
}


/* =========================================================
   TABLE HEADER
   ========================================================= */

.bou-officers-table-wrapper table thead th {
    padding: 15px 16px !important;
    background: #225c9e !important;
    border: 0 !important;
    border-right: 1px solid rgba(255,255,255,0.18) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.5;
    text-align: left;
    vertical-align: middle;
}

.bou-officers-table-wrapper table thead th:last-child {
    border-right: 0 !important;
}


/* =========================================================
   TABLE BODY
   ========================================================= */

.bou-officers-table-wrapper table tbody td {
    padding: 15px 16px !important;
    border-top: 1px solid #e5ebf0 !important;
    border-right: 1px solid #edf1f5 !important;
    color: #4b5967;
    font-size: 15px !important;
    line-height: 1.7;
    vertical-align: middle;
}

.bou-officers-table-wrapper table tbody td:last-child {
    border-right: 0 !important;
}


/* =========================================================
   ALTERNATE ROW
   ========================================================= */

.bou-officers-table-wrapper table tbody tr:nth-child(even) td {
    background: #f9fbfd;
}

.bou-officers-table-wrapper table tbody tr:nth-child(odd) td {
    background: #ffffff;
}


/* =========================================================
   ROW HOVER
   ========================================================= */

.bou-officers-table-wrapper table tbody tr:hover td {
    background: #f1f6fb !important;
}


/* =========================================================
   OFFICER NAME
   ========================================================= */

.bou-officers-table-wrapper table tbody td:first-child {
    color: #173b55;
    font-size: 17px !important;
    font-weight: 700;
    line-height: 1.5;
}

.bou-officers-table-wrapper table tbody td:first-child strong {
    color: #173b55;
    font-size: 17px !important;
    font-weight: 700;
}


/* =========================================================
   DESIGNATION
   ========================================================= */

.bou-officers-table-wrapper table tbody td:nth-child(2) {
    color: #225c9e;
    font-size: 16px !important;
    font-weight: 600;
    line-height: 1.6;
}


/* =========================================================
   CONTACT INFORMATION
   4-column tables
   ========================================================= */

.bou-officers-table-wrapper table tbody td:nth-child(4) {
    color: #4f5e6c;
    font-size: 15px !important;
    line-height: 1.8;
}

.bou-officers-table-wrapper table tbody td:nth-child(4) strong {
    color: #173b55;
    font-size: 15px !important;
    font-weight: 700;
}


/* =========================================================
   CONTACT PARAGRAPH
   ========================================================= */

.bou-officers-table-wrapper table tbody td p {
    margin: 0 !important;
}


/* =========================================================
   LINKS / EMAIL
   ========================================================= */

.bou-officers-table-wrapper table a {
    color: #225c9e !important;
    font-size: 15px;
    text-decoration: none;
}

.bou-officers-table-wrapper table a:hover {
    color: #173b55 !important;
    text-decoration: underline;
}


/* =========================================================
   OFFICER PHOTO
   ========================================================= */

.bou-officers-table-wrapper table tbody img {
    width: 75px !important;
    height: 85px !important;
    max-width: 75px;
    display: block;
    margin: 0 auto;
    object-fit: cover;
    border: 3px solid #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(23, 59, 85, 0.12);
}


/* =========================================================
   SECTION HEADINGS
   Example:
   Council
   Personnel-1(Teacher)
   Personnel-1 (Officer)
   Personnel-2
   Pension Cell
   Training and Research
   ========================================================= */

.bou-officers-table-wrapper table tbody tr td[colspan] {
    padding: 15px 18px !important;
    background: #eaf2f9 !important;
    border-top: 2px solid #225c9e !important;
    border-bottom: 1px solid #cddce9 !important;
    color: #173b55 !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.5;
    text-align: center !important;
    vertical-align: middle !important;
}


/* =========================================================
   SECTION HEADING STRONG TEXT
   ========================================================= */

.bou-officers-table-wrapper table tbody tr td[colspan] strong {
    color: #173b55 !important;
    font-size: 19px !important;
    font-weight: 700 !important;
}


/* =========================================================
   SINGLE CELL SECTION HEADINGS
   For headings without colspan
   ========================================================= */

.bou-officers-table-wrapper table tbody tr td:only-child {
    padding: 15px 18px !important;
    background: #eaf2f9 !important;
    border-top: 2px solid #225c9e !important;
    border-bottom: 1px solid #cddce9 !important;
    color: #173b55 !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.5;
    text-align: center !important;
}


/* =========================================================
   SINGLE CELL STRONG
   ========================================================= */

.bou-officers-table-wrapper table tbody tr td:only-child strong {
    color: #173b55 !important;
    font-size: 19px !important;
    font-weight: 700 !important;
}


/* =========================================================
   DEFAULT COLUMN WIDTH
   For 4-column Rich Text Editor officer tables

   Column 1 - Name
   Column 2 - Designation
   Column 3 - Picture
   Column 4 - Contact
   ========================================================= */

.bou-officers-table-wrapper table th:nth-child(1),
.bou-officers-table-wrapper table td:nth-child(1) {
    width: 24%;
}

.bou-officers-table-wrapper table th:nth-child(2),
.bou-officers-table-wrapper table td:nth-child(2) {
    width: 23%;
}

.bou-officers-table-wrapper table th:nth-child(3),
.bou-officers-table-wrapper table td:nth-child(3) {
    width: 14%;
    text-align: center;
}

.bou-officers-table-wrapper table th:nth-child(4),
.bou-officers-table-wrapper table td:nth-child(4) {
    width: 39%;
}


/* =========================================================
   MEDIA DIVISION - 4 COLUMN TABLE
   ========================================================= */

.bou-media-officers .bou-officers-table-wrapper table {
    width: 100% !important;
    table-layout: fixed !important;
}

/* Name */
.bou-media-officers .bou-officers-table-wrapper table th:nth-child(1),
.bou-media-officers .bou-officers-table-wrapper table td:nth-child(1) {
    width: 28% !important;
    text-align: left !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

/* Designation */
.bou-media-officers .bou-officers-table-wrapper table th:nth-child(2),
.bou-media-officers .bou-officers-table-wrapper table td:nth-child(2) {
    width: 30% !important;
    text-align: left !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

/* Picture */
.bou-media-officers .bou-officers-table-wrapper table th:nth-child(3),
.bou-media-officers .bou-officers-table-wrapper table td:nth-child(3) {
    width: 12% !important;
    text-align: center !important;
}

/* Contact */
.bou-media-officers .bou-officers-table-wrapper table th:nth-child(4),
.bou-media-officers .bou-officers-table-wrapper table td:nth-child(4) {
    width: 30% !important;
    text-align: left !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}


/* Media officer name */
.bou-media-officers .bou-officers-table-wrapper table tbody td:nth-child(1) {
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #173B55 !important;
}


/* Media designation */
.bou-media-officers .bou-officers-table-wrapper table tbody td:nth-child(2) {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #225C9E !important;
}


/* Media contact */
.bou-media-officers .bou-officers-table-wrapper table tbody td:nth-child(4) {
    font-size: 15px !important;
    line-height: 1.7 !important;
}


/* Media picture */
.bou-media-officers .bou-officers-table-wrapper table tbody td:nth-child(3) img {
    width: 75px !important;
    height: 85px !important;
    object-fit: cover !important;
    display: inline-block !important;
}