/**
 * Layout:
 *  - Baseline resets
 *  - Page Structure
 *  - Content
 *    - Headings
 *    - Text
 *  - Forms
 *  - Navigation
 *    - Main Menus
 *    - Submenu (tabbed pages)
 *  - Comments
 *  - Page Specific
 *    - Included in each page (separate style sheet included with the page - see /include/template.inc.php)
 *
 *
 * $Id: vzacommon.css,v 1.4 2009/06/15 10:29:05 cvs Exp $
 *
 * $Log: vzacommon.css,v $
 * Revision 1.4  2009/06/15 10:29:05  cvs
 * Most css files brought under this one file.
 * Added support for new pages.
 *
 * Revision 1.3  2006/08/11 15:32:38  cvs
 * Changed the background and merged in the contact list styles
 *
 * Extra small devices (phones, 600px and down) *
 @media only screen and (max-width: 600px) {
   .example {background: red;}
 }

 * Small devices (portrait tablets and large phones, 600px and up) *
 @media only screen and (min-width: 600px) {
   .example {background: green;}
 }

 * Medium devices (landscape tablets, 768px and up) *
 @media only screen and (min-width: 768px) {
   .example {background: blue;}
 }

 * Large devices (laptops/desktops, 992px and up) *
 @media only screen and (min-width: 992px) {
   .example {background: orange;}
 }

 * Extra large devices (large laptops and desktops, 1200px and up) *
 @media only screen and (min-width: 1200px) {
   .example {background: pink;}
 }
 */


/** >>>>> BASELINE RESETS >>>>> ----------------------------------------------*/
/*
* define HTML5 Std elements for browsers that do not suport theMenu
*/
header,
main,
footer,
section,
article,
aside,
nav,
figure {
  display: block;
}

html {
  box-sizing: border-box;
  height: 100%;
  width: 100%;
}

*, *::before, *::after {
  box-sizing: inherit;
}

output {
  display: inline;
}

* {
  margin:0;
  padding:0;
  font-family:"arial", "verdana", "helvetica", sans-serif;
  font-size:100%;
}

