html {
    font-size: 16px;
}

@font-face {
    font-family: "inter_18pt-regular";
    src: url("../fonts/inter_18pt-regular.ttf") format("truetype");
}

@font-face {
    font-family: "rubik-regular";
    src: url("../fonts/rubik-regular.ttf") format("truetype");
}

@font-face {
    font-family: "ubuntu-bold";
    src: url("../fonts/ubuntu-bold.ttf") format("truetype");
}

@font-face {
    font-family: "ubuntu-light";
    src: url("../fonts/ubuntu-light.ttf") format("truetype");
}

@font-face {
    font-family: "ubuntu-medium";
    src: url("../fonts/ubuntu-medium.ttf") format("truetype");
}

@font-face {
    font-family: "ubuntu-regular";
    src: url("../fonts/ubuntu-regular.ttf") format("truetype");
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (max-width: 1423.99px) {
    .hide-on-mobile {
        display: none !important;
    }

    .mbl-w-100 {
        width: 100% !important;
        max-width: 100% !important;
    }

    .w-fc {
        width: fit-content !important;
    }

    .mt-60 {
        margin-top: 60px;
    }

    .display-vertical-on-mobile {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

        .display-vertical-on-mobile.align-start {
            align-items: start !important;
            text-align: start !important;
        }
    .align-start-mobile{
        align-items:start;
    }

    .horizontaly-scrollable-width {
        max-width: 94dvw !important;
    }

    .rp-x {
        padding-left: clamp(16px, 3.33vw, 256px);
        padding-right: clamp(16px, 3.33vw, 256px);
    }
}

.horizontaly-scrollable-width {
    max-width: 54dvw;
}

@media (min-width: 1424px) {
    .hide-on-desktop {
        display: none !important;
    }

    .rp-x {
        padding-left: clamp(16px, 13.33vw, 256px);
        padding-right: clamp(16px, 13.18vw, 256px);
    }

    .rp-l-0-desktop {
        padding-left: 0px !important;
        padding-right: clamp(16px, 13.18vw, 256px) !important;
    }

    .rp-r-0-desktop {
        padding-left: clamp(16px, 13.33vw, 256px) !important;
        padding-right: 0px !important;
    }

    .rp-x-d {
        padding-left: clamp(16px, 13.33vw, 256px);
        padding-right: clamp(16px, 13.18vw, 256px);
    }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html,
body {
    height: 100%;
    margin: 0;
}

main {
    flex: 1;
}

.main-wrapper {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

input:hover {
    outline: none !important;
    box-shadow: none !important;
    border-color: #e0e0e0 !important;
}

input:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #e0e0e0 !important;
}

.form-control:hover {
    outline: none !important;
    box-shadow: none !important;
    border-color: #e0e0e0 !important;
}

.form-control:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #e0e0e0 !important;
}

@media (min-width: 1425px) {
    .container-fluid.home-body {
        display: flex;
        margin: auto;
        padding: 0;
        flex-direction: column;
        min-height: 100vh;
    }

    .custom-header {
        background-color: #003971;
        background-size: cover;
        background-position: bottom;
    }

    .header-slider-wrapper {
        background-image: url("/assets/img/main_background_image.svg");
        background-size: cover;
        padding-bottom: 80px;
        background-position: bottom;
    }

    .custom-header-color {
        background-color: #003971;
    }

    .custom-footer-empty {
        padding: 0;
        width: 100%;
    }

    .custom-footer {
        padding: 0;
        background-image: url("/assets/img/footer_bg.svg");
        background-size: cover;
        background-position: top;
    }
}

.home-shares-button {
    margin-bottom: 10px;
}

@media (min-width: 2048px) {
    .home-shares-button {
        margin-bottom: 24px;
    }
}

@media (max-width: 1424px) {
    .container-fluid.home-body {
        width: 100%;
        display: flex;
        margin: auto;
        padding: 0;
        flex-direction: column;
        min-height: 100vh;
    }

    .custom-header {
        background-image: url("/assets/img/main_background_image.svg");
        background-size: cover;
        background-position: bottom;
    }

    .custom-header-color {
        background-color: #003971;
    }

    .custom-footer-empty {
        padding: 0;
    }

    .header-slider-wrapper {
        background-image: url("/assets/img/main_background_image.svg");
        background-size: cover;
        padding-bottom: 80px;
        background-position: bottom;
    }

    .custom-footer {
        padding: 0;
        background-image: url("/assets/img/footer_bg.svg");
        background-size: cover;
        background-position: right;
    }
}

.error-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
}

.error-wrapper {
    max-width: 600px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.error-icon {
    width: 140px;
    height: 140px;
    object-fit: contain;
}

.error-code {
    width: 100%;
    font-size: 64px;
    line-height: 72px;
    font-family: "ubuntu-bold";
}

.error-name {
    width: 100%;
    font-size: 32px;
    line-height: 40px;
    font-family: "ubuntu-bold";
}

.error-description {
    width: 100%;
    font-size: 16px;
    line-height: 22px;
    font-family: "ubuntu-bold";
}

.error-home-route {
    font-size: 16px;
    line-height: 22px;
    font-family: "ubuntu-medium";
    border-radius: 8px;
    width: fit-content;
    height: fit-content;
    background-color: #003971;
    color: white;
    text-decoration: none;
    display: flex;
    padding: 13px 16px;
    gap: 8px;
    transition: background-color 0.3s ease;
}

    .error-home-route:hover {
        background-color: #00264d;
    }

.content li {
    font-family: "ubuntu-regular";
    background: transparent;
    width: 100%;
    color: #212121;
    line-height: 24px;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    white-space: pre-line;
}

    .content li strong {
        font-family: ubuntu-medium !important;
        font-size: 18px;
        line-height: 24px;
        font-weight: 500 !important;
    }

ul {
    margin-top: 0px;
    margin-bottom: 0px;
    padding-bottom: 0px;
    padding-top: 0px;
}

table {
    font-family: "ubuntu-regular" !important;
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 8px !important;
    width: 100%;
    min-width: 615px;
}

tbody {
    border: 1px solid #e0e0e0;
    border-radius: 8px !important;
    border-width: 1px;
    border-color: transparent;
}

td,
th {
    color: #212121;
    line-height: 24px;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-family: "ubuntu-regular" !important;
    text-decoration: none;
    font-weight: 400;
    text-align: left;
    padding: 16px;
}

th {
    font-family: "ubuntu-medium" !important;
    color: #003971;
    font-size: 17px;
    font-weight: 500;
    word-wrap: normal;
}

tr {
    background-color: #ffffff;
}

thead tr {
    background-color: #f5f5f5;
}

tbody tr:nth-child(even) {
    background-color: #f5f5f5;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

a {
    text-decoration: none !important;
    cursor: pointer !important;
}

p a {
    color: #003971;
    font-family: "ubuntu-bold" !important;
}

h1 {
    font-family: "ubuntu-medium" !important;
    font-size: 28px !important;
    font-weight: 500 !important;
    text-align: start;
    text-decoration: none;
    line-height: 36px !important;
    display: flex;
    letter-spacing: 0;
    color: #004990 !important;
    padding: 0px !important;
    margin: 0px !important;
}

h2 {
    font-family: "ubuntu-medium" !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    text-align: start;
    text-decoration: none;
    line-height: 32px !important;
    display: flex;
    letter-spacing: 0;
    color: #212121 !important;
    padding: 0px !important;
    margin: 0px !important;
}

h3 {
    font-family: "ubuntu-medium" !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    text-align: start;
    text-decoration: none;
    line-height: 26px !important;
    display: flex;
    letter-spacing: 0;
    color: #212121 !important;
    padding: 0px !important;
    margin: 0px !important;
}

h4 {
    font-family: "ubuntu-medium" !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    text-align: start;
    text-decoration: none;
    line-height: 24px !important;
    display: flex;
    letter-spacing: 0;
    color: #212121 !important;
    padding: 0px !important;
    margin: 0px !important;
}

p {
    font-size: 16px;
    font-family: "ubuntu-regular" !important;
    line-height: 22px;
    color: #212121;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none;
}

strong {
    font-weight: 500 !important;
    font-family: "ubuntu-medium" !important;
    font-size: 18px;
    line-height: 24px;
}

.toast-container {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    display: flex;
    width: 80dvw !important;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.toast-box {
    display: flex;
    min-width: 200px;
    width: 100%;
    padding: 16px;
    font-family: 16px;
    border-radius: 8px;
    font-size: 16px;
    height: fit-content;
    gap: 8px;
    line-height: 22px;
    font-family: "ubuntu-regular";
    color: #212121;
}

    .toast-box.success {
        background-color: #f3f7fb;
    }

    .toast-box.error {
        background-color: #fff3f0;
    }

    .toast-box .toast-content {
        display: flex;
    }

    .toast-box img.toast-icon {
        width: 20px;
        height: 20px;
    }

@keyframes slideUp {
    from {
        trasnform: translateY(100px);
        opacity: 0;
    }

    to {
        trasnform: translateY(0);
        opacity: 1;
    }
}

.grid-title {
    justify-content: center;
    width: 100%;
    display: flex;
    font-family: ubuntu-medium;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    margin-bottom: 8px;
}

.grid-subtext {
    justify-content: flex-start;
    width: 100%;
    display: flex;
    font-family: ubuntu-regular;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    margin-top: 8px;
}
