:root {
  --theme-color: #69C0AC;
  --theme-color-secondary: #69C0AC;
  font-size:1.05rem;

  /*default theme color is cambridge blue*/
}

@font-face {
    font-family: 'Hey August';
    src: url('/assets//site_resources/hey_august-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/*#event*/
.msl_event_image img{
    border-radius: 4px;
    margin-bottom: 1rem;
    height:auto;
}
.event_item{
    padding-left:0!important;
}
.event_item dt{
    max-width:250px;
}
.msl_event_description, .msl_event_location, .msl_event_time{
    font-size:0.9rem;

}

.msl_event_location, .msl_event_time{
    line-height:1.2;
}

.msl_event_name{
    line-height:1;
    margin-bottom:0.5rem!important;
}

.msl_event_location{
    color: grey;
    font-weight:bold;
}
.msl_event_time{
    color: var(--theme-color);
    font-weight:bold;
    margin-top:0.5rem;
}


#mainNav{
    background-color:rgba(0, 0, 0, 0)!important;
}
#mainNav:after{
    background: rgba(0, 0, 0, 0)!important;
}
#mainNav .navbar-nav li a {
    color:#fff;
    padding:0.5rem 0.5rem 0.2rem 0.5rem;
}

#mainNav .navbar-nav li:hover>a {
    background-color:var(--theme-color);
    color:#fff!important;
}

#mainNav .navbar-nav li a.current {
    color:#fff!important;
    background-color:var(--theme-color);
}

.msl-loginbutton{
    background:var(--theme-color)!important;
    color:#fff!important;
    padding:10px 10px 5px 10px;
}

#mainNav .navbar-toggler{
    background-color:var(--theme-color);
    color:#fff;
    padding:10px!important;
}



/*body*/

.body-container{
    display:flex; 
    flex-direction:column;
    align-items:center;
    width:100vw;
}

.body-container p a{
    color:var(--theme-color);
    font-weight:bold!important;
    text-decoration:underline;
}
.body-container p a:hover{
    color:var(--theme-color);
    font-weight:bold!important;
    text-decoration:underline;
}


.section >ul > li >a{
    color:var(--theme-color)!important;
    font-weight:bold!important;
    text-decoration:underline;
}

.section >ul > li >a:hover{
    color:var(--theme-color);
    font-weight:bold!important;
    text-decoration:underline;
}
/*this is the section tag as defined by MSL, cf .section class*/
section{
    padding:0!important;
}

.section{
    display:flex;
    flex-direction:column;
    align-items:center;
    width:100%;
    padding:3rem 1.25rem;
}

.section > * {
    max-width:900px;
    text-align:center;
    color:#404040;
}
.grey{
    background-color:#f5f5f5;
}


/*background themed in primary or secondary color*/
.theme-primary{
    background-color:var(--theme-color);
}
.theme-primary > *{
    color:#fff!important;
}
.theme-secondary{
    background-color:var(--theme-color-secondary);
}
.theme-secondary > *{
    color:#fff;
}

/*all-purpose flex container*/

.flex-container{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    max-width:1000px;
}


.flex-container > p{
    margin: 0.7rem 1rem;
    font-size:1.2rem;
    transition:0.3s;
}

.flex-container > p > span{
    color:var(--theme-color);
    font-weight:bold;
}

.flex-container > p:hover {
    transform: scale(1.02);
}


/*if each person also has email*/
.flex-container > div{
    transition:0.3s;
    margin: 7px 20px;
}
.flex-container > div:hover{
    transform:scale(1.05);
}

.role{
    margin-bottom:0px;
    line-height:1;
}
.role-email{
    font-size:0.9rem;
    color:#fff!important;
    text-decoration:none!important;
    line-height:1;
}
.role-email:hover{
    color:#fff!important;
}
/*spacer*/
.spacer{
    margin-bottom:0;
}

/*gallery*/
.gallery{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-start;
    max-width:1000px!important;
    margin:5px -5px;
}
.gallery-img{
    height:200px;
    margin:5px;
    border-radius:3px;
}
.img-caption{
    border-left: 3px solid var(--theme-color);
    font-size: 0.9rem;
    padding-left: 0.5rem;
    padding-top: 3px;
    line-height: 1;
    margin-bottom:1.5rem;
}


