html {
  font-size: 14px;
}

footer {
    font-size: smaller;
    text-align: center;
    display: flex;
    justify-content: center;
    padding: 0 10% 0 10%;
}

@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: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.validation-summary-errors ul {
    list-style-type: none;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.validation-summary-valid ul {
    margin-bottom: 0;
}


/* Login page styles (migrated from CompliancePortal) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700;800;900&display=swap');

.main-nav {
    padding: 16px 0px 10px;
    border-bottom: 1px solid #DBE0E5;
    background-color: #fff;
    margin-bottom: 0px;
}

.main-nav .logo {
    margin-left: 8px;
    margin-right: 32px;
}

.main-nav .logo a img {
    width: 193px;
}

.main-nav h1 {
    font-weight: 500;
    font-size: 24px;
    line-height: 36px;
    color: #072448;
}

.logo {
    margin-left: 20px;
}

.logo a {
    font-size: 14px;
    color: #74BFFF;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 20px;
}

.logo a img {
    width: 92px;
}

.logo a:hover {
    text-decoration: none;
}

.main-section {
    margin-top: 24px;
    padding: 0px 8px;
}

.main-section p {
    margin-bottom: 30px;
}

.login-section {
    padding: 17px 15px;
    border: 1px solid #DBE0E5;
    border-radius: 8px;
    margin-bottom: 10px;
}

.login-section p {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px;
    color: #545E75;
    margin-bottom: 18px;
}

.login-section .card-header {
    margin: 0px;
    font-weight: 500;
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 11px;
    text-align: left;
    padding: 0px;
    color: #072448;
    border-radius: 0px;
    background-color: #fff;
    border: 0px;
}

.login-section .card {
    padding: 0px;
    border: 0px;
    background-color: #fff;
    box-shadow: none;
    margin-bottom: 0px;
}

.login-section .card-body {
    padding: 0px;
}

.login-section .btn {
    background: #015FFF;
    box-shadow: 0px 1px 1px rgb(0 0 0 / 15%);
    border-radius: 8px;
    padding: 6px 16px;
    letter-spacing: 0.2px;
    line-height: 20px;
    color: #fff;
    font-weight: 700;
    border: none;
}

.login-section .btn:hover {
    background: #0050D6;
}

/* Dashboard styles (ported from CompliancePortal) */

.keanoteThumbnail {
    cursor: pointer;
    height: 110px;
    width: 85px;
}

.keanoteThumbnail-Large {
    height: 220px;
    width: 170px;
}

.keanoteThumbnail-Small {
    height: 55px;
    width: 42px;
}

.overflow-break {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.dashboard-main {
    padding: 100px 85px 0px 0px;
    min-height: calc(100vh - 113px) !important;
}

.medium-heading {
    font-weight: 500;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: -0.2px;
    color: #072448;
}

.legislative-section table {
    border: 0px;
    border-radius: 0px;
}

    .legislative-section table thead {
        border-radius: 0px;
    }

        .legislative-section table th {
            font-size: 12px;
            line-height: 16px;
            color: #545E75;
            letter-spacing: 0.4px;
            border-bottom: 1px solid #DBE0E5;
            border-radius: 0px;
        }

        .legislative-section table td {
            font-size: 12px;
            line-height: 16px;
            color: #072448;
        }

.legislative-section tfoot td {
    text-align: right;
}

    .legislative-section tfoot td:last-child {
        border-bottom: 0px;
    }

    .legislative-section tfoot td a {
        border-radius: 8px;
        padding: 4px 9px;
        color: #072448;
        font-size: 12px;
        line-height: 16px;
        margin-left: -4px;
    }

.legislative-section tfoot td a:hover {
    text-decoration: none;
}

.sidebar {
    position: fixed;
    top: 0px;
    bottom: 0;
    background-color: #072A51;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1;
    width: 14.52991452991453%;
}

.logo-section {
    padding: 24px 8px 20px 0px;
    background-color: #072A51;
}

.nav-sidebar {
    padding: 17px 8px 17px;
}

    .nav-sidebar ul li {
        margin-bottom: 2px;
    }

    .nav-sidebar #userNav li a {
        display: block;
        padding: 6px 13px 6px;
        font-size: 14px;
        line-height: 20px;
        color: #74BFFF;
        position: relative;
        border: 0px;
        border-radius: 8px;
        text-align: left;
    }

        .nav-sidebar #userNav li a:hover, .nav-sidebar #userNav li.active a {
            background-color: rgba(116, 191, 255, 0.12);
            text-decoration: none;
        }

    .nav-sidebar ul li a:hover:after, .nav-sidebar ul li.active a:after {
        content: '';
        position: absolute;
        left: 3px;
        top: 8px;
        height: 24px;
        width: 3px;
        background-color: #74BFFF;
        border-radius: 8px;
    }

        .nav-sidebar ul li a img {
            margin-right: 9px;
            max-width: 14px;
        }

