/* Basic styles
/* ---------------------------------------------------------------------------- */
:root {
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --breakpoint-xxl: 1400px;

    --bs-body-font-size: 16px;
    --bs-body-line-height: 1.45;
    --bs-primary: #18171b;
    --bs-link-color: #2563eb;
    --bs-link-hover-color: #3b82f6;

    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
}
.nav {
    --bs-nav-link-color: inherit;
    --bs-nav-link-hover-color: var(--bs-link-color);
    --bs-nav-tabs-border-color: var(--gray-400);
    --bs-nav-tabs-link-active-border-color: var(--gray-400) var(--gray-400) transparent;
    --bs-nav-tabs-link-hover-border-color: transparent;
    --bs-nav-tabs-border-radius: 0;
}

.container-lg {
    max-width: unset;
    width: 98%;
}
@media (min-width: 1200px) {
    .container-lg {
        max-width: 1140px !important;
    }
}
@media (min-width: 1400px) {
    .container-lg {
        max-width: 1320px !important;
    }
}

img {
    max-width: 100%;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}
h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}
h3 {
    font-size: 17px;
    font-weight: bold;
}
h4 {
    font-size: 16px;
    font-weight: bold;
}

@media (min-width: 992px) {
    h1 {
        font-size: 28px;
        margin-bottom: 25px;
    }
    h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    h3 {
        font-size: 20px;
    }
    h4 {
        font-size: 17px;
    }
}

ul li,
ol li {
    margin-bottom: 10px;
}
ul li ul {
    margin-top: 10px;
}

.form-label,
fieldset .col-form-label {
    font-weight: bold;
}
.form-label.required:after,
fieldset .col-form-label.required:after {
    content: '*';
    color: red;
}
.invalid-feedback {
    font-size: inherit;
    font-weight: bold;
}
.alert .invalid-feedback {
    color: inherit;
}

.form-text.help-text {
    color: var(--gray-600);
    font-size: 15px;
    margin-top: 10px;
}

.btn-outline-success {
    --color-emerald-700: #047857;

    --bs-btn-color: var(--color-emerald-700);
    --bs-btn-border-color: var(--color-emerald-700);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--color-emerald-700);
    --bs-btn-hover-border-color: var(--color-emerald-700);
    --bs-btn-focus-shadow-rgb: 25, 135, 84;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--color-emerald-700);
    --bs-btn-active-border-color: var(--color-emerald-700);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-gradient: none;
}

#exam_schedule_date select {
    flex: unset;
    width: auto;
}
#exam_schedule_date .input-group {
    margin-bottom: 10px;
}
#exam_schedule_date .input-group:last-child {
    margin-bottom: 0;
}

.body-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
}
.body-wrapper main {
    flex: 1;
}

header {
    background: #f5f5f5;
    box-shadow: inset 0 -1px 0 #e5e5e5;
    margin-bottom: 15px;
    padding: 10px 0;
}
@media (min-width: 992px) {
    header {
        margin-bottom: 30px;
        padding: 15px 0;
    }
}
header a {
    color: inherit;
    text-decoration: none;
}

header .logo {
    align-items: center;
    display: flex;
    font-size: 16px;
    font-weight: 600;
}
header .logo img {
    height: 28px;
    width: 28px;
    margin-right: 8px;
}
@media (min-width: 992px) {
    header .logo {
        font-size: 19px;
    }
    header .logo img {
        height: 32px;
        width: 32px;
    }
    header .btn {
        --bs-btn-padding-x: 0.75rem;
        --bs-btn-padding-y: 0.375rem;
        --bs-btn-font-size: 1rem;
        --bs-btn-line-height: 1.25;

        display: inline-flex;
        align-items: center;
    }
}

.top-highlight {
    margin: 0 0 20px;
}
@media (min-width: 992px) {
    .top-highlight {
        margin: 15px 0 30px;
    }
}

.sidebar-menu ul {
    list-style: none;
    margin-bottom: 30px;
    padding: 0;
}
@media (min-width: 992px) {
    .sidebar-menu ul {
        margin-bottom: 0;
        padding: 0 30px 0 0;
    }
}
.sidebar-menu ul li {
    align-items: center;
    border-radius: 4px;
    display: flex;
    font-size: 15px;
    margin: 0 0 5px 0;
    padding: 4px 10px 4px 8px;
    position: relative; /* needed for stretched links */
    text-align: center;
}
@media (min-width: 992px) {
    .sidebar-menu ul li {
        font-size: 16px;
        padding: 6px 10px 6px 8px;
    }
}
.sidebar-menu ul li.active {
    background: #f5f5f5;
    color: var(--bs-link-color);
}
.sidebar-menu ul li.active svg {
    color: inherit;
}
.sidebar-menu ul li a {
    color: inherit;
    text-decoration: none;
}
.sidebar-menu ul li abbr {
    text-decoration: none;
}
.sidebar-menu ul li svg {
    color: #737373;
    margin-right: 6px;
}

footer {
    background: #262626;
    color: #a3a3a3;
    font-size: 14px;
    margin-top: 60px;
    padding: 30px 0 45px;
}
footer a {
    color: inherit;
    text-decoration: underline;
}
footer a:hover {
    color: var(--bs-link-hover-color);
    text-decoration: none;
}
footer .upsun-logo,
footer .upsun-logo svg {
    max-width: 140px;
}

