/**
 * @file
 * Subtheme specific CSS.
 */
/* Universal Themes */
:root {
    --navy: #182b49;
    --blue: #00629b;
    --blue2: #004268;
    --yellow: #ffcd00;
    --teal: #00c6d7;
    --teal2: #49a5d3;
    --white: #ffffff;
    --sand: #f5f0e6;
    --green: #6E963B;
}

h1 {
    font-family: 'Teko', 'sans-serif';
    font-weight: 700;
    /* text-transform: uppercase; */
    font-size: 4rem;
    color: #00629b;
}

h2 {
    font-family: 'Teko', 'sans-serif';
    color: #182B49;
    font-size: 4rem;
    /* text-transform: uppercase; */
    font-weight: 700;
}

h3 {
    font-family: 'Roboto', 'sans-serif';
    color: #182B49;
    font-weight: 400;
    font-size: 1.75rem;
}

p {
    font-family: 'Roboto', 'sans-serif';
}

li {
    font-family: 'Roboto', 'sans-serif';
}

p .btn {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.yellow_button {
    background-color: #FFCD00;
    color: #182B49;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.yellow_button:hover {
    background-color:#ffffff;
    color: #182B49;
    outline: 1px solid #182B49;
}

.navbar-nav .nav-link.active, .navbar-nav .show>.nav-link {
    color: #fff;
}
.alert-wrapper {
    position:static;
}
.alert-wrapper svg {
    display:none;
}
.alert-wrapper h2 {
    font-size:1rem;
}

/** Discovery Layout UI */
.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-resizable.ui-dialog-off-canvas.ui-dialog-position-side {
  bottom: 0 !important;
  width: 50% !important;
  left: unset !important;
  right: 0 !important;
}

/* Slice */
.slice-row {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.slice-row a {
    text-decoration: underline;
    line-height: 3rem;
}

.slice_bg_navy,
.slice_bg_blue,
.slice_bg_teal,
.slice_bg_brown,
.slice_bg_gold,
.slice_bg_yellow,
.slice_bg_sand,
.navy-back,
.blue-back,
.teal-back {
    color: var(--white);
    background-position: top right;
    background-repeat: no-repeat;
    background-size: cover;
}

.slice_bg_navy a,
.slice_bg_blue a,
.slice_bg_teal a,
.navy-back a,
.blue-back a,
.teal-back a {
    color: #efefef;
}

.slice_bg_navy a:hover,
.slice_bg_blue a:hover,
.slice_bg_teal a:hover,
.navy-back a:hover,
.blue-back a:hover,
.teal-back a:hover {
    color: var(--green);
}

.slice_bg_navy,
.navy-back {
    background-color: var(--navy);
}

.slice_bg_blue,
.blue-back {
    background-color: var(--blue);
}

.slice_bg_teal,
.teal-back {
    background-color: var(--teal);
}

.slice_bg_grey,
.grey-back {
    background-color: #efefef;
}

.img-back-c {
    position: absolute;
    top: 0;
}

.img-back {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 600px;
    position: absolute;
    top: 0;
    width: 100%;
    background-blend-mode: overlay;
}

.slice-row .btn-default {
    margin: 3rem 0;
    letter-spacing: .08em;
    font-weight: 500;
    padding: 0.8em 1.5em;
}

.offset-float-r {
    float: right;
}

.slice_header {
    color: #484949;
}


.slice_link a {
    background-color: var(--yellow);
    color: #484949;
    padding: 0.8em 1.5em;
    border-radius: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-block;
    font-size: 0.875rem;
}

.slice-block .view-content>div {
    min-height: 435px;
    position: relative;
}

.slice_container {
    /* min-height:435px; */
    /* height:435px; */
    /* Too thin. Let's go higher */
    /* height: 450px; */

    position: relative;
}

.slice_container.slice_short {
    height: fit-content;
}

.slice_container.slice_tall {
    height: 800px;
}

.slice_container.slice_fill_content {
    height: auto;
}

.slice_background_image_container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.slice_background_image_container .row {
    height: 100%;
}

.slice_background_image,
.slice_background_image_container .views_img {
    height: 100%;
    background-repeat: no-repeat;
}

.slice_background_image_container .bg_cover .slice_background_image {
    background-size: cover;
}

.slice_content_container {
    /* height: 100%; */
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.slice_content_container .slice_content {
    z-index: 4;
}

.slice_content_container .container {
    /* height: 100%; */
}

.slice_content_container>.container>.row {
    /* height: 100%; */
    align-items: center;
}

.slice_full_text {
    position: relative;
}

.slice_bg_darken {
    background-color: rgba(0, 0, 0, 0.3);
}

.slice_bg_darken h1,
.slice_bg_darken h2,
.slice_bg_darken .slice_content>p {
    text-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

.slice_bg_darken .slice_content>p .btn {
    text-shadow: none;
}

.slice_content h1 {
    line-height: 3.75rem;
}

.slice_bg_gray {
    background-color: #f5f0e6;
}

.slice_bg_navy {
    background-color: var(--navy);
}

.slice_bg_blue {
    background-color: var(--blue);
}

.slice_bg_brown {
    background-color: #c69214;
}

.slice_bg_sand {
    background-color: #F5F0E6;
}

.slice_bg_gold {
    background-color: #ffcd00;
}

.slice_bg_yellow {
    background-color: #f3e500;
}

.slice_background_image_container.slice_bg_navy {
    background-color: var(--navy);
}

.slice_bg_navy h1,
.slice_bg_navy h2,
.slice_bg_navy h3,
.slice_bg_navy h4,
.slice_bg_navy p,
.slice_bg_blue p {
    color: #fff;
}

.slice_background_image_container.slice_bg_gold {
    background-color: var(--yellow);
}

.slice_container.slice_bg_navy .slice_header {
    color: #fff;
}

.slice_container.slice_bg_navy .slice_content {
    color: #fff;
}

.slice_container.slice_bg_blue .slice_header {
    color: #fff;
}

.slice_container.slice_bg_blue .slice_content {
    color: #fff;
}

.slice_container.slice_bg_gold .slice_header {
    color: #484849;
}

.slice_container.slice_bg_gold .slice_content {
    color: #484849;
}

.slice_container.slice_bg_gold .slice_link a {
    background-color: var(--blue);
    color: #fff;
}

.bg_position_center>div {
    background-position: center;
    background-size: auto 100% !important;
    background-repeat: no-repeat;
}

.bg_position_center {
    text-align: center;
}

.bg_y_position_top>div {
    background-position: top;
}

.bg_y_position_bottom>div {
    background-position: bottom;
}

.bg_y_position_center>div {
    background-position: center;
}


main#content.main-content {
    margin-top:2rem;
}

/* Header and Navigation Bar */
.navbar-toggler-icon {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
#navbar-main {
    background-color: #00629B !important;
}
#navbar-main .nav-item .nav-link {
    padding:15px;
}

.header > .container {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
nav.menu--main {
    margin-left:0 !important;
}

.header > .container .navbar-brand img {
    width: 100%;
    max-width: 250px;
    height: auto;
}

div#CollapsingNavbar {
    justify-content: start !important;
}

.navbar-brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
}

.navbar-brand h1 {
    font-family: 'Roboto', 'sans-serif';
    color: #182B49;
    font-weight: 400;
    font-size: 1.75rem;
    text-transform: initial;
    margin-bottom: 0;
}

/* Sidebar Menu */
.sidebar_first nav.block {
    background-color: rgba(182, 177, 169, .25);
    padding: 1.5rem;
    border: 1px solid #b6b1a9;
    border-radius: 0px;
    margin-top: 2rem;
}
.sidebar_first nav.block h2 {
    font-size: 1.2rem;
    text-transform: capitalize;
    font-weight: 700;
    border: none;
    margin: 0;
    padding: 0;
    padding-bottom: 1.2rem;
}
.sidebar nav .nav {
    display: block;
}

.sidebar .block {
    
    border-radius: 1rem;
}

.sidebar .block ul.menu {
    list-style: none;
    padding: 0;
}

.sidebar .block ul li a {
    color:#182B49 !important
}
.sidebar_first nav.block {
    background-color: rgba(182, 177, 169, .25);
    padding: 1.5rem;
    padding-bottom: 0;
    border: 1px solid #b6b1a9;
    border-radius: 10px;
}
.sidebar_first nav ul {
    list-style: none;
    padding: 0 1rem;
}
.sidebar nav .nav {
    margin: 0 -1rem;
}
.sidebar_first nav ul.nav>li.nav-item {
    width: 100%;
    border-top: 1px solid #b6b1a9;
}
.sidebar nav>h2 {
    font-family: Roboto;
}
.sidebar_first nav ul.nav>li.nav-item>a {
    font-size: 1rem;
    font-weight: 300;
    color: #000;
    display: block;
    width: 100%;
    padding: 1.2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar_first nav ul.nav>li.nav-item>a:hover {
    text-decoration: underline;
    color: #182B49;
}

.sidebar_first nav ul.nav>li.nav-item>a:focus {
    outline: 3px solid #0056b3;
    outline-offset: 2px;
}
    
/* What is this for??? */
/* .sidebar nav > ul.nav > li:first-child > a {
    text-transform: uppercase;
    font-size: 1.2rem;
}

.sidebar nav > ul.nav > li:first-child > a {
    border-bottom: 2px solid #ccc;
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
}
*/

/* Front Page */
.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.carousel-caption {
  position: absolute;
  inset: 0 10% 0 10%;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  height: auto; 
}
.carousel-caption h1 {
    color:#fff;
    text-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}
.carousel-caption p {
    font-size: 3rem;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 0;
    font-weight: 700;
    text-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}
@media (max-width: 1200px) {
  .carousel-caption h1 {
    font-size: 3.25rem;
  }
}
@media (max-width: 983px) {
  .carousel-caption h1 {
    font-size: 2.75rem;
  }
}
@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 2.25rem; 
  }
}
@media (max-width: 480px) {
  .carousel-caption h1 {
    font-size: 1.75rem;
  }
}
.field--type-image img,
.field--name-field-user-picture img {
  margin: 0 0 0;
}

