/*

DEPRECATED
 
 this file is currently only used in OutputHtmlPages.outputHtmlHead, which in turn is only used in the (deprecated) checklist routines and
 in the Adempiere flight sheet routines.
 
 
**************************************************************
 
  Shared Instance CSS master sheet for the BookingSystem
  
***************************************************************/

/*		Default Layout: 992px (62em). 
		Gutters: 24px (1.5em).
		Outer margins: 48px (3em).
		Leftover space for scrollbars @1024px: 32px.
-------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8      9      10
px      68    160    252    344    436    528    620    712    804    896    */

.nomobile { display: inline; }

/*  Hide the placeholder for desktop users */
/*  (see http://stackoverflow.com/questions/2610497/change-an-inputs-html5-placeholder-color-with-css */
::-webkit-input-placeholder { /* WebKit browsers */
    color:transparent;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:transparent;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:transparent;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:transparent;
}

body {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	background-color: white;
}

.container.mainpage {
    /* Move main page below menu bar */
    margin-top:95px;
}

a {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: blue;
}

a:visited {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: blue;
}


p {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #black;
}

th {
        font-family: Arial, Helvetica, sans-serif;
        font-size: x-small;
        color: black;
}

td {
        font-family: Arial, Helvetica, sans-serif;
        color: black;
}

input {
    font-size: 10px;
}

select
{
	font-size: 10px;
}


.selectlabel {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}

.selectlabelsmall {
	font-family: Arial, Helvetica, sans-serif;
	font-size: xx-small;
}

/**************************************************************
 
  Field Styles
  
***************************************************************/

input.specialButtons
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	border-right: #FFCC66 thin outset;
	border-top: #FFCC66 thin outset;
	margin: 5px;
	background-color: #336699;
	color: #FFFFFF;
	//width: 130px;
}

.noBorderTAL
{
    text-align:left;
    border:none;
    background-color: white;
    font-size:xx-small;
}
.noBorderTAC
{
    text-align:center;
    border:none;
    background-color: white;
    font-size:xx-small;
}
.noBorderTAR
{
    text-align:right;
    border:none;
    background-color: white;
    font-size:xx-small;
}

.borderTAL
{
    text-align:left;
    border-width:thin;
    background-color: white;
    font-size:xx-small;
}
.borderTAC
{
    text-align:center;
    border-width:thin;
    background-color: white;
    font-size:xx-small;
}
.borderTAR
{
    text-align:right;
    border-width:thin;
    background-color: white;
    font-size:xx-small;
}

/*
   Login Screen
   ------------  */

#loginContainer {
    width: 960px;
    background-color: white;
    margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
    overflow: hidden;
    padding-top: 20px;
}

#loginLeftContent {
    float:left;
    width: 49%;
    margin: 0 auto;
    padding: 50px 0;
    text-align:center;
    vertical-align: middle;
}

#loginRightContent {
    /* Show logo beside login box for desktop users */
    float:left;
    width: 50%;
    padding-bottom: 10 px;
    text-align:center;
    border:thin solid #ccf;
}

/*  text entry field should be left aligned for desktop users, centred for mobile users */
td.loginEntry {
    text-align:left;
}

/*  Spacer row for the desktop login display */
tr.desktopSpacer {
    background-color:white;
}

#loginInnerContent {
    margin: 10px auto;
    width: 95%;
    background-color: #eee;
    text-align:center;
    vertical-align: middle;
}

/***************************************************************

  Generic Titles, etc.
 
****************************************************************/

/** General titles on notice pages */


.titlebar {
    font-family: Arial, Helvetica, sans-serif;
    font-size: medium;
    font-weight:bold;
    background-color: #ccccff;
    color: navy;
	text-align: center;
}

.titlebar_error {
    font-family: Arial, Helvetica, sans-serif;
    font-size: medium;
    background-color: #ffdddd;
    color: #cc0000;
    text-align:center;
}

.offset {
    background-color: #eeeecc;
}

/*
   Field title colours (required is blue, optional is black, and error is red)
   -------------------                                                          */

.fieldRequired {
    font-family: Arial, Helvetica, sans-serif;
    font-size: x-small;
    color:  #0000ff;
}

.fieldOptional {
    font-family: Arial, Helvetica, sans-serif;
    font-size: x-small;
    color:  #000000;
}

.fieldError {
    font-family: Arial, Helvetica, sans-serif;
    font-size: x-small;
    color:  #cc0000;
}

/*
   Audit Trail and Cancellation Log formats
   ----------------------------------------  */

