/* Modification to file
 	2021-12-06	PBaldwin	> Created fleet-office-tools.css to consolidate styles common to all fleet office tools pages
							> Modified the css for .dataTables_paginate from:
								position: absolute; to position: relative; * Setting caused page number list to drop to next line*
							> Modified the css for .dataTables_paginate a from:
								width: 30px; to width: auto; * This sets an absolute width. Text plus spacing overflows it. *
								background-color: #666; to background-color: #999; * This alters the color to match other buttons *
							> Deleted the following:
								float: left; from .dataTables_paginate a
								margin: 0 10px 0 0; from .dataTables_paginate a
 
    2021-12-24 AHilton      > Created Footer section
    
    2022-02-03	PBaldwin	> Added #btnuserentryrowedit, #btncontactentryrowedit, #btniftareportrowedit, #btnserviceentryrowedit,
    							#btnservicelogentryrowedit, #btnuserentryrowdelete, and #btncontactentryrowdelete,
    							#btnivmrreportrowdelete, #btniftareportrowdelete, #btnserviceentryrowdelete, #btnservicelogentryrowdelete
    							to list of ids to color the row edit and row delete buttons on the users page and contacts page
    						> Added select {background-color: #f1f1f1;} to style drop down boxes for all dialog boxes
    
    2022-02-10	PBaldwin	> Added #btnemailentryrowedit, #btnivmrreportrowedit, #btnvehiclepositionrowedit, #btnemailentryrowdelete,
								#btnvehiclepositionrowdelete to list of ids to color the row edit and row delete buttons on the users
								page and contacts page. These were missed in additions of 2022-02-03
							> Removed specific IDs, from today and 2022-02-03, used to color Edit and Delete buttons in datatables rows in
							> favor of a class specific to each button, .btn-row-edit and .btn-row-delete, respectively
							> Added .paginate_button{padding: 0em 1em	!important;} to override stupid default margins messing up pagination
								from jquery.dataTables.min.css
							> Modified .dataTables_paginate a.previous, .dataTables_paginate a.next style to include line-height: 27px to properly
								place the Previous and Next buttons on the line with the number buttons when paging
	2022-02-10 AHilton		Added .btn-row-email to color Email buttons in datatables rows.  Should probably change it to a distinct color rather than the skyblue I used

  2022-02-12 AHilton  Added Dropdown section
  	2022-12-09	PBaldwin	> Added Checkbox styling for Overview Page. Required Changing this file's encoding from cp1252 to utf-8
  	2023-03-02	PBaldwin	> Updated footer styles to reduce the height of it and better use the available space.
  	2023-03-03	PBaldwin	> Improved styling of data entry inputs, buttons, and tables on based on screen size.
	2023-12-13  PBaldwin  > Moved #mySidebar styling from fot.css to fleet-office-tools.css to update nav menu on all pages
    */
 
html {
  font-size: 14px;
  overflow-y: scroll;
  overflow-x: auto;
}
body {
  background-color: #ddd;
  font-family: 'Oxygen', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  text-align: left;
  color: #666;
}

/* General -------------------------------------------------------------------------------------- */
* {
  padding: 0;
  border: 0;
  outline: 0;
  margin: 0;
}

h1, h2 {
  font-weight: normal;
  font-size: 1rem;
}

a {
  cursor: pointer;
  -webkit-transition: all 0.2s ease 0s;
  -moz-transition:    all 0.2s ease 0s;
  -o-transition:      all 0.2s ease 0s;
  transition:         all 0.2s ease 0s;
}

ul {
  list-style-type: none;
}

table {
  border-collapse: collapse;
}
table th,
table td {
  font-weight: normal;
  text-align: left;
  vertical-align: middle;
}

label {
  cursor: pointer;
}
input,
button,
select {
  background-color: transparent;
  font-family: 'Oxygen', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color:#666;
}
button,
select {
  cursor: pointer;
}
button {
  -webkit-transition: all 0.2s ease 0s;
  -moz-transition:    all 0.2s ease 0s;
  -o-transition:      all 0.2s ease 0s;
  transition:         all 0.2s ease 0s;
}

