/* Add here all your CSS customizations */

/** same colors from the bootstrap theme 
:root {
	--blue: #007bff;
	--indigo: #6610f2;
	--purple: #6f42c1;
	--pink: #e83e8c;
	--red: #dc3545;
	--orange: #fd7e14;
	--yellow: #ffc107;
	--green: #28a745;
	--teal: #20c997;
	--cyan: #17a2b8;
	--white: #fff;
	--gray: #868e96;
	--gray-dark: #343a40;
	--primary: #007bff;
	--secondary: #868e96;
	--success: #28a745;
	--info: #17a2b8;
	--warning: #ffc107;
	--danger: #dc3545;
	--light: #f8f9fa;
	--dark: #343a40;
	--breakpoint-xs: 0;
	--breakpoint-sm: 576px;
	--breakpoint-md: 768px;
	--breakpoint-lg: 992px;
	--breakpoint-xl: 1200px;
	--font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	--font-family-monospace: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  }

**/

/* ============================================================ */
/* Bryan.D Stuff */
/* ============================================================ */

.slow-spin {
	-webkit-animation: fa-spin 8s infinite linear;
	animation: fa-spin 8s infinite linear;
  }

/* Style PO Information Cards */
.card-po3 {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border-right: 1px solid rgba(0,0,0,.25);
	/* border-radius: .25rem;*/
	height: 275px;
}

/* Hide the search wizard bar on screens 1024px and smaller */
@media only screen and (max-width: 1200px) {
    #search-box {
        display: none;
    }
}

/* This is copied from theme.css and is to set the media gallery page (reports.cfm)
so that the menu bar extends to side when normal screen */
/* Toolbar + Layout Fixed */
@media only screen and (min-width: 768px) {
	html.fixed .inner-toolbar {
		left: 0px;
	}
}

/* This is copied from theme.css and is to set the media gallery page (reports.cfm)
so that the menu bar extends to side when wide screen */
/* Resolution gt 1366 - Show Inner Menu */
@media only screen and (min-width: 1366px) {
	html.fixed .inner-menu,
	html.scroll .inner-menu,
	html.boxed .inner-menu {
		display: block;
	}

	html.fixed .content-with-menu .inner-toolbar,
	html.fixed.inner-menu-opened .content-with-menu .inner-toolbar {
		left: 0px;
  }
}

/* This is copied from theme.css and is to set the media gallery page (reports.cfm)
so that the report icons align left when wide screen */
/* Content With Menu + Layout Fixed */
@media only screen and (min-width: 768px) {
	html.fixed .content-with-menu-container,
	html.fixed .inner-menu,
	html.fixed .inner-body {
		display: block;
	}

	html.fixed .inner-body {
		margin-left: 0px;
  }
}

@media only screen and ( min-width: 1920px ) {
	.table-responsive {
		display: table;
	}
}
    
/* This is supposed to allow the fixed menu with big icons */
/* @media only screen and (min-width: 768px) {
	html.fixed.sidebar-left-big-icons .content-body {
		margin-left: 150px;
	}

	html.fixed.sidebar-left-big-icons .page-header {
		left: 150px;
	}
} */

/* Make tooltip work in modals  */
.tooltip, .tooltip-modal {
	z-index: 10000000;
}

/* This is all just to turn the icon blue on the Actions Menu */
.card-actions-custom {
	right: 15px;
	position: absolute;
	top: 15px;
}

.card-actions-custom a,
.card-actions-custom .card-action {
	background-color: transparent;
	border-radius: 2px;
	color: #0088cc;
	font-size: 14px;
	height: 24px;
	line-height: 24px;
	text-align: center;
	width: 24px;
}

.card-actions-custom a:hover,
.card-actions-custom .card-action-custom:hover {
	text-decoration: none;
}

.card-actions-custom a, .card-actions-custom a:focus, .card-actions-custom a:hover, .card-actions-custom a:active, .card-actions-custom a:visited,
.card-actions .card-action,
.card-actions .card-action:focus,
.card-actions .card-action:hover,
.card-actions .card-action:active,
.card-actions .card-action:visited {
	outline: none !important;
	text-decoration: none !important;
}

