:root,
::before {
    --gray-color: #6c757d;
    --white-color: #fff;
    --black-color: #000;
    --accent1-color: var(--primary-color);
    --accent2-color: var(--secondary-color);
    --accent3-color: var(--tertiary-color);
    --accent4-color: #E4F2FE;
    --dark-color: #282828;
    --accentgray-color: #ededea;
    /* colors from figma design */
    --light-black-color: #3D3D3D;
    --lighter-gray-color: #DCDCDC;
    --light-gray-color: #9A9A9A;
    --dark-gray-color: #757575;
    --gray-background-color: #F5F5F5;
    --gray-border-color: #C8C8C8;
    /* spacing */
    --unused-title-margin: 20px;
    --bs-breadcrumb-item-padding-x: 5px;
}

/*body {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}*/

.container {
    padding-left: 0;
    margin-left: 0;
    padding-right: 0;
}

.card {
    margin-bottom: 0px;
}

.content-wrapper {
    /*background-color: var(--white-color);*/
    padding-bottom: 1rem;
}

.border-gray {
    border-color: #dee2e6 !important;
}

.hidden {
    display: none;
}

a {
    color: var(--primary-color);
}

a:hover {
    color: var(--secondary-color);
}

.fw-normal {
    font-weight: 400;
}

.fw-sb {
    font-weight: 600;
}

/* Footer START */
/* Footer - Social */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content .link-items {
    flex-wrap: wrap;
}

.footer-content a {
    display: inline-block;
}

.footer-content .footer-items {
    display: flex;
}

.footer-content .social-items {
    display: flex;
    margin-right: 10px;
    align-items: center;
}

    .footer-content .social-item {
        background-color: var(--primary-color);
        color: white;
        border-radius: 5px;
        margin-right: 15px;
        font-size: 1.5rem;
        width: 42px;
        height: 42px;
        line-height: 42px;
        text-align: center;
    }

.footer-content .link-items {
    display: flex;
    align-items: center;
}

    .footer-content .link-item {
        margin-right: 43px;
        font-size: 1.125rem;
        line-height: 22px;
        color: black;
    }


.footer-content a.link-item:hover {
    color: var(--secondary-color);
}

.footer-content a.social-item:hover {
    background-color: var(--secondary-color);
}

/* Footer END */
/* Navigation START */
/* Hide icon when none is selected */
.fa-blank {
    visibility: hidden !important;
}

/* Top navbar icon fix */
.navbar .nav-item .nav-link i {
    padding-top: 5px;
}

/* Navigation dropdown arrow */
.nav-arrow {
    padding: 1px 5px;
}

/* Login navigation */
.nav-login .nav-item:hover .nav-link,
.nav-login .nav-item .nav-link {
    color: var(--white-color);
    background-color: transparent !important;
}

.nav-login .nav-item .nav-link .btn-light {
    color: var(--black-color) !important;
}

/* Navigation END */

/* Header START */


.content-wrapper>.content-header {
    padding: 0 1rem;
    padding-left: 48px;
}

.media {
    display: block;
    position: relative;
    overflow: hidden;
    padding-bottom: 56.25%;
    border-radius: 15px;
}

.media img,
.media iframe,
.media video {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.media iframe {
    border: none
}

.media.-ratio-square {
    padding-bottom: 100%
}

.media.-ratio-21-9 {
    padding-bottom: 42.8571%
}

.media.-ratio-16-9 {
    padding-bottom: 56.25%
}

.media.-ratio-4-3 {
    padding-bottom: 75%
}

.media.-ratio-3-2 {
    padding-bottom: 66.66%
}

.media.-ratio-2-3 {
    padding-bottom: 133.33%
}

/* Header END */

/* Content START */

.content-wrapper>.content {
    padding: 0 1rem;
    padding-left: 48px;
}

.content p.content-lead {
    line-height: 1;
    font-weight: 600;
}

@media print,
screen and (min-width: 64em) {
    .content p.content-lead {
        line-height: 1.2;
    }
}

.content .content-image img {
    max-width: 100%;
    margin-bottom: 1rem;
}

@media print,
screen and (min-width: 64em) {
    .content .content-image img {
        margin-bottom: 1.75rem
    }
}

/* Content END */
/* Sizing issue fix */
body>.wrapper>.content-wrapper {
    height: auto;
}

.wrapper {
    height: 100%;
}

.main-sidebar {
    position: fixed !important;
}

/*Login page*/
.login-page {
    /*height: 80vh;*/
    background-color: #F5F5F5;
}

.login-page .main-footer {
    width: 100%;
    margin-left: 0px;
    position: absolute;
    bottom: 0;
}

.login-box img {
    width: 440px;
}

.main-footer {
    padding: 12px 28.5px;
}

.welcome-page-login-box {
    width: 440px;
    height: 500px;
    background-color: white;
    box-shadow: .1875rem .1875rem 1.5rem rgba(0, 0, 0, .3);
    border-radius: 1.5rem;
    padding-top: 0px;
    position: relative;
    display: grid;
    justify-items: center;
    align-content: space-between;
    overflow: hidden;
}

.welcome-page-login-box img {
    height: 2.1875rem;
    display:block;
}

.welcome-page-login-box .login-box-header {
    /*margin-left: 58px;*/
}

    .welcome-page-login-box .title {
        font-size: 2.938rem;
        line-height: 57px;
        font-weight: bold;
        margin-bottom: 8px;
    }

    .welcome-page-login-box .select-language-text {
        font-size: 1rem;
        line-height: 20px;
        /*margin-bottom: 36px;*/
    }

    .welcome-page-login-box a {
        border-radius: 0.75rem;
        margin: -1em 0 1em;
        font-size: 1.25rem;
        line-height: 24px;
        font-weight: bold;
        padding: 12px;
    }

    .welcome-page-login-box i.loginSubText {
        word-break: break-word;
        display: block;
        line-height: 1.5; /* adjust to match your design */
        height: calc(1.5em * 2); /* exactly 2 lines tall */
        overflow: hidden; /* cut off extra text */
        text-overflow: ellipsis; /* optional: add "..." */
        white-space: normal; /* allow wrapping */
    }

.welcome-page-login-box div.select-language-node:hover {
    cursor: pointer;
}

.welcome-page-login-box .language-container {
    /*margin: 0px 58px;*/
    width: 80%;
}

.welcome-page-login-box .img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    background-color: var(--primary-color);
    width: 100%;
}