a           {text-decoration:none; font-style:italic;}
a img       {border:none;}
a:link      {color:#00B;}
a:visited   {color:#66F;}
a:hover     {color:#74F;}
a:active    {color:#C66;}

h1          {font-size:2.5em;}
h2          {font-size:2.0em;}
h3          {font-size:1.8em;}
h4          {font-size:1.5em;}
h5          {font-size:1.3em;}
h6          {font-size:1.1em;}
.main-title {
  font-size:2.5em;
  letter-spacing: .1em;
}


h1,h2,h3,
h4,h5,h6    {padding:.2em .4em;}

h1, h2, h3, h4, caption, legend  {color:#D50;}
h5 {color:#800;}
h6 {background-color:#800; color:#FFF;}

blockquote  {margin:.3em 3em;}

dd,
ul,ol,li    {margin:.3em 0 .3em 3%;}
p           {margin:.3em 0;}

hr {
  margin:.3em auto;
  color: #AAA;
}

iframe {
  height: 100%;
  width: 100%;
  border: none;
}

.dev.dev-show {
  display: initial;
  visibility: visible;
}

.dev.dev-default,
.dev.dev-hide {
  /* display: none; */
  visibility: hidden;
}

.iframe-box {
  height: 100%;
  width: 100%;
  box-shadow: 10px 10px 25px #444;
}



.fa {
/*   margin:auto 10px; */
/*   font-size: 1.3em; */
}

.fa-whatsapp {
  padding:0.03em 0.08em;
  background-color: #6D2;
  color:#FFF;
  -webkit-border-radius:0.05em;
  -o-border-radius:8px;
  -moz-border-radius:8px;
  border-radius: 0.3em;
}

.layer-10 {
  z-index: 10000;
}

.notification {
  text-decoration: none;
  position: relative;
  left: -0.8em;
  display: inline-block;
  border-radius: 2px;
  cursor: pointer;
}

.notification:link,
.notification:visited,
.notification:hover,
.notification:active {
  background-color: inherit;
  color: inherit;
}

.notification .badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1px 4px;
  border-radius: 50%;
  background: red;
  font-size: smaller;
  color: white;
}

.bold         {font-weight:bold;}
.block {
  display:block;
}
.frame        {background-image:none; background-color:transparent; border:none; margin:0;}
.left         {text-align:left;}
.number,
.right        {text-align:right;}
.tip          {color:#444; font-size:1em; text-align:right; margin:0 4px}
.title        {text-shadow:.05em .05em .08em #778;}
.underline    {text-decoration:underline;}
.valid        {color:#0A0;}
.user-hilite  {color:#F00;}
.form-error,
.bad-entry    {outline: 3px solid #F00;}

.flex-column {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.guide        {color: #888;}

.error        {color: red;}
.danger       {background-color:#F66;}
.warning      {background-color:#ED0;}
.ok           {background-color:#6C6;}



.failure {
  outline: 2px solid red;
}

.invalid {
  color: #FA04;
}

input[required]:invalid {
  outline: 3px solid #FA04;
}

.pending {
  color: orange;
}

input:valid.pending {
  outline: 3px solid orange;
}

.success,
input:valid.success {
  outline: 3px solid lime;
}


.magnify {
  cursor:-moz-zoom-in;
  cursor:-webkit-zoom-in;
  cursor:zoom-in;
}

.reduce {
  cursor:-moz-zoom-out;
  cursor:-webkit-zoom-out;
  cursor:zoom-out;
}

/* .feestday {background-color:#F8F8E0;} */
.feestday {color:#A84;}
/* tr.feestday td {padding:2px 0;} */
.saturday {color:#44D;}
.sunday {color:#0B0;}

.na {
  background: repeating-linear-gradient( 315deg, #EEE, #EEE 8px, #DDD 8px, #DDD 16px );
}

.note {
  padding:2px 4px;
  background-color:white;
  border:1px solid #888;
  border-radius: 8px;
}

.note-wrapper {
  margin: 0 auto;
  overflow: hidden;
}

.warning {
  padding:2px 4px;
  background-color:#FDC;
  border:2px solid #F88;
}


.errormsg
{
  background-color:#FFF;
  border:2px solid #F00;
  color:#000;
  text-align:left;
  width:80%;
  margin:auto;
}

.envelope {
  min-width: 28em;
  overflow: auto;
}

.spinner {
  position: absolute;
  opacity: 0.9;
  filter: alpha(opacity=90);
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=90);
  z-index: 999;
  background: #fff;
}

.spinner-msg {
  text-align: center;
  font-weight: bold;
}

.spinner-img {
  background: url('/images/spinner.gif') no-repeat;
  width: 24px;
  height: 24px;
  margin: 0 auto;
}

/**
* Offline / online / database synchronisation states
*
* Sync colours:
*   Grey    : status unknown - switched on and not synchronised
*   Blue    : awaiting manual sync - data ready but auto sync switched off
*   Orange  : (Stationary) awaiting auto sync - data available but no connection (WiFi red)
*   Orange  : (Spinning clockwise) busy with synchronisation upload - WiFi orange
*   Orange  : (Spinning anti-clockwise) busy with synchronisation download - WiFi yellow
*   Green   : synchronisation complete - WiFi green
*
*/
#sync_status.unknown {
  color: grey;
  animation: none;
}

#sync_status.error {
  color: red;
  animation: none;
}

#sync_status.wait {
  color: gold;
  animation: none;
}

#sync_status.upload {
  color: gold;
  animation-name: fa-spin;
  /* animation-direction: reverse; */
}

#sync_status.download {
  color: gold;
  animation-name: fa-spin;
  animation-direction: reverse;
}

#sync_status.complete {
  color: lime;
  animation: none;
}

#sync_status.manual {
  border: 1px solid yellow;
  border-radius: 20pt;
  background-color: #749cf0a0;
  color: blue;
  animation: none;
}

.db-sync {

}

.db-sync-error.fa-sync {
  color: red;
}

.db-sync-complete.fa-sync,
.db-sync-error.fa-wifi {
  color: lime;
}

.db-sync-pending-offline {

}

.db-sync-pending-online.fas-sync.fas-spin {
  color: orange;
}

.db-sync-complete.fas-sync {
    color: lime;
}





.vignette {
  opacity:0.85;
  filter:alpha(opacity=85);
}


.cosy-wrap {
  display: inline-block;
  height: inherit;
}

.cb       {clear:both;}
.cl       {clear:left;}
.cr       {clear:right;}

.user-confirm {
  display: grid;
  grid-template-columns: auto auto;
  grid-gap: 4px;
}

.tcell {
  display: flex;
  margin:0;
  padding:1px;
  width: 100%;
}

.tcell dd {
  margin-top:0;
  margin-bottom:0;
}

.odd,
tr.odd,
tr.odd td,
.data-rows > .trow:nth-child(odd),
.data-rows > tr:nth-child(odd) {
  /* background-color:#F8F8FF; */
  background-color: ghostwhite;
}

.even,
tr.even,
tr.even td,
.data-rows > .trow:nth-child(even),
.data-rows > tr:nth-child(even) {
  /* background-color:#E8E8E8; */
  background-color:#E0E0E0;
}

.data-rows > .trow:nth-child(odd) .trow-head {
  background-color: #8080801C;
}

.data-rows > .trow:nth-child(even) .trow-head {
  /* background-color:#E8E8E8; */
  background-color: #8080801C;
}

.hover,
.row-hilite,
.data-rows > .trow:hover,
.data-rows > .trow:focus,
.data-rows > tr:hover {
  /* background-color: #F4F4E0; */
  /* background-color: powderblue; */
  background-color: #B0E0E680;
}

.A4-portrait {
  height: 297mm;
  width: 210mm;
}

.A4-landsacape {
  height: 210mm;
  width: 297mm;
}


@media screen and (min-width: 800px ) {
}

body
{
  width: inherit;
  height: inherit;
  background-color:#7A91BC;
  background-image:url('/images/bg_body.jpg');
  background-attachment:fixed;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

main {
  height:100%;
  width:100%;
/*   background: linear-gradient(#2F4679 1em, transparent 10%); */
}

#page_footer,
#page_header {
  position: fixed;
  display: flex;
  height: 35px;
}

#title_bar {
  flex: 1;
}

#page_footer {
  bottom: 0;
}

#page_header {
  top: 0;
}

.page {
  width: inherit;
  max-width: 1440px;
  min-width: 280px;
  margin: auto;
}

#page
{
  position:relative;
  top: 0;
  /* margin: 0 auto; */
  padding: 35px 0;
  filter:alpha(opacity=92);
  opacity:0.92;
}

details > article {
  position: relative;
  overflow: auto;
}

.content {
  display: flex;
  height: 100%;
  width: 100%;
  margin:auto;
  padding: 1.5%;
  background:#EEE;
}

.content > div {
  /* flex: 1 0 280px; */
}

@media screen and (max-width: 800px ) {
  .content {
    flex-flow: column;
    height: auto;
    padding: 4px 0;
  }
}

.content-left,
.content-right {
  display:flex;
  height:inherit;
  width:calc(50% - 8px);
  min-width: 304px;
  margin:4px;
  flex: 1;
  flex-flow: column;;
}

@media screen and (min-width: 800px) {
  body {
    position:fixed;
    overflow:hidden;
  }

  #page {
    width: calc(100% - 50px);
    /* height: calc(100% - 75px); */
    height: calc(100%);
    /* margin: 35px auto; */
    filter:alpha(opacity=92);
    opacity:0.92;
  }

  .content {
    box-shadow: 10px 10px 25px #444444;
  }

}

.content-footer {
  clear:both;
  float:left;
}

.content-inner {
  display: flex;
  flex: 1 auto;
  flex-direction: column;
  height: inherit;
}

.overview {
  display: flex;
  justify-content: space-around;
}

.output {
  border: 1px solid white;
}


/*////////////////////////////////////////////////////////////////////////////*/
/*////////   S I D E B A R   a n d   N O T I F I C A T I O N S   /////////////*/

.sidebar {
  position: fixed;
  display: flex;
  flex-flow: column;
  height: 100%;
  width: 280px;
  padding: 0.6em;
  top: 0;
  background: #CCC;
  background: -webkit-linear-gradient(to left, #FFF 25%, #CCC, #AAC);
  background: -o-linear-gradient(to left, #FFF 25%, #CCC, #AAC);
  background: -moz-linear-gradient(to left, #FFF 25%, #CCC, #AAC);
  background: linear-gradient(to left, #FFF 25%, #CCC, #AAC);
  transition: 0.5s;
}

.sidebar-in {
  right: 0;
  z-index: 1;
}

.sidebar-out {
  right: -280px;
}

.sidebar > h3 {
  display: flex;
  justify-content: space-around;
  height: 35px;
  background: linear-gradient(to left, #DDD, #EEE, #BBC);
  border-radius: 8px
}

.sidebar > div {
  position: relative;
  overflow: auto;
}

.sidebar article {
  padding: 3% 1%;
}

/*////////   S I D E B A R   a n d   N O T I F I C A T I O N S   /////////////*/
/*////////////////////////////////////////////////////////////////////////////*/


.sheet-columns {
  flex: 1;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-content: flex-start;
}

.sheet-columns > div {
  flex: 1 0 280px;
  margin: 1% 0;
}

@media screen and (min-width: 640px) {
  .sheet-columns > div {
    margin: 1%;
  }
}

div.relative {
  position:relative;
  width:100%;
}

div.exampletext   {position:absolute; width:100%; top:0; left:0; opacity:0.45; filter: alpha(opacity=45);}
div.exampletext p {margin:20px auto; text-align:center;}


/**
* Emulate placeholder when using .output as alternative for disabled input
* These are clickable to enable a dialog item that for example, fills a hidden input
* NOTE: specifically:-
*       disabled input on Safari becomes unreadable on the iPhone, so the
*       .output class is used to make it look like an input but behave differently
*       depending upon the situation
*/
.output:empty::before {
  content: attr(placeholder);
  color: silver;
  text-align: left;
  white-space: nowrap;
}

:disabled {
  /* NOTE: Safari only on iPhone ignores disabled CSS selectors */
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
 color: #BBB;
 opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
 color: #BBB;
}

::-ms-input-placeholder { /* Microsoft Edge */
 color: #BBB;
}

input,
output.output {
  display: inline-block;
  height: 1.3em;
  padding: .1em .3em;
  color: initial;
  background-color: white;
  letter-spacing: normal;
  border: 1px solid slategrey;
}

output.output.active {
  background-color: #FFD;
  border: 1.5px solid #1A65CF;
  border-radius: 4px;
}

input:enabled {
  background-color: white;
  border: 1px solid slategrey;
}

input:focus {
  background-color: #FFD;
}

input:disabled {
  color: black;
  background-color: transparent;
  border: 1px solid transparent;
}

textarea {
  /* height: 1.3em; */
  height: inherit;
  padding: .1em .3em;
  overflow: auto;
  flex: 1 1 auto;
  color: initial;
  background-color: white;
  border: 1px solid slategrey;
}


input[type=checkbox],
input[type=radio]{
 width:1em;
 background-color:transparent;
 display: initial;
 margin: 0 2px;
}

td input,
td output,
td select,
td textarea {
 display: inline-block;
 width: 100%;
 background-color: transparent;
 border:1px solid transparent;
 font-size:inherit;
}

td.hilite,
input.hilite,
output.hilite,
.output.hilite,
select.hilite,
span.hilite,
textarea.hilite {
 background-color:#FFD;
 color:#000;
}

input.error,
select.error,
span.error,
textarea.error {
 background-color:#FFD;
 color:#F00;
}

button {
 margin: 10px;
 padding: 2px 4px;
 color:#000;
 background:linear-gradient(#CCE, #DDF 25%, #AAC);
 border-color:#CCC;
 -webkit-border-radius:8px 10px;
 -o-border-radius:8px 10px;
 -moz-border-radius:8px 10px;
 border-radius:8px 10px;
}



button.add-record {
  font-size:small;
  font-weight:bold;
  vertical-align:super;
  padding:0;
  margin:0;
}



/*******************************************************************************
* WARNING NOTE :-
*
* Solution to allow flexboxes to scroll inside a fieldset especially when
* another flex item exists in the same flexbox as the fieldset:-

  <section class="flex-fs-wrapper">   SET overflow: hidden;
    <fieldset><legend>text</legend>
      <div>                           SET overflow: auto;
      </div>
    </fieldset>
  </section>

  In order to make the presentation in Firefox, Chrome and Safari the same:-
  NOTE the specific padding and margins in
    .flex-fs-wrapper,
    fieldset,
    fieldset legend
    and
    fieldset > div

*******************************************************************************/


.flex-fs-wrapper {
  max-height: 100%;
  overflow: hidden;
  padding: 12px 0 0;
  flex: 1;
  resize: both;
}

.flex-fs-inner {
  width: 100%;
  height: 100%;
  overflow: auto;
  text-align: left;
  margin: 1% auto;
}

fieldset
{
  width: 100%;
  height: 100%;
  border: 1px solid slategrey;
  border-radius: 8px;
  padding: 0.5% 1%;
}

fieldset>legend
{
  margin-top : auto; /* For Chrome */
  margin-left : auto; /* For Chrome */
  margin-right : auto; /* For Chrome */
  margin-bottom : 0; /* For Chrome */
  padding: 0 0.3em;
  letter-spacing: .1em;
  text-align: left;
  line-height: 1.5em;
}

.button-box {
  display: inline-block;
}

.button-box button {
  background: transparent;
  border: 1px solid lightslategrey;
  cursor: pointer;
  width: auto;
  padding: .2em .7em;
  margin: 1px 4px;
}

legend > .button-box > button.off {
  background-image: radial-gradient(circle, skyblue, lightblue, blue);
}

legend > .button-box > button.on {
  background-image: radial-gradient(circle, #F8F8F8, #DDD, #BBB);
}

fieldset > div {
  display: flex;
  padding: .5% 0 3%;
  overflow: auto;
  flex-direction: column;
  height: 100%;
  max-height: 30em;
}

fieldset > div > dl {
  /**
    FIXME TODO
    Strange behaviour of 'overflow: auto;' in fieldset > div {} above not working,
    when in a flexbox container with column set in flex-flow or flex-directioin..
    Solved on some pages by setting height to zero !!
  */
  /*
  height: 0;
  */
}

#page_footer       {}


h1.veil   {width:60%;}
div.veil  {background-color: white; padding:2px; opacity:0.10; filter: alpha(opacity=10); width:80%;}

h1 span.text{}
h1 span div {position: absolute; left: 0; top: 0; height:100%; width: 100%;}
h2 span {background-color: #FFF; padding:0 2px; opacity:0.40; filter: alpha(opacity=40);}

dt {
  font-weight: bold;
  color:navy;
}

/** >>>>> TABLE MANAGEMENT >>>>> **********************************************/
/******* <<<<<< BEGIN ALTERNATIVE TABLE MANAGEMENT <<<<<< *********************/

.trow {
  /* display: table-row; */
}

.trow-head {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.trow-head-group {
  display: flex;
  justify-content: flex-start;
  flex: .1 0 120px;
}

.trow-data {
  display: flex;
  flex-wrap: wrap;
}

.trow-group,
.trow-group.expand {
  display: flex;
  flex: auto;
  flex-wrap: wrap;
  margin: 0 0.3%;
  border: 1px solid slategrey;
  border-radius: 8px;
}

.trow-group.expand:hover,
.trow-group.expand:focus {
  box-shadow: 2px 2px 6px #444;
}

.trow-group.collapse {
  display:none
}


/* .trow-group.collapse:not(.trow-group:first-child) {
  display:none
}
 */
.tgroup {
  display: flex;
  margin: 2px;
  border-radius: 4px;
  padding: 1px;
  flex-wrap:wrap;
  flex: 1;
  min-height: -webkit-fit-content;
  min-height: fit-content;
}
/*
form .tgroup {
  border: 1px solid #AAA;
}

form .tgroup:hover {
  box-shadow: 1px 1px 8px #444444;
}
*/
.tgroup p {
  margin: 0.1em 0.2em;
}

/* .trow-data > div {
  flex: 1;
  margin:0 0.3%;
}
 */

/******* <<<<<< END ALTERNATIVE TABLE MANAGEMENT <<<<<< ***********************/


div.table-scrollable
{
  display:inline-block;
  margin:10px auto;
  padding:0;
  height: calc(100% - 40px);
  width:auto;
  text-align:left;
}

div.tbody-container
{
  overflow-y: auto;
  padding:0 0 10px 10px;
}

div.thead-container
{
  padding:0 10px;
}

table.tbody-scrollable
{
  table-layout:fixed;
  border-spacing:1px;
  width:auto;
}

.tbody-template
{
  display: none;
}

.tbody-new-line td
{
  background-image: radial-gradient(#FFF, #EEE);
  text-align:center;
  color:blue;
}

.tbody-new-line tr:hover  td:first-child
{
  color: purple;
  cursor: pointer;
  background-image: radial-gradient(#FFF, #DDD);
}

col.aircraft-reg
{
  width:60px
}

col.icao-id
{
  width:60px;
}

.contact-email
{
  width:320px;
}

col.day-month
{
  width:60px;
}

.date-short
{
  width: 7em;
}

.date-medium
{
  width:100px;
}

.char,
.digit
{
  width:28px;
}

.money-99
{
  width:50px;
}

col.initial
{
  width:45px;
}

col.int-05
{
  width:70px;
}

col.number
{
  width:40px;
}

.char4 {
  width: 4em;
}

.time,
.money99,
.decimal99
{
  width: 4.6ch;
}

.money-999,
.decimal999 {
  width: 4em;
}

.money-9999,
.decimal9999 {
  width: 5em;
}

.integer9999 {
  width: 3.6em;
}

.integer999 {
  width: 2.7em;
}

.int99 {
  width: 2em;
}

.time24
{
  width:3em;
  text-align:right;
}

col.total-starts,
col.total-time
{
  width:80px;
}

col.licence-nr
{
  width:110px;
}

.address {
  width:280px;
}

.house-nr,
.post-code
{
  width:50px;
}

.person-forename
{
  width:90px;
}

.person-surname
{
  width:110px;
}

.person-name
{
  width: 170px;
}

.street-name
{
  width:180px;
}

.town-name
{
  width:150px;
}

.telephone
{
  width:140px;
}

col.ticket
{
  width:60px;
}

col.weekday-long
{
  width:95px;
}


th hr
{
  margin:.15em 0 0 0 ;
}

td {
  font-size: 1em;
  text-align:left;
}

td > * {
  padding:1px 4px;
}


th {
  background-color:transparent;
  padding:0 4px;
  vertical-align:bottom;
  font-weight:bold;
}

.toolbar,
.table-head {
  background: #F8F8F8;
  background: -webkit-linear-gradient(#E8E8E8 0%, #FFFFFF 30%, #D8D8D8 95%);
  background: -o-linear-gradient(#E8E8E8 0%, #FFFFFF 30%, #D8D8D8 95%);
  background: -moz-linear-gradient(#E8E8E8 0%, #FFFFFF 30%, #D8D8D8 95%);
  background: linear-gradient(#E8E8E8 0%, #FFFFFF 30%, #D8D8D8 95%);
  text-align:center;
}

thead th              {padding: 4px;}
tbody th              {text-align:right; vertical-align: middle;}
/* tbody td              {font-size:small;} */


table.list            {margin:0; border-spacing:1px;}
/* table.list tbody th   {background:#DDD;} */
/* table.list thead th, */
/* table.list tbody td   {background-color:#EEE;} */
table.list td.danger  {background-color:#F66;}
table.list td.warning {background-color:#ED0;}
table.list td.ok      {background-color:#6C6;}

table.datatable       {padding:2px;}
caption               {font-size:large;}
caption span.tip      {color:#BBB; font-size:smaller; border:none;}
td.fill               {background:transparent; width:4px; padding:0;}

/** <<<<< TABLE MANAGEMENT <<<<< **********************************************/


/**
 * Forms only:-
 * to make a difference for the user to see when they can fill in data or not
 */

/*

 .writeable {
   background-color:#FFF;
   border:1px solid silver;
 }

 .obligatory {
   background-color:#FFC;
   border:1px solid #F00;
 }


div.form-outer {
  margin: 0;
  width: 100%;
  text-align:left;
  overflow: auto;
  background:#C1D5EF;
}

form *.hilite         {background-color:#DEF;}
form div.form-inner   {padding:10px; text-align:center;}
form h2,
form h3,
form h4               {color:#FFF;}

form input[type=text] {
  border:1px solid silver;
  padding:0 2px;
  background-color:#FFF;
}

form label            {color:navy; font-size:10pt; font-weight:bold;}
form label.enabled    {color:navy;}
form label.disabled   {color:silver;}
form caption          {color:#FFF; font-weight:bold;}
form tbody tr         {background-color:#EFEFF8;}
/* tbody.data_rows>tr:hover   {background-color:#FDC;} */
/* tbody tr:hover   {background-color:yellow;} */
form thead th,
form tbody th         {background-color:transparent; background-image:none; color:navy;}
form tbody td         {background-color:transparent; background-image:none;}
form td               {border:none;}

dl.data-rows {
  padding-bottom: 6em;
  background: linear-gradient(transparent 98%, slategrey 110%);
}

/* .data-rows input[type=date],
.data-rows input[type=email],
.data-rows input[type=number],
.data-rows input[type=password],
.data-rows input[type=text] */
.data-rows input:not(input[type=checkbox]) {
  border:1px solid slategrey;
  font-size:inherit;
  display: inline-block;
  width: inherit;
  height: 1.3em;
}

.data-rows td input:not(input[type=checkbox]) {
  width: 100%;
}

input[type=number] {
  text-align: right;
}


/**
FIXME  duplication - use trow-head
.data-rows dt {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
*/
/*
.data-rows dt > div {
  margin-left: 1%;
  margin-right: 1%;
}
*/

/**
FIXME  duplication - use trow-data
.data-rows dd {
  display: flex;
  flex-flow: wrap;
  justify-content: space-between;
}
*/
.data-rows dd > div {
  display: flex;
}

div.buttons           {clear:both; padding:10px; text-align:center;}

/* Contact List */
td.status             {color:blue; font-weight:bold;}
td.payment            {color:red; font-weight:bold;}
td.name               {color:navy;}
td.telephone          {color:#006400;}
td.mobile             {color:#006400;}

/*
td.email      {color:blue; cursor:pointer; font-style:italic;}
td.email:hover {color:maroon;}*/


/* specific classes */
.icao-airfield {
  text-transform: uppercase;
  width: 5em;
}

.icao-reg {
  text-transform: uppercase;
  width: 5em;
}

.lightbox-mask
{
  position:absolute;
  top:0;
  left:0;
  height:100%;
  width:100%;
  background-color:black;
  z-index:99;
  opacity:0.7;
}

.lightbox-content
{
  position:absolute;
  top:0;
  left:0;
  height:100%;
  width:100%;
  z-index:100;
}



/****************************** Individual Pages ******************************/
/**
 *  Home
 */
#home           {}
#home div.contentleft   {width:49%;}
#home div.homeleft      {width:98%; margin:0 auto; color:#FFF; text-align:left; }
#home div.homeright     {width:96%; margin:0 auto; background-color:#888; text-align:center; }
#home div.homeright img {width:100%; border:1px solid #888;}
/* #home div.picspanel     {float:right; position:relative; width:260px; margin-left:30px; text-align:center;} */
#promotion_phrase h2 {color:#D00;}
#home div.picspanel     {float:right; position:relative; width:600px; height:480px; margin-left:30px; text-align:center;}
#home div.bg-picspanel  {position:absolute; top:0; left:0; height:100%; width:100%; background:#FFF; opacity:0.3; filter: alpha(opacity=30);}
#home div.picspanel a         {display:block;}
#home div.picspanel a:visited {color:#00F;}
#home div.picspanel a:hover   {color:#FD0;}
#home div.picspanel a div     {position:relative; height:100%;}
#home div.picspanel p   {font-size:large; font-weight:bold; margin:3px auto;}
#home div.picspanel p.announcement {text-decoration:underline;}
/* endof home */

/**
 * Contact - public contacts oage
 */
#contact                {margin:0 auto; width:760px;}
#contact .contact       {width:98%; text-align:right;}
#contact #leftcol     {width:54%; display:inline-block;}
#contact #rightcol    {width:42%; display:inline-block;}
#contact #footer      {width:98%; text-align:center;}
#contact table     {background:transparent; width:auto; margin:20px auto; border-collapse:collapse;}
#contact table tr  {height:2em;}

/* endof contact */



/**
 * Logs
 */
/* table#day_overview th {font-size:12px;} */
/* table#day_overview td {font-size:11px;} */

/* endof Logs */


/**
* Promotion
*/
tr.tf-default input
{
  color:#000;
}

tr.tf-paid input
{
  color:#0A0;
}

tr.tf-unpaid input
{
  color:#F00;
}

/**
 *  Map
 */
#google_map
{
  flex: 1 0 50%;
  height: inherit;
  min-height: 480px;
  min-width: 280px;
  margin: 0;
  border: 1px solid silver;
}

#google_map_directions {
  display: flex;
  flex: 1 0 25%;
  flex-direction: column;
  min-width: 280px;
  margin: 0;
  overflow: auto;
}

#map_itinerary {
  position: relative;
  height: calc(100% - 66px);
  margin:10px;
  overflow:auto;
}
/* endof Map */

/**
*   WebSite
*/
#public-sheet span.tip
{
  background:transparent;
  border:none;
  color:#AAA;
}


#feedback div.contentright
{
  text-align:center;
}

#feedback div.contentleft table
{
  margin:10px auto;
}

#feedback div.contentright div
{
  margin:10px;
}
/* endof website */


/**
*   Popup screens
*/
div.popupform
{
  position:absolute;
  background-color:#A0A0A0;
  border:5px ridge darkslategrey;
  display:none;
  text-align:center;
  padding:20px;
}

div.usermsg
{
  background-color:#DDD;
  width:auto;
  max-width: 80%;
  margin: auto;
  border:2px solid #E00;
  text-align:left;
  box-shadow:10px 10px 25px #444;
}

div.usermsg div.umsgtitle
{
  background:#A00;
  color:#FFF;
  text-align:center;
  font-size:medium;
  font-weight:bold;
  padding:10px;
}

div.usermsg div.title p
{
  margin:0 auto;
}

div.usermsg div.msg
{
  margin:10px
}

div.usermsg div.msg p
{
  width:100%;
}

div.usermsg div.msg p span
{
  float:right;
  color:#666;
}

#message
{
  display:none;
  position:fixed;
  top: 0;
  left:0;
  height: 100%;
  width: 100%;
  z-index:3;
  background-color: #555;
}

#message pre {
  white-space: pre-wrap;
}

/*#setup table  {background-color:transparent; border:none;}
#setup td     {text-align:left; background-color:transparent;}*/
/* endof popup screens */

/* Help popup
  styles for the overlib library
  NOTE: '!important' is used here to override the inbuilt classes of overlib
*/
#overDiv
{
  margin:0;
  padding:0;
  position:absolute;
  width: auto;
  max-width: 100%;
  display: none;

  top: -400px;
  left: -400px;

/* top:400px;
left:400px; */
  z-index:1000;
  background-color:#DCDCDC;
  border:1px solid maroon;
  box-shadow: 8px 8px 16px #888;
}

#overDiv *
{
  margin:0;
  padding:0;
}

#overDiv table
{
  background-color:transparent;
  width:100%;
  border:none;
  border-collapse:collapse!important;
}

#overDiv table td
{
  background-color:transparent;
  border:none;
}

.help-caption
{
  background-color:#A00!important;
  color:#FFF;
  font-size:small;
  font-weight:bold;
  text-align:center;
  padding:3px;
}

.help-text
{
  font-size:9pt;
  padding:3px!important;
}

.help-text ol,
.help-text ul
{
  margin:0 0 0 1em!important;
}

.help-text li
{
  margin:0 0 0 .5em!important;
}

.help-text p:first-line
{
  text-indent:1em!important;
}

@media screen and (min-width: 640px) {
  #overDiv {
    max-width: 400px;

  }
}


/* endof Help popup (#overDiv) */

/** <<<<< END OF STATIC GRAPHICS DEFINITINS <<<<< *********ß********************/



/** >>>>> BEHAVIOUR >>>>> *****************************************************/
/** >>>>> NAVIGATION >>>>> ****************************************************/

/*////////////////////////////////////////////////////////////////////////////*/
/*///////////////////   B E G I N   M A I N   M E N U   //////////////////////*/
/*////////////////////////////////////////////////////////////////////////////*/

#menu {
  position: fixed;
  top: 0;
  width: 13em;
  min-height: 100%;
  height: auto;
  margin: 0;
  color:#66C;
  background: #CCC;
  background: -webkit-linear-gradient(to right, #FFF 25%, #CCC, #99C);
  background: -o-linear-gradient(to right, #FFF 25%, #CCC, #99C);
  background: -moz-linear-gradient(to right, #FFF 25%, #CCC, #99C);
  background: linear-gradient(to right, #FFF 25%, #CCC, #99C);
}

#menu_wrap {
  height: 100%;
  width: 14em;
  top: 0;
}

#menu > figure {
  text-align: center;
}

#menu img {
  margin: 4% auto 0;
  width: 60%;
}

#menu_logo {
  height: 10%;
}

@media screen and (max-height: 400px) {
  #menu > figure {
    display: none;
  }
}

@media screen and (min-width: 800px ) {
  #menu img {
    height: auto;
    width: auto;
  }

  fieldset > div {
    max-height: unset;
  }
}

.menu-heading {
  font-size:larger;
  text-transform: capitalize;
}

#menu [class*=fa-caret] {
  width: 0.8em;
}

#menu ul {
  list-style: none;
  line-height: 1em;
  margin:0 0 0 0.4em;
}

#menu ul li {
  margin-left: 0.4em;
}

.menu-heading:hover {
  cursor: pointer;
}

a.menu-link {
  display: block;
  margin-left: 0.6em;
}

a.menu-link:hover {
  background: #EEE;
  background: -webkit-linear-gradient(to right, #EEE 35%, #CCC, #88C);
  background: -o-linear-gradient(to right, #EEE 35%, #CCC, #88C);
  background: -moz-linear-gradient(to right, #EEE 35%, #CCC, #88C);
  background: linear-gradient(to right, #EEE 35%, #CCC, #88C);
}


#menu_body {
  position:fixed; bottom:0;
  height:110px;
  width:100%;
  background:transparent;
/*   background:transparent url('/images/menu/fuselage_bg.gif') no-repeat center top; */
}

#menu_outer_panel
{
  position:relative;
  width:800px;
  margin:auto;
}

#capping_top_left
{
  float:left;
  height:20px;
  width:20px;
  background:url('/images/menu/panel_capping_top_left.gif') no-repeat;
}

#capping_top_centre
{
  height:20px;
  width:760px;
  line-height:20px;
  float:left;
  background:url('/images/menu/panel_capping_top.gif') repeat-x;
  text-align:center;
  vertical-align:middle;
}

#capping_top_right
{
  float:left;
  height:20px;
  width:20px;
  background:url('/images/menu/panel_capping_top_right.gif') no-repeat;
}

#capping_left
{
  clear:left;
  float:left;
  height:200px;
  width:20px;
  background:url('/images/menu/panel_capping_left.gif') repeat-y;
}

#capping_right
{
  float:left;
  height:200px;
  width:20px;
  background:url('/images/menu/panel_capping_right.gif') repeat-y;
}

#sessiontimeout
{
  position:absolute;
  top:0;
  left:600px;
  width:170px;
  text-align:right;
}

#instrument_panel_bkgnd
{
  float:left;
  height:200px;
  width:760px;
  background:#666 url('/images/menu/panel_bkgnd.gif') repeat;
}

#instrument_panel_centre
{
  float:left;
  height:200px;
  width:390px;
  text-align:center;
}

div.instrument-panel-side
{
  float:left;
  height:200px;
  width:185px;
  text-align:center;
}

div.menu-info-panel
{
  width:171px;
  margin:4px auto;
  border:3px inset #666;
  background:#BBF url('/images/menu/instrument_panel_outer.jpg');
}

table.info-panel th
{
  text-align:right;
  font-size: small;
}

table.info-panel td
{
  text-align:left;
  font-size: small;
}

#menu_panel
{
  height:45px;
  width:378px;
  margin:4px 0;
  float:left;
  border:3px inset #888;
  background:#B8DCB8 url('/images/menu/instrument_panel_h.jpg');
}

/* #menu_panel table td
{
  width:25%;
  padding:1px;
}
*/

#menu_panel ul
{
  list-style:none;
  margin:0;
  height:45px;
}

#menu_panel ul.menudefault
{
  display:none;
}

#menu_panel ul.menuselected
{
  display:block;
}

#menu_panel .menu-item
{
  width:25%;
  margin:0;
  float:left;
}


/* #menu_panel table td a */
#menu_panel .menu-item a
{
  display:block;
  font-size: x-small;
  text-transform:uppercase;
  text-decoration:none;
  font-style:normal;
  background-color:transparent;
  padding:1px 3px;
  color:#000;
}

#menu_panel .menu-item a:hover
{
  color:#AFA;
  background-color:#777;
}

#menu_panel table td a:hover
{
  color:#AFA;
  background-color:#777;
}

table.menu,
table.info-panel
{
  width:100%;
  border-collapse:collapse;
  text-align:left;
}

table.menudefault
{
  display:none;
}

table.menuselected
{
  display:table;
}

/*
table.menu>tbody>tr,
table.info_panel>tbody>tr,
table.menuselected>tbody>tr,
table.buttons>tbody>tr
{
  background-color:transparent;
}
*/

#menu_selection
{
  position:relative;
  top:0;
  left: -10px;
  margin:10px;
  padding:10px;
  width:100%;
}

.menu-button
{
  margin:0;
}

/* using UL LIs for the buttons */
.menu-public
{
  margin:0;
  padding:0;
  width:100%;
  float:left;
  text-align:center;
}

.menu-select
{
  margin:0;
  padding:0;
  width:25%;
  float:left;
  text-align:center;
}

form.menu-form
{
  padding:0 4px;
  margin:4px auto;
  width:auto;
  text-align:right;
}

form#register
{
  display:none;
}

form.menu-form input
{
  margin:1px;
  height:1.3em;
  width:55%;
  border:1px dotted #888;
  background-color:transparent!important;
}

form.menu-form label
{
  font-family:arial,helvetica,sans-serif;
  color:#000;
  text-transform:uppercase;
}

form.menu-form button.imageonly
{
  padding:0; margin:0;
}

input.login-submit
{
  position:absolute;
  width:0;
  height:0;
  padding:0;
  margin:0;
  left:-1000px;
}

.menu-btn-hidden,
#submit_code
{
  display:none;
}

/*////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////   E N D    M A I N   M E N U   ///////////////////////*/
/*////////////////////////////////////////////////////////////////////////////*/



/*////////////////////////////////////////////////////////////////////////////*/
/*///////////////////////////   T A B S H E E T S   //////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////*/
/*
 * tabbed sheets
 *
 * tabsheetsbody  - container for tabsheets: includes tabs and sheets
 * tsmenu         - container for the tabs
 *                  comprises 4 elements:
 *                  1 <UL>  contains the list of tabs
 *                  2 <LI>  each tab element, display:block / float:left, forces horizontal display
 *                  3 <DIV> allows a extendable background to be merged with the <LI> background
 *                  4 <A>   holds the tab menu text
 * tsframe        - container for the sheets
 */


 #tsmenu .fa {
   width: 1.8em;
   padding: .3em;
   text-align:center;

   height: inherit;
   margin: .1em .3em;
 }


#menuglyph {
  width: 1.8em;
  padding: .3em;
  text-align:center;
  border: 1px solid transparent;
  border-radius: 20pt;
  background-color: #749cf0a0;
}

#menuglyph:hover {
 cursor: pointer;
}

#tsmenu_canvas,
#tsmenu_wrap {
  height: 2.2em;
  width: 100%;
  position:fixed;
  bottom: 0;
  background-color: transparent;
}

#tsmenu_canvas {
  background: radial-gradient(180% 120% at 50% 100%, #749cf0 1%, transparent 200%);
  z-index: 0;
}

#tsmenu_wrap {
  z-index: 1;
}

#tsmenu_container
{
  height: inherit;
  width:100%;
  color: #FFF;
  /* background-color: transparent; */
}

#tsmenu {
  display: flex;
  justify-content: space-between;
  width:100%;
  padding: 0.1em 0.6em;
}

#tsmenu > div {
  /* display: inherit; */
}

#tabmenu_container {
  display: none;
}

#page_header > div {
  display: inline-flex;
  width: 100%;
  height: 100%;
  color: white;
  text-align: center;
  padding: .5em;
  background: radial-gradient(180% 120% at 50% 0%, #749cf0 1%, transparent 200%);
  white-space: nowrap;
}

#page_header > div:first-child {
  justify-content: flex-start;
}

#page_header > div:nth-child(2) {
  justify-content: space-around;
}

#page_header > div:last-child {
  justify-content: flex-end;
}


.tsmenu-default
{
  color:#768EBA;
  background-color:#DDD;
  background: -webkit-linear-gradient(#326A99, #87BFEE 35%, #326A99 90%);
  background: -o-linear-gradient(#326A99, #87BFEE 35%, #326A99 90%);
  background: -moz-linear-gradient(#326A99, #87BFEE 35%, #326A99 90%);
  background: linear-gradient(#D4D4D4, #E8E8E8 35%, #D0D0D0 90%);
}

.tsmenu-selected
{
  color: #FFFFFF;
  background-color: #326A99;
  background: -webkit-linear-gradient(#326A99, #87BFEE 35%, #326A99 90%);
  background: -o-linear-gradient(#326A99, #87BFEE 35%, #326A99 90%);
  background: -moz-linear-gradient(#326A99, #87BFEE 35%, #326A99 90%);
  background: linear-gradient(#326A99, #7F88EE 35%, #326A99 90%);
}

.tsmenu-item {
  cursor: pointer;
}

.tsmenu-default.tsmenu-item:hover
{
  color:#6860C8;
}

.title-bar {
  display: inline-block;
  letter-spacing: 0.01em;
}

.title-bar-left {
  justify-content: flex-start;
}

.title-bar-middle {
  justify-content: space-around;
}

.title-bar-left {
  justify-content: flex-end;
}

.page-title {
  display: none;
}

.tsdefault,
.tsselected
{
}

@media screen and (min-width: 800px ) {
  #page_header > div {
    display: none;
  }

  #tsmenu_canvas,
  #tsmenu_wrap {
    top: 0;
  }

  #tsmenu_container {
    bottom: unset;
    top: 0;
    width:100%;
    min-width: 320px;
    margin: 0 auto;
  }

  #tsmenu > div {
    /* margin: 0 0.3em; */
  }

  #tabmenu_container {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    padding: 0.3em 0;
  }

  #tabmenu {
    display: block;
    list-style: none;
    margin: 0 1em;
    overflow: auto;
  }

  #tabmenu li {
    margin:0 0.25em;
    display: inline-block;
    padding: 0.1em 0.25em;
    line-height: 1em;
    font-weight: bold;

    -webkit-border-radius:4px;
    -o-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
  }
}

@media (min-width: 800px) {
  .tsdefault {
    display: none;
  }
  .tsjoined {
    display: inherit;
    flex-direction: column;
    height: inherit;
  }

  .tsselected {
    display: inherit;
    flex-direction: inherit;
    height: inherit;
  }

  .page-title {
    display: inline-block;
    letter-spacing: 0.009em;
    width: fit-content;
    padding: .4em;
  }
}

div.innersheet::after
{
  background-color: orange;
  content: "vzacommon.css - class .inner-sheet: deprecated";
}

/*////////////////////////////////////////////////////////////////////////////*/
/*////////////////////   E N D   O F   T A B S H E E T S   ///////////////////*/
/*////////////////////////////////////////////////////////////////////////////*/


/*////////////////////////////////////////////////////////////////////////////*/
/*///////////////////   B E G I N    N A V I G A T I O N   ///////////////////*/
/*////////////////////////////////////////////////////////////////////////////*/

#external {
  position:relative;
  height: 52px;
}

#external a {
  display: inline-block;
  height:100%;
  background-repeat: no-repeat;
}

#external a.fai {
  top: 0;
  height: 52px;
  width :40px;
  vertical-align:middle;
  background: url('https://www.fai.org/images/frontpage_logo6.png');
  -webkit-background-size: 128px 64px;
  -o-background-size: 128px 64px;
  background-size: 128px 64px;
}

#external a.lvzc {
  top: 0;
  height:32px;
  width :128px;
  vertical-align:middle;
  background: url('/images/menu/lvzclogo_alpha.png');
  -webkit-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

#social {
  position:relative;
  height: 38px;
}

#social a {
  display: inline-block;
  height:100%;
  background: url('/images/lib/social-media-icons-css-sprite.png');
  background-repeat: no-repeat;
}

#social a.facebook:link {
  top: 0;
  width :38px;
  background-position: -38px -2px;
  -webkit-background-size: 500px 78px;
  -o-background-size: 500px 78px;
  background-size: 500px 78px;
}

#social a.facebook:hover {
  top: 0;
  width :38px;
  background-position: -38px -40px;
  -webkit-background-size: 500px 78px;
  -o-background-size: 500px 78px;
  background-size: 500px 78px;
}

#social a.googleplus:link {
  width :38px;
  background-position: -152px -2px;
  -webkit-background-size: 500px 78px;
  -o-background-size: 500px 78px;
  background-size: 500px 78px;
}

#social a.googleplus:hover {
  width :38px;
  background-position: -152px -40px;
  -webkit-background-size: 500px 78px;
  -o-background-size: 500px 78px;
  background-size: 500px 78px;
}

#social a.youtube:link {
  width :38px;
  background-position: -266px -2px;
  -webkit-background-size: 500px 78px;
  -o-background-size: 500px 78px;
  background-size: 500px 78px;
}

#social a.youtube:hover {
  width :38px;
  background-position: -266px -40px;
  -webkit-background-size: 500px 78px;
  -o-background-size: 500px 78px;
  background-size: 500px 78px;
}

#social a.instagram:link {
  width :38px;
  background-position: -76px -2px;
  -webkit-background-size: 500px 78px;
  -o-background-size: 500px 78px;
  background-size: 500px 78px;
}

