html, body {
    font-family: 'Poppins' /*'Titilium Web'*/, sans-serif !important;
}
*, *::before, *::after {
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-thumb {
    background-color: #fbbe2c;
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover,
    ::-webkit-scrollbar-thumb:active {
        background-color: #f7ab1b;
    }

::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}


h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.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;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFB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Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}
/*
    RewistaLogo3D --------------------------------------------------------
*/

.loadingBackground {
}

.background {
    position: absolute;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-flow: column nowrap;
    z-index: -1;
    justify-content: center;
    align-items: center;
    overflow:hidden;
}

.background__rewistaLogo {
    margin-top: 300px;
}

.background__loading_rewistaLogo {
}

.background__container {
    width: 200px;
    height: 200px;
    perspective: 500px;
    margin: 100px;
}

.background__cube {
    position: relative;
    width: 200px;
    height: 200px;
    transform-style: preserve-3d;
    transform: rotateX(-35deg) rotateY(-45deg) rotateZ(0deg) translateX(0px) translateY(0px) translateZ(0px) skewX(0deg) skewY(0deg);
}

.background__face {
    width: 200px;
    height: 200px;
    background: skyblue;
    border: 1px solid white;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    font-size: 2rem;
}


.background__back {
    transform: translateZ(-100px) rotateY(180deg);
    background-color: #2C2C2F;
}

.background__bottom {
    transform: translateY(100px) rotateX(-90deg);
    background-color: #5B5B5B;
}

.background__left {
    transform: translateX(-100px) rotateY(-90deg);
    background-color: #5B5B5B;
}

.background__front {
    transform: translateZ(100px);
    background-color: #2C2C2F;
}

.background__right {
    transform: translateX(100px) rotateY(90deg);
    background-color: #5B5B5B;
}

.background__top {
    transform: translateY(-100px) rotateX(90deg);
    background-color: #5B5B5B;
}

.background__moved {
    transform: translateY(-300px) scale(0.5);
}

.background__small-top {
    background-color: #F7AA1D;
    border: 2px solid white;
}

.background__small-right {
    background-color: #F7AA1D;
    border: 2px solid white;
}

.background__small-front {
    background-color: #F1931F;
    border: 2px solid white;
}

.background__small-back {
    background-color: #F1931F;
    border: 2px solid white;
}

.background__small-left {
    background-color: #F7AA1D;
    border: 2px solid white;
}

.background__small-bottom {
    background-color: #F7AA1D;
    border: 2px solid white;
}

.background__cube {
    position: relative;
    width: 200px;
    height: 200px;
    transform-style: preserve-3d;
    animation: turn 6s ease-in-out infinite;
}

@keyframes turn {
    from {
        transform: scaleX(1) scaleY(1) scaleZ(0.1) rotateX(-35deg) rotateY(-45deg) rotateZ(0deg) translateX(0px) translateY(0px) translateZ(0px) skewX(0deg) skewY(0deg) rotate3d(0, 0, 0, 0);
    }

    to {
        transform: scaleX(1) scaleY(1) scaleZ(0.1) rotateX(-35deg) rotateY(-45deg) rotateZ(0deg) translateX(0px) translateY(0px) translateZ(0px) skewX(0deg) skewY(0deg) rotate3d(1, 1, 0.33, 360deg);
    }
}

/*navbar*/
.navbar {
    background-color: #fff !important;
    border-bottom: 2px solid;
    border-image: linear-gradient( to right, rgb(251, 190, 44), rgb(247, 170, 27), rgb(241, 147, 31), rgb(91, 91, 91) ) 1;
    margin-bottom: 10px;
}

.container-fluid {
    background-color: #fff !important;
}

.wider-menu-button {
    width: auto;
}

/* Mobile Phones */
@media only screen and (max-width: 768px) {
    .collapse:not(.show) {
        display: none !important;
    }
}

/* Tablets */
@media only screen and (min-width: 600px) and (max-width: 1024px) {
    /*SIDE MENU*/
    .collapse:not(.show) {
        display: block !important;
    }

    .wider-menu-button {
        width: 25px;
    }
}