/* #block-welcometothedepartmentofbiochemistryatucsandiego {
    background: url("/sites/default/files/2025-09/GradientMap-Warm.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 15rem;
    padding-bottom: 15rem;
} */

#block-prospectivestudentsbanner {
    background: url("/sites/default/files/2025-09/Academics-and-research-52-UCSanDiego-ErikJepsen.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 15rem;
    padding-bottom: 15rem;
}

#block-homepagedepartmentrankings {
    background: url("/sites/default/files/2025-09/ranking_banner.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

#block-homepagedepartmentrankings img {
    max-width:300px;
}

#block-homepagedepartmentrankings h2 {
    color: #fff;
    font-weight: 400;
}

/* Individual CTA card */
.cta-card {
  min-width: 0;
}

.cta-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.cta-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
  transform: scale(1);
  transition: transform 0.4s ease;
}

.cta-card:hover .cta-card__image,
.cta-card:focus-within .cta-card__image {
  transform: scale(1.08);
}

.cta-card:hover .yellow_button,
.cta-card:focus-within .yellow_button {
  background-color: #ffffff;
  color: #182B49;
  outline: 1px solid #182B49;
}

.cta-card__body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(45, 46, 49, 0.15);
  z-index: 10;
  transition: background-color 0.5s ease;
}

