/* Web UI common definitions */

table {
    border-collapse: collapse ;
    border-spacing: 0px ;
    border-width: 0px ;
    border: none ;
}

td {
    padding: 0px ;
}

#overall {
    width: calc(100vw - 60px);
    min-width: 900px;
    margin: 8px auto 0em auto;
}

.overall_default {
    color: #707070;
    background-color: white;
    min-height: auto !important;
    height: auto !important;
    padding: 0px;
    border: none;
    border-radius: 5px;
    box-shadow: 3px 3px 3px #505050;
}

.overall_login {
    color: #eee;
    background-color: transparent;
    height: calc(100vh - 40px);
    min-height: calc(100vh - 40px);
    padding: 0px;
    border: none;
}

#footer {
    font-style: italic;
    color: #c5c5c5;
    background-color: transparent;
    font-weight: bold;
    font-size: 85%;
    padding: 0px;
    text-align: center;
    height: 20px;
    max-height: 20px;
    overflow: hidden;
    margin: 4px 20px 0em 20px;
}

.title {
    font-size: 115%;
    font-weight: bold;
}

A {
    font-size: 110%;
    font-weight: normal;
    text-decoration: underline;
}

A:link {
    background: transparent;
    color: #00a4e6;
}

A:visited {
    background: transparent;
    color: #00a4e6;
}

A:hover {
    background: transparent;
    color: black;
}

/* Login panel */

#login {
    position: relative;
    top: 100px;
    left: 150px;
    width: 300px;
}

#login img {
    border-radius: 8px;
}

#login .panel {
    position: relative;
    color: white;
    background-color: rgba(80,80,90, 0.7);
    width: 300px;
    height: 320px;
    margin-top: 10px;
    border-radius: 8px;
    /*box-shadow: 3px 3px 3px #666;*/
}

#login .title {
    position: relative;
    width: 100%;
    height: 24px;
    top: 20px;
    left: 0px;
    font-size: 120%;
    font-weight: bold;
    text-align: center;
    font-variant: small-caps;
}

#login input[type="button"] {
    color: white;
    background-color: #00a4e6;
    font-family: helvetica, arial, verdana, sans-serif;
    font-weight: bold;
    font-size: 110%;
    border: none;
}

#login input[type="button"]:hover {
    color: black;
    background-color: #9bd1e6;
    font-family: helvetica, arial, verdana, sans-serif;
    font-weight: bold;
    font-size: 110%;
    border: none;
    cursor: pointer;
}

#login a:link, #login a:visited {
    color: white;
    background: transparent;
    font-size: 95%;
    font-weight: bold;
    text-decoration: none;
}

#login a:hover {
    color: white;
    background: transparent;
    font-size: 95%;
    font-weight: bold;
    text-decoration: underline;
}

/* Menu */

#menu {
    position: relative;
    color: #f0f0f0;
    background-color: #38373a;
    padding: 0px;
    border: none;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    overflow: hidden;
}

.wMenu {
    width: 200px;
    min-width: 200px;
}

td.menu {
    font-weight: bold;
    text-align: center;
}

td.menu:hover {
    color: #00a4e6 ;
    background-color: transparent;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
}

td.menusep {
    width: 20px;
    min-width: 20px;
    padding: 0px;
}

td.menusel {
    color: white;
    background-color: #00a4e6;
    font-weight: bold;
    text-align: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

A.menu {
    font-weight: bold;
    font-size: 100%;
}

A.menu:link {
    background: transparent;
    color: #f0f0f0;
    text-decoration: none
}

A.menu:visited {
    background: transparent;
    color: #f0f0f0;
    text-decoration: none
}

A.menu:hover {
    background: transparent;
    color: #00a4e6;
    text-decoration: none;
}

#notifications {
    width: 28px;
    height: 20px;
    padding: 0px 4px 0px 0px;
    text-align: right;
    background-image: url("/skins/pics/notif_off.png");
    background-position: center center;
    background-repeat: no-repeat;
}

#notification_dot {
    color: #00a4e6;
    background: transparent;
    font-weight: bold;
}

#notification_text {
    font-size: 105%;
    color: #333;
    background-color: white;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 3px 0px 3px #ccc;
    padding: 8px;
    position: fixed;
    top: 48px;
    right: 20px;
    width: 230px;
    height: 100px;
    visibility: hidden;
    display: none;
    z-index: 20;
}

