﻿:root {
    --dark: #003399;
    --v-dark: #0e2e6f;
    --red: #d81e05;
    --light: #ededed;
    --light-border: #e0e0e0;
    --i-light: #f0f0f0;
    --d-light: #e8e8e8;
    --l-light: #f7f5f6;
    --silver: #bebebe;
    --viva: #bc264b;
    --d-viva: #961b3a;
    --gray: #666666;
    --d-gray: #393939;
    --light-gradient: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(223,223,223,0.7) 100%);

    --silver-gradient:  linear-gradient(180deg,rgba(237, 237, 237, 1) 0%, rgba(255, 255, 255, 1) 33%, rgba(255, 255, 255, 1) 100%);

    --poppins: 'Poppins', sans-serif;

    --: yellow;
    --cyan: cyan;

    --01-black: rgba(0, 0, 0, 0.1);
    --02-black: rgba(0, 0, 0, 0.2);
    --03-black: rgba(0, 0, 0, 0.3);
    --04-black: rgba(0, 0, 0, 0.4);
    --05-black: rgba(0, 0, 0, 0.5);
    --06-black: rgba(0, 0, 0, 0.6);
    --07-black: rgba(0, 0, 0, 0.7);
    --08-black: rgba(0, 0, 0, 0.8);
    --09-black: rgba(0, 0, 0, 0.9);
    --01-white: rgba(255, 255, 255, 0.1);
    --02-white: rgba(255, 255, 255, 0.2);
    --03-white: rgba(255, 255, 255, 0.3);
    --04-white: rgba(255, 255, 255, 0.4);
    --05-white: rgba(255, 255, 255, 0.5);
    --06-white: rgba(255, 255, 255, 0.6);
    --07-white: rgba(255, 255, 255, 0.7);
    --08-white: rgba(255, 255, 255, 0.8);
    --09-white: rgba(255, 255, 255, 0.9);

    --box-shadow-box: 0px 25px 35px -30px rgba(0, 0, 0, 0.3);

    --box-shadow-bg: 0px 20px 25px -15px rgba(0, 0, 0, 0.4);

    --text: #000000;
    --text-versus: #FFFFFF;
}

/*
@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins/Poppins-Thin.woff2') format('woff2'),
         url('/fonts/Poppins/Poppins-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins/Poppins-ThinItalic.woff2') format('woff2'),
         url('/fonts/Poppins/Poppins-ThinItalic.woff') format('woff');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins/Poppins-ExtraLight.woff2') format('woff2'),
         url('/fonts/Poppins/Poppins-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins/Poppins-ExtraLightItalic.woff2') format('woff2'),
         url('/fonts/Poppins/Poppins-ExtraLightItalic.woff') format('woff');
    font-weight: 200;
    font-style: italic;
}
*/

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins/Poppins-Light.woff2') format('woff2'),
    url('../fonts/Poppins/Poppins-Light.ttf') format('ttf');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins/Poppins-LightItalic.woff2') format('woff2'),
    url('../fonts/Poppins/Poppins-LightItalic.ttf') format('ttf');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins/Poppins-Regular.woff2') format('woff2'),
    url('../fonts/Poppins/Poppins-Regular.ttf') format('ttf');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins/Poppins-Italic.woff2') format('woff2'),
    url('../fonts/Poppins/Poppins-Italic.ttf') format('ttf');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}


@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins/Poppins-Bold.woff2') format('woff2'),
    url('../fonts/Poppins/Poppins-Bold.ttf') format('ttf');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins/Poppins-Black.woff2') format('woff2'),
    url('../fonts/Poppins/Poppins-Black.ttf') format('ttf');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: var(--poppins);
    font-size: 1rem;
    margin-top: 0;
    padding-top: 0;
    overflow-x: hidden;
    min-height: 100vh;
}
a {
    color: var(--viva);
}
a:hover {
    color: var(--d-viva);
}

.navbar-witkac {
    background-color: white !important;
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 10px 10px 10px lab(0 0 0 / 0.05)
}
@media (min-width: 1399px) {
    .navbar-witkac {
        box-shadow: none;
    }
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.main {
    flex: 1 1 auto;
    /*    padding-top: calc(var(--header-height) + 20px);*/
    /* overflow: auto; */
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 16px;
}



.navbar-brand img {
    max-height: 38px;
    max-width: 70%;
}

@media (min-width: 1399px) {
    .shadow-container {
        position: fixed;
        width: 100%;
        height: 60px;
        background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0) 70%), linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 15%, rgba(255, 255, 255, 0) 85%, rgba(255, 255, 255, 1) 100%);
        background-blend-mode: lighten;
        margin: auto;
        /*        margin-top: 50px;*/
        top: 50px;
        z-index: 0;
    }
}
header {
    padding-bottom: 10px
}
.small, small {
    font-size: 0.875rem;
}
.small.czy {
    line-height: 1.3
}
.navbar-witkac .nav-link {
    font-size: 1rem;
    padding-left: 0.8125rem !important;
    padding-right: 0.8125rem !important;
    color: black;
}

