@import url('https://fonts.googleapis.com/css2?family=Lato:wght@600&display=swap');
@import url(/libraries/css/font-awesome/font-awesome.min.css);

body {
    font-family: 'Lato', sans-serif;
    font-size:18px;
    color: #222222;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    margin: 0;
    box-sizing: border-box;
    background-size: cover;
    background-position-x: center;
    background-position-y: top;
    background-repeat: no-repeat;
}


/* Start Background image */
.coaches-page {
    background-image: url('../../');
}

.general-page {
    background-image: url('../../');
}

.events-page {
    background-image: url('../../');
}

.gallery-page {
    background-image: url('../../');
}

.sponsors-page {
    background-image: url('../../');
}

.faq-page {
    background-image: url('../../');
}

.contact-page {
    background-image: url('../../');
}

.facilities-page {
    background-image: url('../../');
}

#home-page-background {
    background-image: url('../../');
    background-repeat: no-repeat;background-size: cover;
    background-position-x: center;
    background-position-y: top;
}
/* End Background image */

/* ------- Start nav menu style -------  */
nav {
    background-color: #011E41;
    border-bottom: 4px solid rgb(34, 34, 34);
}

.menu-button-container {
    display: none;
}

#menu-bar {
    margin: 0;
    padding-left: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start;
}

.menu-item {
    display: block;
}

.menu-item a {
    color: rgb(255, 255, 255);
    cursor: pointer;
    display: block;
    font-size: 20px;
    font-weight: 700;
    padding: 20px 15px;
    position: relative;
    text-decoration: none;
}

.menu-item:hover > a {
    background-color: white;
    color: #011E41;
    text-decoration: none;
}

.menu-item:hover .menu-sub-item {
    display: block;
    cursor: pointer;
    padding-left: 0;
    z-index: 1;
}

.menu-sub-item {
    display: none;
    background-color: white;
    font-size: 12px;
    text-align: start;
    padding: 0;
    position: absolute;
    max-width: none;
    list-style-type: none;
}

.menu-sub-item > li {
    border-bottom: 1px solid #011E41;
}

.menu-sub-item > li:hover {
    background-color: #011E41;
}

.menu-sub-item > li > a {
    font-size: 18px;
    font-weight: 300;
    color: #011E41;
    padding: 10px 15px;
}

.menu-sub-item > li:hover a {
    color: white;
}

.socialIcons {
    background-color: rgb(255, 255, 255);
    padding: 1px;
    position: fixed;
    right: 0px;
    top: 120px;
    margin-left: 4px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.socialIcons i {
    font-size: 30px;
    line-height: 50px;
    width: 50px;
    margin:2px;
    color: white;
}

.socialIcons a {
    text-decoration: none;
}

#facebook i {
    background-color: rgb(66,103,178);
}

#twitter i {
    background-color: rgb(29,161,242);
}

#youtube i {
    background-color: rgb(255,0,0);
}

#instagram i {
    background-color: rgb(64,93,230);
}

#facebook i:hover,
#twitter i:hover,
#youtube i:hover,
#instagram i:hover {
    background-color: rgb(20,23,26);
}
/* ------- End nav menu style -------  */


footer {
    background-color: #011E41;
    color: #ffffff;
    font-size: 14px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer #kjk-registrations-logo {
    width: 44px;
    margin-right: 20px;
}

footer a {
    color: #f5f7b2;
}

footer a:hover {
    color: #ffffff;
}

/* This is the class that wraps up the content on every page */
/* The banner image is not in this class to be able to stretch to 100% */
.page-content {
    flex: 1;
    width: 1170px;
    max-width: calc(100% - 30px);
    margin: 0 auto;
    padding: 20px 15px;
    box-sizing: border-box;
}

/* Styles we defined */
hr {
    background: #b0b0b0;
    margin-bottom: 10px;
    height: 6px;
    border: 0;
}

/* ------- Start CSS classes we defined -------  */
.button {
    background-color: #011E41;
    border: 1px solid #222222;
    color: #ffffff;
    padding: 6px 12px;
    display: inline-block;
    text-decoration: none;
}

.button:hover, .button:focus {
    background-color: #ffffff;
    color: #011E41;
}

.home-page-banner {
    width: 100%;
}

.page-title {
    color: #011E41;
    font-size: 2em;
    font-weight: bold;
}

.image-container {
    display: flex;
    margin: 5px;
    justify-content: center;
    align-items: center;
}

.image-container a {
    text-decoration: none;
    display: grid;
    flex: 1;
}

.image-container img {
    max-width: 100%;
    box-sizing: border-box;
}

.image-container > * {
    margin: 5px;
}

.image-border {
    border-width: 5px;
    border-color: #011E41;
    border-style: solid;
}

.image-rollover-link {
    display: flex;
    margin: 5px;
    justify-content: center;
}

.image-rollover-link a {
    text-decoration: none;
    display: grid;
    position: relative;
    box-sizing: border-box;
    flex: 1;
}

.image-rollover-link img {
    width: 100%;
    box-sizing: border-box;
}

