/*
    FlightTally
*/

body {
	/*font-family:Verdana,"Geneva CE",lucida,sans-serif;*/
	font-family:"Trebuchet MS", "Geneva CE", lucida, sans-serif;
	color: #333;
	margin:0;
}

h1, h2, h3, h4 {
	color: #3484D2;
}

a[href^="error:"], a[href^="javascript:alert('Error:"] {
	background: red;
	color: white;
}

a {
	color:#444;
}

a:hover {
	color:red;
}

.main-email a {
	color: #00468B;
}
.main-email a:hover {
	color:red;
}

img {
	border:none;
}

.cleaner {
	clear:both;
}

#header {
	background-color: #E4F1FC;
	margin:0;
	border-bottom:1px solid #add4fb;
}
#header h1 {
	margin-top:0;
	padding-top:.2em;
	padding-left:.6em;
}

#header ul.lang-versions {
	list-style-type:none;
	font-size:x-small;
	float:right;
}
#header ul.lang-versions li {
	float:left;
	height:2em;
	line-height:2em;
	border-left: 4px solid #3484D2;
}

#header ul.lang-versions li a {
	display:block;
	text-decoration:none;
	padding-left:1em;
	padding-right:1em;
}
#header ul.lang-versions li a:hover {
	color:white;
	background-color:#3484D2;
}

#alogo {
	letter-spacing:-6px;
	background-color:#00468B;
	padding:0 .4em;
}
#alogo i {
	color:#fff;
}

#top-status {
	font-size:small;
	background-color:#FFFFDD;
	border-bottom:2px solid #FFD700;
	padding:.2em;
	padding-left:1.4em;
}
#top-status img {
	position:relative;
	top: 3px;
	left: 3px;
}

#content {
	margin:1.2em;
	margin-top:0;
}

#footer {
	background-color:#E4F1FC;
	border-top:1px solid #add4fb;
	font-size:small;
	padding:1em;
	padding-left:1.4em;
}

/*
	Main menu
*/

#main-menu {
	list-style-type:none;
	padding-left:0;
	margin-top:0;
}

#main-menu li {
	float:left;
}

#main-menu li a {
	margin-top:5px;
	margin-right:1px;
	display:block;
	padding:.2em 1em;
	color:#AD6D10;
	background-color:#FFDCAA;
	text-decoration:none;
	border-top:6px solid #E09222;
}

#main-menu li a:hover {
	color:white;
	background-color:#E09222;
	border-top-color:#B81E1A;
}


/*
	Main menu
*/

#sub-menu {
	list-style-type:none;
	padding-left:0;
	margin-top:0;
}

#sub-menu li {
	float:left;
}

#sub-menu li.selected {
	margin-right:1px;
	display:block;
	padding:.2em 1em;
	color:#AD6D10;
	background-color:#FFDCAA;
	text-decoration:none;
	border-top:6px solid #E09222;
}

#sub-menu li a, #sub-menu li span {
	margin-right:1px;
	display:block;
	padding:.2em 1em;
	color:#AD6D10;
	background-color:#FFDCAA;
	text-decoration:none;
	border-top:6px solid #E09222;
}

#sub-menu li a:hover, #sub-menu li.selected {
	color:white;
	background-color:#E09222;
	border-top-color:#B81E1A;
}

#sub-menu li a.selected, #sub-menu li span {
	color:white;
	background-color:#E09222;
	border-top-color:#B81E1A;
}

#sub-menu li a:hover.selected {
	color:pink;
	background-color:red;
	border-top-color:#B81E1A;
}

.mute {
	color:#838061;
}


#ajax-spinner {
	margin: -15px 0 0 -15px;
	padding: 13px;
	background: white url('/images/spinner.gif') no-repeat 50% 50%;
	font-size: 0;
}

input[type=checkbox] + label, input[type=radio] + label {
	display:inline;
	margin-left:.5em;
}

.h1-48 {
	position:relative;
	top:8px;
}

.login-examle {
	text-align: left;
}

form.label-top th {
	vertical-align: top;
}

/*
    Table
*/
table.datagrid {
	border-collapse:collapse;
	/*margin:0;*/
	/*padding:0;*/
}

table.datagrid td, table.datagrid th {
	-moz-background-clip:border;
	-moz-background-inline-policy:continuous;
	-moz-background-origin:padding;
	/*background:#FFFFFF none repeat scroll 0 0;*/
	border:1px solid #D1CDAB;
	color:#525B37;
	padding:3px 3px 3px 6px;
}

table.datagrid th {
	-moz-background-clip:border;
	-moz-background-inline-policy:continuous;
	-moz-background-origin:padding;
	/*background:#E3E9BA url('../images/th-bg.gif') no-repeat scroll 0 0;*/
	background-color:#C1E2E0;
	color:#1E5EB6;
	/*font-size:90%;*/
	/*padding:3px 20px 3px 12px;*/
	text-align:left;
}

table.flight-book {
	padding: 0;
	margin-top:1em;
	border-collapse:collapse;
	border: 3px solid #AF9506;
}

table.flight-book td, table.flight-book th {
	background-color: #FFF9D5;
	border: 1px solid #AF9506;
	padding: 3px 6px 3px 6px;
}

table.flight-book th {
	background-color:#F3E48D;
	border-bottom-width:3px;
}

table.flight-book tr.odd td {
	background-color:#FCF3BA;
}

table.flight-book tr:hover td {
	background-color:#FCEC8C;
}

table.flight-book tr.odd:hover td {
	background-color:#E3D26E;
}

table.flight-book tr.new-day th {
	border-top-width:3px;
	background-color:#FAD650;
}

.flight-book .requirements {
	background-color:#FFF9D5;
	border:1px solid #AF9506;
	font-size:80%;
	padding:.5em 1em;
	z-index:1000;
	position:absolute;
	min-width:20em;
}

