/* sabreScheduler - styles.css 
** These CSS definitions are shared across Sabre Software (QMS & Scheduler)
*/

.sch-print-header {
	position:relative;
	display:none;
	height:115px;
	width:300px;
}

body.not-logged-in.page-front-page #page-title {
  display:none;
}


/* Simulators */

.sch-simulators-tbl-name {
	width:70%;
}

/* Customers */
.sch-users-tbl-active {
	width:4%;
}
.sch-users-tbl-admin,
.sch-groups-tbl-admin {
	width:12%;
}
input#sch-group-code,
input#sch-customer-code { text-transform: uppercase; }

div.sch-customer-code-colors #sch-customer-code-div {
  float:left;
  width:12em;
}
div.sch-customer-code-colors #sch-fill-color-div {
  float:left;
  width:6em;
}
div.sch-customer-code-colors #sch-font-color-div {
  float:left;
  clear:right;
  width:6em;
}


#simulator-form .form-item-faa-id{
  float:left;
}
#simulator-form .form-item-device-id-internal{
  float:left;
  clear:right;
  margin-left: 30px;
}

/* Schedules */

.sch-schedules-tbl-simulator {
	width:28%;
}
.sch-schedules-tbl-begins, 
.sch-schedules-tbl-ends {
	width:10%;
}
.sch-schedules-tbl-admin {
	width:5%;
	text-align:left;
}

/* Schedule Pattern Table */
.sch-pattern-select {
	text-align:center;
	width:6%;
}



.sch-link-edit,
.sch-link-delete, 
.sch-link-grid {
	margin-right:6px;
}

/* Schedule Grid */
body.page-schedule-grid #footer-wrapper {
	width:101%;
} 
body.page-schedule-grid #header {
	width:102%;
}

body.page-schedule-grid #sch-report-box  {
	float:left;
	width:40em;
}
#sch-report-box {
	width:42em;
}

div.sch-grid-legend {
	position:relative;
	float:left;
	width:20em;
	margin-left:4em;
	margin-top:4em;
}
div.sch-grid-legend div.sch-key {
	width:14px;
	height:14px;
	float:left;
	margin-top:3px;
	margin-right:.5em;
  margin-left:0;
}

#sch-grid-div {
	overflow:visible;
	width:1000px;
  /*height:1750px;*/
}

.sch-grid-month-span {
	width:20em;
	height:1.5em;
	font-size: 16px;
	font-weight: bold;
	padding-left:0;
	padding-right:0;
	margin-bottom:0;
	margin-left:.1em;
	clear:both;
}


div.sch-session-date {
	width:4.8em;
	height:3em;
	border:1px solid;
	background-opacity:50%;
	font-size:12px;
	font-weight:bold;
	float:left;
	padding-right:0;
	margin-top:0;
	padding-top:0;
	margin-bottom:2px;
	padding-bottom:0;
	margin-left:.1em;
	margin-right:.1em;
	overflow:hidden;
}
div.sch-select-date {
	width:4.9em;
	height:3.1em;
	padding-left:0.2em;
}

.sch-session-time {
	width:20em;
	height:1.75em;
	font-size: 12px;
	font-weight: bold;
	padding-left:0;
	padding-right:0;
	padding-top: 0;
	padding-bottom:0;
	margin-top:6px;
	margin-bottom:0;
	margin-left:.1em;
	clear:both;
	page-break-before:auto;
}

div.sch-session-block {
	width:4.8em;
	height:6.2em;
	font-size:12px;
	font-weight:bold;
	float:left;
	padding:0;
	margin-left:.1em;
	margin-right:.1em;
	margin-bottom:.5em;
	overflow:hidden;
	z-index:1;
	background-position:left top;
	background-repeat:no-repeat;
	background-size:100% 100%;
}

