﻿
@import url("https://use.typekit.net/wjn8rwh.css");

:root {
    --kumon: #54c3f1;
    --hover: #008fc4;
    --deep: #006b93;
    --blue-dark: #17a1e6;
    --blue-darkest: #0A6DB7;
    --blue-btn-hover: #005696;
    --ink: #404448;
    --copy: #555b60;
    --light: #eef7fb;
    --gray: #f4f4f4;
    --border: #d7dadd;
    --footer: #4a4a4a;
    --red: #d20a0a;
    --green: #69b342;
    --peach: #f3a873;
    --max: 1180px;
    --header-h: 81px;
}

* {
    box-sizing: border-box
}
:root {
    --header-h: 81px
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h)
}

body {
    margin: 0;
    font-family: "proxima-nova",Arial,"Helvetica Neue",Helvetica,sans-serif;
    color: var(--ink);
    line-height: 1.55;
    font-size: 16px;
}

a {
    text-decoration: underline;
    color: inherit;
    &:hover {text-decoration:underline;}
}

.container {
    width: min(calc(100% - 48px),var(--max));
    margin: auto
}

.utility {
    height: 38px;
    background: #7DCDF4;
    border-bottom: 1px solid #dedede;
    font-size: 11px;
    font-weight: 700
}
img.logo-brand {
    width:112px;
    height:auto;
    padding:12px 4px 8px 8px;
}

img.logo-site {
    width: 122px;
    height: auto;
    padding: 12px 24px 3px 0;
}
@media(min-width:600px) {
    img.logo-site {
        width: 142px;
    }
}   
    
    .utility .container {
        display: flex;
        height: 100%;
        align-items: center;
        justify-content: space-between
    }

    .utility a {
        color: var(--deep)
    }
    /*--skippy--*/
    .sr-only-focusable:not(:focus):not(:focus-within) {
        position: absolute !important;
    }

    .sr-only-focusable:not(:focus):not(:focus-within) {
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    .skippy {
        background-color: #4c0bce;
        a {color:fff; font-size:16px;font-weight:400; text-decoration:underline;}
}

/*--header--*/
header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
    border-bottom: 1px solid #dfe3e5
}

.header {
    min-height: 80px;
    display: flex;
    align-items: center;
    
}

.brand {
    display: flex;
    align-items: center;
    gap: 18px
}

.kumon, site-branding {
    font-size: 23px;
    letter-spacing: .055em;
    color: var(--kumon);
    font-weight: 900
}


.site-title {
    
    border-right: 1px solid #ccd3d7;
    
}

.nav {
    margin-left: auto;
    display: flex;
    align-self: stretch
}

    .nav a {
        font-family: source-sans-3,Arial, Helvetica, sans-serif;
        display: flex;
        align-items: center;
        padding: 0 13px;
        border-bottom: 3px solid transparent;
        color: #222;
        font-size: 16px;
        font-weight: 700;
        letter-spacing: .035em;
        line-height:1.1;
        text-decoration:none;
    }

        .nav a:hover {
            color: var(--blue-darkest);
            border-color: var(--kumon)
        }

    .nav .portal {
        align-self: center;
        height: 46px;
        margin-left: 12px;
        background: var(--light);
        color: #484848;
        border-radius: 5px;
        border: 1px solid #DCE7EC;
        padding-left: 6px;
        &:before {
                     content:'';
                     width:36px;
                     aspect-ratio:1/1;
                     background:url(../images/saido/icon-user-only.svg) 50% 50% no-repeat;
                     background-size:28px;
                     margin-right:2px;
                     display:inline-block;
                 }
                 &:hover {
                     border-color:#fff;
                 }
    }

.menu {
    display: none;
    margin-left: auto;
    border: 0;
    background: transparent;
    font-size: 46px
}

.hero {
    background: var(--light);
    border-bottom: 1px solid #dce8ed
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 440px
}

.hero-copy {
    padding: 62px 62px 62px 0;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.eyebrow {
    color: var(--deep);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 13px
}

h1 {
    font-size: clamp(30px,4.4vw,52px);
    line-height: 1.02;
    letter-spacing: -.035em;
    color: #39464d;
    margin: 0 0 20px
}

.hero p {
    font-size: 17px;
    color: #505b62
}

.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px
}