.flight-book .payments {
	font-size:80%;
}

.flight-book .requirements ul {
	padding-left:1em;
}

.flight-book .requirements img.window-hide {
	float:right;
}

.flight-book fieldset {
	border:1px solid #ADD4FB;
}
.flight-book fieldset legend {
	cursor:pointer;
	padding-left:20px;
	background: url("/images/16/arrow-right.png") center left no-repeat;
}
.flight-book fieldset legend.closed {
	background: url("/images/16/arrow-down.png") center left no-repeat;
}

.flight-book .add-new-payment {
	display: block;
	visibility: hidden;
}

.flight-book tr:hover .add-new-payment, .flight-book tr:hover .delete-payment {
	visibility: visible;
}

.flight-book .connect-track {
	visibility: hidden;
}

.flight-book tr:hover .connect-track {
	visibility: visible;
}

.flight-book .delete-payment {
	visibility: hidden;
}

.flight-book .billing ul {
    position: absolute;
    border: solid black 2px;
    background-color: white;
    list-style-type: none;
    margin: 0;
    padding: 0;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.flight-book .billing ul li a {
    display: block;
    padding: .4em .8em;
	text-decoration: none;
}

.flight-book .billing ul li a:hover {
    color: white;
    background-color: gray;
}

.flight-book .billing ul li.unmodified a {
    color: #346588;
}

.flight-book .billing ul li.unmodified a:hover {
    color: pink;
}

.flight-book .hover-visible {
	visibility: hidden;
}

.flight-book  tr:hover .hover-visible {
	visibility: visible;
}


/*
 * Edit Flightbook
*/
table.flight-book > tbody > tr.data-changed > td {
    background-color: #FFCCB8;
    border-top:3px solid red;
    border-bottom:3px solid red;
}

.edit-error {
	position: absolute;
    background-color: red;
	box-shadow: 6px 6px 6px #888;
	border: solid 1px darkred;
	padding: .2em .6em;
	opacity: 0.8;
}

.edit-success {
	position: absolute;
    background-color: green;
	box-shadow: 6px 6px 6px #888;
	border: solid 1px darkgreen;
	padding: .2em .6em;
	opacity: 0.8;
}

.edit-error div, .edit-error a,
.edit-success div, .edit-success a {
	color: white;
}

table.crew-names {
	font-size:90%;
	background-color:#CBDBE9;
	padding:.2em .6em;
}

.crew-names th {
	text-align:right;
}

img.save-change, img.cancel-change, img.delete-flight {
	margin-right: .8em;
}

table.flight-book img.prepare-for-delete-flight {
	visibility: hidden;
}

table.flight-book tr:not(.prepared-for-delete):hover img.prepare-for-delete-flight {
	visibility: visible;
}

table.flight-book tr.prepared-for-delete td {
	background-color: #ccc;
	color: #888;
}

table.flight-book tr.prepared-for-delete:hover td {
	background-color: #888;
	color: #666;
}

table.flight-book span.aircraft-sign,
table.flight-book span.pilots,
table.flight-book span.task,
table.flight-book span.take-off,
table.flight-book span.landing,
table.flight-book span.duration,
table.flight-book span.starts,
table.flight-book span.lift-type,
table.flight-book span.task,
table.flight-book span.note
{
	display: inline-block;
	height: 12pt;
	width: 100%;
}

table.flight-book td:hover span.aircraft-sign,
table.flight-book td:hover span.pilots,
table.flight-book td:hover span.task,
table.flight-book td:hover span.take-off,
table.flight-book td:hover span.landing,
table.flight-book td:hover span.duration,
table.flight-book td:hover span.starts,
table.flight-book td:hover span.lift-type,
table.flight-book td:hover span.task,
table.flight-book td:hover span.note
{
	background-color: orange;
}

table.flight-book span.task, table.flight-book span.note {
	min-height: 1em; /* MSIE does not work with height: 100% */
}

table.flight-book div.payments span.pay:first-child::before {
	content: "(";
}
table.flight-book div.payments span.pay:last-child::after {
	content: ")";
}
table.flight-book div.payments span.pay span.full-name::after {
    content: ": ";
}
table.flight-book div.payments span.pay::after {
	content: ", ";
}

table.flight-book img.not-ready,
table.flight-book img.almost-ready,
table.flight-book img.ready
{
	padding: .4em;
	border-width: 6px;
	border-style: solid;
}

table.flight-book img.not-ready {
	background-color: #FF7D7D;
	border-color: red;
}

table.flight-book img.almost-ready {
	background-color: #F8C464;
	border-color: #DA8D01;
}

table.flight-book img.ready {
	background-color: #63DE63;
	border-color: green;
}

table.flight-book img.ready:focus {
	background-color: green;
	border-color: #63DE63;
}

img.add-new-flight:focus {
	padding: .4em;
	border: solid green 6px;
}

table.flight-book tr.highlight-flight td {
	background-color: darkorange;
}

table.flight-book span.handling-fee {
	display: none;
}

table.flight-book tr.ogn-logbook td {
	color: #888;
	background-color: #FCD7BA;
}

table.flight-book tr.ogn-logbook:hover td {
	background-color: #F7BA8A;
}

table.flight-book table.detail-entry {
	font-size: 80%;
	margin-top: 0;
	position: absolute;
	-webkit-box-shadow: 10px 10px 16px -5px rgba(45,82,119,0.71);
	-moz-box-shadow: 10px 10px 16px -5px rgba(45,82,119,0.71);
	box-shadow: 10px 10px 16px -5px rgba(45,82,119,0.71);
}

table.flight-book table.detail-entry th,
table.flight-book table.detail-entry td {
	padding: 0.2em 0.6em;
}
table.flight-book tr table.detail-entry td,
table.flight-book tr:hover table.detail-entry td {
	background-color: white;
}

table.flight-book table.detail-entry tr:hover th {
	background-color: #ADD4FB;
}
table.flight-book table.detail-entry tr:hover td {
	background-color: #E4F1FC;
}

table.flight-book img.display-flight-track-eu {
	background-color: #003388;
}

table.flight-book tr.flight_track_eu td {
	background-color: #E6E9EF;
}

table.flight-book tr.odd.flight_track_eu td {
	background-color: #D0DBED;
}

table.flight-book .readonly {
	color: gray;
}


/* Edit Public flights */
.link-public-flight {
	cursor: pointer;
}

#frmtimezoneForm-timezone_name {
	border: none;
	background-color: inherit;
	padding-left: 0;
	margin-left: 0;
	cursor: pointer;
}

