/* window */

* {
    margin: 0;
    padding: 0;
}

*::selection {
    background: #666;
    color: #fff;
}

*::-moz-selection {
    background: #666;
    color: #fff;
}

body {
    font-family: SegoeUiBold, Arial, sans-serif;
    border-top: 2px solid #339bff;
    background: #f4f4f4;
    /* font-weight: bold; */
}

/* ALERT */

#black-bg, #loadingDiv {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #000;
    opacity: 0.6;
}

#black-bg div, #loadingContentDiv {
    position: fixed;
    color: #fff;
    /* width: 240px;
    height: 32px; */
    top: calc(50% - 18px);
    left: calc(50% - 120px);
    font-size: 26px;
}

/* LOGO */

.logo {
    color: #339bff;
    margin-left: 10px;
    font-size: 24px;
}

.logo span {
    color: #ed2655;
}

.info {
    font-size: 14px;
    color: #777;
    text-align: right;
}

.info a {
    font-size: 12px;
    color: #339bff;
    font-weight: bold;
}

.banner {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #fff;
    border-bottom: 2px solid #ccc;
}

/* FORMULARZ */

.form_div {
    width: 310px;
    text-align: center;
    margin: 10px auto;
}

.form_div h1 {
    font-size: 24px;
    color: #666;
    margin-bottom: 10px;
}

.form_title {
    text-align: left;
    color: #444444;
    font-size: 16px;
    /* font-family: monospace, sans-serif; */
    /* font-weight: normal; */
    margin-bottom: 6px;
}

input {
    /* font-family: monospace, sans-serif; */
    display: block;
    border: 1px solid #ccc;
    text-align: left;
    margin-bottom: 16px;
    width: 300px;
    padding: 8px 6px;
}

input[type=submit], button {
    width: auto;
    padding: 8px 6px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    background: #339bff;
    border: none;
    color: #fff;
}

input[type=submit]:hover, button:hover {
    background: #ed2655;
    cursor: pointer;
}

button a {
    display: block;
    color: #fff;
    text-decoration: none;
}

.error {
    color: #f00;
    font-family: SegoeUIBold, sans-serif;
    margin: 10px 0 0 10px;
}

/* MENU POZIOME */

nav {
    padding-left: 10px;
    background: #fff;
    border-bottom: 2px solid #ccc;
}

nav ul {
    list-style-type: none;
}

nav ul li {
    display: inline;
}

nav ul li a {
    display: inline-block;
    text-decoration: none;
    padding: 10px;
    color: #666;
    cursor: pointer;
}

nav ul li a:hover {
    background: #f4f4f4;
}

h1 {
    margin: 20px 0 10px 10px;
    font-size: 24px;
    letter-spacing: 2px;
    color: #666;
    /* font-family: Consolas, monospace, sans-serif; */
}

h2 {
    margin: 20px 0 10px 10px;
    font-size: 18px;
    color: #666;
}

.list .pole {
    position: relative;
    font-size: 14px;
    margin-left: 10px;
    font-weight: bold;
    margin-top: 20px;
}

.list input {
    position: absolute;
    left: 180px;
    top: -7px;
    display: inline-block;
    width: 200px;
}

.list input[type=submit] {
    position: static;
    margin: 30px 0 0 10px;
    width: auto;
    padding: 10px;
}

a {
    display: block;
    /* font-family: monospace, sans-serif; */
    color: #339bff;
    cursor: pointer;
}

/* ZAPOMNIAŁEŚ HASŁA */

.forgot_pass, #show_login_form {
    display: none;
    text-align: left;
}

.file_frame, .user_frame {
    display: flex;
    justify-content: space-between;
    width: 90%;
    padding: 20px;
    margin: 20px auto;
    background: #fff;
    border-bottom: 2px solid #bbb;
}

/* PLIKI / FOLDERY */

.file_frame:hover, .user_frame:hover {
    border-bottom: 2px solid #339bff;
}

.file, .name {
    color: #339bff;
    font-size: 20px;
    margin-right: 10px;
}

.file_title, .login {
    color: #666;
    font-size: 20px;
}

.file_size {
    margin-left: 10px;
    font-size: 16px;
    color: #339bff;
}

.file_download a, .user_modify {
    display: inline;
    color: #fff;
    background: #339bff;
    text-decoration: none;
    padding: 6px;
    margin-left: 10px;
}

