/*@font-face {
    font-family: latoLight;
    src: url(font/Lato-Light.ttf);
}
@font-face {
    font-family: latoHeavy;
    src: url(font/Lato-Heavy.ttf);
}
@font-face {
    font-family: latoRegular;
    src: url(font/Lato-Regular.ttf);
}*/

html {
    height: 100%;
    min-height: 100%;
    /* for firefox */
}

html#iframe {
    height: 90%;
    min-height: 90%;
}

body {
    font-family: 'Lato-Light', sans-serif;
    background-image: url(../img/logo240.png);
    background-repeat: no-repeat;
    background-position: 55px 10px;
    font-size: 10pt;
    height: 100%;
    min-height: 100%;
    /* for firefox */
}

html#iframe body {
    background-image: none;
}

a,
a:hover,
a:active,
a:visited {
    text-decoration: none;
    color: rgb(56, 35, 2);
    font-family: 'Lato', sans-serif;
    padding-left: 15px;
    background-image: url(../img/css/arrow-right-12x12.png);
    background-repeat: no-repeat;
    background-position: 0px 2px;
}

a.invisible,
ul li a,
ul li a:hover,
ul li a:visited,
ul li a:active,
a.paginate_button,
a.paginate_button:hover {
    background-image: none !important;
    padding-left: 0px;
}

a.fancybox-close {
    background-image: url(/intranet/html/js/lib/fancybox/fancybox_sprite.png);
    padding-left: initial;
}

ul {
    list-style-type: square;
    list-style-position: inside;
    list-style-image: none;
    padding-left: 0px;
}

table {
    font-size: 10pt;
}

h1 {
    /*font-family: 'Lato Black';*/
    font-weight: 700;
    font-size: 16px;
}

div#pageContent {
    margin-left: 10px;
    margin-right: 10px;
}

html#iframe body div#pageContent {
    margin-left: 0px;
}

div#headerBlock {
    margin-left: 260px;
    margin-top: 0px;
    height: 65px;
}

div#navBlock {
    /*width: 850px;*/
    min-height: 30px;
    margin-top: 30px;
    background-color: #eee;
}

div#contentBlock {
    margin-top: 0px;
}

html#iframe body div#contentBlock {
    margin-top: 0px;
}

div#footerBlock {
    height: 30px;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}

.info-background {
    background-color: #ffcd16 !important;
}

.warning-background {
    background-color: orange !important;
}

.success-background {
    background-color: green !important;
}

.error-background {
    background-color: red !important;
}

.warning {
    color: fuchsia !important;
}

.success {
    color: green !important;
}

.error {
    color: red !important;
}

.hidden {
    display: none !important;
}

table td,
table th {
    height: 30px;
}

table th {
    /*font-family: latoHeavy;*/
    font-weight: 900;
    /*font-family: 'Lato-Heavy'*/
}

table.dataTable,
table.xDataTable {
    border-left: 1px solid rgb(56, 35, 2);
    border-top: 1px solid rgb(56, 35, 2);
    border-bottom: 1px solid black
}

table.dataTable {
    --dt-row_background: #eee;
    --dt-row_background-stripe: 204, 204, 204;
    --dt-row_alpha-stripe: 1;
}

table.dataTable td,
table.dataTable th,
table.xDataTable td,
table.xDataTable th {
    border-bottom: 1px solid rgb(56, 35, 2);
    border-right: 1px solid rgb(56, 35, 2);
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 2px;
    padding-bottom: 2px;
}


table.dataTable tr.even,
table.xDataTable tr.even {
    background-color: #eee;
}

table.dataTable tr.odd,
table.xDataTable tr.odd {
    background-color: #ccc;
}

table.formTable {
    border-left: 1px solid rgb(56, 35, 2);
    border-top: 1px solid rgb(56, 35, 2);
    border-right: 1px solid rgb(56, 35, 2);
}

table.formTable td,
table.formTable th {
    border-bottom: 1px solid rgb(56, 35, 2);
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 2px;
    padding-bottom: 2px;
}

table.formTable th {
    background-color: #ffcd16;
}