@media (min-width: 1200px) and (max-width: 1230px) {
    .navbar-witkac .nav-link {
        font-size:12.5px;
    }
}
@media (min-width: 1231px) and (max-width: 1270px) {
    .navbar-witkac .nav-link {
        font-size:13px;
    }
}
@media (min-width: 1271px) and (max-width: 1322px) {
    .navbar-witkac .nav-link {
        font-size:14px;
    }
}
@media (min-width: 1323px) and (max-width: 1370px) {
    .navbar-witkac .nav-link {
        font-size: 15px;
    }
}


.navbar-witkac .nav-link:hover {
    color: var(--viva);
}
.text-viva {
    color: var(--viva) !important;
}

/* Reset stylów Bootstrap dla .navbar-toggler */
.custom-toggler {
    border: none;
    padding: 0;
}

/* Kontener kresek */
.toggler-icon {
    display: inline-block;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
}

.toggler-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: #000;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transition: all 0.3s ease-in-out;
}

.toggler-icon span:nth-child(1) {
    top: 0;
}
.toggler-icon span:nth-child(2) {
    top: 9px;
}
.toggler-icon span:nth-child(3) {
    top: 18px;
}

/* Po rozwinięciu menu (Bootstrap ustawia aria-expanded="true") */
.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(2) {
    opacity: 0;
}
.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
}



.btn-eye {
    border: 1px solid var(--silver) !important;
    border-radius: 0 !important;
    background-color: #eaeaea;
    font-size: 1.0rem;
    color: var(--gray);
    --bs-btn-padding-x: 0.3125rem;
    --bs-btn-padding-y: 0.0625rem;
}
.btn-eye:hover {
    background-color: black;
    color: yellow;
    border-color: black !important;

}

.main-container {
    margin-top: 140px;
}



.h1, h1 {
    font-weight: 700;
    font-size: 1.8125rem;
}

.form-control {
    color: var(--d-gray) !important;
}

.form-signin .login,
.form-signin .password,
.form-contact .form-control {
    /*    background-color: var(--light);*/
    padding: 1.5rem;
    border: none;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.starter .form-signin .login,
.starter  .form-signin .password,
.starter .form-contact .form-control {
    background-color: var(--light);
}


.form-signin .has-error .login,
.form-signin .password {
    margin-bottom: 0.75rem;
}
.form-signin .forgot {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}
.form-signin .forgot a {
    color: var(--gray)
}
.form-signin .btn-primary,
.form-contact .btn-primary,
.btn-viva {
    background-color: var(--viva) !important;
    font-size: 1rem;
    font-weight: 600;
    padding:0.6875rem 1rem;
    border: none !important;
    border-radius: 0.5rem;
    color: white !important
}
.form-signin .btn-primary.focus,
.form-signin .btn-primary:focus,
.form-signin .btn-primary:hover,
.form-contact .btn-primary:hover,
.form-contact .btn-primary:focus,
.btn-viva:hover,
.btn-viva:focus {
    background-color: var(--d-viva) !important;
}

.form-signin .checkbox {
    font-size: 0.875rem;
    margin-top: 1.25rem;
}
.twofactor-form .checkbox {
    font-size: 0.875rem;
    margin-top: 1.25rem;
}

/*========= Ukrywamy natywny wygląd checkboxa */
.checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none; /* żeby kliknięcia przechodziły do label */
}

.checkbox label {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    user-select: none;
    line-height: 20px;
}

/* kwadracik */
.checkbox label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 2px solid var(--viva);
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
    transition: background 0.2s, border-color 0.2s;
}

/* fajka */
.checkbox label::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s;
}

/* stan checked */
.checkbox input[type="checkbox"]:checked + label::before {
    background: var(--viva);
    border-color: var(--viva);
}

.checkbox input[type="checkbox"]:checked + label::after {
    opacity: 1;
}
/*====*/


.hr {
    height: 1px;
    width: 100%;
    background: #ababab;
    background: radial-gradient(circle,rgba(171, 171, 171, 1) 0%, rgba(255, 255, 255, 1) 100%);
    margin-top: 1rem;
    margin-bottom: 2rem;
    opacity: 0.7
}

