  /**
 * @file
 * Subtheme specific CSS.
 */

/* Please keep this as simple as possible. Less is more */


/* Universal */
@font-face {
    font-family: 'Teko';
    src: url('/sites/default/files/fonts/Teko-Light.ttf');
    font-weight: 300;
}

@font-face {
    font-family: 'Teko';
    src: url('/sites/default/files/fonts/Teko-Regular.ttf');
    font-weight: 400;
}

@font-face {
    font-family: 'Teko';
    src: url('/sites/default/files/fonts/Teko-Medium.ttf');
    font-weight: 500;
}

@font-face {
    font-family: 'Teko';
    src: url('/sites/default/files/fonts/Teko-SemiBold.ttf');
    font-weight: 600;
}

@font-face {
    font-family: 'Teko';
    src: url('/sites/default/files/fonts/Teko-Bold.ttf');
    font-weight: 700;
}

* {
    font-family: Roboto;
}

h1,
h2,
h1 span {
    font-family: Teko !important;
    font-weight: 700;
}

h1,
h2,
h3 {
    color: #000;
}

h1 {
    font-size: 4rem;
    text-transform: uppercase;
    margin: 0;
}

.content h1.title,
#block-givingdonorstoriestitle .content h1 {
    text-align: center;
    color: #fff;
}

.content h2 {
    font-weight: 700;
}

h4 {
    font-weight: 300;
}

h5 {
    font-weight: 300;
    line-height: 2rem;
}

.content p {
    font-size: 1.25rem;
}

div[id^="accordion"] .card-header {
    color: #F5F0E6;
}

div[id^="accordion"] .card-header>*::after {
    display: none;
}

.carousel-indicators li {
    background-color: #FFCD00;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
}

.carousel-indicators .active {
    background-color: #182B49;
}

.block-page-title-block,
#block-givingdonorstoriestitle {
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-image:
        url(/sites/default/files/groups/all/img/UCSDBrand-GritCircleTrio-Turquoise-Blue-Yellow.png),
        url(/sites/default/files/groups/all/img/UCSDBrand-GritCircleDuo-Magenta-Turquoise.png),
        url(/sites/default/files/groups/all/img/UCSDBrand-GritCircleTrio-Turquoise-Magenta-Blue.png),
        linear-gradient(to bottom, #00629B, #182B49);
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-size: 210px, 175px, 230px, cover;
    background-position: -35px calc(100% + 70px), 125px calc(100% + 105px), calc(100% + 35px) calc(100% + 90px), center center;
}

.img-responsive img {
    width: 100%;
    height: auto;
}

img.float-left {
    margin: 0 15px 15px 0;
}

.card-header {
    background-color: #49A5D3;
}

.card-header * {
    color: #FFF;
}

.accordion .card {
    margin-bottom: 0 !important;
}

.accordion .card-header {
    padding: 0;
}

.accordion h5 {
    background-color: #fff;
    border-radius: 0;
    color: #000 !important;
    font-size: 2.25rem;
    font-weight: 600;
    font-family: Teko;
    padding: 6px 1rem !important;
}

.accordion h5.collapsed:hover {
    background-color: #F5F0E6;
}

.accordion h5 {
    background-color: #F5F0E6;
}

.accordion h5.collapsed {
    background-color: #fff;
}

.accordion h5 i {
    color: #000;
}

.accordion .show .card-body {
    background-color: #F5F0E6;
    border-bottom: 1px solid #ccc;
}

a.btn {
    background-color: #FFCD00;
    color: #000;
    font-weight: 700;
    border-radius: .5rem;
    padding-left: 2rem;
    padding-right: 2rem;
    width: 250px;
    height: 50px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}

i span {
    display: none;
}

.ucsd_yellow a {
    color: #FFCD00;
}






/* Multiple Pages */
.page-node-28 .main-content .content .equal-row,
.page-node-24 .main-content .content .custom-row,
.page-node-26 .main-content .content .custom-row {
    background-color: #fff;
}

.page-node-23 .card,
.page-node-27 .card-body,
.page-node-24 .card,
.page-node-29 .card,
.page-node-2372 .card {
    border: none;
    border-radius: 0;
}

.page-node-24 .content p,
.page-node-28 .content p,
.page-node-24 .content h2 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.page-node-24 .content .accordion p,
.page-node-28 .content .accordion p {
    padding-left: 0;
    padding-right: 0;
}







/* Header */
#navbar-main img {
    max-width: 150px;
}

#navbar-main .navbar-brand {
    max-width: 250px;
    font-size: 1.75rem;
    line-height: 1.75rem;
    white-space: normal;
    /* color:#006a96; */
    color: #00629B;
    transition: .3s all ease-in-out;
}