.disabled {
	color: gray;
}

.enabled {
	color: darkgreen;
	font-weight: bold;
}

ul.highlight-flight {
	list-style-type: none;
	padding: 0;
}

/* Grid */

table.grid {
	padding: 0;
	margin-top: 1em;
	margin-bottom: 1em;
	border-collapse: collapse;
}

table.grid caption {
	border:1px solid #DFDFDF;
	color:#2B425D;
}

table.grid td, table.grid th {
	border: 1px solid #add4fb;
	padding: 6px 6px 6px 12px;
}

table.grid thead th {
	border-right: 2px solid #add4fb;
	border-bottom: 2px solid #add4fb;
}

table.grid th {
	color: #7a7772;
	background-color: #E4F1FC;
	text-align: left;
	font-weight: normal;
	font-size: 80%;
}

table.grid th.to-right {
	text-align: right;
}

table.grid .alt td {
	background: #f8f8f0;
}

table.grid tr.done {
	background-color: #CFFFCE;
}

table.grid tr.done:hover td {
	background-color: #98F996;
}

table.sticky-thead {
	border-collapse: separate;
	border-spacing: 0;
	border-left: 1px solid #add4fb;
	border-top: 1px solid #add4fb;
}

table.sticky-thead thead {
	position: sticky;
	top: 0;
}

table.sticky-thead td, table.sticky-thead th {
	border-left-width: 0;
	border-top-width: 0;
}

/*
table.logbook div.commander {
	color: #13139c;
}
*/

table.logbook div.member {
	color: #6c6c6d;
}

table.logbook tr.fix td {
	background-color: #ffe7eb;
}

table.logbook tr.fix:hover td {
	background-color: #fcd6dc;
}

table.logbook a.edit {
	visibility: hidden;
}

table.logbook tr:hover a.edit {
	visibility: visible;
}

table.logbook a.to-flightbook {
	text-decoration: none;
}

table.logbook td:hover a.to-flightbook {
	text-decoration: underline;
}

ul.links a.adjustment {
	font-weight: bold;
	color: #003388;
}

ul.links a.adjustment:hover {
	color: #880081;
}

/*
	#FAE5C5 #DAAE6A
	#CDF0F1	#88B8BA
*/
table.grid tr.odd td {
	background: #EEEED4;
}

table.grid tr.odd:hover td {
	background: #E7E7A7;
}


table.grid .new-day td {
	border-top-width:3px;
}

table.grid tr:hover td {
	background-color: #E4F1FC;
}

table.grid tr.obsolete td, table.grid tr td.obsolete {
	background-color:#F2F2F2;
	color:gray;
}

table.grid tr.obsolete td a {
	color:gray;
}

/*
table.grid tr.obsolete td:not(.clear-line-through) {
	text-decoration:line-through;
}
*/

table.grid tr.higlight td {
	background-color:#FFE59B;
}

table.grid tr.higlight[class~=alt] td {
	background-color:#E8D293;
}

table.grid tr.higlight:hover td {
	background-color:#FFC19B;
}
table.grid tr.higlight[class~=alt]:hover td {
	background-color:#E1B398;
}

table.grid tr.weekend th,
table.grid th.weekend,
table.grid tr.holiday th
{
	background-color: #ADD4FB; /* #F2D78A #E8D293 */
	border-bottom-color: #669ED5;
	border-right-color: #669ED5;
}

table.grid td.weekend.holiday {
	background-color: #ADD4FB;
	border-bottom-color: #669ED5;
	border-right-color: #669ED5;
}

table.grid td.holiday div.holiday {
	font-style: italic;
}

table.grid tr td.weekend, table.grid tr td.holiday {
	background-color: #E4F1FC;
}
table.grid tr:hover td.weekend {
	background-color: #ADD4FB;
}
table.grid th.separator,
table.grid td.separator {
	border-left-width: 4px;
}

table.aerotow-schedule {
	width: 100%;
}

table.aerotow-schedule {
	width: 80%;
}

table.aerotow-schedule caption {
	font-size: 160%;
	color: white;
	background-color: #395979;
	padding: 0.4em 0.2em;
}

table.aerotow-schedule table.history caption {
	font-size: 100%;
}

table.aerotow-schedule tr td {
	vertical-align: top;
	align: left;
}

table.aerotow-schedule tr td.empty {
	background-color: #eee;
}

table.aerotow-schedule table.dialog {
	position: absolute;
	border: solid #2D5277 2px;
	-webkit-box-shadow: 10px 10px 16px -5px rgba(45,82,119,0.71);
	-moz-box-shadow: 10px 10px 16px -5px rgba(45,82,119,0.71);
	box-shadow: 10px 10px 16px -5px rgba(45,82,119,0.71);
}

table.aerotow-schedule tr div.member-duty {
	padding: 0.2em;
	border: solid 1px transparent;
}

