:root{
    --trent-a11y-orange: #9e4829;
}
.dropdown-menu {
    width: 100%;
    /* max-width: 250px; */
}

.ribbon-menu ul.dropdown-menu .nav-link {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.9rem;
    text-align: left;
    text-transform: none;
    font-family: 'museo-sans', sans-serif;
}

.content .table td,.content .table th {
    border-top: none;
}

.content table th {
    background-color: #ddebcf;
    border-bottom: 3px solid #ccc;
}

.content table tr:nth-child(odd) {
    background-color: #eef5e7;
}

.content table tr:nth-child(even) {
    background-color: #f2f7f0;
}

.sidebar-navigation ul li li li {
    margin-left: 0;
}

/* .sidebar-navigation ul ul ul a {
    padding-left: 3rem !important;
} */

.sidebar-navigation .menu .menu .menu .nav-item:not(.expanded) a {
    padding-left: 3rem !important;
}

.sidebar-navigation .menu .menu .menu .menu .nav-item:not(.expanded) a {
    padding-left: 4rem !important;
}

.sidebar-navigation .menu .menu .menu .menu .menu .nav-item:not(.expanded) a {
    padding-left: 5rem !important;
}

.field-name-field-page-subtitle {
    font-family: 'Museo Sans W01 500', Arial, sans-serif;
    text-transform: none;
    font-size: 1.5em;
    margin-bottom: 1em;
    color: #517891;
}

.block-featured-link {
    gap: 1rem;
    margin: 0;
    margin-bottom: 2rem;
}

html .footer-container{
    position: static;
}

.featured-link-image {
    max-width: 350px;
    width: auto;
}

.block-featured-link .featured-content {
    padding: 0.5rem 1rem;
}

.blue_theme .btn-trent-outline:hover,
.block-featured-link.blue_theme:hover
{
    background: var(--trent-dark-blue);
}

.blue_theme .btn-trent-outline:not(:disabled):not(.disabled):active {
    background: var(--trent-dark-blue);
    border-color: var(--trent-dark-blue);
}
.black_theme .btn-trent-outline:hover, 
.block-featured-link.black_theme:hover
{
    background: black;
}
.black_theme .btn-trent-outline:not(:disabled):not(.disabled):active {
    background: black;
    border-color: black;
}

.block-featured-link:hover .block-title {
    color: #fff
}
.block-featured-link.black_theme:hover .block-title {
    color: var(--trent-gold)
}

.clearfix:after {
    display: none;
}

.tab-content>.tab-pane.active {
    display: block !important;
}

.sidebar-navigation {
    display: block;
}

.field--label {
    font-weight: bold;
}

.block-field-blocknodepagefield-subtitle h2 {
    font-family: 'Museo Sans W01 500', Arial, sans-serif;
    text-transform: none;
    font-size: 1.5em;
    margin-bottom: 1em;
    color: #517891;
}

/* Styling HR Job postings */
.view-part-time-faculty-posting .views-field,
.view-full-time-faculty-posting .views-field {
    display: inline-flex;
    width: 100%;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.view-part-time-faculty-posting .views-field .views-label,
.view-full-time-faculty-posting .views-field .views-label {
    width: 30%;
    text-align: right;
}

/* Styling the accordions */

.content .layout details {
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 4px 4px 0 0;
    margin-bottom: 8px;
}

.content .layout{
    & details > summary {
        background-color: #62798D;
        padding: 10px 15px;
        cursor: pointer;
        border-radius: 4px 4px 0 0;
        color: white;
        display: flex;
        justify-content: space-between;
        font-family: oswald;
        text-transform: uppercase;
        font-weight: 500;
        font-size: 1.2rem;
        &::after{
            content: '\f106'; 
            font-family: 'FontAwesome';
            font-size: 16px;
            transition: transform 0.2s;
            transform: rotate(-180deg);
            line-height: 2;
        }
        &:hover, &:active, &:focus{
            background-color: #4a6779;
        }
    }
    & details[open] > summary::after {
        transform: rotate(0);
        transition: transform 0.2s;
    }

    & details > .accordion_body {
        padding: 1.25rem;
    }
}

 /* details {
    background-color: white;
    border: 1px solid rgba(0, 0, 0, .125);
    margin-bottom: 1rem;
}

.content .layout summary {
    background-color: rgba(0, 0, 0, .03);
    color: #154734;
    padding: 0.25rem 1.25rem;
    font-family: 'Museo Sans', Arial, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    line-height: 1.2;
}

.content .layout details[open] summary {
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.content .layout details summary::after,
.content .layout details[open] summary::after {
    display: block;
    content: "\002B";
    font-size: 2rem;
    width: 22px;
}

.content .layout details[open] summary::after {
    content: "\FF0D";
}

.content .layout .accordion_body {
    padding: 1.25rem;
    color: #0b2318;
} */

.tiles-block .view-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr));
    gap: 0.5rem;
}