/* This is copied from Porto theme for Report Printer Modal */
/* Feature Box */
.feature-box {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.feature-box .feature-box-icon {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	background: #CCC;
	border-radius: 100%;
	color: #FFF;
	font-size: 16px;
	font-size: 1rem;
	position: relative;
	top: 7px;
	text-align: center;
	padding: 0.8em;
	height: 1px;
	min-width: 2.7em;
	min-height: 2.7em;
}

.feature-box .feature-box-info {
	-webkit-box-flex: 1;
	-ms-flex: 1 1 100%;
	flex: 1 1 100%;
	padding-left: 15px;
}

.feature-box.align-items-center .feature-box-icon {
	top: 0;
}


/* Style 2 */
.feature-box.feature-box-style-2 h4 {
	color: #1d2127;
}

.feature-box.feature-box-style-2 .feature-box-icon {
	background: transparent;
	top: -3px;
}

.feature-box.feature-box-style-2 .feature-box-icon .fa, .feature-box.feature-box-style-2 .feature-box-icon .fas, .feature-box.feature-box-style-2 .feature-box-icon .far, .feature-box.feature-box-style-2 .feature-box-icon .fal, .feature-box.feature-box-style-2 .feature-box-icon .fab, .feature-box.feature-box-style-2 .feature-box-icon .icons {
	font-size: 1.7em;
}

.feature-box.feature-box-style-2.align-items-center .feature-box-icon {
	top: 0;
}


/* =============================================================== */
/* Brian.C Stuff */
/* =============================================================== */

.nav-link.active {
	color: black;
	background-color: #fff !important;
  }

.nav-pills > li.active > a, .nav-pills > li.active > a:focus, .nav-pills > li.active > a:hover {
    color: #fff;
    background-color: #007bff
}

.nav-pills > li > a {
    color: #777;
    background-color: #fff;
}

.form-group.required .col-form-label:after {
	content:"*";
	color:red;
  }

.text-disabled {
	color:#aaa !important;
}

.selected_link {
	font-weight:bold;
}

ul.dashed {
	list-style-type:none;
	margin-left: -10px;
}

ul.dashed > li::before {
    content: "- ";
    margin-left: -30px;
}

.row-hover:hover td {
  background-color: #ccc;
  cursor:pointer;
}

.highlight-yellow {
	background-color: var(--yellow);
}

.wbGrid input[readonly] {
    background-color: #e9ecef;
}

.wbGrid input[type="number"] {
	text-align:right;
	padding-right:5px;
}

.wbGrid input[type="text"] {
	padding-left:5px;
}

#datatable-squawks_wrapper table tr td {
	padding:3px;
}

.doc_badge .badge_count {
	left:-9px;
	color:#0088cc !important;
	position:relative;
	font-size:1.0em;
	font-weight:bold;
}

.select2-selection__rendered .noshow {
	display:none;
}

textarea.expand {
    height: 1em;
    padding: 3px;
    transition: all 0.5s ease;
}

textarea.expand:focus {
    height: 10em;
}


#tpl {
	display:none;
}

.dropzone .dz-preview .dz-details .dz-size {
	margin:0px;

}

/* move progress bar up because we have added an input field in the dropzone element */
#receivePoLine .dropzone .dz-preview .dz-progress,
#serviceReceivePoLine .dropzone .dz-preview .dz-progress,
#dropZoneForm .dropzone .dz-preview .dz-progress {
	top: 40%;
}

.dropzone .dz-preview .dz-progress {
	top: 65%;
}

.alert-admin img {
	 /**margin-top: -50px; **/
	 width:278px;
	 height:196px;

}

.close:not(:disabled):not(.disabled) {
    cursor: pointer;
}

@media screen and ( max-width: 1280px ) {
	div.alert-buttons {
		margin-bottom:20px;
	}

	.alert-admin .float-right { 

		text-align:center;
		float: none !important;


	}
}



/** logbook printing **/

#hiddenPrint {
	display:none;
}

.logbook_parts {
	table-layout: fixed;
	width:100%;
	margin-top:20px;
	margin-bottom:10px;

}

.logbook_parts td {
	padding:3px 7px;
}

/** remove the spinner from input type = number **/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

.modal {
	width : auto;
	position : relative;
}


:root {
	--reminder:var(--blue);
	--pending:var(--indigo);
	--quoting:var(--info);
	--on-hold:var(--yellow);
	--on-time:var(--success);
	--unknown:var(--gray);
	--started-late:var(--pink);
	--late:var(--danger);
	--complete:var(--orange);
    --closed:var(--gray-dark);
   --new:var(--teal);
}

.badge-reminder {
	color: #ffff;
	background-color:var(--reminder);
}

.badge-pending {
	color: #ffff;
	background-color:var(--pending);
}

.badge-quoting {
	color: #ffff;
	background-color:var(--quoting);
}


.badge-on-hold {
	color: #ffff;
	background-color:var(--on-hold);
}

.badge-on-time {
	color: #ffff;
	background-color:var(--on-time);
}

.badge-unknown {
	color: #ffff;
	background-color:var(--unknown);
}

.badge-started-late {
	color: #ffff;
	background-color:var(--started-late);
}

.badge-late {
	color: #ffff;
	background-color:var(--late);
}

.badge-complete {
	color: #ffff;
	background-color:var(--complete);
}

.badge-closed {
	color: #ffff;
	background-color:var(--closed);
}

.badge-new {
	color: #ffff;
	background-color:var(--new);
}