.cta-card__body::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 55%;
  background: linear-gradient(transparent, hsl(214, 67%, 38%));
  z-index: 10;
}

.cta-card__content {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem 0 1rem;
  width: 100%;
}

.cta-card__content progress {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 5% 1rem;
  width: 100%;
}

.cta-card__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.24), 0 0 4px rgba(0, 0, 0, 0.12);
}

@media (max-width: 992px) {
  .layout.row.no-gutters.layout-builder__layout > .js-layout-builder-block,
  .layout.row.no-gutters.layout-builder__layout > div {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}

/* Accordions */
.accordion-header .accordion-button {
    text-decoration: none;
    font-family: 'Roboto', 'sans-serif';
    font-weight:500;
}

.accordion a.accordion-button.collapsed {
    background: #00629B;
    color: #fff;
}

.accordion .accordion-button:not(.collapsed) {
    background:#182B49;
    color: #fff;
}

.accordion-button::after {
    filter: invert(1);
}

/* Graduates */
#block-views-bootstrap-graduate-program-carousel-block-1 .slice_content_container {
    text-align: center;
    flex-wrap: nowrap;
}

#views-bootstrap-graduate-program-carousel-block-1 .carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    max-height: 350px;
    object-position: top;
}

/* Research Page */
.col-lg .field--name-field-media-image,
.col-lg .field--type-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border-radius: 1.75rem 1.75rem 0 0;
  border-top: #f2f2f2 solid 3px;
  border-left: #f2f2f2 solid 3px;
  border-right: #f2f2f2 solid 3px;
  border-bottom: none;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.15);
}
.col-lg .field--type-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
}
.col-lg:hover .field--type-image img {
  transform: scale(1.05);
}