.headerrow {
    font-family: Arial, Helvetica, sans-serif;
    font-size: small;
    font-weight:bold;
    background-color: #6699cc;
}

.headerrow th {
    color:  white;
}

.hiliterow_light {
    font-family: Arial, Helvetica, sans-serif;
    font-size: x-small;
    font-weight:normal;
    color: black;
    background-color: #ffffee;
}

.hiliterow_dark {
    font-family: Arial, Helvetica, sans-serif;
    font-size: x-small;
    font-weight:normal;
    color: black;
    background-color: #eeeecc;
}



/** Smaller Text **/

.smfieldRequired {
    font-family: Arial, Helvetica, sans-serif;
    font-size: xx-small;
    color:  #0000ff;
}

.smfieldOptional {
    font-family: Arial, Helvetica, sans-serif;
    font-size: xx-small;
    color:  #000000;
}

.smfieldError {
    font-family: Arial, Helvetica, sans-serif;
    font-size: xx-small;
    color:  #cc0000;
}

/*
   Top of Booking Page Menus
   -------------------------  */

.topMenu {
	font-family: Arial, Helvetica, sans-serif;
	font-size: x-small;
	text-decoration: none;
}

.topMenu a {
	font-family: Arial, Helvetica, sans-serif;
	font-size: x-small;
	text-decoration: none;
}

.topMenu a:hover {
	text-decoration: underline;
}

/*
   Booking Row Backgrounds (alternating, for readability)
   -----------------------                                  */

.bookingRow {
	font-family: Arial, Helvetica, sans-serif;
	background-color: #eeeeee;
	text-align: center;
	vertical-align: middle;
}

.bookingRowDark {
	font-family: Arial, Helvetica, sans-serif;
	background-color: #e1e1e1;
	text-align: center;
	vertical-align: middle;
}

/*
   Booking Cell Backgrounds
   ------------------------  */

.bookingCell {
	background-color: #eeeeee;
	vertical-align: middle;
}

.bookingCellDark {
	background-color: #e1e1e1;
	vertical-align: middle;
}

/*
   Booking Cell Colours
   --------------------  */

.unavailable 
{
    /*  Resource is unavailable in this booking slot */
    width:100%;
    height:10px;
    background-color:#cecece;
}

.available 
{
    /*  Resource is available */
    width:100%;
    height:10px;
    background-color:#79ff5c;
}

.available_nb
{
    /*  Resource is available but unbookable (hour is past) */
    width:100%;
    height:10px;
    background-color:#97ff85;
}

.userbooked 
{
    /*  Resource is booked by logged-in user */
    width:100%;
    height:10px;
    background-color:#00f;
}

.userbooked_nb
{
    /*  Resource is booked by logged-in user and cannot be cancelled as time has passed */
    width:100%;
    height:10px;
    background-color:#2b11ff;
}

.booked 
{
    /*  Resource is booked */
    width:100%;
    height:10px;
    background-color:#3cffff;
}

.booked_nb
{
    /*  Resource is booked and cannot be cancelled as time has passed */
    width:100%;
    height:10px;
    background-color:#62e9ff;
}

.offline 
{
    /*  Resource is offline */
    width:100%;
    height:10px;
    background-color:#fb0000;
}

.restricted 
{
    /*  Resource is on an operational restriction */
    width:100%;
    height:10px;
    background-color:#fda2a3;
}

.restricted_nb
{
    /*  Resource is on an operational restriction and is not bookable */
    width:100%;
    height:10px;
    background-color:#fdb8b9;
}

/*
.infoButton {
    background-image:url('../images/info.gif');
    background-size:15px 15px;
    background-position:center center;
    background-repeat:no-repeat;
    width:100%;
    height:15px;
    padding-top:4px;
    padding-bottom:4px;
}

.infoButton_disabled {
    background-image:url('../images/info_disabled.gif');
    background-size:15px 15px;
    background-position:center center;
    background-repeat:no-repeat;
    width:100%;
    height:15px;
    padding-top:4px;
    padding-bottom:4px;
}
*/

/*
.viewDetailsButton_en {
    background-image:url('../images/printable_en.gif');
    background-size:156px 25px;
    background-position:right center;
    background-repeat:no-repeat;
    min-width:156px;
    min-height:25px;
}

.viewDetailsButton_fr {
    background-image:url('../images/printable_fr.gif');
    background-size:156px 25px;
    background-position:right center;
    background-repeat:no-repeat;
    min-width:156px;
    min-height:25px;
}
*/

