:root {

    --custom-transition: all 0.3s ease;
    --custom-font-family: "Nunito", sans-serif;
    --custom-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    --custom-border-radius: 5px;


    --gray-50: #f6f6f6;
    --gray-100: #e7e7e7;
    --gray-200: #d1d1d1;
    --gray-300: #b0b0b0;
    --gray-400: #888888;
    --gray-500: #6d6d6d;
    --gray-600: #5d5d5d;
    --gray-700: #4f4f4f;
    --gray-800: #454545;
    --gray-900: #3d3d3d;
    --gray-950: #000000;


    /* New Colorscheme */
    --blue-50: #f4f7fb;
    --blue-100: #e9edf5;
    --blue-200: #cedae9;
    --blue-300: #a3bbd6;
    --blue-400: #7197bf;
    --blue-500: #4f79a8;
    --blue-600: #3d618c;
    --blue-700: #324e72;
    --blue-800: #2d445f;
    --blue-900: #293a51;
    --blue-950: #18212f;

    --red-steyr: #ED1C24;

    --red-50: #fef4f2;
    --red-100: #fee7e2;
    --red-200: #ffd2c9;
    --red-300: #fdb3a4;
    --red-400: #fa866f;
    --red-500: #f15f42;
    --red-600: #d93f20;
    --red-700: #bb351a;
    --red-800: #9b2f19;
    --red-900: #802d1c;
    --red-950: #461309;

    /* New Colorscheme */
    --green-50: #f0fae7;
    --green-100: #E6F9CD;
    --green-200: #C8F39D;
    --green-300: #9ADB68;
    --green-400: #6BB83F;
    --green-500: #358911;
    --green-600: #24750C;
    --green-700: #176208;
    --green-800: #0C4F05;
    --green-900: #054103;
    --green-950: #032502;


    --yellow-50: #fff9e5;
    --yellow-100: #fff3cc;
    --yellow-200: #ffe699;
    --yellow-300: #ffdb4d;
    --yellow-400: #ffcc00;
    --yellow-500: #e6b800;
    --yellow-600: #b38c00;
    --yellow-700: #806600;
    --yellow-800: #4d3a00;
    --yellow-900: #332600;
    --yellow-950: #191300;


    /* Overriding Cassiopaia Theme */
    --cassiopeia-color-primary: var(--blue-800);
    --cassiopeia-secondary-color: var(--green-500);
    --cassiopeia-color-hover: var(--red-700);

    --cassiopeia-link-hover-color: var(--blue-500);
    --link-color: var(--blue-700);
    --link-hover-color: var(--red-steyr);

    /*--body-font-family: var(--custom-font-family);*/
    --body-font-size: var();
    --body-font-weight: var();
    --body-line-height: var();
    --body-color: var();
    --body-text-align: var();
    --body-bg: var(--gray-100);


    --cassiopeia-bg-color: var(--blue-300);
    --cassiopeia-text-color: var(--blue-900);

    /*Typography Variables:*/
    --cassiopeia-font-family: var(--custom-font-family);
    --cassiopeia-font-family-headings: var(--custom-font-family) !important;
    --cassiopeia-font-weight-headings: 400 !important;
    --cassiopeia-heading-font-family: var(--custom-font-family);
    /*--cassiopeia-font-size: Base font*/
    /*--cassiopeia-heading-font-size: Font size for*/
    /*Spacing Variables:*/

    /*--cassiopeia-padding: Base padding*/
    /*--cassiopeia-margin: Base margin*/
    /*--cassiopeia-gutter-width: Width of gutters between*/
    /*Layout Variables:*/

    /*--cassiopeia-container-width: Maximum width of the*/
    /*--cassiopeia-sidebar-width: Width of the*/
    /*--cassiopeia-navbar-height: Height of the navigation*/
    /*Border and Radius Variables:*/

    /*--cassiopeia-border-color: Color for*/
    /*--cassiopeia-border-radius: Border radius for rounded*/
}

.container-sidebar-left .sidebar-left {
    background: var(--gray-50) !important;
}

.header {

    background-color: var(--gray-950);
}

.header .nav-item a {
    font-weight: 600 !important;
    font-size: 24px;
}
/*
a {
    transition: var(--custom-transition);
    text-decoration: none !important;
    position: relative;
}
*/
.container-header .mod-menu > li:after {
    display: none !important;
}