.research_button {
    background-color: #182B49;
    color: #ffffff;
    width: 100%;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-radius: 0 0 1.75rem 1.75rem;
    transition: background-color 0.3s ease, color 0.3s ease, outline 0.3s ease;
}
.col-lg:hover .research_button {
  background-color: #ffffff;
  color: #182B49;
  outline: 1px solid #182B49;
}

/* Research Programs - 4 button boxes w/ gradient backgrounds, removed for now */
/* .research_programs_container h2 {
    margin-top: 2rem;
}

.research_programs_container .row > div a.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 5rem;
    color: #fff;
    border-radius: 1.75rem;
    width: 100%;
    height: 200px;
    font-size: 1.5rem;
    text-transform: initial;
    letter-spacing: 0;
    line-height: 1;
    border: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
}

.research_programs_container .row > div a.btn:hover {
    text-decoration: underline;
}

.research_programs_container .row > div:nth-child(1) a.btn {
    background-image: url("/sites/default/files/2025-09/panel_gradient_1.png");
}

.research_programs_container .row > div:nth-child(2) a.btn {
    background-image: url("/sites/default/files/2025-09/panel_gradient_2.png");
}

.research_programs_container .row > div:nth-child(3)  a.btn {
    background-image: url("/sites/default/files/2025-09/panel_gradient_3.png");
}

.research_programs_container .row > div:nth-child(4)  a.btn {
    background-image: url("/sites/default/files/2025-09/panel_gradient_4.png");
} */

/* Students */
.block-block-content6d755361-4894-42f5-8543-a1618f2cfd13 .yellow_button {
    width: 25rem;
}

.page-node-1 .layout--twocol-section {
    flex-wrap: nowrap;
}

/* Undergraduates */
@media (max-width: 575px) {
.page-node-6 .slice_content_container  .slice_content p, .page-node-6 .slice_content_container  .slice_content h3 {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 600;
}
.page-node-6 .slice_content_container  .slice_content p .btn {
    color: #3b3b3b;
    text-shadow: none;
}
.slice_background_image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}
.slice_background_image {
    position: relative;
}
.slice_content_container {
    position: relative;
    z-index: 1;
}
.slice_bg_sand {
    background-color: transparent;
}
}

/* Photo Placeholder */
.block-block-content5dee2486-5052-4611-af53-58d9567dc131 {
    display: flex;
    justify-content: center;
}

.block-block-content5dee2486-5052-4611-af53-58d9567dc131 img {
    border-radius: 1.75rem;
}

/* Faculty */
@media (min-width: 768px){
div.profile-container{
	padding-right:1em;
    border:1.5px solid #D9D9D9;
    border-radius:1rem;
    margin-bottom:2rem;
    overflow:hidden;
}
}
div.profile-container img {
    border-radius: 12px 0px 12px 0px;
    width: 100%;
    object-position: top;
    object-fit: cover;
}

#block-profilesblock h3::after {
    /* content: "";
    position: absolute;
    left: 0;
    bottom: -0.8rem;
    width: 7.5rem;
    height: 0.3rem;
    background-color: gold;
    border-radius: 1rem; */
}

