/* $Id: main.css 3330 2020-07-15 23:28:52Z fernda $ */

/* page layout --------------------------------------- */

* {
    font-family: inherit;
    font-style: inherit;
    font-size: 100%;
    }
strong, b, strong *, b * { font-weight: bold !important; }
em, i, em *, i * { font-style: italic !important; }
html,body {
    margin:0;
    padding:0
}
body {
    height:100%;
    margin:0;
}

#top_border{
    height: 18px;
}
#topmenu img {
    display: inline;
    border: 0;
    padding: 0;
}
#top_border span {
    font-size: 15px;
}
#top_border a {
    color: #004026;
    text-decoration: none;
}

@media print {
    #top_border, #topmenu, #current_menu {
        display: none;
    }
    * {
        font-family: "Nimbus Sans L", sans-serif;
    }
}


#content {
    overflow:auto;
    position:absolute;
    left:0;
    right:0;
    top:93px;
    bottom:25px;
}

#AGD_login_content {
    overflow:auto;
    position:absolute;
    background-image: url('/auth-static/AGD_login_bg.jpg');
    background-size: cover;
    left:0;
    right:0;
    top:0;
    bottom:25px;
}

#ACM_login_content {
    overflow:auto;
    position:absolute;
    background-image: url('/auth-static/ACM_login_bg.jpg');
    background-size: cover;
    left:0;
    right:0;
    top:0;
    bottom:25px;
}

#AGT_login_content {
    overflow:auto;
    position:absolute;
    background-image: url('/auth-static/AGT_login_bg.jpg');
    background-size: cover;
    left:0;
    right:0;
    top:0;
    bottom:25px;
}

.contentinner {
    padding: 25px;
}
#footer {
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:25px;
    overflow:hidden;
}
.footerstretch {
    text-align: center;
    margin-top: 6px;
}

@media print {
    display: none;
}

/* visibility and misc layout ------------------------ */
.hide_page {
    visibility: hidden;
}
.display_none {
    display: none;
}
.clearing {
    height: 0;
    clear: both;
}
table.layout {
}
table.layout > tbody > tr > td, table.layout > tbody > tr > th, table.layout > thead > tr > td {
/*    border: 1px solid #999;   */ /* for debug */
/*    text-align: left; */
    vertical-align: top;
}
table.layout > thead > tr > th, table.layout > tbody > tr > th {
    padding-left: 2em;
    padding-right: 1em;
}
table.layout.left_spaced > * > tr > * {
    padding-left: 0.5em;
}
table.debug, table.debug > * > * > * {
    border: 1px solid black;
}

/* body and fonts ------------------------------------ */

body {
    font-family: Calibri, Helvetica, sans-serif;
    font-size: 15px; /* This size controls; buttons, table controls outside the table (row count, next/prev), non-field labels */
    margin: 0px;
    width: 100%;
}
.sans {
    font-family: sans-serif
}
.mono {
    font-family: monospace;
}

/* header components --------------------------------- */


.userinfo {
    font-weight: bold;
    padding: 4px;
}


/* menu ---------------------------------------------- */

#topmenu {
    overflow-x: auto;
    overflow-y: visible;
    white-space: nowrap;
    max-height: 55px;
    scrollbar-width: thin;
	-ms-overflow-style: -ms-autohiding-scrollbar;
}

#topmenu::-webkit-scrollbar-track
{
	background-color: #f1f1f1;
}
#topmenu::-webkit-scrollbar
{
	width: 5px;
	height: 5px;
	background-color: #f1f1f1
}
#topmenu::-webkit-scrollbar-thumb
{
	background-color: #c1c1c1;
}

.sub-menu-parent { }

.sub-menu-parent-rediatm{

}

.sub-menu {
    display: none;
	position: absolute;
/*  visibility: hidden;
  opacity: 0;
  z-index: -1;
  position: absolute;
  top: 100%;
  left: 0; */
  min-width: 150px;
}

.sub-menu-rediatm {
    display: none;
	position: absolute;
/*  visibility: hidden;
  opacity: 0;
  z-index: -1;
  position: absolute;
  top: 100%;
  left: 0; */

}

/* .sub-menu-parent:hover .sub-menu {
  visibility: visible;
  opacity: 1;
  z-index: 1;
} */

.schedule-configuration-sub-menu{
    top:0px;
}
.home_link {
    padding-left: 5px;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 20px;
}
a.home_link:hover {
    background-color: #fff;
}

/* presentational */

nav {
    display: block;
    width: 100%;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    margin: 0; padding: 0;
}

/* force login info to the right */
ul li.last {
    float: right;
    overflow: hidden;
}

nav a {
    display: block;
    padding: 9px 8px;
    margin: 0;
    text-decoration: none;
    font-weight: bold;
}

