﻿body {
    margin: 0;
    padding: 0;
}

hr {
    max-width: none;
    margin: 0;
    margin-bottom: 25px;
    border-bottom: 1px solid black; 
}

h1 {
    font-size: 30px;
    color: #0A599C;
    font-weight: 700;
}

h2 {
    font-size: 26px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 18px;
}

h5 a {
    color: #0A599C;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover {
    color: #5f8dc1;
    text-decoration: underline;
}

.pageMainContentContainer {
    margin-top: 25px;
    margin-bottom: 75px;
    max-width: 1240px;
}


/* Header Desktop Styling */
.headerContainer {
    background-color: #0A599C;
/*    margin: 0px 0px 0px 0px;
*/    max-width: none;
}

.headerContentContainer {
    padding: 0px;
    max-width: 1240px;
    margin: 0px auto 0px auto;
    float: none;
}

.logoContainer {
    padding-left: 0px;
}

.logoContainer img {
    height: 115px;
}

.socialMediaIcons {
    padding-bottom: 15px;
}

.socialMediaIcons img {
    width: 40px;
    height: 40px;
    float: right;
    background-color: transparent;
}

.searchShareContainer {
    padding-right: 0px;
}

.searchShareContainer .large-12 {
    padding-right: 0px;
}

.searchShareContainer img {
    margin-right: 32px;
}

.menu-icon {
    display: none;
}

#gcseContainerDiv input {
    /*background: unset !important;
    background-color: white !important;
    background-image: url('/masterpages/apc/img/search-icon.png') !important;
    background-position: left center !important;*/
    /*background-repeat: no-repeat !important;
    background-size: 100px 40px;*/
    height: 40px !important;
    width: 225px !important;
    background: url(https://www.google.com/cse/static/images/1x/en/branding.png) center no-repeat rgb(255, 255, 255) !important;
}

#gcseContainerDiv input:focus, #gcseContainerDiv input:active {
    background: white !important;
}

#gcseContainerDiv table {
    width: 100px;
    margin: 0;
    float: right;
    border-collapse: separate;
    border-radius: 10px
}

.gsc-control-cse {
    border-color: #0A599C !important;
    background-color: #0A599C !important;
}

.gsc-input-box {
    padding: 0 !important;
    border: none !important;
}

.gsc-search-button {
    display: none;
}

.gsc-input {
    width: 100px;
    padding: 0px !important;
}

.gsib_b {
    display: none;
}

.gsib_a {
    padding: 0px !important;
}

.gsc-input table tbody {
    background-color: #0A599C;
    border: none;
}

.gsc-input table tbody td {
    padding: 0px;
}

.navContainer {
    margin-top: 25px;
    padding: 0px;
    max-width: 1240px;
}

.navBorder {
    border-bottom: 2px solid black;
}

.desktopNav {
    list-style: none;
    display: flex;
    justify-content: space-between;
    margin-left: 0px;
    margin-bottom: 10px;
}

.desktopSubNav {
    list-style: none;
    display: none
}

.desktopNav a {
    color: #0A599C;
    font-weight: 600;
}

.desktopNav li:hover {
    text-decoration: underline #ddd 4px;
    text-underline-offset: 4px;
}

.TopNavContainer {
    background-color: #0A599C;
    width: 100%;
}

.LogoRow {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 15px;
}


.programsNav:hover .desktopSubNav, .peopleNav:hover .desktopSubNav {
    display: block;
    overflow: hidden;
    position: absolute;
    z-index: 2;
    background: white;
    border-radius: 0 0px 0px 0px;
    border-width: 0 1px 1px;
    padding: 10px 15px;
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.5);
    margin-left: 0px
}

.desktopSubNav li {
    padding: 2.5px 0px;
    font-size: 14px;
}

.desktopSubNav li:hover {
    background-color: #ddd;
}


.sliderContainer {
    padding: 0px;
    margin-bottom: 40px;
}

.upcomingEventsContainer {
    padding: 0px;
    margin-top: 45px;
    margin-bottom: 45px;
}

.infoBlockLeftBlack {
    min-width: 300px;
    max-width: 300px;
    color: #231F20;
    background: white;
    background: rgba(0, 0, 0, 0.60) !important;
    background: none;
    left: 10px;
    right: auto;
    top: 66%;
}

* .infoBlock {
    position: absolute;
    top: 30px;
    right: 10px;
    left: auto;
    max-width: 25%;
    background: #FFF;
    padding-bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    overflow: hidden;
    padding: 15px;
    padding-bottom: 0;
    padding-top: 7px;
}