table.aerotow-schedule tr div.member-duty a {
	text-decoration: none;
}

table.aerotow-schedule tr div.member-duty a:hover {
	text-decoration: underline;
}

table.aerotow-schedule tr div.member-duty.radio a,
.radio a
{
	color: #185DA2;
}

table.aerotow-schedule tr div.member-duty.gld-instr a,
.gld-instr a
{
	color: #18A023;
}

table.aerotow-schedule tr div.member-duty.gld-suop a,
.gld-suop a
{
	color: #9E1917;
}

table.aerotow-schedule tr div.member-duty.gld-winch a,
.gld-winch a
{
	color: #B78600;
}

table.aerotow-schedule tr:hover div.member-duty {
	background-color: #D2E4F3;
	border: solid 1px gray;
	border-top-color: white;
	border-left-color: white;
}

table.aerotow-schedule div.public-flight,
table.aerotow-schedule div.participate
{
	font-size: 90%;
	padding: 0;
	border: solid #ADD4FB 1px;
	background-color: #F3FAFF;
}

table.aerotow-schedule div.public-flight div.pilot-designed {
	color: #0E791D;
	padding: 0.2em 0.6em;
}

table.aerotow-schedule div.public-flight div.pilot-missing {
	color: darkred;
	padding: 0.2em 0.6em;
}

table.aerotow-schedule div.public-flight > div:first-child,
table.aerotow-schedule div.participate > div:first-child
{
	color: #395979;
	background-color: #ADD4FB;
	font-style: italic;
	font-size: 90%;
	padding: 0.2em 0.6em;
}

table.aerotow-schedule div.booking {
	border: solid #7eb4eb 1px;
	margin-bottom: 0.6em;
	margin-top: 0.6em;
}

table.aerotow-schedule div.booking div.booking-row {
	font-size: 72%;
	padding: 0.2em 0.6em;
	border-bottom: solid #ADD4FB 1px;
}

table.aerotow-schedule div.booking div.booking-row:nth-child(odd) {
	background-color: #ecf3f8;
}

table.aerotow-schedule div.booking div.booking-row:nth-child(even):hover {
	background-color: #dfe7ec;
}

table.aerotow-schedule div.booking div.booking-row:nth-child(odd):hover {
	background-color: #d3dadf;
}

table.aerotow-schedule div.booking > div:first-child {
	color: #8b0000;
	background-color: #7eb4eb;
}

table.aerotow-schedule.collapsed caption {
	background-color: lightgray;
}

table.aerotow-schedule div.participate > div {
	padding: 0.2em 0.6em;
}

table.aerotow-schedule .add-participantion,
table.aerotow-schedule .delete-participantion {
	cursor: pointer;
}

table.aerotow-schedule .add-participantion,
table.aerotow-schedule .delete-participantion,
table.aerotow-schedule .no-attendance,
table.aerotow-schedule a.add-new-participant
{
	visibility: hidden;
}

table.aerotow-schedule .participate:hover .add-participantion,
table.aerotow-schedule td:hover .participate,
table.aerotow-schedule .participate > div:first-child:hover a.add-new-participant,
table.aerotow-schedule .preson-attendance:hover .delete-participantion
{
	visibility: visible;
}

table.aerotow-schedule a.edit-participantion {
	text-decoration: none;
}

table.aerotow-schedule .note {
	color: gray;
}

table.grid tr.holiday th {
	font-weight:bold;
	color:#154474;
}

table.grid tr.weekend td, table.grid tr.holiday td {
	background-color:#FDF4DA;
}
table.grid tr.weekend td:hover, table.grid tr.holiday td:hover {
	background-color:#FFE59B;
}

table.grid tr.contact-missing td {
	color:gray;
	background-color:#F7F7F7;
}

table.grid tr.voted td {
	color:#3484D2;
	background-color:#F7F7F7;
}

table.grid tr.voted:hover td {
	background-color:#E3E8EC;
}

table.grid td.exception {
	background-color: red;
	color: white;
	font-weight: bold;
}
table.grid tr:hover td.exception {
	background-color: darkred;
}

table.duty-work img.edit,
table.duty-work-year img.edit {
	visibility: hidden;
}

table.duty-work tr:hover img.edit,
table.duty-work-year tr:hover img.edit {
	visibility: visible;
}

table.duty-work tr.complete {
	background-color: #E7FEEA;
}

table.duty-work tr.complete:hover td {
	background-color: #9FE8AA;
}

table.duty-work img.add-sign,
table.duty-work img.prepare-sign {
	margin-right: 1em;
	cursor: pointer;
}

.right-indent {
	margin-right: 18em;
}

tr.separator td {
	border-top-width: 6px;
}

.not-recognized {
	color: gray;
}

.confirmed {
	color: green;
}

.not-confirmed {
	color: red;
}

.revoked, .removed {
	text-decoration:line-through;
}

table.services div.removed {
	color: #aaa;
}

/*
    Members account
*/

a.edit-item,
a.edit-member-account {
	text-decoration: none;
}

a.edit-item:hover {
	text-decoration: underline;
}

a.edit-member-account:hover {
	text-decoration: underline;
	color: black;
}

table.accounts-summary td.warning {
	background-color: pink;
}

table.accounts-summary th.incomings {
	background-color: #d9ecdb;
}

table.accounts-summary th.expenses {
	background-color: #f6ecdb;
}

table.mode-edit td.price:hover div.debit,
table.mode-edit td.price:hover div.credit,
table.mode-edit tr.editable td:hover div.description,
table.mode-edit tr.editable td:hover div.daymonth {
	background-color: #9BC0E0;
}

table.account:not(.mode-edit) div.description:empty,
table.account:not(.mode-edit) div.debit:empty,
table.account:not(.mode-edit) div.empty-block {
	display: none;
}