#social a.instagram:hover {
  width :38px;
  background-position: -76px -40px;
  -webkit-background-size: 500px 78px;
  -o-background-size: 500px 78px;
  background-size: 500px 78px;
}

/*////////////////////////////////////////////////////////////////////////////*/
/*///////////////////////   E N D   N A V I G A T I O N   ////////////////////*/
/*////////////////////////////////////////////////////////////////////////////*/


/*////////////////////////////////////////////////////////////////////////////*/
/*////// BEGIN INPUT RANGE SLIDER FROM CSS PORTAL ////////////*/

/*
input[type=range] {
  height: 38px;
  -webkit-appearance: none;
  margin: 10px 0;
  width: 100%;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 1px 1px 1px #000000;
  background: #3071A9;
  border-radius: 5px;
  border: 1px solid #000000;
}
input[type=range]::-webkit-slider-thumb {
  box-shadow: 1px 1px 1px #000000;
  border: 1px solid #000000;
  height: 30px;
  width: 15px;
  border-radius: 5px;
  background: #FFFFFF;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -11px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #3071A9;
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 1px 1px 1px #000000;
  background: #3071A9;
  border-radius: 5px;
  border: 1px solid #000000;
}
input[type=range]::-moz-range-thumb {
  box-shadow: 1px 1px 1px #000000;
  border: 1px solid #000000;
  height: 30px;
  width: 15px;
  border-radius: 5px;
  background: #FFFFFF;
  cursor: pointer;
}
input[type=range]::-ms-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  animate: 0.2s;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
  background: #3071A9;
  border: 1px solid #000000;
  border-radius: 10px;
  box-shadow: 1px 1px 1px #000000;
}
input[type=range]::-ms-fill-upper {
  background: #3071A9;
  border: 1px solid #000000;
  border-radius: 10px;
  box-shadow: 1px 1px 1px #000000;
}
input[type=range]::-ms-thumb {
  margin-top: 1px;
  box-shadow: 1px 1px 1px #000000;
  border: 1px solid #000000;
  height: 30px;
  width: 15px;
  border-radius: 5px;
  background: #FFFFFF;
  cursor: pointer;
}
input[type=range]:focus::-ms-fill-lower {
  background: #3071A9;
}
input[type=range]:focus::-ms-fill-upper {
  background: #3071A9;
}

*/
/*////////////////////////////////////////////////////////////////////////////*/
/*////// END INPUT RANGE SLIDER FROM CSS PORTAL ////////////*/