.form-signin .btn-secondary {
    background-color: var(--gray);
    font-size: 1rem;
    font-weight: 600;
    padding:0.6875rem 1rem;
    border: none !important;
    border-radius: 0.5rem;
}
.form-signin .btn-secondary.focus,
.form-signin .btn-secondary:focus,
.form-signin .btn-secondary:hover {
    background-color: var(--d-gray) !important;
}
.btn-outline-primary {
    border-color: var(--viva);
    color: var(--viva);
    font-size: 1rem;
    font-weight: 600;
    padding:0.6875rem 1rem;
    border-width:2px;
    border-radius: 0.5rem;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color:var(--viva) !important;
    border-color: var(--viva) !important;
}


.form-control:focus,
.btn:focus,.btn:active
{

    outline: none; /* usuwa domyślny niebieski obrys */
    border-color: #555; /* grafitowy kolor ramki */
    box-shadow: 0 0 0 2px var(--viva) !important; /* grafitowy cień wokół */
}

.form-control:hover
{
    outline: none; /* usuwa domyślny niebieski obrys */
    border-color: #555; /* grafitowy kolor ramki */
    box-shadow: 0 0 0 2px var(--viva) !important; /* grafitowy cień wokół */
}


@media (min-width: 992px) {
    .featured-section {
        padding-left: 100px;
    }

}




.featured-section h2 {
    font-size: 1.125rem;
    line-height: 1.8125rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}
@media (min-width: 768px) {
    .featured-section h2 {
        margin-top: -0.5rem
    }
}

.featured-box {
    background-color: var(--light);
    padding: 1rem;
    border-radius: 1rem;
    font-size: 0.9375rem;
    border: 2px solid var(--d-light);
    transition: 0.1s ease;
    color: black;
    margin-bottom: 1rem;
    box-shadow:var(--box-shadow-box);
}
@media (min-width: 992px) {
    .featured-box {
        margin-bottom: 0
    }
}



.featured-box:hover {
    border: 2px solid var(--viva);
    color: black;
}
.featured-box:hover * {
}


.featured-box a {
    color: var(--viva);
}
.featured-box img {
    padding: 0.5rem 1rem 1rem 0.5rem;
    height: 62px;
}
.featured-box img.small {
    padding: 0 1rem 1rem 0.5rem;
    height: 45px;
}
.other-bg {
    background-color: var(--light);
    padding: 2rem;
    border-radius: 1rem;
    font-size: 0.9375rem;
    box-shadow:var(--box-shadow-box);
}
.other-section {
    display: flex;
    flex-direction: column;
}
.other-section h3 {
    font-size: 1.4375rem;
    font-weight: bold;
}

/*
.height-right {
    display: flex;
    height: 100%;
    flex-direction: column;
    flex: 1;
}
.tiles-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    height: 100%
}

.tiles-vertical .tiles {
    flex: 1;
    margin-top: auto;
    margin-bottom: auto;
}
*/

@media (min-width: 992px) {
    .tiles {
        margin-top: 40px;
    }
}






.footer {
    min-height: 260px;
    width: 100%;
    position: relative;
    margin-top: 3rem;
    /*
        position: fixed;
        bottom: 0;
    */
}
@media (min-width: 1200px) {
    .footer {
        width:auto;
        margin: 3rem 1rem 1rem 1rem;
        border-radius: 0.5rem;
        overflow: hidden
    }
}


.black-gradient {
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.8));
    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
}
.photo-info,
.copyright {
    position: absolute;
    color: black;
    font-size: 0.8125rem;
    left: 20px;
    text-align: left;
}
.photo-info {
    bottom: 100px;
}
.copyright {
    bottom: 10px;
}

.photo-info {
    bottom: 50px;
    left: 20px;
    right: 20px;
    text-align: left;
}
.photo-info span {
    font-size: 0.9375rem;
}

@media (min-width: 992px) {
    .photo-info {
        bottom: 20px;

        right: 20px;
        text-align: right;
    }
    .copyright {
        bottom: 20px;
        left: 20px;
        right: auto;
    }
}

.copyright a {
    color: black;
    padding: 0.5rem;
    position: relative;
    z-index: 10;
}