.cellIconMenu {
    text-align: right;
    padding: 8px;
    white-space: nowrap;
    font-weight: bold;
}

.cellIconMenu img {
    vertical-align: text-top;
}

/* Contextual menu */

#contextual-icon {
    position: relative;
    width: 30px;
    height: 20px;
    background-image: url("/skins/pics/icon_contextual.png");
    background-position: center center;
    background-repeat: no-repeat;
    cursor: pointer;
    /* lesser than #opopup* */
    z-index: 15;
}

#contextual-icon:hover {
    position: relative;
    width: 30px;
    height: 20px;
    background-image: url("/skins/pics/icon_contextual_hover.png");
    background-position: center center;
    background-repeat: no-repeat;
    cursor: pointer;
    /* lesser than #opopup* */
    z-index: 15;
}

#ocontextual {
    position: fixed;
    top: 0px;
    left: 0px;
    margin: 0px;
    border: none;
    height: 200%;
    width: 100%;
    color: white;
    background-color: rgba(0,0,0, 0.85);
    visibility: hidden;
    display: none;
    /* lesser than #menu */
    z-index: 10;
}

#icontextual {
    position: fixed;
    top: 0px;
    left: -380px;
    /* #overall margin-top (8) + #menu height (~ 32) */
    top: 42px;
    width: 375px;
    height: calc(100vh - 80px - 50px);
    overflow: auto;    
    color: white;
    background-color: black;
    padding: 30px 0px 0px 18px;
    border-radius: 0px 0px 20px 0px;
    border-right: 1px ridge #444;
    border-bottom: 1px ridge #444;
    -moz-transition: left 1s;
    -webkit-transition: left 1s;
    transition: left 1s;
    /* highest */
    z-index: 60;
}

#icontextual table.part {
    border-collapse: separate;
    border-spacing: 0px 12px;
    border-bottom: 1px ridge #484848;
    margin: 8px 0px 0px 0px;
    width: 95%;
}

#icontextual th {
    font-size: 125%;
    font-weight: normal;
    font-variant: small-caps;
    text-align: left;
}

#icontextual td {
    color: #999;
    background-color: transparent;
    text-align: left;
    padding-left: 10px;
    font-size: 100%;
}

#icontextual a {
    font-weight: normal;
    font-size: 100%;
    text-decoration: none;
    cursor: pointer;
}

#icontextual a:link, #icontextual a:visited {
    color: #999;
    background: transparent;
}

#icontextual a:hover {
    color: #00a4e6;
    background: transparent;
}


/* Toolbar */

#toolbar {
    color: white;
    background-color: #00a4e6;
    padding: 4px 0px 0px 0px;
    min-height: 36px;
    font-size: 12px;
}

#menu-tb, #menu-tb ul {
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}

#menu-tb li {
    display: inline-block;
    position: relative;
    border-radius: 8px 8px 0 0;
    min-width: 112px;
    white-space: nowrap;
}

#menu-tb ul li {
    display: inherit;
    border-radius: 0;
    white-space: nowrap;
}

#menu-tb ul li:hover {
    border-radius: 0;
}

#menu-tb ul li:last-child {
    border-radius: 0 0 8px 8px;
}

#menu-tb ul {
    position: absolute;
    z-index: 16;
    max-height: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    -moz-transition: .3s all .1s;
    -webkit-transition: .3s all .1s;
    transition: .3s all .1s;
}

#menu-tb li:hover ul {
    max-height: 300px;
}

#menu-tb li ul li{
    background-color: rgba(50,50,50, 0.95);
}

#menu-tb li:hover, #menu-tb li li:hover{
    color: white;
    background: #0099da;
}

#menu-tb a {
    text-decoration: none;
    display: block;
    padding: 8px 8px;
    color: white;
    font-weight: normal;
    font-size: 100%;
}

#menu-tb ul a {
    padding: 8px 0;
}

#menu-tb li:hover li a {
    color: #fff;
}

#menu-tb li li a {
    color: #fff;
}

#menu-tb li:hover a, #menu-tb li li:hover a {
    color: #fff;
}

.sep {
    border-top: 1px solid #666;
}

/* --- */

.bgw {
    color: #353535;
    background-color: white;
}