/* Larger screens (PCs) */
@media only screen and (min-width: 1025px) {
    .wider-menu-button {
        width: 50px;
    }

    /*SIDE MENU*/
    .collapse:not(.show) {
        display: block !important;
    }
}




/*
    Login page -----------------------------------------------
*/
.form-group {
    position: relative;
    margin-bottom: 20px;
    min-height: 30px;
}

.auth-input {
    width: 100%;
    padding: 10px;
    font-size: 1.3rem !important;
    border: 1px solid var(--Rewista-firstColor);
    border-radius: 5px;
    background: #fff;
    color: #000;
    transition: border-color 0.3s ease;
}

.auth-combo {
    width: 100% !important;
    padding: 10px !important;
    height: 55px !important;
    font-size: 1.3rem !important;
    border: 1px solid var(--Rewista-firstColor) !important;
    border-radius: 5px !important;
    background: #fff !important;
    color: #000 !important;
    transition: border-color 0.3s ease !important;
}

.floating-label label {
    position: absolute;
    top: 8px;
    left: 10px;
    font-size: 1.6rem;
    color: #333;
    pointer-events: none;
    background: #fff;
    padding: 0 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.floating-label .combo-label {
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 1.6rem;
    color: #333;
    pointer-events: none;
    background: #fff;
    padding: 0 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

    .floating-label .combo-label.float {
        top: -15px;
        left: 10px;
        font-size: 1.1rem;
        color: #333;
    }


/* Przesuwanie labela w górę */
.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label {
    top: -15px;
    left: 5px;
    font-size: 1.1rem;
    color: #333;
}


.password-input-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.6rem;
    padding: 0;
    transition: color 0.3s ease;
}

    .toggle-password:hover {
        color: #FFBF00;
    }

/* Przycisk */
.btn:focus, .btn:active {
    outline: none !important;
    box-shadow: none;
}











.login {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login__input {
    font-size: 1.2rem !important;
    /*box-shadow: 5px 5px rgb(0,0,0,0.2) !important;*/
}

.login__label {
    font-size: 1.2em;
    font-weight: 300;
    margin: var(--small_length);
    margin-left: var(--mid_lenght);
}

.login__item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 10vh;
    margin-bottom: var(--large_length);
}

.login_item_holder {
    width: 100%;
}

.login__item .btn_login {
    width: 25% !important;
    height: 6vh;
    border-radius: 10px;
    background-color: rgb(251,190,44);
    transition: background-color .5s ease-out, transform 0.3s ease;
    font-size: 1.3em;
    color: #fff;
    font-weight: 500;
}

    .login__item .btn_login:hover {
        background-color: rgb(241,147,31) !important;
        color: #fff !important;
        transform: scale(1.05);
    }



.login-card-holder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    max-width: 90%;
    box-sizing: border-box;
    padding-top: 100px;
    min-height: calc(100vh - 100px);
    overflow-y: visible;
}


.login__card {
    padding: 10px 25px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid rgba(241, 147, 31, 0.8);
    box-shadow: 5px 5px 1px rgba(241, 147, 31, 0.8);
    width: 100%;
}

.login__card-login {
    width: 500px;
    height: auto;
    padding: 10px 25px 10px 25px;
    border: 1px solid rgba(241, 147, 31, 0.8);
    box-shadow: 5px 5px 1px rgba(241, 147, 31, 0.8);
    margin: 0 auto;
}

.login-page {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    height: 90vh;
    width: 100%;
}

@media only screen and (max-width: 768px) {
    .login__card, .login__card-login {
        width: 90vw !important;
    }

    .login-card-holder {
        padding-top: 0px;
    }

    .login__item .btn_login {
        width: 80% !important;
    }

    .register-question, register-button {
        display: none !important;
    }

    .register-link {
        display: block;
    }
}

