﻿:root {
    --left: 1 / 2;
    --right: 2 / 3;
    --menu-background-img: url(/Images/bgmenudark.png);
    --light-blue: #1761ae;
    --dark-blue: #0a2849;
    --gray: #d9d9d9;
    --yellowish: #cdc62d;
    /*
    --small: 1279px;
    --tablet: 1074px;
    --mobile: 767px;
    */
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 10px;
}

.grid-subgrid-flex {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

@media all and (max-width: 1279px) {
    .grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, auto);
    }

    .grid-subgrid-flex {
        max-width: 100%;
    }

    .grid-subgrid-flex {
        justify-content: flex-start;
    }
}

.grid-item-1 {
    grid-column: var(--left);
}

.grid-item-2 {
    grid-column: var(--left);
    text-align: center;
    padding-bottom: 1em;
}

.grid-item-3 {
    grid-column: var(--left);
}

.grid-item-3-sub-grid-flex {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    column-gap: 10px;
}

@media all and (max-width: 1235px) {
    .grid-item-3-sub-grid-flex {
        flex-direction: column;
        padding-left: 20%;
    }
}

.grid-item-4 {
    grid-column: var(--left);
}

.grid-item-4-flex-container {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.grid-item-4-sub-item {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

@media all and (max-width: 1074px) {
    .grid-item-4-sub-item {
        justify-content: center;
    }
}

@media all and (max-width: 767px) {
    .grid-item-4-sub-item {
        flex-direction: column;
        align-items: center;
    }
}

.grid-item-5 {
    grid-column: var(--right);
}

@media all and (max-width: 1074px) {
    .grid-item-5 {
        grid-column: var(--left);
        grid-row: 2 / 3;
        align-items: center;
    }
}

.grid-item-5-sub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto 1fr;
    height: 100%;
}

.grid-item-5-flex-center {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    text-align: center;
    font-size: 1.9em;
    justify-content: flex-start;
}

.flex-container-left {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    display: flex;
    justify-content: flex-start;
}

.flex-container-right {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    display: flex;
    justify-content: flex-start;
}

@media all and (max-width: 1279px) {
    .grid-item-5-sub-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auot 1fr 1fr;
        align-items: center;
    }

    .grid-item-5-flex-center {
        grid-column: 1 / 2;
    }

    .flex-container-left {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        display: flex;
    }

    .flex-container-right {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
        display: flex;
    }
}

@media all and (max-width: 1074px) {
    .grid-item-5-sub-grid {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
}

.apply-button {
    font-size: 1.2em;
    display: inline-block;
    padding: 1em 1.5em;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background-color: var(--light-blue);
    border-radius: 10px;
    outline: none;
}

    .apply-button:hover {
        background-color: var(--dark-blue);
    }

details {
    transition: height 1s ease;
    -o-transition: height 1s ease;
    -moz-transition: height 1s ease;
    -webkit-transition: height 1s ease;
    max-width: auto;
    min-width: 194px;
}

@media all and (max-width: 1279px) {
    details {
        min-width: 178px;
    }
}

@media all and (max-width: 1074px) {
    details {
        min-width: fit-content;
    }
}

details:not([open]) {
    height: 2em;
}

details[open] {
    height: 18em;
    overflow: hidden;
}

    details[open]:last-of-type {
        height: 11em;
        overflow: hidden;
    }

@media all and (max-width: 1279px) {
    details[open] {
        height: 18em;
    }
}

@media all and (max-width: 1074px) {
    details[open] {
        height: 14.5em;
    }

    details > ul > li {
        list-style: initial;
    }
}

details > ul {
    text-align: left;
}

details[open] > summary:before {
    height: initial;
    transform: rotate(45deg);
    transition-duration: 0.5s;
    margin-left: 0.08em;
}

details summary {
    cursor: pointer;
    font-size: 1.7em;
    list-style: none;
}

summary:before {
    content: " ";
    border: solid;
    border-width: 0 2px 2px 0;
    border-color: var(--light-blue);
    display: inline-block;
    text-align: left;
    padding: 0 5px 5px 0;
    transform: rotate(-45deg);
    margin: auto 0.3em 0.2em auto;
}


details summary > * {
    display: inline;
}

.guiding-principles > div {
    height: 190px;
    width: 190px;
    border-radius: 30% 15%;
    background: var(--menu-background-img);
    background-size: cover;
    padding: 2em;
    margin: 1.75em 3em 1em 3em;
    box-shadow: inset 0 0 50px #fff, /* inner white */
                inset 20px 0 20px var(--light-blue), /* inner left short */
                inset -20px 0 20px var(--dark-blue), /* inner right short */
                inset 20px 0 200px var(--light-blue), /* inner left broad */
                inset -20px 0 200px var(--dark-blue), /* inner right broad */
                -10px 0 10px var(--light-blue), /* outer left */
                10px 0 10px var(--dark-blue); /* outer right */
}

    .guiding-principles > div > h6 {
        color: var(--yellowish);
        text-align: center;
        font-variant: small-caps;
        font-weight: bold;
        font-size: 1.75em;
    }

    .guiding-principles > div > p {
        color: #fff;
        text-align: left;
        font-size: 1.25em;
    }

@media all and (max-width: 1235px) {
    .guiding-principles > div {
        height: 240px;
        width: 150px;
    }
}

.employee-highlights {
    flex-direction: column;
    align-items: center;
    padding: 0 1em 1em 1em;
}

.employee-container:nth-of-type(2n) {
    padding-top: 3em;
}

@media all and (max-width: 1074px) {
    .employee-highlights {
        max-width: 50%
    }
}

@media all and (max-width: 767px) {
    .employee-highlights {
        max-width: 100%
    }
}

.employee-quote {
    position: relative;
    margin: 0.5em;
    background: #eee;
    padding: 1em;
    border-radius: 1em;
    height: 55vh;
    min-height: 450px;
    max-height: 541px;
    justify-content: space-between;
}

    .employee-quote figcaption {
        position: absolute;
        bottom: 0.5em;
        right: 1em;
        margin: 0.5em;
        text-align: right;
    }

    .employee-quote blockquote {
        margin: 0.5em;
        text-align: left;
        padding-top: 2em;
    }

@media all and (max-width: 1279px) {
    .employee-quote {
        height: initial;
        min-height: initial;
    }

        .employee-quote blockquote {
            padding-bottom: 1em;
        }
}

.quotation {
    quotes: "\201C""\201D""\2018""\2019";
    line-height: 1.4;
}

    .quotation:before {
        content: open-quote;
        display: inline;
        height: 0;
        line-height: 0;
        left: -3px;
        position: relative;
        top: 17px;
        color: #191919;
        font-size: 3em;
    }

    .quotation::after {
        content: close-quote;
        display: inline;
        height: 0;
        line-height: 0;
        left: 3px;
        position: relative;
        top: 17px;
        color: #191919;
        font-size: 3em;
    }

.employee-quote > .img {
    vertical-align: central;
    background-position: center;
    background-size: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    max-width: 190px;
    height: 20vh;
    max-height: 190px;
    border-radius: 15%;
    box-shadow: -10px 0 10px var(--gray), /* outer left */
                10px 0 10px var(--gray); /* outer right */
}

.jerry {
    background-image: url(/Images/jerry.jfif);
}

.jackie {
    background-image: url(/Images/jackie.jfif);
}

.amanda {
    background-image: url(/Images/amanda.jfif);
}

.rob {
    background-image: url(/Images/rob.jfif);
}