#navbar-main .navbar-brand:hover {
    color: #182b49;
}

#navbar-main nav {
    /* background-color:#006A96; */
    background-color: #00629B;
}

#navbar-main nav .nav-link {
    padding-top: 15px;
    padding-bottom: 15px;
}

#navbar-main nav .nav-link:hover {
    background-color: #004268;
}

#navbar-main img {
    max-width: 250px;
    height: auto;
}

#navbar-main .navbar-collapse {
    z-index: 2;
}

#block-jsoelogobluegold {
    padding-top: 40px;
    padding-bottom: 40px;
}

#block-jsoelogobluegold p {
    margin: 0;
}






/* Homepage */
.page-node-22 h5 {
    line-height: 2rem;
}

.page-node-22 .carousel .btn {
    margin: 0;
}

.page-node-22 .carousel .row>div:first-child {
    display: flex;
    align-items: center;
}

.page-node-22 .carousel .row>div:last-child::after {
    content: " ";
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #fff 10%, transparent 30%);
    position: absolute;
    top: 0;
    left: 0;
}

.carousel-caption {
    position: static;
    padding-left: 2rem;
    /* background-color:rgba(0,0,0,0.7); */
    /* padding:1rem; */
    /* border-radius:5px; */
}

.page-node-22 .carousel-caption {
    color: #000;
    text-align: left;
}

.page-node-22 h2 {
    font-size: 3rem;
    line-height: 3rem;
    text-transform: uppercase;
}

.page-node-22 .card {
    border: none;
    max-height: 455px;
    overflow: scroll;
}

.page-node-22 .card-body {
    padding: 0;
}

.supporting_jacobs_school {
    background-color: #F5F0E6;
}

.supporting_jacobs_school p:last-child {
    margin-bottom: 0;
}

.supporting_jacobs_school .btn {
    margin: 0 auto;
}

.page-node-22 .node__content {
    margin: 0;
}

.page-node-22 h3 {
    font-family: Teko;
    font-size: 2rem;
    font-weight: 700;
}










/* Message from the Dean */
.region-featured-bottom-first {
    width: 100%;
}

#block-deansinnovationfund {
    text-align: center;
    margin-top: 0 !important;
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-image: url(/sites/default/files/groups/all/img/UCSDBrand-GritCircleTrio-Turquoise-Blue-Yellow.png), url(/sites/default/files/groups/all/img/UCSDBrand-GritCircleDuo-Magenta-Turquoise.png), url(/sites/default/files/groups/all/img/UCSDBrand-GritCircleTrio-Turquoise-Magenta-Blue.png), linear-gradient(to bottom, #F5F0E6, #F5F0E6);
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-size: 210px, 175px, 230px, cover;
    background-position: -35px calc(100% + 70px), 125px calc(100% + 105px), calc(100% + 35px) calc(100% + 90px), center center;
}

#block-deansinnovationfund .btn {
    margin: 0 auto;
}

.page-node-23 .content .row>div:last-child p {
    font-size: 1rem;
}





/* Giving Opportunities */
.page-node-28 .list-group>a {
    background-color: rgba(0, 0, 0, .75);
    color: #FFF;
    border-radius: 0;
    border: none;
}

.page-node-28 .list-group>a.active {
    /* background-color:#006a96; */
    background-color: #00629B;
}

.page-node-28 .tab-content {
    background-color: rgba(0, 0, 0, .75);
    padding: 1.5rem;
    color: #fff;
}

.page-node-28 .tab-content a {
    color: #FFCD00;
}






/* Donor Stories */
.page-node-25 .carousel .carousel-caption {
    position: static;
    background-color: transparent;
    text-align: left;
}

.node--type-page-giving .main-content .block-page-title-block {
    background: none;
    padding: 0;
}

.node--type-page-giving .main-content .block-page-title-block h1.title {
    text-align: inherit;
    color: inherit;
    font-size: 3em;
}


/* News and Events */
.drupal_news_block {
    padding: 2rem;
}

.drupal_news_block hr {
    border-color: #ccc;
}

.img_frame::after {
    content: " ";
    width: 100%;
    height: 100%;
    background: linear-gradient();
    background-color: #fff;
}





/* Contact Page */
.page-node-26 .main-content .content .card .custom-row {
    background-color: transparent;
}

.page-node-26 .main-content .content .card {
    border: 1px solid #747678;
    border-radius: .5rem;
}

.page-node-26 .main-content .content .card img {
    border-radius: .4rem 0 0 .4rem;
}