.main-heading-bar {
    padding: 18px 2.4% 20px;
    border-bottom: 1px solid #DBE0E5;
    width: calc(100% - 19.4%);
    position: fixed;
    background-color: #fff;
    z-index: 1;
    left: 14.52991452991453%;
}

    .main-heading-bar h1 {
        font-weight: 500;
        font-size: 24px;
        line-height: 36px;
        letter-spacing: -0.2px;
        color: #072448;
        margin: 0px;
    }

.newsletter-div {
    padding-top: 14px;
    padding-bottom: 64px;
}

    .newsletter-div h2 {
        font-weight: 500;
        font-size: 24px;
        line-height: 36px;
        letter-spacing: -0.2px;
        margin-top: 0;
    }

    .newsletter-div p {
        margin-bottom: 22px;
    }

    .newsletter-div h4 {
        font-size: 18px;
        line-height: 28px;
        font-weight: normal;
        color: #072448;
        margin-top: 0px;
    }

    .newsletter-div .img-thumbnail {
        background-color: #C4C4C4;
        border: 0;
        box-shadow: none;
        padding: 0px;
    }

    .newsletter-div .keanoteThumbnail {
        height: 120px;
        width: 100px;
    }

    .newsletter-div .media-heading {
        font-size: 16px;
        line-height: normal;
        font-weight: normal;
    }

    .newsletter-div .media-heading a {
        color: #015FFF;
    }

.main-text p {
    margin-bottom: 30px;
}

.main-text p span {
    font-size: 18px;
}

.logout-btn {
    padding: 8px 11px;
    background-color: rgba(3, 27, 55, 0.8);
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: right;
}

    .logout-btn a {
        background-color: rgba(116, 191, 255, 0.08);
        border-radius: 8px;
        padding: 6px;
    }

    .logout-btn i {
        color: white;
    }

    .dashboard-main a.contactUsLink, a.viewChangeLogLink {
        color: #015FFF;
        cursor: pointer;
    }

.nav-header {
    color: #74BFFF;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 13px;
}

.text-start {
    text-align: left;
}

.download {
    display: inline-flex;
    align-items: center;
    color: inherit;
}
    .download::after {
        content: "\f090";
        font-family: "Material Symbols Outlined";
        -webkit-font-smoothing: antialiased;
        display: inline-block;
        margin-left: 8px;
        opacity: 0;
    }
    .download:hover {
        color: #0078D6;
    }
        .download:hover::after {
            opacity: 1;
        }

.admin-separator {
    padding-top: 15px;
    padding-bottom: 15px;
}

/*  Error page  */

#divErrorPage {
    -webkit-box-align: center;
    align-items: center;
    background-color: rgb(255, 255, 255);
    display: flex;
    height: 100dvh;
    -webkit-box-pack: center;
    justify-content: center;
    padding: 24px;
}

#divMessageStack {
    display: flex;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    max-width: 44ch;
    text-align: center;
    gap: 24px;
}

    #divMessageStack h1 {
        letter-spacing: -0.5px;
        line-height: 1.16667;
        font-family: Montserrat;
        font-weight: 400;
    }

#divReturnLinks {
    margin: 0px;
    font-weight: 400;
    letter-spacing: -0.1px;
    font-size: 0.875rem;
    line-height: 1.42857;
    font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-box-align: center;
    align-items: center;
    display: flex;
    flex-direction: row;
}

.product-text {
    margin: unset !important;
    font-size: 2.5rem !important;
}

.contactUsLink {
    margin: 0px;
    font: inherit;
    letter-spacing: inherit;
    color: rgb(1, 95, 255);
    text-decoration: none;
}

    .contactUsLink:hover {
        text-decoration: underline;
    }

.icon-button {
    display: inline-flex !important;
}

    .icon-button i {
        margin-right: 8px;
    }