@charset "utf-8";
@font-face {
    font-family: courier-new;
    src: url(/fonts/courierNewBold/courierNewBold.ttf);
}
/* CSS Document */

:root {
    --main-color: #24344e;
    --main-color-light: #24344eb5;
    --gray-one: #fff;
    --gray-two: #f3f3f3;
    --gray-three: #d5d5d5;
    --gray-four: #dddddd;
    --red: #ff0000;
}




* {
    margin: 0;
    padding: 0;
    border: 0;
    color: #000;
}

.red {
    color: var(--red) !important;
}
html,body {
    color: #fff;
    width: 100%;

    margin: 0;
    padding: 0;
    min-height: 100vh;
    height: 100%;

}

html {
    background-image: url('/images/web_root/loginImage.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
body {}

.messageWrap {
    width: 100%;
    position: fixed;
    bottom: 29px;
    z-index: 110;

}
.message {
    width: 30%;
    margin: auto;
    padding: 20px;
    text-align: center;
    height: 60px;
    font-weight: bold;
    background: #009f35;
    color: #fff;
    box-sizing: border-box;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
    border-top: 3px;
    border-left: 3px;
    border-right: 3px;
    border-color: #fff;
    border-style: solid;
    border-radius: 20px 20px 0 0;

}
.message.E {
    background: #ff6c6c;
}
.message.I {
    background: #f1aa49;
}
.message.A {
    background: #009f35;
}
a {
    text-decoration: none;

}


.login-page {
    font-family: courier-new;
    width: 100vw;
    height: 300px;
    margin: auto;
    background: #ffffff80;
    color: #000;
    position: relative;
    top: 300px;
}
.login-page .login-form {
    display: block;

    width: 650px;
    height: 240px;
    margin: auto;

}
.login-page .login-form h3 {

    font-size: 31px;
    text-align: center;
    color: #2041a4;
}
.login-page .login-form .unknownUser {
    color: #fff;
    background: url("https://db.nyylo.cz/themes/metro/img/user.svg");
    background-color: rgba(0, 0, 0, 0);
    background-repeat: repeat;
    background-size: auto;
    content: "";
    float: left;
    margin-right: 20px;
    margin-top: 30px;
    background-color: #ffffff87;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    height: 240px;
    width: 240px;
    line-height: 1;
    text-align: center;
}

.login-page .login-form input,.login-page .login-form button {
    width: 330px;
    height: 9px;
    font-size: 20px;
    padding: 20px;
    margin: 13px 0;
    background-color: #fff;
    color: #000;
    font-family: courier-new;
}
.login-page .login-form button {
    width: 370px;
    height: 50px;
    padding: 0;
}

/*MAIN SITE*/
header {

    background: var(--gray-three);
    position: relative;
}
header nav {
    font-size: 25px;
}
header nav ul li {
    display: inline-block;
    padding: 6px 15px;
}

header nav ul li:hover {
    background-color: var(--main-color);
}
header .userInfo {

    position: absolute;
    top: 0;
    right: 0;
    text-align: center;
    padding: 5px 30px;

    box-sizing: border-box;
}

main {
    margin-top: -42px;
    padding: 45px 10px 50px 15px;
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
    background: #ffffffed;

}
.dateFilter {
    background: var(--main-color);
    width: 500px;
    margin: auto;
    padding: 20px;
    text-align: center;
    position: relative;
    top: 20px;
    color:var(--gray-one);
    font-weight: bold;
    font-size: 0.9em;
    font-family: sans-serif;
}
.dateFilter label {
    color:var(--gray-one);
}
.dateFilter input {
    height: 40px;
    width: 30%;
    background: var(--gray-three);
    padding: 0 10px;
    box-sizing: border-box;
}
main table {
    width: 100%;
    margin: 25px auto;

    border-collapse: collapse;

    box-sizing: border-box;
    font-size: 0.9em;
    font-family: sans-serif;

    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 25px;
    border-width: 1px;

}
main table thead tr {
    background-color: var(--main-color);
    color: var(--gray-one);
    text-align: left;
}
main table thead tr td,main table thead tr th {
    padding: 12px 15px;
    color: #ccc;
    cursor: pointer;
}

main table tbody #filterGrid td {
    padding: 5px 5px;

}
main table tr td img {
    height: 15px;
}
main table tr.readGrid.disabled {
    background: #ffe0e0;
}

main table tbody .filter,main table .filterSelect{
    height: 40px;
    width: 99%;
    background: var(--gray-three);
    padding: 0 10px;
    box-sizing: border-box;
}



main table tbody tr {
    border-bottom: 1px solid var(--gray-four);
    background: #fff;
}
main table tbody tr:nth-child(even) {
    background: var(--gray-two);

}
main table tbody tr:last-of-type {
    border-bottom: 2px solid var(--main-color);


}

main table tbody tr:hover {
    font-weight: bold;
    color: var(--main-color);
    background: var(--gray-three);
}
main table tbody tr:hover>td {
    color: var(--main-color);
}
main table tbody tr:first-child:hover {
    background: var(--gray-one);

}

main table tbody tr td {
    padding: 12px 15px;
}

#dialog table {
  width: 750px;
}
#dialog table tr {
  background: var(--gray-two);
  height: 60px;
}

#dialog table tr:hover {
  background: var(--main-color-light);
}
#dialog table tr td input:hover,#dialog table tr td select:hover,#dialog table tr td textarea:hover {
  background: #fff;
}

#dialog table tr:nth-child(odd) {
  background: var(--gray-three);

}
#dialog table tr:nth-child(odd):hover {
  background: var(--main-color);

}
#dialog table tr:nth-child(odd):hover>td,#dialog table tr:nth-child(odd):hover>td span {
  color:var(--gray-one);
}
#dialog table tr td {
  width: 500px;
}
#dialog table tr td:nth-child(1) {
  width: 200px;
  padding: 0 6px;
}
#dialog table tr td.halfTd {
  width: 200px;
}
#dialog table tr td textarea {
  resize: none;
}
#dialog table tr td input,#dialog table tr td select,#dialog table tr td textarea {
  width: 540px;
  height: 40px;
  background: var(--gray-two);
  margin: 5px;
  box-sizing: content-box;
  padding: 5px;
}
#dialog table tr td.halfTd input {
  width: 258px;
}


footer {
    height: 17px;
    position: fixed;
    right: 0;
    bottom: 0;
    width: 100%;
    background: #000;
    color: #fff;
    text-align: right;
    padding: 6px 7px;
}
footer a, footer a i {
    color: #fff;
}



@media screen and (max-width: 1300px) {}

.ui-widget-overlay {
  background: var(--gray-three);
  background: #000;
  opacity: .6;
}