@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");
:root {
    --white: #ffffff;
    --lt-gray: #f0f0f0;
    --dk-gray: #201a17;
    --gray: #c2c2c2;
    --green: #195322;
    --lt-green: #437a4d;
    --red: #870b28;
    --primary: #1e73be;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}
.red {
    background-color: var(--red) !important;
    color: var(--white) !important;
}
.red_text {
    color: var(--red) !important;
}
.green_text {
    color: var(--green) !important;
}
.gray {
    background-color: var(--dk-gray) !important;
    color: var(--white) !important;
}
.green {
    background-color: var(--green) !important;
    color: var(--white) !important;
}
body {
    line-height: 1.6em;
    font-family: "Montserrat", serif;
    font-size: 16px;
    background-color: var(--lt-gray);
    color: var(--dk-gray);
    width: 100%;
    min-height: 100vh;
}
a {
    text-decoration: none;
    color: inherit;
}
a.inline {
    color: var(--lt-green);
}
a.inline:hover {
    color: #092652;
}
h1, h2, h3, h4, h5, h6 {
    text-align: center;
    margin: 12px 0;
    line-height: 1.6rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 100;
    letter-spacing: -2px;
}
h1 {
    font-size: 40px;
    line-height: 54px;
}
h3 {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 20px;
}
img {
    width: 100%;
    max-width: 100%;
}
.wrapper {
    display: grid;
    grid-template-columns: 1fr repeat(6, 1fr) 1fr;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
.wrapper > div {
    grid-column: 2 / -2;
}
main {
    padding: 2em;
    min-height: 70vh;
}
header > div.small_header {
    grid-column: 1 / -1;
    min-height: 20vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
header > div.small_header h1 {
    color: var(--white);
}
.flex_row {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.clickable {
    cursor: pointer;
}
.btn {
    background-color: var(--primary);
    color: var(--white);
    border-radius: 2px;
    border: none;
    max-width: fit-content;
    margin: 12px 0;
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    text-align: center;
}
.btn:hover {
    opacity: 0.8;
    padding: 12px 16px;
}
.btn.disabled {
    opacity: 50%;
}
.left_align, .left_align * {
    text-align: left;
    justify-content: flex-start;
    width: 100%;
}

/**************************************************/
/*******************  HEADER  ********************/
/************************************************/
header > div {
    min-height: 40vh;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}
header.main_header > div {
    min-height: 60vh;
}
header.main_header {
    background-image: url('/assets/images/paddle_lines.svg');
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
}

/**************************************************/
/*******************    NAV   ********************/
/************************************************/
nav {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    width: 100%;
    background-color: var(--dk-gray);
    color: white;
    position: relative;
    box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.25);
}
nav .row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
nav h1 {
    font-size: 20px;
    margin: 0;
}
nav a {
    padding: 24px;
    transition: all 0.2s ease-in-out;
}
nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.logo {
    max-width: 150px;
    filter: invert(1);
}


/**************************************************/
/*****************  COLUMNS   ********************/
/************************************************/
.two_col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    min-height: 600px;
}
.two_col > div:first-of-type {
    grid-column: 1;
}
.two_col > div:last-of-type {
    grid-column: 2;
}
.two_col .img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.two_col .wrapper {
    padding: 24px;
}
.two_col .wrapper > div {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}
.full_col {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    padding: 48px;
    min-height: 500px;
}

/**************************************************/
/******************* CARDS  **********************/
/************************************************/
.cards {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}
.card {
    position: relative;
    margin: 24px;
    width: 300px;
    height: 300px;
    background-color: var(--white);
    color: var(--dk-gray);
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2), -1px -1px 10px rgba(255, 255, 255, 0.1);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.card a {
    color: #135c7b;
    text-decoration: underline;
}
.card:hover {
    scale: 1.01;
}
.card .img {
    width: 100%;
    height: 150px;
    min-height: 150px;
    max-height: 150px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.card .content {
    padding: 24px;
}
.card .btn {
    max-width: 100%;
}
.card p {
    text-align: center;
}


/**************************************************/
/****************    FORMS     *******************/
/************************************************/
.contact_form {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}
input, textarea, select {
    font-family: 'source-sans', sans-serif;
    background-color: var(--white);
    outline: none;
    border: none;
    border-bottom: 2px solid var(--dk-gray);
    color: var(--dk-gray);
    height: 46px;
    width: 100%;
    padding: 6px;
    font-size: 16px;
}
textarea {
    height: 64px;
}
.form_label {
    display: flex;
    flex-flow: column nowrap;
    width: 100%;
    margin: 22px 0 12px 0;
}
.form_label span {
    order: -1;
    color: var(--dk-gray);
    font-size: 16px;
}
.form_label .error {
    height: 26px;
    font-size: 12px;
    color: var(--red);
}
.checkbox_label {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: flex-start;  
    margin: 2em 0;  
}
.checkbox_label .form_label {
    flex-flow: row nowrap;
    align-items: center;
    gap: 1em;
    margin: 6px 0;
}
input[type="checkbox"] {
    width: 40px;
    height: 40px;
}
#usr_msg {
    display: none;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    z-index: 100000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 55px;
    padding: 8px 55px;
}
#usr_msg .close {
    position: absolute;
    z-index: 1001;
    top: 0;
    right: 8px;
    height: 55px;
    width: 55px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.success {
    background: #00ffae;
    color: var(--dk-gray);
}
.success_text {
    color: #03ab76;
    font-weight: bold;
    letter-spacing: 1px;
}
.warning {
    background: #931f1f;
    color: var(--white);
}
.warning_text {
    color: #990A2C;
}
input.warning_text {
    border-bottom: 2px solid #990A2C;
}
.main_form {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: flex-start;
}
.form_label select + span {
    font-size: 16px;
    color: var(--dk-gray);
}
.main_form .form_group {
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    align-items: flex-start;
    justify-content: center;
}
.main_form .form_group span {
    color: var(--dk-gray);
}
.form_radios, .form_select {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: flex-start;
}
.form_radios > .form_radio, .form_select > div {
    width: 100%;
    display: grid;
    gap: 12px;
    margin: 12px 0;
    grid-template-columns: 36px auto;
    justify-content: flex-start;
    align-items: center;
}
.form_select > div {
    grid-template-columns: 1fr 1fr;
}
.form_radios input[type="radio"] {
    width: 24px;
    height: 24px;
}
.form_radios > .form_radio + span, .form_select > div + span {
    position: static;
    order: -1;
}

input.ng-touched.ng-invalid, textarea.ng-touched.ng-invalid, select.ng-touched.ng-invalid {
    border-bottom: 2px solid var(--red);
}
input.ng-touched.ng-invalid + span, textarea.ng-touched.ng-invalid + span, select.ng-touched.ng-invalid + span {
    color: var(--red);
}

/* .form_label span strong {
    display: none;
    font-weight: normal;
    font-style: italic;
} */

/**************************************************/
/****************    TABLE     *******************/
/************************************************/
.table {
    border-collapse: collapse;
    width: 100%;
}
.table .icon {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80% 80%;
    filter: invert(20%);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    width: 40px;
    height: 40px;
}
.table .icon {
    filter: invert(30%);
}
#practice_schedule table tr:nth-child(2n){
    background-color: rgba(0, 16, 94, 0.1);
}

#spinner {
    display: none;
    z-index: 10000;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(94, 53, 0, 0.2);
    backdrop-filter: blur(5px);
}
#spinner::after {
    content: "";
    background-image: url('/assets/loading-gear.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100px;
    height: 100px;
    position: fixed;
    top: calc(50% - 50px);
    right: calc(50% - 50px);
    filter: invert(1);
    animation: spin 2s infinite linear;
}