/* Tablets */
@media only screen and (min-width: 600px) and (max-width: 1024px) {
    .login__card, .login__card-login {
        width: 70vw !important;
    }

    .login__item .btn_login {
        width: 60% !important;
    }

    .register-button {
        display: block !important;
    }

    .register-link, register-question {
        display: none;
    }

    .login-card-holder {
        margin-top: 10px;
        height: 100% !important;
        position: relative;
    }
}

/* Larger screens (PCs) */
@media only screen and (min-width: 1025px) {
    .login__card, .login__card-login {
        width: 500px !important;
    }

    .login__item .btn_login {
        width: 40% !important;
    }

    .login-card-holder {
        height: 100vh !important;
    }

    .register-button, register-question {
        display: block !important;
    }

    .register-link {
        display: none;
    }
}


.circle-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
}

.combobox-selected-template {
    display: flex;
    align-items: center;
}

.button-submit-user-credentials {
    width: 50% !important;
    height: 5vh;
    border-radius: 15px !important;
    background-color: rgb(251,190,44) !important;
    transition: .5s ease-out;
    font-size: 1.3em !important;
    color: #fff;
    font-weight: 500;
    transition: transform 0.3s ease, background-color .5s ease-out;
}

    .button-submit-user-credentials:hover {
        background-color: rgb(241,147,31) !important;
        transform: scale(1.05);
    }
/*PC*/
@media only screen and (min-width: 1025px) {
}
/* Tablets */
@media only screen and (min-width: 600px) and (max-width: 1024px) {
}
/*MObile*/
@media only screen and (max-width: 768px) {
    .button-submit-user-credentials {
        width: 90% !important;
    }
}


.back-button {
    color: var(--Rewista-firstColor);
    border-color: var(--Rewista-firstColor);
    background-color: transparent;
    transition: background-color 0.3s, color 0.3s;
    border: 2px solid var(--Rewista-firstColor);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .back-button:hover {
        color: white;
        background-color: var(--Rewista-secondColor);
        border-color: var(--Rewista-secondColor);
        box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    }

.text-danger {
    color: #dc3545;
    margin-top: 5px;
}

.btn-reset-password {
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 25px !important;
    background-color: #fbbe2c !important;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease-in;
}

    .btn-reset-password:hover {
        background-color: #f7ab1b !important;
        box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15) !important;
    }

/*BIGMODAL*/
.big-modal .modal-dialog {
    padding: 1%;
}
.big-modal {
    position: relative;
}
.big-modal.fade {
    opacity: 0;
    transform: scale(0.02);
    transition: opacity 0.5s ease, transform 0.6s ease;
}

    .big-modal.fade.show {
        opacity: 1;
        transform: scale(1);
    }

.big-modal .modal-content {
    border-radius: 15px !important;
    overflow: hidden !important;
}