.btn {
    font-family: "proxima-nova",Arial,"Helvetica Neue",Helvetica,sans-serif;
    min-height: 46px;
    padding: 0 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--kumon);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .045em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    &:hover

        {
            text-decoration: none;
        }
    }

.btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.primary {
    background: var(--blue-darkest);
    color: #F2F7FA;
    &:hover
    {
        background: var(--blue-btn-hover);
    }
}

.hero-grid .actions {
    justify-content: center;
    .btn {
    width: 90%;
    }
}

@media(min-width:600px) {
    .hero-grid .actions {
        justify-content: start;
    }
        .hero-grid .actions .btn {
        max-width: 360px;
       
        
    }
}
.outline {
    background: #fff;
    color: var(--blue-darkest);
    border-color: var(--blue-darkest);
    &:hover
{
    border-color: var(--kumon);
}
}

.text-link {
    margin-top: 18px;
    color: var(--blue-darkest);
    font-weight: 700;
    text-decoration: underline
}

/*--
    .image-placeholder {
    position: relative;
    min-height: 320px;
   border: 2px dashed #7aaabd;
    background: repeating-linear-gradient(135deg,#e8f4f9,#e8f4f9 12px,#f7fbfd 12px,#f7fbfd 24px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-align: center;
    color: #28566e
}

 .image-placeholder:before {
            content: "IMAGE";
            position: absolute;
            left: 14px;
            top: 12px;
            font-size: 10px;
            font-weight: 800;
            letter-spacing: .18em;
            color: var(--deep)
        }

        .image-placeholder strong {
            display: block;
            font-size: 16px;
            margin-bottom: 8px
        }

        .image-placeholder span {
            display: block;
            line-height: 1.65;
            color: #496b7d
        }*/

.image-hero {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    max-width: 100%;
    display: block;
}
/*.small-image .image-hero {
    min-height: 440px;
}*/
.hero .image-hero {
    height: 400px;
}
.science-image .image-hero {
    height: 350px;
    object-fit: contain;
}

.has-credit {
    position: relative;
}
    .has-credit p.photo-credit {
        position: absolute;
        bottom: 0;
        right: 0;
        background: rgba(0,0,0,.5);
        font-size: 13px;
        padding: 3px 6px;
        line-height: 1;
        margin: 3px;
        color: #eee;
        font-family: Arial,Arial, Helvetica, sans-serif;
    }