div.sch-session-block div.sch-session-open,
div.sch-session-block div.sch-session-assignment,
div.sch-session-block div.sch-exception-block {
/*	width:4.25em;*/
/*	height:5.75em;*/
	width:4.5em;
	height:6.2em;
	padding:1px 2px 1px 2px;
	margin:0;
	overflow:hidden;
}


div.sch-session-date div,
div.sch-session-assignment div,
div.sch-session-open div,
div.sch-exception-block div {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/*div.sch-session-open .sch-blocked  {
	font-size:10px;
	font-weight:bold;
}*/

div.sch-session-assignment .sch-customer {
	font-size:12px;
	font-weight:bold;
}
div.sch-session-assignment .sch-group,
div.sch-session-assignment .sch-begin-time-actual,
div.sch-session-assignment .sch-end-time-actual,
div.multidraggable .sch-begin-time-actual,
div.multidraggable .sch-end-time-actual {
	font-size:7pt;
	font-style:italic;
}

.sch-action-dialog-add .ui-dialog-buttonset {
	width:470px;
	height: 65px;
	position:relative;
	text-align:center;
}
.sch-action-dialog-edit .ui-dialog-buttonset {
	width:470px;
	height: 65px;
	position:relative;
	text-align:center;
}
.sch-action-dialog-add .ui-button,
.sch-action-dialog-edit .ui-button {
	width: 5.7em;
	height: 3em;
}
.qms-message-box .ui-dialog-buttonset {
	width:300px;
	height: 65px;
	position:relative;
	text-align:center;
}
.qms-message-box .ui-button {
	width: 5.7em;
	height: 3em;
}

.qms-message-box ul {
	line-height:12px;
}
.qms-message-box li {
	line-height:26px;
}

/* grid action-links */
#sch-grid-div .qms-actions {
	text-align:center;
	vertical-align:top;
	margin-top:6px;
	width:96%;
}
#sch-grid-div .qms-actions a {
	font-size:10pt;
	font-weight:bolder;
	padding:0px 6px 0px 6px;
}
.sch-waiting-img {
	height:20px;
	width:20px;
}
#sch-grid-div .sch-waiting {
	margin-left:30px;
	margin-right:20px;
	height:20px;
	width:20px;
}


div.multidraggable {
	position:absolute;
	width:5.6em;
	height:7.2em;
	font-size:12px;
	font-weight:bold;
	padding:0;
	margin:0;
	z-index:10;
	overflow:hidden;
}

/* schedule grid paging controls */
img.sch-grid-arrow {
	height:50px;
}
#sch-view-month-select {
	width:100px;
}

#sch-view-year-select {
	width:90px;
}

/*------- Schedule Report --------*/

body.page-reports-grid #footer-wrapper {
	width:107%;
} 
body.page-reports-grid #header {
	width:108%;
}

body.page-reports-grid #sch-grid-div {
  overflow:visible;
	width:1050px;
  padding-right:30px;
}
table.sch-grid-table {
  font-size:8px;
  font-weight: bold;
  table-layout:fixed;
}

table.sch-grid-table .sch-time-col {
  width:35px;
  padding:2px;
  text-align: center;
}

table.sch-grid-table .sch-date-col, table.sch-grid-table td {
  width:22px;
  padding:2px;
  text-align: center;
}

table.sch-grid-table tr.sch-session-row td {
  border-top:2px solid gray;
}



/*--------- Report Settings ---------- */
#sch-report-settings-div {
  padding-left:20px;
}






/*-------- assignment form -------*/
#sch-customer-fieldset {
	width: 22em;
	height:11em;
	float:left;
	margin-right:1em;
	padding-left:10px;
	padding-right:12px;
}

#sch-customer-fieldset .form-item-group label {
	clear:both;
	height:19.5px;
}

#sch-settings-fieldset {
	width: 22em;
	height:11em;
	float:left;
/*	margin-right:1em;*/
	padding-left:12px;
	padding-right:12px;
}