.header .nav-item a:hover {
    color: var(--red-400) !important;
}

.container-header .mod-list li.active > a {
    color: var(--red-steyr) !important;

}

.container-header {

    background: rgba(29, 29, 22, 0) !important;
    margin-bottom: 40px !important;
    position: relative;
    /*z-index: 50;*/
}

.container-header .mod-menu {
    flex: none;
}

.container-component {
    border-radius: var(--custom-border-radius);
    background: var(--gray-50) !important;
    padding: 0 20px;
}

.container-sidebar-left .sidebar-left:first-child {
    margin-top: 0 !important;
}

.container-footer {
    background: var(--gray-950) !important;
    color: var(--gray-50) !important;
    padding: 20px 0;
    z-index: 20;
}

.site-grid {
    z-index: 10;
    margin-top: 250px;
    padding-bottom: 100px;
    margin-bottom: auto;
}

.container-below-top {
}

.header_image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

.header_image__inner {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--custom-transition);

    display: flex;
    align-items: center;
    color: var(--gray-50);
    font-weight: 700;
    font-size: 48px;
}

.header_image__inner span {
    padding: 0 20px;
}

.header_image__inner img {
    max-width: 200px;
}


.kfrontend, .navbar, .kfrontend div, .table {
    /*box-shadow: none !important;*/
    /*background: var(--gray-50) !important;*/
    /*background-color: var(--gray-50) !important;*/
}
/*
a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background: var(--link-hover-color);
    bottom: 3px;
    left: 0;
    transition: var(--custom-transition);
}


a:hover::after {
    width: 100%;
}
*/
.nav-item a::after {
    display: none;
}

.scrolled {
    background-color: var(--gray-100) !important;
    box-shadow: var(--custom-box-shadow);

}

.scrolled .nav-item a, .scrolled .nav_forum_name {
    font-size: 16px;
    color: var(--gray-900) !important;
}


.nav_forum {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.nav_forum_logo:after {
    display: none;
}

.nav_forum_logo {

    display: flex;
    align-items: center;
}

.nav_forum_logo svg {
    margin-right: 20px;
    width: 50px;
    height: 50px;
}

.nav_forum_name {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-50);
    padding-right: 60px;
    transition: var(--custom-transition);
}

.text-muted {
    font-size: 12px;
}

.article-info {
    display: flex;
    gap: 30px;
    margin-top: 20px;

}

.article-info .article-info-term {
    display: none;
}

.mod_events_latest {
    margin-bottom: 10px;
}

.calender-spacer {
    content: '';
    display: block;
    height: 12px;
}

.mod_events_latest_date {
    font-size: 14px;
    color: var(--gray-400);
}

.mod-menu__separator  {
    margin-bottom: 8px !important;
}

.mod-menu__sub {
    font-size: 16px;
}

.mod-list li {
    padding: .5em 0 !important;
}
.mod-list li .mod-menu__sub {
    padding: 0;
}

.mod-menu__separator {
    font-size: 14px;
}
.mod-list li .mod-menu__sub a, .mod-menu__separator, .mod-menu .nav-item a  {
    display: flex;
    align-items: center;
    gap: 10px;
}
.mod-list li .mod-menu__sub a span, .mod-menu__separator span, .mod-menu .nav-item a span {
    background-color: var(--blue-700);
    border-radius: 100px;
    height: 36px;
    width: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.color-docs span {
    background-color: var(--green-700) !important;
}
.color-emergency span {
    background-color: var(--red-steyr) !important;
}
.color-truck span {
    background-color: var(--blue-700) !important;
}

.bbcode_code_body, .kattachment-wrapper {
      word-break: break-word;
}

#kunena.layout .kuser-profile-wrap .kuser-profile-left .kuser-links a {
   background: var(--kprimary) !important;
}

#kunena.layout .kuser-profile-wrap .kuser-profile-left .kuser-links a i {
  color: white !important;
}

.fa-check {
  color: var(--ksuccess);
}

@media (max-width: 768px) {
    .site-grid {
        margin-top: 20px;
        /*padding-bottom: 100px;*/
        /*margin-bottom: auto;*/
        grid-gap: 0 !important;
    }

    .header_image__inner {
        display: none
    }

   #kunena.layout .pagination {
     flex-wrap: wrap;
   }
}