
:root {
    --page-background: #ffffff;
    --text-color: #26363c;
    --header-background: #ffffff;
    --eo4-green:#287d69;
}

html[data-theme="dark"] {
    --page-background: #17232b;
    --text-color: #f3f5f4;
    --header-background: #1f2e37;
}

body {
    background: var(--page-background);
    color: var(--text-color);
}

.eo4-site-header,
.eo4-main-header {
    background: var(--header-background);
}
/*Header*/

.eo4-site-header{
    position: relative;
    z-index: 1000;
    background: var(--background);
/*    color: #26363c;*/
    color: var(--text);
    font-family: "Source Sans Pro", sans-serif;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}
.eo4-topbar{
    background: #dce9ed;
    min-height: 24px;
    border-top: 4px solid #91c8d6;
}
.eo4-topbar__inner{
    display: flex;
    justify-content: flex-end;
   height: 24px;
   align-items: center;
}
.eo4-topbar__actions{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
    min-height: 24px;
}

.eo4-topbar__button{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
     border: 0;
    background: transparent;
    color: #37484e;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}
.eo4-topbar__button:hover,
.eo4-topbar__button:focus {
    color: #287d69;
    background-color: transparent;
}

.eo4-topbar__button:focus-visible {
    outline: 2px solid #287d69;
    outline-offset: 3px;
}

/*Language selector*/


.eo4-language{
    display: inline-flex;
    align-items: center;
    gap: 1px;
    color: #37484e;
}
.eo4-language__select{
    padding: 1px 0px 1px 1px;
    border: 0;
    background-color: transparent;
    color: #37484e;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}
/*.eo4-language__select:focus {
    outline: 2px solid #287d69;
    outline-offset: 2px;
}*/

.eo4-training-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #37484e;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

/*theme-switcher*/

.eo4-theme-switch {
    display: inline-flex;
    padding: 0;
    cursor: pointer;
}

.eo4-theme-switch__track {
 
    position: relative;
    width: 50px;
    height: 18px;
    border-radius: 26px;
    background: #ecebe7;
    display: flex;
    align-items: center;
}

.eo4-theme-switch__thumb {
  
    background:  #6ea84f;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.18);
    z-index: 1;
    position: absolute;
/*    top: 2px;*/
/*    top: 1px;*/
    left:1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transition: transform .25s ease;
}

.eo4-theme-switch__sun,
.eo4-theme-switch__moon {
    position: absolute;
    z-index: 2;
    font-size: 12px;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.eo4-theme-switch__sun {
    left: 5px;
/* color: #FEBE10;*/
   color: #37484e;
   opacity: 1;
}

.eo4-theme-switch__moon {
    right: 8px;
    /*color: #2277d5;*/
    color: #37484e;
    opacity: 0.35;
}

html[data-theme="dark"] .eo4-theme-switch__thumb {
    transform: translateX(26px);
}

html[data-theme="dark"] .eo4-theme-switch__sun {
    opacity: 0.35;
    color: #37484e;
}

html[data-theme="light"] .eo4-theme-switch__sun {
    opacity: 1;
    color: white;
   
}

html[data-theme="dark"] .eo4-theme-switch__moon {
    opacity: 1;
    color: white;
   
}

/* Main header*/

.eo4-main-header{
   background: #fff; 
}
.eo4-main-header__inner{
/*    min-height: 126px;*/
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
/*    padding-top:5px;
    padding-bottom: 5px;*/
    
}
.eo4-main-header__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.eo4-main-header__logo img {
    display: block;
    width: 200px;
    height: auto;
}

/*.eo4-main-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 23px;
}*/

.eo4-header-action{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: #25363d;
    text-decoration: none;
    font: inherit;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.eo4-header-action i {
    color: #2e953d;
    font-size: 16px;
}

.eo4-header-action:hover,
.eo4-header-action:focus {
    background-color: transparent;
    color: #2e953d;
    text-decoration: none;
}

/* Menu overlay*/

.eo4-side-menu{
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1050;
    width: min(430px, 92vw);
    height: 100vh;
    padding: 30px;
    background: #ffffff;
    box-shadow: -12px 0 35px rgba(0, 0, 0, 0.18);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
.is-open{
    transform: translateX(0); 
}

/*menu overlay*/
.eo4-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(17, 29, 32, 0.42);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.eo4-menu-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}
.eo4-side-menu__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #edf4f1;
    color: #26363c;
    font-size: 20px;
    cursor: pointer;
}

.eo4-side-menu__close:hover,
.eo4-side-menu__close:focus {

/*background: transparent;*/
    color: #287d69;
}


/* menu items */

.eo4-side-menu__navigation .navbar-nav {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.eo4-side-menu__navigation .nav-item {
    width: 100%;
    border-bottom: 1px solid #e3e9e6;
}

.eo4-side-menu__header-menu {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
   list-style: none;
    border-bottom: 1px solid #e3e9e6;
    
}

.eo4-side-menu__navigation .nav-link {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 5px;
    width: 100%;
    padding: 14px 4px;
    color: #26363c;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
    background-color: transparent;
    margin: 10px 0;
}

.eo4-side-menu__navigation .nav-link:hover,
.eo4-side-menu__navigation .nav-link:focus {
    padding-left: 10px;
    color: #37856f;
}

/* Prevent page scrolling while menu is open */

body.eo4-menu-open {
    overflow: hidden;
}

.eo4-topbar__inner,
.eo4-main-header__inner {
    width: calc(100% - 48px);
    max-width: 1200px;
    margin: 0 auto;
}

.eo4-main-header__actions {
    display: flex;
    align-items: center;
    gap: 26px;
}

.eo4-header-menu {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.eo4-header-menu .nav-link {
    white-space: nowrap;
}

.eo4-header-menu .nav-item {
    width: auto;
    margin: 0;
    padding: 0;
}

.eo4-header-menu .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: var(--eo4-text);
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
}

.eo4-header-menu .nav-link:hover,
.eo4-header-menu .nav-link:focus {
    color: var(--eo4-green);
}



.eo4-side-menu__header-menu{
    display: none;
}
.eo4-header-menu a,
.eo4-main-header__actions a {
    background-color: transparent !important;
}

/*Responsive*/


@media (max-width: 900px) {

    .eo4-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .eo4-topbar__inner {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .eo4-topbar__actions {
/*        flex-wrap: wrap;*/
        justify-content: center;
        gap: 10px 14px;
    }
    .eo4-topbar__inner, .eo4-main-header__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

    .eo4-main-header__inner {
        min-height: 94px;
    }

    .eo4-main-header__logo img {
        width: 165px;
    }

    .eo4-main-header__actions {
        gap: 18px;
    }

    .eo4-header-action {
        font-size: 15px;
    }

    .eo4-header-line {
        width: calc(100% - 36px);
    }
    
     .eo4-side-menu__header-menu {
        display: block;
    }
    .eo4-header-menu{
        display: none;
    }
}

/* 
   Mobile
   */

@media (max-width: 680px) {

    
    .eo4-topbar__inner, .eo4-main-header__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
    .eo4-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .eo4-topbar__actions {
        width: 100%;

        justify-content: space-between;
        gap: 8px;
    }

    .eo4-topbar__item span,
    .eo4-training__label {
        display: none;
    }

    .eo4-language__select {
        max-width: 95px;
        font-size: 12px;
    }

    .eo4-main-header__inner {
        min-height: 78px;
        gap: 16px;
    }

    .eo4-main-header__logo img {
        width: 130px;
    }

    .eo4-main-header__actions {
        gap: 13px;
    }

    .eo4-header-action span {
        display: none;
    }

    .eo4-header-action,
    .eo4-header-action i {
        font-size: 20px;
    }

    .eo4-header-line {
        width: calc(100% - 28px);
        height: 8px;
    }

    .eo4-side-menu {
        width: 100%;
        padding: 22px;
    }

    .eo4-side-menu__logo img {
        width: 135px;
    }
    
      .eo4-side-menu__header-menu {
        display: block;
    }
    .eo4-header-menu{
        display: none;
    }
}

/* 
   Very small mobile
  */

@media (max-width: 390px) {
    
    .eo4-topbar__inner, .eo4-main-header__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

    .eo4-main-header__logo img {
        width: 112px;
    }

    .eo4-main-header__actions {
        gap: 10px;
    }

    .eo4-theme-switch__track {
        width: 48px;
    }

    html[data-theme="dark"] .eo4-theme-switch__thumb {
        transform: translateX(22px);
    }
      .eo4-side-menu__header-menu {
        display: block;
    }
    .eo4-header-menu{
        display: none;
    }
    .eo4-topbar__button {
    
    font: inherit;
    font-size: 10px;
   
}
}