.tile-item ul {
    padding: 10px;
    padding-left: 25px;
}

.tile-item img {
    display: block;
    margin: auto;
}

.tile-item>div:first-child {
    background-color: #154734;
    color: white;
    padding: 10px;
    z-index: 1;
    text-transform: uppercase;
    text-align: left;
}

.tile-item>div:first-child a {
    color: #fff !important;
    text-decoration: none !important;
}

.tile-item>div:first-child a:hover {
    text-decoration: underline !important;
}

.content caption {
    caption-side: top;
}

a.btn.btn-rounded {
    text-transform: uppercase;
    font-family: Oswald;
    font-weight: 500;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    color: #fff;
    background-color: rgb(182, 87, 53);
    border-radius: 0.75rem;
}

img.bordered-image {
    border: 1px solid #ccc;
    padding: 1.5rem;
    box-sizing: content-box;
}

/* Subtitle Styles */

#site-subtitle {
    color: #a9cd88;
    font-size: 1em;
    font-weight: bold;
    z-index: 1;
    position: absolute;
    top: 18px;
    text-transform: uppercase;
    display: none;
}

#site-subtitle+.site-menu-branding #site-title,
.small-title+.block-menu-block h2,
.small-title #site-title {
    font-size: 1.1rem;
}

.main-menu>ul {
    margin-bottom: 1rem;
}

/* Privacy Popup Styles */
.privacy_popup {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    width: 32%;
    padding: 1rem;
    background-color: #fff;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3), 4px 4px 4px rgba(14, 47, 35, 0.4);
    border: 3px solid var(--trent-green);
}

.privacy_popup h3 {
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: var(--trent-dark-green);
}

.privacy_popup p {
    display: flex;
    flex-flow: column nowrap;
    gap: 0.5rem;
    margin-bottom: 0;
}

.accept_btn_span {
    align-self: center;
}

ul.pager__items.js-pager__items {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 1rem;
}

.item-list ul.events-list {
    display: flex;
    flex-flow: column nowrap;
    padding: 0;
}

.item-list ul.events-list li {
    list-style-type: none;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 1.5rem;
}

.item-list ul.events-list li .views-field-body {
    flex-shrink: 0;
}

.item-list ul.events-list li .views-field-field-event-dates {
    margin-left: auto;
}

.navbar-expand-lg .navbar-nav .navbar-collapse {
    width: 100%;
}

a.title_front_link{
    color: white;
    &:hover,:active{
        color:white;
    }
}

@media (min-width: 992px) {

    .small-title+.block-menu-block h2,
    #site-subtitle+.site-menu-branding #site-title,
    .small-title #site-title {
        font-size: calc(1rem + 0.45vw);
    }

    #site-subtitle {
        display: block;
    }

    .sticky-menu #site-subtitle {
        display: none;
    }

    .navbar-expand-lg .navbar-nav {
        flex-flow: row nowrap;
        align-items: end;
    }

    .navbar-expand-lg .navbar-nav .navbar-collapse {
        position: absolute;
        margin: 0;
        right: 0;
        width: max-content;
    }
    .navbar-expand-lg .navbar-nav .dropdown-menu {
        position: static;
    }

    .colour-scheme--blue #navbar,
    .colour-scheme--blue .ribbon-menu {
        background: oklab(56.521% -0.01747 -0.0373);
    }

    .colour-scheme--blue .ribbon-menu .menu li.active>a {
        color: hsl(201, 27%, 33%,.9);
        background: white;
         /* background: rgba(91,127,149,.9); */
    }

    .colour-scheme--blue .ribbon-menu li,.colour-scheme--blue header .quick-links li {
        background:transparent;
    }
    .colour-scheme--blue .ribbon-menu ul.dropdown-menu .nav-link {
        background-color: var(--trent-blue);
    }

}

