/* Color specifications
    Dark blue (header background): #174273
    Light blue (links, top of buttons): #DDEFF8
    Medium blue (shadow of buttons): #3A62B5
    Light gray (calendar headings): #E5E5E5
	Very light gray (background tabcontent and login): #F8F8F8
--------------------------*/

/* General styles
--------------------------*/
body {
	margin: 0;
	padding: 0;
	border: 0;
	/* font-family: "Helvetica", "Tahoma", "Geneva", sans-serif; */
	font-family: "Verdana", "Arial", sans-serif;
	font-size: 100%;
	background-color: white;
	color: black;
}

body.wait *, body.wait
{
    cursor: progress !important;
}

span.in4med_logo {
	font-style: normal;
}
span.in4med_logo span.detail {
	color: #47B3CC;
}

img {
	background-color: transparent;
}

p {
	/* margin-top: 0;
	margin-bottom: 12px;
	margin-left: 10px;
	margin-right: 10px; */
	margin: 0;
	padding: 0;
	color: black;
	text-align: left;
}

p.line {
	margin-bottom: 2px;
}

a[href]:link, a[href]:visited {
	color: #174273;
	text-decoration: none;
}
a[href]:hover, div.footer a:focus {
	color: black;
}
div#footer a:link, div#footer a[href]:link, div#footer a[href]:visited {
	text-decoration: underline;
	color: #DDEFF8;
}
div#footer a:hover, div.footer a:focus {
	text-decoration: none;
	color: yellow;
}

h1,h2,h3,form div.caption {
	margin: 10px;
	margin-left: 0px;
	padding: 0;
	text-align: left;
	/* font-family: "Bookman Old Style", "URW Bookman L", "Book Antiqua", "Garamond", serif; */
	font-family: "Helvetica", "Tahoma", "Geneva", sans-serif;
	font-style: italic;
	font-size: 110%;
}

h1 {
	font-size: 120%;
}

h2 {
	font-size: 110%;
	margin-bottom: 18px;
}

h3 {
	font-size: 100%;
	margin-bottom: 0px;
}

code {
	font-size: 120%;
	color: #DDEFF8;
}

/* Helper styles (forms etc.)
--------------------------*/
/* Page structure (pagewrapper, headers, footers and menu)
--------------------------*/
#wrapper {
	position: relative;
	margin-top: 0;
	margin-bottom: 0;
	margin-left: auto;
	margin-right: auto;
	border: 0;
	padding: 10px;
	/* max-width: 1200px;
	min-width: 500px; */
	max-width: 90em;
	min-width: 24em;
	background-color: #CFCFE7;
}

#header,#footer {
	position: relative;
	margin-bottom: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	width: 100%;
	min-height: 80px;
	border: 0;
	background-color: #174273;
	color: white;
	overflow: hidden;
}

#footer {
	position: relative;
	/* height: 100%; */
	min-height: 100%;
	text-align: center;
	margin-bottom: 0px;
}

#footer p {
	margin-left: 10px;
	text-align: center;
	color: white;
	font-size: 80%;
}

#footer p#switch_language {
	position: absolute;
	left: 0px;
}

#header .gcr_logo_container {
	float: left;
	/* height: 100%; */
	margin-left: 10px;
	vertical-align: bottom;
}

#header .gcr_logo_container:hover .gcr_version_overlay {
  height: 100%;
}

.gcr_version_overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #174273;
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: .5s ease;
  transition-delay: 1s;
}

.gcr_version_text {
  white-space: nowrap; 
  color: white;
  font-size: 20px;
  position: absolute;
  overflow: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

#header img.admin_logo {
	float: right;
	max-height: 60px;
	margin-right: 10px;
	vertical-align: top;
}

#header img.menuButton {
	float: right, bottom;
}

#header img.menuButton:hover {
	background-color: #5D6A78;
}

img.party_logo {
	float: right;
	max-height: 80px;
	margin-right: 0;
	vertical-align: top;
}

#header h1 {
	margin-left: 160px;
	margin-top: 25px;
	/* font-family: "Bookman Old Style", "URW Bookman L", "Book Antiqua", "Garamond", serif; */
	font-size: 150%;
	text-align: left;
}

