html, body {
    height: 100%;
}

main {
    min-height: 70vh;
}

:root {
    --bs-color: #0078bf;
    --primary-lighter: #ececec;
    --primary-darker: hsl(from var(--bs-color) h s calc(l - 15));
    --primary-darkest: hsl(from var(--bs-color) h s calc(l - 30));
}

a {
    color: var(--bs-color);
}

h1 {
    color: var(--bs-color);
}

.primary-color {
     color: var(--bs-color);
}

.btn-primary {
    --bs-btn-bg: var(--bs-color);
    --bs-btn-border-color: var(--primary-darkest);
    --bs-btn-active-bg: var(--primary-darkest);
    --bs-btn-active-border-color: var(--primary-darker);
    --bs-btn-disabled-bg: var(--bs-color);
    --bs-btn-disabled-border-color: var(--bs-color);
}

.btn-primary:hover {
    --bs-btn-hover-bg: var(--primary-darker);
    --bs-btn-hover-border-color: var(--primary-darkest);
}

.btn:focus-visible {
    --bs-btn-hover-color: var(--primary-darker);
    --bs-btn-hover-bg: var(--primary-darkest);
    --bs-btn-hover-border-color: var(--primary-darker);
    color: #ffffff;
}

.btn-primary:active {
    --bs-btn-active-bg: var(--primary-darkest);
}

.bg-primary {
    background-color: var(--bs-color) !important;
}

.text-primary {
    color: var(--bs-color);
}

.conf-qty {
    color: var(--bs-color);
    font-weight: bold;
    padding-top: 20px;
    padding-bottom: 20px;
}

.card {
    border: 3px solid var(--bs-color);
    border-radius: 25px;
    margin-top: 30px;
}


.card-title {
    border-bottom: 3px solid var(--bs-color);
    text-align: center;
    color: var(--bs-color);
    font-size: 1.1em;
    font-weight: bold;
    padding-top: 10px;
    padding-bottom: 10px;
}

.kit-items {
    font-size: .9em;
    font-weight: 500;
    display: block;
}

.kit-items tr td {
    padding: 0px;
}

.kit-qty-footer {
    border-right: 2px solid var(--bs-color);
    margin-left: 25px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.kit-price {
    padding-top: 10px;
    margin-right: 10px;
}

.kit-qty label {
    display: inline;
}

.kit-price label {
    display: inline;
}

.kit-qty {
    padding-right: 5px !important;
}

.kit-qty input {
    border: 1px solid #999999;

    display: inline;
    width: 64%;
    height: 47px;
}

.kit-price input {
    border: 1px solid #999999;
    background-color: #feebdc !important;
    display: inline;
    width: 62%;
    height: 47px;
    padding-top: 10px;
}

.kit-total {
    border: 2px solid #000000;
    border-radius: 15px;
    font-size: 1.2em;
    padding-top: 9px;
    font-weight: bold;
    height: 52px;
    background-color: #feebdc;
    width: 41%;
    margin-right: 36px;
    display: block;
    position: relative;
    flex: none;
    margin-top: 9px;
}

.card-footer {
    padding: 0px;
    border-top: 3px solid var(--bs-color);
    background: none;
}

.kit-item-col {
    border-right: 1px solid var(--bs-color);
    padding: 15px;
}

.kit-item-col:last-child {
    border: none;
}

.kit-totals-row .col {
    border-right: 1px solid #ffffff;
}

.kit-item-col label {
    display: inline;
}

.kit-item-col input {
    display: inline;
    width: 50%;
}

.kit-item-total input {
    background-color: #feebdc !important;
}

.kit-totals-header {
    font-size: 1.1em;
    font-weight: bold;
    color: #ffffff;
}

.kit-totals-header .col {
    border-right: 1px solid #ffffff !important;
}

.kit-totals-header .col:last-of-type {
    border: none !important;
}

.kit-totals-row .col {
    padding: 10px;
    border-right: 1px solid var(--bs-color);
}

.kit-totals:last-of-type {
    padding: 10px;
    border: none;
}

.kit-totals-row {
    border: 1px solid var(--bs-color);
}

.approved-container {
    font-size: 1.1em;
    font-weight: bold;
    color: var(--bs-color);
    border: 1px solid var(--bs-color);
}


.approved-header {
    border-bottom: 1px solid var(--bs-color);
}

.form-check-input:checked {
    background-color: var(--bs-color);
    border-color: var(--bs-color);
}

img, object, embed, video {
    max-width: 100%;
}

.list-group-item {
    border: 1px solid var(--bs-color);
}

/* IE 6 does not support max-width so default to width 100% */
.ie6 img {
    width: 100%;
}

img {
    border: none;
    outline: none;
}

hr {
    clear: both;
}

a:active {
    outline: none;
}

/* Bounce Stuff */
.bounceit {
    margin-top: 50px;
    width: 100%;
    text-align: center;
    bottom: 0px;
    animation: bounce 1s infinite alternate;
    -webkit-animation: bounce 1s infinite alternate;
    position: absolute;
}

@keyframes bounce {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-15px);
    }
}

