/* CLEAROUTE FONTS */
@font-face {
    font-family: "Gotham-Bold";
    src: url("/fonts/Gotham/gotham-bold.woff2") format("woff2"), url("/fonts/Gotham/gotham-bold.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

/* END CLEAROUTE FONTS */

:root {
    --color-blue: #00205b;
    --color-lightblue: #0092ca;
    --color-red: #da291c;
    --color-grey: #636466;
}

body {
    position: relative;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif !important;
}

.fw-medium {
    font-weight: 500;
}

.fw-bold {
    font-weight: 700;
}

.text-blue {
    color: var(--color-blue);
}

.text-lightblue {
    color: var(--color-lightblue);
}

.bg-blue {
    background-color: var(--color-blue);
}

.bg-lightblue {
    background-color: var(--color-lightblue);
}

/* Skip link */

#skip-to-main {
    left: -999px;
    position: fixed;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 1;
}

#skip-to-main:focus {
    color: black;
    background-color: white;
    left: 4px;
    top: 4px;
    width: 290px;
    max-width: 95%;
    height: auto;
    overflow: auto;
    padding: 5px;
    text-align: center;
    font-size: 1.2em;
    z-index: 99999;
}

.visually-hidden-focusable:not(:focus):not([focus-within]) {
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important
}

.visually-hidden-focusable:not(:focus):not(:focus-within) {
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important
}

.close {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    background-color: var(--color-blue) !important;
    font-weight: 400;
    font-family: none;
    color: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
}

.close span {
    line-height: 15px;
    padding: 0 0 3px 0;
}

/* Top to scroll button */

#toTopBtn {
    position: fixed;
    bottom: 26px;
    right: 39px;
    z-index: 98;
    padding: 21px;
    background-color: hsla(219, 100%, 18%, 0.8);
    border-radius: 5px;
}

.js .cd-top--fade-out {
    opacity: .5
}

.js .cd-top--is-visible {
    visibility: visible;
    opacity: 1
}

.js .cd-top {
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s, visibility .3s, background-color .3s
}

.cd-top {
    position: fixed;
    bottom: 20px;
    bottom: var(--cd-back-to-top-margin);
    right: 20px;
    right: var(--cd-back-to-top-margin);
    display: inline-block;
    height: 40px;
    height: var(--cd-back-to-top-size);
    width: 40px;
    width: var(--cd-back-to-top-size);
    box-shadow: 0 0 10px rgba(0, 0, 0, .05) !important;
    background: url(https://res.cloudinary.com/dxfq3iotg/image/upload/v1571057658/cd-top-arrow.svg) no-repeat center 50%;
    background-color: hsla(5, 76%, 62%, .8);
    background-color: hsla(var(--cd-color-3-h), var(--cd-color-3-s), var(--cd-color-3-l), 0.8)
}

/* Cookie banner */

.cookie-banner {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    z-index: 999;
    border-radius: 0px;
    display: none;
}

/* Modal */

.modal.show .modal-dialog {
    -webkit-transform: translate(0,0);
    transform: translate(0,0);
}

.modal-dialog-centered {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - (0.5rem * 2));
}

.modal-content {
    border-radius: 1.5rem;
    width: 100%;
}

.modal-content .form-control {
    border-radius: 0.6rem;
}

.modal-title {
    text-transform: uppercase;
    color: var(--color-blue);
}

.modal span#userEmail-info,
.modal span#userEmail-info2 {
    color: var(--color-red);
    margin-bottom: 0.5em;
    display: block;
    font-size: 14px;
}

.modal input#userEmail,
.modal input#userEmail2 {
    background: #f9f9f9 !important;
    border: 1px solid #eee;
    width: 100%;
    margin-bottom: 1em;
    border-radius: 0.6rem;
    padding: 0.5em;
}

.footer-wrap {
    background: #f6f6f6;
}

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

.sub-content {
    max-width: 1250px;
    margin: 0 auto 3em;
    padding: 1.5em 1.5em 0 1.5em;
}

.sub-content h4 {
    margin: 1.5em 0 .5em;
    color: #336699
}

.scroll {
    color: #fff;
    margin-top: 100px
}

.form-control {
    border-top-left-radius: .6rem;
    border-bottom-left-radius: .6rem;
}

.header {
    max-width: 1250px;
    margin: auto;
}

.container-fluid {
    padding: 0;
}

a.nav-link {
    color: #336699 !important;
}

ul.nav {
    padding: 15px;
}

.btn.active {
    color: #FFF !important;
}

a.btn {
    color: #FFF !important;
    font-weight: 700;
    padding: .8rem 1rem;
    margin: 0.2em;
    border-radius: 1rem;
}

.btn-danger {
    background-color: var(--color-blue);
    border-color: var(--color-blue);
}

.btn-primary {
    background-color: var(--color-lightblue);
    border-color: var(--color-lightblue);
}

.btn-danger:hover,
.btn-primary:focus,
.btn-danger:hover,
.btn-primary:focus {
    background-color: #00205b;
    border-color: transparent;
}