nav a.rediatm {
    display: block;
    padding: 9px 8px;
    margin: 0;
    text-decoration: none;
    font-weight: bold;
    position: relative;
}
/*nav a.rediatm[data-highlightword]:before {
    color: red;
    content: attr(data-highlightword);
    position: absolute;
}*/

nav ul,
nav ul li {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav > ul { text-align: left; }
nav > ul > li { display: inline-block; vertical-align: top;}
nav > ul > li:first-child { border-left: none; }

.menu_detail {
    display: none;
}

.menu_detail_rediatm {
    display: none;
}

div.menu_detail > a,
div.menu_detail_rediatm > a {
    text-decoration: none;
    font-weight: bold;
    padding: 1px 4px 1px 4px;
}


/* login --------------------------------------------- */
.login_container {
	/* fixed position a zero-height full width container */
	position: fixed;
	top: 25%;
	left: 0;
	right: 0;
	height: 0;
	/* center all inline content */
	text-align: center;
}

.login_container > div {
	/* make the block inline */
	display: inline-block;
	/* reset container's center alignment */
	text-align: left;
}

#login {
    background: #e4e4e4;
    border: 1px solid black;
    border-radius: 5px;
    box-shadow: 5px 5px 10px #888;
    padding: 2em;
}

#login img {
    padding-left: 60px;
}

#login table {
    padding: 20px;
}

#login input[type=submit], #login button {
    padding: 5px 20px 5px 20px;
    margin-left: 60px;
}

/* headings ------------------------------------------ */

h1 {
    text-align: center;
    margin: 0px 4px 30px 4px;
    font-size: 25px;
}
h2 {
    font-size: 20px;
}
h3 {
    font-size: 16px;
}
.nomargin {
    margin: 0;
}


/* messages and errors ------------------------------- */

.message {
	clear: both;
}
.loud_message {
    font-size: 2.0em;
}
.error {
    font-weight: bold;
}
.highlight_total > td, .highlight_total > .slick-cell {
    font-weight: bold !important;
}

/* tables in general --------------------------------- */

table {
    border-collapse: collapse;
    border-spacing: 0px;
    font-size: 15px;
}

.table th, .table td {
    padding: 1px;
    padding-left: 4px;
    padding-right: 4px;
    font-weight: normal;
}

table.spaced > thead > tr > th, table.spaced > tbody > tr > td, table.spaced > tbody > tr > th {
    padding: 3px;
}

table.colspaced > tbody > tr > td {
    padding-right: 30px;
}

table.bothspaced td {
    padding-right: 50px;
    padding-bottom: 6px;
}

table.clip > tbody > tr > td {
    overflow: hidden;
}

tr.noborder > td {
    border: none !important;
}
tr.nopadding > td {
    padding: 0 !important;
}

/* table heading colors ----------------------------- */

.table th {
    padding: 3px;
}
table.sortable thead tr .headerSortDown a, table.sortable thead tr .headerSortUp a {
    font-weight: bold;
}

/* forms, form controls, form table layout ----------- */

td.label {
    font-weight: bold;
    text-align: right;
    white-space: nowrap;
}
span.label {
    font-weight: bold;
    text-align: right;
    white-space: nowrap;
}
.buttons {
    padding-left: 65px;
    margin-top: 15px;
}
.buttons form {
    display: inline-block;
}
.login_button {
    margin: 15px auto 0;
    text-align: center;
    width: 100%;
}
.columnspacer {
    width: 20px;
}
table.form {
    border-collapse: separate;  /* avoid a chrome bug */
}
table.form th {
    vertical-align: top;
    padding-top: 8px;
    padding-left: 16px;
    font-weight: bold;
    text-align: right;
    white-space: nowrap;
}
.field_label {
    vertical-align: top;
    padding-top: 8px;
    padding-left: 16px;
    font-weight: bold;
    text-align: right;
    white-space: nowrap;
}
.field_label_center {
    vertical-align: top;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
}
.table_field_label {
    text-align: center;
    background: #eee;
}
.table_cell_numeric {
    text-align: right;
}
table.form td {
    vertical-align: top;
}
table.form td .data_span {
    margin-top: 8px;
    margin-left: 8px;
    display: inline-block;
}

/* Just for the View Type buttons on View Schedule as of now */
.vert_centered_field {
    vertical-align: middle !important;
}

/* boxes --------------------------------------------- */

.box {
    border: 1px solid #999;
    padding: 5px;
    float: left;
    clear: both;
}

div.extra_filter_fields {
    border-radius: 8px;
    padding: 0;
    margin: 0;
}

/* data tables and navigation------------------------- */

table.table > thead > tr > th, table.table > tbody > tr > td {
    border: 1px solid #b7b7b7;
    padding: 2px;
    padding-left: 4px;
    padding-right: 4px;
}