#header p {
	font-size: 80%;
	color: white;
}
#header p.loggedin_user {
	margin-left: 160px;
}
#header p.selected_boekhouding {
	margin-right: 10px;
	float: right;
}
#body {
	position: relative;
	padding-bottom: 10px;
}
#content {
	margin: 0;
	border-top: 0;
	border-bottom: 0;
	border-right: 0;
	/* border-left: 160px solid #CFCFE7; */
	border-left: 10em solid #CFCFE7;
	padding: 0;
	padding-left: 20px;
	/* min-height van #content moet zodanig groot zijn dat alle menu buttons daarbinnen passen */
	min-height: 600px;
}

#content.noMenu {
	border-left: 0em;
	padding-left: 0px;
}

#tabcontent {
	clear: left;
	/* position the tabcontent under the tabs that were left-floated */
	border: 10px solid #DDEFF8;
	padding: 10px;
	background-color: #F8F8F8;
	/* show horizontal scrollbar if the tabcontent gets too small */
	overflow: auto;
	min-height: 458px;
}

.dbId,
.hide,
div.hide,
th.dbId,
td.dbId {
	display: none;
}
th.checkBox,
td.checkBox {
	width: 15px;
	text-align: center;
}
#menu {
	position: absolute;
	left: 0;
	top: 0;
	margin: 0;
	padding: 0;
	/* width: 160px; */
	width: 10em;
}

#menu ol {
	margin: 0;
	padding: 0;
	text-align: right;
	list-style-type: none;
}

#menu li a {
	/* menu button and calendar content links */
	display: block; /* complete menu button clickable */
	background-color: #174273;
	color: white;
	text-decoration: none;
}

/* Format the action buttons in the lists with objects: display, edit, delete */
#partyListTable tr {
	height: 100%;
}
th {
	font-size: 80%;
}
td.left, th.left {
	text-align: left;
	
}
td.sep, th.sep {
	width: 25px;
}
td.valign, th.valign {
	vertical-align: middle;	
}
td > span.dscr {
	font-size: 80%;
}
/*
td.right, th.right {
	padding-right: 20px;
}
*/
.right {
	text-align: right;
}
.left {
	text-align: left;
}
td.actions,
td.actions4 {
	text-align: center;
}
td.actions5 {
	text-align: center;
}

td.actions > a,
td.actions4 > a {
	float: left;
	/* display: block; */
	/* height: 100%; */
}
td.actions5 > a {
	float: left;
	/* display: block; */
	/* height: 100%; */
}

td.actions > a  img,
td.actions4 > a img {
	padding-top: 6px;
	padding-left: 4px;
	padding-right: 4px;
	height: 1.4em;
}
td.actions5 > a img {
	padding-top: 6px;
	padding-left: 4px;
	padding-right: 4px;
	height: 1.4em;
}
td.actions > input,
td.actions4 > input {
	margin-top: 3px;
	padding: 2px;
	height: 1.3em;
}
td.actions a:hover,
td.actions4 a:hover {
	background-color: #174273;
	/* color: #174273; */
}
td.actions5 a:hover {
	background-color: #174273;
	/* color: #174273; */
}
.deleted.even td,
.duplicate.even td {
	color: grey;
}

.deleted.odd td,
.duplicate.odd td {
	color: grey;
}

table.tablesorter tbody td.actions {
	padding: 0;
	width: 92px;
}
table.tablesorter tbody td.actions4 {
	padding: 0;
	width: 122px;
}
table.tablesorter tbody td.actions5 {
	padding: 0;
	width: 153px;
}

table.tablesorter td.date{
	width: 100px;
}
table.tablesorter td.account{
	width: 100px;
}
table.tablesorter tfoot td {
	background-color: #99BFE6;
}
tfoot td.title,
tfoot td.amount {
	font-weight: bold;
}
/* tablesorter tfoot - different background for extra footer line */
.tablesorter-blue tfoot tr.odd td {
	background-color: #EBF2FA;
}
table.reportTable caption {
	font-size: 120%;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 5px;
	text-align: left;
	background-color: #99BFE6;
	border-color: #CDCDCD;
    border-image: none;
    border-style: solid;
    border-width: 1px 1px 0 1px;
}
table.reportTable caption .subtitle {
	font-size: 80%;
}

div.icon {
	height: 100%;
	text-align: center;
}
/*********************/

