/* Gallery auto redirect if only have 1 sub-gallery  */
body.page-node-601 {
     display: none;
}






@media (min-width: 1200px) {
    .view .pagination {
        width: 70%;
        margin: 0 auto;
    }
}

.view-id-news,
.view-id-newsletters,
.view-id-events, 
.view-id-annual_report {
    padding-top: 10px;
}



.node--type-landing-page .node--view-mode-full .node__content .layout {
    padding-top: 0;
}


.node--type-landing-page.cityu-layout-has-views .layout--twocol-section--50-50 .layout__region--first .field--type-image img,
.field--name-field-user-picture img {
    margin: 1px 0;
    -moz-box-shadow: 2px 2px 5px 1px #ccc;
    -webkit-box-shadow: 2px 2px 5px 1px #ccc;
    box-shadow: 2px 2px 5px 1px #ccc;
}

.node--type-landing-page.cityu-layout-has-views .layout--threecol-33-34-33 .views-row header {
    display: none;
}

.node--type-landing-page.cityu-layout-has-views .layout--threecol-33-34-33 .views-row .node__content {
    margin: 15px 0;
}


.node--type-landing-page.cityu-layout-has-views .block-views .layout--twocol-section {
    padding: 15px 25px !important;
    border: 1px #f5e4c4 solid;
    background-color: #fff;
}

.node--type-landing-page.cityu-layout-has-views .block-views .style-2 .layout--twocol-section {
    padding-bottom: 0 !important;
    border-bottom: none;
}





.node--type-landing-page.cityu-layout-has-views .block-views .layout--twocol-section .field--name-field-cityu-news-thumbnail img, 
.node--type-landing-page.cityu-layout-has-views .block-views .layout--twocol-section .field--name-field-cityu-event-thumbnail img {
    margin-bottom: -30px;
}

.node--type-landing-page.cityu-layout-has-views .block-views .layout--twocol-section .field--name-field-cityu-news-thumbnail::after, 
.node--type-landing-page.cityu-layout-has-views .block-views .layout--twocol-section .field--name-field-cityu-event-thumbnail::after {
    content: '';
    display: block;
    position: relative;
    bottom: 0;
    width: 100%;
    background-image: url(../images/news_bottom_graphic.svg);
    background-size: cover;
    height: 30px;
    background-repeat: no-repeat;
}

.node--type-landing-page.cityu-layout-has-views .block-views .layout--twocol-section .field--name-field-cityu-news-date, 
.node--type-landing-page.cityu-layout-has-views .block-views .layout--twocol-section .field--name-field-cityu-event-date  {
    margin: 0;
}

.node--type-landing-page.cityu-layout-has-views .block-views .layout--twocol-section .block-field-blocknodecityu-newsfield-cityu-news-date, 
.node--type-landing-page.cityu-layout-has-views .block-views .layout--twocol-section .block-field-blocknodecityu-newsfield-cityu-event-date {
    width: 100%;
    padding-bottom: 15px;
}

.node--type-landing-page.cityu-layout-has-views .block-views .layout--twocol-section .block-field-blocknodecityu-newsfield-cityu-news-date time, 
.node--type-landing-page.cityu-layout-has-views .block-views .layout--twocol-section .block-field-blocknodecityu-newsfield-cityu-event-date time  {
    text-transform: none;
    letter-spacing: normal;
    font-size: 20px;
    color: #000;
}

.node--type-landing-page.cityu-layout-has-views .block-views .layout--twocol-section .block-field-blocknodecityu-newstitle, 
.node--type-landing-page.cityu-layout-has-views .block-views .layout--twocol-section .block-field-blocknodecityu-eventtitle {
    width: 100%;
}
.node--type-landing-page.cityu-layout-has-views .block-views .layout--twocol-section .block-field-blocknodecityu-eventtitle {
    padding: 10px 0;
}


.node--type-landing-page.cityu-layout-has-views .block-views .layout--twocol-section .block-field-blocknodecityu-newstitle h1, 
.node--type-landing-page.cityu-layout-has-views .block-views .layout--twocol-section .block-field-blocknodecityu-eventtitle span {
    padding: 5px 0;    
}

.node--type-landing-page.cityu-layout-has-views .block-views .layout--twocol-section .block-field-blocknodecityu-newstitle h1,
.node--type-landing-page.cityu-layout-has-views .block-views .layout--twocol-section .block-field-blocknodecityu-newstitle h1 a,  
.node--type-landing-page.cityu-layout-has-views .block-views .layout--twocol-section .block-field-blocknodecityu-eventtitle span,
.node--type-landing-page.cityu-layout-has-views .block-views .layout--twocol-section .block-field-blocknodecityu-eventtitle span a {
    font-size: 20px;
    color: #bd8846;
    text-transform: none;
    font-weight: bold;
    line-height: inherit;
}




.node--type-landing-page.cityu-layout-has-views .block-views .layout--twocol-section .field--name-field-cityu-news-url, 
.node--type-landing-page.cityu-layout-has-views .block-views .layout--twocol-section .field--name-field-cityu-event-website, 
.node--type-landing-page.cityu-layout-has-views .block-views .layout--twocol-section .more-link {
    padding-top: 30px;
}