/*lists*/

.list-heading{
    font-weight: 800;
    margin-bottom: 0rem;
}

.p-list li{
  list-style-type: circle;
  display: list-item;
  margin-left:0.8rem!important;
}

.p-list li a{
    color:var(--theme-color);
    text-decoration:underline;
}

.p-list li a:hover{
    color:var(--theme-color);
    text-decoration:underline;
}

.project-bullets{
    list-style:none!important;
    font-weight:bold;
    padding-left:0;
}
.project-bullets > li{
    transition:0.3s;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.project-bullets > li:hover{
    transform:scale(1.05);
}
/*resources grid display*/
.resources-wrapper{
    width:100%;
    display:grid;
    grid-template-columns: repeat(auto-fill, 150px);
    grid-gap:1.5rem;
}

@media (max-width:353px){
    .resources-wrapper{
        grid-template-columns: repeat(auto-fill, 200px);
        justify-content:space-around;
    }
    .resources-wrapper img{
        height:auto!important;
    }
}

.resources-wrapper img{
    width:100%!important;
    height:205px;
    border-radius:3px;
    box-shadow: 0 0 12px #c5c5c5;
}

.resources-wrapper a{
    color:#404040;
    font-weight:800;
    text-decoration:none;
}

.resources-wrapper a:hover{
    color:var(--theme-color);
    font-weight:800;
    text-decoration:underline;
}

.resources-wrapper p{
    margin-top:0.5rem;
}

/*alert*/
.alert-primary{
    
    background-color:#e9daf9!important;
    border: 1px solid var(--theme-color)!important;
    color:var(--theme-color)!important;
}
.alert-link{
    color: var(--theme-color)!important;
    text-decoration:none;
}


.alert-link:hover{
    color: var(--theme-color)!important;
}

.alert-primary h3{
    margin:0.3rem !important;
    font-family: 'Josefin Sans'!important;
    font-size: 1.2rem;
}
.alert-primary span{
    margin-right:0.4rem!important;
    font-size:1.3rem;
}


/*button*/
.button{
    border:none;
    padding:0.7rem 1.1rem 0.6rem 1.1rem;
    margin-top:1rem;
    border-radius:5px;
    transition:0.3s ease;
}

.button:hover{
    transform:scale(1.04);
}
.button a:hover{
    color:#fff!important;
    text-decoration:none;
}
/*headings*/
h1, h2, h3, h4, h5, h6{
    font-weight:normal;
}

h2{
    font-size:3rem;
}

h3{
    font-size:2.5rem;
}
h4{
    font-size:1.8rem;
}
/*hero*/
.hero{
    width:100vw;
    height:101vh;
    min-height:600px;
    margin-top:-114px;
    left:0;
    text-align:center;
    display:grid;
    place-items:center;
}

.main-hero{
    font-size:12.5vw;
    font-family:Bebas Neue;
}

.specific-hero{
    font-size:9vw;
    margin-top:-45vh;
    color:var(--theme-color);
    font-family:"Hey August", sans-serif !important;
}
/*sub-page hero/top section*/

.sub-page-hero{
    width:100vw;
    height:320px;
    margin-top:-114px;
    left:0;
    padding-left:10vw;
    padding-top:7.5rem;
}
.page-title{
    width:fit-content;
    font-size:7.5rem;
    font-family:Bebas Neue;
    text-align:left;
    border-bottom:0.9rem solid var(--theme-color);
    line-height:0.9;
}
.page-subtitle{
    margin-bottom:0!important;
    font-size:1.2rem;
}

.left{
    align-items:flex-start!important;
    width:100%;
    padding:3rem 10vw !important;
}

.left > * {
    max-width:900px;
    text-align:left;
}

.summary{
    padding-bottom:0rem!important;
}

.summary p{
    margin-bottom:0.1rem;
}

.summary.alert-primary{
    padding: 1rem 1.5rem 1rem 1.5rem!important;
    margin: 2rem 2rem 1rem 10vw;
    width:fit-content;
    align-self:flex-start;
    border-radius:4px;
}
.summary + .section {
    padding-top:1rem!important;
}

/*accordion*/
.accordion-item {
    width:100%;
    color: #fff;
    margin-bottom: 20px;
    border:none;
}

.accordion-item .accordion-title {
    cursor: pointer;
    color: #fff;
    padding: 12px 15px 10px 15px;
    transition: all 1s;
    background-color:var(--theme-color);
    border-radius: 8px;
    display:grid;
    grid-template-columns: 2.3rem 1fr;
    border:none;
    width:100%;
}


.accordion-item .accordion-title h3 {
    font-size: 1.8rem;
    margin-bottom: 0 !important;
    display:inline-block;
}

.accordion-item .accordion-title .fas{
    /*margin-right:0.8rem;*/
    font-size:1.8rem;
    display:inline-block;
    margin: auto;
    margin-right: 0.8rem;
    font-size: 1.8rem;
    display: inline-block;
    transition:0.4s ease;
}

.accordion-item .accordion-content {
    display: none;
    line-height: 1.7;
    padding: 20px;
    border:1px solid var(--theme-color);
    border-radius: 0 0 8px 8px;
    color:#040404;
}

.accordion-item .accordion-title.active-title {
    border-radius: 8px 8px 0 0;
}

.accordion-title.active-title .fas {
    transform: rotate(180deg);
    transition:0.4s ease;
}

.accordion-item .accordion-content.active  {
    display: block;
}

.accordion-item .accordion-content p {
    margin: 1rem 0;
    text-align: left;
}
.accordion-item .accordion-content a {
    text-decoration:underline;
    color:var(--theme-color);
}


/*footer*/
.footer{
    width:100%;
    display:flex;
    padding:4rem 10vw;
    flex-wrap:wrap;
    justify-content:space-between;
    margin-right:50px;
}

.footer-contact{
    margin-right:50px;
}


.footer-contact h3{
    font-size:2.2rem;
    text-align:left;
}
.footer-contact > a{
    color:#fff !important;
    transition:0.3s;
}
.footer-contact > a:hover{
    color:#fff !important;
    text-decoration:none;
    padding-left:1rem;
}
.footer-contact > a > i{
    transform: translate(0,4px);
    font-size: 1.5rem;
    margin-right: 10px;
}
.f-contact-text{
    display:inline-block;
    font-size:1.1rem;
    margin-bottom:0.5rem;
}

.footer-link{
    color:#fff !important;
    text-decoration:underline;
}
.footer-link:hover{
    color:#fff !important;
    text-decoration:underline;
}


.footer-info{
    display:flex;
    text-align:left;
    font-size:0.8rem;
    align-items:center;
}
.footer-info > div > p{
    margin:0!important;
}
.footer-logo{
    width:165px;
    height:165px;
    margin-right:1rem;
}

/*mobile*/

@media(max-width:992px){
    #mainNav{
        background-color:#000!important;
        min-height: 87px;
    }
    .hero{
        margin-top:0!important;
    }
    .msl-loginbutton:hover{
        background:var(--theme-color)!important;
    }
    .sub-page-hero{
        margin-top:0!important;
    }
}

@media(max-width:859px){
    .footer-contact{
        margin-bottom: 1.2rem;
        margin-right:0!important;
    }
    .footer-logo{
        margin-left:-3px;
    }
}

@media(max-width:600px){
    .page-title{
        font-size:6rem;
        border-bottom:0.8rem solid var(--theme-color);
    }
}

@media(max-width:485px){
    .page-title{
        font-size:5rem;
        border-bottom:0.6rem solid var(--theme-color);
    }
}

@media(max-width:410px){
    .page-title{
        font-size:4rem;
        border-bottom:0.5rem solid var(--theme-color);
    }
    .page-subtitle {
        margin-bottom:0.5rem!important;
        font-size: 1rem;
    }
    .sub-page-hero{
        height:270px;
    }
    .f-contact-text{
        font-size:0.9rem;
    }
    footer-info{
        font-size:0.6rem;
    }
    .footer-logo{
        width:130px;
        height:130px;
    }
}