body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    margin: 0;
    background-color: rgb(57, 72, 84);
    color: whitesmoke;
    max-width: 100vw;
    font-size: 16px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    padding-bottom: 5vh;
}

.logo img{
    margin-top: 15vh;
    display: flex;
    width: 20vw;
    }

.logindiv{
    display: flex;
    flex-direction: column;
    width: auto;
    height: auto;
    margin-top: 4vh;
    align-items: center;
    justify-content: center;
    background-color: rgb(104, 104, 104);
    border-radius: 0.5rem;
    box-shadow: 0px 0px 8px rgba(0,0,0,0.2);
}

.logindiv form{
    display: flex;
    flex-direction: column;
    margin: 2rem;
}

.logindiv input[type='text'], .logindiv input[type='password'], .logindiv input[type='submit'] {
    display: block;
    position: relative;
    width: auto;
    padding: 0.5rem;
    margin: 0.5rem;
    text-align: center;
    outline: none;
}

.listwa {
    display: block;
    position: relative;
    align-items: center;
    justify-content: left;
    width: 99svw;
    z-index: 1;
    top: 0;
    background-color: rgb(89, 112, 131);
    padding: .5svw;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.tytul {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.message {
    background-color: rgb(189, 0, 0);
    color: whitesmoke;
    font-size: 1.5rem;
    margin-top: 2rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.alert{
    margin-top: 1rem;
    color: red;
    font-size: 2rem;
}

.welcome {
    font-weight: bold;
    font-size: 1rem;
    padding-left: 0.5rem;
}

.l404{
    font-size: 2rem;
    margin-top: 5rem;
    
}

.panel{
    display: flex;
    position: relative;
    flex-direction: column;
    flex-wrap: wrap;
    align-items:center;
    align-content: center;
    justify-content: center;
    margin-top: 2rem;
}

.menu{
    display: flex;
    width: 98vw;
    max-width: 98vw;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 0.2vw;
}

.btnMenu{
    display: flex;
    background-color: rgb(89, 112, 131);
    width: 35vw;
    height: 8vh;
    margin: 0.4rem;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    cursor: pointer;
    color: whitesmoke;
    border: none;
    transition: 0.2s ease-in-out;
    outline: none;
    padding: 0;
}

.btnMenu:hover{
    box-shadow: 0px 0px 8px rgba(0,0,0,0.5);
    background-color: rgb(108, 135, 158);
}

.btnMenu_name{
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    margin: 0;
    height: 100%;
    width: 80%;
}

.btnMenu_info{
    width: 25%;
    padding-left: 2rem;
    font-size: 1vw;
    font-weight: normal;
    text-align: left;
}

.ico{
    position: relative;
    width: 20%;
    height: 50%;
}

.zgloszenie {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 5vh;
    width: 50%;
}

.zgloszenie form{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-content: center;
    width: 100%;
}

.uwaga{
    display: block;
    position: relative;
    margin-top: -4rem;
    margin-bottom: 2rem;
    padding: 0.5rem;
    text-align: center;
    background-color: red;
    font-weight: bold;
    width: 100%;
}

.zgloszenie input[type="text"], textarea, input[type="file"], 
select, option, .zgloszenie input[type="password"], .zgloszenie input[type="email"]{
    width: 100%;
    margin: 1.5rem 0rem 1.5rem 0rem;
    background-color: transparent;
    color: whitesmoke;
    font-size: 1vw;
    outline: none;
    border: none;
    border-bottom: solid 1px white;
    text-align: left;
}

.zgloszenie input::placeholder, textarea::placeholder{
    color: whitesmoke;
}

.zgloszenie select::placeholder{
     color: black;
}

.zgloszenie .selectlist{
    background-color: rgb(57, 72, 84);
}

.zgloszenie input[type="submit"]{
    /* display: flex; */
    margin-top: 2rem;
    margin-bottom: 1rem;
    background-color: green;
    border: none;
    color: whitesmoke;
    font-weight: bold;
    width: 100%;
    transition: 0.2s ease-in-out;
    height: 4rem;
}

.zgloszenie input[type="submit"]:hover{
    background-color: rgb(115, 144, 168);
}

.zgloszenie button {
    width: 100%;
    background-color: red;
    height: 4rem;
}

button, input[type="search"]{
    margin: 5px;
    display: flex;
    background-color: rgb(89, 112, 131);
    border: none;
    color: whitesmoke;
    font-weight: bold;
    width: 25vw;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease-in-out;
    height: 2rem;
    padding: 0.2rem;
    text-align: center;
}

input[type="search"]::placeholder{
    color: whitesmoke;
    text-align: right;
}

button:hover, input[type="search"]:hover{
    background-color: rgb(115, 144, 168);
    cursor: pointer;
}

.tabela{
    display: block;
    width: 99%;
    font-size: 1rem;
}

.tabela tr:hover{
    cursor: pointer;
}

table{
    position: relative;
    border-collapse: separate;
    border-spacing: 0 0.2rem;
    width: 100%;
    text-align: center;
    }

th{
    /* border: 1px solid whitesmoke; */
    background-color: rgba(0, 0, 0, 0.4);
    padding: 0.8rem;
}

th:first-child{
    border-radius: 0.5rem 0 0 0.5rem;
}

th:last-child{
    border-radius: 0 0.5rem 0.5rem 0;
}

tr{
    transition: 0.2s ease-in-out;
    background-color: rgba(0, 0, 0, 0.2);
}

table tr td:first-child{
    border-radius: 0.5rem 0 0 0.5rem;
}

table tr td:last-child{
    border-radius: 0 0.5rem 0.5rem 0;
}

td{
    padding: 0.6rem;
}

.td-new{
    background-color: green;
    
}

.td-inreal{
    background-color: gray;
}

.td-del{
    background-color: red;
}

.td-waiting{
    background-color: rgb(224, 94, 31);
}

tr:hover{
    background-color: rgb(89, 112, 131);
    box-shadow: 0px 0px 8px rgba(0,0,0,0.5);
}

td button{
    margin: 0;
    border-bottom: none;
    width: 100%;
}

td input[type="text"]{
    background: transparent;
    border: none;
    width: 3rem;
    border: none;
    outline: none;
    font-size: 1rem;
    text-align: center;
    color: whitesmoke;
}

.PersonalData{
    display: flex;
    position: relative;
    width: 50vw;
}

.PersonalData form{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.PersonalData select{
    margin: 0;
    border: none;
    width: auto;
    font-size: 1rem;
}

.PersonalData input[type="text"]{
    width: 100%;
}

.PersonalData .selectlist{
    background-color: rgb(57, 72, 84);
    font-size: 1rem;
    text-align: center;
    width: 20px;
}

.PersonalData button{
    width: 100%;
    height: 3rem;
    background-color: green;
}

.PersonalDataMenu button{
    height: 3rem;
}

.files{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    width: 90%;
}

.files_title{
    display: flex;
    font-size: 1.4rem;
}

.files .preview{
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: relative;
}

.files .pic{
    width: 19%;
    margin: 0.5rem;
}

.files img, .files embed{
    display: flex;
    width: 100%;
    box-shadow: 0px 0px 8px rgba(0,0,0,0.5);
}

.picfull_ico{
    display: flex;
    position: relative;
    float: right;
    top: 30px;
    right: 10px;
    width: 20px;
}

.picdown_ico{
    display: flex;
    position: relative;
    float: right;
    top: 30px;
    right: 20px;
    width: 20px;
}

.MesWind{
    display: flex;
    width: 10rem;
    height: 10rem;
    background-color: rebeccapurple;
}

.inputTimetable{
    margin: 0;
    background-color: transparent;
    border: none;
    color:whitesmoke;
    text-align: center;
    font-size: 16px;
    outline: none;
}

.pagginationMenu{
    display: flex;
    position: fixed;
    justify-content: space-between;
    top: 0;
    right: 10rem;
    flex-direction: row;
    z-index: 1;
}

.pagginationMenu .nextBtn {
    display: block;
    margin: 0;
    margin-left: 1rem;
    width: 3rem;
}

.pagginationMenu .backBtn {
    display: block;
    margin: 0;
    width: 3rem;
}

.pagginationMenu button {
    height: 2rem;
    width: 6rem;
}

.pagginationStat {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 9rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    background-color: rgb(89, 112, 131);
    z-index: 1;
}

.backButton{
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

.backButton button {
    margin: 0;
    height: 2rem;
}

.searchMenu {
    display: flex;
    position: fixed;
    top: 0;
    z-index: 1;
}

.searchMenu input[type="search"]{
    margin: 0;
    outline: none;
}

.info {
    display: block;
    margin: 0.5rem;
    padding: 0.5rem;
    background-color: red;
    color: whitesmoke;
    text-align: justify;
}

.info a {
    color: whitesmoke;
    font-weight: bold;
}

.footer{
    display: block;
    position: fixed;
    bottom: 0;
    width: 99.6vw;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0.2vw;
    text-align: center;
    font-size: 1rem;
    letter-spacing: 1px;
}

@media (max-width: 600px){

    .logo img{
        width: 80vw;
    }

    .panel{
        margin-top: 4vh;
        flex-direction: column;
    }

    .btnMenu{
        margin-bottom: 1rem;
        width: 90vw;
        height: 5rem;
    }

    .btnMenu:last-child{
        margin-top: 4rem;
    }

    .btnMenu_info{
        font-size: 3vw;
    }

    .zgloszenie{
        width: 95%;
    }

    .zgloszenie input[type="text"], textarea, input[type="file"], select,
        .zgloszenie input[type="email"], .zgloszenie input[type="password"] {
        width: 100%;
        font-size: 1rem;
    }

    .zgloszenie input[type="submit"], button{
        width: 100%;
    }

    .PersonalData{
        width: 100vw;
    }

    .PersonalData table{
        font-size: 1rem;
    }

    table{
        font-size: 0.5rem;
    }

    td{
        padding: 0.5rem 0.1rem 0.5rem 0.1rem;
    }

    .PersonalDataMenu {
        width: 100%;
    }

    .files .pic{
        width: 48%;
        margin: 0.2rem;
    }

    input[type="search"]{
        width: 80vw;
    }

    .uwaga{
        margin-top: -3rem;
    }

}