/*******************************************************************************
*
* NOTE: switch implementation necessary because webkit checkbox on iPhone
*       display is almost unreadable. This makes it more obvious
*/
.switch {
 position: relative;
 display: inline-block;
 width: 34px;
 height: 14px;
}

.switch input {
 opacity: 0;
 width: 0;
 height: 0;
}

.slider {
 position: absolute;
 cursor: pointer;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 height: 18px;
 width: 34px;
 background-color: #C4C4C4;
 -webkit-transition: .3s;
 transition: .2s;
}

.slider:before {
 position: absolute;
 font-weight: bold;
 font-size: 90%;
 content: "";
 height: 16px;
 width: 16px;
 left: 2px;
 bottom: 1px;
 color: white;
 background-color: #333;
 -webkit-transition: .3s;
 transition: .2s;
 display: inline-flex;
 justify-content: center;
 align-items: center;
}

input:checked + .slider {
 background-color: #2196F3;
}

input:focus + .slider {
 box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  color: black;
  background-color: white;
  -webkit-transform: translateX(14px);
 -ms-transform: translateX(14px);
 transform: translateX(14px);
}

/* Rounded sliders */
.slider.round {
 border-radius: 14px;
}

.slider.round:before {
 border-radius: 50%;
}

/*////////////////////////////////////////////////////////////////////////////*/
/*//////////////////////   E N D   O F   S W I T C H   ///////////////////////*/
/*////////////////////////////////////////////////////////////////////////////*/