.row.icon-list {
    max-width: 1250px !important;
    margin: auto;
}

.row.icon-list img {
    max-width: 60px;
}

.row.icon-list ul {
    padding: 0;
}

.row.icon-list li {
    list-style: none;
}

.row.icon-list td {
    padding-bottom: 1.5em;
}

.icon-list .col-md-6.first {
    border-right: 1px solid #DDD;
}

.icon-list .col-md-6 {
    padding: 0 60px;
}

.hero {
    background-image: url("/images/hero-banner2.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #3a3c21;
    position: relative;
    color: #fff;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
}

@media(min-width: 1920px) {
    .hero {
        min-height: 600px;
    }
}

.hero h1 {
    font-family: 'Gotham-Bold';
    text-shadow: 1px 1px 4px #111;
    font-size: 3rem;
}

.hero .btn {
    margin-top: 1em;
}

.hero .btn {
    box-shadow: 0px 0px 20px 0px rgb(0 0 0 / 50%);
}

.hero .col-md-6.last {
    padding: 8em 2em 0 0;
}

.list-header {
    padding: 3em 1em;
}

.privacy-link {
    color:#004561;
}

.row.footer {
    background: #f6f6f6;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
    max-width: 1250px;
    margin: auto;
}

.footer small a {
    margin: 0 0.5em;
}

/* 24 inch iMac ----------- */
@media only screen and (min-width : 1600px) {
    .hero .col-md-6.last {
        padding: 13em 2em;
    }
}

/* 27 inch iMac ----------- */
@media only screen and (min-width : 2400px) {
    .hero .col-md-6.last {
        padding: 24em 2em;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 50px;
    }

    .hero h3 {
        font-size: 20px;
    }

    .hero .col-md-6.last {
        padding: 4em 2em 4em 0;
    }

    .icon-list .col-md-6 {
        padding: 0 30px;
    }

    .container-fluid {
        padding: 0;
    }

    .row.icon-list td {
        padding: 0.5em 0;
    }
}

@media (max-width: 575px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    a.btn {
        width: 100%;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    ul.nav {
        padding: 15px 15px 15px 5px;
    }

    .container-fluid {
        padding-right: 0;
        padding-left: 0;
    }

    .hero .col-md-6.last {
        padding: 3.5em 0 2em 2.5em;
        width: 65%;
    }

    .hero h4 {
        font-size: 14px;
    }

    h1 {
        font-size: 32px;
        margin-bottom: 0.5em;
        line-height: 1.2em;
    }

    .hero h2 {
        font-size: 22px;
        margin-bottom: 1em;
    }

    .hero h3 {
        font-size: 18px;
    }

    .hero .btn {
        margin-top: 0.5em;
        font-size: 12px;
        font-weight: 700;
        max-width: 200px;
    }

    .hero a.btn.btn-danger {
        margin-top: 1.5em;
    }

    .row.hero {
        background-position: left center;
        padding: 0;
    }

    .icon-list .col-md-6 {
        padding: 0 15px;
        font-size: 14px
    }

    .row.icon-list img {
        max-width: 35px;
    }

    .row.icon-list td {
        padding: 0.5em 0;
    }

    .row.icon-list h4 {
        font-size: 21px;
        margin: 0 0 1em;
    }

    .icon-list .col-md-6.second {
        padding-top: 2em;
    }
}

/* CLEAROUTE STYLING */

/* HEADER */
.header__wrapper {
    background-color: white;
    position: relative;
    z-index: 9999;
    width: 100%;
}

.header .nav {
    align-items: center;
    padding-top: 10px;
    padding-bottom: 4px;
}

.header .navbar-brand img {
    height: 30px;
    width: auto;
}

.header .nav-link {
    padding-top: 0;
    padding-bottom: 0;
}

.header .nav-link small {
    color: #111;
    text-transform: uppercase;
}

.header .nav-link:hover small {
    text-decoration: underline;
}

/* END HEADER */

/* HERO */

.hero__btn-container {
    width: 100%;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.hero__btn-container a {
    font-size: clamp(14px, 0.4rem + 1.5vw, 20px);
    text-transform: uppercase;
    text-align: center;
    color: white;
    border-radius: 1rem;
    font-weight: 700;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.hero__btn-container a:hover,
.hero__btn-container a:focus {
    transform: scale(0.95);
    text-decoration: none;
}

.hero__btn-container a:first-child {
    display: inline-block;
    background-color: var(--color-blue);
    padding: 8px 20px;
}

.hero__btn-container a:first-child:hover,
.hero__btn-container a:first-child:focus {
    background-color: white;
    color: var(--color-blue);
}

.hero__btn-container a:last-child {
    display: inline-block;
    background-color: var(--color-lightblue);
    padding: 8px 40px;
}

.hero__btn-container a:last-child:hover,
.hero__btn-container a:last-child:focus {
    background-color: white;
    color: var(--color-lightblue);
}

.hero__logo-container,
.hero__btn-container {
    padding-right: 30px;
}

@media (max-width: 600px) {
    .hero__btn-container {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-right: 10px;
    }

    .hero__btn-container a:last-child {
        margin-top: 12px;
    }
}

/* HERO CTA BUTTONS */
.hero__cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}

.hero__cta-btn-primary,
.hero__cta-btn-secondary {
    display: inline-block;
    padding: 14px 24px;
    min-height: 44px;
    min-width: 200px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 8px;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    line-height: 1.2;
}

/* Primary Button - Dark Blue */
.hero__cta-btn-primary {
    background-color: var(--color-blue);
}

.hero__cta-btn-primary:hover,
.hero__cta-btn-primary:focus {
    background-color: #003a7f;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 32, 91, 0.3);
    text-decoration: none;
}

/* Secondary Button - Light Blue */
.hero__cta-btn-secondary {
    background-color: var(--color-lightblue);
}

.hero__cta-btn-secondary:hover,
.hero__cta-btn-secondary:focus {
    background-color: #007ba8;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 146, 202, 0.3);
    text-decoration: none;
}

/* Focus States for WCAG Compliance */
.hero__cta-btn-primary:focus,
.hero__cta-btn-secondary:focus {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

/* Active States */
.hero__cta-btn-primary:active,
.hero__cta-btn-secondary:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero__cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero__cta-btn-primary,
    .hero__cta-btn-secondary {
        width: 100%;
        max-width: 300px;
        font-size: 14px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .hero__cta-btn-primary,
    .hero__cta-btn-secondary {
        font-size: 13px;
        padding: 12px 16px;
        min-width: 180px;
    }
}

/* END HERO CTA BUTTONS */

/* END HERO */

.bg-gradient-tone {
    background: rgb(255, 255, 255);
    background: radial-gradient(circle, white, #cae6f6 70%);
}

/* BANNER */
.banner-title,
.banner-left,
.banner-right {
    padding: 40px 8%;
    text-align: center;
}

.banner-title {
    position: relative;
}

.banner-title:after {
    content: '';
    position: absolute;
    bottom: -14px;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 15px solid transparent;
}

.banner-title.bg-blue:after {
    border-top-color: var(--color-blue);
}

.banner-title.bg-lightblue:after {
    border-top-color: var(--color-lightblue);
}

.banner-left {
    background-color: var(--color-red);
    clip-path: polygon(0 0, 95% 0, 90% 100%, 0 100%);
}

.banner-right {
    background-color: var(--color-lightblue);
    clip-path: polygon(5% 0, 100% 0, 100% 100%, 10% 100%);
}

.banner-title h3,
.banner-left h3,
.banner-right h3 {
    margin: 0;
    color: white;
    font-size: 50px;
    font-weight: 500;
    text-transform: uppercase;
}

@media (max-width: 992px) {

    .banner-title,
    .banner-left,
    .banner-right {
        padding: 30px 8%;
    }

    .banner-title h3,
    .banner-left h3,
    .banner-right h3 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {

    .banner-title,
    .banner-left,
    .banner-right {
        padding: 24px 8%;
    }

    .banner-title h3,
    .banner-left h3,
    .banner-right h3 {
        font-size: 24px;
    }
}

/* END BANNER */

@media(max-width: 991px) {
    .heroLogo {
        position: relative;
    }
    /*.heroLogo:before {
        position: absolute;
        content: '';
        right: 0;
        background-color: white;
        z-index: 1;
        filter: blur(30px);
        -webkit-filter: blur(30px);
        width: 70%;
        height: 80%;
        bottom: 4px;
    }*/
    .heroLogo img {
        position: relative;
        z-index: 1;
    }
}

.hidden {
    display: none;
}

.invalid-feedback {
    color: red;
    font-style: italic;
    font-size: 12px;
}

.todo-container h5 {
    margin-bottom: 15px;
}

.todo-container input.form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-color: #fff;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.todo-container button.btn {
    text-transform: uppercase;
    font-weight: 700;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

@media(max-width: 425px) {
    .todo-container button.btn {
        padding: 0.5rem 0.5rem;
        font-size: 12px;
    }
}

.add-todo-container,
.add-todo-container-blue {
    margin-bottom: 10px;
    margin-top: 10px;
    background: #00205b;
    padding: 8px 12px;
    border-radius: 1rem;
}

.add-todo-container-blue {
    background: #0092ca;
}

.too-small {
    display: none;
}

.todo-container .col-xs-1.checkbox {
    display: none;
}

.todo-container li.list-group-item.row,
.todo-container li.list-group-item-blue.row {
    padding: .75rem .75rem;
}

.todo-container li.list-group-item-success {
    background: none;
    color: #292b2c
}

ul.list-group-blue {
    padding-left: 0;
}

@media(max-width: 575px) {
    .footnote {
        font-size: .8rem;
    }
}

/* END CLEAROUTE STYLING */