/* Site-wide overrides on top of the Studiare theme. */
header .navbar-brand img { height: 48px; width: auto; }
header .top-line .top-offices span { margin-right: 18px; }
section.contact-info-section .info-post h3 { font-size: 18px; font-weight: 600; margin: 0 0 6px; }
section.contact-info-section .info-post .office-company { display: block; font-size: 13px; color: #8f8f8f; margin-bottom: 8px; }

/* Header top line: phone link inherits the muted white of the strip. */
header .top-line p a { color: rgba(255, 255, 255, .85); }
header .top-line p a:hover { color: #f9a134; }


/* Contact form: style the email field like the theme's text inputs. */
section.contact-section #contact-form input[type="email"] {
    width: 100%;
    padding: 10px 20px;
    background: transparent;
    color: #7d7e7f;
    font-size: 15px;
    font-family: "Manrope", sans-serif;
    font-weight: 300;
    outline: none;
    border: 1px solid #dcdcdc;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06);
    border-radius: 2px;
    margin: 0 0 30px;
    display: block;
    transition: all 0.2s ease-in-out;
}
section.contact-section #contact-form input[type="email"]:focus { border: 1px solid #4783f3; }


/* Shared call-to-action band (home, corporate). */
.cta-band { background: #f6f7fb; padding: 56px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band-title { font-size: 24px; font-weight: 600; margin: 0 0 8px; color: #2b2f3a; }
.cta-band-text { margin: 0; color: #6b7280; max-width: 40em; line-height: 1.6; }
.cta-band-actions { display: flex; align-items: center; gap: 24px; flex: 0 0 auto; }
.cta-band-phone { font-size: 24px; font-weight: 700; color: #1f2c5c; white-space: nowrap; }
.cta-band-phone:hover { color: #4783f3; }
.cta-band-button { display: inline-block; background: #f9a134; color: #fff; font-weight: 600; padding: 14px 26px; border-radius: 30px; white-space: nowrap; }
.cta-band-button:hover { background: #e8901f; color: #fff; }
@media (max-width: 991px) {
    .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

/* Blog */
.blog-empty { text-align: center; padding: 60px 20px; color: #8f8f8f; }
.blog-empty .material-icons { font-size: 48px; color: #d5d9e4; margin-bottom: 10px; }
.sidebar .category-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sidebar .category-list .category-count { font-size: 12px; color: #8f8f8f; }
.sidebar .recent-posts .post-date { font-size: 12px; color: #8f8f8f; }
.post-body h2, .post-body h3 { margin: 28px 0 12px; }
.post-body p, .post-body li { line-height: 1.8; }
.post-body ul, .post-body ol { padding-left: 22px; margin-bottom: 20px; }
.post-body ul li { list-style: disc; }
.post-body img { max-width: 100%; height: auto; margin: 16px 0; border-radius: 4px; }
.post-body blockquote { border-left: 3px solid #4783f3; padding-left: 18px; color: #6b7280; margin: 20px 0; }
.page-pagination .disabled { color: #d5d9e4; }

/* Preloader (toggled from site settings) */
#preloader {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    background: #1f2c5c;
    transition: opacity .4s ease, visibility .4s ease;
}
#preloader.is-done { opacity: 0; visibility: hidden; }
.preloader-spinner {
    width: 46px; height: 46px; border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, .2);
    border-top-color: #f9a134;
    animation: preloader-spin .8s linear infinite;
}
@keyframes preloader-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .preloader-spinner { animation: none; }
}

/* With the preloader switched off, show the page immediately instead of the theme's fade-in. */
body.no-preloader #container { opacity: 1; transition: none; }

/* Social links (footer + sidebar) */
.social-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social-links li { margin: 0; list-style: none; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; font-size: 15px; transition: background .15s ease, color .15s ease; }
.footer-social a { background: rgba(255, 255, 255, .1); color: #fff; }
.footer-social a:hover { background: #f9a134; color: #fff; }
.sidebar-social a { background: #eef2fb; color: #2e3e77; }
.sidebar-social a:hover { background: #4783f3; color: #fff; }

/* App store badges */
.app-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.app-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 6px; background: #111; color: #fff; border: 1px solid rgba(255,255,255,.18); line-height: 1.1; }
.app-badge:hover { background: #000; color: #fff; }
.app-badge .fa { font-size: 22px; }
.app-badge span { display: flex; flex-direction: column; font-weight: 600; font-size: 15px; }
.app-badge small { font-size: 10px; font-weight: 400; opacity: .8; letter-spacing: .02em; }
.sidebar-apps { margin-top: 0; }

/* Newsletter widget */
.newsletter-widget h2 { font-size: 18px; font-weight: 600; margin: 0 0 6px; }
.newsletter-widget p { margin: 0 0 12px; font-size: 14px; }
.newsletter-widget .newsletter-form { display: flex; gap: 0; }
.newsletter-widget .newsletter-form .form-control { flex: 1 1 auto; height: 44px; border-radius: 4px 0 0 4px; border: 1px solid #dcdcdc; padding: 0 14px; font-size: 14px; }
.newsletter-widget .newsletter-form input[type="submit"] { height: 44px; border: 0; border-radius: 0 4px 4px 0; background: #f9a134; color: #fff; font-weight: 600; padding: 0 18px; cursor: pointer; }
.newsletter-widget .newsletter-form input[type="submit"]:hover { background: #e8901f; }
.newsletter-widget .newsletter-status { color: #2e7d32; font-weight: 600; }
.newsletter-widget .newsletter-error { color: #c62828; font-size: 13px; margin: 8px 0 0; }
.sidebar-newsletter { background: #f6f7fb; border-radius: 6px; padding: 22px; }
.sidebar-newsletter h2 { color: #2b2f3a; }

/* Site footer */
.site-footer { background: #1f2c5c; color: rgba(255, 255, 255, .72); padding: 0; font-size: 14px; }
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: #fff; }

.site-footer-newsletter { background: #2e3e77; border-bottom: 1px solid rgba(255, 255, 255, .08); padding: 34px 0; }
.site-footer-newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.site-footer-newsletter-text h2 { color: #fff; font-size: 20px; font-weight: 600; margin: 0 0 4px; }
.site-footer-newsletter-text p { margin: 0; color: rgba(255, 255, 255, .7); }
.site-footer-newsletter-form { flex: 0 0 auto; width: 100%; max-width: 480px; }
.site-footer-newsletter .newsletter-form { display: flex; }
.site-footer-newsletter .newsletter-form input[type="email"] { flex: 1 1 auto; height: 48px; border: 0; border-radius: 4px 0 0 4px; padding: 0 16px; font-size: 14px; color: #2b2f3a; background: #fff; outline: none; }
.site-footer-newsletter .newsletter-form input[type="email"]:focus { box-shadow: inset 0 0 0 2px #f9a134; }
.site-footer-newsletter .newsletter-form button { height: 48px; border: 0; border-radius: 0 4px 4px 0; background: #f9a134; color: #fff; font-weight: 600; padding: 0 22px; cursor: pointer; white-space: nowrap; }
.site-footer-newsletter .newsletter-form button:hover { background: #e8901f; }
.site-footer-newsletter .newsletter-status { color: #9be7a5; font-weight: 600; margin: 0 0 8px; }
.site-footer-newsletter .newsletter-error { color: #ffb4a8; margin: 8px 0 0; font-size: 13px; }

.site-footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1.3fr 1fr; gap: 48px; padding: 56px 0 48px; }
.site-footer-logo img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.site-footer-logo.has-light-logo img { filter: none; }
.site-footer-brand p { margin: 20px 0 18px; line-height: 1.7; }
.site-footer-phone { display: inline-flex; align-items: center; gap: 6px; font-size: 20px; font-weight: 700; color: #fff; }
.site-footer-phone .material-icons { font-size: 20px; color: #f9a134; }
.site-footer-hours { display: block; font-size: 13px; color: rgba(255, 255, 255, .55); margin: 2px 0 20px; }
.site-footer-col h3 { color: #fff; font-size: 15px; font-weight: 600; margin: 8px 0 18px; }
.site-footer-links { list-style: none; margin: 0; padding: 0; }
.site-footer-links li { margin-bottom: 10px; }
.site-footer-offices { list-style: none; margin: 0; padding: 0; }
.site-footer-offices li { display: flex; gap: 8px; margin-bottom: 14px; line-height: 1.55; }
.site-footer-offices .material-icons { font-size: 18px; color: #f9a134; margin-top: 2px; flex: 0 0 auto; }
.site-footer-offices strong { display: block; color: #fff; font-weight: 600; }
.site-footer-apps-text { margin: 0 0 14px; line-height: 1.6; }
.footer-apps .app-badge { border-color: rgba(255, 255, 255, .22); }

.site-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; }
.site-footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; }
.site-footer-bottom strong { color: #f9a134; font-weight: 600; }

@media (max-width: 991px) {
    .site-footer-newsletter-inner { flex-direction: column; align-items: flex-start; }
    .site-footer-newsletter-form { max-width: none; }
    .site-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 575px) {
    .site-footer-grid { grid-template-columns: 1fr; }
    .site-footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* Recent posts with thumbnails */
.sidebar .recent-posts { list-style: none; margin: 0; padding: 0; }
.sidebar .recent-posts li { margin: 0 0 14px; }
.sidebar .widget ul.recent-posts li a { display: flex; align-items: center; gap: 12px; text-align: left; }
.sidebar .widget ul.recent-posts img, .sidebar .widget ul.recent-posts .recent-post-placeholder { flex: 0 0 64px; width: 64px; height: 48px; object-fit: cover; border-radius: 4px; margin: 0; }
.sidebar .recent-post-placeholder { display: flex; align-items: center; justify-content: center; background: #eef2fb; color: #4783f3; }
.sidebar .recent-post-body { display: flex; flex-direction: column; gap: 2px; }
.sidebar .recent-post-title { font-size: 14px; font-weight: 600; color: #2b2f3a; line-height: 1.4; }
.sidebar .recent-posts a:hover .recent-post-title { color: #4783f3; }

/* E-book banners (sidebar) */
.ebook-banners { display: grid; grid-template-columns: 1fr; gap: 12px; }
.ebook-banner { position: relative; display: block; border-radius: 6px; overflow: hidden; border: 1px solid #e3e6ef; background: #f6f7fb; }
.ebook-banner img { display: block; width: 100%; height: auto; transition: transform .25s ease; }
.ebook-banner:hover img { transform: scale(1.02); }
.ebook-banner-badge { position: absolute; top: 10px; right: 10px; background: rgba(31, 44, 92, .9); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 3px 8px; border-radius: 3px; }
.ebook-banner-fallback { display: block; padding: 24px 16px; font-weight: 600; color: #2e3e77; }
.ebooks-all-link { display: inline-block; margin-top: 14px; }

/* E-book library page */
.ebooks-section { padding: 56px 0 72px; }
.ebooks-lead { max-width: 46em; color: #6b7280; font-size: 16px; line-height: 1.7; margin: 0 0 36px; }
.ebook-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.ebook-card { border: 1px solid #e3e6ef; border-radius: 6px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.ebook-card-cover { display: block; background: #f6f7fb; aspect-ratio: 6 / 5; overflow: hidden; }
.ebook-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ebook-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1 1 auto; }
.ebook-card-body h2 { font-size: 16px; font-weight: 600; line-height: 1.4; margin: 0 0 8px; }
.ebook-card-body h2 a { color: #2b2f3a; }
.ebook-card-body h2 a:hover { color: #4783f3; }
.ebook-card-body p { font-size: 14px; color: #6b7280; line-height: 1.6; margin: 0 0 14px; }
.ebook-card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #4783f3; }
.ebook-card-link .material-icons { font-size: 18px; }
@media (max-width: 991px) { .ebook-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .ebook-grid { grid-template-columns: 1fr; } }

/* Trainings module */
.section-lead { max-width: 52em; color: #6b7280; font-size: 16px; line-height: 1.7; margin: 0 0 28px; }
.section-subtitle { margin-top: 36px !important; }
.muted { color: #8f8f8f; }
.trainings-section, .calendar-section, .documents-section, .packages-section { padding: 56px 0 64px; }
.training-quicklinks { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.training-quicklinks a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1px solid #e3e6ef; border-radius: 30px; font-size: 14px; font-weight: 600; color: #2e3e77; background: #fff; }
.training-quicklinks a:hover { border-color: #4783f3; color: #4783f3; }
.training-quicklinks .material-icons { font-size: 18px; color: #4783f3; }
.training-group { margin-bottom: 40px; }
.training-group h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; margin: 0 0 20px; color: #2b2f3a; }
.training-group h2 .material-icons { color: #4783f3; }
.training-card { position: relative; border: 1px solid #e3e6ef; border-radius: 6px; padding: 22px 22px 20px; margin-bottom: 30px; background: #fff; height: calc(100% - 30px); display: flex; flex-direction: column; }
.training-code { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #1f2c5c; background: #eef2fb; border-radius: 4px; padding: 3px 8px; margin-bottom: 12px; }
.training-card h3 { font-size: 17px; font-weight: 600; line-height: 1.35; margin: 0 0 8px; }
.training-card h3 a { color: #2b2f3a; }
.training-card h3 a:hover { color: #4783f3; }
.training-card p { font-size: 14px; color: #6b7280; line-height: 1.6; margin: 0 0 12px; }
.training-next { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #2e3e77; margin-bottom: 12px; }
.training-next .material-icons { font-size: 16px; color: #f9a134; }
.training-card .text-link { margin-top: auto; align-self: flex-start; }
.page-content .training-code { margin-bottom: 14px; }

.branch-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.branch-filter a { padding: 8px 16px; border-radius: 30px; border: 1px solid #e3e6ef; font-size: 14px; font-weight: 600; color: #2e3e77; background: #fff; }
.branch-filter a.active, .branch-filter a:hover { background: #2e3e77; border-color: #2e3e77; color: #fff; }
.branch-filter .count { font-weight: 400; opacity: .7; margin-left: 4px; }

.table-wrap { overflow-x: auto; border: 1px solid #e3e6ef; border-radius: 6px; background: #fff; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { text-align: left; padding: 14px 16px; background: #f6f7fb; color: #2b2f3a; font-weight: 600; white-space: nowrap; border-bottom: 1px solid #e3e6ef; }
.data-table td { padding: 14px 16px; border-bottom: 1px solid #eef0f5; color: #4b5563; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table .cell-title a { color: #2b2f3a; font-weight: 600; }
.data-table .cell-title a:hover { color: #4783f3; }
.data-table .cell-action { text-align: right; white-space: nowrap; }
.branch-badge { display: inline-block; font-size: 12px; font-weight: 600; color: #2e3e77; background: #eef2fb; border-radius: 4px; padding: 3px 8px; white-space: nowrap; }
.table-btn { display: inline-block; padding: 8px 16px; border-radius: 30px; background: #f9a134; color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }
.table-btn:hover { background: #e8901f; color: #fff; }
.exam-list { list-style: none; padding: 0; margin: 0; }
.exam-list li { padding: 10px 0; border-bottom: 1px solid #eef0f5; }
.exam-list li strong { color: #2e3e77; margin-right: 8px; }

.document-list { list-style: none; margin: 0; padding: 0; border: 1px solid #e3e6ef; border-radius: 6px; background: #fff; }
.document-list li { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid #eef0f5; }
.document-list li:last-child { border-bottom: 0; }
.document-date { flex: 0 0 130px; font-size: 13px; color: #8f8f8f; }
.document-title { flex: 1 1 auto; font-weight: 600; color: #2b2f3a; }
.document-soon { font-size: 12px; color: #8f8f8f; border: 1px dashed #d5d9e4; border-radius: 30px; padding: 5px 12px; white-space: nowrap; }
.document-meta { display: flex; align-items: center; gap: 14px; color: #6b7280; margin: 0 0 18px; }
.document-meta .material-icons { font-size: 18px; vertical-align: middle; margin-right: 4px; color: #f9a134; }
.document-content ol { padding-left: 24px; }
.document-content ol li { margin-bottom: 6px; }
.document-content ol li strong { color: #2e3e77; margin-left: 6px; }
@media (max-width: 575px) { .document-list li { flex-wrap: wrap; } .document-date { flex-basis: 100%; } }

.packages-intro { max-width: 52em; margin-bottom: 36px; }
.packages-intro h2 { font-size: 28px; font-weight: 600; margin: 0 0 10px; color: #2b2f3a; }
.packages-intro p { color: #6b7280; line-height: 1.7; margin: 0; }
.package-card { border: 1px solid #e3e6ef; border-radius: 6px; padding: 24px; margin-bottom: 30px; background: #fff; height: calc(100% - 30px); display: flex; flex-direction: column; }
.package-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.package-card-head img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.package-card h3 { font-size: 17px; font-weight: 600; line-height: 1.35; margin: 0; }
.package-card h3 a { color: #2b2f3a; }
.package-card h3 a:hover { color: #4783f3; }
.package-card p { font-size: 14px; color: #6b7280; line-height: 1.6; margin: 0 0 16px; }
.package-facts { display: flex; gap: 24px; margin: 0 0 18px; }
.package-facts div { display: flex; flex-direction: column; }
.package-facts dt { font-size: 12px; color: #8f8f8f; }
.package-facts dd { margin: 0; font-size: 18px; font-weight: 700; color: #1f2c5c; }
.package-actions { margin-top: auto; display: flex; align-items: center; gap: 16px; }

/* Top bar */
.site-topbar { background: #1f2c5c; color: rgba(255, 255, 255, .78); font-size: 13px; }
/* The strip spans the whole viewport instead of the page column, and nothing in it wraps. */
.site-topbar > .container { max-width: none; width: 100%; padding: 0 32px; }
.site-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; white-space: nowrap; }
.site-topbar-left, .site-topbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: nowrap; }
.topbar-social { flex-wrap: nowrap; }
.site-topbar .material-icons { font-size: 15px; vertical-align: -3px; margin-right: 5px; color: #f9a134; }
.topbar-phone { color: #fff; font-weight: 700; font-size: 14px; }
.topbar-phone:hover { color: #f9a134; }
.topbar-hours { color: rgba(255, 255, 255, .55); padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .14); }
.topbar-offices { display: flex; align-items: center; gap: 10px; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .14); }
.topbar-offices .material-icons { margin-right: 0; }
.topbar-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
.topbar-links a { color: rgba(255, 255, 255, .78); }
.topbar-links a:hover { color: #fff; }
.topbar-social { gap: 6px; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .14); }
.topbar-social a { width: 28px; height: 28px; font-size: 12px; background: rgba(255, 255, 255, .08); color: #fff; }
.topbar-social a:hover { background: #f9a134; color: #fff; }
@media (max-width: 1399px) { .topbar-hours { display: none; } }
/* Tablets in landscape (992-1199px): the main menu stays on one line next to the contact button. */
@media (min-width: 992px) and (max-width: 1199px) {
    header .navbar-brand img { height: 40px; }
    header .navbar-nav > li > a { white-space: nowrap; font-size: 14px; padding: 36px 6px !important; margin: 0 2px -1px; }
    header .navbar .login-button { white-space: nowrap; font-size: 14px; padding: 9px 16px; }
    header .navbar .login-button i { font-size: 18px; }
}
@media (max-width: 1199px) { .topbar-links { display: none; } }
@media (max-width: 991px) {
    .site-topbar > .container { padding: 0 16px; }
    .site-topbar-inner { justify-content: center; }
    .site-topbar-right, .topbar-hours, .topbar-offices { display: none; }
    .site-topbar-left { justify-content: center; }
}

/* Certificate cards */
.cert-card { display: flex; align-items: stretch; gap: 0; margin-bottom: 30px; border: 1px solid #e3e6ef; border-radius: 6px; background: #fff; color: inherit; overflow: hidden; height: calc(100% - 30px); transition: box-shadow .2s ease, transform .2s ease; }
.cert-card:hover { box-shadow: 0 10px 30px rgba(46, 62, 119, .10); transform: translateY(-2px); color: inherit; }
.cert-card-code { flex: 0 0 76px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; letter-spacing: -.01em; color: #fff; background: #2e3e77; text-align: center; padding: 6px; line-height: 1.1; }
.cert-card-body { flex: 1 1 auto; display: flex; flex-direction: column; padding: 16px 14px 14px 16px; }
.cert-card-title { font-size: 15px; font-weight: 700; color: #2b2f3a; margin-bottom: 4px; }
.cert-card-text { font-size: 13px; line-height: 1.5; color: #6b7280; margin-bottom: 10px; }
.cert-card-fee { margin-top: auto; font-size: 12px; font-weight: 600; color: #1f2c5c; }
.cert-card-fee--none { color: #8f8f8f; font-weight: 500; }
.cert-card-arrow { display: flex; align-items: center; padding-right: 12px; color: #d5d9e4; }
.cert-card:hover .cert-card-arrow { color: #4783f3; }
.cert-card-arrow .material-icons { font-size: 18px; }
/* letter groups: passenger (A, B, D, F, T), goods (C, G, H, K, L, N, P, R), other */
.cert-group-a .cert-card-code, .cert-group-b .cert-card-code, .cert-group-d .cert-card-code, .cert-group-f .cert-card-code, .cert-group-t .cert-card-code { background: #2e3e77; }
.cert-group-c .cert-card-code, .cert-group-k .cert-card-code, .cert-group-l .cert-card-code, .cert-group-n .cert-card-code, .cert-group-p .cert-card-code, .cert-group-r .cert-card-code, .cert-group-g .cert-card-code, .cert-group-h .cert-card-code, .cert-group-m .cert-card-code { background: #4783f3; }
.cert-group-e .cert-card-code, .cert-group-x .cert-card-code { background: #f9a134; }

/* Blog category navigation */
.sidebar .category-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sidebar .category-nav li { margin: 0; }
.sidebar .widget ul.category-nav li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 6px; background: #f6f7fb; color: #2b2f3a; font-weight: 600; font-size: 14px; transition: background .15s ease, color .15s ease; }
.sidebar .widget ul.category-nav li a:hover { background: #eef2fb; color: #2e3e77; }
.sidebar .widget ul.category-nav li a.active { background: #2e3e77; color: #fff; }
.category-nav-count { flex: 0 0 auto; min-width: 26px; text-align: center; padding: 2px 8px; border-radius: 30px; font-size: 12px; font-weight: 700; background: #fff; color: #2e3e77; }
.sidebar .widget ul.category-nav li a.active .category-nav-count { background: rgba(255, 255, 255, .18); color: #fff; }


/* Book order form on the online test / book package page, styled like the theme's contact form. */
.order-form-box { margin-top: 50px; padding: 35px 30px; border: 1px solid #e7e7e7; border-radius: 4px; background: #fff; scroll-margin-top: 120px; }
.order-form-box h2 { font-size: 24px; font-weight: 600; margin: 0 0 8px; }
.order-form-box .order-form-lead { color: #7d7e7f; margin-bottom: 25px; }
.order-form-box .alert { padding: 10px 20px; font-size: 15px; margin-bottom: 25px; }
.order-form label { display: block; font-size: 15px; color: #7d7e7f; margin: 0 0 5px; }
.order-form input[type="text"],
.order-form input[type="tel"],
.order-form input[type="email"],
.order-form input[type="number"],
.order-form select,
.order-form textarea {
    display: block;
    width: 100%;
    padding: 10px 20px;
    background: transparent;
    color: #7d7e7f;
    font-size: 15px;
    font-family: "Manrope", sans-serif;
    outline: none;
    border: 1px solid #dcdcdc;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06);
    border-radius: 2px;
    margin: 0 0 25px;
    transition: all 0.2s ease-in-out;
}
.order-form select { height: 47px; padding: 0 16px; }
.order-form input:focus, .order-form select:focus, .order-form textarea:focus { border-color: #4783f3; }
.order-form textarea { height: 110px; }
.order-form textarea.order-form-note { height: 80px; }
.order-form .text-danger { display: block; font-size: 14px; margin: -18px 0 18px; }
.order-form .order-form-package { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 14px 20px; margin-bottom: 25px; background: #f6f7fb; border-radius: 2px; }
.order-form .order-form-package-title { font-weight: 600; color: #2b2f3a; }
.order-form .order-form-package-price { color: #7d7e7f; }
.order-form .order-form-total { font-size: 22px; font-weight: 700; color: #1f2c5c; margin: 6px 0 25px; }
.order-form .order-form-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; margin-bottom: 25px; cursor: pointer; }
.order-form .order-form-consent input { margin-top: 4px; flex: 0 0 auto; }
.order-form button { color: #fff; border: 0; padding: 11px 26px; font-size: 16px; background-color: #f9a134; border-radius: 50px; cursor: pointer; transition: opacity 0.2s ease-in-out; }
.order-form button:hover { opacity: 0.86; }
.order-form .order-form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Certificate and training application form (web applications). */
.web-application { margin-top: 40px; padding: 30px; border: 1px solid #e8e8e8; border-radius: 4px; background: #fafbfd; scroll-margin-top: 110px; }
.web-application h2 { margin-top: 0; }
.web-application-lead { color: #7d7e7f; margin-bottom: 20px; }
.web-application-form label { display: block; font-size: 15px; color: #7d7e7f; margin: 0 0 5px; }
.web-application-form input[type="text"],
.web-application-form input[type="tel"],
.web-application-form input[type="email"],
.web-application-form select,
.web-application-form textarea {
    width: 100%;
    padding: 10px 16px;
    background: #fff;
    color: #555;
    font-size: 15px;
    font-family: "Manrope", sans-serif;
    border: 1px solid #dcdcdc;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06);
    border-radius: 2px;
    margin: 0 0 20px;
    outline: none;
    transition: border-color 0.2s ease-in-out;
}
.web-application-form select { height: 46px; }
.web-application-form input:focus,
.web-application-form select:focus,
.web-application-form textarea:focus { border-color: #4783f3; }
.web-application-form .text-danger { display: block; margin: -14px 0 16px; font-size: 13px; }
.web-application-form .web-application-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; margin: 0 0 20px; }
.web-application-form .web-application-consent input { margin-top: 4px; flex: 0 0 auto; }
.web-application-form button.button-one { border: 0; cursor: pointer; }
.web-application-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* CMS pages: banner image with the slogan laid over it at the configured offsets. */
.page-hero-banner { padding: 30px 0 0; }
.page-hero-banner-frame { position: relative; margin: 0; border-radius: 6px; overflow: hidden; }
.page-hero-banner-frame > img { display: block; width: 100%; height: auto; }
.page-hero-banner-slogan { position: absolute; top: 20px; left: 20px; max-width: calc(100% - 40px); display: flex; flex-direction: column; gap: 8px; }
.page-hero-banner-title { font-size: 28px; line-height: 1.25; font-weight: 800; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.page-hero-banner-text { font-size: 16px; line-height: 1.6; color: #fff; white-space: pre-line; }
@media (max-width: 767px) {
    .page-hero-banner-slogan { position: static; width: auto !important; max-width: none; padding: 16px 18px; background: #2e3e77; }
    .page-hero-banner-title { font-size: 20px; text-shadow: none; }
    .page-hero-banner-text { font-size: 14px; }
}

/* CMS pages: related links as image cards and a plain list. */
.page-links-section { padding: 0 0 60px; }
.page-links { clear: both; margin-top: 40px; padding-top: 28px; border-top: 1px solid #ebedf2; }
.page-links .page-links-title { font-size: 20px; color: #2e3e77; margin: 0 0 18px; }
.page-link-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; margin-bottom: 20px; }
.page-link-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #ebedf2; border-radius: 5px; overflow: hidden; color: #2e3e77; transition: box-shadow .25s ease, transform .25s ease; }
.page-link-card:hover { box-shadow: 0 10px 30px rgba(46, 62, 119, .10); transform: translateY(-3px); color: #4783f3; }
.page-links .page-link-card img { width: 100%; max-width: none; height: 130px; object-fit: cover; margin: 0; }
.page-link-card-name { padding: 12px 14px; font-weight: 600; line-height: 1.4; }
.page-link-card .material-icons { font-size: 16px; margin: -6px 14px 12px auto; color: #8f8f8f; }
.page-links ul.page-link-list { list-style: none; padding: 0; margin: 0; }
.page-links ul.page-link-list li { list-style: none; border-bottom: 1px solid #f1f2f6; }
.page-links ul.page-link-list li a { display: flex; align-items: center; gap: 6px; padding: 10px 0; color: #2e3e77; font-weight: 600; }
.page-links ul.page-link-list li a::before { content: "\f105"; font-family: 'FontAwesome'; color: #f9a134; margin-right: 6px; }
.page-links ul.page-link-list li a:hover { color: #4783f3; }
.page-links ul.page-link-list .material-icons { font-size: 15px; color: #8f8f8f; }

/* Online exams: the exam list, the paper, the graded paper and the trainee's page. */
.online-exams-section { padding: 60px 0; }
.online-exams-section .section-subtitle { margin: 36px 0 14px; }
.online-exam-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.online-exam-toolbar .section-lead { margin: 0; }
.online-exam-timer { position: sticky; top: 12px; display: flex; align-items: center; gap: 10px; padding: 10px 18px; background: #f6f7fb; border: 1px solid #e3e6ef; border-radius: 50px; font-size: 15px; color: #2b2f3a; }
.online-exam-timer__value { font-size: 20px; font-variant-numeric: tabular-nums; }
.online-exam-timer--urgent { background: #fdecec; border-color: #f5b5b5; color: #b42318; }
.online-exam-question { padding: 22px 24px; margin-bottom: 18px; background: #fff; border: 1px solid #e3e6ef; border-left: 4px solid #e3e6ef; border-radius: 10px; }
.online-exam-question--correct { border-left-color: #2e9e6b; }
.online-exam-question--wrong { border-left-color: #d94a4a; }
.online-exam-question--blank { border-left-color: #f9a134; }
.online-exam-question--faulty { opacity: 0.75; }
.online-exam-question__body { font-weight: 600; color: #2b2f3a; font-size: 16px; line-height: 1.55; margin: 0 0 12px; }
.online-exam-question__number { color: #4783f3; margin-right: 4px; }
.online-exam-question__image { display: block; max-width: 100%; max-height: 320px; margin: 8px 0 12px; border-radius: 6px; }
.online-exam-question__statements { list-style: none; margin: 0 0 14px; padding: 10px 0 10px 16px; border-left: 2px solid #d9dde8; color: #4b5563; }
.online-exam-question__statements li { margin: 4px 0; }
.online-exam-question__notice { font-size: 14px; color: #b42318; margin: 0 0 10px; }
.online-exam-question__options { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.online-exam-option { border-radius: 8px; }
.online-exam-option label { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 9px 12px; border: 1px solid #eef0f5; border-radius: 8px; cursor: pointer; font-weight: 400; color: #4b5563; transition: background-color 0.15s ease-in-out; }
.online-exam-option label:hover { background: #f6f7fb; }
.online-exam-option label:has(input:checked) { background: #eaf1ff; border-color: #4783f3; color: #2b2f3a; }
.online-exam-option input[type="radio"] { margin-top: 4px; accent-color: #4783f3; }
.online-exam-option__letter { font-weight: 700; color: #2b2f3a; }
.online-exam-question--correct .online-exam-option, .online-exam-question--wrong .online-exam-option, .online-exam-question--blank .online-exam-option, .online-exam-question--faulty .online-exam-option { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; padding: 8px 12px; border: 1px solid #eef0f5; color: #4b5563; }
.online-exam-option--correct { background: #e6f6ee; border-color: #9fd8bd !important; color: #1f6b47 !important; }
.online-exam-option--chosen { background: #fdecec; border-color: #f5b5b5 !important; color: #b42318 !important; }
.online-exam-option__mark { margin-left: auto; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.online-exam-question__explanation { margin: 14px 0 0; padding: 12px 14px; background: #f6f7fb; border-radius: 8px; font-size: 14px; color: #4b5563; line-height: 1.55; }
.online-exam-submit { margin-top: 24px; text-align: center; }
.online-exam-submit .button-one { border: 0; cursor: pointer; }
.online-exam-score { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding: 24px 28px; margin-bottom: 20px; background: #f6f7fb; border: 1px solid #e3e6ef; border-radius: 12px; }
.online-exam-score--passed { background: #e6f6ee; border-color: #9fd8bd; }
.online-exam-score--failed { background: #fdecec; border-color: #f5b5b5; }
.online-exam-score__value { display: flex; flex-direction: column; align-items: center; min-width: 110px; }
.online-exam-score__value strong { font-size: 42px; line-height: 1; color: #2b2f3a; }
.online-exam-score__value span { font-size: 13px; color: #7d7e7f; text-transform: uppercase; letter-spacing: 0.06em; }
.online-exam-score__counts { display: flex; flex-wrap: wrap; gap: 24px; margin: 0; }
.online-exam-score__counts div { display: flex; flex-direction: column; }
.online-exam-score__counts dt { font-size: 13px; color: #7d7e7f; }
.online-exam-score__counts dd { font-size: 22px; font-weight: 700; color: #2b2f3a; margin: 0; }
.online-exam-score__verdict { flex-basis: 100%; margin: 0; color: #2b2f3a; }
.online-exam-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.online-exam-badge { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 50px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.online-exam-badge--passed { background: #e6f6ee; color: #1f6b47; }
.online-exam-badge--failed { background: #fdecec; color: #b42318; }
.student-login { max-width: 460px; margin: 0 auto; }
.student-login-form input[type="password"] { width: 100%; height: 48px; padding: 0 16px; margin-bottom: 18px; border: 1px solid #e3e6ef; border-radius: 6px; font-size: 15px; }
.student-login-form input[type="text"] { margin-bottom: 18px; }
.student-login-remember { display: flex !important; align-items: center; gap: 8px; margin-bottom: 18px !important; }
.student-login-help { margin-top: 20px; font-size: 14px; color: #7d7e7f; }
.student-header { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.student-header .section-subtitle { margin: 0 0 6px; }
.student-groups { margin: 0; color: #7d7e7f; }
.student-header .table-btn { border: 0; cursor: pointer; }