.image-rollover-link > * {
    margin: 5px;
}

.image-rollover-link-content {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 5px 10px 10px 10px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.image-rollover-link-content > p {
    background-color: #011E41;
    border: 1px solid black;
    color: white;
    font-size: 1.5em;
    font-weight: bold;
}

.image-rollover-link-rollover-content {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.image-rollover-link-rollover-content p {
    color: rgba(0, 0, 0, 0);
    font-size: 27px;
    margin: 0;
}

.image-rollover-link-rollover-content i {
    color: rgba(0, 0, 0, 0);
    border-radius: 1000px;
    text-align: center;
    width: 100px;
    height: 100px;
    padding: 10px;
    font-size: 44px;
    line-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
    background: rgba(0, 0, 0, 0);
    box-sizing: border-box;
}

.image-rollover-link a:hover .image-rollover-link-content * {
    display: none;
}

.image-rollover-link a:hover .image-rollover-link-rollover-content {
    background: #011E41;
    opacity: 0.85;
    transition: all .2s linear;
    color: white;
}

.image-rollover-link a:hover .image-rollover-link-rollover-content p {
    transition: all .2s linear;
    color: white;
}

.image-rollover-link a:hover .image-rollover-link-rollover-content i {
    background: rgba(0, 0, 0, 0.25);
    color: white;
    transition: all .2s linear;
}

.callout-box-right,
.callout-box-left {
    background-color: #FF4D00;
    padding: 20px;
    color: white;
    text-align: center;
    max-width: 50%;
}

.callout-box-right {
    float: right;
    margin-left: 20px;
}

.callout-box-left {
    float: left;
    margin-right: 20px;
}

iframe {
    width: 100%;
}

table {
    border-spacing: 0;
    margin: 20px auto;
    border: solid 3px #011E41;
}

table th {
    text-align: left;
    font-size: 22px;
    color: white;
    background: #011E41;
    padding: 4px 8px;
}

table td {
    padding: 4px 8px;
}

table.table-stripe tr:nth-child(2n) {
    background-color: #d6d6d6
}

table.table-stripe tr:nth-child(2n + 1) {
    background-color: #ffffff
}

table.table-nonstripe {
    width: 50%;
}

table.table-nonstripe,
table.table-nonstripe th {
    text-align: center;
}

table.table-nonstripe tr:not(:last-child) td {
    border-bottom: #b0b0b0 1px solid;
}

table.table-nonstripe tr > td:not(:last-child) {
    border-right: #b0b0b0 1px solid;
}

/* ------- End CSS classes we defined -------  */


/* Index Page */
#home-page {
    background-image: url('');
}

#home-page .page-title,
#home-page p {
    text-align: center;
}
/* End Index Page */

@media (max-width: 990px) {
    /* Navigation Bar */
    .menu-button-container {
        background-color: #011E41;
        display: flex;
        justify-content: flex-end;
    }

    #menu-toggle {
        padding: 9px 10px;
        margin: 8px 15px 8px 0;
        border: 1px solid transparent;
        border-radius: 4px;
        cursor: pointer;
        background-color: white;
        border-color: white;
    }

    .icon-bar {
        display: block;
        width: 22px;
        height: 2px;
        border-radius: 1px;
        background-color: #011E41;
    }

    .icon-bar + .icon-bar {
        margin-top: 4px;
    }

    #menu-toggle:hover, #menu-toggle:focus {
        background-color: #011E41;
    }

    #menu-toggle:hover .icon-bar, #menu-toggle:focus .icon-bar {
        background-color: white;
    }

    /* Hide the horizontal menu bar */
    #menu-bar {
        background-color: white;
        flex-direction: column;
        display: none;
    }

    #menu-bar.vertical-menu-open {
        display: flex;
    }

    .menu-item {
        width: 100%;
    }

    .menu-item a {
        color: #011E41;
        font-size: 24px;
        font-weight: bold;
        text-align: left;
        padding: 10px 15px;
        line-height: 1;
    }

    .menu-item:hover > a {
        background-color: #011E41;
        color: white;
    }

    .menu-sub-item {
        list-style-type: none;
        margin: 0;
        padding: 0 20px;
        display: block;
        position: relative;
    }

    .menu-item:hover .menu-sub-item {
        display: block;
        padding: 0 20px;
    }

    .menu-sub-item > li {
        border-bottom: 1px solid #011E41#011E41;
        text-decoration-color: #00573f;
    }

    .menu-sub-item > li:hover {
        background-color: #011E41;
    }

    .menu-sub-item > li:hover a {
        color: white;
        text-decoration: none;
    }

    .socialIcons {
        position: static;
        flex-direction: row;
    }

    .image-rollover-link {
        flex-direction: column;
    }

    .callout-box-right,
    .callout-box-left {
        float: none;
        max-width: 100%;
    }

    .callout-box-right {
        margin-left: 0;
    }

    .callout-box-left {
        margin-right: 0;
    }

    table.table-nonstripe {
        width: 90%;
    }
}