.big-modal .modal-dialog {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.big-modal .modal-header {
    border-bottom-color: var(--Rewista-thirdColor) !important;
    border-bottom-width: 2px !important;
}
.big-modal .modal-header,
.big-modal .modal-footer {
    border-radius: 15px 15px 0 0 !important;
}

.big-modal .modal-footer {
    border-radius: 0 0 15px 15px !important;
}
    .big-modal  .modal-content-wrapper {
        position: relative;
        height: 100%; 
        display: flex;
        flex-direction: column;
    }

.btn {
    outline: none !important;
    box-shadow: none !important;
}
/*BIG MODAL END*/

/*ConfirmMOdal*/

.big-modal .modal-dialog {
    padding: 1%;
}

.big-modal {
    position: relative;
}

    .big-modal.fade {
        opacity: 0;
        transform: scale(0.02);
        transition: opacity 0.5s ease, transform 0.6s ease;
    }

        .big-modal.fade.show {
            opacity: 1;
            transform: scale(1);
        }

    .big-modal .modal-content {
        border-radius: 15px !important;
        overflow: hidden !important;
    }

    .big-modal .modal-dialog {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    }

    .big-modal .modal-header {
        border-bottom-color: var(--Rewista-thirdColor) !important;
        border-bottom-width: 2px !important;
    }

    .big-modal .modal-header,
    .big-modal .modal-footer {
        border-radius: 15px 15px 0 0 !important;
    }

    .big-modal .modal-footer {
        border-radius: 0 0 15px 15px !important;
    }

    .big-modal .modal-content-wrapper {
        position: relative;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

/*ConfirmMOdal end*/

.confirm-modal .modal-dialog {
    max-width: 360px; 
    margin: auto;
    padding: 0;
}

.confirm-modal {
    position: relative;
    z-index: 1055 !important;
}

    .confirm-modal.fade {
        opacity: 0;
        transform: scale(0.9);
        transition: opacity 0.3s ease, transform 0.4s ease;
    }

        .confirm-modal.fade.show {
            opacity: 1;
            transform: scale(1);
        }

    .confirm-modal .modal-content {
        border-radius: 12px !important;
        overflow: hidden !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        background-color: #fff;
    }

    .confirm-modal .modal-dialog {
        box-shadow: none;
        max-width: 400px;
        margin: auto;
    }

    .confirm-modal .modal-header {
        border-bottom: 2px solid var(--Rewista-thirdColor);
        border-radius: 12px 12px 0 0 !important;
        font-weight: 600;
    }

    .confirm-modal .modal-footer {
        border-radius: 0 0 12px 12px !important;
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .confirm-modal .modal-content-wrapper {
        position: relative;
        display: flex;
        flex-direction: column;
        padding: 24px 20px;
        text-align: center;
    }

    .confirm-modal h5 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .confirm-modal p {
        font-size: 0.95rem;
        color: #444;
        margin-bottom: 20px;
    }



/*CUltureselector*/

.culture-dropdown .dxbl-list-box-render-container {
    --dxbl-list-box-border-width: 1px !important;
    --dxbl-list-box-border-color: #212529 !important;
    --dxbl-list-box-bg: #212529 !important;
    padding: 0 !important;
    outline: none !important;
}

.culture-combobox {
    --dxbl-text-edit-bg: #212529 !important;
    --dxbl-text-edit-border-color: var(--Rewista-firstColor) !important;
    --dxbl-text-edit-border-width: 1px !important;
    border-radius: 6px !important;
    width: auto !important;
    max-width: 160px !important;
}

    .culture-combobox .dxbs-editor-container {
        border-radius: 6px !important;
        background-color: #212529 !important;
    }

    .culture-combobox .dxbs-editor {
        border: 1px solid var(--Rewista-firstColor) !important;
        background-color: #212529 !important;
        color: white !important;
        font-size: 0.9rem !important;
    }

    .culture-combobox .dxbl-dropdown-body {
    }

.combobox-item-template {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 3px 6px !important;
    border-radius: 4px !important;
    transition: background-color 0.2s ease-in-out !important;
}

    .combobox-item-template:hover {
        filter: brightness(1.75);
        cursor: pointer !important;
    }

.item-image {
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

.item-name {
    color: white !important;
    font-size: 0.85rem !important;
    font-weight: 100 !important;
    line-height: 1 !important;
}

.dxbl-accordion .dxbl-accordion-group:not(.dxbl-disabled):not(:disabled):not(.dxbl-accordion-filter):not(.dxbl-active) > .dxbl-accordion-group-header {
    background: var(--Rewista-secondColor) !important;
    border-radius: 20px !important;
    color: white !important;
}
.dxbl-accordion-items-container {
    border-radius: 20px 20px 0px 0px!important;
}
.dxbl-accordion {
    border-radius: 20px !important;
}
.dxbl-accordion .dxbl-accordion-group.dxbl-group {
    border-radius: 20px !important;
}
.dx-accordion-item,
.dx-accordion-item-body,
.dx-accordion-item-content {
    overflow: visible !important;
    position: relative !important;
    z-index: auto !important;
}
.confirm-modal {
    z-index: 1060 !important;
    position: fixed !important;
    top: 0;
    left: 0;
}

.modal-backdrop {
    z-index: 1050 !important;
}
