/* Universal */
.carousel img {
    width:100%;
    height:auto;
}
img {
    max-width:100%;
    height:auto;
}

.dropdown-menu .dropdown-item {
    padding:0;
}
.dropdown-menu .dropdown-item a {
    padding:.25rem 1.5rem;
    display:block;
}

.bg_ucsd_navy {background-color:#182b49}
.bg_ucsd_gold {background-color:#C69214}

.ucsd_navy {color:#182B49}
.ucsd_blue {color:#006A96}
.ucsd_gold {color:#C69214}
.ucsd_yellow {color:#FFCD00}
.ucsd_cyan {color:#00C6D7}
.ucsd_orange {color:#FC8900}

.text_white {color:#FFF}

a.btn {
    border-radius:.5rem !important;
}
.btn_brown {
    background-color:#C69214;
    color:#FFF;
}
.btn_gold {
    background-color:#FFCD00;
    color:#484949 !important;
}
.btn_gold:hover {
    background-color:#FFF;
}
.btn_yellow {
    background-color:#FFCD00;
    color:#FFF;
}
.btn_yellow:hover {
    background-color:#C69214;
}
.btn_blue {
    background-color:#006A96;
    color:#FFF;
}
p,h1,h2,h3,h4,h5,span {
    word-wrap:break-word;
}
div[id^="accordion"] .card {
    border-radius:0;
    border:none;
    margin-bottom:.25rem;
}
div[id^="accordion"] .card-header {
    padding:0;
    background-color:#e5e5e5;
    border-radius:0;
}
div[id^="accordion"] .card-header > * {
    padding:1rem 1.5rem;
    margin-bottom:0;
    width:100%;
    text-align:left;
    color:#006a96;
    white-space:normal;
}
div[id^="accordion"] .card-header > *:hover {
    color:#182b49;
    text-decoration:none;
}
div[id^="accordion"] .card-header > *::after {
    content:" ▾";
    color:transparent;
}
div[id^="accordion"] .card-header > *:hover::after {
    content:" ▾";
    color:inherit;
}
.card-header p {
    margin-bottom:0;
}
.alert-wrapper {
    position:static;
}
.table-borderless tr {
    border:0;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color:transparent;
}
img.float-left {
    margin-right:15px;
    margin-bottom:15px;
}
/* Carousel */
div[class*="block-views-blockcarousel"] {
    width:100%;
}
.carousel {
    width:100%;
}
.view-carousel .view-content.row {
    margin:0;
}
/* Page Title */
.block-page-title-block {
    margin-top:45px;
    margin-bottom:30px;
}
/* Coronavirus Header */
#navbar-top {
    padding:0;
}
#navbar-top > .container {
    max-width:100%;
    padding:0;
}
.region-top-header {
    width:100%;
}
.region-top-header > div:first-child {
    /* background-color:#c69214; */
    background-color:#EB0000;
    padding:30px 0;
}
.region-top-header > div:nth-child(2) {
    background-color:#182b49;
    padding:10px 0;
}
.region-top-header * {
    color:#000;
}
.region-top-header > .block {
    width:100%;
}
.region-top-header p {
    margin-bottom:0;
}
.region-top-header a:hover {
    color:#000;
}
.region-top-header > div:last-child a strong {
    letter-spacing:1px;
}
/* CKEditor Help Tabs */
.cke_dialog_body * {
    white-space:normal;
}





/* Text Image */
.image_text {
    position:relative;
    color:#FFF;
}
.image_text_container {
    position:absolute;
    width:100%;
}
.image_text_container {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    display:flex;
    flex-wrap:wrap;
}
.image_text a {
    color:#FFF;
}
.image_text_background p {
    margin:0;
}
.image_text_background img {
    width:100%;
}
.image_text_top .image_text_container {
    align-items:flex-start;
}
.image_text_middle .image_text_container {
    align-items:center;
}
.image_text_bottom .image_text_container {
    align-items:flex-end;
}
.image_text .displayed_text, .image_text .hover_text {
    width:100%;
    padding:10px;
}
.hover_text {
    opacity:0;
    transition:.3s all ease-in-out;
}
.hover_text p {
    margin-bottom:0;
}
.image_text:hover .displayed_text, .image_text:hover .hover_text {
    opacity:.9;
}
.image_text_bg_blue .displayed_text, .image_text_bg_blue .hover_text {
    background-color: rgba(0,106,150,.9);
}
.image_text_bg_black .displayed_text, .image_text_bg_black .hover_text {
    background-color: rgba(0,0,0,.7);
}







/* Captioned Images */
.captioned_img {
    position:relative;
}
.captioned_img .caption {
    position:absolute;
    width:100%;
    bottom:0;
    margin-bottom:0;
}
.captioned_img > p:last-child {
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
}
.captioned_img > p:last-child a {
    width:100%;
    height:100%;
    display:block;
}
.ckeditor_bootstrap_modal .modal_trigger {
    cursor:pointer;
}
.ckeditor_bootstrap_modal .modal_text {
    display:none;
}



/* Header */
.dropdown-menu {
    top:90%;
}
.dropdown-menu .dropdown-item.active a {
    color:#FFF;
}




/* Footer */
footer {
    margin-top:60px;
}
#block-jacobsschoolfooter {
    width:100%;
    text-transform:uppercase;
}
#block-jacobsschoolfooter * {
    color:#FFF;
}
#block-jacobsschoolfooter ul {
    list-style:none;
    padding-left:0 !important;
}
#block-jacobsschoolfooter ul li {
    margin-bottom:7px;
}
#block-jacobsschoolfooter .social_media_links li {
    display:inline-block;
    margin-right:10px;
}
.site-footer__bottom {
    margin-top:0;
    border:none;
}





/* Search */
.node_search-results p {
    margin-bottom:0;
}
.path-search h2 {
    font-size:1.25rem;
    margin-top:2rem;
}
.path-search .search-help-link {
    display:none;
}




@media (max-width:767px) {
    .region-top-header * {
        text-align:center;
    }
}