/*
.removeAllBookings {
    background-image:url('../images/rem.gif');
    background-size:20px 20px;
    background-position:center center;
    background-repeat:no-repeat;
    width:100%;
    height:20px;
}
*/

/** Printable HTML Calendar Cells **/
/** Did this so I can change it in the 'print.css' file **/

.calendarCell {
    text-align:center;
    border:thin dashed darkgrey;
    font-size: x-small;
}

/***************************************************************
 
    Main Calendar Picker
 
 ****************************************************************/

.mcp {
	font-family: Arial, Helvetica, sans-serif;
	font-size: x-small;
	text-decoration: none;
}

.mcp a a:visited {
	color:blue;
}

.mcp a:hover {
    background-color: #efefef;
    height: 10px;
    width: 100%;
}


/****************************************************************
 
    BRAINJAR 'Revenge of the Menu Bar' DOM MENU
 
    Note:  This works with iPad's version of Safari
 
 ****************************************************************/

div.menuBar,
div.menuBar a.menuButton {
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 9pt;
    font-style: normal;
    font-weight: bold;
    color: #000000;
}

div.menu,
div.menu a.menuItem {
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 9pt;
    font-style: normal;
    font-weight: normal;
    color: #000000;
}

div.menuBar {
    background-color: #d0d0d0;
    border: 2px solid;
    border-color: #f0f0f0 #909090 #909090 #f0f0f0;
    padding: 4px 2px 4px 2px;
    text-align: left;
}

div.menuBar a.menuButton {
    background-color: transparent;
    border: 1px solid #d0d0d0;
    color: #000000;
    cursor: default;
    left: 0px;
    margin: 1px;
    padding: 2px 6px 2px 6px;
    position: relative;
    text-decoration: none;
    top: 0px;
    z-index: 100;
}

div.menuBar a.menuButton:hover {
    background-color: transparent;
    border-color: #f0f0f0 #909090 #909090 #f0f0f0;
    color: #000000;
}

div.menuBar a.menuButtonActive,
div.menuBar a.menuButtonActive:hover {
    background-color: #a0a0a0;
    border-color: #909090 #f0f0f0 #f0f0f0 #909090;
    color: #ffffff;
    left: 1px;
    top: 1px;
}

div.menu {
    background-color: #d0d0d0;
    border: 2px solid;
    border-color: #f0f0f0 #909090 #909090 #f0f0f0;
    left: 0px;
    padding: 0px 1px 1px 0px;
    position: absolute;
    top: 0px;
    visibility: hidden;
    z-index: 101;
    text-align:left;
}

div.menu a.menuItem {
    color: #000000;
    cursor: default;
    display: block;
    padding: 3px 1em;
    text-decoration: none;
    white-space: nowrap;
}

div.menu a.menuItem:hover, div.menu a.menuItemHighlight {
    background-color: #000080;
    color: #ffffff;
}

div.menu a.menuItem span.menuItemText {}

div.menu a.menuItem span.menuItemArrow {
    margin-right: -.75em;
}

div.menu div.menuItemSep {
    border-top: 1px solid #909090;
    border-bottom: 1px solid #f0f0f0;
    margin: 4px 2px;
}


/****************************************************************

  FOOTER INFORMATION

*****************************************************************/

#footer {
	font-family: Arial, Helvetica, geneva, swiss, sans-serif;
	font-size: 9px;
	color: gray;
	text-decoration: none;
	background-color: #fff;
	text-align: center;
	border-top-width: 1px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-top-style: dashed;
	border-top-color: #999999;
	border-right-color: #999999;
	border-bottom-color: #999999;
	border-left-color: #999999;


}

#footer a {
	font-family: Arial, Helvetica, geneva, swiss, sans-serif;
	font-size: 9px;
	text-decoration: none;
	background-color: #fff;
	text-align: center;
	color: gray;
	font-variant: small-caps;
}

#footer a:hover {
	text-decoration: underline;
}

/******************************************************************
  Tooltip Style (for tooltips.js)
*******************************************************************/

#tt {
    position:absolute;
    display:block;
}
#tttop {
    display:block;
    height:2px;
    margin-left:5px;
    overflow:hidden;
}
#ttcont {
    display:block;
    padding:2px 12px 3px 7px;
    margin-left:5px;
    border:thin solid lightgray;
    -webkit-box-shadow:0 4px 4px -4px black;
       -moz-box-shadow:0 4px 4px -4px black;
            box-shadow:0 4px 4px -4px black;
    background:#f4f5e1;
    color:black;
    font-family: Arial, Helvetica, sans-serif;
    font-size:8pt;
}
#ttbot {
    display:block;
    height:5px;
    margin-left:5px;
    overflow:hidden;
}