#symfony-connect-login {
    align-items: center;
    justify-items: center;
    background: var(--gray-100);
    display: grid;
    height: 100vh;
    width: 100vw;
}
#symfony-connect-login .connect-dialog {
    background: white;
    border-radius: 10px;
    max-width: 450px;
    padding: 30px;
}
#symfony-connect-login .site-logo {
    align-items: center;
    display: flex;
    font-size: 18px;
    font-weight: 600;
}
#symfony-connect-login .site-logo img {
    height: 32px;
    width: 32px;
    margin-right: 8px;
}

section + section {
    margin-top: 45px;
}

.gray-box {
    background: #f5f5f5;
}
.rounded-box {
    border-radius: 10px;
    padding: 15px 20px;
}
@media (min-width: 992px) {
    .rounded-box {
        padding: 20px 30px;
    }
}
@media (min-width: 1200px) {
    .rounded-box {
        padding: 30px 45px;
    }
}
.small-rounded-box {
    border-radius: 4px;
    padding: 5px 10px;
}
@media (min-width: 992px) {
    .small-rounded-box {
        padding: 15px 20px;
    }
}

.list-of-exams {
    margin: 30px 0;
}
.list-of-exams .exam {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    position: relative; /* needed for the stretched-link */
    transition: box-shadow 0.2s, transform 0.2s;
}
.list-of-exams .exam:hover {
    cursor: pointer;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-5px);
}
.list-of-exams .exam .exam-description {
    box-shadow: inset 0 -1px 0 #e5e5e5;
    font-size: 15px;
    padding: 20px 15px 20px;
}
@media (min-width: 1200px) {
    .list-of-exams .exam .exam-description {
        padding: 20px;
    }
}

@media (min-width: 1400px) {
    .list-of-exams .exam .exam-description {
        padding: 20px 30px 20px;
    }
}
.list-of-exams .exam .exam-description h2 {
    font-size: 21px;
}
.list-of-exams .exam .exam-description p {
    margin-bottom: 0;
}
.list-of-exams .exam .exam-details {
    background: #fafafa;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 20px 15px;
}
@media (min-width: 1200px) {
    .list-of-exams .exam .exam-details {
        padding: 20px;
    }
}
@media (min-width: 1400px) {
    .list-of-exams .exam .exam-details {
        padding: 20px 30px;
    }
}
.list-of-exams .exam ul {
    margin: 0;
    padding-left: 20px;
}
.list-of-exams .exam ul li {
    margin-bottom: 5px;
}
.list-of-exams .exam ul li::marker {
    color: #a3a3a3;
}
.list-of-exams .exam .cta {
    border-width: 2px;
    position: relative;
    z-index: 100; /* needed for the stretched-link */
}
.list-of-exams .exam .cta :hover {
    background: #198754;
    color: #fff;
}
.list-of-exams .exam .details-link {
    text-decoration: none;
}
.list-of-exams .exam:hover .details-link {
    text-decoration: underline;
}

.nav-link-new {
    background: #198754;
    color: white;
    font-size: 12px;
    border-radius: 3px;
    font-weight: bold;
    line-height: 1;
    padding: 2px 4px;
    margin-left: 5px;
}

.list-of-exam-topics {
    column-count: 2;
    column-gap: 45px;
    padding: 0;
}
.list-of-exam-topics > li {
    list-style: none;
}
.list-of-exam-topics > li ul {
    margin-bottom: 30px;
}
.list-of-exam-topics > li ul li {
    list-style: disc;
}
.list-of-exam-topics h4 {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px;
}

/* Symfony Checkout */
.sfc-button.sfc-login-button.btn,
.btn#sfc_details_submit,
.btn#sfc_payment_submit,
.btn#sfc_details_back,
.btn#sfc_payment_back {
    --bs-btn-color: #fff;
    --bs-btn-bg: #198754;
    --bs-btn-border-color: #198754;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #157347;
    --bs-btn-hover-border-color: #146c43;
    --bs-btn-focus-shadow-rgb: 60, 153, 110;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #146c43;
    --bs-btn-active-border-color: #13653f;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #198754;
    --bs-btn-disabled-border-color: #198754;
    display: inline-block;
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
    font-family: var(--bs-btn-font-family);
    font-size: var(--bs-btn-font-size);
    font-weight: var(--bs-btn-font-weight);
    line-height: var(--bs-btn-line-height);
    color: var(--bs-btn-color);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
    border-radius: var(--bs-btn-border-radius);
    background-color: var(--bs-btn-bg);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.sfc-button.sfc-login-button.btn:hover,
.btn#sfc_details_submit:hover,
.btn#sfc_payment_submit:hover,
.btn#sfc_details_back:hover,
.btn#sfc_payment_back:hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
}
.btn#sfc_details_back,
.btn#sfc_payment_back {
    --bs-btn-bg: transparent;

    color: #198754;
    border-color: #198754;
}

#sfc_details_address_line2 {
    margin-bottom: 20px;
}
table.sfc-table th {
    background: var(--gray-100);
}
table.sfc-table th,
table.sfc-table td {
    padding: 4px 6px;
}

/* FAQ page */
body.faq h3 {
    margin: 30px 0 15px;
}