#menu li a,
#menu li.selected {
	margin-bottom: 10px; /* margin between menu buttons */
	border-top: 1px solid white;
	border-left: 1px solid white;
	/* border-bottom: 2px solid #3A62B5;
    border-right: 2px solid #3A62B5; */
	border-bottom: 2px solid gray;
	border-right: 2px solid gray;
	padding: 10px;
}

/*
,
#tabcontent a:hover,
#tabcontent a:focus
*/
#menu li a:hover,
#menu li a:focus	{
	background-color: #DDEFF8;
	background-image: none;
	color: #174273;
}

#menu li.selected {
	background-color: #DDEFF8;
	color: black;
}

/* Styles for the content-tabs
--------------------------*/
ol#tabs {
	margin: 0;
	margin-left: 10px; /* left margin for the group of tabs as a whole */
	padding: 0;
	list-style-type: none;
}

ol#tabs>li {
	float: left;
	margin-right: 2px; /* margin between tabs */
	text-align: center;
}

ol#tabs>li>a,ol#tabs>li.selected { /* make the whole tab clickable */
	display: block;
	/* create shadow borders */
	border-top: 1px solid white;
	border-left: 1px solid white;
	border-right: 2px solid #3A62B5;
	/* make rounded upper corners for the tabs */
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
	-webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 10px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	/* create padding around the tab-text */
	padding-left: 15px;
	padding-right: 15px;
	padding-top: 2px;
	padding-bottom: 2px;
	/* set colors of the tabs */
	background-color: #174273;
	color: white;
	text-decoration: none;
}

ol#tabs>li>a:hover,ol#tabs>li>a:focus {
	background-color: #DDEFF8;
	color: #174273;
}

ol#tabs>li.selected {
	background-color: #DDEFF8;
	color: #174273;
}
td, th {
	vertical-align: top;
}
td.logo {
	text-align: center;
	vertical-align: middle;
}

td.logo img {
	max-height: 80px;
}

td.owner, td.logo {
	padding: 10px;
}
td.owner h2 {
	margin-top: 0px;
	margin-bottom: 2px;
}

#addLine {
	width: 40px;
	height: 40px;
}
/* Styles for pages without the main menu
--------------------------*/
#page_nomenu,#login_nomenu {
	margin: 0;
	margin-bottom: 10px;
	border: 0;
	padding: 1em;
	background: #f8f8f8;
}

#login_nomenu {
	margin-left: auto;
	margin-right: auto;
	border: 1px solid gray;
	/* max-width: 500px;
	min-width: 400px;
	max-width: 35em;
	min-width: 20em; */
	background: #f8f8f8;
}

#loginForm {
	display: inline-block;
}
#error_message {
	margin-left: auto;
	margin-right: auto;
	border: 1px solid gray;
	padding: 1em;
	max-width: 35em;
	min-width: 25em;
	min-height: 300px;
	background: #F6CECE;
 }

#error_message a {
	color: #174273;
}
form div.caption,
#error_message h2 {
	margin-top: 0;
	text-align: center;
	color: #174273;
	font-weight: bold;
}

form hr,
#error_message hr {
	margin-top: 0;
	margin-bottom: 30px;
}

.formItem {
/*	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
*/
	clear: left;
}

.formButtons {
	margin: 0;
	margin-top: 10px;
	text-align: center;
}

.formButtons input {
	margin-top: 10px;
}
.formItem label {
	margin-bottom: 5px;
	text-align: right;
	width: 11em;
	float: left;
}
.formItem .labelShort label {
	width: 8em;
}

.formItem .label,
.formItem .labelShort {
	float: left;
}
div.radiobutton {
	margin-bottom: 5px;
}
label.radio {
	float: none;
	margin-left: 5px;
	text-align: left;
	width: auto;
	color: black;
}
.formItem input[type="radio"] {
	padding: 0;
	margin: 0;
}
.formItem input[type="text"],
.formItem textarea,
.formItem input[type="password"],
.formItem select {
	font-family: inherit;
	font-size: inherit;
}

.formItem input[type="text"].amount,
.formItem input[type="text"].date,
.formItem input[type="text"].percentage {
	width: 7em;
}