.node--type-landing-page.cityu-layout-has-views .block-views .layout--twocol-section .field--name-field-cityu-news-url a, 
.node--type-landing-page.cityu-layout-has-views .block-views .layout--twocol-section .field--name-field-cityu-event-website a, 
.node--type-landing-page.cityu-layout-has-views .block-views .layout--twocol-section .more-link a {
    color: #bf165e;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: normal;
    line-height: 1rem;
    padding-right: 8px;
    text-transform: uppercase;
}






.node--type-landing-page.cityu-layout-has-views .layout--threecol-33-34-33 .blazy--view {
    padding-top: 5px;
}

.node--type-landing-page.cityu-layout-has-views .layout--threecol-33-34-33 .blazy--view .grid__content header {
    display: none;
}

.node--type-landing-page.cityu-layout-has-views .layout--threecol-33-34-33 .blazy--view .grid.list-group-item {
    border: none;
    padding: 10px;
    background-color: transparent;
}

.node--type-landing-page.cityu-layout-has-views .layout--threecol-33-34-33 .blazy--view .grid__content article {
    padding: 0;
    margin: 0;
    border: none;
}

.node--type-landing-page.cityu-layout-has-views .layout--threecol-33-34-33 .blazy--view .grid__content .node__content {
    padding: 0;
    margin: 0;
}

.node--type-landing-page.cityu-layout-has-views .layout--threecol-33-34-33 .blazy--view .grid__content .node__content::after {
    content: '';
    display: block;
    position: initial;
    z-index: 5;
    bottom: 0;
    width: 100%;
    height: 30px;
    background-image: url(/foundation/sites/g/files/asqsls6436/themes/site/cityu_subtheme_2019/images/news_bottom_graphic.svg);
    background-repeat: no-repeat;
    background-position-y: bottom;
    background-size: cover;
    background-color: #fff;
    border-left: 1px #f5e4c4 solid;
    border-right: 1px #f5e4c4 solid;
}


.node--type-landing-page.cityu-layout-has-views .layout--threecol-33-34-33 .blazy--view .grid__content .layout__region--first {
    padding: 20px 30px 10px 5px;
}
@media (max-width: 999px) {
    .node--type-landing-page.cityu-layout-has-views .layout--threecol-33-34-33 .blazy--view .grid__content .layout__region--first {
        padding: 10px;
    }
}


.node--type-landing-page.cityu-layout-has-views .layout--threecol-33-34-33 .blazy--view .grid__content .layout__region--second {
    padding-top: 30px; 
    padding-right: 15px;
    padding-bottom: 5px;
}

.node--type-landing-page.cityu-layout-has-views .layout--threecol-33-34-33 .blazy--view .node__content .field--name-field-date {
    text-transform: none;
    letter-spacing: normal;
    font-size: 20px;
    color: #000;
    font-weight: bold;
}

.node--type-landing-page.cityu-layout-has-views .layout--threecol-33-34-33 .blazy--view .node__content .block-field-blocknodenewsletterbody {
    padding: 10px 0 45px;
}


.node--type-landing-page.cityu-layout-has-views .layout--threecol-33-34-33 .blazy--view .node__content .field--name-field-link a,  
.node--type-landing-page.cityu-layout-has-views .layout--threecol-33-34-33 .blazy--view .node__content .file--application-pdf a {
    color: #bf165e;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: normal;
    line-height: 1rem;
    padding-right: 8px;
    text-transform: uppercase;
}




.node--type-landing-page.cityu-layout-has-views .layout--threecol-33-34-33 .style-2 .blazy--view .node__content .block-field-blocknodeannual-reporttitle {
    padding-bottom: 45px;    
}

.node--type-landing-page.cityu-layout-has-views .layout--threecol-33-34-33 .style-2 .blazy--view .node__content .field--name-title {
    text-transform: none;
    letter-spacing: normal;
    line-height: 28px;
    font-size: 20px;
    color: #000;
    font-weight: bold;
}

.node--type-landing-page.cityu-layout-has-views .layout--threecol-33-34-33 .style-2 .blazy--view .node__content .file--application-pdf {
    background-image: none;
    padding-left: 0;
    padding-top: 10px;
}


.node--type-landing-page.cityu-layout-has-views .layout--threecol-33-34-33 .title-style-2 .blazy--view .node__content .field--name-title {
    font-size: 26px;
    color: #bd8846;
    text-transform: none;
    font-weight: bold;
    line-height: 1;
}



.node--type-landing-page.cityu-layout-has-views .field--name-field-cityu-news-url a,
.node--type-landing-page.cityu-layout-has-views .field--name-field-link a,
.node--type-landing-page.cityu-layout-has-views .field--name-field-pdf a {
    display: none;
}