.page-node-26 .main-content .content .card-body {
    padding: 0;
}

.page-node-26 .main-content .content .card-body h4 {
    font-family: Teko;
    margin-top: 2rem;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0;
}

.page-node-26 .main-content .content .card-body h5 {
    font-family: Teko;
    color: #747678;
    font-size: 1.75rem;
    font-weight: 600;
}

.page-node-26 .main-content .content .card-body a {
    color: #000 !important;
}

.page-node-26 .main-content .content .card-body .row>div:first-child p {
    margin: 0;
}







/* Footer */
footer {
    margin-top: 0 !important;
}

footer .nav-item {
    display: block;
    width: 100%;
}

footer.site-footer section nav h2 {
    border-bottom: none;
    /* Overwriting default */
    color: #4E98C7;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 20px;
}

footer .nav-link {
    color: #FFF;
    padding: .3125rem 1rem;
    padding-left: 0;
}

footer .content ul li {
    float: left;
}

footer.site-footer .content ul li a {
    border: none;
    padding: 0;
    margin-right: 15px;
    text-indent: 0;
}


/* Elements */
.view-frontpage {
    display: none;
}










/* Giving Opportunities */
.card-header {
    color: #FFF;
    width: 100%;
}

.card-header button {
    width: 100%;
    text-align: left;
}

.responsive_embed {
    position: relative;
    padding-bottom: 75.25%;
    /* padding-top:35px; */
    height: 0;
    overflow: hidden;
}

.responsive_embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}





/* History */
.year_links {
    border-bottom: 1px solid #B6B1A9;
    padding-bottom: .5rem;
}

.year_links a {
    margin-right: 4rem;
    color: #747678;
    font-family: Teko;
    font-weight: 700;
}




/* Donor Stories */
.page-node-25 h2 {
    font-size: 2.75rem;
}

.page-node-25 h3 {
    font-family: Teko;
    font-weight: 700;
    font-size: 2.25rem;
    color: #747678;
}

.page-node-25 .card-body {
    padding: 0;
}

.page-node-25 .card .row>div:first-child p {
    margin: 0;
}

.page-node-25 .card .row>div:last-child p {
    padding-top: 1rem;
    padding-right: 1rem;
}





/* FAH Virtual Events */
.page-node-2372 main.main-content {
    background-color: #fff;
}

.page-node-2372 main.main-content .custom-row img {
    max-width: 200px;
    height: auto;
}






/* One University Collaboration */








/* Retired Faculty / Meet Our Founding Faculty and Emeriti */
.faculty_title_banner {
    background: linear-gradient(180deg, #182B49 0%, #00639B 100%);
    margin-bottom: 2.5rem;
}

.limited_width,
.page-node-5254 h1.title {
    margin-left: auto;
    margin-right: auto;
}

.page-node-5254 h1.title {
    text-align: left;
}

.faculty_title_banner .container,
.faculty_title_banner+.container,
.limited_width,
.giving-retired-faculty .view-content,
.page-node-5254 h1.title {
    max-width: 960px;
}

.faculty_title_banner * {
    color: #fff;
}

.faculty_title_banner h2 {
    font-weight: 900;
    font-size: 3rem;
    margin-bottom: 0;
    margin-top: 3rem;
}

.faculty_title_banner h3 {
    font-weight: 400;
    font-size: 1.5rem;
}

.faculty_title_banner .row>div:first-child {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.faculty_title_banner img {
    float: right;
    max-width: 215px;
    width: 100%;
}

.giving-retired-faculty .view-content {
    margin-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
}

.giving-retired-faculty .view-header p {
    font-size: 1rem;
    text-align: center;
}

.giving-retired-faculty .view-header hr {
    border-color: #000;
}

.giving-retired-faculty h5 {
    font-family: 'Roboto Condensed';
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0;
    line-height: normal;
    margin-left: 5px;
}

.giving-retired-faculty h5 a {
    color: #000;
}

.giving-retired-faculty h5 a:hover {
    color: #00629b;
    text-decoration: none;
}

.giving-retired-faculty h5+p {
    color: #747678;
    font-size: 1rem;
    margin-left: 5px;
}

.page-node-5254 #block-bootstrap-giving-page-title {
    margin-bottom: .5rem;

}

.page-node-5254 h1.title {
    text-transform: none;
}

.page-node-5254 #main {
    background-image: none !important;
}

.page-node-5254 .node .field--type-image {
    float: none !important;
    margin: 0 !important;
}

.hover_card {
    position: relative;
    margin: 5px;
    margin-bottom: .75rem;
    border-radius: .4rem;
    overflow: hidden;
}