.infoBlockLeftBlack h5 {
    font-size: 14px;
    font-style: italic;
    color: white !important;
}

.infoBlockLeftBlack h5 a {
    display: block;
    padding-top: 10px;
    text-align: left;
    font-size: .9em;
    color: white !important;
}

.rsABlock {
    left: 0;
    top: 150px !important;
    position: absolute;
    z-index: 15;
}

.homePageEvent {
    text-align: center;
}

.homePageEvent a {
    color: #0A599C;
}

.homeEventImage {
    width: 100%;
    margin-bottom: 20px;
}

.newsItemTitle a {
    color: #0A599C;
    font-weight: 600;
}

.newsItemDate {
    font-weight: 700;
}

.eventButtonRow {
    display: none;
}

.event-card {
    margin-bottom: 50px;
}

.event-card-info a {
    color: #0A599C;
    font-weight: 600;
}

.event-card-info p {
    margin-top: 20px;
    font-weight: 600;
}

.news-card-item {
    margin-bottom: 50px;
}

.news-card-info a {
    color: #0A599C;
}

/* Footer Desktop Styling */
.footerContainer {
    background-color: #0A599C !important;
    margin: 0px 0px 0px 0px;
    max-width: none;
}

.centerInfoContainer {
    max-width: 1240px !important;
    margin: 69.5px auto 69.5px auto !important;
}

.centerInfoContainer p, .centerInfoContainer a {
    margin-bottom: 0;
    color: white;
}

.centerTitle {
    text-transform: uppercase;
}

.footerPolicyNote {
    margin-top: 35px;
    font-size: 12px;
}

a.seeMoreBtn:link, a.seeMoreBtn:visited {
    background-color: #0A599C;
    color: white;
    border: 2px solid #0A599C;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

a.seeMoreBtn:hover, a.seeMoreBtn:active {
    background-color: white;
    color: #0A599C;
    border: 2px solid #0A599C;
}

.hover-list {
    list-style: none;
    padding: 0;
}

    .hover-list li {
        background-color: #f1f1f1;
        margin: 5px 0;
        padding: 10px;
        transition: all 0.3s ease;
    }

        .hover-list li:hover {
            background-color: #0A599C;
            color: white;
            transform: translateX(10px);
        }

    .hover-list a {
        color: black;
    }

    .hover-list li a:hover {
        color: white;
    }

    .hover-list a:hover {
        color: white;
    }

.tsUCLAlogo {
    color: #127CB6;
    font-family: "NeueHaasGroteskDisp W02", sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 450;
    line-height: 34px;
    float: left;
}

.tslogo {
    color: #127CB6;
    font-family: "NeueHaasGroteskText W02 Bd", sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 34px;
    float: left;
}

/* GCPI Sub Header Styling */

.subnav-container {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
}

.subnav {
    background-color: #f8f9fa;
    padding: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.nav-logo {
    padding: 5px;
}

    .nav-logo img {
        height: 80px;
        width: auto;
    }

.button-container {
    display: flex;
    gap: 15px;
    flex-grow: 1;
    justify-content: center;
    margin: 0 auto 0 10px;
}

.nav-button {
    padding: 10px 20px;
    min-width: 100px;
    background-color: #0A599C;
    color: white;
    border: 2px solid #0A599C;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    font-family: Arial, sans-serif;
    transition: all 0.3s ease;
}

    .nav-button:hover {
        background-color: white;
        color: #0A599C;
        border: 2px solid #0A599C;
        cursor: pointer;
    }

/* POCA, Taiwan, GCPI Desktop Styling */

.aboutmore-link a {
    font-weight: bold;
    color: #00579b;
    text-decoration: none;
}

.aboutmore-link a:hover {
    color: #5f8dc1;
    text-decoration: underline;
}

.event-abstract {
    font-weight: 500 !important;
}

.event-time {
    font-weight: 500 !important;
    font-style: italic;
}

.resourcesList li {
    list-style-type: none; 
}

.archviedSeriesList li {
    list-style-type: none;
    margin: 5px 0px 5px 0px;
}

/* News Desktop Styling */
.newsItemDateTwo {
    font-style: italic;
    font-size: 14px;
}


#ctl00_MainContentHolder_newsMainList_PageTable a {
    border: 1.5px solid #0A599C !important;
    color: black;
    font-weight: 600 !important;
    padding: 5px 10px !important;
    margin: 5px !important;
}

#ctl00_MainContentHolder_newsMainList_PageTable .large-6 {
    width: 100%;
    text-align: right !important;
    padding: 0px;
}