.btn-default.active {
	background-color: #e6e6e6;
	border-color: #CCC #CCC #b3b3b3;
  	color: #333;
}

.form-group .btn-primary:active {
  	color: #333 !important;
}

.cfdebug
{
	margin-left: 160px;
}

.top-m {
  margin-top: 55px;
}

/* This is for but active permissions in user management */
html .btn-permissions {
	background-color: #e6e6e6;
	border-color: #CCC #CCC #b3b3b3;
  	color: #333;
}


/** TWITTER TYPEAHEAD **/
span.twitter-typeahead .tt-menu {
	cursor: pointer;
  }

  .twitter-typeahead, .tt-hint, .tt-input, .tt-menu { width: 100%;
	max-height:250px;	
 }

 .tt-menu {
	overflow-y: scroll; 
 }

/* This breaks the top menu so commented it out /bd 
  
  form .dropdown-menu, form span.twitter-typeahead .tt-menu {
	position: absolute;
	
	top: 100%;
	
	z-index: 1000;
	display: none;
	float: left;
	min-width: 160px;
	padding: 5px 0;
	margin: 2px 0 2px 5px;
	font-size: 1rem;
	color: #373a3c;
	text-align: left;
	list-style: none;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 0.25rem;
	} 
   */
  
form span.twitter-typeahead .tt-suggestion {
	display: block;
	width: 100%;
	padding: 3px 20px;
	clear: both;
	font-weight: normal;
	line-height: 1.5;
	color: #373a3c;
	text-align: inherit;
	white-space: nowrap;
	background: none;
	border: 0; }

  form span.twitter-typeahead .tt-suggestion:focus, .dropdown-item:hover, span.twitter-typeahead .tt-suggestion:hover {
	  color: #2b2d2f;
	  text-decoration: none;
	  background-color: #f5f5f5; }
  span.twitter-typeahead .active.tt-suggestion, span.twitter-typeahead .tt-suggestion.tt-cursor, span.twitter-typeahead .active.tt-suggestion:focus, span.twitter-typeahead .tt-suggestion.tt-cursor:focus, span.twitter-typeahead .active.tt-suggestion:hover, span.twitter-typeahead .tt-suggestion.tt-cursor:hover {
	  color: #fff;
	  text-decoration: none;
	  background-color: #0275d8;
	  outline: 0; }
  span.twitter-typeahead .disabled.tt-suggestion, span.twitter-typeahead .disabled.tt-suggestion:focus, span.twitter-typeahead .disabled.tt-suggestion:hover {
	  color: #818a91; }
  span.twitter-typeahead .disabled.tt-suggestion:focus, span.twitter-typeahead .disabled.tt-suggestion:hover {
	  text-decoration: none;
	  cursor: not-allowed;
	  background-color: transparent;
	  background-image: none;
	  filter: "progid:DXImageTransform.Microsoft.gradient(enabled = false)"; }
  span.twitter-typeahead {
	width: 100%; }
	.input-group span.twitter-typeahead {
	  display: block !important; }
	  .input-group span.twitter-typeahead .tt-menu {
		top: 2.375rem !important; }


/** SELECT2 Overrides 
.select2-container--default .select2-selection--single, .select2-container .select2-selection--single, .select2-container .select2-selection--single .select2-selection__rendered, .select2-container .select2-selection--single .select2-selection__rendered  {
**/	

.select2.select2-container.select2-container--default {
		display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: .85rem;
    color: #495057;
    background-color: #fff;
    background-image: none;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	height:24px;
	padding:0px;
	border:none !important;
}

.select2-container--default .select2-selection--single {
	border:none !important;
	padding:0px;
	height:auto;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height:32px;
}

/** end select 2 overrides **/

/** Calendar support **/

.calender_hover li {
    font-weight:bold;
	list-style-type:none;
	text-align:left;
}
.calender_hover li span {
    float: right;
    font-weight:normal;
}

/** calendar settings **/
.calendar_popover {
    width:300px;
    background:#fff;
    border:1px solid #ccc;
    padding:5px;
    position:absolute;
    z-index:10001;   
    overflow:auto;
}

/** calendar settings **/
.calendar_popover_left {
    width:300px;
    background:#fff;
    border:1px solid #ccc;
    padding:5px;
    position:absolute;
    top:0px !important;
    left:-100px !important;
    z-index:10001;   
    overflow:auto;
}

.header_text_sm {
	font-size:.7em;
}

.right {
	text-align:right;
}

.center {
	text-align:center;
}

/** contact form notification **/

p.contact_warning_box{
	display:inline-block;
	font-size:20px;
	font-style:italic;
	padding:20px 20px;
	border:1px solid #fff;
	webkit-border-radius: 5px 5px 5px 5px;
	-moz-border-radius: 5px 5px 5px 5px;
	border-radius: 5px 5px 5px 5px;
}
