html,
body {
    overflow-x: hidden; /* Prevent scroll on narrow devices */
}

body {
    /*padding-top: 56px;*/
    height: 100vh;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    color: rgba(255, 255, 255, .75);
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.tooltip {
    z-index: 10000; /* You can increase this value if 1050 is not sufficient */
}

.text-white-50 {
    color: rgba(255, 255, 255, .5);
}

.rap-color-secondary {
    color: #028593;
}

.rap-color-primary {
    color: #1E294B;
}


.rap-color-tertiary {
    color: #1E294B;
}

.rap-color-accent {
    color: #CAD401;
}

.rap-color-warning {
    color: #FFA500;
}

.rap-color-alert {
    color: #ff4c4c;
}

.rap-bg-primary {
    background-color: #1E294B;
}

.rap-bg-secondary {
    background-color: #028593;
}

.rap-bg-tertiary {
    background-color: #1E294B;
}

.rap-bg-accent {
    background-color: #CAD401;
}

.rap-bg-warning {
    background-color: #FFA500 !important;
}

.rap-bg-alert {
    background-color: #ff4c4c !important;
}

.rap-color-accent-hover:hover {
    color: #CAD401 !important;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.lh-100 {
    line-height: 1;
}

.lh-125 {
    line-height: 1.25;
}

.lh-150 {
    line-height: 1.5;
}

.bottom-img {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 580px;
    z-index: -1;
}

.bg-robot {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.rap-block {
    background-color: #F5F7FA;
    padding: 20px;
    border-radius: 20px;
    justify-content: center;
}

.rap-block-shadow {
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}


.rap-right-radius-0 {
    border-radius: 15px 0 0 15px !important;
}


.rap-btn {
    border-radius: 100px;
    padding: 10px 15px;
    background-color: #028593;
    min-width: fit-content;
    font-size: 20px;
    color: white !important;
    text-decoration: none;
    border: 0;
}

@media (max-width: 767.98px) {
    .rap-btn {
        font-size: 16px;
        padding: 8px 10px;
    }
}


.rap-btn:hover {
    background-color: #cad401 !important;
    text-decoration: none;
}


.rap-under {
    border-bottom: 5px solid #CAD401;
    display: inline-block;
    padding-bottom: 10px;
    /*font-family: sans-serif;*/
}

.state-icon {
    line-height: 100% !important;
    color: #1E294B;
    margin-top: 0;
    padding-top: 0;
    padding-right: 15px;
    font-size: 64px !important;
    border-radius: 15px;
}

.bg-prim {
    background-color: #1E294B;
}

.rap-iter {
    aspect-ratio: 1;
    max-width: 80px;
    font-size: 32px !important;
    border-radius: 15px !important;
}

@media (max-width: 767.98px) {
    .rap-iter {
        max-width: 50px;
        border-radius: 15px !important;
    }
}

.rap-question {
    background-image: url('/static/images/Question.png');
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px;
}

.rap-material {
    background-image: url('/static/images/Material.png');
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px;
}

.r-25 {
    border-radius: 25px;
}

.r-20 {
    border-radius: 20px;
}

.r-15 {
    border-radius: 15px;
}

.rap-radio {
    color: #fff;
    background-color: #ffffff;
    /*border-color: #028593;*/
    border: #028593 2px solid;
}

.rap-radio:checked {
    background: #028593 !important;
}


.rap-table th:first-child {
    border-radius: 15px 0 0 15px;
    padding-left: 15px;

}

.rap-table th:last-child {
    border-radius: 0 15px 15px 0;
    padding-right: 15px;
}

.rap-table th {
    text-align: center;
    vertical-align: middle;
    background-color: #1E294B;
    font-size: 16px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    color: white;
    padding: 10px;
}

.rap-table input[type='checkbox'] {
    border-width: 0;
}

.rap-table td {
    text-align: center;
    vertical-align: middle;
    font-size: 20px;
    padding: 20px 10px 20px 10px;
    border-bottom: 1px solid rgba(30, 41, 75, 0.2);
}

.rap-table-sm td {
    text-align: center;
    vertical-align: middle;
    font-size: 16px;
    padding: 10px 5px 10px 5px;
    border-left: 0;
    border-bottom: 1px solid rgba(30, 41, 75, 0.2);
}

.rap-table-sm tr {
    border: 0 !important;
}

@media (max-width: 767.98px) {
    .rap-table td,
    .rap-table th {
        font-size: 16px !important;
        padding: 5px 2px 5px 2px;
    }
}

.rap-table tr {
    border: 0;
}

.rap-table td, .fixed-table-header, .fixed-table-border {
    border: 0 !important;
}

/*.bootstrap-table {*/
/*    padding: 0;*/
/*    box-shadow: none !important;*/
/*    border: none !important;*/
/*}*/

.rap-table td, .rap-table tr, .rap-table th, .rap-table tbody, .rap-table thead {
    box-shadow: none !important;
    border: none !important;
}

.table-responsive {
    margin-bottom: 10px;
}


@media (max-width: 768px) {
    /* Stylizacja dla urządzeń mobilnych */
    .fixed-bottom-mobile {

        display: block;

        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        background-color: #1E294B;
        color: white !important;

        border-top: 2px solid #1E294B; /* Dodanie delikatnej górnej linii */
    }

    .fixed-bottom-mobile form {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 0 !important;
    }

    .fixed-bottom-mobile a {
        margin: 0 !important;
        color: white !important;
        font-weight: bold;
        display: block;
        padding: 15px;
        text-align: center;
        flex-grow: 1;
        text-decoration: none;
        font-size: 14px;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .fixed-bottom-mobile a:hover {
        background-color: white; /* Zmiana tła na hover */
        color: #1e294b !important; /* Zmiana koloru tekstu na hover */
    }

    .fixed-bottom-mobile a.active {
        text-decoration: none !important;
        background-color: #018392; /* Zmiana tła na hover */
        color: white !important; /* Zmiana koloru tekstu na hover */
    }

    .fixed-bottom-mobile a:first-child {
        border-left: none;
    }

    .fixed-bottom-mobile a:last-child {
        border-right: none;
    }

    .fixed-bottom-mobile a + a {
        border-left: 1px solid white;
    }

    /*.navbar-collapse.show.fixed-bottom-mobile {*/
    /*    display: block; !* Pokaż element, gdy nawigacja jest rozwinięta *!*/
    /*}*/
}


.path {
    font-size: 32px;
    color: white;
    padding-left: 0 !important;
    /*background-size: 70% !important;*/
    background: repeat-y;
    background-position: left center;
    border-radius: 25px;
    opacity: 0.5;
    background-size: 0;
}


.path .path-text {
    background-color: #1E294B;
    border-radius: 0 20px 20px 0;
    padding: .5rem 1.5rem .5rem .5rem;
    font-size: 2.5vh;
    color: white;

}

@media (max-width: 767.98px) {
    .path .path-text {
        font-size: 2.6vw !important;
        padding: 8px 10px;
    }
}


.path:nth-of-type(1) {
    background-color: rgba(2, 133, 147, .2);
}

.path:nth-of-type(2) {
    background-color: rgba(34, 184, 198, .2);
}

.path:nth-of-type(3) {
    background-color: rgba(202, 212, 1, .2);
}


.path img {
    margin-top: -45px;
    margin-bottom: -45px;
}

.rap-event {
    border-radius: 15px;
}


.event-date {
    font-size: 47px;
    font-weight: 800;
    text-shadow: 0 4px 4px rgba(0, 0, 0, .25);
}

.event-day .event-month {
    font-size: 47px;
    font-weight: 800;
}

.event-day {
    font-size: 17px;
}

.event-month {
    font-size: 21px;
    font-weight: 600;
    line-height: 100%;
}

.carousel-dark .carousel-indicators [data-bs-target] {
    background-color: #cad401;
}

.greyscale {
    filter: grayscale(1);
}

.rap-progress {
    height: 25px;
}

#id_message {
    width: 100%;
    padding: 15px 20px 15px 20px;
    gap: 10px;
    border-radius: 15px;
    border: 0;
    background-color: rgba(34, 184, 198, .2);
    color: #028593;

    background-image: url('/static/images/sms.png');
    background-repeat: no-repeat;
    background-position-x: 25px;
    background-position-y: 15px;
    text-indent: 45px;
    outline-color: #cad401 !important;

}


.datepicker {
    /*background-color: #028593 !important;*/
    border-radius: 25px !important;
    /*color: white !important;*/
}

.datepicker-input {
    /*background-color: #028593 !important;*/
    border-radius: 25px !important;
    /*color: white !important;*/
}

.animated-count {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}


.user-menu a:active, .debug-menu a:active {
    background-color: #cad401;
}

body {
    font-size: 16px; /* Domyślny rozmiar */
}

.font-resizable {
    font-size: 1rem;
}

.large-font {
    font-size: 1.25rem;
}

.small-font {
    font-size: 0.875rem;
}
