/* color scheme from existing site */
:root {
    --color-primary: #253D8F;
    --color-secondary: #D8EBF5;
    --color-accent: #F5EB23;
    --color-dark: #606060;
}

:dir(rtl) {
    blockquote:before {
        display: none;
    }

    blockquote:after {
        margin-right: -0.4em;
        margin-bottom: -0.6em;
    }

    .card-header.collapsed:after {
        text-align: left;
        float: left;
        content: url('data:image/svg+xml,\
        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 1664 1312">\
        <path fill="rgb(37, 61, 143)" d="m1619 552l-742 741q-19 19-45 19t-45-19L45 552q-19-19-19-45.5T45 461l166-165q19-19 45-19t45 19l531 531l531-531q19-19 45-19t45 19l166 165q19 19 19 45.5t-19 45.5"/>\
        </svg>');
    }

    .card-header:after {
        text-align: left;
        float: left;
        content: url('data:image/svg+xml,\
        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 1664 1280">\
        <path fill="rgb(37, 61, 143)" d="m1619 1075l-166 165q-19 19-45 19t-45-19L832 709l-531 531q-19 19-45 19t-45-19L45 1075q-19-19-19-45.5T45 984l742-741q19-19 45-19t45 19l742 741q19 19 19 45.5t-19 45.5"/>\
        </svg>');
    }

    .toggler-header {
        padding-left: 40px !important;
        padding-right: 0 !important;
    }
}

@font-face {
    font-family: 'Baloo Bhai 2';
    src: url("fonts/BalooBhai2-VariableFont_wght-5EtE8vJ.ttf") format('truetype');
}

body {
    background-color: var(--bs-white);
    font-family: 'Baloo Bhai 2', -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, Adwaita Sans, Cantarell, Ubuntu, roboto, noto, helvetica, arial, sans-serif;
    font-size: 18px;
    color: var(--color-primary);
}

h1, h2 {
    font-weight: 550;
    text-align: center;
}

h1 {
    line-height: 1;
}

