﻿
html, body {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    color: rgb(50,50,50);
    height: 100%;
    margin: auto;
    overflow: auto;
    font-family: Lato, serif;
    font-size: 16px;
    background-repeat: no-repeat;
    background-size: cover;
}

wait-box {
    position: absolute;
    border: none;
    opacity: 0.7;
    display: none;
    z-index: 999;
    left: 0;
    top:0;
    right: 0;
    bottom: 0;
    background-color: #a3a3a3;
    background-image: url('/img/wait.gif');
    background-repeat: no-repeat;
    background-position: center;
    margin: auto;
}

main-menu{
    display: table;
    position: relative;
    border: 0 none;
    width: 100%;
    height: fit-content;
    clear: both;
    background-color: rgba(100,100,100,0.5);
}

main-logo{
    display: block;
    content: url(/img/logo.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-color: black;
    height: 26px;
    width: 110px;
    float: left;
    padding: 12px;
    cursor: pointer;
}

menu-button {
    display: block;
    color: rgb(250, 250, 250);
    background-color: rgba(27,27,27,0);
    padding: 15px 10px 0 10px;
    height: 35px;
    text-transform: uppercase;
    float: left;
    cursor: pointer;
}
    menu-button:hover {
        background-color: rgba(27,27,27,0.2);
        outline: none;
    }
    menu-button:focus {
        outline: none;
    }
    menu-button[active] {
        color: rgb(250, 250, 250);
        background-color: rgba(27,27,27,0.5);
    }

sub-menu{
    display: table;
    position: relative;
    border: 0 none;
    background: rgba(50,50,50,0.3);
    width: 100%;
    height: fit-content;
    clear: both;
}
submenu-button {
    display: block;
    border: 0 none;
    color: rgb(255, 255, 255);
    background: rgba(35,35,35,0);
    padding: 3px 10px 3px 10px;
    height: 30px;
    float: left;
    cursor: pointer;
}
submenu-button:hover {
    background-color: rgba(35,35,35, 0.2);
    outline: none;
}
submenu-button:focus {
    outline: none;
}
submenu-button[active]{
    background: rgba(35,35,35,0.3);
}
submenu-button:before{
    font-family: Eveod, serif;
    position: relative;
    padding-right: 6px;
    font-size: 130%;
    top: 4px;
}

submenu-button[new]:before{
    content: "d";
    color: #fdff2c!important;
}
submenu-button[edit]:before {
    content: 'j';
}
submenu-button[save]:before {
    content: '3';
}
submenu-button[copy]:before {
    content: "q";
}
submenu-button[delete]{
    color: #f48484!important;
    float: right!important;
}
submenu-button[delete]:before{
    content: '2';
}

submenu-button[back]:before{
    content: '<';
}
submenu-button[map]:before {
    content: "k";
}
submenu-button[list]:before {
    content: ';';
}
submenu-button[back] {
    margin-right: 40px;
}

info-box {
    display: block;
    position: relative;
    text-align: center;
    font-weight: normal;
    width: 100%;
    padding: 3px 0px 4px 0px;
    color: #FFFFFF;
    background-color: #6c9d08;
    z-index: 900;
}

info-box[error] {
    background-color: #aa0606!important;
}

data-panel {
    display: inline-block;
    position: absolute;
    border: 0 none black;
    padding: 0;
    top:110px;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    overflow: auto;
}

list-data {
    position: relative;
    display: block;
    height: auto;
    padding: 0 5px 0 5px;
    border: 0 none #ffffff;
    margin: auto;
}

list-header{
    display: block;
    position: relative;
    border: 0 none #ffffff;
    padding: 15px 0 10px 10px;

}
title-text{
    font-size: 130%;
    font-family: LatoLight, serif;
    color: rgb(250, 250, 250);
    text-shadow: 1px 1px rgb(40,40,40);
    line-height: 1;
}
.titleRight{
    font-size: 90%;
    position: absolute;
    right: 70px;
}
list-body{
    display: block;
    width: 100%;
}
list-body[short]{
    width: 600px!important;
}
form-data {
    display: block;
    position: relative;
    border: 0 none #ffffff;
    max-width: 650px;
    overflow: auto;
    margin:auto;
    padding: 5px;
    background-color: rgba(255,255,255,0.2);
}
form-header {
    display: block;
    font-size: 130%;
    font-family: LatoLight, serif;
    color: rgb(250, 250, 250);
    text-shadow: 1px 1px rgb(40,40,40);
    line-height: 1;
    padding:10px 0 10px 0;
}
form-label{
    display: block;
    width: 160px;
    text-align: left;
    padding-right: 10px;
}

form-value{
    width: calc(100% - 160px - 10px - 10px);
}
form-field{
    display: inline-flex;
    flex-direction: row;
    padding: 5px 0 5px 0;
    width: 100%;
}
form-buttons{
    display: block;
    padding: 30px 0 5px 0;
    text-align: center;
}

.listTitle{
   padding: 15px;
}
.dataTable{
    border-collapse: collapse;
    border: 0 solid #ddd;
    color:#000000;
    width: 100%;
}

    .dataTable th {
        font-weight: bold;
        padding: 2px 15px 2px 5px;
        color: #FFFFFF;
        background-color: rgba(0,0,0,0.5);
    }

    .dataTable td{
        padding: 5px 5px 5px 5px;
    }
    .dataTable tr:nth-of-type(odd) {
        background-color: rgba(40,40,40,0.1);
    }
    .dataTable tr:nth-of-type(odd):hover{
        background-color: rgba(40,40,40,0.2);
    }
    .dataTable tr:nth-of-type(even) {
        background-color: rgba(40,40,40,0);
    }
    .dataTable tr:nth-of-type(even):hover{
        background-color: rgba(40,40,40,0.2);
    }

.tableHead{
    padding: 8px 15px 8px 0;
    color: #FFFFFF;
    background-color: rgba(0,0,0,0.45);
}
.sortTable th{
    cursor:pointer;
}

.hiddenTable
{
    font-family: Lato, serif;
    border-style:none;
}

.hiddenTable td {
    padding: 3px 3px 3px 3px;
}

.smallTable{
    font-size:90%;
    border-style:none;
    color: rgb(0, 0, 0);
    padding: 0;
}
.smallTable tr{
    padding: 0;
}
.smallTable td{
    padding: 0;
}
.smallTable tr:nth-of-type(odd) {
    background-color: rgba(40,40,40,0);
}
.smallTable tr:nth-of-type(odd):hover{
    background-color: rgba(40,40,40,0);
}
.smallTable tr:nth-of-type(even) {
    background-color: rgba(40,40,40,0);
}
.smallTable tr:nth-of-type(even):hover{
    background-color: rgba(40,40,40,0);
}

.smallTable tr{
    padding: 0;
}
.smallTable td{
    padding: 0;
}
.smallTable tr:nth-of-type(odd) {
    background-color: rgba(40,40,40,0);
}
.smallTable tr:nth-of-type(odd):hover{
    background-color: rgba(40,40,40,0);
}
.smallTable tr:nth-of-type(even) {
    background-color: rgba(40,40,40,0);
}
.smallTable tr:nth-of-type(even):hover{
    background-color: rgba(40,40,40,0);
}

.fieldForm {
    position: relative;
    border: 0 none #ffffff;
    margin: auto;
    margin-top: 10px;
    width: 650px;
    padding: 10px;
    background: rgba(255,255,255,0.2);
}
.fieldItm{
    position: relative;
    border: none;
    padding: 3px;
    min-width: 206px;
}

.dlgPopupBack {
    position: absolute;
    border: none;
    padding: 0;
    opacity: 1;
    z-index: 900;
    width: 100%;
    height: 100%;
    left: 0;
    top:0;
    overflow: hidden;
    background-color: rgba(196,196,196,0.5);
}
.dlgPopup{
    top:30px;
    background: rgb(255,255,255);
    margin: auto;
    margin-top: 30px;
    max-width: 1200px;
    width: 60%;
    padding: 10px;
    overflow: auto;
    z-index: 990;
    box-shadow: 0 1px 5px rgb(0 0 0.6);
}
.cursorPointer {
    cursor: pointer;
}

.noHover:hover {
    background-color: transparent;
}


.info-dialog{
    display: none;
}


.ui-dialog {
    padding: 0;
}

.ui-widget-header {
    height: 20px;
    margin: -1px;
    font-size: 100%;
}

.ui-widget-content {
    margin-top: 12px;
}

.ui-dialog, .ui-widget-content {
    background: rgb(245,245,245) !important;
}

.sort{
    text-align: center;
    white-space: nowrap;
    background-repeat: no-repeat;
    background-position: center right;
    background-image: url(/img/sort_both.png);
}
.sort-asc{
    text-align: center;
    white-space: nowrap;
    background-repeat: no-repeat;
    background-position: center right;
    background-image: url(/img/sort_asc.png);
}
.sort-desc{
    text-align: center;
    white-space: nowrap;
    background-repeat: no-repeat;
    background-position: center right;
    background-image: url(/img/sort_desc.png);
}

.calendarMax{
    width: 18%;
}
.calendarMaxDriver{
    width: 28%;
}
.dashRoad{
    height: 25px;
}

@media screen and (max-width: 1500px) {
    .dlgPopup{
        width: 90%;
    }
}
@media screen and (max-width: 1200px) {
    .dlgPopup{
        width: 100%;
    }
}

@media screen and (max-width: 1000px) {
    .colHide3{
        display: none;
    }
}

@media screen and (max-width: 935px) {

    body{
        font-size: 90%;
    }
    menu-button{
        height: 30px;
        padding: 10px 5px 0 5px;
    }
    submenu-button{
        height: 30px;
        padding: 10px 5px 0 5px;
    }
    main-logo{
        height: 20px;
        width: 90px;
        padding: 10px;
    }
    data-panel {
        top:85px;
        padding: 5px 0 5px 0;
    }
    .colHide2{
        display: none;
    }
    .fieldForm{
        padding: 20px 20px 20px 15%;;
    }
    .calendarMax{
        width: 26%;
    }
    .calendarMaxDriver{
        width: 90%;
    }
    .dataTable{
        margin-top: 5px;
    }
    img.logo {
        width: 20px;
        height: 30px;
        content: url("/img/logo_small.png");
    }
}
@media screen and (max-width: 740px) {
    body{
        font-size: 85%;
    }
    .colHide1{
        display: none;
    }
    .fieldForm{
        padding: 0;
    }
    img.logo {
        width: 20px;
        height: 20px;
    }
}

@media screen and (max-width: 560px) {
    body{
        font-size: 75%;
    }
    main-logo{
        display: none;
    }
    menu-button{
        height: 25px;
        padding: 10px 5px 0 5px;
    }
    submenu-button{
        height: 25px;
        padding: 5px 5px 0 5px;
    }
    data-panel {
        top:65px;
        padding: 0 0 0 0;
    }
    form-field{
        flex-direction: column;
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    body{
        font-size: 65%;
    }
}
@media screen and (max-width: 450px) {
    /* mobile menu */
}