.tiles {
    display: grid;
    grid-gap: 1.1875rem;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 992px) {
    .tiles {
        grid-template-columns: repeat(5, 1fr);
    }
    .tiles.czy-tiles {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .tiles.czy-tiles {
        grid-template-columns: repeat(4, 1fr);
    }
}

.czy-tiles .tiles {
    grid-gap: 1.0rem;
}

.tile {
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9375rem;
    aspect-ratio: 1 / 1;
    color: black;
    border-radius: 0.625rem;
    flex-direction: column;
    text-decoration: none;
    position: relative
}

/* jeśli trzeba wspierać stare przeglądarki – zamiast aspect-ratio: */
.tile::before {
    content: "";
    display: block;
    padding-top: 100%; /* wysokość = szerokość */
}
.tile > * {
    position: absolute; /* jeśli używasz pseudo-elementu */
}

.tile:hover {
    color: var(--viva);
}

.tile-inner {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    transition: background 0.2s ease;
    border-radius: 0.625rem;
    box-shadow: 0px 0px 6px rgba(0,0,0,0.1);
    border: 2px solid transparent;
}

.czy-tiles  .tile-inner {
    box-shadow: 0px 0px 2px rgba(0,0,0,0.1);
}
.tile-inner:hover,
.active .tile-inner {
    border: 2px solid var(--viva);
    background-color: var(--l-light);
}


.active .tile-inner::before {
    display: block;
    padding: 3px 20px 3px 10px;
    /*    background-color: var(--viva);*/
    color: white;
    content: 'tu jesteś';
    position: absolute;
    top: 0;
    left: -2px;
    border-radius: 0.4rem 0 0.4rem 0;
    font-size: 0.75rem;
    background-image: url(../../Content/img/login-layout/ici.svg);
    /*    background-position: bottom right;*/
    background-position: bottom right;
}


.czy-tiles a .tile-iner-hover {
    /*
        display: none;
        transition: 1s ease;
    */
}
.czy-tiles a .tile-iner-hover {
    /*    background-color: white;*/
    transition: 0.5s ease !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    transition: background 0.2s ease;
    border-radius: 0.625rem;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--viva);
    padding: 1rem;
    text-align: center;
    opacity: 0
}
.czy-tiles a:hover .tile-iner-hover {
    opacity: 1 !important;
    transition: 1s ease;
}