table.formTable th.header,
table.dataTable tr.header,
table.xDataTable tr.header {
    color: white;
    background-color: rgb(56, 35, 2);
}

table.table td,
table.table th {
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 2px;
    padding-bottom: 2px;
}

table td.noBorder {
    border: none;
}

table#loginTable {
    border: 2px solid rgb(56, 35, 2);
}

table#loginTable th {
    border-bottom: 1px solid rgb(56, 35, 2);
    background-color: #ffcd16;
}

table#loginTable td {
    border-bottom: 1px solid grey;
}

input.textInput {
    border: 1px solid rgb(56, 35, 2);
    width: 250px;
}

input.datepicker-input {
    width: 80px;
}

input.datepicker-input-90 {
    width: 90px;
}

input.center {
    text-align: center;
}

input[type='time'] {
    font-family: system-ui;
    font-size: 11px;
}

select {
    min-width: 100px;
    max-width: 90%;
}


a.button {
    display: inline-block;
    margin-left: 7px;
    border: 1px solid rgb(56, 35, 2);
    -moz-border-radius: 2px;
    /* FF1+ */
    -webkit-border-radius: 2px;
    /* Saf3-4, iOS 1+, Android 1.5+ */
    border-radius: 2px;
    /* Opera 10.5, IE9, Saf5, Chrome, FF4 */
    padding: 1px 5px;
    color: rgb(56, 35, 2);
    font-size: 85%;
    text-decoration: none;
    background: #ffcd16;

}


tr.bottom-border td,
tr.bottom-border th {
    border-bottom: 2px solid rgb(56, 35, 2);
}

tr.top-border td,
tr.top-border th {
    border-top: 1px solid rgb(56, 35, 2);
}

.status-light-red,
.status-light-yellow,
.status-light-green {
    background-image: url("../img/css/Traffic_Lights_40px.png");
    background-repeat: no-repeat;
    height: 13px;
    width: 39px;
    background-color: green;
}

.status-light-red {
    background-position: 0px -15px;
}

.status-light-yellow {
    background-position: 0px -29px;
}

.status-light-green {
    background-position: 0px -44px;
}

ul#navBar {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul#navBar li {
    float: left;
    background-color: #eee;
    border-left: 1px solid rgb(56, 35, 2);
}

ul#navBar> :first-child {
    border-left: none !important;
}

ul#navBar li.active {
    background-color: #ffcd16;
}

ul#navBar li:hover {
    background-color: #ccc;
}


ul#navBar li a {
    display: block;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 6px;
    padding-bottom: 6px;
    /*width: 60px;*/
}


textarea {
    font-family: monospace;
    font-size: 12px;

}


div.pointer {
    cursor: pointer;
}


/** overlay menu **/

/* Dropdown Button */
.dropbtn {
    /*background-color: #3498DB;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;*/
    cursor: pointer;
}

/* Dropdown button on hover & focus */
.dropbtn:hover,
.dropbtn:focus {
    /*background-color: #2980B9;*/
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    background-image: none;
    padding-left: 0px;

    padding: 5px 10px;
    /*line-height: 18px;*/
    text-decoration: none;
    display: flex;

    img, svg {
        width: 16px;
        height: 16px;
        padding-right: 5px;
    }
}

input.disabled {
    background-color: #eee;
    color: #666666;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
    display: block;
}


/** end overlay menu **/


@media only screen and (max-width: 812px) {

    /* For mobile phones: */
    div#optionalHideBlock {
        visibility: hidden;
        ;
        display: none;
    }

    td.optionalDisplay,
    th.optionalDisplay {
        visibility: hidden;
        ;
        display: none;
    }

    body {
        background-image: none;
    }

    div#navBlock {
        margin-top: 10px;
    }

    div#pageContent {
        margin-left: 5px;
        margin-right: 5px;
    }

}

.action-toolbar {
    background-color: #eee;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    padding: 0.5rem;
    display: flex;

    .align-right {
        margin-left: auto;
    }
}

.formTable td pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
    margin: 0;
}

.messages {
    margin-top: 1rem;
    font-weight: bold;
}

span.param-label {
    padding-top: 6px;
}