#sch-session-fieldset {
	width: 47em;
	padding-left:10px;
	padding-right:12px;
	padding-top:12px;
	padding-bottom:12px;
	margin-bottom:0;
}
#sch-assignment-dates,
#sch-exception-dates {
  width:60%;
  float:left;
}
#sch-session-fieldset #sch-session-date {
	float:left;
	margin-right:2em;
}
#sch-session-fieldset #edit-session-date {
	border:none;
	padding-left:0;
	padding-top:0;
}
#sch-session-fieldset .form-item-begin-time {
	float:left;
	margin-right:1.5em;
}
#sch-session-fieldset .form-item-end-time {
	float:left;
	clear:right;
}
#sch-session-fieldset .sch-sess-tbl-date,
#sch-session-fieldset .sch-sess-tbl-name,
#sch-session-fieldset .sch-sess-tbl-begins,
#sch-session-fieldset .sch-sess-tbl-ends {
	width:25%;
}
#sch-session-fieldset .sch-sess-display {
	width:80%;
}

div#sch-repeat-box {
  float:left;
  width:37%;
  border-left:1px solid #CCCCCC;
  padding-left:12px;
  overflow:hidden;
}
#sch-repeat-days * {
  display:inline;
}

#sch-repeat-until-date label {
  display:none;
}
#sch-repeat-until-date input {
  display:inline;
}
div.form-item-repeat-until {
  margin-bottom:.2em;
}
/*#sch-repeat-until-date .description {
  padding-left:32px;
}*/
#sch-repeat-until-date {
  padding-left:12px;
}
div#edit-repeat-until-date {
  border:none;
  padding-right:0;
  margin-right:0;
  margin-top:0;
  padding-top:0;
}


.sch-suffix-label {
  font-weight: normal;
  padding-left:6px;
  font-size:0.929em;
}



/* Schedule Patterns */
.sch-help-div {
	border-size: 1px solid;
	font-size:14px;
	font-style:italic;
	padding: 6px 6px 6px 6px;
}

#sch-pattern-sessions-tbl {
	width:10cm;
}

.sch-pattern-session-tbl-session {
	width:30%;
}
.sch-pattern-session-tbl-begin-time,
.sch-pattern-session-tbl-session-end-time {
	width:35%;
}

.sch-pattern-session-list {
	margin-right:1em;
	float:left;
}
.sch-pattern-times-list {
	float:left;
	clear:right;
}

/* Sessions */
#sch-sessions-tbl {
	width:18cm;
}
.sch-sessions-tbl-order,
.sch-sessions-tbl-admin {
	width:10%;
}

/* Searches */
#sch-search-div .fieldset-wrapper {
 padding:0 20px;
}

/* Exceptions */
.sch-tbl-exception-desc {
	width:20%;
}
.sch-tbl-exception-simulator {
	width:22%;
}
.sch-tbl-exception-begins,
.sch-tbl-exception-ends {
	width:18%;
}

#exception-form .sch-exception-div-1 {
  width: 50%;
  float:left;
}
#exception-form .sch-exception-div-2 {
  padding-top:20px;
  float:left;
  clear:right;
}
#exception-form #sch-session-fieldset {
  clear:both;
  /*width:60%;*/ 
}

/* Home Pages */
.sch-tbl-assignment-session { width:25%; }
.sch-tbl-assignment-time { 	width:16%; }
.sch-tbl-assignment-type { width:15%; }
.sch-tbl-assignment-options { width:10%; }

.sch-tbl-assignment-begins,
.sch-tbl-assignment-ends,
.sch-tbl-assignment-total-time {
		width:15%;
}

.sch-tbl-summary-hours {
	text-align:right;
	width:15%;
}
.sch-tbl-summary-subtotal {
	font-weight:bold;
	text-align:right;
}
.sch-tbl-summary-grand-total {
	font-weight:bold;
	font-size:larger;
	text-align:right;
}
.sch-tbl-summary-sims {
	font-weight:bold;
	width:40%;
}