table.account div.difference {
	color: darkorange;
}

.specific-symbol {
	font-size: 160%;
	color: green;
}

/*
	List of assigned permissions + Edit user access
*/
.perms-list h4 {
	margin-bottom: .4em;
}

.perms-list h4.superuser-perm, input.superuser-perm + label {
	color: red;
}

.perms-list h4.special-perm, input.special-perm + label {
	color: #DAA520;
}

.perms-list h4.main-perm, input.main-perm + label {
	color: green;
	font-size: 120%;
}

.perms-list div.description {
	font-size: small;
	font-style: italic;
}

.perms-list p.members a, .perms-list p.members span {
	white-space: nowrap;
	text-decoration: none;
}

.perms-list p.members a:hover {
	text-decoration: underline;
}

/*
	Edit user access
*/
.perms-form label {
	font-size: 120%;
	font-weight: bold;
}

.perms-form small {
	display: block;
	margin-left: 1.6em;
}

/*
	Signatures
*/
.signature {
	position: relative;
}

.signature-toolbox {
	display: none;
	position: absolute;
	padding: .4em .8em;
	font-size: small;
	min-width: 26em;
	border: 1px solid #FFD700;
	z-index: 1000;
	background-color: #FFFFDD;
	box-shadow: 4px 4px 6px lightgrey;
}

.signature-toolbox .edit {
	margin-bottom: .4em;
	padding-bottom: .4em;
	border-bottom: 1px solid #FFD700;
}

.signature-toolbox .edit img {
	position: relative;
	top: 3px;
}

.signature-toolbox .edit a {
	padding: .4em;
	text-decoration: none;
}

.signature-toolbox .edit a:hover {
	background-color: #E7B876;
}

.signature:hover .signature-toolbox {
	display: block;
}

/*
	Table with edit links
*/
table.hide-edit-links a.edit:not(.revoked):not(.removed) {
	text-decoration: none;
}
table.hide-edit-links a.edit:hover {
	text-decoration: underline;
}
table.hide-edit-links a.edit img {
	visibility:hidden;
}
table.hide-edit-links tr:hover a.edit img {
	visibility:visible;
}

/*
	Table with obsolete rows
*/
table.hide-obsolete tr.obsolete {
	display:none;
}

/*
	sorted table
	http://tablesorter.com/docs/
*/

table.grid thead tr .headerSortDown, table.grid thead tr .headerSortUp {
    background-color: #3484D2;
	color:white;
}

table.grid[class~=tablesorter] thead th:hover {
	background-color:#ADD2F2;
}
table.grid[class~=tablesorter] thead th.headerSortDown:hover, table.grid[class~=tablesorter] thead th.headerSortUp:hover {
	background-color:#004991;
}


table.tablesorter thead tr .header {
    background-image: url("/images/tablesorter.gif");
    background-position: right center;
    background-repeat: no-repeat;
    cursor: pointer;
}
table.tablesorter thead tr .headerSortDown {
    background-image: url("/images/tablesorter-desc.gif");
}
table.tablesorter thead tr .headerSortUp {
    background-image: url("/images/tablesorter-asc.gif");
}


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

.muted {
	text-decoration: none;
}
.dull {
	color:gray;
}

.presumed {
	color:gray;
	font-style: italic;
}

.unknown-operator {
	color:red;
	font-style: italic;
}

.diff {
	color:#A06422;
}

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

div.flash {
	color: black;
	background-color: #DDFFE2;
	border: 1px solid #14AB23;
	padding: 1em;
	margin: 1em 0;
}

div.error {
	color: red;
	background: pink;
	border: 1px solid red;
}

ul.error, pre.errors {
	color: darkred;
	background: pink;
	border: 1px solid red;
}

ul.error-make-signature {
	position: absolute;
}

ul.success {
	color: darkgreen;
	background: lightgreen;
	border: 1px solid green;
}

ul.info {
	color:#B81E1A;
	background: #FFDCAA;
	border: 1px solid #E09222;
	list-style-type:none;
}

ul.debug, pre.debug {
	color:#997201;
	background-color: #F6E0A1;
	border: 1px solid #E09500;
}

p.info {
	background-color: #F6E0A1;
	padding:1em;
}


pre.errors, pre.messages {
	padding:1em;
}

pre.messages {
	/*border:2px solid green; */
	border: solid 1px #add4fb;
}

.no-form {
	max-width:100%;
	padding:auto;
	background:none;
}

.form-in-table {
	padding: 0 0;
	background: none;
	border: none;
}

form, .like-form {
	padding: .8em 1.6em;
	background: #E4F1FC;
	border: solid 2px #add4fb;
}

form.shy {
	background: none;
	border: none;
}

form.no-padding {
	padding: 0;
}

#frm-timezoneForm, #frm-timezoneForm table {
    display: inline;
}
#frm-timezoneForm input {
    position: relative;
    top: .5em;
}

.frame {
    border: solid darkgreen 2px;
    padding: 0.4em 0.8em;
    background-color: rgba(255, 255, 255, 0.2);
}

hr {
	color: #add4fb;
	background-color: #add4fb;
	height: 5px;
	border-style: solid;
}

form input, .like-form button {
	margin: 2px 0;
	font-size: 100%;
}

form input.default {
	font-weight: bold;
	font-size: 105%;
}

form input.text {
	padding: 4px 2px;
	border: solid 1px #add4fb;
	min-width: 200px;
}

form input[name="newpassword"] {
	min-width: 400px;
}

form input.text[name="ident"] {
	min-width: 400px;
}

form input[type="text"].short-input {
	min-width: 4em;
	width: 6em;
}

form input[type="text"].large-input {
	min-width: 16em;
	width: 25.6em;
}