.btnsavedriver {
  color: black;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  opacity: 0.9;
    padding: 14px 20px;
    background-color: darkseagreen;
    float: left;
    width: 20%;
}

@media screen and (max-width: 300px) {
/* Change style for save button on extra small screens */
	.btnsavedriver {
     width: 100%;
  }
}

/* Clear floats */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

select {
  -webkit-appearance: none;
}

input[type=text],
input[type=number],
input[type=email],
input[type=url],
input[type=password],
input[type=date],
input[type=search],
input[type=tel] {
  -webkit-appearance: none;
    width: 100%;
    padding: 15px;
    margin: 5px 0 22px 0;
    display: inline-block;
    border: none;
    background: #f1f1f1;
}

/* Add a background color when the inputs get focus */
input[type=text]:focus, input[type=password]:focus {
  background-color: #ddd;
  outline: none;
}

input[type=number] {
  -moz-appearance: textfield;
}
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

input[type=search] {
  -webkit-appearance: none;
  -webkit-border-radius: 0;
  border-radius: 0;
}
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
  display: none;
}

button::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner {
  padding: 0 !important;
  border: 0 none !important;
}



/* Page container ------------------------------------------------------------------------------- */
#page_container {
  width: 980px;
  padding: 40px 5px 55px 5px;
  margin: 0 auto 0 auto;
}

/* Header --------------------------------------------------------------------------------------- */
h1 {
  font-weight: 700;
  font-size: 2.2rem;
  color: #f70;
  margin: 0 0 25px 0;
}

button.button {
  height: 35px;
  display: inline-block;
  background-color: #999;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  padding: 0 15px 0 15px;
  -webkit-border-radius: 6px;
  -moz-border-radius:    6px;
  border-radius:         6px;
  margin: 0 0 25px 0;
}
button.button:hover,
button.button:active {
  background-color: #333;
}

/* Message / noscript --------------------------------------------------------------------------- */
#message_container,
#noscript_container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  text-align: center;
  color: #fff;
}
#message_container {
  display: none;
}
#message,
#noscript {
  width: 980px;
  line-height: 20px;
  padding: 10px 5px 10px 6px;
  margin: 0 auto 0 auto;
}
#message  p,
#noscript p {
  display: inline-block;
  position: relative;
  padding: 0 0 0 28px;
}
#message  p:before,
#noscript p:before {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #f70;
  font-family: 'FontAwesome', Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  color: #fff;
  -webkit-border-radius: 20px;
  -moz-border-radius:    20px;
  border-radius:         20px;
}
#message.success  p:before,
#noscript.success p:before {
  content: '\f00c';
}
#message.error  p:before,
#noscript.error p:before {
  content: '\f00d';
}


/* Loading message ------------------------------------------------------------------------------ */
#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 120px;
  height: 120px;
  margin: -76px 0 0 -76px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#mySidebar {
  top: 43px; /* The height of top banner. */
  height:calc(100% - 43px); /* Reduce sidebar height by the size of the top banner. */
  z-index:3;
  width:300px;
}

#loading_container {
  width: 100%;
  height: 100%;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #333;
  background-color: rgba(0, 0, 0, 0.85);
  text-align: center;
}
#loading_container2 {
  width: 100%;
  height: 100%;
  display: table;
}
#loading_container3 {
  display: table-cell;
  vertical-align: middle;
}
#loading_container4 {
  width: 350px;
  height: 250px;
  position: relative;
  background-color: #fff;
  font-size: 1.4rem;
  line-height: 1.4rem;
  color: #666;
  padding: 165px 0 0 0;
   -webkit-box-sizing: border-box;
  -moz-box-sizing:     border-box;
  box-sizing:          border-box;
  -webkit-border-radius: 6px;
  -moz-border-radius:    6px;
  border-radius:         6px;
  margin: 0 auto 0 auto;
}
#loading_container4:before {
  width: 100%;
  position: absolute;
  top: 80px;
  left: 0;
  font-family: 'FontAwesome', Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-size: 4rem;
  line-height: 4rem;
  text-align: center;
  color: #f70;
  content: '\f013';
  -webkit-animation: spin 2s infinite linear;
  animation:         spin 2s infinite linear;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform:         rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform:         rotate(359deg);
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform:         rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform:         rotate(359deg);
  }
}