.formItem textarea {
	width: 40em;
}
.formItem input[type="text"].small {
	width: 10em;
}
.formItem input[type="text"].medium {
	width: 20em;
}
.formItem input[type="text"].large {
	width: 40em;
}

.formItem input[type="text"][disabled] {
   color: black;
}
/*.formItem input[type="text"] {
	width: 20em;
}*/
.formItem input[type="text"][readonly],
input[type="text"][readonly] {
   background-color: #EEEEEE;
}
.formItem textarea {
	height: 3em;
}
input[type="submit"] {
	margin-left: 20px;
    font-size: 100%;
}
.placeholder {
	color: silver;
}
.select {
	margin-top: 3px;
}
.label label {
	margin-top: 2px;
}
input,
button,
textarea {
	padding: 2px 8px 2px 8px;
    outline: 0;

    border: 1px solid #aaa;
    -webkit-border-radius: 0;
       -moz-border-radius: 0;
            border-radius: 0;

    -webkit-box-shadow: none;
       -moz-box-shadow: none;
            box-shadow: none;

    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
}
button {
	padding: 2px 2px 2px 2px;
}
input:focus, input:hover,
textarea:focus, textarea:hover,
button:focus, button:hover {
    border: 1px solid #174273;
	outline: none;
	background-color: #DDEFF8;
}
input:focus,
textarea:focus {
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
       -moz-box-shadow: 0 0 5px rgba(0,0,0,.3);
            box-shadow: 0 0 5px rgba(0,0,0,.3);
}
::selection, ::-moz-selection {
	background-color: #174273;
	color: white;
}
/* Error messages */
div.msg-errors,
div.msg-valid,
div.msg-warning {
	margin: 0;
	margin-bottom: 20px;
	border: 2px solid #880000;
	border-radius: 10px 10px 10px 10px;
	padding: 10px;
	background-color: #FFDDDD;
	color: black
}
div.msg-errors {
	border: 2px solid #880000;
	background-color: #FFDDDD;
}
div.msg-valid {
	border: 2px solid #009900;
	background-color: #EBFBEB;
}
div.msg-warning {
	border: 2px solid #DAA520;
	background-color: #F3E2A9;
}

div.msg-errors td img,
div.msg-valid td img,
div.msg-warning td img {
	margin-left: 20px;
	margin-right: 20px;
}
div.msg-errors td ol,
div.msg-valid td ul,
div.msg-warnings td ul {
	margin: 0px;
	list-style-position: outside;
}

span.warning {
	margin-left: 20px;
	color: #880000;
}

span.msg {
	margin-left: 20px;
	color: #174273;
}
/* Overrides
--------------------------*/

label {
	text-align: right;
	color: #174273;
}
.chosen {
/*
	min-width: 20em;
*/
	font-size: 80%;
}

fieldset {
	margin-bottom: 20px;
	clear: both;
	border-color: grey;
}
fieldset legend {
	margin-left: 20px;
	margin-top: 20px;
	margin-bottom: 20px;
	font-weight: bold;
}
.formFieldWrapper {
	margin-top: 10px;
}
ul.checklist li.checked {
	list-style-type: none;
	background: url('../images/knobs/ValidGreen.png') no-repeat top left;
	background-size:20px 20px;
	margin-bottom: 10px;
	padding-left: 40px;
}
ul.checklist li.warn {
	list-style-type: none;
	background: url('../images/knobs/Attention.png') no-repeat top left;
	background-size:20px 20px;
	margin-bottom: 10px;
	padding-left: 40px;
} 

input.error,
select.error,
.select2-container.error a {
	/* background-color: #B72222; */
	border: 1px solid #880000;
	border-radius: 4px 4px 4px 4px;
	background-color: #FFDDDD;
	background-image: none;
}
input.error:hover,
select.error:hover,
.select2-container.error a.select2-choice:hover {
	/* background-color: #B72222; */
	border: 1px solid #880000;
	border-radius: 4px 4px 4px 4px;
	background-color: #DDEFF8;
	background-image: none;
}
.xxselect2 {
	width: 150px;
}
span.error {
	margin-left: 10px;
}
/* Set width of date column in reportGlAccount table */
table.reportGlAccountTable .tablesorter-filter-row td:nth-child(6n+1) .tablesorter-filter {
    width: 8em;
}
/* Set width of Journal# and Line# in reportGlAccount table */
table.reportGlAccountTable .tablesorter-filter-row td:nth-child(6n+2) .tablesorter-filter,
table.reportGlAccountTable .tablesorter-filter-row td:nth-child(6n+3) .tablesorter-filter {
    width: 5em;
}