#ctl00_MainContentHolder_newsMainList_PageTable .large-3 {
    display: none;
}

#ctl00_MainContentHolder_gcpiNewsList_PageTable a {
    border: 1.5px solid #0A599C;
    color: black;
    font-weight: 600;
    padding: 5px 10px;
    margin: 5px;
}

#ctl00_MainContentHolder_gcpiNewsList_PageTable .large-6 {
    width: 100%;
    text-align: right !important;
    padding: 0px;
}

#ctl00_MainContentHolder_gcpiNewsList_PageTable .large-3 {
    display: none;
}

.initial {
    display: none;
}

.active-mobile {
    animation: slide-animation 300ms;
    animation-fill-mode: forwards;
    display: block !important;
    position: fixed;
    background-color: #0A599C;
    width: 100%;
    left: 0;
    right: 0;
    margin-top: 40px;
}

.inactive {
    animation: close-animation 250ms;
    animation-fill-mode: forwards;
    display: none;
}


/* Events Desktop Styling */
.eventsContentContainer {
    padding: 0px 40px 0px 0px;
}

.eventsContentContainer h3 {
    color: #2E6AB1;
}

.eventsContentContainer select {
    width: 640px;
    height: 50px;
    border: 1.5px solid black !important;
    background-position: right !important;
    background-size: 13px 13px;
    padding: 10px !important;
    padding-right: 20px !important; 
}

.eventsFilterContainer {
    border: 1px solid black;
    padding: 10px;
}

.eventsFilterContainer ul {
    margin-left: 35px;
    margin-bottom: 0px;
}

.eventsFilterContainer li {
    padding: 8px 0px;
    font-size: 14px;
}

.eventsFilterContainer a {
    color: black;
}
.eventsFilterContainer table tbody {
    border: none;
}

.eventsFilterContainer table tbody td {
    padding: 1px 1px;
    border-style: hidden;
}

.eventsFilterContainer td a {
    text-decoration-line: underline;
}

#eventListMessage {
    font-size: 30px;
    color: #0A599C;
    font-weight: 700;
    border-bottom: 1px solid black;
    margin-bottom: 25px;
}

.myCalendarTitle {
    margin-bottom: 0px;
}

.myCalendarTitle tr {
    background-color: silver !important;
}

.toggleClass {
    display: none;
}

#searchAndClearTD {
    display: none;
}

.FilterPanel td {
    padding: 0px;
}

.digg-pages .large-3 {
    display: none;
}

.digg-pages .large-6 {
    padding: 0;
    width: 100%;
    text-align: right !important;
}

#ctl00_MainContentHolder_eventsMainList_StoryListUpdatePanel h5 {
    margin-top: 0px !important;
    margin-bottom: 25px !important;
}

#ctl00_MainContentHolder_eventsMainList_PageTable a {
    border: 1.5px solid #0A599C !important;
    color: black;
    font-weight: 600 !important;
    padding: 5px 10px !important;
    margin: 5px !important;
}

/* Multimedia Page Styling */

.title-link {
    color: #2E6AB1;
    font-weight: 600;
}

#ctl00_MainContentHolder_multimediaList_StoryListUpdatePanel h5 {
    margin-top: 0px !important;
    margin-bottom: 25px !important;
}

#ctl00_MainContentHolder_multimediaList_PageTable a {
    border: 1.5px solid #0A599C !important;
    color: black;
    font-weight: 600 !important;
    padding: 5px 10px !important;
    margin: 5px !important;
}

/*.digg-pages a {
    border: 1.5px solid #0A599C !important;
    color: black;
    font-weight: 600 !important;
    padding: 5px 10px !important;
    margin: 5px !important;
}*/


#ctl00_MainContentHolder_multimediaFilter {
    margin-bottom: 25px;
}

.story {
    margin-bottom: 40px;
}

.media-icon {
    color: black;
}

#ctl00_MainContentHolder_multimediaFilter {
    width: 640px;
    height: 50px;
    border: 1.5px solid black !important;
    background-position: right !important;
    background-size: 13px 13px;
    padding: 10px !important;
    padding-right: 20px !important;
    margin-bottom: 40px;
}

/* View Article Styling */
.article-title {
    margin: 0px 0px 30px 0px;
}

