.bg-primary {
    background-color: #142A4D !important;
}

.bg-secondary {
    background-color: #1d3865 !important;
}

.btn-primary {
    color: #fff;
    background-color: #142A4D;
    border-color: #142A4D;
}

    .btn-primary:hover {
        color: #fff;
        background-color: #142A4D;
        border-color: #142A4D;
    }

.btn-outline-primary {
    color: #142A4D;
    background-color: transparent;
    background-image: none;
    border-color: #142A4D;
}

    .btn-outline-primary:hover {
        color: #fff;
        background-color: #142A4D;
        border-color: #142A4D;
    }
a.navbar-brand {
    white-space: normal;
    text-align: center;
    padding: 0 !important;
    word-break: break-all;
}
/* Provide sufficient contrast against white background */
a {
    color: #142A4D;
}

.btn-primary {
    color: #fff;
    background-color: #142A4D;
    border-color: #142A4D;
}
.text-primary {
    color: #142A4D !important;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #142A4D;
    border-color: #142A4D;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 10px;
    font-family: "Lato", sans-serif;
}


.header {
    height: 20vh;
    background: linear-gradient(to right, #142A4D,#7A9146);
    clip-path: polygon(0 0, 100% 0, 100% 75%, 0 100%);
}

.heading-primary {
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.50rem;
}


@media only screen and (max-width: 51.25rem) {
    .heading-primary {
        font-weight: 400;
        letter-spacing: 0.1rem;
    }

    .header {
        height: 13vh;
        background: linear-gradient(to right, #142A4D,#7A9146);
        clip-path: polygon(0 0, 100% 0, 100% 75%, 0 100%);
    }
}

@media only screen and (max-width: 57rem) {
    .heading-primary {
        font-weight: 400;
        letter-spacing: 0.1rem;
    }

    .header {
        height: 13vh;
        background: linear-gradient(to right, #142A4D,#7A9146);
        clip-path: polygon(0 0, 100% 0, 100% 75%, 0 100%);
    }
}

@media only screen and (max-width: 37.5rem) {
    .heading-primary {
        font-weight: 400;
        letter-spacing: 0.1rem;
    }

    .header {
        height: 13vh;
        background: linear-gradient(to right, #142A4D,#7A9146);
        clip-path: polygon(0 0, 100% 0, 100% 75%, 0 100%);
    }
}

@media only screen and (max-width: 25.9rem) {
    .heading-primary {
        font-weight: 400;
        font-size: 0.7rem;
        padding-top: 0.5rem;
        letter-spacing: 0.1rem;
    }

    .header {
        height: 10vh;
        background: linear-gradient(to right, #142A4D,#7A9146);
        clip-path: polygon(0 0, 100% 0, 100% 75%, 0 100%);
    }
}

@media only screen and (max-width: 23.5rem) {
    .heading-primary {
        font-weight: 400;
        font-size: 0.7rem;
        padding-top: 0.5rem;
        letter-spacing: 0.1rem;
    }

    .header {
        height: 10vh;
        background: linear-gradient(to right, #142A4D,#7A9146);
        clip-path: polygon(0 0, 100% 0, 100% 75%, 0 100%);
    }
}
footer {
    background: #142A4D;
    color: #FFFFFF;
    padding: 25px 0;
    width: 100%;
}
    footer a, footer a:visited {
        color: #A5C7EC;
    }

@media (min-width: 768px) {
    body {
        /* Margin bottom by footer height */
        margin-bottom: 250px;
    }

    footer {
        position: absolute;
        bottom: 0;
    }
}      
.main {
    min-height: 550px;
}
.navbar-brand:hover {
    color: palegreen;
}

.active {
    color: #142A4D !important;
}
/*.nav-link.active {
    color: #fff !important;
}*/

.carousel-inner {
    max-height: 400px;
}

.carousel-item img {
    height: 600px;
    object-fit: cover;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}