td.header {
    text-align: center;
}

table.table > thead > tr > th {
    text-align: center;
}

table.table > thead > tr > .header > a {
    text-decoration: none;
    color: black;
    white-space: nowrap;
}
table.table > tbody > tr.disabled {
    background: #e7e7e7;
    color: #777;
}
table.main {
    background: white;
    width: 100%;
    height: 100px;
    border: none;
}
.wide {
    width: 100%;
}
.prevnext {
    float: right;
    margin-right: 10px;
}
@media screen {
    tr.selected, tr.selected > td, tr.selected > td > a {
      background-color: #0A246A !important;
      color: #fff !important;
    }
}
table.smalltext > tbody > tr > td, td.smalltext, th.smalltext {
    font-size: 8pt;
}
table > tbody > tr > td > small {
    font-size: 8pt;
}
span.smalltext {
    font-size: 8pt;
}

/* row / column highlighting */
table.table tbody tr:nth-child(odd) { background: white; }
table.table tbody tr:nth-child(even) { background: #f0f0f0; }
table.treeTable tbody tr:nth-child(odd) { background: white; }
table.treeTable tbody tr:nth-child(even) { background: white; }

table.selectable > tbody > tr {
    cursor: hand;
    cursor: pointer;
}

/* links --------------------------------------------- */

a:link {
    color: #004026;
}
a.hiddenlink {
    text-decoration: none;
    color: black;
}
a.hiddenlink img {
    border: none;
}
img.link {
    border: 0;
}

/* table fine border control for fancy form layout --- */

td.b_top, th.b_top {
    border-top: 1px solid #999;
}
td.b_bottom, th.b_bottom {
    border-bottom: 1px solid #999;
}
td.b_left, th.b_left {
    border-left: 1px solid #999;
}
td.b_right, th.b_right {
    border-right: 1px solid #999;
}

/* line break control, for data tables and general --- */

.nobr {
    white-space: nowrap;
}
th {
    white-space: nowrap;
}
table.th_br > thead > tr > th {
    white-space: normal;
}
table.td_nobr > tbody > tr > td {
    white-space: nowrap;
}

/* misc ---------------------------------------------- */

.incomplete {
    background: #ff7f7f;
}
td.center {
    text-align: center;
}
td.left, th.left, table.form th.left {
    text-align: left;
}
td.right, th.right, table.form th.right, input.right {
    text-align: right;
}
td.money {
    text-align: right;
}
td.date {
    text-align: right;
}
td.number {
    text-align: right;
}
.widget_symbols {
    font-size: large;
    float: right;
    cursor: hand;
    cursor: pointer;
}
th.white {
    background: white;
}
.red {
    color: #b60000 !important;
}
.red_star {
    color: #b60000 !important;
    font-weight: bold;
}


/* status box ---------------------------------------- */

.statusbox_window {
    overflow: auto;
    border: 1px inset black;
    background: white;
    font-family: monospace;
}
.statusbox {
    padding: 2px;
    margin: 0px;
    white-space: pre;
    width: 0;
}
.statusbox hr {
    width: 1100px;
}
.scrolldiv {
    overflow: auto;
    overflow-y: scroll;
    border: 1px solid #ccc;
}

/* tree ---------------------------------------------- */

table > tbody > tr > td.treecol {
  padding: 0em 0em 0em 1.5em;
}

/* tabs styling -------------------------------------- */

.tabbox ul {
    padding: 0;
    padding-left: 30px;
}
.tabbox li { list-style: none; float:left; }
.tabbox ul a {
    display:block;
    padding:4px 15px 2px 15px;
    text-decoration:none !important;
    margin-right: 7px;
    color:#222;
    background:#eee;
    border: 1px solid black;
    margin-bottom: -1px;
    border-radius: 4px 4px 0 0;
    text-align: center;
    vertical-align: middle;
}
.tabbox ul a:hover {
    background:#ddd;
    color:black;
    }
.tabbox ul a.selected {
    color:#000;
    background: snow;
    border-bottom:1px solid snow;
    cursor:default;
    font-weight: bold;
    }
.tabbox > div {
    padding: 10px;
    clear:left;
    background: snow;
    border: 1px solid black;
    border-radius: 4px;
}
.tabbox div a { color:#000; font-weight:bold; }
pre {
    white-space: pre;
}

/* misc ---------------------------------------------- */

.no_select_text {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body *.printtableonly {
    display: none;
}

/* form styling -------------------------------------- */

input[type="file" i] {
     align-items: baseline;
    text-align: start;
    padding: 2px 8px;
    border-width: 1px;
    border-style: solid;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
     border-radius: 5px;
    margin: 4px;
}

input[type=text], input[type=password], input[type=email], input[type=number], select, textarea {
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -khtml-border-radius: 3px;
     border-radius: 3px;
    margin: 4px;
    padding: 2px;
}

/* settings for the FDB and Jeni entry grids */

table.grid_input > thead > tr > th  {
    border: 1px solid #888;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 1px;
    padding-right: 1px;
}

table.grid_input > tbody > tr > td  {
    border: 1px solid #b7b7b7;
    padding: 0;
}

table.grid_input > thead > tr > th  {
    text-align: center;
}

input.grid_input, select.grid_input {
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    -khtml-border-radius: 0;
     border-radius: 0;
    margin: 0;
    padding-left: 4px;
    border: 0 !important;
    width: 100%;
    height: 22px;
    line-height: 22px;
    display: block;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

/* these grid colors are blue shades, for ANZ */

.grid_heading {
    background: #69BAFC;
}

input.grid_input.grid_format_money {
    text-align: right;
}

input.grid_input.grid_error {
    background: #ffb3b3 !important;
}

input.grid_input.grid_highlight,
select.grid_input.grid_highlight,
input.grid_input.dialog_grid_highlight {
    background: #ACD9FD;
}

/* green shades for Jeni screens */

.jeni_grid_heading {
    background: #96B1A7;
}

input.grid_input.jeni_grid_highlight,
select.grid_input.jeni_grid_highlight,
input.grid_input.jeni_dialog_grid_highlight {
    background: #C5E4D6;
}

td.jeni_grid_readonly {
    background: #ddd;
    padding-top: 2px; padding-left: 4px
}

tr.jeni_grid_highlight > td.jeni_grid_readonly,
tr.jeni_grid_highlight > td > input[readonly] {
    background: #D3E0DA;  /* TODO grey-green */
}

input.grid_input:focus, select.grid_input:focus {
    background: white;
    -moz-box-shadow:    inset 0 0 2px #000000 !important;
    -webkit-box-shadow: inset 0 0 2px #000000 !important;
    box-shadow:         inset 0 0 2px #000000 !important;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}


/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
}

/* -------------------------------------------------------------- */

input[type=submit], input[type=button], button {
    padding: 2px 8px;
    border-width: 1px;
    border-style: solid;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
     border-radius: 5px;
    margin: 4px;
}

input[type=submit]:active, input[type=button]:active, button:active {
    transform: translate(0px,1px);
}

input[type=submit][disabled], input[type=button][disabled], button[disabled] {
    font-weight: normal;
    background: #e7e7e7;
    color: #777;
    border-width: 1px;
    border-right-color: #aaa;
    border-bottom-color: #aaa;
    border-left-color: #ccc;
    border-top-color: #ccc;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
    margin: 4px;
}
body.not_ie input:focus,textarea:focus,select:focus,button:focus {
    outline:none;
}
body.not_ie input:invalid,textarea:invalid,select:invalid {
    outline:2px solid red;
}
input::-moz-focus-inner, button::-moz-focus-inner, select::-moz-focus-inner {
    border: 0;
}
a {
    padding: 2px;
    margin: 1px;
}
body.not_ie a:focus {
    outline:none;
}
a.undeco,a.undeco:focus,a.undeco:hover {
    color: inherit;
    background: inherit;
    text-decoration: none;
    outline:none;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0px;
    margin: 0px;
}
iframe {
    border-right-color: #ccc;
    border-bottom-color: #ccc;
}

body.waiting * {
    cursor: progress;
}

img.check {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

.pagebreak {
    page-break-after: always;
}
.pagebreakafter {
    page-break-after: always;
}
.nopagebreak {
    page-break-inside: avoid;
}

input[type="text"][readonly], input[type="email"][readonly], input[type="number"][readonly], select.readonly {
    background: #ddd;
    color: black;
}
select.readonly {
    background: #ddd;
    color: black;
}

tr.tr_blank {
    background: none !important;
}
tr.tr_blank > td, tr.tr_blank > th {
    border: none;
    height: 1.5em;
}

tfoot.filters > tr > th { padding: 0; }
tfoot.filters > tr > th > input {
    border: 1px inset #aaa;
    padding: 0; margin: 0;
    width: 100%; height: 100%;
/*    width: calc(100% - 2px); height: (100% - 2px); */
}

.hidden {
    visibility: hidden;
}

input.red_bg {
    background-color: pink !important;
}

tr.error, tr.error td {
    background: pink;
    color: inherit;
}

img.icons_24x24 {
width: 24px;
height: 24px;
display: inline-block;
float:none !important;
}

img.icons_26x24 {
width: 26px;
height: 24px;
display: inline-block;
float:none !important;
}

img.icons_30x30, img.fnone {
width: 30px;
height: 30px;
display: inline-block;
float:none !important;
}
