/* Max šířka menu, jinak hamburger */
@media (max-width: 1399px){
    .sp-megamenu-wrapper{
        display:none!important;
    }

    #offcanvas-toggler{
        display:flex!important;
    }
}


/* Žluté ikony v horní liště */
#sp-top-bar .fab,
#sp-top-bar .fas,
#sp-top-bar .far {
    color: #FBCA10 !important;
}
/* Bílé texty */
#sp-top-bar .sp-contact-info a,
#sp-top-bar .sp-contact-info li,
#sp-top-bar .sp-contact-info span{
    color:#ffffff;
}

.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span,
.sp-menu-heading{

    font-size:18px !important;
    font-weight:600;
    letter-spacing:0.2px;
    color:#263238;
}

/* Hover a aktivní položka */

.sp-megamenu-parent > li:hover > a,
.sp-megamenu-parent > li:hover > span,
.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li.active > span{
    color:#FBC02D !important;
}

/* Zelený nadpis titulek stránky */
.sp-page-title h2,
.sp-page-title h1,
.sppb-addon-title h1 {
    color: #064b2c !important;
    font-weight: 700;
}

/* Breadcrumbs */
.sp-page-title .breadcrumb > li > a,
.sp-page-title .breadcrumb > li > span,
.sp-page-title .breadcrumb > li + li::before {
    color: #064b2c !important;
}

/* Aktuální položka */
.sp-page-title .breadcrumb > .active,
.sp-page-title .breadcrumb > .active span,
.sp-page-title .breadcrumb > li:last-child {
    color: #064b2c !important;
    font-weight: 700;
}

/* odsazení nadpisu článků */
#sp-main-body {
    padding: 40px 0 !important;
}

/* Žluté odrážky v článcích */
.view-article ul li::marker {
    color: #f7c600;
}

/* Podtržení H1 v článku */
.view-article .page-header h1,
.view-article .article-header h1,
.view-article h1,
.sppb-addon-title h1 {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
}

.view-article .page-header h1::after,
.view-article .article-header h1::after,
.view-article h1::after {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    margin-top: 12px;
    background: #f7c600;
    border-radius: 2px;
}

.sp-page-title-heading::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #f7c600;
    margin-top: 10px;
}

/* Zaoblení obrázku v článku */
.img-school img {
    border-radius: 1rem;
    box-shadow: var(--bs-box-shadow-lg);
}

/*offcanvas menu */
#offcanvas-toggler {
    background: #f7c600;
    border-radius: 8px;
    width: 48px;
    height: 48px;

    display: flex !important;
    align-items: center;
    justify-content: center;

    transition: all .2s ease;
}

#offcanvas-toggler:hover {
    background: #e5b500;
    transform: translateY(-2px);
}

/* Celý panel */
.offcanvas-menu {
    background: #ffffff !important;
}

/* Vnitřek */
.offcanvas-inner {
    background: #ffffff !important;
}

/* Položky menu */
.offcanvas-menu ul li a {
    color: #064b2c !important;
    font-weight: 600;
}

.offcanvas-menu ul li a:hover {
    color: #f7c600 !important;
}

/* Aktivní položka */
.offcanvas-menu .active > a {
    color: #064b2c !important;
    background: #eef6f1 !important;
    border-left: 4px solid #f7c600;
    padding-left: 15px;
}

/* Šipky menu */
.offcanvas-menu svg,
.offcanvas-menu .menu-toggler,
.offcanvas-menu .menu-toggler::before {
    color: #f7c600 !important;
}

/* Křížek zavření offcanvas */
.close-offcanvas .burger-icon span {
    background: #f7c600 !important;
}

/* Pro jistotu i pseudo prvky */
.close-offcanvas .burger-icon:before,
.close-offcanvas .burger-icon:after {
    background: #f7c600 !important;
}

/* =====================================================
   ZÁPATÍ ZŠ DUKELSKÁ
   ===================================================== */