/* Datatable ------------------------------------------------------------------------------------ */
.dataTables_wrapper {
  position: relative;
  padding: 0px 0 50px 0; /* Default remove padding at top */
}

.dataTables_length {
  width: auto;
  height: 30px;
  position: relative; /* Default positioning for all screens */
  top: 0;
  left: 0;
  padding: 0 110px 0 0;
}
.dataTables_length label {
  line-height: 30px;
  margin: 0;
}
.dataTables_length select {
  width: 100px;
  height: 30px;
  position: absolute;
  top: 0;
  right: 0;
  background-color: #fff;
  color: #666;
  padding: 0 50px 0 10px;
  border: 1px solid #ccc;
  -webkit-border-radius: 6px;
  -moz-border-radius:    6px;
  border-radius:         6px;
  margin: 0;
}
.dataTables_length:after {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 0;
  right: 0;
  background-color: #999;
  font-family: 'FontAwesome', Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-size: 1.2rem;
  line-height: 30px;
  text-align: center;
  color: #fff;
  content: '\f107';
  pointer-events: none;
  -webkit-border-top-right-radius:    6px;
  -webkit-border-bottom-right-radius: 6px;
  -moz-border-radius-topright:        6px;
  -moz-border-radius-bottomright:     6px;
  border-top-right-radius:            6px;
  border-bottom-right-radius:         6px;
}
.dataTables_length select::-ms-expand {
  display: none;
}

.dataTables_filter {
  position: relative; /*Default positioning for all screens */
  top: 0;
  right: 0;
}
.dataTables_filter label {
  line-height: 30px;
}
.dataTables_filter input {
  width: 200px;
  height: 30px;
  display: inline-block;
  background-color: #fff;
  line-height: 30px;
  color: #666;
  padding: 0 0 0 10px;
  border: 1px solid #ccc;
  -webkit-border-radius: 6px;
  -moz-border-radius:    6px;
  border-radius:         6px;
  margin: 0 0 0 10px;
}
.dataTables_filter input:focus {
  background-color: #ffd;
}

.dataTables_paginate {
  position: relative;
  bottom: 0;
  left: 0;
}

.paginate_button{
	padding: 0em 1em	!important;
}

.dataTables_paginate a {
	display: none	!important; /* Default to hide all number navigation buttons */
  width: auto;
  height: 30px;
  background-color: #999;
  font-weight: normal;
  line-height: 29px;
  text-align: center;
  color: #fff;
  -webkit-border-radius: 6px;
  -moz-border-radius:    6px;
  border-radius:         6px;
}
.dataTables_paginate a.current,
.dataTables_paginate a:hover,
.dataTables_paginate a:active,
.dataTables_paginate a:focus {
  background-color: #333;
}

/* Default to show only previous, current, and next */
.dataTables_paginate a.previous,
.dataTables_paginate a.current,
.dataTables_paginate a.next {
	display: inline-block	!important;
}

.dataTables_paginate a.previous,
.dataTables_paginate a.next {
  font-family: 'FontAwesome', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  line-height: 27px;
}
.dataTables_paginate a.previous:before {
  content: '\f104';
}
.dataTables_paginate a.next:before {
  content: '\f105';
}

.dataTables_info {
  position: absolute;
  bottom: 0;
  right: 0;
  line-height: 30px;
  margin-bottom: 1em;
  padding-right: 1em;
}

table.datatable {
  width: 100% !important;
  line-height: 1.4rem;
}
table.datatable th,
table.datatable td {
  background-color: #fff;
  padding: 5px 10px 5px 10px;
  border: 1px solid #ccc;
}

