body {
    background: #f8f8f8;
    overflow-x: hidden;
}

/* ============= Official ============= */
#official {
    width: 100vw;
    height: 30px;
    font-size: 13px;
    position: fixed;
    top: 0;
    z-index: 3000;
    padding: 4px;
}

#official img {
    height: 18px;
    border: 1px solid;
}

/* ============= NAV ============= */
nav section#nav {
    width: 100%;
    height: 70px;
    border-bottom-left-radius: 13px;
    border-bottom-right-radius: 13px;
    margin: 0 auto;
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 3000;
    transform: translateX(-50%);
}

nav section#nav.official {
    top: 30px;
}

@media (min-width: 576px) {
    nav section#nav {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    nav section#nav {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    nav section#nav {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    nav section#nav {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    nav section#nav {
        max-width: 1320px;
    }
}

nav section#nav .brand a {
    text-decoration: none !important;
}

nav section#nav .brand img {
    height: 45px;
    margin-top: 10px;
}

nav section#nav .coat-of-arms {
    width: 70px;
    height: 70px;
    border-radius: 35px;
    /*border: 1px solid;*/
    margin: 20px auto;
    padding: 5px;
}

nav section#nav .coat-of-arms img {
    max-width: 100%;
    max-height: 100%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

nav section#nav .buttons {
    text-align: right;
}

/* ============= MENU BUTTON ============= */
.xmk-menu-button {
    border: 0;
    background: none;
    margin: 17px 3px 0 3px;
    padding: 5px;
    cursor: pointer;
}

.xmk-menu-button .bar {
    display: block;
    width: 30px;
    height: 4px;
}
.xmk-menu-button .bar + .bar {
    margin-top: 7px;
}

.xmk-menu-button.opened .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.xmk-menu-button.opened .bar:nth-child(2) {
    opacity: 0;
}

.xmk-menu-button.opened .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* ============= MAIN MENU ============= */
nav section#main-menu {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    /*left: 0;*/
    left: 100%;
    z-index: 3001;
}

nav section#main-menu > .nav {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    justify-content: end;
}

@media (min-width: 576px) {
    nav section#main-menu > .nav {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    nav section#main-menu > .nav {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    nav section#main-menu > .nav {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    nav section#main-menu > .nav {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    nav section#main-menu > .nav {
        max-width: 1320px;
    }
}

nav section#main-menu > .nav a {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 18px 10px 0 10px;
}

nav section#main-menu > .nav a.lang-xm-enable {
    font-size: 1.25rem;
}

nav section#main-menu > .content {
    height: calc(100vh - 75px);
    overflow-y: auto;
}

nav section#main-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav section#main-menu ul li {
    font-size: 1.1rem;
    margin-bottom: 5px;
    text-align: left;
}

nav section#main-menu .btn svg {
    width: auto;
    height: 1rem;
}

nav section#main-menu .btn:hover svg path,
nav section#main-menu .btn:focus svg path {
    fill: #fff;
}


/* ============= MAIN MENU - overrride bootstrap styles ============= */
nav section#main-menu ul li.dropdown .dropdown-menu {
    border: none !important;
    background: none !important;
    display: block;
    position: static;
}

nav section#main-menu ul li.dropdown .dropdown-toggle::after {
    display: none !important;
}

nav section#main-menu ul li.nav-item a,
nav section#main-menu ul li.dropdown a {
    font-size: 1.1rem;
    color: #333 !important;
    text-decoration: underline;
    margin: 0 0 5px;
    padding: 0;
}

nav section#main-menu ul li.dropdown .dropdown-menu a {
    border: none !important;
    background: none !important;
    font-size: 1.1rem;
    color: #333 !important;
    text-decoration: underline;
    margin: 0 0 5px;
    padding: 0 0 0 20px;
}
/* ============= /MAIN MENU - overrride bootstrap styles ============= */

@keyframes main-menu-open {
    0% {
        left: 100%;
    }
    100% {
        left: 0;
    }
}

@keyframes main-menu-close {
    0% {
        left: 0;
    }
    100% {
        left: 100%;
    }
}

nav section#main-menu.opened {
    left: 0;
    animation: main-menu-open 0.3s ease-in-out;
}

nav section#main-menu.closed {
    left: 100%;
    animation: main-menu-close 0.3s ease-in-out;
}

/* ============= hAImster ============= */
nav section#nav .ai-link img {
    height: 30px;
}

nav section#nav .ai-link.desktop {
    display: none;
}

nav section#nav .ai-link.mobile {
    top: -10px;
    margin-top: 20px !important;
    margin-bottom: 40px !important;
    display: inline-block;
    position: relative;
}

@media (min-width: 768px) {
    nav section#nav .ai-link.desktop {
        display: inline;
    }

    nav section#nav .ai-link.mobile {
        display: none;
    }
}

/* ============= HEADER ============= */
header#main-header {
    border-bottom: 1px solid #ddd;
    margin: 0;
    padding: 120px 0 40px 0;
    background-color: #fff;
    background-image: url('/images/header-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

header#main-header h1 {
    margin-top: 0;
}

/* ============= BREADCRUMB ============= */
#breadcrumb {
    margin: 0 0 50px 0;
    padding: 10px 0;
}

#breadcrumb ol {
    margin-bottom: 0;
}

/* ============= FOOTER ============= */
footer {
    border-top: 5px solid;
    margin-top: 100px;
    padding-top: 75px;
}

/* ============= HEADERS ============= */
h1 {
    margin-top: 1.5rem;
}

/*  ============= CARDS =============  */
.card {
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.3rem;
}

.card .card-header {
    border-bottom: none;
}

/* ============ BREADCRUMB ============ */
.breadcrumb svg {
    width: auto;
    height: 0.9rem;
    margin-top: -3px;
}

.breadcrumb svg path {
    fill: #0063d6;
}

/* ============= RTL ============= */
body[dir="rtl"] nav section#nav .buttons {
    text-align: left !important;
}

/* ============= Web ============= */
.web-logo {
    display: flex;
    gap: 30px;
    align-items: center;
}

.web-xmk img {
    width: auto;
    height: 100px;
}

.web-office {
}

.web-office svg {
    width: auto;
    height: 100px;
}

.web-office svg path {
    fill: #000;
    stroke: none;
}