/* Hlavní zápatí */
#sp-bottom {
    background: #00442f !important;
    color: #ffffff;
    padding: 70px 0 40px;
    border-top: 4px solid #f2c300;
}

/* Spodní copyright lišta */
#sp-footer {
    background: #003625 !important;
    color: rgba(255,255,255,.8);
}

/* Oprava Helixu na mobilu */
#sp-bottom {
    background-color: #00442f !important;
}

#sp-footer {
    background-color: #003625 !important;
}

/* Nadpisy modulů */
#sp-bottom .sp-module-title {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

#sp-bottom .sp-module-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    margin-top: 12px;
    background: #f2c300;
}

/* Odkazy */
#sp-bottom a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    transition: all .2s ease;
}

#sp-bottom a:hover {
    color: #f2c300;
}

/* =====================================================
   LOGO
   ===================================================== */

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.d-green {
    color: #ffffff;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}

.d-yellow {
    color: #f2c300;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}

.footer-divider {
    width: 2px;
    height: 36px;
    background: rgba(255,255,255,.3);
    margin: 0 6px;
}

.footer-school {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

/* =====================================================
   RYCHLÉ ODKAZY
   ===================================================== */

#sp-bottom .mod-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

#sp-bottom .mod-menu li {
    margin-bottom: 10px;
}

#sp-bottom .mod-menu li a {
    position: relative;
    padding-left: 18px;
    display: inline-block;
}

#sp-bottom .mod-menu li a::before {
    content: "›";
    position: absolute;
    left: 0;
    top: 0;
    color: #f2c300;
    font-weight: 700;
    font-size: 18px;
}

/* =====================================================
   KONTAKTY
   ===================================================== */

.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
}

.footer-contact .fas,
.footer-contact .far,
.footer-contact .fab {
    color: #f2c300;
    font-size: 2rem;
    width: 42px;
    min-width: 42px;
    text-align: center;
    line-height: 1;
    margin-top: 2px;
}

.footer-contact strong {
    color: #ffffff;
}

.footer-contact div {
    line-height: 1.7;
}

/* =====================================================
   ÚŘEDNÍ HODINY
   ===================================================== */

.footer-hours p {
    margin-bottom: 12px;
}

/* =====================================================
   COPYRIGHT
   ===================================================== */

#sp-footer {
    padding: 20px 0;
}

#sp-footer a {
    color: rgba(255,255,255,.85);
}

#sp-footer a:hover {
    color: #f2c300;
}

/* =====================================================
   MOBIL
   ===================================================== */

@media (max-width: 991px) {

    #sp-bottom {
        padding: 50px 0 20px;
    }

    #sp-bottom .sp-column {
        margin-bottom: 35px;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-contact .fas,
    .footer-contact .far,
    .footer-contact .fab {
        font-size: 1.8rem;
        width: 36px;
        min-width: 36px;
    }
}

@media (max-width: 768px) {

    .footer-school {
        font-size: 18px;
    }

    .d-green,
    .d-yellow {
        font-size: 34px;
    }
}


/* Poradenské pracoviště - záložky */

.sppb-nav-modern > li > a {
    background: #f8f9fa !important;
    color: #0f5132 !important;
    border: 1px solid #dfe6e0 !important;
    font-weight: 600;
}

.sppb-nav-modern > li.active > a,
.sppb-nav-modern > li.active > a:focus,
.sppb-nav-modern > li.active > a:hover {
    background: #0f5132 !important;
    color: #ffffff !important;
    border-color: #0f5132 !important;
}

.sppb-nav-modern > li > a:hover {
    background: #f2c94c !important;
    color: #0f5132 !important;
    border-color: #f2c94c !important;
}

.sppb-nav-modern > li.active > a,
.sppb-nav-modern > li.active > a:focus,
.sppb-nav-modern > li.active > a:hover {
    background: #f2c94c !important;
    color: #0f5132 !important;
    border-color: #f2c94c !important;
}
`