@-webkit-keyframes bounce {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-15px);
    }
}

/*Page Fade In*/
/* make keyframes that tell the start state and the end state of our object */
@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media screen {
    body {
        opacity: 0; /* make things invisible upon start */
        -webkit-animation: fadeIn ease-in 1; /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */
        -moz-animation: fadeIn ease-in 1;
        animation: fadeIn ease-in 1;

        -webkit-animation-fill-mode: forwards; /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
        -moz-animation-fill-mode: forwards;
        animation-fill-mode: forwards;

        -webkit-animation-duration: 1s;
        -moz-animation-duration: 1s;
        animation-duration: 1s;

        -webkit-animation-delay: 0.1s;
        -moz-animation-delay: 0.1s;
        animation-delay: 0.1s;
    }
}

/*Page Fade End*/


/* Site Headers */

h1, h2, h3, h4, h5, h6 {
    color: var(--bs-color);
    font-weight: 700;
    font-family: "overpass-variable", sans-serif;
    font-variation-settings: "wght" 900;
}

h1 {
    font-size: 2.3em;
}

h2 {
    font-size: 2.1em;
}

h3 {
    font-size: 1.9em;
}

h4 {
    font-size: 1.7em;
}

h5 {
    font-size: 1.4em;
}

h6 {
    font-size: 1.1em;
}

.bg-gray {
    background-color: #f1f1f1;
}

.bg-blue {
    background: rgb(0, 120, 191);
    background: linear-gradient(90deg, rgba(0, 120, 191, 1) 0%, rgba(22, 152, 210, 1) 46%, rgba(46, 196, 233, 1) 100%);
    height: 88%;
    padding: 20px;
}

.header-bg-blue {
    background: rgb(0, 120, 191);
    background: linear-gradient(90deg, rgba(0, 120, 191, 1) 0%, rgba(22, 152, 210, 1) 46%, rgba(46, 196, 233, 1) 100%);
    padding: 20px;
}

.header-bg-inside {
    background: linear-gradient(90deg, var(--bs-color), var(--bs-color) 30%, rgba(46, 196, 233, 1) 100%);
    padding: 20px;
}


.triangle-bg-right {
    background-image: url(/static/img/lower-right-triangle.png);
    background-position: right;
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: bottom;
    height: 100%;
}

.triangle-bg-left {
    height: 100%;
    padding: 0px;
    background-image: url(/static/img/upper-left-triangle.png);
    background-position-y: top;
    background-position-x: left;
    background-repeat: no-repeat;
}

.header-triangle-bg-left {
    height: 72px;
    padding: 0px;
    background-image: url(/static/img/header-bg.png);
    background-size: auto;
    background-position-y: top;
    background-position-x: left;
    background-repeat: no-repeat;
}