/**************************************************/
/****************    MODAL     *******************/
/************************************************/
.modal {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9997;
}
.modal_underlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9998;
}
.modal form {
    position: fixed;
    width: 90%;
    height: 90%;
    left: 5%;
    top: 5%;
    display: flex;
    justify-content: center;
    z-index: 9999;
}
.modal .main_form {
    background-color: var(--white);
    padding: 24px;
    max-width: unset;
    overflow-y: scroll;
    justify-content: flex-start;
}
.modal input, .modal textarea, .modal select {
    background-color: var(--lt-gray);
}
.modal_close {
    position: fixed;
    top: 20px;
    right: 42px;
    cursor: pointer;
    z-index: 10001;
}
.modal_close:hover {
    padding: 12px;
}

.tabs {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 2px;
}
.tab-item {
    padding: 12px;
    background-color: var(--gray);
    color: var(--white);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.tab-item.active {
    background-color: var(--primary);
}
.tab-item:hover {
    background-color: var(--primary);
    opacity: 0.8;
    padding: 12px 16px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

@media only screen and (max-width: 950px) {
    nav {
        flex-flow: column nowrap;
        justify-content: center;
    }
    nav a {
        padding: 24px 12px;
    }
}


@media only screen and (max-width: 750px) {
    nav {
        padding: 54px 0 24px;
    }
    nav .row {
        flex-flow: column nowrap;
        text-align: center;
    }
    nav a {
        padding: 6px 24px;
        width: 100%;
    }

    .wrapper {
        height: unset;
        padding: 48px 0;
    }
    header.main_header > div {
        min-height: 50vh;
    }
    .two_col {
        display: flex;
        flex-flow: column nowrap;
        min-height: unset;
    }
    .two_col .img {
        order: 1;
    }
    #usr_msg {
        height: 100px;
        padding: 8px 60px 8px 12px;
    }
    #usr_msg .close {
        top: 20px;
    }
    .form_label {
        margin: 28px 0 8px 0;
    }
    h1 { 
        font-size: 24px;
    }
    .full_col {
        padding: 24px 12px;
    }
    .steps {
        grid-template-rows: 100px 50px 100px 50px 100px 50px 100px 50px 100px 50px 200px;
    }
}