.page-wrapper{
    padding-bottom: 0;
}



@media screen and (max-width: 950px) {
    .block-featured-link {
        flex-flow: column nowrap;
        margin: 2rem;
        align-items: center;
    }
}

@media screen and (min-width: 1200px) {
    .container-xl {
        max-width: 1240px !important;
    }
}

@media screen and (max-width: 700px) {
    .item-list ul.events-list li {
        flex-flow: column nowrap;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .item-list ul.events-list li .views-field-field-event-dates {
        margin-left: 0;
    }
}

[id] {
    scroll-margin-top: 75px;
    scroll-snap-margin-top: 75px;
    /* iOS 11 and older */
}

/* If the browser supports the property... */
@supports (scroll-margin-top: 0) {
    [id] {
        scroll-margin-top: 75px;
    }
}

/* .colour-scheme--blue .ribbon-menu{
    background: hsl(203, 24%, 47%, 0.8);
} */

.container-challengers{
    & > h2 {
        font-family: 'museo-sans';
        text-transform: uppercase;
        color: var(--trent-gold);
        font-weight: 500;
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    & > h1 {
        font-family: 'Oswald';
        text-transform: uppercase;
        font-weight: 500;
        font-size: 5rem;
        padding-bottom: 2rem;
        border-bottom: 2px solid var(--trent-gold);
        color: var(--trent-green);
    }
  }

.aos_container{
    /* background-image: none; */
    /* background-color: black; */
    /* background-size: cover; */
    height:calc(100vh - var(--nav-height));
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0rem;
    padding: 2rem;
    color: white;
    /* transition: background-image 0.2s ease; */
    position: relative;
}

.aos_container::before{
    position: absolute;
    width: 100vw;
    height: 100%;
    content: "";
    top: 0;
    background-image: var(--background);
    background-color: black;
    background-size: cover;
    z-index: -1;
}

.aos_container h2{
    align-self: flex-start;
    text-transform: uppercase;
    font-size: 2rem;
    width: 100%;
    border-bottom: 1px solid white;
    text-shadow: 0 4px 2px rgba(0,0,0,.3);
}

.areas_of_study {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    height: 100%;
    width: 95%;
}

.areas_of_study label{
    cursor: pointer;
    margin: 0;
    font-size: 1.2rem;
}
.areas_of_study label.checked{
    font-weight: bold;
    text-decoration: underline;
}
.areas_of_study .aos_list{
    width: max-content;
    display: flex;
    flex-flow: column nowrap;
    gap: 0.5rem;
    padding: 2rem 0 2rem 3rem;
    border-left: 1px solid white;
}

.areas_of_study .aos_list input{
    visibility: hidden;
    width: 0;
    position: relative;
}
.areas_of_study .aos_list input:checked::before{
    content: "";
    position: absolute;
    left: -3.35rem;
    width: 9px;
    height: 1rem;
    background-color: var(--trent-lime);
    visibility: visible;
}
.areas_of_study .aos_details{
    max-width: 60%;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    width: 50rem;
}

.areas_of_study .aos_details > div{
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 1;
    transition: opacity 0.2s ease-out;
    flex-flow: column nowrap;
    justify-content: center;
    z-index: 1;
    gap: 1rem;
}

.areas_of_study .aos_details > div:not(.active){
    opacity: 0;
    z-index: 0;
}

.areas_of_study .aos_details > div h3 {
    font-family: 'Oswald';
    text-transform: uppercase;
    font-size: 2.5rem;
    width: 100%;
    text-shadow: 0 4px 2px rgba(0,0,0,.3);
}

.areas_of_study .aos_details > div a {
    align-self: flex-start;
}

@media screen and (max-width:767px) {
    .areas_of_study{
        flex-flow: column;
        align-items: flex-start;
    }

    .areas_of_study .aos_list {
        padding: 0;
        border: none;
        flex-flow: row wrap;
        gap: 1.5rem;
    }
}

.container--fullWidth{
    & .row {
        color: var(--trent-green);
        margin-top: 2.5rem;
        & .col img {
            display: block;
            max-width: 100%;
            height: auto;
        }
        & .challengers-sidebar {
            & *:not(a) {
                text-align: left;
                color: var(--trent-green);
            }
            & ul {
                list-style-type: none;
                padding: 0;
                & li {
                    margin-bottom: 0.6rem;
                    line-height: 1.2;
                }
            }
            & #block-luminarieslinkedinadblock img {
                max-width: 100%;
                height: auto;
            }
        }
    }

}

#block-actionmenu ul {
    list-style: none;
    padding: 0;
}
#sidebar .actionMenuItem{
    color:white;
    padding: 1rem;
    width: 100%;
    &:has(.highlighted){
        background-color: #ad4e2c;
    }
    &:hover:has(.highlighted){
        background-color: #773922;
    }
}