.sch-sim-links {
	font-size:9pt;
	font-weight:bold;
}
.sch-bull-sep {
	margin-left:8px;
	margin-right:8px;
}
.sch-prefix-text {
	margin-right:10px;
}

/* elog report */
.sch-tbl-elog-date { width:12%; }
.sch-tbl-elog-no { width:15%; }
.sch-tbl-elog-begintime { width:10%; }
.sch-tbl-elog-endtime { width:10%; }
.sch-tbl-elog-simulator { width:13%; }
.sch-tbl-elog-instructor { width:15%; }
.sch-tbl-elog-pilot1 { width:15%; }
.sch-tbl-elog-pilot2 { width:15%; }

.sch-tbl-elog-customer { width:13%; }
.sch-tbl-elog-session { width: 15%; }
.sch-tbl-elog-rating { width: 10%; }
/*.sch-tbl-elog-comments { width: 25%; }*/


/* hide the log text default grippie */
form#elog-form .grippie { display: none; }

form#elog-form #edit-sim-quality-rating * {
 float: left;
}
form#elog-form #sch-sim-quality-rating { padding-bottom:0; }
form#elog-form .sch-log-text-div { padding-top: 10px; }
form#elog-form .form-type-select { margin-left: 12px; margin-right: 12px;}

.sch-crew-flight-role-second-div div {
  padding-left:8px;
}
.sch-crew-flight-role-hours-first {
  text-align: right;
}

.sch-elog-crew-member td {
  height:67px;
}

/*.sch-crew-tbl-fname { width:20%; }*/
.sch-crew-tbl-lname { width:25%; }
.sch-crew-tbl-flight-role { width:25%; }

/*--------- E-Log E-DR button -----------*/

div#sch-create-dr1-div {
  float:left;
}
div#sch-create-dr1-div input#sch-btn-create-dr1 {
  margin:0 0 0 0;
}
div#sch-create-dr1-div #sch-create-dr1-text { 
  margin-top:.25em; text-align: center; 
}

/* E-DR button
*  Two E-DR buttons exist on the E-Log page due to customer preferences
*  show only one or both as needed
*/
div#sch-create-dr1-div { 
  visibility: hidden;  /* visible | hidden */
  text-align: center;
}
#sch-btn-create-dr2 { 
  margin-left: 0; 
  margin-right:20px;
  margin-bottom:0;
  font-weight: bolder;
  text-align: center;
  width:140px;
}


/* remove 'Comments' label from E-Log screen */
form#elog-form div.form-item-log-text label { display:none; }

/* make the E-Log Comments box shorter & hide the bottom panel */
form#elog-form div.form-item-log-text .cke_contents { height: 100px !important; }
form#elog-form div.form-item-log-text #cke_bottom_qms_log_text { display:none; }



/* E-Log E-DR Button */
/*#sch-btn-create-dr1 {
  font-weight:bold;
  font-family: arial, helvetica, sans-serif;
  font-size: 18px;
  background: none;
  background-color:#99ccff;
  width:6em;
  height:2em;
  border:3px solid #0066cc;
  padding:0;
  box-shadow: 1px 1px darkgrey;
}
#sch-btn-create-dr1:hover {
  font-weight:bold;
  background: none;
  background-color:#0066cc;
  color:#FFFFFF;
  border:3px solid #99ccff;
}*/




/* ------------- User Profile Form ---------------- */
/*  add company affiliation to user                 */

#user-profile-form .sch-affiliation,
#user-profile-form .sch-simulator {
  display:inline-block;
}
#user-profile-form .form-item-customer,
#user-profile-form .form-item-simulator {
	float:left;
}

#user-profile-form .sch-user-add-customer,
#user-profile-form .sch-user-add-simulator {
	float:left;
	clear:right;
	margin-left:1em;
	margin-top:1.75em;
}


/* ---- elogs -----*/