.header-triangle-inside {
    height: 70px;
    padding: 0px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 1) 90%, rgba(255, 0, 0, 0));
    transform: skewX(-45deg); /* Adjust angle as needed */
    background-size: 90%;
    background-position-y: top;
    background-position-x: 50px;
    background-repeat: no-repeat;
}

.header-text {
    margin-left: 15px;
    padding-top: 21px;
    font-size: 1.7em;
}

.logos {
    width: 90%;
}

.event-logo-box {
    height: 70px;
    width: auto;
    transform: skewX(45deg); /* Adjust angle as needed */
}

.event-logo {
    height: auto;
}

.welcome-header {
    margin-top: 8vh;
    font-size: 3.5em;
    line-height: 1.2em;
    font-family: "overpass-variable", sans-serif;
    font-variation-settings: "wght" 800;
    text-shadow: rgba(0, 0, 0, 0.5) 1px 15px 15px;
}

.login-box {
    width: 100%;
    position: absolute;
    bottom: 15vh;
}

.login-box .messages {
    padding-left: 30px !important;
    padding-right: 30px;
}

.messages {
    padding-left: 0px !important;
}

.login-box .alert {
    padding: 6px;
}

.login-text {
    color: #000000;
    font-size: 1em;
    line-height: 1em;
    font-family: "overpass-variable", sans-serif;
    font-variation-settings: "wght" 600;
}

.event-list-box svg {
    margin-top: -1px;
    margin-right: 6px;
}

.approved-container svg {
    margin-top: -1px;
    margin-right: 6px;
}
.approved-container .bi-person-fill {
    width: 20px;
    height: 20px;
    margin-top: -3px;
}


.icon-space-right {
    margin-top: -1px;
    margin-left: 6px;
}

#id_code {
    width: 200px;
    height: 37px;
    margin-right: 6px;
}

.alternate:nth-child(odd) {
    background: var(--primary-lighter) !important;
}

.alternate .card-body {
    padding-left: 10px !important;
    padding-right: 10px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.alternate .row {
    border-bottom: 1px solid var(--bs-color);
}

.alternate .row:last-of-type {
    border: none;
}

.alternate .col, .col-3, .col-6 {
    border-right: 1px solid var(--bs-color);
    padding: 15px;
}

.alternate .col:last-of-type, .col-3:last-of-type, .col-6:last-of-type {
    border-right: none;
}

.alternate lable {
    color: #999999;
    display: block;
    font-size: .95em;
}

.alternate .order-val {

    margin-left: 10px;
}

.dealer .col, .col-3, .col-6 {
    padding-top: 6px;
    padding-bottom: 4px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: .9em;
}

.dealer label {
    color: var(--bs-color);
}

.card {
    margin-top: 10px;
}

.dealer .mb-3 {
    margin-bottom: 6px !important;
}

.dealer .form-label {
    margin-bottom: 3px;
}


/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .header-triangle-bg-left {
        background-size: 100%;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .logos {
        width: 55%;
    }

    .login-box {
        width: 90%;
    }

    .login-text {
        font-size: 1.4em;
    }

    #id_code {
        width: 400px;
        height: 37px;
        margin-right: 6px;
    }

    .header-triangle-bg-left {
        background-size: 75%;
    }

    .header-triangle-inside {
        background-image: linear-gradient(to right, rgba(255, 255, 255, 1) 45%, rgba(255, 0, 0, 0));
    }


}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

    .login-box {
        width: 76%;
    }

    .welcome-header {
        margin-top: 7vh;
        font-size: 9vh;
    }

    .header-triangle-bg-left {
        background-size: 67%;
    }

    .header-triangle-inside {
        background-size: 75%;
    }

    .header-triangle-inside {
        background-image: linear-gradient(to right, rgba(255, 255, 255, 1) 45%, rgba(255, 0, 0, 0));
    }

}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .welcome-header {
        margin-top: 8vh;
        font-size: 10vh;
    }

    .header-triangle-bg-left {
        background-size: 75%;
    }
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    .welcome-header {
        margin-top: 9vh;
        font-size: 11vh;
    }
}