.block-entity-fieldnodebody p,
.field--name-field-cityu-normal-content p,
.block-field-blocknodecityu-normal-pagebody p,
.block-entity-fieldnodefield-cityu-service-description p,
.block-field-blocknodecityu-eventbody p,
.block-field-blocknodepagebody p {
    margin-bottom: 0 !important;
}




/* search function */
body.page-node-1521 .block-field-blocknodelanding-pagetitle {
    text-align: center;
    color: #bf165e;
    background: linear-gradient(to right, #7c257c, #bf165e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -0.4px;
    line-height: 3.125rem;
    padding: 15px 0 0;
}

body.page-node-1521 .node--view-mode-full .node__content {
    min-height: 700px;
    margin-bottom: 0 !important;
}

/***************************************************************************************************************/

.block-views-exposed-filter-blockglobal-search-2-page .views-exposed-form {
    margin: 0 auto;
    padding: 15px 30%;
}
@media (max-width: 999px) {
    .block-views-exposed-filter-blockglobal-search-2-page .views-exposed-form {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.block-views-exposed-filter-blockglobal-search-2-page .js-form-type-textfield {
    width: 70%;
}
.block-views-exposed-filter-blockglobal-search-2-page .form-actions {
    width: 30%;
}
@media (max-width: 999px) {
    .block-views-exposed-filter-blockglobal-search-2-page .js-form-type-textfield {
        width: 80%;
    }
    .block-views-exposed-filter-blockglobal-search-2-page .form-actions {
        width: 20%;
    }
}
@media (max-width: 767px) {
    .block-views-exposed-filter-blockglobal-search-2-page .js-form-type-textfield {
        width: 100%;
    }
    .block-views-exposed-filter-blockglobal-search-2-page .form-actions {
        width: 100%;
        padding-top: 25px;
        text-align: center;
    }
}

/***************************************************************************************************************/

.block-views-exposed-filter-blockglobal-search-2-page .js-form-type-textfield label {
    display: none;
}

.block-views-exposed-filter-blockglobal-search-2-page .js-form-type-textfield input {
    height: 50px;
    border-color: #fff;
}

/***************************************************************************************************************/

.search-activated.search-focus [id*="edit-keyword"],
.search-activated.search-focus #edit-keyword {
    border: 2px solid #d9b572;
}

/***************************************************************************************************************/

.block-views-exposed-filter-blockglobal-search-2-page .form-actions .btn {
    width: auto;
    height: 50px;
    border-radius: 10px;
    padding-left: 30px;
    padding-right: 30px;
    font-size: 20px;
    font-weight: bold;
}

/***************************************************************************************************************/

body.page-view-global-search-2 .section-breadcrumb nav {
    padding-left: 10px;
    padding-right: 10px;
}

body.page-view-global-search-2 #main-wrapper {
    background: #f5f1e5;
    min-height: 700px;
}

#block-exposed-form-global-search-2-page {
    max-width: 1152px;
    margin: 0 auto;
}
@media (max-width: 999px) {
    #block-exposed-form-global-search-2-page {
        max-width: 700px;
    }
}

/***************************************************************************************************************/

#block-exposed-form-global-search-2-page .content {
    padding: 0 30%;
}
@media (max-width: 999px) {
    #block-exposed-form-global-search-2-page .content {
        padding-left: 15px;
        padding-right: 15px;
    }
}

body.page-view-global-search-2 #block-pagetitle-2 {
    max-width: 1152px;
    margin: 0 auto;
    text-align: center;
    padding: 3px 10px;
}
@media (max-width: 999px) {
    body.page-view-global-search-2 #block-pagetitle-2 {
        max-width: 700px;
    }
}

body.page-view-global-search-2 #block-pagetitle-2 .title {
    text-align: center;
    color: #bf165e;
    background: linear-gradient(to right, #7c257c, #bf165e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -0.4px;
    line-height: 3.125rem;
    padding: 15px 0 0;
}

body.page-view-global-search-2 .block-system-main-block {
    max-width: 1152px;
    margin: 0 auto;
    padding: 40px 10px;
}

body.page-view-global-search-2 .block-system-main-block .view-header {
    padding: 15px 0;
}

body.page-view-global-search-2 .block-system-main-block .view-content {
    padding: 0;
    background-color: #fff;
    border-bottom: 1px solid #eee5bc;
}

body.page-view-global-search-2 .block-system-main-block .views-row {
    padding: 22px;
    border-top: 1px solid #eee5bc;
    border-left: 1px solid #eee5bc;
    border-right: 1px solid #eee5bc;
}

body.page-view-global-search-2 .block-system-main-block .views-row .result_node_type {
    color: #d9b572;
}

body.page-view-global-search-2 .block-system-main-block .views-row .result_title,
body.page-view-global-search-2 .block-system-main-block .views-row .result_title a {
    font-size: 20px;
    font-weight: bold;
    color: #2e2e2e;
}
body.page-view-global-search-2 .block-system-main-block .views-row .result_title a:hover {
    color: #585858;
}

body.page-view-global-search-2 .block-system-main-block .views-row .result_title_with_link {
    display: none;
}