/*////////////////////////////////////////////////////////////////////////////*/
/*//////////////////   H O M E   G R O W N   S E L E C T   ///////////////////*/
/*////////////////////////////////////////////////////////////////////////////*/
/*******************************************************************************
*
*   Home grown select facility with CSS enabled feature
*
* /
 select {
   border:1px solid silver;
   padding:0 2px;
   background-color:white;
 }

 select.enabled {
   border:1px solid silver;
   padding:0 2px;
   background-color:white;
 }

 select.disabled {
   border:1px solid silver;
   padding:0 2px;
   background-color:#CCC;
 }

select{
  display: block;
  font-size: 16px;
  font-family: sans-serif;
  font-weight: 700;
  color: #444;
  line-height: 1.3;
  padding: .6em 1.4em .5em .8em;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  border: 1px solid #aaa;
  box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
  border-radius: .5em;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
    linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%);
  background-repeat: no-repeat, repeat;
  background-position: right .7em top 50%, 0 0;
  background-size: .65em auto, 100%;
}
select::-ms-expand {
 	display: none;
}
select:hover {
 	border-color: #888;
}
select:focus {
 	border-color: #aaa;
 	box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
 	box-shadow: 0 0 0 3px -moz-mac-focusring;
 	color: #222;
 	outline: none;
}
select option {
 	font-weight:normal;
}

*/