.article-img {
    margin: 0px 0px 30px 0px;
}

.article-abstract {
    font-weight: 700;
    margin: 10px 0px 30px 0px;
    font-size: 20px;
    color: black;
}

.article-body {
    padding:0px;
}
.sharingTools {
    display: block !important;
}

.sharingTools hr {
    border-bottom: 0px !important;
}

#ctl00_MainContentHolder_sharingtools1_calendarPanel {
    display: none !important;
    margin: 0 !important;
}

.spotlight {
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    display: inline-flex
}

.sharingTools a.shareLink {
    font-size: 0;
}

.sharingTools a.shareLink i {
    font-size: 36px;
}

.shareLink {
    color: #000 !important;
}

.fa-facebook:before {
    color: #000 !important;
}

.fa-x-twitter:before {
    color: #000 !important;
}

.sub-header {
    font-weight: 700;
}

.mediaPanel {
    margin: 0px !important;
    margin-right: 10px !important;
}

#printTools .large-8 {
    padding: 0px;
}

#printTools {
    max-width: 1240px;
    margin-top: 25px;
}

#ctl00_MainContentHolder_sharingtools2_calendarPanel {
    display: none !important;
    margin: 0 !important;
}

/* Funding Page Styling */

a.titleStyle {
    font-weight: 600;
/*    display: block;
*/    margin: 5px 0px;
    color: #00579b;
}

    a.titleStyle:hover {
        text-decoration: underline;
        color: #5f8dc1;
    }

/* Faculty Page Styling */

.facultyContainer {
    margin-top: -45px;
}

/* Display Person Styling */

.personInfoContainer a {
    color: black;
    text-decoration: underline;
}

/* Display Event Page Styling */

a.eventRegisterBtn {
    background-color: #2774AE !important;
    color: #fff !important;
    padding: 10px 14px !important;
    font-size: 12px;
    font-weight: 700;
    margin-right: 15px;
    border: 2px solid #2774AE;
}

a.eventRegisterBtn:hover {
    background-color: #fff !important;
    color: #2774AE !important;
    padding: 10px 14px !important;
    font-size: 12px;
    font-weight: 700;
    margin-right: 15px;
    border: 2px solid #2774AE;
}

.event-img {
    margin: 30px 0px 5px 0px;
}

.event-content {
    margin: 30px 0px 30px 0px;
}
.abstract {
    font-size: 14px;
    font-style:italic; 
}
/* Support Page Styling */
.button {
    background-color: #2E6AB1;
    color: #FDB247;
    border-radius: 37px;
    margin: 30px 0px 30px 0px;
}

.supportContentContainer h4 {
    text-align: left !important;
    font-weight: 600;
    font-size: 16px;
    margin-top: 30px;
}

#ctl00_MainContentHolder_supportPeople_StoryListUpdatePanel {
    border: 1px solid black;
    margin-bottom: 25px;
    padding: 20px;
}

#ctl00_MainContentHolder_supportPeopleDevelopment_StoryListUpdatePanel {
    border: 1px solid black;
    margin-bottom: 25px;
    padding: 20px;
}