.hover_card>div:nth-child(2) {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0;
    width: 100%;
}

.hover_card:hover>div:nth-child(2) {
    z-index: 1;
    opacity: 1;
}

.hover_card:hover div {
    transition: all .5s ease-in-out;
}

.hover_card img {
    margin-bottom: 0;
    min-width: 100%;
    width: 100%;
}

.hover_card .hover_show {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    /* display: flex; */
    align-items: center;
    /* background-color:rgba(0,0,0,0); */
    opacity: 1;
    color: #00629B;
    z-index: 3;
    /* background:linear-gradient(180deg, rgba(0,0,0,0) 52.4%, #000000 100%); */
    background-color: rgba(0, 98, 155, 0.2);
}

.hover_card:hover .hover_show .link_container span {
    /* background-color:rgba(0,0,0,0.5); */
    opacity: 1;
}

.hover_card .hover_show .link_container {
    width: 100%;
    height: 100%;
    /* position:relative; */
    position: absolute;
    bottom: 0;
    text-align: center;
    text-decoration: none;
}

.hover_card .hover_show .link_container * {
    color: #fff;
    text-decoration: none;
}

.hover_card .hover_show .link_container span {
    display: block;
    background: linear-gradient(180deg, rgba(0, 98, 155, 0), rgba(0, 98, 155, 1));
    padding: 1rem;
    position: absolute;
    bottom: 0;
    opacity: 0;
    transition: all .4s ease-in-out;
}

.hover_card .hover_show .link_container div {
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.35);
    margin-bottom: 3rem;
    max-width: 160px;
    padding-left: 0;
    padding-right: 0;
}

.hover_card .hover_show,
.hover_card .hover_show .link_container {
    transition: all .4s ease-in-out;
}

.hover_card .hover_show .link_container .btn:hover {
    background-color: #fff;
    color: #000;
}









/* Footer */
footer.site-footer {
    background-color: #00629B;
}

footer img {
    max-width: 250px;
}






/* @media (min-width: 1400px) {
    .container {
        max-width: 1340px;
    }
} */



@media (max-width:1199px) {
    .carousel h2 {
        font-size: 2rem;
        line-height: 2rem;
    }
}

@media (min-width:992px) {
    #navbar-main .nav-item {
        display: inline-block;
        text-align: center;
    }
}

@media (max-width: 991px) {
    .navbar button {
        /* background-color:#006a96; */
        background-color: #00629B;
        margin-left: 15px;
        margin-bottom: 15px;
    }

    .navbar {
        padding-left: 0;
        padding-right: 0;
    }

    .navbar-expand-lg>.container,
    .navbar-expand-lg>.container-fluid {
        padding: .5rem 1rem;
    }

    .accordion h5 {
        font-size: 2rem;
    }

    .faculty_title_banner img {
        float: none;
    }

    .dropdown-toggle::after {
        display: none;
    }

    #navbar-main .nav-item .nav-link {
        color: #fff !important;
        padding: 1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .page-node-25 .card .row>div:last-child p {
        font-size: 1rem;
    }
}

@media (min-width:768px) {
    #navbar-main {
        flex-flow: row wrap;
        padding: 0;
    }

    #navbar-main .navbar-nav {
        display: block;
    }

    #navbar-main .container {
        flex-wrap: wrap;
    }

    #navbar-main .navbar-collapse {
        width: 100%;
    }

    #navbar-main .nav-item .nav-link {
        color: #FFF;
    }

    #navbar-main .nav-item.dropdown .dropdown-menu {
        text-align: left;
    }

    #navbar-main nav {
        width: 100%;
        /* background-color:#006a96; */
        background-color: #00629B;
        box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.28);
    }

}

@media (max-width:767px) {
    .accordion h5 {
        font-size: 1.2rem;
    }

    .content p {
        font-size: 1rem;
    }

    h1 {
        font-size: 3rem;
    }

    .year_links a {
        margin-right: 1rem;
    }

    .page-node-22 .carousel .row>div:last-child::after {
        display: none;
    }
}

@media (max-width:575px) {
    .page-node-26 .main-content .content .card img {
        width: 100%;
    }

    .page-node-26 .main-content .content .card-body h4 {
        font-size: 1.5rem;
    }

    .page-node-26 .main-content .content .card-body h5 {
        font-size: 1.25rem;
        line-height: 1.25rem;
    }

    .page-node-26 .main-content .content .card-body p {
        font-size: 1rem;
    }

    .page-node-25 .card .row>div:last-child p {
        padding-left: 1rem;
    }
}