/**
 * File: site/css/layout.css
 * Package: justcroft-groendael-server
 * Author: Dr. Pete Ford <pford@justcroft.com>
 * $Header: svn+ssh://alicevm.justcroft.com/home/repos/Apps/Groendael.nl/server/site/css/layout.css 1962 2022-08-17 09:52:04Z pete $
 * Copyright (c) 2018-2022, Justcroft International Ltd
*/

*
{
    background-color: transparent;
}

body
{
    font-family: Arial,Helvetica,sans-serif;
    font-size: 10pt;
    color: black;
    background-size: 100%;
    background-color: white;
    margin:10px;
    overflow-x: hidden;
}


.gen-row-green
{
	background: var(--menuGreenLight);
}

td
{
        padding-top:  8px;
        padding-bottom: 8px;
}


#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-color: rgba(106, 107, 136,0.6);
}
.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]
{
    background-image: url("/css/images/external_link.png");
    padding-right: 1.2em;
    background-position: right;
    background-repeat: no-repeat;
    background-size: 1.2em;
}

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

.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;
}

.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: 2px;
    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;
}

#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,
input.read-only
{
    border: none;
    background: none;
}

input.datepicker 
{
    width: 10em;
    position: relative; 
    z-index: 100000;
}

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;
}

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

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


.button
{
	background-color: var(--menuGreenLight);
}

.button-bar
{
    padding-top: 1em;
    margin-top: 1em;
    border-top: 1px solid var(--dark-colour);
}

.dark-green
{
    color: #67852f;
}

.mid-green
{
    color: #84a038;
}

.light-green
{
    color: #a9ca49;
}

table.fixed-headers
{
    width: 100%;
    border-spacing: 0 1px;
}

table.fixed-headers thead
{
    position: sticky;
    position: -webkit-sticky;
    top: 0px;
    z-index: 100;
    background-color: white;
}

table.fixed-headers thead tr th, table.fixed-headers thead tr td
{
    border-bottom: 1px solid var(--dark-colour);
}

table.stripes-tab {
    border: 0; 
    border-collapse: separate; 
    border-spacing: 0 2px;
    width: 100%;
}

table.stripes-tab thead {
    position: sticky;
    position: -webkit-sticky;
    top: 0px;
    z-index: 100;
    background-color: var(--menuGreenLight);
}

table.stripes-tab thead tr th {
  border: 0; 
  border-spacing: 5px 0px;
  border-collapse: separate; 
} 

table.stripes-tab tbody tr td {
  border-top: 2px solid #adadad; 
  border-collapse: separate;
  border-spacing: 5px 5px;
}

tr.stripe-row  td {
        padding-top:    6px;
        padding-bottom: 6px;
}

/* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-weight: bold;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: var(--menuGreenLight);
  font-weight: bold;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: var(--menuGreen);
  font-weight: bold;
  background-image: linear-gradient(to bottom, #dcdfc8, var(--menuGreen));
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}

.search-block {
	border: 2px solid black;
        background-image: linear-gradient(to bottom, #dcdfc8, var(--menuGreen));
}

.lbnormal
{
        color: #000;
}

.lbdisabled
{
        color: #BBB;
}