@media screen and (max-width: 450px) {

    .searchShareContainer {
        display: none; 
    }

    .LogoRow {
        padding-top: 0px;
    }

    .logoContainer {
        padding-left: .9375rem !important;
    }

    #gcseContainerDiv {
        display: none;
    }

    .aboutUsHomeContentContainer {
        padding: 0.9375rem !important;
    }

    .hmpgCards {
        padding: 0.9375rem !important;
    }

    .upcomingEventsContainer {
        margin-top:0px;
    }

    .eventsHomeContainer {
        padding: 0.9375rem !important;
    }

    .newsHomeContainer {
        padding: 0.9375rem !important;
        margin-bottom: 0px !important;
    }

    .newsHomeContainer img {
        width: 100%;
        margin-top: 25px;
    }

    .centerInfoContainer {
        margin-right: 0.9375rem !important;
        margin-left: 0.9375rem !important;
    }

    .navContainer {
        display: none !important;
    }

    .pageMainContentContainer .large-12 {
        padding-right: 0.9375rem !important;
        padding-left: 0.9375rem !important;
    }

    .tsUCLAlogo {
        font-size: 39px !important;
    }

    .tslogo {
        font-size: 39px !important;
    }

    .eventsContentContainer {
        padding-right: 0px !important;
    }

    .eventsContentContainer select {
        width: 100%;
    }

    .socialMediaIcons {
        display: none;
    }

    .digg-pages .large-6 {
        text-align: center !important;
    }

    .logoContainer img {
        height: unset;
    }

    .logoContainer {
        width: 75%;
        padding-right: 0px;
    }

    .mobileLinks {
        width: 25%;
        padding-bottom: 20px;
        padding-top: 33px;
        padding-left: 0px;
    }

    .menu-icon {
        display: block;
        float: right;
    }

    .menu a {
        color: white;
    }

    .menu li {
        list-style-type: none;
    }

    .menu ul {
        margin-left: 30px;
    }

    .stickyy {
        position: fixed;
        top: 0;
        z-index: 1000; 
    }

    .newsItemTitle {
        margin-top: 15px;
    }

    .news-card-item {
        margin-bottom: 25px;
    }

    .news-card-info {
        margin-top:10px;
    }

    /* POCA Mobile Styling */

    .news-card-img img {
        width: 100%;
    }

    .seeMoreBtn {
        margin-bottom: 20px;
    }

    .poca-logo {
        padding-left: .9375rem !important;
        padding-right: .9375rem !important;
    }

    .poca-logo-pastprograms {
        padding-left:unset !important;
    }



    /* Taiwan Mobile Styling */
    .event-card-img img {
        width: 100%;
        margin-bottom: 15px;
    }

    .event-card {
        margin-bottom: 25px;
    }

    .tsUCLAlogo {
        font-size:32px !important; 
    }

    .tslogo {
        font-size:32px !important; 
    }

    /* GCPI Mobile Styling */

    .gcpi-logo-mobile {
        margin-bottom:unset !important; 
    }

    .card {
        margin: 2px 0 5px 0 !important;
        width: unset !important;
        height: unset !important;
    }

    .card-section {
        margin-left: unset !important;
    }
    .card-section ul {
        margin-left: unset !important; 
    }

    .subnav {
        padding: 10px;
        flex-direction: column;
        align-items: center;
    }

    .nav-logo img {
        height: 60px;
        margin-bottom: 15px;
    }

    .button-container {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin: 0;
    }

    .nav-button {
        width: 100%;
    }

    .news-card-item {
        height: unset !important;
    }
    /* Events Mobile Styling*/
    .eventsFilterContainer {
        margin-top: 40px;
    }

    /* Multimedia Mobile Styling */

    .story img {
        width: 100%;
        margin-bottom: 15px;
    }

    #ctl00_MainContentHolder_MultimediaFilter {
        margin-bottom: 40px;
    } 

    /* News Mobile Styling */

    #ctl00_MainContentHolder_newsMainList_PageTable .large-6 {
        text-align: center !important;
    }

    /* Faculty Mobile Styling */

    .person-row {
        margin-left: 0px !important;
    }

    #ctl00_MainContentHolder_facultyPagesMain {
        margin-bottom: -5px;
        margin-top: 15px;
    }

    .specialFacultyContainer {
        padding-left: 0.9375rem !important;
        padding-right: 0.9375rem !important;
    }

    .specialFacultyContainer h3 {
        margin-bottom: 15px;
    }

    #ctl00_MainContentHolder_facultyPagesSub {
        margin-bottom: 0px;
        margin-top: 15px;
    }

    /* Display Event Mobile Styling */

    .eventRegisterContainer {
        margin-bottom: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: normal;
    }

    .eventRegisterContainer a {
        margin-bottom: 15px;
    }

    .sharingToolsContainer {
        padding-left: 0px !important;
        padding-right: 0px !important;

    }

    /* Display Person Mobile Styling */

    .personImgContainer {
        width:100%;
        margin-bottom: 15px;
    }

    .personInfoContainer {
        width: 100%;
    }

    .personContent .row {
        margin-bottom: 10px !important;
    }

    /* Support Mobile Styling */
    .supportContentContainer {
        padding-left: 0.9375rem !important;
    }

    .supportPeopleContainer {
        padding-left: 0.9375rem !important;
        padding-right: 0.9375rem !important;
        padding-top: 25px !important;
    }
    .supportContentContainer .button {
        display: block !important; 
    }

    /* Sharing Tools */
    .spotlight {
        gap: 0px;
    }
}


@media screen and (max-width: 415px) {

    .mobileLinks {
        padding-top: 31px;
    }
}

@media screen and (max-width: 390px) {

    .mobileLinks {
        padding-top: 28px;
    }

    .active-mobile {
        margin-top: 40px;
    }
}