.tile-logo {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.czy-tiles .tile-logo {
    flex: 1.5;
}

.tile-logo img {
    max-width: 60%;
    max-height: 40%;
}

@media (min-width: 1200px) {
    .tile-logo img {
        max-width: 60%;
        max-height: 40%;
    }
}



.tile-name {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1rem;
    line-height: 1.125rem;
    max-height: calc(1.125rem * 3)
}

.czy-tiles a .tile-iner-hover .tile-name-hover {
    /*    font-size: 1rem;*/
    font-size: 0.8125rem;
    max-height: auto !important;
    -webkit-line-clamp: 10;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    text-align: center;
    align-items: center !important;
    opacity: 0;
    line-height: 1.25rem !important;
    overflow-x: hidden;
}

.czy-tiles a:hover .tile-iner-hover .tile-name-hover {
    opacity: 1
}

.czy-tiles .tile-name {
    flex: 1.5;
    font-size: 0.8125rem;
    line-height: 1;
    max-height: calc(1em * 3);
    margin-bottom: 0.5em;
}

.czy-tiles a:hover .tile-name,
.czy-tiles a:hover .tile-logo
{
    opacity: 0;
}



@media (max-height: 768px) and (orientation: landscape) {
    .main-container {
        margin-top: 100px;
    }

    .form-control {
        padding: 0 16px !important;
    }
    .featured-section {
        padding-left: 50px;
    }
    .pt-5, .py-5 {
        padding-top: 1.75rem !important
    }
    .mb-5 {
        margin-bottom: 1.75rem !important
    }

    .featured-box img {
        height: 50px !important;
        padding: 0.5rem 0.5rem 1rem 0rem !important;
    }

    .form-signin .btn-primary,
    .form-signin .btn-secondary {
        padding: 0.625rem 1rem !important;
    }
}
@media (min-width: 368px) and (max-height: 768px) {

    .tiles {
        grid-template-columns: repeat(6, 1fr);
    }

}
@media (min-width: 368px) and (max-height: 768px) and (orientation: landscape) {

    .tiles {
        grid-template-columns: repeat(3, 1fr);
    }

}
@media (max-width: 991px) {
    .tiles {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 576px) {
    .tiles {
        grid-template-columns: repeat(2, 1fr);
    }
}

article, .article {
    padding: 1rem;
}
@media (min-width: 992px) {
    article p,
    article li,
    .article li,
    .article p {
        font-size: 1rem;
        text-align: justify;
    }
}


article h2,
.article h2 {
    font-size: 1.4375rem;
    font-weight: 400;
    margin-top: 2rem;
}
article h5,
.article h5 {
    font-weight: 400;
    margin-top: 2rem;
}


article a,
.article a {
    color: var(--viva) !important;
}

article a,
.article a,
.modal-body {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.tab-content {
    background-color: var(--light);
    border-radius: 0 1rem 1rem 1rem ;
    box-shadow: var(--box-shadow-box);

}
.tab-content h4 {
    font-size: 1.1875rem;
    font-weight: 600;
    color: var(--viva);
}
.tab-content .form-control {
    /*    background-color: var(--light);*/
    background-color: white;
    padding: 1.5rem;
    border: none;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}
.nav-tabs {
    border: none;
}
.nav-tabs .nav-item .nav-link {
    border-radius: 0.5rem 0.5rem 0 0;
    /*    background-color: var(--light);*/
    background-color: var(--d-light);
    border: 1px solid white;
    border-bottom: none;
    transition: 0.1s ease;
    box-shadow: inset 0 -4px 6px -4px rgba(0, 0, 0, 0.2);
}
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    background-color: var(--light);
    border: none;
    font-weight: 600;
    color: var(--viva);
    padding-left: 2rem;
    padding-right: 2rem;
    box-shadow: none  !important
}
.text-acount {
    font-size: 1.3125rem;
    line-height: 2.25rem;
    padding: 5rem 1rem;
    text-align: center;
}
.form-floating:has(.form-select),
.form-select {
    /*    background-color: var(--light);*/
    background-color: white;
    padding: 1px 6px !important;
    border-radius: 0.5rem;
    border: 2px solid transparent;
    width: 100% !important;
}
.form-floating:has(.form-select:hover) {
    transition: border-color 0.2s;
    border: 2px solid var(--viva) !important;
}

.form-select {
    /*    background-color: var(--light);*/
    background-color: white;
    border: none !important;
    padding: 10px 0;
    width: 100% !important;
    color: var(--d-gray) !important

}
.form-select option {
    color: var(--d-gray)
}

body.high-contrast .form-select option {
    color: yellow !important;
}

.form-floating:has(select:disabled),
.form-floating:has(select:disabled):hover {
    border-color: var(--light-border) !important;
}

.form-floating:has(select:disabled),
.form-floating select:disabled {
    cursor: not-allowed;
}

.form-floating:has(select:disabled),
body.high-contrast .form-floating:has(select:disabled),
select:disabled,
body.high-contrast select:disabled {
    background-color: var(--i-light) !important;
}

body.high-contrast .form-floating:has(select:disabled) .form-select,
body.high-contrast .form-floating:has(select:disabled) .form-select-floating-label {
    color: var(--09-black) !important;
}

.cpk .logo img,
.cpk-logo img {
    display: flex;
    _height: auto;
    max-height: 80px;
    max-width: 50%;
}
.cpk .logo {
    display: none !important
}
@media (min-width: 768px) {
    .cpk .logo {
        display: flex !important
    }
}
.wtkc-box {
    border: 2px solid var(--gray);
    text-decoration: none !important;
    background-color: white;
    margin-bottom: 50px;
    transition: 0.2s ease;
}
.wtkc-box  {
    text-decoration: none !important
}
.wtkc-box:hover {
    border: 2px solid var(--viva) !important;
    background-color: var(--l-light);
}
@media (max-width: 991px) {
    .btn-loguj {
        margin-bottom: 2.5rem
    }
}
.map {
    margin: 1rem 1rem -2rem 1rem;
    box-shadow: var(--box-shadow-box);
    border-radius: 1rem;
    overflow: hidden;
}
h1.witamy {
    margin-bottom: 3.5rem !important
}
@media (max-width: 991px) {
    .px-0-small {
        padding-left: 0;
        padding-right: 0;
    }
    .px-4-small {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

}
.obraz {
    position: fixed;
    z-index: -2;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background-image: url(../../Content/img/login-layout/obraz.jpg);
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position:bottom;
    display: none;

}
.white-gradient {
    background-color: rgba(255, 255, 255, 0.6);
    position: fixed;
    z-index: -1;
    left: 0;
    right: 0;
    bottom: 25vh;
    top: 0;
    background: #FFFFFF;
    background: linear-gradient(180deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 70%, rgba(255, 255, 255, 0) 100%);
    __display: none;
}


.footer, .black-gradient {
    background-image: none !important;
}

@media (min-width: 1200px) {
    /*
        .obraz {
            display: block;
        }
    */
}

body {
    background-image: url(../../Content/img/login-layout/tlo.jpg);
    background-size: cover;
    background-attachment: fixed;
}


body.high-contrast {
    --viva: #66FFFF;
    --d-viva: #ff0000;
    --light: #ffffff;
    --d-light: #ffffff;
    --l-light: #ffffff;
    --text: yellow;
    --text-versus: black;
}

.info-szkolenia {
    background-color: var(--viva);
    text-align: center;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    border-radius: 1.5rem;
    font-size: 1.4rem;
    font-weight: 300;
}
.info-szkolenia,
.info-szkolenia a {
    color: white;
}
.info-szkolenia strong {
    font-weight: 600
}
body.high-contrast .info-szkolenia a,
body.high-contrast .info-szkolenia {
    color: black;
}

.alert {
    border: 2px solid var(--viva);
    border-radius: 1rem;
    color:  var(--viva);
    margin-bottom: 2rem;
    margin-top: 0;
}
.alert.account-inactive {
    text-align: center;
}


.alert a {
    font-weight: bold;
    color: var(--text) !important;

}
.alert a.browser-link {
    color: var(--viva) !important
}

.alert a.btn-activate {
    font-weight: normal !important;
    padding: 10px;
    border-radius: 0.5rem;
    /*    border: 2px solid var(--text);*/
    text-decoration: none !important;
    background-color: var(--light);
    color: var(--viva) !important;
    transition: 0.3s ease;
    display: block;
}
.alert a.btn-activate:hover {
    border-color: var(--viva);
    background-color: var(--viva);
    color: white !important;
}
body.high-contrast .alert a.btn-activate {
    color: black !important;
}


body.high-contrast {
    background-image: none !important;
    background-color: black !important;
}


body.high-contrast input[type="checkbox"] {
    accent-color: yellow;
}
body.high-contrast .checkbox label::before {
    background-color: black !important
}
body.high-contrast .checkbox label::after {

}



.other-bg{
    background: var(--silver-gradient) !important;
}
.other-bg-contact,
.other-bg-start {
    background: var(--light) !important;
}

/* Wysoki kontrast */
body.high-contrast {
    background-color: black;
    color: yellow;
}

body.high-contrast a {
    color: cyan;
}

body.high-contrast .btn {
    background-color: cyan !important;
    color: black !important;
}
body.high-contrast .white-gradient,
body.high-contrast .shadow-container
{
    display: none !important;
}
body.high-contrast .navbar-witkac {
    background-color: black !important;
}

body.high-contrast .navbar-witkac * {
    color: cyan !important;
}
body.high-contrast .navbar-witkac *:hover {
    color: yellow !important;

}
body.high-contrast .navbar-witkac .btn-eye i {
    color: black !important;
}

body.high-contrast .btn-eye span {
    color: black !important;
}

body.high-contrast .toggler-icon span {
    background-color: yellow !important;
}

body.high-contrast .navbar-brand {
    background-color: white !important;
    text-align: center !important;
}
body.high-contrast .other-bg,
body.high-contrast .tab-content,
body.high-contrast .nav-tabs .nav-item.show .nav-link,
body.high-contrast .nav-tabs .nav-link.active,
body.high-contrast .nav-tabs .nav-item .nav-link,
body.high-contrast .nav-tabs .nav-item.show .nav-link,
body.high-contrast .nav-tabs .nav-link.active

{
    background-color: black !important;
    background-image: none !important;
}

body.high-contrast .tab-content {
    border: 1px solid white;
    border-radius: 0 0 1rem 1rem
}

body.high-contrast .nav-tabs .nav-item.show .nav-link,
body.high-contrast .nav-tabs .nav-link.active {
    color: cyan !important;
    background-color: black !important;
    border: 1px solid white !important;
    border-bottom: 1px solid black !important;
}
body.high-contrast .nav-tabs {
    border-bottom: 1px solid silver !important;
}

body.high-contrast .starter .form-signin .login,
body.high-contrast .starter .form-signin .password,
body.high-contrast .starter .form-contact .form-control {
    background-color: black !important;
    color: cyan !important
}

body.high-contrast .tiles a {
    color: yellow !important;
    background-color: black;
}
body.high-contrast .tiles a img {
    background-color: white;
    padding: 5px;
}
body.high-contrast  .tile-inner {
    border: 2px solid var(--gray) !important;
}

body.high-contrast  .tile-inner:hover,
body.high-contrast .active .tile-inner,
body.high-contrast .czy-tiles a .tile-iner-hover {
    border: 2px solid var(--viva) !important;
    background-color: black !important;
    color: yellow !important;
}

body.high-contrast .active .tile-inner::before {
    background-image: none !important;
    background-color: var(--viva) !important;
    color: black !important

}

body.high-contrast .starter .form-signin .login,
body.high-contrast .starter .form-signin .password,
body.high-contrast .starter .form-contact .form-control {
    border: 1px solid yellow
}

body.high-contrast .tab-content .form-control,

body.high-contrast .form-signin .login,
body.high-contrast .form-signin .password,
body.high-contrast .form-floating:has(.form-select),
body.high-contrast .form-contact .form-control
{
    background-color: black !important;
    color: yellow !important;
    border: 1px solid yellow !important
}

body.high-contrast .form-floating.has-error .form-select {
    background-color: black !important;
}

body.high-contrast .form-select {
    background-color: black !important;
    color: yellow !important;
}
body.high-contrast .form-select select {
    background-color: black !important;
    color: yellow !important;
}
body.high-contrast .form-select select option {
    color: yellow !important
}

body.high-contrast .form-floating label {
    color: yellow !important
}

body.high-contrast .photo-info,
body.high-contrast .copyright {
    color: cyan
}

body.high-contrast .featured-box {
    background-color: black;
    color: yellow
}
body.high-contrast  .form-signin .btn-primary,
body.high-contrast  .form-contact .btn-primary,
body.high-contrast .btn-viva {
    color: black !important
}
body.high-contrast .form-signin .forgot a {
    color: yellow !important
}

body.high-contrast .form-signin .btn-primary.focus,
body.high-contrast .form-signin .btn-primary:focus,
body.high-contrast .form-signin .btn-primary:hover,
body.high-contrast .form-contact .btn-primary:hover,
body.high-contrast .form-contact .btn-primary:focus,
body.high-contrast .btn-viva:hover,
body.high-contrast .btn-viva:focus,
body.high-contrast .form-signin .btn-secondary:focus,
body.high-contrast .form-signin .btn-secondary:hover


{
    background-color: yellow !important;
    color: black !important
}


/* Ogólne ustawienia kontenera */
.twofactor-container {

}

/* Tytuł */
.twofactor-title,
.reset-title {
    font-size: 1.6em;
    font-weight: 500;
    margin-bottom: 1rem;
    margin-top:1rem;
    text-align: left;

}

/* Opis */
.twofactor-description {
    font-size: 0.95em;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.4;
}


/* Pola kodu */
.code-inputs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1rem;
}

.code-box {
    width: 40px;
    height: 46px;
    text-align: center;
    font-size: 1.3em;
    border: 1px solid var(--text);
    border-radius: 5px;
    outline: none;
    transition: border-color 0.2s;
}

.code-box:focus {
    border-color: #c74d61;
    box-shadow: 0 0 3px rgba(199, 77, 97, 0.4);
}

/* Przycisk weryfikacji */
.verify-button {
    display: inline-block;
    background-color: var(--viva);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 30px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom: 1rem;

}

.verify-button:hover {
    background-color: var(--viva);
    color: white
}
body.high-contrast .verify-button {
    color: black
}
/* Checkbox */
.remember-device {
    display: block;
    margin-top: 14px;
    font-size: 0.9em;
    color: var(--text);
}

/* Linki pomocy */
.twofactor-footer {
    margin-top: 1rem;
    font-size: 0.9em;

    font-size: 0.95em;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.4;
}

.twofactor-footer a {
    color: var(--viva);
    text-decoration: none;
}

.twofactor-footer a:hover {
    text-decoration: underline;
}


.fw-normal {
    font-weight: normal !important
}
.alert.reset-container .form-control {
    margin-bottom: 0.5rem !important;
}

.alert.twofactor-container .text,
.alert.reset-container .text {

    color: var(--text) !important;

}
.alert.reset-container {
    background-color: white;
}
body.high-contrast  .alert.reset-container {
    background-color: black
}
.alert.reset-container a,
.alert.twofactor-container a {
    font-weight: normal !important;
    text-decoration: underline;
}
.alert.twofactor-container a.support-link,
.alert.twofactor-container a.resend-link {
    color: var(--viva) !important;
}


.alert.alert-warning {
    background-color: white
}
.alert.alert-warning a {
    text-decoration: underline
}
.alert.alert-warning a:hover {
    color: var(--viva) !important
}

.tooltip-inner {
    background-color: var(--viva) !important;
    color: var(--text-versus) !important;
}

.tooltip {
    background-color: var(--viva) !important;
    color: var(--text-versus) !important;
    line-height: 1.2;
    border-radius: 0.5rem;
    text-align: left

}

.bs-tooltip-left .arrow::before {

    border-left-color: var(--viva);
}

.tooltip {
    z-index: 1
}
.tooltip-inner {
    max-width: 100%;
    padding: 0.5rem 1.5rem;
}

.bs-tooltip-auto[x-placement^=top] .arrow::before,
.bs-tooltip-top .arrow::before {
    top: 6px;
    border-width: .6rem .6rem 0;
    border-top-color: var(--viva);
}


.btn.btn--sm.btn--icon,
.w-button-group--sm .btn.btn--icon {
    width: 32px;
    height: 32px;
    color: var(--text);
    font-size: 20px;
}

.btn-eye-slash {
    border: none !important;
    outline: none !important;
}

/**
 * Zmiana koloru w środku inputa na czerwony
 */
.has-error input,
.has-error textarea,
.form-floating.has-error,
.form-floating.has-error select {
    background: #FDE8E9 !important;
    border-radius: 0.5rem;
}

/**
 * Styl dla komunikatów walidacyjnych
 */
.validation-error {
    color: var(--viva);
    font-size: 14px;
    line-height: 16px;
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.6rem;
}

/**
 * Marginesy dla komunikatów walidacyjnych
 */
.error-margin {
    margin-left: 0;
    margin-right: 0;
    text-align: center;
}

/**
 * Wyśrodkowanie nagłówka modala
 */
.modal-header {
    display: block;
}

.validation-error .help-block {
    flex: 1;
}

.fa-solid.fa-exclamation {
    width: 20px;
    float: left;
    display: block;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 0.3rem;
    font-size: 16px;
}

.form-label-group {
    margin-bottom: 1rem;
}

.btn-eye-shared {
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #6c757d;
    border: none;
    outline: none;
}

.no-margin {
    margin: 0 !important;
}

body.high-contrast .modal-content .close {
    color: var(--text) !important;
}

body.high-contrast .modal-content {
    background-color: black;
    border: 1px solid var(--text) !important;
}

body.high-contrast .modal-body * {
    color: var(--text) !important;
    font-family: var(--poppins) !important;
}

.form-select:focus {
    outline: none !important;
}

/**
 * Style dla smallboxa
 */

#divSmallBoxes {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9999;
}

.SmallBox {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 420px;
    color: var(--text-versus);
    z-index: 9999;
    overflow: hidden;
    border: 2px solid var(--text) !important;
    border-radius: 0.5rem;
    padding-top: 0.5rem;
    box-shadow: var(--box-shadow-box);
}

.SmallBox:hover {
    border: 2px solid var(--viva);
    cursor: pointer;
}

.SmallBox .foto {
    font-size: 50px;
    position: absolute;
    left: 17px;
}

.SmallBox .textoFull {
    width: 90%;
    float: left;
    padding-left: 20px;
}

.SmallBox .textoFoto {
    width: 78%;
    margin: 3px 20px 3px 80px;
    float: left;
}

.SmallBox span {
    font-size: 1rem;
    font-weight: 600;
    display: block;
}

.SmallBox p {
    font-size: 13px;
    margin-top: 2px;
}

@media screen and (max-width:450px) and (max-width:767px) {
    #divSmallBoxes {
        position: fixed;
        width: 90%;
        right: 0;
        top: 0;
    }
    
    .SmallBox {
        width: 95%;
    }
    
    .SmallBox:hover {
        box-shadow: 0 0 10px #888;
        cursor: pointer;
    }
    
    .SmallBox span {
        font-size: 16px;
    }
    
    .SmallBox p {
        font-size: 12px;
        margin-top: 2px;
    }
    
    .SmallBox .textoFull {
        width: 90%;
        float: left;
        padding-left: 20px;
    }
    
    .SmallBox .textoFoto {
        width: 55%;
        margin: 3px 20px 3px 80px;
        float: left;
    }
}