.bdg {
    border: 1px solid #e9e9e9;
}

/* Tooltips */

#tt {
    position: absolute;
    display: block;
    z-index: 50;
}

#ttcont {
    display: block;
    padding: 8px;
    background: #555;
    color: #fff;
    border: 1px solid #333;
    border-radius: 8px;
}

/* Popups */

.opopup {
    position: fixed;
    top: 0px;
    left: 0px;
    margin: 0px;
    border: none;
    height: 200%;
    width: 100%;
    color: white;
    background-color: rgba(0,0,0, 0.85);
    visibility: hidden;
    display: none;
}

.ipopup {
    width: 800px;
    height: 600px;
    overflow: auto;    
    margin: 40px auto 0px auto;
    box-shadow: 5px 5px 5px 5px #101010;
}

#opopup1 {
    z-index: 20;
}

#opopup2 {
    z-index: 21;
}

#opopup3 {
    z-index: 22;
}

.btnPopup {
    margin: 0px;
    color: white;
    background-color: #38373a;
    border: 1px solid #18171a;
}

.btnPopup:hover {
    margin: 0px;
    color: black;
    background-color: #fafafa;
    border: 2px ridge #8080d0;
}

/* Forms */

textarea {
    resize: none;
    user-select: text;
}

input, textarea, select {
    font-size: 100%;
    font-weight: normal;
    margin: 0em;
    color: black;
    background: #fafafa;
    border: 1px solid #d0d0d0;
    box-shadow: none;
}

input[type="text"] {
    margin: 0px;
    line-height: 20px;
    padding: 0px 0px 0px 2px;
}

input[type="button"], input[type="submit"], button {
    margin: 0px;
    color: white;
    background-color: #38373a;
    border: 1px solid #18171a;
    font-family: helvetica, arial, verdana, sans-serif;
    box-shadow: none;
}

input[type="button"]:hover, input[type="submit"]:hover, button:hover {
    margin: 0px;
    color: black;
    background-color: #fafafa;
    border: 2px ridge #8080d0;
    font-family: helvetica, arial, verdana, sans-serif;
    box-shadow: none;
}

input[type="button"]:disabled, input[type="submit"]:disabled, button:disabled {
    margin: 0px;
    color: #c5c5c5;
    background-color: #f0f0f0;
    border: 1px solid #d0d0d0;
    box-shadow: none;
}

:disabled {
    margin: 0px;
    color: #b9b9b9;
    background-color: #e0e0e0;
    border: 2px solid #d9d9d9;
    box-shadow: none;
}

input:invalid {
    border: 2px solid red;
    background-color: #FFAAAA;
}

input[type=checkbox][disabled][checked] {
    box-shadow: 2px 2px 2px #707070;
}

input[type="range"], input[type="range"]:focus {
    border: none;
    background-color: transparent;
    box-shadow: none;
    outline: none;
    overflow: hidden;
}

select {
    min-width: 50px;
    padding: 0px;
}

option.odd {
    color: black;
    background: #ffffff;
}

select:focus, input:focus, textarea:focus {
    box-shadow: 2px 2px 2px #707070;
}

/* Labels, use css to align text vertically */

div.label {
    display: inline-block;
}

span.label {
    display: table-cell;
    vertical-align: middle;
}

.fvalue {
    color: black;
    background-color: #FFF;
    border: none;
    padding: 0px 0px 0px 2px;
}

/* Listbox */

div.lb {
    position: relative;
    border: 1px solid #b0b0b0;
}

.disabledLB {
    pointer-events: none;
    opacity: 0.5;
}

div.lb_rows {
    overflow: auto;
}

td.lb_header {
    font-size: 90%;
    border: 1px solid #a0a0a0;
    padding: 0px 5px 0px 5px;
}

tr.lb_header {
    color: black;
    background-color: #eaeaea;
}

tr.lb_odd {
    color: black;
    background-color: #f4f4f4;
    cursor: pointer;
}

tr.lb_even {
    color: black;
    background-color: #ffffff;
    cursor: pointer;
}

tr.lb_selected {
    color: white;
    background-color: #00a4f6;
    cursor: pointer;
}

td.lb {
    font-size: 90%;
    padding: 2px 5px 2px 5px;
}