.welcome-page-language-setting {
    display: flex;
    margin-right: 1.5em;
    justify-self: right;
    align-self: start;
    align-items: center;
}

.welcome-page-language-list {
    position: absolute;
    right: 1em;
    top: 77px;
}

.welcome-page-big-flag {
    width: 2em !important;
    height: 2em;
    border-radius: 1em;
    margin-left: 1em;
}

.welcome-page-language-arrow {
    margin-left: .5em;
    height: 20px;
}

.welcome-page-language-arrow i {
    transition: transform .2s;
    transform: rotate(90deg);
}

#language-list-button.active .welcome-page-language-arrow i {
    transform: rotate(0);
}

#language-list-popup {
    opacity: 0;
    max-height: 0;
    transition: opacity .2s, max-height .4s;
    overflow: hidden;
}

#language-list-popup.active {
    opacity: 1;
    max-height: 400px;
    overflow: visible;
}

/*END login page*/
/*GRID*/
@media (min-width: 992px) {

    .container,
    .container-sm,
    .container-md,
    .container-lg {
        max-width: 945px;
    }

    .navbar-nav.hamburger-icon {
        display: none;
    }
}

@media (min-width: 1200px) {

    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl {
        max-width: 945px;
    }
}


@media (max-width: 768px) {
    .content-wrapper .content {
        overflow: hidden;
    }
    
    .content-wrapper.home > .content {
        padding-top: 0;
    }

    .content-wrapper > .content-header,
    .content-wrapper > .content {
        padding: 0 1px;
    }

    .login-box,
    .welcome-page-login-box {
        width: 100%;
    }

    .login-box {
        padding: 0 24px;
        /*margin: 24px 0;*/
    }

    .welcome-page-login-box .login-box-header {
        margin-left: 22px;
    }

    .welcome-page-login-box .language-container {
        margin: 0px 22px;
    }
}


/*MEDIA FOOTER*/

@media (max-width: 768px) {

    .footer-content,
    .footer-items {
        flex-direction: column;
    }

    .footer-content {
        align-items: flex-start;
    }

    .footer-content .social-item {
        width: 38px;
        height: 38px;
        line-height: 38px;
    }

    .footer-content .link-items {
        margin-bottom: 40px;
    }

    .footer-content .link-item {
        font-weight: 400;
        border-right: 1px solid var(--theme-footer-col);
        margin-right: 17px;
        padding-right: 17px;
    }

    .footer-content a.link-item:last-of-type {
        border-right: none;
    }

    .footer-content .social-items {
        margin-bottom: 24px;
    }

    .main-footer {
        background-color: var(--theme-footer-bg-col);
        color: var(--theme-footer-col);
    }

    .login-page .main-footer {
        position: relative;
        display: block;

        .footer-branding,
        .social-items {
            display: none;
        }
    }
}

/*.fa, .fas {
    font-family: 'Font Awesome';
    font-weight: 900;
}

.fa, .fas, .far, .fal, .fad, .fab {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}*/

@media(max-width: 768px) {
    .hidden-on-mobile {
        display: none;
    }
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 1;
}

@media(max-width: 768px) {
    .main-header {
        transition: top .2s ease-in-out;
    }
    
    .main-header-hide {
        top: -57px;
    }
}

/* ===== Scrollbars ===== */

/* Firefox */
* {
    scrollbar-width: thin;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 10px;
}

*::-webkit-scrollbar-thumb {
    background-color: lightgray;
    border-radius: 10px;
    border: 3px solid lightgray;
}