/*////////////////////////////////////////////////////////////////////////////*/
/*///////////   E N D   O F   H O M E   G R O W N   S E L E C T   ////////////*/
/*////////////////////////////////////////////////////////////////////////////*/


/*////////////////////////////////////////////////////////////////////////////*/
/*//////////////////        I N P U T    M O D U L E        //////////////////*/
/*////////////////////////////////////////////////////////////////////////////*/

.mod-input {
  height: 1.2em;
  margin:0;
  padding:0 3px;
}

.input-module {
  position:absolute;
  background-color:#CCC;
  height:0;
  width:0;
  top:0;
  left:0;
  margin: 4px;
  padding: 4px;
  -webkit-border-radius:8px;
  -o-border-radius:8px;
  -moz-border-radius:8px;
  border-radius: 8px;
  box-shadow: 10px 10px 25px #444444;
  z-index:2;
}

/* draw the large triangle - guide eyes left */
/* .im:before {
  position: absolute;
  display: inline-block;
  /* border-top: 133px solid transparent;
  border-right: 24px solid #CCC;
  border-bottom: 133px solid transparent; * /
  border-top: 13px solid lime;
  border-right: 24px solid pink;
  border-bottom: 13px solid cyan;
  left: -8px;
  top: 0;
  content: '';
} */