.file_download a:hover, .user_modify:hover {
    background: #ed2655;
    cursor: pointer;
}

a[class=folder] {
    text-decoration: none;
}

.logowan, .przydzial {
    font-size: 14px;
    margin-left: 10px;
}

#email_for_admin {
    margin: 10px 0 10px 20px;
    padding: 4px;
    font-size: 18px;
    font-weight: bold;
    border: 2px solid #c2c2c2;
    width: 660px;
    height: 200px;
    font-family: SegoeUiBold, Consolas, monospace, sans-serif;
}

/* SELECT dla Admina */

#users_email {
    margin: 10px;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    border: 1px solid #00f;
    /* font-family: Consolas, sans-serif; */
}

#users_email option {
    padding: 20px;
}

#upload_files, #renameFile {
    display: none;
    position: fixed;
    top: 0;
    left: calc(50% - 300px);
    width: 600px;
    background: #fff;
    z-index: 100;
    padding: 20px;
}

#upload_files label, #renameFile label {
    display: block;
    position: relative;
    margin: 16px;
}

#upload_files label input, #renameFile label input {
    display: inline-block;
    position: absolute;
    right: 60px;
}

#upload_files input[type=file] {
    display: inline-block;
    width: 250px;
    margin-left: 20px;
    margin-top: -10px;
}

#uploaduje {
    display: none;
    text-align: center;
    font-size: 34px;
    padding: 30px;
}

/* ALERT - ERROR 403 */

.alert {
    position: relative;
    margin: 0 auto;
    width: 600px;
    background: #fff;
    z-index: 10000;
    padding: 20px;
    text-align: center;
}

.alert .alertTitle {
    background: #339bff;
    color: #fff;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 25px;
    font-size: 20px;
    padding: 10px 0 10px 0;
    text-align: center;
}

.alert .alertText {
    color: #000;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    margin-bottom: 35px;
}

/* ----------- ALERT ---------- */

#alertBox {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.8);
    z-index: 1;
}

#alertContentDiv {
    width: 600px;
    margin: 0 auto;
    background: #fbfbfb;
    color: #000;
    font-size: 20px;
    text-align: center;
    padding: 20px;
}

#alertTitleDiv {
    background: #339bff;
    color: #fff;
    padding: 10px 0;
    z-index: 2;
}

#alertTextDiv {
    padding: 10px;
}

#flowertabs, #hamDiv {
    display: none;
}

@font-face {
    font-family: SegoeUiBold;
    src: url("../fonts/Segoe UI Bold.ttf");
}

@media screen and (orientation:portrait) {
    #changeViewDiv {
        display: none;
    }
    #flowerBgDiv {
        position: fixed;
        z-index: 999;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background: rgba(20, 20, 20, 0.6);
        margin-left: -100%;
    }
    #flowertabs {
        position: fixed;
        z-index: 1000;
        top: 0;
        left: 0;
        height: 100%;
        background: #339bff;
    }
    #flowertabs li {
        padding: 10px 0;
        border-bottom: 1px solid #fff;
    }
    #flowertabs li:hover a {
        color: #000;
    }
    #flowertabs li:hover{
        background: #fff;
    }
    #flowertabs li a {
        color: #fff;
        text-decoration: none;
        font-size: 5vw;
        padding-left: 4vw;
    }
    #hamDiv {
        display: table;
        width: 100%;
        height: 10vw;
        background: white;
        border-bottom: solid 1px #339bff;
    }
    #menuNav { display: none; }
}

@keyframes tree {
    0% {
        transform: scale(1);
    }
    30% {
        transform: scale(0.5);
    }
    60% {
        transform: scale(2) rotate(-20deg);
    }
    85% {
        transform: scale(1);
    }
}

@keyframes tree2 {
    0% {
        transform: scale(1);
    }
    30% {
        transform: scale(2);
    }
    60% {
        transform: scale(0.5) rotate(20deg);
    }
    85% {
        transform: scale(1);
    }
}

@keyframes tux {
    0% {
        margin-top: 100px;
    }
    50% {
        margin-top: 0; 
    }
    100% {
        margin-top: 100px;
    }
}

#christmasTreeLeft {
    animation: tree2 2s infinite ease-in-out;
}

#christmasTreeRight {
    animation: tree 2s infinite ease-in-out;
}

#tux {
    /* display: block; */
    display: inline-block;
    animation: tux 1.2s infinite ease-in-out;
}