:root {
    --blue: #0B7599;
    --blue-hover: #035e7c;
    --red: #D82237;
    --red-hover: #87212d;
    --yellow: #F99F1B;
    --purple: #261631;
    --light-blue: #189CCB;
    --dark-blue: #0F172A;
    --grey-100: #ecf0f4;
    --grey-200: #cbcfd5;
    --green-10: #b7f7c1;
    --green-20: #007e82;
    --green-30: #00647b;
    --green-40: #008547;
    --black: #222;
    --grey: #555;
    --link: #025EE8;
}

.text-grey {
    color: var(--grey);
}

.text-red {
    color: var(--red);
}

.text-blue {
    color: var(--blue);
}

.bg-grey {
    background-color: var(--grey);
}

.bg-red {
    background-color: var(--red);
}

.bg-blue {
    background-color: var(--blue);
}

.bg-purple {
    background-color: var(--purple);
}

html,
body {
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-size: 100%;
}

a {
    color: var(--link);
}

header {
    margin-bottom: 2rem;
}

    header .emergency {
        background-color: var(--yellow);
        display: flex;
        width: 100%;
        padding: .5rem;
        justify-content: center;
        font-weight: 800;
        color: var(--black);
        font-size: 1.5rem;
        text-align: center;
        line-height: 1;
        text-transform: uppercase;
    }

h1 {
    font-weight: 800;
    color: var(--blue);
}

h2 {
    font-weight: 700;
}

h5 {
    color: var(--grey);
}

main {
    flex: 1 0 auto;
    margin-top: 8rem;
}

@media (min-width:768px) {
    main {
        margin-top: 8rem;
    }
}

@media (max-width:767px) {
    main {
        margin-top: 8rem;
    }
}

hr.blue {
    margin: 2rem 0;
    color: inherit;
    border: 0;
    border-top: 3px solid var(--light-blue);
    opacity: 1;
}

.form-label {
    margin-bottom: 0;
    font-weight: bold;
}

.checkbox-and-input {
    display: flex;
}

/* button styles */
.btn-primary {
    background-color: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.btn-outline-primary {
    background-color: transparent;
    border-color: var(--blue);
    color: var(--blue);
    font-weight: 700;
}

    .btn-primary:hover,
    .btn-outline-primary:hover,
    .btn-primary:active,
    .btn-outline-primary:active {
        background-color: var(--blue-hover) !important;
        border-color: var(--blue-hover) !important;
        color: #fff !important;
    }

.btn-red {
    background-color: var(--red);
    border-color: var(--red);
    color: #fff;
}

.btn-outline-red {
    background-color: transparent;
    border-color: var(--red);
    color: var(--red);
    font-weight: 700;
}

    .btn-red:hover,
    .btn-outline-red:hover,
    .btn-red:active,
    .btn-outline-red:active,
    .btn-red:focus,
    .btn-outline-red:focus,
    .btn-red:focus-visible,
    .btn-outline-red:focus-visible {
        background-color: var(--red-hover) !important;
        border-color: var(--red-hover) !important;
        color: #fff !important;
    }

.btn-link {
    color: var(--link);
    border: 0;
    padding: 0;
}

.form-title-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

/* Form Required box */
.btam-core {
    display: inline-block;
    margin: 0 .5rem .5rem .5rem;
    padding: .5rem 1rem;
}

    .btam-core.core-1,
    .btam-core.core-2 {
        border: 3px solid var(--blue-hover);
    }

        .btam-core.core-1 .core,
        .btam-core.core-2 .core,
        .btam-core span.c1,
        .btam-core span.c2 {
            color: var(--blue-hover);
        }

    .btam-core.core-3 {
        border: 3px solid var(--red);
    }

        .btam-core.core-3 .core,
        .btam-core span.c3 {
            color: var(--red);
        }

    .btam-core.core-4 {
        border: 3px solid var(--green-40);
    }

        .btam-core.core-4 .core,
        .btam-core span.c4 {
            color: var(--green-40);
        }

    .btam-core .core {
        text-transform: uppercase;
    }

@media (max-width:767px) {
    .form-title-wrapper {
        flex-direction: column;
    }

    .btam-core {
        margin: 0 0 .5rem 0;
    }
}
/* table styles */
.table > thead {
    vertical-align: bottom;
    border-bottom: 3px solid var(--grey);
}

.badge {
    color: var(--black);
    border-radius: 12px;
    padding: 6px 12px;
}

    .badge.complete {
        background-color: var(--green-10);
    }

    .badge.in-progress {
        background-color: var(--yellow);
    }

table ul.list-group .list-group-item {
    border: none;
    padding: 0 1rem;
}

/* available forms styles */
.form-wrapper {
    padding: 5rem 0;
}

    .form-wrapper:nth-child(odd) {
        background-color: var(--grey-100);
    }

.forms-header {
    border-bottom: 2px solid var(--black)
}

.form-container {
    border-bottom: 1px solid var(--black)
}

.forms-header,
.form-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.form-title {
    padding: .5rem 0;
}

.available-forms .form-title .form .info {
    padding-right: .5rem;
}

.form {
    display: flex;
    flex-direction: row;
}

.table-input-row {
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
}

    .table-input-row:last-of-type {
        border-bottom: none;
    }

    .table-input-row:nth-of-type(even) {
        background-color: #f3f3f3;
    }

/* footer styles */
footer {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    margin-top: 5rem;
}

    footer .footer-top {
        background-color: var(--purple);
    }

    footer .footer-bottom {
        background-color: var(--dark-blue);
    }

    footer h4,
    footer h5 {
        text-transform: uppercase;
        font-weight: 800;
    }

        footer h4 span {
            display: inline-block;
            background-color: var(--red);
            padding: .25rem .5rem;
            border-radius: 5px;
            margin-right: 10px;
        }

    footer a,
    footer h5 {
        color: #fff;
        text-decoration: none;
    }

        footer a:hover {
            text-decoration: underline;
        }

    footer .footer-bottom .social {
        list-style: none;
        padding: 0;
    }

        footer .footer-bottom .social li {
            display: inline;
            font-size: 2rem;
            margin-right: 1rem;
        }

    footer .container-fluid {
        color: #fff;
        padding: 3rem 4rem;
    }

    footer .footer-details img.dot-logo {
        max-width: 145px;
        margin-bottom: 1rem;
    }

    footer img.footer-qr {
        width: 160px;
    }

@media screen and (max-width:767px) {
    footer .footer-details {
        text-align: center;
    }
}
