/**
 * Brand Colors
 *
 * #70d2d7 : Light Blue : rgba(112, 210, 215, 1)
 * #3fc1c8 : Blue : rgba(47, 156, 162, 1)
 * #9ec583 : Green : rgba(108, 156, 73, 1)
 * #ffc77a : Light Orange : rgba(255, 199, 122, 1)
 * #f8aa52 : Orange : rgba(215, 119, 9, 1)
 * #eb6841 : Red/Orange : rgba(235, 104, 65, 1)
 * #414243 : Charcoal (Secondary Logo Color) : rgba(65, 66, 67, 1)
 */
:root {
    /*Reds*/
    --red-dark: #c23d14;
    --red: #eb6841;
    --red-light: #fdece8;
    /*Oranges*/
    --orange-darker: #5b3206;
    --orange-dark: #ab5f07;
    --orange: #f8aa52;
    --orange-light: #fde9d3;
    /*Greens*/
    --green-dark: #517939;
    --green: #9ec583;
    --green-light: #f1f7ed;
    /*Blues*/
    --blue-dark: #1d5f63;
    --blue: #3fc1c8;
    --blue-light: #e7f7f8;
    /*Alternate Colors*/
    --yellow: #ffc77a;
    --yellow-light: #fff9f1;
    --light-blue: #70d2d7;
    /*shades*/
    --black: #000;
    --shade-20: #333;
    --shade-25: #414243;
    --shade-45: #737578;
    --shade-55: #8d8f91;
    --shade-80: #ccc;
    --shade-85: #ddd;
    --shade-90: #eee;
    --shade-95: #f7f8f8;
    --white: #fff;

    /**
    * Define Theme
    */
    --primary: var(--red);
    --secondary: var(--blue);
    --button-primary: var(--green);

    /*feedback colors*/
    --success: var(--green);
    --warning: var(--orange);
    --neutral: var(--blue);
    --danger: var(--red);
    --error: #900;

    /*borders*/
    --border-color-dark: var(--shade-80);
    --border-color: var(--shade-85);
    --border-color-light: var(--shade-90);
    --border-dark: 1px solid var(--border-color-dark);
    --border: 1px solid var(--border-color);
    --border-light: 1px solid var(--border-color-light);
        /*invert*/
        --border-color-dark-inverse: var(--shade-80);
        --border-color-inverse: var(--shade-85);
        --border-color-light-inverse: var(--shade-90);
        --border-dark-inverse: 1px solid var(--border-color-dark-inverse);
        --border-inverse: 1px solid var(--border-color-inverse);
        --border-light-inverse: 1px solid var(--border-color-light-inverse);

    /*bg*/
    --bg: var(--white);
    --bg-alt: var(--shade-95);
        /*invert*/
        --bg-inverse: var(--shade-25);
        --bg-alt-inverse: var(--shade-45);

    /*text*/
    --text: var(--shade-25);
    --text-alt: var(--shade-45);
        /*invert*/
        --text-inverse: var(--white);
        --text-alt-inverse: var(--shade-80);

    /*icons*/
    --icon: var(--shade-55);
}
body {
    background-color: #fff;
}
img {
    max-width: 100%;
}
#content {
    margin: 0 0 40px 0;
}
body.fullscreen {
    padding-left: 0;
    background-color: #F8F7F7;
}
body.fullscreen #header {
    display: none;
}
body.fullscreen #content {
    margin-top: 0;
}
body.fullscreen #participant-nav {
    display: none;
}
#header {
    background-color: #f8f7f7;
    border-bottom: 1px solid #ccc;
    padding-bottom: 30px;
    z-index: 0;
}
#header h1 {
    border: none;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
}
form:not(.process-select-form) {
    max-width: 48em;
    margin: auto;
}
#user-setting .merge-accounts,
#user-setting i {
    width: 24px;
    height: 18px;
    text-align: center;
}
#user-setting .merge-accounts i {
    width: 16px;
    height: 16px;
    font-size: 16px;
    position: absolute;
    background: #fff;
    border-radius: 50%;
}
#user-menu {
    float: none;
    text-align: right;
}
#user-menu .pure-menu-list {
    margin: 0;
}
#user-menu li {
    border: none;
}
#user-menu > .pure-menu-list > .pure-menu-item {
    border-left: none;
}
#page-header {
    border: none;
    padding: 1em;
    text-align: center;
}
.inline-overlay {
    box-sizing: border-box;
    position: absolute;
    z-index: 11;
    width: 100%;
    max-width: 100% !important;
    background: #fff;
    padding: .375em 0;
}
.inline-overlay a,
#user-setting button {
    display: block;
    width: 100%;
    border: none;
    padding: .75em;
    text-align: left;
    font-size: 1.2em;
}
.inline-overlay a:hover {
    text-decoration: none;
}
.inline-overlay:before {
    content: ' ';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    border: .75em solid transparent;
    border-top-color: #fff;
    top: -1.5em;
    right: 39px;
    transform: rotate(180deg);
}
.inline-overlay.tip-top:before {
    right: 50%;
    margin-right: -.75em;
}
.name-wrapper,
.plus-wrapper {
    display: block;
    width: 56px;
    height: 56px;
    margin: -28px auto 0 auto;
}
.plus-wrapper {
    background-color: #9ec583;
    border-radius: 50%;
    line-height: 56px;
    text-align: center;
    color: #fff;
    font-size: 20px;
}
.plus-wrapper .fa {
    vertical-align: middle;
}
.participant {
    margin: 0 0 30px 0;
    padding: 0 1em 1em 1em;
}
.participant h3 {
    margin-top: .5em;
}
.profile-pic-large {
    width: 56px;
    height: 56px;
}
.pick-student {
    display: inline-block;
    padding: .5em 1em;
    /*border-top: 2px solid #999;*/
    color: #999;
}
.fa.pulse,
.fas.pulse {
    animation: pulse 0.75s linear infinite alternate;
}
@keyframes pulse {
    from { transform: translateY(0); }
    to   { transform: translateY(3px); }
}
.helper {
    color: var(--text-alt);
    font-weight: normal;
    font-style: italic;
}
.pill {
    display: inline-block;
    color: #fff;
    background-color: #888;
    padding: 0 .6em;
    line-height: 24px;
    border-radius: 15px;
    margin-right: .5em;
    font-size: 13px;
}
.alma-pill {
    display: inline-block;
    border: var(--border);
    border-radius: 50px;
    font-weight: bold;
    padding: 0.25em 1em;
}
.alma-pill.primary {
    border-color: var(--green);
    background-color: var(--green-light);
    color: var(--green-dark);
}
.alma-pill.danger {
    border-color: var(--red);
    background-color: var(--red-light);
    color: var(--red-dark);
}
.alma-pill.warning {
    border-color: var(--orange);
    background-color: var(--orange-light);
    color: var(--orange-dark);
}
.overlay-hd {
    background: #fff;
    position: sticky;
    text-align: center;
    padding: 1em;
    font-size: 1.2em;
    line-height: 1;
}
.overlay-hd h1 {
    margin:0;
    font-size: 1.2em;
    text-transform: uppercase;
}
.overlay-hd a,
.overlay-hd button {
    padding: 1em;
}
.overlay-hd .cancel {
    position: absolute;
    top: 0;
    left: 0;
}
.overlay-hd .start {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0 !important;
    color: #9EC583;
    font-weight: bold;
}
#participant-nav {
    display: none;
    position: relative;
    z-index: 1;
    padding-bottom: 130px;
}
.participant-nav-title {
    display: none;
}
.plain-list,
.participant-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.participant-list .participant {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background-color: #fff;
    margin-top: -1px;
    margin-bottom: 58px;
    padding: 0;
}
.participant-list a {
    position: static;
    display: block;
    padding: 0 1em 1em 1em;
}
.add-participant {
    text-align: center;
    padding: 1em;
    bottom: 10px;
}
.add-participant a:hover {
    text-decoration: none;
}
.yui3-skin-sam .yui3-panel .yui3-widget-bd {
    padding: 1em;
}
.modal-warning .warning-icon {
    display: block;
    text-align: center;
    margin-bottom: 1em;
}
.pure-button-secondary {
    background: #fff;
    border: 1px solid #ccc;
}
.pure-form label strong {
    font-size: .866666667em;
    color: #666;
}
/* highlight newly added items */
.spotlight {
    animation: spotlight 3s ease-out;
}
a.actions-list-item:hover h3,
a.actions-list-item:focus h3 {
    text-decoration: underline;
}
a.actions-list-item:hover .fa-chevron-right,
a.actions-list-item:focus .fa-chevron-right {
    animation: bounce-right 1s infinite;
}
@keyframes bounce-right {
    0%, 100% {
        transform: translateX(25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateX(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}
@keyframes spotlight {
    from, 50% {
        background-color: var(--blue-light);
    }
}
/*mobile modal only*/
@media screen and (max-width: 500px) {
    .alma-modal button[type=submit]:not(.resend) {
        position: absolute;
        top: 1em;
        right: 1em;
        margin: 0;
    }
    .alma-modal button[type=reset] {
        position: absolute;
        top: 1em;
        left: 1em;
    }
    .yui3-skin-sam .yui3-panel.alma-modal .yui3-widget-bd {
        position: relative;
        padding-top: 4.5em;
    }
}
/*sm*/
@media screen and (min-width: 35.5em) {
    .modal-warning {
        overflow: hidden;
        display: flex;
        align-items: center;
    }
    .modal-warning .warning-icon {
        margin-right: 1em;
        margin-bottom: 0;
    }
    .modal-warning .warning-content {
        flex-grow: 1;
    }
}
/*md*/
@media screen and (min-width: 48em) {
    body.fullscreen #header {
        display: block;
        padding-bottom: 0;
    }
    body.fullscreen #header h1 {
        text-align: left;
    }
    body.fullscreen #user-menu {
        float: right;
    }
    #layout {
        padding-left: 86px;
    }
    .inline-overlay {
        width: auto;
    }
    #page-header {
        display: none;

    }
    #participant-nav {
        display: block;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: 86px;
        background: #414243;
        color: #fff;
    }
    .participant-nav-title {
        display: block;
        padding: 0 0 0 0;
        text-align: center;
        font-size: 12px;
    }
    .participant-list-no-students {
        display: none;
    }
    .participant-list {
        height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }
    .participant-list h3 {
        display: none;
    }
    .participant-list .participant {
        background: transparent;
        margin: 0;
        border: none;
        padding: 0.5em 0;
    }
    .participant-list h3 .ln {
        display: none;
    }
    .participant-list a {
        padding: 0 1em;
        color: #fff;
        white-space: nowrap;
        text-align: left;
    }
    .participant-list a.active .name-wrapper:before {
        content:'';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 4px;
        left: -1em;
        background-color: #F8AA52;
        display: inline-block;
        border-radius: 4px;
    }
    .add-participant {
        padding: 0.5em 0;
    }
    .participant-list .name-wrapper,
    .participant-list .plus-wrapper {
        position: relative;
        margin: 0;
        display: inline-block;
        top: 0;
        left: 0;
    }
    .participant-list .plus-wrapper {
        background-color: #9ec583;
    }
    .add-participant {
        position: absolute;
    }
    #user-menu .pure-menu-list li:first-child a {
        display: none;
    }
}
/*md and only md*/
@media screen and (min-width: 48em) and (max-width: 64em) {
    .participant-list a:hover h3 {
        display: inline-block;
        position: absolute;
        left: 100%;
        background-color: rgba(65, 66, 67, .9);
        white-space: nowrap;
        color: #fff;
        border-radius: 3px;
        font-size: .8em;
        padding: 0.5em;
        line-height: 1em;
        margin: 16px 0 0 8px;
    }
    .participant-list h3:after {
        content: '';
        border: 0.5em solid transparent;
        border-right-color: rgba(65, 66, 67, .9);
        top: 50%;
        height: 0;
        left: -1em;
        position: absolute;
        transform: translateY(-50%);
        width: 0;
    }
}
/*lg*/
@media screen and (min-width: 64em) {
    #layout {
        padding-left: 200px;
    }
    #participant-nav {
        width: 200px;
    }
    .participant-list .name-wrapper {
        margin-right: 6px;
    }
    .participant-list a {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: #fff;
    }
    .participant-list h3 {
        display: inline-block;
        margin: 0;
    }
    .add-participant a {
        display: grid;
        grid-template-columns: 56px auto;
        gap: 6px;
        overflow: auto;
        white-space: normal;
        align-items: center;
    }
    .add-participant a h3 {
        color: #fff;
    }
    .participant-nav-title {
        display: block;
        text-align: left;
        padding: 0 15px 0 15px;
        font-size: 18px;
    }
    .participant-list-no-students {
        display: block;
        padding: 0 15px 0 15px;
    }
}
