/**
 * File: css/layout.css
 * Package: justcroft-jcint
 * Author: Dr. Pete Ford <pford@justcroft.com>
 * $Header: file:///home/repos/jcint/server/css/layout.css 84 2022-08-18 14:22:36Z pete $
 * Copyright (c) 2020-2022, Justcroft International Ltd
**/
/*
 * css/layout.css
 * Intranet2
 * Author: Dr. Pete Ford <pford@justcroft.com>
 * $Header: file:///home/repos/jcint/server/css/layout.css 84 2022-08-18 14:22:36Z pete $
 * $Revision: 84 $
 * Copyright (c) 2008-2016, Justcroft International Ltd.
*/
*
{
    background-color: transparent;
}

body
{
    font-family: Arial,Helvetica,sans-serif;
    font-size: 10pt;
    color: black;
    background-image: url('images/main-background.jpg');
    background-repeat: no-repeat;
    background-size: 100%;
    background-color: white;
    margin:10px;
    overflow-x: hidden;
}

#coverDots
{
    width: 24px;
    height: 24px;
    background-image: url('images/LoadingProgressBar.gif');
    background-repeat: no-repeat;
    background-size: 100%;
    background-color: white;

}

.ui-widget,
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button
{
    font-family: Arial,Helvetica,sans-serif;
    font-size: 10pt;
}

a,
label.link,
span.link
{
    color: inherit;
    padding: 2px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: bold;
}

a:hover,
.clickable:hover,
label.link:hover,
span.link:hover
{
    background-image: url('images/ui-bg_highlight-hard_75_38a794_1x100.png');
}
.clickable
{
    border: 1px solid black;
    padding: 2px;
    margin-left: 2px;
}
.clickable.selected
{
    background-image: url('images/ui-bg_highlight-hard_75_38a794_1x100.png');
    border: 1px solid white;
}

a[target=_blank]:after
{
    content: ' (opens in new window)';
    font-weight: normal;
    font-size: 80%;
    white-space: nowrap;
}

input[type=text],
input[type=password],
input[type=file],
input[type=number],
textarea,
select
{
    background-color: #F0F0F0;
}

table#layout
{
    width: 100%;
}

table#layout th
{
    /*    background-color: #202c46;*/
}
table#layout th h1
{
    text-align: center;
    /*    color:white;*/
}

table#layout tr#coverTitleRow img
{
    /*height: 106px;*/
    padding-bottom: 10px;
}

table#layout .login
{
    color: #490000;
    font-weight: normal;
    text-align: left;
    padding: 5px 5px;
}

table#layout td
{
    vertical-align: top;
}

table#layout td.menuBox
{
    width: 250px;
}

#menulist ul
{
    z-index: 2000;
}

ul.other-users
{
    margin-top: -2px;
    padding-left: 2em;
    border-top: none;
    padding-bottom: 5px;
}

ul.other-users li
{
    list-style: none;
    white-space: nowrap;
}

.ui-menu .ui-menu-item a
{
    font-size: 10pt;
    font-weight: bold;
    white-space: nowrap;
    line-height: 1.5;
}
.ui-menu .ui-menu-item a.ui-state-active,
.ui-menu .ui-menu-item a.ui-state-focus
{
    font-weight: bold;
}



div.contentBox
{
    height: 450px;
    left: 250px;
}

div.logo-box
{
    background-color: white; 
    height:65px;
    text-align:center;
}

.overlay
{
    position: absolute;
    z-index: 10;
    padding-left: 5px;
    overflow: hidden;
}

