/* Overrides for SPL Specific Styling */

.panel-container h1,
.h1 {
    font-weight: normal;
}

a[class^='btn-'],
input[type='submit'],
button {
    border-radius: 25px;
    letter-spacing: normal;
}

a.btn-cta,
button.btn-cta {
    border: solid 2px var(--color-accent-100);
    background-color: var(--color-accent-50);
    color: var(--color-accent-100);
}
a.btn-cta:hover,
button.btn-cta:hover {
    border: solid 2px var(--color-accent-50);
    background-color: var(--color-accent-100);
    color: var(--color-accent-50);
}

@media (min-width: 768px) {
    .hero {
        margin: 2rem auto;
    }
}

.sellpoint-ribbon {
    height: 4rem;
    position: absolute;
    top: 4px;
    z-index: 1;
    left: calc(100% - 16px);
}
.methods {
    place-items: start;
}
.methods > div {
    max-width: 480px;
}
.methods .highlight {
    margin: 0 auto;
    padding: 1rem 2rem;
}
[class^='method-'] {
    margin: 0 0 0 32px;
}
[class^='method-']::after {
    content: none;
}
[class^='method-'] h3,
[class^='method-'] p {
    margin-left: 0;
    position: relative;
    max-width: 480px;
    text-align: left;
}
[class^='method-'] h3::before {
    content: '';
    height: 20px;
    position: absolute;
    width: 20px;
    top: 5px;
    z-index: 1;
    left: -30px;
}
[class^='method-'] h3::before,
[class^='method-'] h3::after {
    border: solid 2px var(--color-brand-50);
    border-radius: 50%;
    background-color: var(--color-gray-0);
    box-shadow: var(--shadow-hover);
}
[class^='method-']:not(:last-child) p::before {
    border: solid 1px var(--color-brand-50);
    content: '';
    height: calc(100% + 64px);
    position: absolute;
    width: 0;
    top: -32px;
    left: -19px;
}
.method-3 p::after,
.method-4 p::after {
    border: dashed 2px var(--color-brand-50);
    content: '';
    height: calc(100% + 64px);
    position: absolute;
    width: 17px;
    top: -32px;
    left: -38px;
}
.method-3 p::after {
    border-radius: 8px 0 0 0;
    border-bottom: none;
}
.method-4 p::after {
    border-radius: 0 0 0 8px;
    border-top: none;
}
[class^='method-']:last-child p::before {
    content: none;
}
@media (min-width: 800px) {
    .methods .highlight {
        margin-top: 0;
        margin-right: 0;
        margin-right: 2rem;
        margin-bottom: 0;
        margin-left: 0;
        padding: 1rem;
    }
    [class^='method-'] {
        display: block;
        margin: 0 0 0 32px;
    }
}

.row-teachers > div {
    display: flex;
    flex-flow: row nowrap;
}
.row-teachers > div > div:first-child {
    line-height: 0;
}
.row-teachers > div > div:last-child {
    padding: 0.5rem;
}
.row-teachers h5 {
    margin: 0;
}
.row-teachers small {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.class {
    margin-top: 1rem;
    overflow: hidden;
}
.class--english {
    background-color: #ffcc00;
    color: #443300;
}
.class--mathsci {
    background-color: #0088bb;
    color: #ffffff;
}
.class--testprep {
    background-color: #004488;
    color: #ffffff;
}

.class__schedule,
.table {
    width: 100%;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 14px;
    border-collapse: collapse;
}

.class__schedule tr:nth-child(2n),
.table tr:nth-child(2n) {
    background: linear-gradient(90deg, #fff, #00448811 10% 90%, #fff);
}

.class__schedule th,
.table th {
    font-size: 12px;
    text-transform: uppercase;
    color: #333;
}

.class__schedule th:first-child,
.class__schedule td:first-child {
    text-align: left;
}

.class__schedule th:last-child,
.class__schedule th:nth-last-child(2),
.class__schedule td:last-child,
.class__schedule td:nth-last-child(2) {
    text-align: right;
}

.class .sheet__header {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

.class .sheet__header > * {
    margin: 0;
}

.class .card-content {
    color: black;
}

.class .card__footer {
    padding: 0.5rem 1rem;
    background: #00448811;
    border-radius: 0 0 8px 8px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    color: black;
}

.class__label {
    display: inline-block;
    padding: 0 0.5rem;
    border: solid 1px #00000044;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 12px;
}

.class__grade {
    font-weight: bold;
}

#sticky-contact-mobile a.sticky-contact-mobile__phone {
    background: var(--color-accent-50);
}
#sticky-contact-mobile a.sticky-contact-mobile__phone:hover {
    background: var(--color-accent-100);
}