.smallbox-ok {
    background-color: white !important;
    color: var(--viva);
}

.smallbox-error {
    color: var(--text-versus);
    background-color: var(--viva);
    border-color: var(--viva) !important;
}

body.high-contrast .SmallBox,
body.high-contrast .smallbox-error,
body.high-contrast .smallbox-ok {
    background-color: black !important;
    color: yellow !important;
    border-color: white !important;
}

/* Implementacja Floating Labels z Bootstrap 5 */

.form-floating {
    position: relative;
}

.form-floating > .form-control,
.form-floating > .form-select {
    height: calc(3.5rem + 2px);
    line-height: 1.25;
    padding: 1rem;
}

.form-floating > label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 1rem;
    pointer-events: none;
    border: 1px solid transparent;
    transform-origin: 0 0;
    transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .form-floating > label {
        transition: none;
    }
}

.form-floating > .form-control::placeholder {
    color: transparent;
}

.form-floating > .form-control:not(:placeholder-shown) {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.form-floating > .form-control:focus,
.form-floating > .form-control:not(:placeholder-shown) {
    padding-top: 2rem;
    padding-bottom: 0.75rem;
}

.form-floating > .form-control:-webkit-autofill {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.form-floating > .form-select {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    opacity: 0.65;
    transform: scale(0.8) translateY(-0.7rem) translateX(0.15rem);
}

.form-floating > .form-control:-webkit-autofill ~ label {
    opacity: 0.65;
    transform: scale(0.8) translateY(-0.7rem) translateX(0.15rem);
}

.form-floating label {
    color: var(--gray);
}

.form-floating > textarea.form-control:not(:placeholder-shown),
.form-floating > textarea.form-control:focus {
    padding-top: 1.625rem !important;
    padding-bottom: 0.625rem !important;
}

.no-text-decoration {
    text-decoration: none !important;
}

.textarea-auto-resize {
    min-height: 120px !important;
    resize: none !important;
    overflow-y: hidden !important;
}

.active-link {
    font-weight: bold !important;
}

.dev-instance {
    opacity: 0.4 !important;
    cursor: default !important;
}