table.datatable thead th {
  background-color: #999;
  font-weight: bold;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  padding-top: 7px;
  padding-bottom: 8px;
}
table.datatable thead th.sorting,
table.datatable thead th.sorting_desc,
table.datatable thead th.sorting_asc {
  cursor: pointer;
}
table.datatable thead th.sorting:active,
table.datatable thead th.sorting_desc:active,
table.datatable thead th.sorting_asc:active {
  background-color: #333;
}

table.datatable tbody tr:nth-child(even) td {
  background-color: #eee;
}
table.datatable tbody tr:hover th,
table.datatable tbody tr:hover td {
  background-color: #ffd;
}
table.datatable tbody tr:hover td.dataTables_empty {
  background-color: #fff;
}
table.datatable tbody td.company_name {
  width: 100%;
}
table.datatable tbody td.integer {
  text-align: right;
  white-space: nowrap;
}
table.datatable tbody td.nowrap {
  white-space: nowrap;
}

table.datatable tbody td.functions .function_buttons {
  width: 70px;
  height: 30px;
  margin: 0 auto 0 auto;
}
table.datatable tbody td.functions .function_buttons li {
  float: left;
  padding: 0 10px 0 0;
}
table.datatable tbody td.functions .function_buttons li.function_delete {
  padding: 0;
}
table.datatable tbody td.functions .function_buttons a {
  width: 30px;
  height: 30px;
  display: inline-block;
  background-color: #999;
  font-family: 'FontAwesome', Arial, Helvetica, sans-serif;
  font-weight: normal;
  line-height: 29px;
  text-align: center;
  color: #fff;
  -webkit-border-radius: 6px;
  -moz-border-radius:    6px;
  border-radius:         6px;
}
table.datatable tbody td.functions .function_buttons .function_edit a:before {
  font-size: 1.1rem;
  content: "\f040";
}
table.datatable tbody td.functions .function_buttons .function_delete a:before {
  font-size: 1.2rem;
  line-height: 30px;
  content: "\f1f8";
}
table.datatable tbody td.functions .function_buttons a:hover,
table.datatable tbody td.functions .function_buttons a:active,
table.datatable tbody td.functions .function_buttons a:focus {
  background-color: #333;
}
table.datatable tbody td.functions .function_buttons span {
  display: none;
}

.dt-button.deleteselected {
  font-size: 10px;
  color: red;
  margin-left: 1em;
}

.dt-button.copyHtml5 {
  font-size: 10px;
  margin-left: 1em;
}

.dt-button.excelHtml5 {
  font-size: 10px;
  margin-left: 1em;
}

.dt-button.csvHtml5 {
  font-size: 10px;
  margin-left: 1em;
}

.dt-button.pdfHtml5 {
  font-size: 10px;
  margin-left: 1em;
}

/* Checkmark styling for Datatables Checkboxes because the default looks bad
   Had to force styling because Datatables took precedence. - PBaldwin 
*/
tr.selected td.select-checkbox:after,
table.dataTable tr.selected th.select-checkbox:after {
    content: "✓"	!important;
    font-size: 12px	!important;
    margin-top: -6px	!important;
    text-shadow: none	!important;
    font-weight: bold	!important;
}

#tbldriverentries_wrapper .dt-buttons .dt-button,
#tblvehicleentries_wrapper .dt-buttons .dt-button,
div .dt-button-collection,
.dataTables_length,
.dataTables_filter {
	text-align: left !important;
	width: 100% !important;
}

#tblnotifications_wrapper .dt-buttons {
	padding: 0.5em;
}

#tbldriverentries_wrapper .dt-buttons .dt-button,
#tblvehicleentries_wrapper .dt-buttons .dt-button,
.dataTables_length,
.dataTables_filter {
	margin-bottom: 0.5em;
}

.dataTables_length select {
	width: auto;
	min-width: 65%;
	padding-top: 0 !important;
}

.dataTables_filter input {
	width: auto;
	min-width: 81%;
	float: right;
}