/* draw the small triangle - point to element left */
.im.im-arrow-left:after {
  position: absolute;
  display: inline-block;
  border-top: 12px solid transparent;
  border-right: 8px solid #1A65CF;
  border-bottom: 12px solid transparent;
  /* border-left: 8px solid transparent; */
  left: -4px;
  top: calc(50% - 6px);
  content: '';
}

/* draw the small triangle - point to element top */
.im.im-arrow-top:after {
  position: absolute;
  display: inline-block;
  /* border-top: 8px solid transparent; */
  border-right: 8px solid transparent;
  border-bottom: 8px solid #1A65CF;
  border-left: 8px solid transparent;
  left: calc(50% - 8px);
  top: -16px;
  content: '';
}

/* .input-module li:hover {
  background-color: skyblue;
}
 */
.input-module-title {
  text-align: center;
}

/*////////////////////////////////////////////////////////////////////////////*/
/*///////////////      E N D   I N P U T    M O D U L E        ///////////////*/
/*////////////////////////////////////////////////////////////////////////////*/



.popup-select {
  position: absolute;
  top: 101%;
  /* left: 0, */
  right: 0;

  width: auto;
  max-height: 6.3em;
  margin: 0;
  padding: 2px 10px;
  z-index: 3;
  box-shadow: 4px 4px 20px #444;

}