@media(min-width:993px) {
    .hero .image-hero {
        padding-top: 100px;
        object-position: -80px 0;
        object-fit: cover;
        height: 600px;
    }
    .hero .has-credit p.photo-credit {
        bottom: 90px;
    }
}
@media(min-width:1200px) {
    .hero .image-hero {
        
        height: 100%;
    }
    .hero .has-credit p.photo-credit {
        bottom: 0px;
    }
}
 
    .section {
        padding: 38px 0 76px;
    }

    .heading {
        /*display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 35px;*/
        margin-bottom: 34px
    }

        .heading h2, .section h2 {
            font-size: clamp(30px,3vw,42px);
            line-height: 1.12;
            letter-spacing: -.02em;
            margin: 0;
            color: #414b51
        }

        .heading p {
            /* max-width: 500px;*/
            color: #646c71;
            font-size: 1rem
        }

    .cards {
        display: grid;
        grid-template-columns: repeat(4,1fr);
        gap: 18px
    }

    .card {
        min-height: 235px;
        border: 1px solid #d6dadd;
        border-top: 5px solid var(--accent);
        padding: 26px 24px;
        background: #fff;
        display: flex;
        flex-direction: column
    }

        .card h3 {
            font-size: 18px;
            margin: 0 0 22px
        }

        .card p {
            color: #60676b
        }

        .card a {
            margin-top: auto;
            color: var(--deep);
            font-weight: 800;
            text-transform: uppercase
        }

    @media(min-width:768px) {
        .cards {
            grid-template-columns: repeat(3,1fr);
        }
    }

    .split {
        display: grid;
        grid-template-columns: .82fr 1.18fr;
        gap: 64px;
        align-items: start
    }

    .copy {
        color: #596166
    }

    .process {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        border-top: 1px solid var(--border);
        margin-top: 32px
    }

        .process div {
            padding: 22px 20px 0 0
        }

        .process strong {
            display: block;
            margin-bottom: 7px
        }

        .process span {
            color: #687178
        }

    .visual-band {
        background: var(--gray);
        border-top: 1px solid #e5e5e5;
        border-bottom: 1px solid #e5e5e5
    }

    .visual-grid {
        display: grid;
        grid-template-columns: 1.1fr .9fr;
        gap: 28px
    }

   

    .health-note {
        background: var(--light);
        font-size:15px;
        border-left: 5px solid var(--kumon);
        padding: 20px;
        margin-top: 24px;
        color: #555e63
    }

    .program {
        background: var(--gray)
    }

    .program-box {
        background: #fff;
        border-top: 5px solid var(--kumon);
        padding: 34px
    }

    .program-points {
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        margin: 0 0 28px 0
    }

        .program-points div {
            padding: 22px
        }

            .program-points div + div {
                border-left: 1px solid var(--border)
            }
        .program-points h3 {
            
            margin-top: 6px
        }
        .program-points span {
            color: #687178;
            display: block;
            margin-top: 6px
        }

    .directory {
        background: #fff
    }

    .directory-layout {
        display: grid;
        grid-template-columns: 2fr .9fr;
        gap: 22px
    }

    .panel {
        border: 1px solid var(--border);
        padding: 30px
    }

        .panel h3 {
            margin-top: 0
        }

    .search {
        margin: 22px 0
    }

        .search input, .search select {
            height: 46px;
            border: 1px solid #bfc6ca;
            padding: 0 13px;
            font-size: inherit;
        }

    .result {
        padding: 17px 0;
        border-top: 1px solid var(--border);
    }

    .center {
        text-align: center;
        border-top: 5px solid var(--kumon)
    }

    .image-pair {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 22px;
        margin-top: 34px
    }

    .contact {
        background: var(--light)
    }

    .contact-grid {
        display: grid;
        grid-template-columns: .78fr 1.22fr;
        gap: 1.6em;
    }

    .form {
        background: #fff;
        border: 1px solid var(--border);
        border-top: 5px solid var(--kumon);
        padding: 34px
    }

    .fields {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px
    }

    .field.full {
        grid-column: 1/-1
    }

    .field label {
        display: block;
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 6px
    }

    .field input, .field select, .field textarea {
        width: 100%;
        border: 1px solid #bfc6ca;
        padding: 12px;
        font-size: 16px;
    }
    .field input[type="checkbox"] {width:auto}

    .field textarea {
        min-height: 120px
    }
    .field-warning {
        margin: 4px 0;
    
        background: #fff8e1;
   
        font-size: 0.875rem;
    }