h2 {
    font-size: calc(1.1rem + 0.6vw) !important;
    line-height: 28px;
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

hr {
    width: 20%;
    min-width: 250px;
    margin: 30px auto;
    opacity: 1;
    border-top-width: 2px;
}

blockquote {
    position: relative;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    margin-top: 2.5rem;
    font-size: 1.4rem;
}

blockquote:before {
    font-family: Georgia, serif;
    position: absolute;
    content: '“';
    font-size: 4em;
    margin-left: -0.5em;
    margin-top: -0.4em;
}
blockquote:after {
    font-family: Georgia, serif;
    position: absolute;
    content: '”';
    font-size: 4em;
    bottom: 0;
    right: 0;
    margin-right: -0.2em;
    margin-bottom: -0.8em;
}

a {
    text-decoration: none;
}

a:link, a:visited {
    color: var(--bs-black);
}

a.navbar-brand:link, a.navbar-brand:visited {
    color: var(--color-primary);
}

a:hover, a:active {
    color: var(--color-primary);
}

a.nav-link, a.nav-link:link, a.nav-link:visited, a.nav-link:hover, a.nav-link:active {
    color: var(--color-primary);
    font-weight: 550;
}

a.nav-link:hover {
    text-decoration: underline;
    text-underline-offset: 15px;
}

.toggler-body a, .flowchart a {
    font-weight: 550;
    text-decoration: underline;
}

.text-danger a {
    text-decoration: underline;
    color: var(--bs-danger);
}

.flowchart-divider {
    width: 3px;
    border-left: 3px dashed var(--color-accent);
    height: 50px !important;
}

.navbar-nav .nav-link.active {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 15px;
}

.navbar-nav .nav-link.dropdown-toggle.show {
    color: var(--color-primary);
}

.dropdown-item {
    padding: 10px 20px;
}

.dropdown-item.active {
    background-color: var(--color-primary);
}

a.dropdown-item {
    color: var(--color-primary);
    font-weight: 550;
}

a.dropdown-item:hover, a.dropdown-item:active {
    background-color: var(--color-primary);
    color: var(--bs-white);
}

.dropdown-menu {
    border: none;
    background-color: var(--color-secondary);
}

.dropdown-menu.language-dropdown {
    min-width: 400px;
    left: -250px;
}

strong {
    font-weight: 550;
}

.bg-form-card {
    background-color: var(--color-secondary) !important;
}

.bg-popup-header {
    background-color: var(--color-secondary);
}

.container {
    max-width: 1140px;
}

.site-footer hr {
    width: 100%;
}

.site-footer {
    padding-top: 50px;
    padding-bottom: 50px;
}

.footer-logo {
    max-height: 80px !important;
    margin-top: 20px;
    margin-bottom: 20px;
}

.site-header {
    background-color: var(--color-secondary);
    padding-bottom: 15px;
    padding-top: 15px;
}

.main-content {
    padding-top: 8em;
}

.nav-title {
    font-size: calc(1.325rem + 0.9vw) !important;
    text-align: left;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.navbar-brand {
    color: var(--color-primary);
}

.icon img {
    max-width: 100px !important;
    margin-bottom: 20px;
}

.info-block {
    background-color: var(--color-secondary);
    padding: 30px 30px 30px 30px;
    border-radius: 50px 50px 50px 50px;
}

.help-block {
    background-color: var(--color-secondary);
    padding: 1rem;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.card-img {
    height: 100px;
    margin-bottom: 1.5rem;
}

.card-img img {
    width: 30%;
}

.card {
    border: none;
    background-color: rgba(255, 255, 255, 0.44);;
}

.card-header {
    font-weight: 550;
    color: var(--color-primary);
    background-color: var(--bs-white);
    border: none;
}

.toggler-header {
    padding-right: 40px !important;
}

.card-header.collapsed:after {
    text-align: right;
    float: right;
    content: url('data:image/svg+xml,\
        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 1664 1312">\
        <path fill="rgb(37, 61, 143)" d="m1619 552l-742 741q-19 19-45 19t-45-19L45 552q-19-19-19-45.5T45 461l166-165q19-19 45-19t45 19l531 531l531-531q19-19 45-19t45 19l166 165q19 19 19 45.5t-19 45.5"/>\
        </svg>');
}

.card-header:after {
    text-align: right;
    float: right;
    content: url('data:image/svg+xml,\
        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 1664 1280">\
        <path fill="rgb(37, 61, 143)" d="m1619 1075l-166 165q-19 19-45 19t-45-19L832 709l-531 531q-19 19-45 19t-45-19L45 1075q-19-19-19-45.5T45 984l742-741q19-19 45-19t45 19l742 741q19 19 19 45.5t-19 45.5"/>\
        </svg>');
}

.card-body {
    color: var(--color-primary);
}

.icon {
    height: 30px;
    width: 30px;
}

.button-link, a.button-link {
    background-color: var(--color-primary);
    color: var(--bs-white);
    border-radius: 10px 10px 10px 10px;
    padding: 0.75rem 0.375rem ;
    font-size: 1.1rem;
    line-height: 1.2;
    text-align: center;
}

a.button-link:hover {
    background-color: var(--color-primary);
    color: var(--bs-white);
}

.required:after {
    content:" *";
    color: var(--bs-danger);
    font-weight: 550;
}

.btn-primary, .btn-primary:hover {
    background-color: var(--color-primary);
    color: var(--bs-white);
    border-radius: 10px 10px 10px 10px;
    padding: 0.75rem 2rem ;
    font-size: 1.1rem;
    line-height: 1.2;
    text-align: center;
}

.btn-primary:active, .btn-primary:focus-visible, .btn-primary.active {
    background-color: var(--color-primary) !important;
}

.btn-secondary, .btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--bs-black);
    border-radius: 10px 10px 10px 10px;
    padding: 0.75rem 2rem ;
    font-size: 1.1rem;
    line-height: 1.2;
    text-align: center;
}

.btn-secondary:active, .btn-secondary:focus-visible, .btn-secondary.active {
    background-color: var(--color-secondary) !important;
}

@media (min-width: 768px) {
    blockquote {
        position: relative;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 2.5rem;
        font-size: 1.4rem;
    }

    blockquote:before {
        font-size: 5em;
        margin-left: -0.5em;
        margin-top: -0.5em;
    }
    blockquote:after {
        font-size: 5em;
        bottom: 0;
        right: 0;
        margin-right: 0;
        margin-bottom: -1em;
    }

    h1, h2 {
        font-weight: 700;
    }

    a.nav-link, a.nav-link:link, a.nav-link:visited, a.nav-link:hover, a.nav-link:active {
        font-weight: bold;
    }

    strong {
        font-weight: bold;
    }

    .toggler-body a, .flowchart a {
        font-weight: bold;
    }

    a.dropdown-item {
        font-weight: bold;
    }

    .card-header {
        font-weight: bold;
    }

    .required:after {
        font-weight: bold;
    }
}