/************************************************************** Lista testów do wyboru ************************************************************/
.raportis .wybor-sekcja {
    margin: 0 auto;
    padding: 0;
    margin-bottom: 1rem;

    border: 1px solid #ffffff00;
}

.raportis .wybor-sekcja h2 {
    margin: 0 0.5rem 0.5rem;
}


.raportis .kafelek {
    box-sizing: border-box;
    /* box-shadow: 0 0 0.5rem lightgray; */
    padding: 0.5rem;
    border: 1px solid white;
    gap: 0.5rem;
    width: 13rem;
    height: 6.5rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    color: var(--maincolor);
    background-color: #ffffff2f;
    text-transform: uppercase;
    
}

.raportis .kafelek img {
    width: 3rem;
    margin: 0 auto;
}

.raportis .kafelek .napis {
    margin: auto;
}

.raportis .kafelek:hover {
	cursor: pointer;
    background-color: #eee;
}

.raportis .kafelek.wybrany {
    border-color: #444;
    background-color: white;
}

.raportis #wybor-obszar select {
    color: #222;
    background-color: white;
    align-self: flex-start;
    padding: 0.15rem 0.5rem;
    width: 100%;
    margin: 0 0 -0.15rem;
    text-align: center;
}

/************************************************************** Przycisk w gridzie ************************************************************/
#grid .grid-button {
    font-size: 1rem;
    padding: 0.1rem 0.25rem;
    min-width: 3rem;
    /* width: 80%; */
}

/************************************************************** Ramka do raportow ************************************************************/
#raportramka #grid {
    height: 48rem;
}

@media screen and (max-width: 900px) {
    #raportramka #grid {
        height: 60vh;
    }
}

@media screen and (min-width: 901px) {
    #raportramka {
        margin: 2rem 1rem;
        min-height: 30rem;
    }
}

/*************************************************************** Wybor raportu *****************************************************************/
@media screen and (min-width: 901px) {
    .raportis .mozna-kleic {
        /* border: 1px solid white; */
        
        position: -webkit-sticky;
        position: sticky;
    }

    .raportis .mozna-kleic.przyklejony {
        border-color: #444;
        transition: 0.25s;
        background-color: white;
    }

    .raportis .mozna-kleic.przyklejony .kafelek {
        border: none;
        box-shadow: none;
    }

    .raportis .mozna-kleic.przyklejony .kafelek.wybrany {
        background-color: var(--secondcolor);
        color: white;
    }

    .raportis #wybor-raport {
        top: -0.2rem;
        z-index: 102;
        /* background-color: white; */
    }

    .raportis #wybor-typ {
        top: 2.9rem;
        z-index: 101;
    }
}

/************************************************************* Preloader ****************************************************/
.raportis #preloader {
    position: fixed;
    top: 0%;
    width: 100%;
    height: 100%;
    background-color: #ffffff99;
    text-align: center;
    display: none;
    z-index: 110;
}

.raportis #preloader img {
    margin-top: 40vh;
}

/************************************************************* Belka z opcjami ****************************************************/
@media screen and (min-width: 901px) {
    .raportis #pasek-opcje {
        display: grid;
        grid-template-columns: 1fr 2fr 1fr;
        gap: 1rem;
        margin-top: 1rem;
    }    
}

.raportis #pasek-opcje #operacje {
    justify-content: center;
    gap: 1rem;
}

.raportis #pasek-opcje #operacje button{
    text-transform: uppercase;
    padding: 0.75rem;
    max-width: 50%;
}

.raportis #pasek-opcje #opcje-grid {
    justify-content: right;
    gap: 0.5rem;
}

.raportis #pasek-opcje #opcje-grid button {
    max-width: 4.5rem;
    font-size: 1.5rem;
    padding: 0;
    align-self: flex-start;
    min-height: 2.25rem;
}