/* GENERAL */

body {
    color: #1A181B;
    background-color: #FFF;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.3;
}


/*
body.page-template-page-scholarships-search {
position: relative;
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
}
body.page-template-page-scholarships-search:before {
position: absolute;
display: block;
content: '';
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.4);
z-index: 0;
}
*/

h2 {
    margin-bottom: 1em;
    font-size: 3.5em;
    font-weight: 500;
}


/* ALL PAGES */

.container {
    height: auto;
}

.header {
    background-position: center 70%;
}


/*
body.page-template-page-scholarships-search .header {
height: auto;
}

body.page-template-page-scholarships-search .header:before {
display: none;
}
*/

.header-top-wrapper,
.header-middle-wrapper,
.header-bottom-wrapper {
    max-width: 1100px;
}

.language-chooser li a {
    color: #F5B700;
}

.language-chooser li.active a,
.language-chooser li:hover a {
    background-color: #F5B700;
}


/*
body.page-template-page-scholarships-search .header-bottom {
padding-bottom: 0;
}
*/

.site-title {
    text-shadow: 1px 1px 2px #1A181B;
}

.footer {
    background-color: #f5b702;
}

body.page-template-page-scholarships-search .main {
    position: relative;
}

body.page-template-page-scholarships-news .main {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.content-block {
    padding: 60px 0;
}

.content-block.content-search {
    padding: 60px 0 100px 0;
    min-height: 1000px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.pagination {
    margin-bottom: 15px;
    text-align: center;
}

.pagination a,
.pagination span {
    font-size: 1.7em;
    color: #1A181B;
    margin: 0 10px;
}

.pagination .current {
    font-size: 2em;
    font-weight: 700;
}


/* HOME */

.content-text-and-image {
    background-color: #f5f5f5;
}

.cti-text {
    position: relative;
    width: 100%;
}

.cti-text-inner {
    position: relative;
    width: 62%;
    /*50%*/
    min-height: auto;
    /*400px*/
    padding: 70px 40px;
    background-color: rgba(66, 33, 11, 0.59);
    z-index: 2;
}

.cti-text,
.cti-text-inner,
.cti-text p,
.cti-text li,
.cti-text th,
.cti-text td {
    color: #FFF;
}

.cti-text p {
    font-size: 2em;
    font-weight: 500;
}

.cti-text p a {
    color: #00F;
}

.cti-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 38%;
    /*50%*/
    height: 100%;
    padding: 0;
    box-sizing: content-box;
    background-color: #906e53;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    z-index: 1;
}

.content-text-over-image {
    min-height: 1000px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.coi-text {
    width: 100%;
    padding: 60px;
    background-color: rgba(25, 149, 188, 0.69);
}

.coi-text,
.coi-text p,
.coi-text li,
.coi-text th,
.coi-text td {
    color: #FFF;
}

.coi-text p a {
    color: #00F;
}


/* SEARCH */

.cs-container {
    padding: 90px 20px;
    background-color: rgba(245, 184, 0, 0.8);
    text-align: center;
}

.cs-row {
    display: inline-block;
    width: 100%;
    max-width: 722px;
    margin: 0 auto 50px auto;
    text-align: left;
}

.cs-row:last-child {
    margin-bottom: 0;
}

.cs-name input {
    width: 100%;
    padding: 20px 30px;
    background-color: #FFF;
    font-size: 1.6em;
}

.cs-name input::placeholder {
    color: #603813;
}

.cs-categories {
    overflow: hidden;
}

.cs-container .cs-categories-half {
    width: 50%;
    padding-right: 30px;
}

.cs-category,
.cs-award {
    position: relative;
    margin-bottom: 15px;
}

.cs-category input,
.cs-award input,
.cs-category span,
.cs-award span {
    display: inline-block;
    font-size: 1.8em;
    vertical-align: middle;
}

.cs-category input,
.cs-award input {
    position: absolute;
    left: 0;
    top: 3px;
    width: 20px;
    height: 20px;
    margin-right: 11px;
}

.cs-category span,
.cs-award span {
    padding-left: 25px;
}

.cs-category label,
.cs-award label {
    cursor: pointer;
}

.cs-category:last-child,
.cs-award:last-child {
    margin-bottom: 0;
}

.legend {
    padding: 40px 20px 40px 30px;
    background-color: #fff;
    margin-bottom: 50px;
    text-align: left;
}

.legend .text {
    position: relative;
    display: inline-block;
    padding-left: 20px;
    margin: 5px 40px 5px 0;
    font-size: 1.5em;
}

.legend .text .color-box {
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
}

.cs-container .reset {
    float: right;
    text-align: right;
    margin-top: 0;
}

.cs-submit input,
.cs-awards .reset {
    display: inline-block;
    position: relative;
    top: 0;
    /*padding: 10px 60px 15px 60px;*/
    padding: 8px 50px 12px 50px;
    background-color: #f5b702;
    color: #fff;
    font-size: 2em;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: top 0.3s ease-out;
}

.cs-submit input:hover,
.cs-awards .reset:hover {
    color: #f5b702;
    background-color: #fff;
    transition: background 0.35s ease 0s, color 0.35s ease 0s;
    top: -10px;
    transition: top 0.3s ease-in;
}

.table-row.cl-entry {
    display: table;
    table-layout: fixed;
    width: 100%;
    margin-bottom: 0;
}

.table-row.cl-entry>.table-td {
    display: table-cell;
}

.table-td.heading.mobile {
    display: none;
}


/* LIST */

.content-list {
    background-color: #ffbe74;
    text-align: center;
    background-size: cover;
    background-image: url(https://webarchive.lib.cuhk.edu.hk/20241031170442oe_/http://www.uc.cuhk.edu.hk/wp-content/uploads/15841504_v904-nunny-019-bg.jpg);
}

.content-list .content-block-wrapper {
    display: inline-block;
    width: 90%;
    text-align: left;
}

.cs-container-2 {
    padding: 30px 20px;
    margin-bottom: 50px;
    background-color: rgba(255, 255, 255, 0.6);
    /* font-size: 0.9em; */
}

.cs-container-2 .cs-name input {
    padding: 10px 15px;
    border: 1px solid #e5e4dd;
}

.cs-container-2 .cs-row {
    /*  margin-bottom: 20px;*/
    margin-bottom: 2em;
}

.cs-container-2 .cs-row:last-child {
    position: relative;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.cl-left {
    display: none;
    float: left;
    width: 33%;
    padding: 35px 20px 200px 20px;
    background-color: #62b4a1;
    box-shadow: 0 0 2px rgba(14, 112, 93, 0.32);
}

.cl-left .cs-row {
    max-width: 272px;
    margin-bottom: 40px;
}

.cl-left .cs-name-label {
    margin-bottom: 15px;
    color: #1A181B;
    font-size: 1.6em;
}

.cl-left .cs-name input {
    padding: 10px 15px;
}

.cl-left .cs-category input,
.cl-left .cs-award input,
.cl-left .cs-category span,
.cl-left .cs-award span {
    color: #1A181B;
}

.cl-left .cs-category input,
.cl-left .cs-award input {
    border: 1px solid #42210b;
}

.cl-left .cs-submit {
    margin-top: 40px;
}

.cl-left .cs-submit input {
    padding: 15px 30px;
    font-size: 2em;
}

.cl-right {
    width: 100%;
}

.cl-filters {
    padding: 10px 0;
    color: #603813;
    background-color: rgba(255, 255, 255, 0.83);
    font-size: 1.6em;
}

.clf-heading {
    padding: 20px 60px 20px 30px;
}

.clf-filter {
    padding: 20px 100px 20px 30px;
}

.cl-entry {
    padding: 20px 0 20px 30px;
    margin-bottom: 30px;
    background-color: #FFF;
    box-shadow: 0 0 5px rgba(226, 128, 19, 0.75);
    border-radius: 20px;
}


/*
.cl-entry {
width: 95%;
}
.cl-entry:nth-child(even) {
margin-left: 5%;
}
*/

.cle-title {
    margin-bottom: 10px;
    color: #603813;
    font-size: 2.2em;
    font-weight: 700;
}

.cle-subtitle {
    margin-bottom: 25px;
}

.cle-subtitle,
.cle-criteria,
.cle-category {
    font-size: 1.8em;
}

.cle-criteria {
    text-transform: capitalize;
}

.cle-row {
    /* display: table;
table-layout: auto; */
    width: 100%;
}

.cle-heading,
.cle-criteria,
.cle-category,
.cle-separator {
    /* display: table-cell;
vertical-align: top; */
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

.cle-heading {
    padding-bottom: 10px;
    color: #919191;
    font-size: 1.3em;
    font-weight: 500;
}

.cle-separator {
    margin-top: -3px;
    color: #919191;
    padding: 0 10px;
}

.cle-top {
    display: table;
    table-layout: auto;
    width: 100%;
}

.cle-titles,
.cle-label {
    display: table-cell;
    vertical-align: top;
}

.cle-titles {
    padding-right: 15px;
}

.cle-label {
    width: 250px;
    text-align: right;
}

.cle-label-inner {
    display: inline-block;
    position: relative;
    padding: 15px 20px;
    color: #FFF;
    background-color: #64008c;
    font-size: 1.6em;
}

.cl-entry.application .cle-label-inner {
    background-color: #37b5cc;
}

.cle-label-inner:before {
    display: block;
    position: absolute;
    content: '';
    left: 100%;
    top: 100%;
    margin-left: 1px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 14px 14px 0 0;
    border-color: #32004a transparent transparent transparent;
}

.cl-entry.application .cle-label-inner:before {
    border-color: #37a2cc transparent transparent transparent;
}

.cle-label-inner:after {
    display: block;
    position: absolute;
    content: '';
    left: 100%;
    top: 0;
    width: 16px;
    height: 100%;
    margin-left: -1px;
    background-color: #64008c;
}

.cl-entry.application .cle-label-inner:after {
    background-color: #37b5cc;
}


/* INFORMATION */

.content-double-text {
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

.content-double-text .content-block-wrapper {}

.content-double-text ul,
.content-double-text ol {
    list-style: outside;
    margin-left: 1.5em;
    font-size: 1.7em;
    margin-bottom: 1em;
}

.content-double-text li {
    margin-bottom: 0.5em;
}

.cdt-cols {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.cdt-col {
    display: table-cell;
    width: 50%;
    padding: 60px;
    vertical-align: top;
}

.cdt-col-1 {
    background-color: rgba(252, 222, 187, 0.8);
}

.cdt-col-1,
.cdt-col-1 h2,
.cdt-col-1 p,
.cdt-col-1 li,
.cdt-col-1 th,
.cdt-col-1 td,
.cdt-row,
.cdt-row li,
.cdt-row th,
.cdt-row td {
    color: #42210b;
}

.cdt-col-2 {
    background-color: rgba(66, 33, 11, 0.8);
}

.cdt-col-2,
.cdt-col-2 h2,
.cdt-col-2 p,
.cdt-col-2 li,
.cdt-col-2 th,
.cdt-col-2 td {
    color: #FFF;
}

.cdt-row {
    padding: 60px;
    background-color: rgba(255, 255, 255, 0.5);
}

.content-block.content-cols {
    padding-bottom: 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.content-cols .content-block-wrapper {
    position: relative;
    padding-bottom: 10%;
    overflow: hidden;
}

.content-cols .content-block-wrapper:before {
    display: block;
    position: absolute;
    content: '';
    left: 0;
    bottom: -6%;
    width: 100%;
    height: 0;
    padding-bottom: 30%;
    background: url('https://webarchive.lib.cuhk.edu.hk/20241031170442oe_/http://www.uc.cuhk.edu.hk/wp-content/uploads/content-cols-bg.png') no-repeat center bottom;
    background-size: contain;
}

.content-cols-heading {
    height: 46px;
    color: #007999;
    text-align: center;
    overflow: hidden;
}

.content-cols-heading h2 {
    display: inline-block;
    position: relative;
    margin: 0;
    color: #007999;
    padding: 0 40px;
}

.content-cols-heading h2:before,
.content-cols-heading h2:after {
    display: block;
    position: absolute;
    content: '';
    top: 50%;
    width: 5000px;
    height: 2px;
    background-color: #007999;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.content-cols-heading h2:before {
    right: 100%;
}

.content-cols-heading h2:after {
    left: 100%;
}

.cc-cols {
    position: relative;
    padding: 80px 60px 15% 60px;
    border-left: 2px solid #007999;
    border-right: 2px solid #007999;
    margin-top: -23px;
    overflow: hidden;
}

.cc-cols:before,
.cc-cols:after {
    display: block;
    position: absolute;
    content: '';
    bottom: 100%;
    width: 2px;
    height: 100%;
    background-color: #007999;
}

.cc-cols:before {
    left: 0;
}

.cc-cols:after {
    right: 0;
}

.cc-col,
.cc-col h2,
.cc-col p,
.cc-col li {
    color: #007999;
}

.cc-col-1 {
    float: left;
    width: 45%;
}

.cc-col-2 {
    float: right;
    width: 45%;
}

.content-news {
    padding: 40px 0;
}

.news-entries {
    max-width: 860px;
    padding: 60px 80px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.9);
}

.news-entry {
    display: block;
    padding-bottom: 40px;
    border-bottom: 1px solid #005F84;
    margin: 0 auto 40px auto;
}

.news-entry:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

.news-title {
    margin-bottom: 15px;
    color: #005F84;
    font-size: 2.2em;
    font-weight: 700;
}

.news-intro p,
.news-intro li {
    color: #333;
    font-size: 1.6em;
    line-height: 1.4;
}

body.page-template-page-scholarships-news a.btn.yellow.news-button {
    font-size: 16px !important;
}

.table-heading {
    position: relative;
    width: 100%;
    font-size: 1.4em;
    font-weight: 700;
    padding: 12px;
}

.accordion-icon.table-heading {
    margin-top: 0;
}

.table-heading.accordion-icon:after {
    width: 15px;
    height: 15px;
    background-size: 15px;
}

.table-row.accordion-rows {
    margin-bottom: 2em;
    overflow: inherit;
}

.table-td.accordion-row,
.table-td .accordion-icon.active,
.table-td.accordion-row.active {
    background-color: #faf9f3;
    border-bottom: 0;
}

.table-td.accordion-row {
    position: relative;
    display: inline-block;
    width: 32%;
    margin-right: 2%;
    margin-bottom: 2%;
    background-color: #fff;
    border-left: 1px solid #e5e4dd;
    float: left;
}

.table-row .accordion-details {
    position: absolute;
    width: calc(100% + 2px);
    margin-left: -1px;
    background-color: #faf9f3;
    border: 1px solid #e5e4dd;
    border-top: 0;
    float: left;
    padding: 15px 15px;
    font-size: 1.2em;
    z-index: 2;
}

.cs-row {
    max-width: 100%;
}

.cs-category span {
    font-size: 1.5em;
    padding-top: 3px;
}

.table-td.accordion-row:nth-child(3n+3) {
    margin-right: 0;
}

.table-td.accordion-row:nth-child(3n+1) {
    clear: both;
}

.result-table .cl-entry {
    border-radius: 0;
    box-shadow: none;
    padding: 15px 0 15px 30px;
}

.table-row.cl-entry>.table-td {
    padding-right: 20px;
}

.result-table .cl-entry:nth-child(odd) {
    background-color: #f9f9f2;
}

.result-table {
    position: relative;
    height: 100vh;
    background-color: #fff;
    overflow-y: scroll;
}

.result-table .cl-entry.heading {
    position: sticky;
    top: 0;
    background-color: #f5b702;
    font-weight: 700;
    margin: 0;
}

.table-row.heading>.table-td:nth-child(1),
.table-row.cl-text>.table-td:nth-child(2) {
    width: 18%;
}

.table-row.heading>.table-td:nth-child(2),
.table-row.cl-text>.table-td:nth-child(4) {
    width: 14%;
}

.table-row.heading>.table-td:nth-child(3),
.table-row.cl-text>.table-td:nth-child(6) {
    width: 8%;
}

.table-row.heading>.table-td:nth-child(4),
.table-row.cl-text>.table-td:nth-child(8) {
    width: 12%;
}

.table-row.heading>.table-td:nth-child(5),
.table-row.cl-text>.table-td:nth-child(10) {
    width: 12%;
}

.table-row.heading>.table-td:nth-child(6),
.table-row.cl-text>.table-td:nth-child(12) {
    width: 12%;
}

.table-row.heading>.table-td:nth-child(7),
.table-row.cl-text>.table-td:nth-child(14) {
    width: 10%;
}

.table-td.heading.mobile {
    display: none;
}

.pagination {
    position: relative;
    width: 100%;
    list-style-type: none;
    overflow: hidden;
    margin: 20px auto;
}

.pagination span,
.pagination a,
.pagination li {
    display: inline-block;
    vertical-align: middle;
    text-decoration: none;
    width: auto;
    color: #000;
    font-weight: 400;
}

.search-results .header-bottom,
.page-template-page-scholarships-financial-aid .header-bottom,
.page-template-page-scholarships-news-new .header-bottom,
.page-template-page-search-scholarship-new .header-bottom {
    display: none;
}

.search-results .scholarships-header-bottom,
.page-template-page-scholarships-financial-aid .scholarships-header-bottom,
.page-template-page-scholarships-news-new .scholarships-header-bottom,
.page-template-page-search-scholarship-new .scholarships-header-bottom {
    display: block;
}

.search-results .hostel-details-banner,
.page-template-page-scholarships-financial-aid .hostel-details-banner,
.page-template-page-scholarships-news-new .hostel-details-banner,
.page-template-page-search-scholarship-new .hostel-details-banner {
    position: relative;
}


/* MOBILE */

@media (max-width: 950px) {
    .content-block,
    .content-block.content-search {
        padding: 40px 0;
    }
    .cti-image {
        position: static;
        width: 100%;
        height: 0;
        padding-bottom: 50%;
    }
    .cti-text-inner {
        width: 100%;
        min-height: 0;
        padding: 30px 40px;
    }
    .cti-text p {
        font-size: 2em;
    }
    .content-block.content-search,
    .content-text-over-image {
        min-height: 0;
    }
    .cs-container {
        padding: 50px 20px;
    }
    .coi-text {
        padding: 38px 40px 40px 40px;
    }
    .cdt-col,
    .cc-cols,
    .cdt-row {
        padding: 40px;
    }
    .cc-cols {
        padding-bottom: 150px;
    }
    .news-entries {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .main-menu-button {
        background-color: #F5B700;
    }
    .header {
        background-position: center 35%;
    }
    /*
.main-menu-container {
  background-color: rgba(220,128,85,0.8);
}
*/
    h2 {
        margin-bottom: 0.5em;
        font-size: 3em;
    }
    p {
        font-size: 1.5em;
    }
    .content-block,
    .content-block.content-search,
    .content-news {
        padding: 20px 0;
    }
    .cti-text-inner {
        padding: 20px 25px;
    }
    .cti-text p {
        font-size: 1.7em;
    }
    .cs-container {
        padding: 25px;
    }
    .cs-row {
        margin-bottom: 20px;
    }
    .cs-submit input,
    .cs-awards .reset {
        padding: 8px 50px 12px 50px;
        font-size: 1.6em;
    }
    .cs-name input {
        padding: 10px 15px;
    }
    .cs-category input,
    .cs-award input,
    .cs-category span,
    .cs-award span {
        font-size: 1.6em;
    }
    .cl-entries {
        padding: 0 15px;
    }
    .cl-entry {
        position: relative;
        padding: 20px;
    }
    .cle-top,
    .cle-titles,
    .cle-label {
        display: block;
    }
    .cle-titles {
        margin-top: 20px;
    }
    .cle-label {
        position: absolute;
        right: 0;
        top: -10px;
    }
    .cle-label-inner {
        padding: 10px 15px 10px 20px;
        font-size: 1.4em;
    }
    .coi-text {
        padding: 20px 20px 25px 20px;
    }
    .cdt-cols {
        display: block;
    }
    .cc-cols {
        margin-top: -27px;
    }
    .cdt-col,
    .cc-col-1,
    .cc-col-2 {
        display: block;
        float: none;
        width: 100%;
    }
    .cdt-col,
    .cc-cols,
    .cdt-row {
        padding: 25px;
    }
    .cc-col-1 {
        padding: 25px 0;
    }
    .cc-col-2 {
        padding: 0 0 100px 0;
    }
    .news-entries {
        padding: 25px;
    }
}

@media (max-width: 650px) {
    .content-cols .content-block-wrapper:before {
        bottom: -40px;
        height: 250px;
        padding-bottom: 0;
    }
}

@media (max-width: 500px) {
    h2 {
        font-size: 2.4em;
    }
    .content-block,
    .content-block.content-search,
    .content-news {
        padding: 15px 0;
    }
    .cti-text p {
        font-size: 1.6em;
    }
    .cs-container .cs-categories-half {
        float: none;
        width: 100%;
        margin-bottom: 15px;
    }
    .cs-container .cs-submit,
    .cs-container .cs-awards {
        margin-top: 20px;
        margin-bottom: 0;
    }
    .cs-category input,
    .cs-award input {
        top: 1px;
    }
    .cle-titles {
        margin-top: 15px;
    }
    .cle-title {
        margin-bottom: 5px;
        font-size: 1.8em;
    }
    .cle-subtitle,
    .cle-criteria,
    .cle-category {
        font-size: 1.5em;
    }
    .cle-subtitle {
        margin-bottom: 15px;
    }
    .cle-heading {
        padding-bottom: 5px;
    }
    .cle-label-inner {
        padding: 6px 10px 8px 15px;
    }
    .cc-col-2 {
        padding-bottom: 60px;
    }
    .content-cols .content-block-wrapper:before {
        bottom: -30px;
    }
    .news-title {
        font-size: 1.8em;
    }
    .news-intro p,
    .news-intro li {
        font-size: 1.5em;
    }
}

@media (max-width: 400px) {
    h2 {
        font-size: 2em;
    }
    p {
        font-size: 1.4em;
    }
    .news-title {
        margin-bottom: 10px;
        font-size: 1.6em;
    }
    .news-intro p,
    .news-intro li {
        font-size: 1.4em;
    }
    .pagination a,
    .pagination span {
        font-size: 1.5em;
        margin: 0 5px;
    }
    .content-cols .content-block-wrapper:before {
        bottom: -25px;
    }
}

@media (max-width: 350px) {
    .content-cols .content-block-wrapper:before {
        bottom: -20px;
    }
}


/* New design */

.icon-text-blocks {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.icon-text-block {
    /* display: flex;
      justify-content: space-between;
      align-items: center;*/
    display: block;
    width: 45%;
}


/*  .icon-text-block:nth-child(2n+2) .text-col,
  .icon-text-block:nth-child(2n+2) .text-col p {
      text-align: right;
  }*/

.icon-col {
    position: relative;
    /* width: 35%;
      padding-bottom: 32%;*/
    padding-bottom: 77.7%;
    width: 85%;
    margin: auto;
}

.icon-col img {
    position: absolute;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center center;
    object-position: center center;
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
}

.text-col,
.text-col p {
    /* width: 60%;*/
    text-align: center;
}

.text-col h2 {
    color: #f5b702;
    font-size: 2.8em;
    font-weight: 700;
    text-transform: uppercase;
}

.text-col p {
    font-size: 2em;
    color: #5b5b5b;
    margin-bottom: 1%;
}

.it-num {
    font-size: 4.5em;
    font-weight: 700;
    color: #1A181B;
}

.s-icon-rows {
    text-align: center;
    margin-bottom: 5%;
}

.s-icon-row {
    display: inline-block;
    vertical-align: top;
    width: 32%;
    margin-right: 1%;
    margin-bottom: 5%;
    text-align: center;
}

.row-1-3 {
    width: 32%;
}

.s-icon-row:nth-child(4),
.s-icon-row:last-child {
    margin-right: 0;
}

.s-icon {
    max-width: 110px;
    margin: 0 auto 1%;
}

.s-heading {
    font-size: 1.6em;
    font-weight: 700;
    color: #1A181B;
}

.page-title {
    margin-bottom: 40px;
    font-weight: 600;
    overflow: hidden;
}

.page-title h2 {
    display: inline-block;
    position: relative;
    padding-bottom: 20px;
    padding-right: 30px;
    font-weight: 700;
    font-size: 2.4em;
    text-align: left;
    color: #1A181B;
}

.page-title h2:after {
    display: block;
    position: absolute;
    content: '';
    left: 100%;
    bottom: 26px;
    width: 3000px;
    height: 3px;
    background-color: #1A181B;
}

.content-introduction {
    background-color: #f5f5f5;
}

.content-introduction .wrapper {
    max-width: 1015px;
    margin: 0 auto;
}

.content-introduction .page-title {
    margin-bottom: 0;
}

.content-introduction p {
    /* max-width: 670px;*/
    margin: 0 auto;
    font-size: 2em;
}

.content-accordion {
    background-color: #f5f5f5;
}

.accordion-row {
    background-color: #ebebeb;
    border-left: 3px solid transparent;
    border-top: 1px solid #888;
    margin-top: 1em;
}

.accordion-row:last-child {
    border-bottom: 1px solid #888;
}

.accordion-row.active {
    border-left: 3px solid #f5b702;
    background-color: #fff;
}

h3.accordion-icon {
    position: relative;
    font-size: 1.8em;
    font-weight: 700;
    padding: 15px 25px;
    padding-right: 70px;
    cursor: pointer;
}

h3.accordion-icon:hover {
    background-color: #ffe69e;
}

h3.accordion-icon.active:hover {
    background-color: #f5b702;
}

.accordion-icon:after {
    position: absolute;
    display: block;
    top: 50%;
    right: 0;
    width: 40px;
    height: 40px;
    vertical-align: middle;
    background-image: url(https://webarchive.lib.cuhk.edu.hk/20241031170442oe_/http://www.uc.cuhk.edu.hk/wp-content/uploads/scholarships/arrow-down.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    content: "";
}

.active.accordion-icon.table-heading:after {
    background-image: url(https://webarchive.lib.cuhk.edu.hk/20241031170442oe_/http://www.uc.cuhk.edu.hk/wp-content/uploads/scholarships/arrow-up.png);
    content: "";
}

.active.accordion-icon:after {
    background-image: url(https://webarchive.lib.cuhk.edu.hk/20241031170442oe_/http://www.uc.cuhk.edu.hk/wp-content/uploads/scholarships/arrow-up.png);
    content: "";
}

.accordion-details {
    display: none;
    padding: 15px 25px;
    padding-right: 70px;
    padding-bottom: 50px;
}

.accordion-details ul,
ul.fa-list {
    list-style: disc;
    padding-left: 20px;
}

.accordion-details p {
    font-size: 1.6em;
}

.accordion-details li,
.fa-list li {
    font-size: 1.6em;
    margin-bottom: 0.5em;
}

.accordion-details li ul {
    margin-top: 2%;
}

.accordion-details li li {
    font-size: 0.9em;
}

.f-table {
    margin: 20px 0;
    border-bottom: 1px solid #888;
}

.f-table-row {
    display: flex;
    width: 100%;
    background-color: #fcf5df;
    border: 1px solid #888;
    border-bottom: 0;
}

.ftr-col {
    padding: 10px 15px;
}

.ftr-col p {
    font-size: 1.6em;
    text-align: left;
}

.ftr-col:first-child {
    width: 25%;
    border-right: 0;
    font-weight: 700;
    border-right: 1px solid #888;
}

.ftr-col:last-child {
    width: 75%;
}

.page-template-page-scholarships-financial-aid .header,
.page-template-page-scholarships-news-new .header,
.search-results .header,
.page-template-page-search-scholarship-new .header {
    position: relative;
    padding-bottom: 14.58%;
}

.page-template-page-scholarships-financial-aid .header-bottom,
.page-template-page-scholarships-news-new .header-bottom,
.search-results .header-bottom,
.page-template-page-search-scholarship-new .header-bottom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    z-index: 1;
}

.hostel-details-banner:before {
    position: absolute;
    display: block;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.14);
    z-index: 1;
}

.hostel-details-banner {
    display: flex;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    /* background-image: url(/20241031170442oe_/https://www.uc.cuhk.edu.hk/wp-content/themes/images/yellow-bg.jpg);*/
    background-image: url(images/scholarship-banner-2.jpg);
}

.hdb-left {
    position: absolute;
    /* width: 50%;
      max-width: 600px;*/
    width: 100%;
    margin: auto;
    right: 50%;
    height: 100%;
    background-position: right;
    z-index: 2;
}

.hdb-left .site-title {
    position: absolute;
    top: 60%;
    width: 100%;
    left: 50%;
    padding-right: 30px;
    line-height: 1.2;
    padding: 0 10px;
    color: #fff;
    font-size: 5em;
    font-weight: 800;
    text-align: center;
    text-shadow: 1px 1px 2px rgb(105 47 0 / 60%);
    text-transform: uppercase
}

.hdb-right {
    position: absolute;
    right: 0;
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-position: right center;
    background-image: url(https://webarchive.lib.cuhk.edu.hk/20241031170442oe_/https://www.uc.cuhk.edu.hk/wp-content/uploads/facilities/BH-aspect-ratio-100-40.jpg);
    z-index: 1;
}

h2.fa-heading {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 0;
    margin-top: 2em;
}

h3.fa-heading {
    font-size: 1.8em;
    margin: 0 0 1em;
    font-weight: 700;
    color: #63566a;
}

.accordion-rows {
    position: relative;
    overflow: hidden;
    margin-bottom: 5em;
}

.accordion-rows .page-title {
    margin-bottom: 0;
}

.table-row.heading .table-td {
    font-size: 1.6em!important;
}

.accordion-icon.active {
    background-color: #f5b702;
}

.accordion-icon.table-heading.active {
    background-color: #faf9f3;
}

@media (max-width: 1500px) {
    .hdb-left .site-title {
        font-size: 4em;
    }
}

.header-top {
    padding: 25px 0;
}

.home-site-title {
    display: inline-block;
    padding: 0 10px;
    color: #FFF;
    font-size: 8em;
    font-weight: 800;
    text-align: center;
    text-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    line-height: 1;
}

.flex {
    display: flex;
}

.flex>div:first-child {
    margin-right: 12%;
}

.pagination {
    position: relative;
    width: 100%;
    list-style-type: none;
    overflow: hidden;
    margin: 20px auto;
}

.pagination span,
.pagination a,
.pagination li {
    display: inline-block;
    vertical-align: middle;
    text-decoration: none;
    width: auto;
    color: #000;
    font-weight: 400;
}

.pagination .page-item.active a,
.pagination .page-item.active span {
    font-weight: 700;
    font-size: 2em;
}

.pagination a:hover {
    color: #000;
}

.cs-container-1 {
    padding: 0;
    margin-bottom: 40px;
    background-color: #FFF;
    padding: 40px;
}

.cs-container-1 p {
    color: #000;
    text-align: justify;
}

.cs-row {
    position: relative;
    max-width: 800px;
}

.table-wrapper {
    overflow: visible;
}

.table-wrapper .table {
    width: 100%;
}

.cs-category {
    display: inline-block;
    width: 100%;
    vertical-align: top;
}

.cs-category:last-child {
    margin-bottom: 15px;
}

.cs-category input,
.cs-category span {
    color: #000;
}

.table {
    display: table;
    table-layout: fixed;
    font-size: 8px;
}

.table-td input {
    width: 15px;
    height: 15px;
}

.table-row {
    display: table-row;
}

.table-td {
    display: table-cell;
    vertical-align: top;
    min-width: 100px;
    padding: 10px;
}

.table-td.target {
    display: none;
}

.table-row.heading .table-td {
    font-size: 1.8em;
    font-weight: 700;
    color: #000;
}

.table-td.heading {
    font-size: 1.8em;
    font-weight: 700;
    color: #000;
    padding: 20px 0 10px 0;
}


/*.table-td.heading2 {font-size:1.8em;font-weight:700;color:#FFF;padding: 50px 0 10px 0;}*/

.table-td.heading.mobile {
    display: none;
}

.table-row.heading.cl-entry .table-td {
    color: #000;
}

.cl-entry .text {
    font-size: 1.6em;
    color: #000;
}


/*.cs-awards .reset {
  display: inline-block;
  position: relative;
  top: 0;
  padding: 10px 60px 15px 60px;
  color: #FFF;
  background-color: #777;
  font-size: 2.4em;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  transition: top 0.3s ease-out;
}*/

.search-results .accordion-row {
    position: relative;
    vertical-align: top;
    background-color: #fff;
    /*float: left;
  display: inline-block;*/
    /* border: 1px solid #e5e4dd !important;*/
    z-index: 2;
}

.search-results .accordion-row.active {
    background-color: #faf9f3;
}

.table-heading {
    padding: 10px;
}

.accordion-row.last {
    margin-right: 0;
}

.accordion-row.year_of_study {
    width: 66%;
}

.accordion-row.year_of_study .cs-category {
    float: left;
}

.search-results .accordion-row {
    border-top: 0;
}

.search-results .accordion-icon {
    position: relative;
    display: inline-block;
    width: 100%;
    font-size: 1.8em;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    cursor: pointer;
}

.accordion-details {
    display: none;
    width: calc(100% + 2px);
    margin-left: -1px;
    background-color: #faf9f3;
    border: 1px solid #e5e4dd;
    border-top: 0;
    padding: 15px 15px;
}

.accordion-row.index3 {
    z-index: 3;
}

.accordion-row.index4 {
    z-index: 4;
}

.accordion-row.index5 {
    z-index: 5;
}

.accordion-row.index6 {
    z-index: 6;
}

.accordion-row.index7 {
    z-index: 7;
}


/*.accordion-row .accordion-icon:after {
  display: block;
  position: absolute;
  content: '\25BE';
  top: 8px;
  right: -15px;
  font-size: 1.4em;
  line-height: 1;
  transition: all 0.2s ease-in;
} 

.accordion-row.active .accordion-icon:after {
  top: 10px;
  -ms-transform: rotate(-180deg);
  transform: rotate(-180deg);
  transition: all 0.2s ease-out;
}*/

.table-td.department,
.accordion-row.department {
    display: none;
}

.table-td.faculty {
    display: none !important;
}

@media screen and (max-width: 830px) {
    .table-row.cl-entry {
        display: block;
        text-align: left;
    }
    .table-row.heading {
        display: none;
    }
    .table-row.cl-entry .table-td.mobile.heading {
        display: inline-block;
        vertical-align: middle;
        width: 150px !important;
        font-size: 1.7em;
        color: #000;
        padding: 10px 10px 10px 0;
        margin-top: 0;
    }
    .table-row.cl-entry .table-td {
        display: inline-block;
        vertical-align: middle;
        width: calc(100% - 180px) !important;
        padding: 10px 0;
        margin: 0;
    }
    .cs-container .cs-submit,
    .cs-container .cs-awards {
        float: none;
        display: inline-block;
        width: 49%;
        padding-right: 0;
    }
    .cs-container .cs-awards {
        padding-right: 20px;
    }
    .cs-awards .reset,
    .cs-submit input {
        padding: 5px 20px 5px 20px;
        font-size: 2em;
    }
    .cs-awards .reset:hover,
    .cs-submit input:hover {
        top: -10px;
        transition: top 0.3s ease-in;
    }
}

@media screen and (max-width: 700px) {
    .accordion-row {
        width: 100%;
        margin-right: 0;
    }
    .accordion-row.year_of_study {
        width: 100%;
        margin-right: 0;
    }
}

@media screen and (max-width: 500px) {
    .table-row.cl-entry .table-td.mobile.heading {
        width: 120px;
    }
    .table-row.cl-entry .table-td {
        width: calc(100% - 130px);
    }
    .accordion-row.year_of_study .cs-category {
        width: 100%;
    }
}


/* Jun 19 styling */

.search-block-wrapper {
    max-width: 1200px;
}

.table-row.accordion-rows {
    display: flex;
}

.scholarship_type {
    margin-right: 0;
    background-color: #faf9f3;
}

.table-heading {
    background-color: #fff;
}

.table-heading.accordion-icon:after {
    display: none;
}

.table-row .accordion-details {
    position: relative;
    display: block;
    width: 100%;
    border: 0;
    margin-left: 0;
}

.cs-category input,
.cs-award input,
.cs-category span,
.cs-award span {
    font-size: 1.6em;
}

.cs-category input,
.cs-award input {
    width: 16px;
    height: 16px;
}

.scholarship_type {
    margin-bottom: 0;
}

.table-row.accordion-rows {
    margin-bottom: 0;
}

.cs-container-2 .cs-row {
    margin-bottom: 2em;
}

.cs-category label,
.cs-award label {
    font-size: 0.9em;
}

.cs-category span {
    padding-top: 0;
    padding-left: 22px;
}

.scholarship_type {
    border-left: 0!important;
}

.search-rows .accordion-row {
    width: 20%;
    background-color: #fbf9f4;
    border-left: 1px solid #e5e4dd;
    border-bottom: 0;
}

.scholarship_type:last-child {
    border-right: 1px solid #e5e4dd;
}

#searchform .cs-row {
    max-width: 100%;
}

.cs-category {
    padding-right: 5px;
}

@media screen and (max-width: 1024px) {
    .table-row.accordion-rows {
        display: block;
    }
    .search-rows .accordion-row,
    .accordion-row.year_of_study {
        width: 100%;
        margin-bottom: 2em;
    }
    .table-row .accordion-details {
        display: none;
    }
    .table-heading.accordion-icon:after {
        display: block;
    }
    .table-td.accordion-row {
        width: 100%;
        border-left: 0;
        border-bottom: 1px solid #e5e4dd!important;
    }
}

.copyright {
    color: #1A181B;
}

.s-icon-rows:last-child .s-icon-row {
    width: 24%;
}


/* ///// */

.text .color-box {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 10px;
}

.text .color-box.color-admission {
    background-color: red;
}

.text .color-box.color-academic {
    background-color: blue;
}

.text .color-box.color-goal {
    background-color: green;
}

.text .color-box.color-athletics {
    background-color: yellow;
}

.text .color-box.color-community {
    background-color: orange;
}

.text .color-box.color-person {
    background-color: grey;
}

a.btn.yellow.news-button {
    font-size: 1.6em;
    margin-right: 20px;
}

.news-title {
    display: block;
    font-size: 3em;
    font-weight: 700;
    color: #f5b702;
    margin-bottom: 1em;
}

@media (max-width: 1200px) {
    .home-site-title {
        font-size: 6em;
    }
}

@media (max-width: 1000px) {
    .home-site-title {
        font-size: 4em;
    }
}

@media (max-width: 768px) {
    .home-site-title {
        font-size: 2.8em;
    }
    .icon-text-blocks {
        flex-wrap: wrap;
    }
    .icon-text-block {
        display: block;
        width: 100%;
        max-width: 350px;
        margin: 0 auto 3em;
    }
    .header-left {
        position: absolute;
        top: 9px;
    }
    .s-icon-row,
    .s-icon-rows:last-child .s-icon-row {
        width: 48%;
    }
    .s-icon {
        max-width: 80px;
    }
    .hdb-left .site-title {
        font-size: 2.8em;
    }
    .wrapper {
        width: 90%;
    }
    .page-template-page-scholarships-financial-aid .header,
    .page-template-page-scholarships-news-new .header,
    .search-results .header,
    .page-template-page-search-scholarship-new .header {
        padding-bottom: 136px;
    }
    .hdb-left .site-title {
        top: 47%;
        font-size: 2.8em;
    }
    .cl-entries {
        padding: 0;
    }
    .hostel-details-banner {
        background-position: right 50% top;
    }
    .bottom-text .flex {
        flex-wrap: wrap;
    }
    .flex>div:first-child {
        margin-bottom: 3em;
    }
    .hdb-left .site-title {
        top: 50%;
        font-size: 2.3em;
    }
    h3.accordion-icon {
        font-size: 1.6em;
        padding: 15px 15px;
        padding-right: 50px;
    }
    .accordion-icon:after {
        width: 25px;
        height: 25px;
        background-size: 16px;
    }
    .ftr-col p,
    .accordion-details p {
        font-size: 1.5em;
    }
    .ftr-col:first-child {
        width: 35%;
    }
    .ftr-col:last-child {
        width: 65%;
    }
    .it-num {
        font-size: 3em;
    }
    .content-introduction p {
        font-size: 1.6em;
    }
    .search-results .accordion-icon {
        margin-bottom: 0;
    }
}

@media (max-width: 425px) {
    .home-site-title {
        font-size: 2.3em;
        line-height: 1.3;
    }
    .header-left {
        top: 8px;
    }
    .it-num {
        font-size: 3em;
    }
    .s-icon {
        max-width: 75px;
    }
    .s-icon-row,
    .s-icon-rows:last-child .s-icon-row {
        width: 100%;
        margin: 0 0 3em 0;
    }
    .page-template-page-scholarships-financial-aid .header,
    .page-template-page-scholarships-news-new .header,
    .search-results .header,
    .page-template-page-search-scholarship-new .header {
        padding-bottom: 140px;
    }
    .f-table-row {
        flex-wrap: wrap;
    }
    .ftr-col:first-child {
        border-right: 0;
        background-color: #f6e4b1;
    }
    .ftr-col:first-child,
    .ftr-col:last-child {
        width: 100%;
    }
    .news-title,
    .content-text-and-image h3 {
        font-size: 2.5em!important;
    }
    .table-row.cl-entry .table-td.mobile.heading,
    .table-row.cl-entry .table-td {
        width: 100% !important;
    }
    .table-row.cl-entry .table-td {
        padding-top: 0;
    }
}