input.sch-sim-rating {
	margin-left:2em;
}

#elogs-search-form .form-item-sessions {
  margin-top:26px;
}
.form-item-report-discrepancy label[for="edit-report-discrepancy"] {
  font-weight: normal;
  margin-right: 2em;
  margin-left: 2em;
}


/*----- home pages - Simulator Status ----------*/

.sch-sim-status {
  height:100px;
  width:668px;
  border:1px solid #CCCCCC;
  margin-bottom:16px;
  padding: 0 10px 0 10px;
}

div.sch-sim-status-item {
  height:85px;
  width:85px;
  display:inline-block;
  float:left;
  margin: 6px 12px;
  
}
div.sch-sim-status-item *:hover,
div.sch-sim-status-item *:active {
  text-decoration: none;
}

div.sch-sim-status-item div {
  height:60px;
  font-size:36px;
  font-weight: bolder;
  text-align: center;
  padding-left:1px;
}
div.sch-sim-status-item p {
  text-align: center;
  font-size:14px;
  font-weight: bold;
  line-height: 15px;
}

div.sch-preflight-warning-box {
  width:682px;
  height:70px;
}
div.sch-warning-img {
  width:55px;
  height:55px;
  margin: 4px 12px 4px 12px;
  float:left;
}
div.sch-preflight-warning-box p {
  float:left;
  font-size:16px;
  font-weight: bolder;
  padding-top:20px;
  
}

.sch-sim-status,
.sch-sim-status-item,
.sch-sim-status-item * {
  -webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.qms-comment-hdr {
	border-bottom:1px solid silver;
}

#qms-report-div tr {
	vertical-align:top;
}


#qms-report-div .sticky-header {
	width:100%;
}

/*
.qms-sim-closed {
	width:7%;
}
.qms-sim-drno {
	width:15%;
}
.qms-sim-opened {
	width:13%;
}
.qms-sim-discrepancy,
.qms-sim-comments {
	width:30%;
	max-width:188px;
}
*/

/* scheduler DR status reports */

.sch-dr-no {
  font-weight:bold;
  font-size:16px;
}
.sch-dr-opened,
.sch-dr-closed,
.sch-dr-updated,
.sch-dr-report,
.sch-dr-comments-label,
.sch-dr-clear-time,
.sch-dr-action {
  display:inline-block;
  font-weight: bold;
  margin-right:1.5em;
}
.sch-dr-opened,
.sch-dr-closed,
.sch-dr-updated,
.sch-dr-report,
.sch-dr-clear-time,
.sch-dr-action { width:7em; }

.sch-dr-comments-label { padding-bottom:  12px;}

.sch-dr-comments { padding-bottom: 12px;}

tr.sch-sim-divider td {
  border:none;
  border-top:2px solid gray;
  border-left:1px solid rgb(255,255,255);
  border-right:1px solid rgb(255,255,255);
  border-bottom:1px solid rgb(255,255,255);
}



/* ----- printing directive ------ */
.sch-page-break {
	page-break-before:always;
}

div.dateSection1,
div.dateSection2 {
	width:20em;
	height:.5em;
	clear:both;
	
}
div.dateSection2 {
	page-break-before:always;
}

.floatLeft {
	float:left;
}
.clearBoth {
	clear:both;
}
.floatLeftClearRight,
.clearRight {
	float:left;
	clear:right;
}

/* misc utility settings */
div.clearBoth {
	width:20em;
	height:.25em;
	clear:both;
}
div.dateGap {
	width:20em;
	height:1em;
	clear:both;
}


.sch-indent {
 margin-left:10px; 
}

.date-padding { padding: 0 6px 0 6px; margin-bottom: 6px; }

.timezone { font-size: 11px; }

.grid-alert {
  background-color: #FFFACD;
  padding: 10px;
  border-radius: 4px;
  width: 100%;
  text-align: center;
  font-weight: bold;
  color: #3b3b3b;
}