/* Standard styling of down arrow looks strange on small screens */
.dt-down-arrow {
	float: right;
	top: 8px !important;
}

@media screen and (min-width: 640px) {
/* Change style for policies datatables search and filtering on larger screens */
	.dataTables_length,
	.dataTables_filter{
		width: 40% !important;
	}

@media screen and (min-width: 1024px) {
/* Correct search bar layout so that it remains on a single line for large screens */
  .dataTables_filter input {
    min-width: 78%;
  }
}
	#tbldriverentries_wrapper .dt-buttons,
	#tblvehicleentries_wrapper .dt-buttons {
		margin-right: 2em
	}
	
/* Must reset down arrow styling for large screens */
	.dt-down-arrow {
	float: none;
	top: -2px !important;
}
	
}


/* Buttons ------------------------------------------------------------------------------ */
.btn-row-new {
  color: green;
}

.btn-row-edit {
    color: skyblue;
}

.btn-row-delete {
    color: lightcoral;
}

.btn-row-email {
    color: rgb(171, 206, 15);
}
.btn-row-view {
    color: lightslategray;
}
.btn-row-complete {
  color: limegreen;
}
/* Form Controls ----------------------------------------------------------------------- */

select {
	background-color: #f1f1f1;
}
/* Footer ------------------------------------------------------------------------------ */
/* This style no longer needed. 2022-03-02
.footer-heading {
    font-size: 30px;
    margin-bottom: 10px;
}*/

.footer-heading a {
    text-decoration: none;
}

/* This style no longer needed. 2022-03-02
.footer-menu li {
	display: inline-block;
    padding-left: 50px;
}*/

.footer-menu a {
	display: inline-block;
	font-size: 12px;
    text-decoration: none;
    margin: 0.6em;
}

.footer-social {
	font-size: 14px;
    /* list-style-type: none; */
    align-content: center;
    margin-top: 0.6em;
}

.footer-social-links {
    word-spacing: 30px;
    color: teal;
    font-size: 2em;
}

.copyright {
    font-size: 10px;
}

@media screen and (min-width: 640px) {
/* Change style for policies menu on larger screens */
	.footer-menu a {
		display: block;
	}
}


/* Dropdown ---------------------------------------------------------------------*/
.dropdown select{
  background:transparent;
   width: 297px;
   padding: 2px;
   font-family: 'Oxygen', Arial, Helvetica, sans-serif;
   font-size:1em;
   font-weight:normal;
   color:rgb(78, 78, 78);
   line-height: 1;
   border: 0;
   border-radius: 0;
   /*Hides the default arrows for Selects*/
  -webkit-appearance: none;
  -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';
     position: relative;
  }


.dropdown{
	width: 297px;
	overflow: hidden;
	background: no-repeat right #dfdfdf;
	-webkit-border-radius: 4px 4px 4px 4px;
	 -moz-border-radius: 4px 4px 4px 4px;
		  border-radius: 4px 4px 4px 4px;
	-webkit-box-shadow: inset 0 2px 4px rgba(107, 105, 105, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
	 -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
		  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
		  -moz-box-shadow:    0px 8px 3px -9px #000000;
		  -webkit-box-shadow: 0px 8px 3px -9px #000000;
		  box-shadow:         0px 8px 3px -9px #000000;  

}

.dropdown {
    position: relative;
}

.dropdown:before {
    content: "";
    position: absolute;
    right: 10px;
    top: 8px;
	width: 0; 
	height: 0; 
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 10px solid rgb(94, 94, 94);
}

.dropdown:after {
    content: "";
    position: absolute;
    right: 10px;
    top: 3px;
	width: 0; 
	height: 0; 
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 3px solid transparent;
}


/* Progress Bar ---------------------------------------------------------------------*/
.ui-progressbar {
  position: relative;
}
.progress-label {
  position: absolute;
  left: 50%;
  top: 4px;
  font-weight: bold;
  text-shadow: 1px 1px 0 #fff;
}


