/* =========================================================
   BOU NOC / OFFICE ORDER PAGE
========================================================= */

section.bou-office-order-section {
    position: relative !important;
    width: 100% !important;
    padding: 45px 0 60px !important;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #f5f7fa 0%,
        #eef5fa 55%,
        #e7f0f7 100%
    ) !important;
}


/* =========================================================
   BACKGROUND DECORATION
========================================================= */

section.bou-office-order-section:before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    top: -300px;
    right: -180px;
    border-radius: 50%;
    background: rgba(34,92,158,0.055);
    pointer-events: none;
}

section.bou-office-order-section:after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    bottom: -280px;
    left: -170px;
    border-radius: 50%;
    background: rgba(75,127,175,0.045);
    pointer-events: none;
}

section.bou-office-order-section > .container {
    position: relative;
    z-index: 2;
}


/* =========================================================
   PAGE HEADER
========================================================= */

.bou-office-order-header {
    text-align: center;
    margin-bottom: 28px;
}

.bou-office-order-kicker {
    margin-bottom: 6px;
    color: #225C9E;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.bou-office-order-header h2 {
    margin: 0;
    color: #173B55;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
}

.bou-office-order-header-line {
    width: 48px;
    height: 3px;
    margin: 10px auto;
    background: #225C9E;
    border-radius: 3px;
}