form label {
	/*width: 100px;*/
	display: block;
	text-align: right;
	margin-right: 5px;
	font-weight: normal;
}
#frm-permissionsForm label {
	display: inline;
	text-align: left;
	margin-left: .4em;
}

form .required label {
	font-weight: bold;
}

.small, .note {
	font-size: small;
}

.help {
	color: gray;
}

.higlighted {
	color: #AD6D10;
}

form input.short {
	width:5em;
	min-width:5em;
}

form input.long-text {
	width:30em;
}
form input.middle-text {
	width:15em;
}

span.help-panel {
	float:right;
	position:absolute;
	margin-left:1em;
}

tady {
	font-size:80%;
	color:gray;
}

/*
*/
ul.usernames {
	list-style-type:none;
}
ul.usernames li a {
	display:block;
	text-decoration:none;
	padding:.2em 1em;
	margin-bottom:1em;
	background-color:#E4F1FC;
	border:1px solid #add4fb;
	width:20em;
}

ul.usernames li a:hover {
	color:white;
	background-color:#3484D2;
}

.address th {
	text-align:right;
	padding-right:0.5em;
}

.address caption {
	text-align:left;
	border-bottom:1px solid #add4fb;
}

.flight-summary {
	background-color:#f8f8f0;
	border:solid #ddd 3px;
	padding:1em;
}

.flight-summary table td {
	padding-right:3em;
}

.to-right {
	text-align: right;
}

table.to-right th:not(:first-child) {
	text-align: right;
}

.to-left {
	text-align: left;
}

ul.pagination {
	padding-left:0;
	list-style-type:none;
}

ul.pagination:after {
	content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

ul.pagination li {
	float:left;
}
ul.pagination li a {
	display:block;
	text-decoration:none;
}
ul.pagination li:nth-child(2) {
	width: 3em;
	text-align: center;
	font-size:108%;
	padding-top:.4em;
}

ul.links {
	list-style-type: none;
	overflow: hidden;
	margin: auto 0;
	padding: 0;
}
ul.links li {
	float: left;
}
ul.links li a {
	display: block;
	text-align: center;
	text-decoration: none;
	padding: 0 0.1em;
	margin: 0 0.1em;
}
ul.links li a::after {
	content: ", ";
}
ul.links li:hover a {
	text-decoration: underline;
}

.over-sky {
	background-image: url("/images/flying-above-clouds.jpg");
}

.panel-white-with-shadow {
	padding: 2em;
	margin-top: 3em;

	text-align: center;
	background-color: white;
	/*
	   http://css3gen.com/box-shadow/
	*/
	-webkit-box-shadow: 7px 7px 12px 0px rgba(50, 50, 50, 0.47);
	-moz-box-shadow:    7px 7px 12px 0px rgba(50, 50, 50, 0.47);
	box-shadow:         7px 7px 12px 0px rgba(50, 50, 50, 0.47);
}

.panel-white-with-shadow > img {
	/* AK logo with shadow */
	margin-left:2em;
}

@media only screen and (min-width: 600px) {
    .panel-white-with-shadow {
		width: 26em;
		margin-left: auto;
		margin-right: auto;
    }
}

@media only screen and (max-width: 360px) {
	#frm-loginForm table,
	#frm-loginForm thead,
	#frm-loginForm tbody,
	#frm-loginForm tr,
	#frm-loginForm th,
	#frm-loginForm td
	{
		display: block;
	}

}


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

	Texy

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

.texy table {
	padding: 0;
	margin-top:1em;
	border-collapse:collapse;
}

.texy table td, .texy table th {
	background: #fff;
	border: 1px solid #add4fb;
	padding: 6px 6px 6px 12px;
}

.texy table th {
	color: #7a7772;
	background-color: #E4F1FC;
	text-align: left;
	font-weight: normal;
	font-size: 80%;
}

.texy table .alt td {
	background: #f8f8f0;
}

.texy table tr:hover td {
	background-color: #E4F1FC;
}

.rtext {
	float:right;
}

.higl {
	color:red;
	font-weight:bold;
}

.check-label {
	display:inline;
	margin-left:.5em;
}

pre.example {
	border:1px solid #888;
	padding:1em;
}

.tooltip-message {
	position:absolute;
	border:1px solid lightgray;
	padding:.2em .6em;
	background-color:#F2ECBE;
}

.invisible {
	display:none;
}

.hidden {
	visibility:hidden;
}

.replace-shift {
	margin-right:.2em;
}

.draggable {
    position:absolute;
}

#one-day-person img {
	position:absolute; top:8px;
}

table.frame, .full-width {
	width:100%;
}

table.frame tr td.left-column, table.frame tr td.rigth-column {
	vertical-align:top;
}

table.frame td.left-column {
	width:50%;
	padding:.2em 1em;
	background-color:#FFFFDD;
	border:4px solid #00468B;
}

table.frame td.right-column {
	padding:.2em 1em;
	border:4px solid lightgray;
}

.link-and-image {
	text-decoration:none;
}

.like-link {
	text-decoration:underline;
	cursor:pointer;
}

a.disabled {
	color:lightgray;
}

.pricelist {
	font-size:80%;
}

td.price, th.price, table.grid th.price {
	text-align:right;
}

.toggle-panel {
	position: absolute;
	display: none;
}

td:hover .toggle-panel {
	display: block;
}

span.price {
	white-space:nowrap;
}

div.period {
	color: #3484D2;
	font-weight:bold;
	font-size:120%;
}
table th.period {
	text-align:center;
	color: #3484D2;
	font-weight:bold;
	font-size:110%;
}
table td.main-price {
	background-color:#FFFFCC;
}
table tr:hover td.main-price {
	background-color:#D2D284;
}
.muted {
	color:#666; /*#1E5EB6*/
}

