/* Copyright (c) 2020 International Academy of Science */

.button.student {
    background-image: url('/index-files/images/Student-Sign-In-Btn.png');
    margin-left: 5%;
}

.button.teacher {
    background-image: url('/index-files/images/Teacher-Sign-In-Btn.png');
}

/********************/

#learning-accelerator {
    height: calc(100vh - 75px);
    box-shadow: 0 0 7px 3px #0000004a inset;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

#learning-accelerator video {
    min-width: 100%;
    min-height: 100%;
}

#learning-accelerator h1 {
    font: bold 55px Tahoma, "Open Sans", sans-serif;
    margin: 0;
    text-align: center;
    padding-top: 50px;
    color: white;
    text-shadow: -1px -1px 7px #142b4e, -1px 1px 7px #142b4e, 1px 1px 7px #142b4e, 1px -1px 7px #142b4e;
    position: absolute;
    top: 0;
    width: 100%;
}

/********************/

#quote-1 {
    max-width: 310px;
    background: url('/index-files/images/DkBlue-1.jpg') no-repeat;
}

.quote {
    color: white;
    font-size: 19px;
    padding: 40px 50px;
    position: relative;
    margin: 75px 0;
}

.quote sub {
    display: block;
    margin-top: 20px;
    font-size: 14px;
    font-style: italic;
}

.quote::before {
    content: "";
    display: inline-block;
    background: url('/index-files/images/Quote-R.png') no-repeat;
    background-size: auto 100%;
    width: 50px;
    height: 35px;
    position: absolute;
    top: -5px;
    left: 35px;
}

.quote::after {
    content: "";
    display: inline-block;
    background: url('/index-files/images/Quote-L.png') no-repeat;
    background-size: auto 100%;
    width: 50px;
    height: 35px;
    position: absolute;
    bottom: 0;
    right: 35px;
}

/********************/

.button-blue {
    border: none;
    padding: 10px;
    font-size: 12px;
    font-weight: 500;
    background: linear-gradient(#3cb6f3, #1e96e6);
    color: white;
    text-decoration: none;
    border-radius: 7px;
    cursor: pointer;
}

.button-blue:hover {
    background: linear-gradient(#30b6f9, #2ca1ef);
}

.button-blue a {
    color: white;
    text-decoration: none;
}

.button-div {
    display: block;
    margin: auto;
}

/************/

#talk-science {
    margin: 60px 0;
}

#talk-science h2 {
    font: 600 45px "Open Sans Condensed", "Open Sans", sans-serif;
    color: #003769;
    margin: 0 0 10px;
}

#talk-science h4 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: #0a4b8b;
}

#talk-science article {
    max-width: 345px;
    padding-right: 30px;
}

#talk-science article .links {
    white-space: nowrap;
}

#talk-science p {
    font-size: 16px;
    margin-top: 20px;
    color: #292929;
}

#talk-science .flex > img {
    max-width: 320px;
    margin: 0 20px;
    align-self: center;
}

/******************************/

#news-plus {
    background: #d8d8d8;
}

#acellus-news {
    max-width: 445px;
    margin-right: 25px;
}

#acellus-news h3 {
    font: 500 25px "Open Sans", sans-serif;
    color: #213d6a;
    display: inline-block;
    padding: 0 40px 5px 0;
    border-bottom: 1.5pt solid #4697cf;
    margin-bottom: 5px;
}

#acellus-news article {
    display: grid;
    grid-template-rows: auto auto 100fr;
    grid-template-columns: auto 100fr;
    grid-template-areas:
            "image heading"
            "image body"
            "image link";
    padding: 10px;
}

#acellus-news article img {
    grid-area: image;
    margin-right: 15px;
    width: 95px;
}

#acellus-news h6 {
    font-size: 14px;
    color: #225595;
    margin: 2px 0;
}

#acellus-news p {
    margin: 0;
    font-size: 15px;
}

#acellus-news article a {
    color: #5b92db;
    text-decoration: none;
    font-size: 14px;
    margin-top: 10px;
    display: block;
}

.more-news {
    display: block;
    margin: 15px 0 0 120px;
}

/**********/

#acellus-academy {
    max-width: 550px;
    width: 100%;
    padding: 40px 65px 100px;
    box-sizing: border-box;
    margin: 50px auto 0;
    background: url('/index-files/images/Acellus-Academy.png') no-repeat;
    background-size: contain;
}

#acellus-academy h2 {
    margin: 0;
    font: bold 37px "Open Sans Condensed", "Open Sans", sans-serif;
    color: #003c74;
}