.error {
	color: #880000;
}
.valid {
	border: 1px solid #009900;
	background-color: #EBFBEB;
}

.value {
	margin-bottom: 10px;
	padding-left: 20px;
	display: inline-block;
}

.msg {
	margin-bottom: 10px;
	padding-left: 40px;
	display: inline-block;
}

.center {
	text-align: center;
}
.shrink {
    display: inline-block;
}
.tiny {
	width: 5em;
}
.small {
	width: 10em;
}
.medium {
	width: 15em;
}
.big {
	width: 20em;
}
.huge {
	width: 100%;
}
.amount, .date, .percentage {
	width: 7em;
}
input.amount, input.date, input.percentage {
	width: 7em;
}

.amount, .percentage {
	text-align: right;
}
.pad15 {
	padding-right: 15px;
}
.iconButtonSmall img {
	width: 18px;
	height: 18px;
	vertical-align: middle;
}
button.iconButtonSmall {
	vertical-align: middle;
}
/* Financial report */
div.report span.chapter {
	display: inline-block;
	min-width: 4em;
	padding-right: 1em;
}
div.report h1,
div.report h2,
div.report h3,
div.report h4,
div.report h5 {
	font-style: normal;
	font-weight: normal;
	margin-top: 2em;
	margin-bottom: 1em;
}
div.report h1 {
	font-size: 150%;
	text-transform:uppercase;
}
div.report h2 {
	font-size: 140%;
}
div.report h3 {
	font-size: 130%;
}
div.report h4 {
	font-size: 120%;
}
div.report h5 {
	font-size: 110%;
}
div.report h6,
div.report h7,
div.report h8,
div.report h9 {
	font-size: 100%;
}
div.report th.balanceDate {
	border-bottom: 2px solid lightGray;
}
div.report td.chapter {
	padding-left: 20px;
	padding-right: 10px;
}
div.report td.name,
div.report td.group,
div.report td.account {
	min-width: 20em;
}
div.report td.chapter {
	font-style: italic;
	font-size: 80%;
}
tr.subtotal > td.sum {
	border-top: 2px solid gray;
}
tr.level0 td.name,
tr.level1 td.name,
tr.total td.totalname {
	font-size: 125%;
}
/*
tr.level0 > td,
tr.level1 > td,
tr.total > td */
tr.total > td,
tr.totalnode > td {
	padding-top: 6px;
	padding-bottom: 6px;
}

tr.subtotalnode > td {
	padding-top: 6px;
}
tr.endtotalnode > td {
	padding-bottom: 6px;
}

/*
tr.level0 > td.total,
tr.level1 > td.total,
tr.node > td.total */
tr.total > td.amount,
td.total {
	border-top: 2px solid black;
	border-bottom: 3px double black;
}

td.subtotal {
	border-top: 2px solid black;
}

table td.subTotal {
	border-top: 2px solid black;
}

table td.total {
	border-top: 2px solid black;
	border-bottom: 3px double black;
}

td.endtotal {
	border-bottom: 3px double black;
}

tr.level2 td.name {
	font-size: 125%;
	padding-left: 15px;
}
tr.level2 > td {
	padding-bottom: 12px;
}

tr.level3 td.name {
	font-size: 110%;
	padding-left: 30px;
}
tr.level3 > td {
	padding-bottom: 6px;
}
tr.node td.name,
tr.subtotalnode td.name,
tr.totalnode td.name,
tr.endtotalnode td.name,
tr.leaf td.name,
tr.subtotal td.name {
	padding-left: 30px;
}

tr.node td.name,
tr.subtotalnode td.name,
tr.totalnode td.name,
tr.endtotalnode td.name,
tr.level0 td.amount,
tr.level1 td.amount {
	font-weight: bold;
}
tr.node > td.sum {
	border-top: 2px solid lightGray;
}
tr.leaf td {
	font-size: 100%;
}
table.reportVatTable {
	border-collapse: collapse;
}
table.reportVatTable tr.header > td {
	background-color: #CFCFE7;
	font-weight: bold;
}