.expire {
	color:#B81E1A;
}
.no-wrap {
	white-space:nowrap;
}

img.standalone {
	display:block;
}

#frm-importForm small {
	display:block;
}

div.frozen-content {
	background-color:#FCF8EB; /* #FFF8E2 #F2F2F2 */
	border:1px solid #B27505;
	margin:1em auto;
	padding:0 1em;
}

h6.frozen-content {
	background-color:#613A00;
	color:white;
	padding:.4em;
	margin:0 auto;
}

h6.frozen-content a {
	color:yellow;
}
h6.frozen-content a:hover {
	color:orange;
}

.person-photo-frame {
    width: 35mm;
    height: 45mm;
    background-color: lightgray;
    border: 2px solid gray;
    margin-bottom: 1em;
}

.person-photo {
    width: 35mm;
    border: 1px solid black;
}

.hidden_content, .hidden_button, input.hidden_button[type=checkbox] + label {
	display: none;
}

.show-next-dialog {
	position: absolute;
	display: none;
}

.show-next-dialog * {
	position: relative;
}

.dialog-info {
	border: 1px solid black;
	padding: .6em 1em;
	background-color: white;
	box-shadow: 4px 4px 12px #aaa;
}

.dialog-info div.caption {
	background-color: #E4F1FC;
}

tr a.use-for-me {
	visibility: hidden;
}
tr:hover a.use-for-me {
	visibility: inherit;
}

/*
table.public-flight th.voucher {
	min-width: 16em;
}

table.public-flight th.address-street {
	min-width: 12em;
}

table.public-flight th.address-city {
	min-width: 10em;
}

table.public-flight th.address-zip {
	min-width: 4em;
}
*/

table.public-flight caption {
	text-align: left;
	padding: 0.6em;
	font-site: 160%;
	font-weight: bold;
	background-color: #AC2632;
	color: white;
}

table.public-flight caption.has-date {
	background-color: #26AC27;
}

table.public-flight tr th, table.public-flight tr td {
	padding: 0.2em; 0.1em;
}

table.public-flight tr:hover td {
	background-color: #eee;
}

table.public-flight tr img.set-public-flight {
	visibility: hidden;
}

table.public-flight tr:hover img.set-public-flight {
	visibility: inherit;
}

/*
table.public-flight tr.flight-applied td {
	background-color: rgb(255, 239, 233);
	color: #00540A;
}

table.public-flight tr.flight-applied td a {
	color: rgb(84, 17, 0);
}

table.public-flight tr.flight-applied:hover td {
	background-color: rgb(252, 222, 217);
}
*/

.hide-column {
	color: red;
	text-decoration: line-through;
}

table.public-flight tr.flight-confirmed td {
	background-color: rgb(255, 249, 233);
	color: #00540A;
}

table.public-flight tr.flight-confirmed td,
table.public-flight tr.flight-confirmed td a {
	color: rgb(84, 48, 0);
}

table.public-flight tr.flight-confirmed:hover td {
	background-color: rgb(255, 238, 216);
}


table.public-flight tr.flight-flown td {
	background-color: #E9FFEC;
	color: #00540A;
}

table.public-flight tr.flight-flown td a {
	color: #00540A;
}

table.public-flight tr.flight-flown:hover td {
	background-color: #D8FFDD;
}

table.public-flight tr td.soon {
	font-weight: bold;
}

table.public-flight tr td.no-pilot {
	color: red;
}

/*
table.public-flight tr td.today {
	background-color: #75C073;
}

table.public-flight tr td.tomorrow {
	background-color: #FFE47F;
}
*/

table.public-flight tr td span.label {
	font-size: 80%;
	color: gray;
	font-style: italic;
}

table.public-flight tr img.show-details:not(.no-hide) {
	visibility: hidden;
}

table.public-flight tr:hover img.show-details {
	visibility: visible;
}

table.public-flight td:hover .editable {
	background-color: #9BC0E0;
	min-height: 1.2em;
}

table.public-flight .toolbar img {
	cursor: pointer;
}

table.public-flight table.detail {
	padding: 0;
	margin-top: 0;
	margin-bottom: 0;
	font-size: 86%;
}

table.public-flight table.detail td,
table.public-flight table.detail th {
	border-width: 0;
	padding: 0 0.2em;
	font-style: italic;
	vertical-align: top;
}
table.public-flight table.detail th {
	background-color: transparent;
}

table.public-flight tr.booking td {
	background-color: #FFF8F8;
	color: #787878;
}

table.public-flight .highlight {
	color: darkred;
	font-weight: bold;
}

table.cell-one-line {
    white-space: nowrap;
}

.qr-code {
    padding: 6em;
    background-color: white;
}

table.smsmessages tr.ok {
	background-color: #CFFFCE;
}

table.smsmessages tr.ok:hover td {
	background-color: #98F996;
}

table.smsmessages tr.failed {
	background-color: #FFF7CE;
}

table.smsmessages tr.failed:hover td {
	background-color: #F9E78B;
}

table.smsmessages tr.invalid {
	background-color: #FFCECE;
}

table.smsmessages tr.invalid:hover td {
	background-color: #F38B8B;
}

table.smsmessages tr.proc {
	background-color: #D4D4D4;
}

table.smsmessages tr.proc:hover td {
	background-color: #A5A5A5;
}

.edit-texy {
	font-size: 80%;
	opacity: 0;
}

.edit-texy:hover {
	opacity: 1;
}

.bank-transactions td.error {
	color: darkred;
	background-color: #F38B8B;
}

.bank-transactions tr.done {
	background-color: #CFFFCE;
}
.bank-transactions tr.done:hover td {
	background-color: #98F996;
}