td.lbnw {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* table_stats */

.tablestat {
    max-height: 450px ;
    overflow: hidden;
}

.tablestat table {
    border-collapse: collapse;
    overflow: hidden;
    margin: 0px;
}

.tablestat thead {
    display: block;
    min-height: 24px;
    overflow: hidden;
    margin-right: 0px;
}

.tablestat thead tr {
    color: #444;
    background-color: #e5e5e5;
}

.tablestat tbody {
    display: block;
    margin-right: 0px;
    overflow-x: hidden;
    overflow-y: auto;
}

.tablestat .odd {
    color: black;
    background-color: #f9f9f9;
}

.tablestat .even {
    color: black;
    background-color: #white;
}

.tablestat td {
    border: 1px solid #d5d5d5;
    padding: 4px;
}

.tablestat a {
    font-size: 100%;
    font-weight: bold;
    text-decoration: underline;
}

.tablestat a:link {
    background: transparent;
    color: black;
}

.tablestat a:visited {
    background: transparent;
    color: black;
}

.tablestat a:hover {
    background: transparent;
    color: #666;
}


/* Log levels */

.log0 {
    color: red;
    background: transparent;
    font-weight: bold;
}

.log1 {
    color: red;
    background: transparent;
    font-weight: bold;
}

.log2 {
    color: red;
    background: transparent;
    font-weight: bold;
}

.log3 {
    color: red;
    background: transparent;
}

.log4 {
    color: #ff5a00;
    background: transparent;
}

.log5 {
    color: green;
    background: transparent;
    font-weight: bold;
}

.log6 {
    color: green;
    background: transparent;
}

.log7 {
    color: gray;
    background: transparent;
}

.valueSel {
    color: black;
    background: #f0f0ff;
}

#progressNumber {
    position: absolute;
    left: 646px;
    top: 195px;
    width: 40px;
    height: 18px;
    padding: 0px;
    color: #00a4e6;
    background-color: transparent;
    text-align: center;
    font-size: 130%;
    visibility: hidden;
}

#progressWarning {
    position: absolute;
    left: 20px;
    top: 234px;
    width: 490px;
    height: 20px;
    color: #a0a0a0;
    background-color: transparent;
    font-size: 100%;
    font-style: italic;
    visibility: hidden;
}

#progressBar {
    position: absolute;
    left: 20px;
    top: 200px;
    width: 620px;
    height: 16px;
    padding: 0px;
    visibility: hidden;
    margin: 0px;
}

progress[value] {
    -webkit-appearance: none;  
    -moz-appearance: none;
    appearance: none;
}

/* Chrome progress bar background */
progress[value]::-webkit-progress-bar {
    color: white;
    background-color: transparent;
}

/* Chrome progress bar value */
progress[value]::-webkit-progress-value {
    color: white;
    background-color: #00a4e6;
}

/* Firefox progress bar value */
progress[value]::-moz-progress-bar {
    color: white;
    background-color: #00a4e6;
}

pre.code {
    color: #222;
    background-color: white;
    border: 1px solid #e0e0e0;
    white-space: pre-wrap;
    margin: 0px;
    padding: 4px;
}

code {
    font-family: courier, fixed, monospace;
    font-size: 85%;
}

.codevar {
    color: #cf0b6c;
    background-color: transparent;
    font-family: courier, fixed, monospace;
    font-weight: bold;
}

.codetag {
    color: #cf0b6c;
    background-color: transparent;
    font-family: courier, fixed, monospace;
    font-weight: bold;
}

.codeattr {
    color: #00a4e6;
    background-color: transparent;
    font-family: courier, fixed, monospace;
    font-weight: bold;
    font-style: italic;
}

.codevalue {
    color: #642878;
    background-color: transparent;
    font-family: courier, fixed, monospace;
    font-weight: bold;
    font-style: italic;
}


/* Vertical menu */