.bou-office-order-header p {
    margin: 0;
    color: #71808f;
    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   SEARCH BOX
========================================================= */

.bou-office-search-box {
    width: 100%;
    margin: 0 auto 30px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e0e6eb;
    border-radius: 5px;
    box-shadow: 0 3px 12px rgba(23,59,85,0.05);
    box-sizing: border-box;
}


/* =========================================================
   SEARCH FORM
   DESKTOP = 68% CENTERED
========================================================= */

.bou-office-search-form {
    width: 68%;
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: stretch;
    box-sizing: border-box;
}


/* =========================================================
   SEARCH INPUT
========================================================= */

.bou-office-search-input {
    position: relative;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.bou-office-search-input > i {
    position: absolute;
    left: 15px;
    top: 0;
    z-index: 3;
    width: 18px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #225C9E;
    font-size: 13px;
    pointer-events: none;
}

.bou-office-search-input .form-control {
    display: block;
    width: 100%;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    margin: 0 !important;
    padding: 10px 15px 10px 40px;
    box-sizing: border-box;
    color: #444;
    font-size: 13px;
    line-height: 22px;
    background: #f8fafc;
    border: 1px solid #d8e1e8;
    border-right: 0;
    border-radius: 4px 0 0 4px;
    box-shadow: none;
    outline: none;
    -webkit-appearance: none;
    transition:
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.bou-office-search-input .form-control:focus {
    background: #ffffff;
    border-color: #225C9E;
    box-shadow: 0 0 0 2px rgba(34,92,158,0.08);
}

.bou-office-search-input .form-control::placeholder {
    color: #9aa6b1;
    font-size: 13px;
}


/* =========================================================
   SEARCH BUTTON
========================================================= */

.bou-office-search-btn {
    flex: 0 0 110px;
    width: 110px;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 15px;
    box-sizing: border-box;
    color: #ffffff !important;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    background: #225C9E;
    border: 1px solid #225C9E;
    border-radius: 0 4px 4px 0;
    outline: none;
    cursor: pointer;
    box-shadow: none;
    transition:
        background .25s ease,
        border-color .25s ease;
}

.bou-office-search-btn i {
    margin-right: 7px;
    font-size: 12px;
}

.bou-office-search-btn span {
    line-height: 1;
    color: #ffffff !important;
}

.bou-office-search-btn:hover,
.bou-office-search-btn:focus,
.bou-office-search-btn:active {
    color: #ffffff !important;
    background: #174778;
    border-color: #174778;
    outline: none;
    box-shadow: none;
}


/* =========================================================
   DOCUMENT LIST HEADER
========================================================= */

.bou-office-list-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 12px;
}

.bou-office-list-heading > div:first-child > span {
    display: block;
    margin-bottom: 3px;
    color: #225C9E;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .8px;
}

.bou-office-list-heading h3 {
    margin: 0;
    color: #173B55;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
}

.bou-office-count {
    padding-bottom: 2px;
    color: #7a8792;
    font-size: 11px;
}


/* =========================================================
   TABLE WRAPPER
========================================================= */

.bou-office-table-wrapper {
    width: 100%;
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid #e1e7ec;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(23,59,85,0.05);
}


/* =========================================================
   TABLE
========================================================= */

.bou-office-table {
    width: 100%;
    min-width: 700px;
    margin: 0;
    border-collapse: collapse;
    table-layout: fixed;
}


/* =========================================================
   TABLE HEADER
========================================================= */

.bou-office-table > thead > tr > th {
    padding: 13px 14px;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: .4px;
    vertical-align: middle;
    background: #225C9E !important;
    border: 0 !important;
}

.bou-office-table > thead > tr > th:first-child {
    border-radius: 4px 0 0 0;
}

.bou-office-table > thead > tr > th:last-child {
    border-radius: 0 4px 0 0;
}


/* =========================================================
   COLUMN WIDTH
========================================================= */

.bou-office-table .bou-office-sl {
    width: 7%;
    text-align: center;
}

.bou-office-table .bou-office-subject {
    width: 63%;
    text-align: left;
}

.bou-office-table .bou-office-date {
    width: 13%;
    text-align: center;
}

.bou-office-table .bou-office-action {
    width: 17%;
    text-align: center;
}


/* =========================================================
   TABLE ROW
========================================================= */

.bou-office-table > tbody > tr {
    background: #ffffff;
    transition: background .2s ease;
}

.bou-office-table > tbody > tr:nth-child(even) {
    background: #f9fbfc;
}

.bou-office-table > tbody > tr:hover {
    background: #eef5fa;
}


/* =========================================================
   TABLE CELLS
========================================================= */

.bou-office-table > tbody > tr > td {
    padding: 13px 14px;
    color: #555;
    font-size: 12px;
    line-height: 1.6;
    vertical-align: middle;
    border-top: 1px solid #edf0f3;
}


/* =========================================================
   SL NUMBER
========================================================= */

.bou-office-table > tbody > tr > td.bou-office-sl {
    color: #7d8994;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}


/* =========================================================
   SUBJECT LINK
========================================================= */

.bou-office-title {
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    color: #444 !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    text-decoration: none !important;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}

.bou-office-title i {
    width: 18px;
    min-width: 18px;
    margin-top: 3px;
    margin-right: 7px;
    color: #225C9E;
    font-size: 13px;
    text-align: center;
}

.bou-office-title span {
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.bou-office-title:hover {
    color: #225C9E !important;
}


/* =========================================================
   DATE
========================================================= */

.bou-office-date-text {
    display: inline-block;
    color: #697782;
    font-size: 11px;
    white-space: nowrap;
}


/* =========================================================
   DOWNLOAD BUTTON
========================================================= */

.bou-office-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 82px;
    padding: 7px 11px;
    color: #225C9E !important;
    font-size: 11px;
    font-weight: 600;
    background: #ffffff;
    border: 1px solid #b9ccdc;
    border-radius: 4px;
    text-decoration: none !important;
    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.bou-office-download i {
    font-size: 11px;
}

.bou-office-download:hover {
    color: #ffffff !important;
    background: #225C9E;
    border-color: #225C9E;
    box-shadow: 0 3px 9px rgba(34,92,158,0.18);
}


/* =========================================================
   EMPTY RESULT
========================================================= */

.bou-office-empty {
    padding: 45px 20px;
    text-align: center;
}

.bou-office-empty i {
    display: block;
    margin-bottom: 10px;
    color: #225C9E;
    font-size: 28px;
}

.bou-office-empty h4 {
    margin: 0 0 5px;
    color: #444;
    font-size: 16px;
    font-weight: 600;
}

.bou-office-empty p {
    margin: 0;
    color: #89949d;
    font-size: 12px;
}


/* =========================================================
   PAGINATION
   CLEAN WHITE / TRANSPARENT BACKGROUND
   FULLY CENTERED
========================================================= */

.bou-office-pagination {
    width: 100%;
    margin: 25px 0 0;
    padding: 0;
    text-align: center;
    background: transparent !important;
}


/* Bootstrap pagination container */

.bou-office-pagination .pagination {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: auto !important;

    margin: 0 auto !important;
    padding: 0 !important;

    float: none !important;

    background: transparent !important;

    border-radius: 0 !important;
}


/* Pagination list items */

.bou-office-pagination .pagination > li {
    display: inline-block !important;

    float: none !important;

    margin: 0 2px !important;
    padding: 15px 0 0 0 !important;

    background: transparent !important;
}


/* Pagination buttons */

.bou-office-pagination .pagination > li > a,
.bou-office-pagination .pagination > li > span {
    display: flex !important;

    align-items: center;
    justify-content: center;

    min-width: 34px;
    height: 34px;

    margin: 0 !important;
    padding: 0 9px !important;

    color: #225C9E !important;

    font-size: 12px;
    font-weight: 500;

    line-height: 34px !important;
    text-align: center;

    background: #ffffff !important;

    border: 1px solid #d8e2ea !important;

    border-radius: 4px !important;

    text-decoration: none !important;

    box-shadow: none !important;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}


/* Pagination hover */

.bou-office-pagination .pagination > li > a:hover {
    color: #ffffff !important;

    background: #225C9E !important;

    border-color: #225C9E !important;

    box-shadow: 0 3px 8px rgba(34,92,158,.15) !important;
}


/* Active page */

.bou-office-pagination .pagination > li.active > a,
.bou-office-pagination .pagination > li.active > span,
.bou-office-pagination .pagination > .active > a,
.bou-office-pagination .pagination > .active > span {
    color: #ffffff !important;

    background: #225C9E !important;

    border-color: #225C9E !important;

    font-weight: 600;
}


/* Disabled Previous / Next */

.bou-office-pagination .pagination > li.disabled > a,
.bou-office-pagination .pagination > li.disabled > span,
.bou-office-pagination .pagination > .disabled > a,
.bou-office-pagination .pagination > .disabled > span {
    color: #aeb9c3 !important;

    background: #f7f9fb !important;

    border-color: #e0e6eb !important;

    cursor: not-allowed;

    box-shadow: none !important;
}


/* =========================================================
   IMPORTANT BOOTSTRAP OVERRIDES
   Prevent old pagination styles from creating blue strip
========================================================= */

.bou-office-pagination .pagination:before,
.bou-office-pagination .pagination:after {
    display: none !important;
}

.bou-office-pagination:before,
.bou-office-pagination:after {
    display: none !important;
}

.bou-office-pagination ul,
.bou-office-pagination ol {
    margin: 0 auto !important;
    padding: 0 !important;
    float: none !important;
    background: transparent !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    section.bou-office-order-section {
        padding: 40px 0 50px !important;
    }

    .bou-office-order-header h2 {
        font-size: 25px;
    }

    .bou-office-search-box {
        margin-bottom: 25px;
    }

    .bou-office-search-form {
        width: 75%;
    }

    .bou-office-table .bou-office-subject {
        width: 58%;
    }

    .bou-office-table .bou-office-date {
        width: 15%;
    }

    .bou-office-table .bou-office-action {
        width: 20%;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    section.bou-office-order-section {
        padding: 30px 0 45px !important;
    }


    /* Header */

    .bou-office-order-header {
        margin-bottom: 22px;
    }

    .bou-office-order-kicker {
        font-size: 10px;
    }

    .bou-office-order-header h2 {
        font-size: 23px;
    }

    .bou-office-order-header p {
        font-size: 12px;
    }


    /* Search */

    .bou-office-search-box {
        padding: 12px;
        margin-bottom: 24px;
    }

    .bou-office-search-form {
        width: 100%;
        max-width: none;
        display: block;
    }

    .bou-office-search-input {
        width: 100%;
    }

    .bou-office-search-input .form-control {
        width: 100%;
        height: 42px;
        min-height: 42px;
        max-height: 42px;

        padding-left: 38px;

        border-right: 1px solid #d8e1e8;

        border-radius: 4px;
    }

    .bou-office-search-input > i {
        height: 42px;
    }


    /* Search button */

    .bou-office-search-btn {
        width: 100%;

        height: 40px;
        min-height: 40px;
        max-height: 40px;

        margin-top: 8px !important;

        border-radius: 4px;
    }


    /* List heading */

    .bou-office-list-heading {
        display: block;
        margin-bottom: 10px;
    }

    .bou-office-list-heading h3 {
        font-size: 17px;
    }

    .bou-office-count {
        margin-top: 4px;
    }


    /* Table */

    .bou-office-table-wrapper {
        border-radius: 4px;
    }

    .bou-office-table {
        min-width: 650px;
    }

    .bou-office-table > thead > tr > th {
        padding: 11px 10px;
        font-size: 10px;
    }

    .bou-office-table > tbody > tr > td {
        padding: 11px 10px;
        font-size: 11px;
    }

    .bou-office-title {
        font-size: 12px;
    }

    .bou-office-download {
        min-width: 75px;
        padding: 6px 9px;
        font-size: 10px;
    }


    /* Pagination */

    .bou-office-pagination {
        margin-top: 20px;

        text-align: center;

        overflow-x: auto;
        overflow-y: hidden;

        white-space: nowrap;

        padding: 0 0 3px;
    }

    .bou-office-pagination .pagination {
        display: inline-flex !important;

        width: auto !important;

        margin: 0 auto !important;

        padding: 0 !important;
    }

    .bou-office-pagination .pagination > li {
        margin: 0 1px !important;
    }

    .bou-office-pagination .pagination > li > a,
    .bou-office-pagination .pagination > li > span {
        min-width: 30px;
        height: 30px;

        padding: 0 7px !important;

        font-size: 10px;

        line-height: 30px !important;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .bou-office-order-header h2 {
        font-size: 21px;
    }

    .bou-office-order-header p {
        font-size: 11px;
    }

    .bou-office-search-box {
        padding: 10px;
    }

    .bou-office-pagination .pagination > li > a,
    .bou-office-pagination .pagination > li > span {
        min-width: 28px;
        height: 28px;

        font-size: 9px;

        line-height: 28px !important;
    }
}