.bank-transactions tr.error:hover td {
	background-color: #FFCECE;
}
.bank-transactions tr.error:hover td.error {
	background-color: #F38B8B;
}

/*
	My profile
*/

.my-data {
	display: flex;
}

.my-data a {
	display: block;
	padding: 0.6em;
	margin-right: .4em;
	margin-bottom: .4em;
	border: solid gray 1px;
	text-align: center;
	background-color: #eee;
}

.my-data a:hover {
	background-color: #ccc;
}

.my-data a.flight-track-eu {
	background-color: #3C66B2;
	color: #fff;
}

.my-data a.flight-track-eu:hover {
	background-color: #2c5092;
}


table.technical-inspections tr.warning {
	background-color: #FFF7CE;
}

table.technical-inspections tr.warning:hover td {
	background-color: #F9E78B;
}

table.technical-inspections tr.alert {
	background-color: #FFCECE;
}

table.technical-inspections tr.alert:hover td {
	background-color: #F38B8B;
}

table.technical-inspections tr.expired {
	background-color: #F38B8B;
}

table.technical-inspections tr.expired:hover td {
	background-color: #F77373;
}

table.technical-inspections div.ok {
	color: green;
}

table.technical-inspections div.warning {
	color: brown;
}

table.technical-inspections div.alert {
	color: red;
	font-weight: bold;
}

table.technical-inspections div.expired {
	color: darkred;
	font-weight: bold;
}

table.technical-inspections tr.is-visible td {
	border-top-width: 6px;
	border-top-color: #0093DD;
	border-bottom-width: 2px;
}

table.technical-inspections tr.capable-of-operation td span.airplane-sign,
table.technical-inspections tr.capable-of-operation td span.message {
	color: green;
}

table.technical-inspections tr.incapable-of-operation td span.airplane-sign,
table.technical-inspections tr.incapable-of-operation td span.message {
	color: darkred;
}

table.technical-inspections span.airplane-sign {
	font-size: 120%;
	font-weight: bold;
}

.toggle-visibility {
	cursor: pointer;
}

div.training > ul {
	padding-left: 0;
}

div.training ul {
	list-style-type: none;
}

div.training ul:not(:first-child) li > span:first-child {
	font-weight: bold;
	padding-right: 1em;
}

div.training ul:not(:first-child) li.group {
	font-style: italic;
}

div.training ul:not(:first-child) li:not(.group):hover {
	color: white;
	background-color: #3484D2;
}

div.training span.group {
	font-weight: bold;
}

div.training span.group:hover {
	color: white;
	background-color: darkgreen;
}

.overview .license-name,
.overview .colored
{
	color: #3484D2;
}

.overview .toggle-more:hover {
	color: white;
	background-color: #3484D2;
}

.overview .toggle-more:hover .license-name,
.overview .toggle-more:hover .colored
{
	color: yellow;
}

.overview .more-content {
	border: solid 1px gray;
	padding: 0.2em;
	background-color: #E4F1FC;
}

.overview .toggle-more:hover .more-content {
	background-color: #3484D2;
}

.overview .toggle-more:hover .more-content .info-item:hover {
	color: #3484D2;
	background-color: white;
}

ul.message-types li.subject {
	text-decoration: underline;
	cursor: pointer;
}

ul.message-types li.subject:hover {
	color:white;
	background-color:#3484D2;
}

.public-flight-messages {
	position: absolute;
	display: none;
	font-size: 80%;
	padding: .2em;
	background-color: #eee;
	border: 1px solid #add4fb;
	-webkit-box-shadow: 7px 7px 12px 0px rgba(50, 50, 50, 0.47);
	-moz-box-shadow:    7px 7px 12px 0px rgba(50, 50, 50, 0.47);
	box-shadow:         7px 7px 12px 0px rgba(50, 50, 50, 0.47);
}

.public-flight-messages .more-content {
	display: none;
	background-color: white;
	border: 1px solid #add4fb;
}

.public-flight-messages .toggle-more-content:hover {
	text-decoration: underline;
}

.pf-message {
	padding: 0.2em;
	position: absolute;
	box-shadow: 7px 7px 12px 0px rgba(50, 50, 50, 0.47);
}

.info-panel {
	border: 2px solid #add4fb;
}

table.covid-access > tbody > tr > td {
	padding: 0;
}

table.covid-access tr:hover td {
	background-color: inherit;
}

table.covid-access table {
	width: 100%;
	border-collapse: collapse;
}

table.covid-access table > tbody > tr > td {
	border-top: 0;
	border-left: 0;
}

table.covid-access table > tbody > tr > td.no-slot {
	background-color: #eee;
}

table.covid-access table > tbody > tr > td .add-participation
{
	visibility: hidden;
}

table.covid-access table > tbody > tr > td:hover .add-participation,
table.covid-access table > tbody > tr > td:hover .remove-participation img
{
	visibility: visible;
}

table.covid-access .remove-participation img {
	visibility: hidden;
}

.margin-left {
	margin-left: 0.5em;
}

.margin-right {
	margin-right: 0.5em;
}


.public-flights-for-day {
    position: absolute;
}

table.public-flights-for-day caption {
	padding: 0.4em;
	color: #fff;
	background-color: #1b1b3a;
	font-weight: bold;
}

table.contibutors-benefits th {
	font-size: 100%;
}

table.contibutors-benefits .account-number {
	font-weight: bold;
}

.contibutors-benefits th.benefit {
	background-color: #aae2af;
}

.contibutors-benefits td.benefit {
	background-color: #d7fddb;
}

.contibutors-benefits tr:hover td.benefit {
	background-color: #c2ecc6;
}

.toggle-following-sibling {
	cursor: pointer;
}

.narrow-column {
	max-width: 6em;
}
