﻿.qualifications
{
    text-align: center;
}

.qualifications ul {
    padding: 0;
    margin: 0;
    display:inline-block;
}

.qualifications ul li {
        list-style-position:inside;
        text-align:left;
        margin-bottom: 6px;
    }

section.dropdown-nav .homepage a {
    background: unset;
    color: #575047;
    text-transform: uppercase;
    text-align: center;
}

.top-bar .active > a {
    background: #B1ACB5 !important;
    color: #ffffff;
}

/* Contains all common CSS for CEC */
h1 {
    margin: 1rem 0;
}

body {
    --main-site-color: #492365;
    --main-site-color-rgb: 73,35,101;
    --university-gray-color: #575047;
}

.color-purple{
    color: #492365;
}

section h2{
    font-family:'tradegothicltstd-boldext', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.video-embed{
    margin: 1rem;
}

/* Modules (section elements) */

section.module {
    padding: 1.5em 0;
}

    section.module:nth-of-type(2n+3) {
        /* alternate section highlighting */
        background: #EDEDEE;
    }

    section.module:first-of-type {
        padding: 0;
    }

    section.module.introduction{
        padding-top: 0;
    }

    section.module .address .title{
        font-size: 1.3rem;
    }

    section.module .map iframe {
        height: 240px;
        width: 100%;
        border: 1px solid #f6f6f6;
    }

section.page-banner .columns {
    padding: 0;
}

.banner-image-container {
    background: url("http://via.placeholder.com/1200x480") #a09b9c center center no-repeat;
    background-size: cover;
}

.banner-text-box {
    background-color: rgba(var(--main-site-color-rgb), 0.9); /*may be flagged as invalid but it actually works*/
    color: #FFF;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: space-between;
}

    .banner-text-box .program-headlines {
        padding: 1rem;
        text-align: center;
    }

    .banner-text-box .headline {
        font-size: 2em;
        line-height: 2rem;
    }

    .banner-text-box .subheadline {
    }

    .banner-text-box hr {
        margin: 1rem auto;
    }

    .banner-text-box .program-name {
        background-color: rgba(var(--main-site-color-rgb), 1);
        padding: .5rem .1rem;
        font-size: 1.1em;
        opacity: .75;
    }
/* Accessibility: Hide bullets for program lists but maintain structure */
section.programs .card-description ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}
/*  Show the menu on Mouse Hover */
.is-dropdown-submenu-parent:hover > .is-dropdown-submenu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/*  Visual Focus Indicator (Essential for accessibility) */
#navDropdown a:focus {
    outline: 2px solid #0056b3 !important;
    background-color: rgba(0, 86, 179, 0.05);
}

/* Ensure the "is-active" class (from Foundation) still works for keyboard users */
.dropdown.menu li.is-active > .is-dropdown-submenu {
    display: block !important;
    visibility: visible !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

    section.highlights .bullet-icon {
        max-width: 100px;
        margin: 1rem;
    }

    section.highlights .bullet-title {
        font-size: 1.4em;
    }

section.programs {
}
    section.programs .program{
        padding: 0 1rem;
    }

    section.programs .card-title {
        font-weight: bold;
        font-size: 1.4em;
    }

section.student-stories {
}    

    section.student-stories .student-story {
        padding: 0 3rem;
    }

    section.student-stories .student-story-image{
        padding: 1rem;
    }

    section.student-stories .student-story-image img {
        border-radius: 50%;
    }

    section.student-stories .student-story-title{
        margin-bottom: 1rem;
        font-size: 1.3rem;
    }

    section.student-stories .student-story-quote{
        margin-bottom: 1rem;
    }

.staff-info {
    padding: 0;
    font-size: 85%;
}

.staff-info.staff-info-horiz{
    padding: 0;
}

    .staff-info .staff-info-image {
        padding: 0 1rem;
    }

        .staff-info .staff-info-image img {
            border-radius: 50%;
            max-height: 220px;
        }

    .staff-info .staff-name {
        margin: .5rem 0;
    }

.person .person-image img{
    border-radius: 50%;
    max-height: 220px;
}
.person .person-name{
    margin: 1rem 0;
}

div.vert-center{
    /*Works only if data-equalize is on and this element's height is more than just the contents' height*/
    display:flex;
    align-items:center;
}


.help-link a{
    font-family: 'tradegothicltcom-bdcn20', sans-serif;
    font-size: 1.5rem;
}

.contact-group img{
    max-width: 7rem;
    margin: 1rem;
}

.valid-message {
    margin: -1.4em 0 1em 0;
    display: block;
    color: red;
    font-size: .8rem;
}


/* -- Media Queries -- */
@media only screen and (max-width: 640px) {
    .disappear-at-small {
        display: none;
    }


}

@media only screen and (min-width: 641px) {
    .disappear-at-large {
        display: none;
    }

    section h2{
        font-size: 2.25rem;
    }

    .banner-text-box .program-headlines {
        text-align: left;
    }

    section.highlights .highlight-bullet {
        padding: 0 1rem;
    }

    section.module .map iframe {
        height: 400px;
        width: 100%;
    }


}

@media only screen and (min-width: 1025px) {
    section.dropdown-nav .homepage a {
        background: #7f56c5;
        color: #FFFFFF;
        text-transform: uppercase;
    }

    .banner-text-box .program-headlines {
        padding: 4rem 2rem;
    }

    .banner-text-box .headline {
        font-size: 3em;
        line-height: 1em;
        font-weight: 700;
    }

    .staff-info {
        padding: 0 1rem;
        font-size: initial;
    }


}