.grad {
    color: #d0d0d0;
    /* Safari <= 6.0 */
    background: -webkit-linear-gradient(left, black, #303030);
    /* Opera <= 12.0 */
    background: -o-linear-gradient(right, black, #303030);
    /* Firefox <= 15 */
    background: -moz-linear-gradient(right, black, #303030);
    /* Standard CSS method */
    background: linear-gradient(to right, black, #303030);
    /* For other browsers */
    background-color: black;
}

.vmenu {
    margin-top: 8px;
    padding: 6px 0px 6px 6px;
    border-bottom: 1px ridge #484848;
}

.vmenu:hover {
    cursor: pointer;
}

.vsmenu_padding {
    padding-left: 30px;    
}

.vsmenu_h  {
    height: 24px;
    min-height: 24px;
    max-height: 24px;
}

.vsmenu {
    color: #a0a0a0;
    background-color: transparent;
}

.vsmenu_sel {
    color: black;
    background: #666;
    /*background-color: #00a4e6;*/
}

.vsmenu:hover {
    cursor: pointer;
    color: #00a4e6;
    background-color: transparent;
}

.vsicon {
    width: 14px;
    min-width: 14px;
    max-width: 14px;
    text-align: center;
}

.vsinfo {
    font-weight: normal;
    font-size: 90%;
    text-align: right;
    font-style: italic;
}

.vsrefresh {
    cursor: pointer;
}

.vswarning {
    color: black;
    background: red;
    font-weight: bold;
    padding: 0px 3px 0px 3px;
}

/* Stats graphs */

.statGraph {
    border-collapse: collapse;
    color: #a0a0a0;
    background: white;
    padding: 0px;
}

.statLegend {
    padding: 1px 8px 1px 8px;
}

.statGraphL {
    font-size: 90%;
    padding: 2px 0px 0px 30px;
}

.statGraphL select {
    border: 1px solid #ddd;
    margin: 0px 5px 0px 0px;
    min-width: 130px;
    border-radius: 5px;
}

.statGraphL select, .statGraphL option, .statGraphL button {
    font-family: helvetica, arial, verdana, sans-serif;
    font-size: 90%;
    color: #333;
    background-color: white;
    padding: 0px 2px 0px 2px;
}

.statGraphL button {
    height: 20px;
    border: 1px solid #ddd;
    margin: 0px 5px 0px 0px;
    border-radius: 5px;
}

.statGraphR {
    font-size: 90%;
    color: #333;
    background-color: transparent;
    padding: 2px 8px 0px 0px;
    text-align: right;
}

table.statSerie {
    border-collapse: separate;
    border-spacing: 8px 0px;
}

.statSerie td {
    color: #444;
    background: white;
    /*min-width: 50px;*/
    text-align: center;
    padding: 2px;
    font-size: 90%;
    font-weight: normal;
}

/* The following definitions are taken from oawb common.css */

.bold {
    font-weight: bold ;
}

.p0 {
    padding: 0px ;
}

.m0 {
    margin: 0px ;
}

.m4 {
    margin: 4px ;
}

.m8 {
    margin: 8px ;
}

.p1 {
    padding: 1px ;
}

.p2 {
    padding: 2px ;
}

.p3 {
    padding: 3px ;
}

.p4 {
    padding: 4px ;
}

.p8 {
    padding: 8px ;
}

.p10 {
    padding: 10px ;
}

.p12 {
    padding: 12px ;
}

.w100 {
    width: 100% ;
}

.w50 {
    width: 50% ;
    max-width: 50% ;
    min-width: 50% ;
}

.w33 {
    width: 33% ;
    max-width: 33% ;
    min-width: 33% ;
}

.vtop {
    vertical-align: top ;
}

.vbottom {
    vertical-align: bottom ;
}

.vmiddle {
    vertical-align: middle ;
}

.acenter {
    text-align: center ;
}

.aleft {
    text-align: left ;
}

.aright {
    text-align: right ;
}

.ajustify {
    text-align: justify ;
}

.hidden {
    display: none ;
    visibility: hidden ;
}

.small {
    font-size: 12px ;
}

.vsmall {
    font-size: 11px ;
}

.big {
    font-size: 18px ;
}

.vbig {
    font-size: 22px ;
}

.italic {
    font-style: italic;
}

img {
    padding: 0px ;
    margin: 0px ;
    border: none ;
    vertical-align: middle ;
}

.stroke {
    text-decoration: line-through;
}

.invisible {
    display: none ;
    visibility: hidden ;
}

.display_block {
    display: block ;
    visibility: visible ;
}

.display_invisible {
    display: block ;
    visibility: hidden ;
}

.clear {
    clear: both ;
}

.nw {
    white-space: nowrap;
}

.r8 {
    border-radius: 5px ;
}

.r10 {
    border-radius: 10px ;
}