/*  FlightSheets Specific
    --------------------- */
    
li {
	font-family: Arial, Helvetica, sans-serif;
	font-size: small;
	font-weight: normal;
	color: #black;
}
.fs_headercell {
	font-family: Arial, Helvetica, sans-serif;
	font-size: x-small;
	font-weight: normal;
	color: #000099;
	text-align: center;
	vertical-align: middle;
	padding: 3px;
	margin: 2px;
	border: 1px solid #000099;
	font-variant: small-caps;
}
.fs_normalcell {
	font-family: Arial, Helvetica, sans-serif;
	font-size: x-small;
	font-weight: normal;
	color: #000099;
	vertical-align: middle;
	padding: 3px;
	margin: 2px;
	border: 1px solid #000099;
	text-align: center;
}

.fs_normalcell a {
        font-size: x-small;
}

.fs_fadedcell {
	font-family: Arial, Helvetica, sans-serif;
	font-size: xx-small;
	font-weight: normal;
	color: #666666;
	vertical-align: middle;
	padding: 3px;
	margin: 2px;
	border: 1px solid #000099;
	text-align: center;
}

.darkline {
    background-color: #CCFFFF;
}

.warningline {
	background-color: gold;
}


.fs_select {
	font-family: Arial, Helvetica, sans-serif;
	font-size: xx-small;
}

input[type="checkbox"] {
    height: 12px;
    width: 12px;
}

.notice {
	font-family: Arial, Helvetica, sans-serif;
	font-size: xx-small;
	color: #FF3333;
	padding-top: 2px;
	padding-right: 10px;
	padding-bottom: 2px;
	padding-left: 10px;
}

/*		Tablet Layout: 768px (48em).
		Gutters: 24px (1.5em).
		Outer margins: 28px (1.75em).
		Inherits styles from: Default layout.
-----------------------------------------------------------------
cols    1     2      3      4      5      6      7      8
px      68    160    252    344    436    528    620    712    */

@media only screen and (min-width: 768px) and (max-width: 991px) {
}


/*		Mobile Layout: 320px (20em).
		Gutters: 24px (1.5em).
		Outer margins: 34px (2.125em).
		Inherits styles from: Default Layout.
--------------------------------------------------
cols	1     2      3
px		68    160    252
em		4.25  10.0   15.75						*/

@media only screen and (max-width: 767px) {
    .nomobile { display: none; }
    
    /*  Show the placeholder for mobile users */
    ::-webkit-input-placeholder { /* WebKit browsers */
        color: lightgray;
    }
    :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
        color: lightgray;
    }
    ::-moz-placeholder { /* Mozilla Firefox 19+ */
        color: lightgray;
    }
    :-ms-input-placeholder { /* Internet Explorer 10+ */
        color: lightgray;
    }
    
    /*  Show larger buttons on mobile devices */
    input[type="button"] {
        font-size:medium;
    }
    
    /*  Show larger input text on mobile device */
    input {
        font-size:medium;
    }
    
    /*
       Mobile Login Screen
       -------------------  */
    
    #loginContainer {
        width: 300px;
    }
    
    #loginLeftContent {
        clear:left;
        width: 100%;
        padding:0;
        align:center;
    }
    
    #loginRightContent {
        clear:left;
        width:auto;
    }
    
    /*  text entry field should be left aligned for desktop users, centred for mobile users */
    td.loginEntry {
        text-align:center;
    }
    
    /*  Don't show spacer rows on mobile login display */
    tr.desktopSpacer {
        display:none;
    }
    
}

/*		Wide Mobile Layout: 480px (30em).
		Gutters: 24px (1.5em).
		Outer margins: 22px (1.375em).
		Inherits styles from: Default Layout, Mobile Layout.
------------------------------------------------------------
cols    1     2      3      4      5
px      68    160    252    344    436    */

@media only screen and (min-width: 480px) and (max-width: 767px) {
}

/*	Retina media query.
	Overrides styles for devices with a 
	device-pixel-ratio of 2+, such as iPhone 4.
-----------------------------------------------    */

@media 
	only screen and (-webkit-min-device-pixel-ratio: 2),
	only screen and (min-device-pixel-ratio: 2) {
	
	body {
	
	}
	
}