/*////////////////////////////////////////////////////////////////////////////*/
/*////////////      A U T O C O M P L E T E    M O D U L E        ////////////*/
/*////////////////////////////////////////////////////////////////////////////*/

/* NOTE the container must be positioned relative: ### */
.autocomplete {
  position: relative;
  display: inline-block;
}

/**
*   Use theme, not these
input.autocomplete  {
  border: 1px solid transparent;
  background-color: #f1f1f1;
  padding: 4px 10px;
  font-size: 100%;
}

input[type=text].autocomplete  {
  background-color: #f1f1f1;
  width: 100%;
}

input[type=submit].autocomplete  {
  background-color: DodgerBlue;
  color: #fff;
  cursor: pointer;
}
*/

.autocomplete-items {
  position: absolute;
  /* border: 1px solid #d4d4d4; */
  border: 1px solid #F00;
  border-bottom: none;
  border-top: none;
  outline:2px solid red;
  box-shadow: 8px 8px 20px #444;
  max-height: 10em;
  overflow: auto;
  z-index: 99;
  /* NOTE position the autocomplete items to be the same width as the container: */
  top: 100%;
  left: 0;
  right: 0;
}

.autocomplete-items div {
  padding: 2px 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}

/* when hovering an item: */
.autocomplete-items div:hover {
  background-color: #e9e9e9;
}

/* when navigating through the items using the arrow keys: */
.autocomplete-active {
  background-color: DodgerBlue !important;
  color: #ffffff;
}

/*////////////////////////////////////////////////////////////////////////////*/
/*////////////   E N D   A U T O C O M P L E T E    M O D U L E   ////////////*/
/*////////////////////////////////////////////////////////////////////////////*/