div.profile-container h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 1rem;
    position: relative;
    display: inline-block;
    margin-bottom: 1.25rem;
}

.faculty-button {
    background-color: #1B5588;
    color: #ffffff;
    padding-left: 5rem;
    padding-right: 5rem;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    min-width: 45px;
    align-items: center;
    justify-content: center;
}
.faculty-button:hover {
    background-color: #182B49;
    color: #ffffff;
    outline: 1px solid #ffffff;
}

#block-profilesblock p {
    /* margin-bottom: 1rem !important; */
}

/* Footer */
#block-footer img {
    width: 100%;
    height: auto;
    max-width: 150px;
}

.site-footer {
    background-color:#00629B !important;
}

.site-footer p, .site-footer p a {
    color: #fff !important;
    font-family: 'Roboto', 'sans-serif';
}

.site-footer__bottom {
    border-top: 0;
}

@media (min-width: 992px) {
    .navbar {
        padding: 0;
    }

    

    .dropdown-menu {
        --bs-dropdown-link-active-bg: #004268;
    }

    .navbar .nav-item:hover,
    .navbar .nav-item:active,
    .navbar .nav-item .dropdown-item .dropdown-item.active {
        background: #004268;
    }

    .navbar .dropdown-menu {
        background: #004268;
        border: none;
        border-radius: unset;
    }

    #navbar-main .dropdown-menu a {
        padding: 6px 20px;
        display: block;
    }

    .navbar .dropdown-item {
        padding: 0 !important;
    }

    .navbar .dropdown-menu .dropdown-item a {
        color: #fff;
        text-decoration: none;
        width: 100%;
        padding: 0.5rem;
        display: block;
    }

    .navbar .dropdown-menu .dropdown-item a:hover {
        background: #fff;
        color:#182B49;
    }
}

@media (max-width: 1200px) {
    .navbar-brand h1 {
        font-size: 1.5rem;
        white-space: break-spaces;
    }
}

@media (max-width: 992px) {
    .navbar-brand {
        display: block;
    }

    .navbar-brand h1 {
        margin-top: 1.25rem;
    }

    #block-welcometothedepartmentofbiochemistryatucsandiego {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .block-block-content6d755361-4894-42f5-8543-a1618f2cfd13 .yellow_button {
        width: 20rem;
    }
}

@media (max-width: 768px) {
    #block-welcometothedepartmentofbiochemistryatucsandiego h1 {
        font-size: 4rem;
    }

    #block-welcometothedepartmentofbiochemistryatucsandiego h2 {
        font-size: 2.5rem;
    }

    #block-homepagedepartmentrankings {
        background: #182B49;
    }

    #block-homepagedepartmentrankings .us_news_logo *,
    #block-homepagedepartmentrankings .ranking_information * {
        text-align: center;
    }

    .page-node-1 .layout--twocol-section {
        display: block;
    }
}

@media (max-width: 576px) {
    .block-block-content6d755361-4894-42f5-8543-a1618f2cfd13 .yellow_button {
        width: 22rem;
    }

    #block-homepagedepartmentrankings img {
        width: 200px;
    }

    #block-homepagedepartmentrankings h2 {
        font-size: 3rem;
    }
}


@media (max-width:991px) {
    /* .path-frontpage .view-carousel h1 {
        font-size: 2.5rem;
        line-height: 2.5rem;
    } */

    #navbar-main .nav-item .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

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

    #navbar-main nav {
        width: 100%;
    }

    .nav-item.ml-auto {
        display: none;
    }

    .search-block-form {
        position: static;
        display: block;
    }

    /* .homepage_news_container {
        margin-bottom: 4rem;
    }

    .site-footer__top .region {
        width: 70%;
    }

    .region-footer-second {
        display: none;
    }

    .region-footer-third {
        display: none;
    }

    footer .nav {
        display: block;
        margin-bottom: 2rem;
    } */
}



.page-node-52 h2 {
    font-size:2rem;
    margin-bottom:0;
}
.page-node-52 h3 {
    font-size:1.25rem;
}