.field .form-consent {
    input[type="checkbox"]
    {
        width: 24px;
        height: 24px;
        vertical-align: middle;
    }
    label {
        display: flex;
        align-items: start;
        gap: 8px;
    }
    .legal-note
        {
            font-size: 15px;
        }

    }
    footer {
        background: var(--footer);
        color: #fff;
        padding: 48px 0 22px
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
        gap: 1.6em;
    }

        .footer-grid p, .footer-grid a {
            font-size: 16px;
            color: #e1e1e1;
            display: block;
            margin: 8px 0
        }

    .prototype {
        position: fixed;
        right: 14px;
        bottom: 14px;
        background: #404040;
        color: #fff;
        padding: 9px 12px;
        font-size: 10px;
        letter-spacing: .08em
    }

    .caption {
        margin-top: 8px;
        font-size: 11px;
        color: #6c6c6c;
    }

    .menu-open {
        display: flex !important
    }

    .news {
        background: #fff;
        border-top: 1px solid #e5e5e5;
        border-bottom: 1px solid #e5e5e5
    }

    .news-list {
        border-top: 1px solid var(--border)
    }

    .news-item {
        display: grid;
        grid-template-columns: 120px 150px 1fr;
        gap: 18px;
        align-items: start;
        padding: 20px 0;
        border-bottom: 1px solid var(--border)
    }

        .news-item[hidden] {
            display: none;
        }

    .news-date {
        font-size: 15px;
        color: #6d777c
    }

    .news-category {
        display: inline-flex;
        padding: 3px 10px;
        background: var(--light);
        color: var(--deep);
        font-size: 13px;
        font-weight: 800;
        text-transform: uppercase
    }

    .news-title {
        font-size: 18px;
        font-weight: 700
    }

    .news-summary {
        display: block;
        margin-top: 4px;
        font-weight: 400;
        color: #687178
    }

    .news-extra[hidden] {
        display: none
    }

    .news-toggle {
        margin: 26px auto 0
    }

    .symbol {
        font-size: 18px;
        margin-right: 8px
    }

    .new-program-box {
        border: 1px solid var(--border);
        border-top: 5px solid var(--kumon);
        background: var(--light);
        padding: 36px
    }

    .status {
        display: inline-block;
        margin-bottom: 14px;
        padding: 5px 10px;
        background: #fff3d6;
        color: #805600;
        font-size: 14px;
        font-weight: 800;
        text-transform: uppercase;
        border: 1px solid #ead49c
    }

    .location-fields {
        grid-column: 1/-1;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 18px
    }

    @media(max-width:992px) {
        /*.utility {
            display: none
        }*/

        .nav {
            display: none;
            position: absolute;
            top: 108px;
            left: 0;
            right: 0;
            background: #fff;
            flex-direction: column;
            padding: 15px
        }

            .nav a {
                padding: 14px;
                font-size: 22px;
            }

        .menu {
            display: block;
            display: block;
            cursor: pointer;
            padding: 0 12px;
            border: 2px dashed transparent;
            &:hover, &:focus
                {
                    border: 2px dashed var(--blue-btn-hover);
                }
        }

        .hero-grid, .split, .visual-grid, .directory-layout, .contact-grid {
            grid-template-columns: 1fr
        }

        .hero-copy {
            padding: 50px 0
        }

        .hero-image {
            min-height: 300px
        }

        .cards {
            grid-template-columns: 1fr 1fr
        }

        .footer-grid {
            grid-template-columns: 1fr 1fr
        }
    }

    @media(max-width:560px) {
        .news-item {
            grid-template-columns: 1fr;
            gap: 6px
        }

        .location-fields {
            grid-template-columns: 1fr
        }

        .container {
            width: min(calc(100% - 30px),var(--max))
        }

        .cards, .image-pair, .fields, .program-points, .search {
            grid-template-columns: 1fr
        }

            .program-points div + div {
                border-left: 0;
                border-top: 1px solid var(--border)
            }

        .footer-grid {
            grid-template-columns: 1fr
        }

        .section {
            padding: 58px 0
        }
    }

/*   .nav .portal {
        line-height: 1.05;
        text-align: center
    }*/
/*--
    .cards {
        grid-template-columns: repeat(3,1fr)
    }
}--*/
    .science {
        background: #fff
    }

    .science-grid {
        display: grid;
        grid-template-columns: 1.2fr .8fr;
        gap: 54px;
        align-items: center
    }

    .science .expert {
        margin-top: 24px;
        padding-top: 18px;
        border-top: 1px solid var(--border)
    }

        .science .expert strong, .science .expert span {
            display: block
        }

        .science .expert span {
            margin-top: 5px;
            color: var(--copy);
            font-size: 15px
        }

    .science-image {
        min-height: 360px
    }

    @media(max-width:992px) {
        .science-grid {
            grid-template-columns: 1fr
        }

        .science-image {
            min-height: 280px
        }
    }

/* .nav .portal {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        line-height: 1.1;
        text-align: center
    }
*/
       

        .nav .portal .portal-line-sub {
            margin-top: 0;
            font-size: 14px;
            font-weight: 400
        }

    .nav .new-program-tab {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        line-height: 1.1;
        text-align: center;
        margin-top: 14px;
    }

    @media(max-width:992px) {

        .nav .new-program-tab,
        .nav .portal {
            flex-direction: row;
            justify-content: start;
            gap: 6px;
            width: 100%;
        }
    }

    .nav .new-program-tab .nav-line {
        display: block;
        white-space: nowrap
    }

    .nav .new-program-tab .nav-line-main {
        font-weight: inherit
    }

    .nav .new-program-tab .nav-line-sub {
        font-size: 14px;
        font-weight: 400;
        text-transform: none
    }