.underlay
{
    background-color: #ffeeee;
    opacity: 0.4;
    filter: alpha(opacity=40);
    width: 100%;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.cover
{
    background-color: white;
    opacity: 1;
    top:0px;
    bottom: 0px;
    left:0px;
    right:0px;
    z-index: 99999;
    position: absolute;
}

div#contentInner
{
    overflow: auto;
}

div.contentEdit
{
    padding: 5px;
}

div.linkBox
{
    width: 100%;
    background-color: #788395;
    -moz-border-radius: 10px 10px 0px 0px;
    -webkit-border-radius: 10px 10px 0px 0px;
    border-radius: 10px 10px 0px 0px;
    position: absolute;
    z-index: 15;
    text-align: center;
}

div.linkBox#linkBoxSpacer
{
    position: relative;
}

.footerBox
{
    clear: both;
    text-align: center;
}

p.copyright
{
    top: 0;
    right: 0;
    color: black;
    font-size: 8pt;
    margin-bottom: 2px;
    padding-left: 2px;
    position: absolute;
    width: 240px;
}

.hidden
{
    display: none;
}

.bold
{
    font-weight: bold;
}

.italic
{
    font-style: italic;
}

.underline
{
    text-decoration: underline;
}

.centre
{
    text-align: center !important;
}

.left
{
    text-align: left !important;
}

.right
{
    text-align: right !important;
}

.fixed
{
    font-family: "Droid Sans Mono","Lucida Console","Andale Mono","Courier",monospace !important;
}

.vtop
{
    vertical-align: top;
}

.vmid, tr.vmid th, tr.vmid td
{
    vertical-align: middle !important;
}

.pre
{
    white-space: pre;
}

.red,.Red
{
    color: red;
}

.orangered,.OrangeRed
{
    color: orangered;
}

.blue,.Blue
{
    color: darkblue;
}

.grey,.gray,.Grey,.Gray
{
    color: gray;
}

.darkcyan,.DarkCyan
{
    color: darkcyan;
}

.black,.Black
{
    color: black;
}

.tiny .ui-button-text
{
    font-size: 8pt;
    line-height: 0.6;
    padding: 0.4em;
}
.tiny
{
    font-size: 75%;
}

label.special-button
{
    border: none;
    background: none;
}

ul.linkBar
{
    margin-top: 2px;
    margin-bottom: 2px;
    padding-left: 0;
}

ul.linkBar li
{
    display: inline;
    border-right: 1px solid gray;
}
ul.linkBar li:last-child
{
    display: inline;
    border-right: none;
}

#contentInner dt
{
    padding-top: 5px;
    font-weight: bold;
}

h3 input[type=text]
{
    font-size: inherit;
    font-weight: bold;
    text-align: center;
    background-color: transparent;
    height: 23px;
}

.width-100
{
    width: 100%;
}

.width-90
{
    width: 90%;
}

.width-90-centred
{
    width: 90%;
    margin: auto;
}

.width-50
{
    width: 50%;
}

.width-50-centred
{
    width: 50%;
    margin: auto;
}

.success-box
{
    display: none;
    position: absolute;
    bottom: 0px;
    left: 0px;
    background: url('images/success-background.png');
    padding: 5px;
    border: 1px solid green;
}

.warning-box
{
    display: none;
    position: absolute;
    bottom: 0px;
    right: 0px;
    padding: 5px;
}

.icon-in-text.ui-icon
{
    display: inline !important;
    vertical-align: middle;
}

.table-preamble h3
{
    margin-top: 0;
}

#phpErrors
{
    overflow: hidden;
    white-space: pre;
    position: absolute;
    z-index:20000;
    width: 10px;
    height: 10px;
    top: 0;
    left: 0;
    background-color: red;
}

#phpErrors.visible
{
    overflow: auto;
    width: 100%;
    height: 400px;
    background-color: white;
}

.required-field:after
{
    content: " * ";
    background-color: white;
    color: red;
    font-weight: bold;
}

input.flat
{
    border: none;
    background: none;
}

input.datepicker 
{
    width: 10em;
}

input.amount-item
{
    font-family: monospace;
    text-align: right;
    width: 6em;
}

div.miniview
{
    font-size: 80%;
    border: 1px solid silver;
}

.ui-icon-none
{
    background-position: -96px -224px;
}

.float-left
{
    float: left;
}

.clear-both
{
    clear: both;
}

.single-button-form
{
    display: inline;
}

.content-top
{ 
    padding-top: 1px; 
    border-bottom: 1px solid gray;
}

.content-bottom
{
    padding-bottom: 1px; 
    border-top: 1px solid gray;
}

.template-line
{
    display: none;
}

ul.button-bar
{
    padding-left: 0;
    margin: 0;
    line-height: 19px;
}

ul.button-bar li
{
    display: inline;
    border: 1px solid gray;
    border-top: none;
    white-space: nowrap;
    background-color: buttonface;
    padding-top: 2px;
}

._xh ul.button-bar li
{
    display: list-item;
    background: none;
    border: none;
}

.entry-line textarea
{
    height: 1.333em;
}

.hint
{
    font-style: italic;
}
.small
{
    font-weight: normal;
    font-size: 80%;
}
td.hint
{
    width: 33%;
}

input.autocomplete.key-value-pairs
{
    width: 25em;
}

.stealth-dialog .ui-dialog-titlebar
{
    display: none;
}

.ui-widget-overlay .stealth-modal
{
    position: absolute;
}