#sidebar .action-menu > ul {
    padding: 0;
}

#sidebar #block-ad a{
    min-width: 24px;
    min-height: 24px;
    display: inline-block;
}

.ckeditor-accordion-container > dl {
    border-color: var(--trent-dark-green);
}

.ckeditor-accordion-container > dl dt > a, .ckeditor-accordion-container > dl dt > a:not(.button){
    background-color: var(--trent-green);
    border-color: var(--trent-dark-green);
}

.ckeditor-accordion-container > dl dt.active > a,
.ckeditor-accordion-container > dl dt > a:hover, .ckeditor-accordion-container > dl dt > a:not(.button):hover {
    background-color: var(--trent-dark-green);
}


main .content img.align-right {
    margin-left: 1em;
}
main .content img.align-left {
    margin-right: 1em;
}

/* Grad Studies International Admissions */

.gsIntAdmissions .form--inline{
  flex-flow: column;
  align-items: normal;
  gap:0.75rem;
  & .form-item label{
    display: block;
    font-size: 1.5rem;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: bolder;
  }
  & .form-actions{
    display: flex;
    flex-flow: row nowrap;
    gap: 0.5rem;
    align-items: space-between;
    & input{
      width: 100%;
      font-weight: 600;
      border-radius: 8px;
      background-color: #B15533;
      transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
      transition-timing-function: cubic-bezier(.4,0,.2,1);
      transition-duration: .15s;
      color:white;
      padding:0.5rem;
      border: 0;
      &:hover {
        background-color: var(--trent-orange-dark);
      }
    }
  }
}
.gsIntAdmissions .view-content {
  display: flex;
  flex-flow: column;
  gap: 0.5rem;
}

.field--item .internationalGSAdmissions{
    background-color: black;
    padding: 0.75rem 1rem;
    border: 1px solid black;
    color: #fff;
    & p {
      color: white;
    }
    &:nth-child(even){
      background-color: #d6d1b1;
      & p {
        font-weight: 400;
        color:black;
      }
      & h4 {
        color:black;
      }
    }
    & h4 {
      font-size: 1.75rem;
      font-family: 'Oswald', sans-serif;
      text-transform: uppercase;
      color: #d6d1b1;
    }
}

.ui-state-active, .ui-widget-content .ui-state-active, 
.ui-widget-header .ui-state-active, a.ui-button:active, 
.ui-button:active, .ui-button.ui-state-active:hover {
  border: 1px solid var(--trent-orange-dark);
  background: var(--trent-orange);
  color:white;
  display: flex;
}

.breadcrumb {
    padding: 0.75rem 1rem 1.25rem;
    margin-top: 0.25rem;
    & a{
        padding: 0.75rem 0 1.25rem;
    }
}

main{
    padding-top: 1rem;
}

body.programs-page {
    & .page-header {
        .sub-header,
        .page-header--title
         {
            color:white;
        }
    }
}
main #main-content {

    & .gridComponent .gridLink .gridItemTitle{
        color:white;
    }

    & .content li a {
        padding: 0.2rem 0;
        line-height: 1.7;
    }
}

.program__wrapper .program__requirements .nav-tabs li>a.active {
    background-color: color-mix(in oklab, #85a94e, var(--trent-green)) !important;
}