#acellus-academy .divider {
    border-bottom: 1.5pt solid #4697cf;
    width: 65px;
    margin: 15px 0;
}

#acellus-academy p {
    margin: 0 0 30px;
    max-width: 228px;
}

/**************/

#acellus-blogs {
    padding: 50px 0;
}

#acellus-blogs h5 {
    margin: 0 0 40px;
    color: white;
    text-transform: uppercase;
    font-size: 20px;
    text-align: center;
}

#acellus-blogs .flex > a {
    width: 30%;
    text-decoration: none;
}

#acellus-blogs img {
    max-width: 100%;
}

#acellus-blogs p {
    padding: 10px 0;
    color: white;
    background: rgba(0, 0, 0, 0.75);
    text-align: center;
    text-transform: uppercase;
    width: 90.5%;
    margin: -63px auto 0;
    position: relative;
}

/******************/

#acellus-store, #science-fair {
    padding: 100px 0 75px;
    justify-content: space-between;
}

#acellus-store h5, #science-fair h5 {
    color: #2e83ca;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

#science-fair h5 {
    margin-top: 10px;
}

#acellus-store p, #science-fair p {
    color: #4c4c4c;
    font-size: 15px;
    margin: 10px 0 20px;
}

#acellus-store > div, #science-fair > div {
    max-width: 500px;
}

/******************/

.button-green, .button-skyblue {
    border: none;
    background: #51c733;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 3px;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
}

.button-skyblue {
    background: #3093DC;
}

.button-green a, .button-skyblue a {
    color: white;
    text-decoration: none;
}

/******************/

.bkgImgDrkBlue {
    background-image: url('/index-files/images/DkBlue-2.jpg');
    background-size: 100% 100%;
}

.bkgGray {
    background: #d8d8d8;
}

.bkgImgGray {
    background: url('/index-files/images/Gray-Background1.jpeg');
    background-size: cover;
}

.flexGrow2 {
    flex-grow: 2;
}

.pad60TB {
    padding: 60px 0;
}

/*******************/

@media all and (max-width: 840px) {
    .button.student {
        background-image: url('/index-files/images/Student-Sign-In-Btn-mobile.png');
        margin: 0;
    }

    .button.teacher {
        background-image: url('/index-files/images/Teacher-Sign-In-Btn-mobile.png');
        margin: 0 0 0 5px;
    }

    #learning-accelerator h1 {
        font-size: 40px;
    }

    #talk-science {
        padding: 20px;
        margin: 0;
    }

    #talk-science h2 {
        font-size: 30px;
        line-height: 30px;
        max-width: 370px;
        margin: 10px auto;
    }

    #talk-science article {
        padding: 0;
        max-width: 370px;
        margin: auto;
    }

    #talk-science h4 {
        font-size: 15px;
        font-weight: bold;
    }

    #talk-science p {
        font-size: 14px;
    }

    #talk-science .flex > img {
        margin: 30px 0 10px;
    }

    #quote-1 {
        max-width: none;
        background-size: 100% 100%;
        width: 100%;
        margin: auto;
        padding-bottom: 35px;
    }

    #acellus-news {
        padding: 10px 20px 0;
        margin: 0;
        max-width: none;
        order: 1;
    }

    #acellus-blogs {
        /* padding: 20px; */
    }

    #acellus-blogs .flex > a {
        display: inline-block;
        width: fit-content;
        margin: 0 auto 20px;
    }

    #acellus-store, #science-fair {
        padding: 20px;
    }

    #acellus-store > div, #science-fair > div {
        margin: auto;
    }

    #acellus-store img, #science-fair img {
        max-width: 500px;
        margin: auto;
        order: 2;
        margin-top: 25px;
    }

    .quote {
        margin: 35px auto;
        max-width: 300px;
    }

    .more-news {
        margin: 15px 0 0;
    }

    #acellus-blogs h5 {
        width: 90%;
        margin: 0 auto 20px;
    }

    #acellus-academy {
        padding: 15px 30px 50px 30px;
        margin: 0 auto;
        width: 320px;
    }

    #acellus-academy h2 {
        font-size: 24px;
    }

    #acellus-academy p {
        max-width: 150px;
        font-size: 14px;
        margin-bottom: 10px;
    }

    #acellus-academy .divider {
        margin: 10px 0;
    }

    #acellus-academy .link {
        font-size: 13px;
    }
}

@media all and (max-width: 1099px) {
    #learning-accelerator {
        height: calc(100vh - 47px);
    }

    #learning-accelerator video {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}
