/*
Stylesheet for eeedo equipment management plugin
*/

.vehicleSelectWrap label, .closeable-form label {
  color: #255e17;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.closeable-form>input {
  max-width: 90%;
}

.neutral-icon {
  color: #212121;
}

.selectedVehicle {
  font-weight: bold;
  color: rgb(218, 92, 92);
  font-size: 150%;
}

.maintenance_box, .meta-box {
  padding: 3px 5px 3px 5px;
  background: none;
  border: 1px solid;
  color: #c7254e;
  background-color: #f9f2f4;
  margin: 0 5px 0 5px;
  border-radius: 5px;
  font-size: 100%;
}

#serviceadvice_form input, #serviceadvice_form textarea, #serviceadvice_form select {
  max-width: 90%;
}

.metafield_hint {
  font-size: 0.8em;
  color: rgb(128, 128, 128);
  font-style: italic;
}

.eem-warning {
  color: red;
  font-weight: bold;
  display: inline-block;
  vertical-align: middle;
}

.eem_error::after {
  content: '\f071';
  margin-left: 5px;
  color: red;
  font-family: 'FontAwesome', sans-serif;
}

.eem_error+.tooltip.right>.tooltip-arrow {
  border-right: 5px solid red;
}

.eem_error+.tooltip.left>.tooltip-arrow {
  border-left: 5px solid red;
}

.eem_error+.tooltip.top>.tooltip-arrow {
  border-top: 5px solid red;
}

.eem_error+.tooltip.bottom>.tooltip-arrow {
  border-bottom: 5px solid red;
}

.eem_error+.tooltip>.tooltip-inner {
  background-color: rgb(255, 0, 0);
  color: white;
  padding: 5px;
  font-size: 15px;
}

.eem_metafield[type="checkbox"] {
  margin-left: 10px;
}

.eem_metafield {
  padding-left: 10px;
  width: 90%;
}

.eem_unit {
  font-size: 0.8em;
  color: rgb(133, 133, 133);
  margin-left: 5px;
}


/* shared by all sections */

.eeedoequipment {
  background-color: #fff;
  padding: 10px 20px 10px 20px;
  border: 1px solid #efefef;
  margin: 20px 0;
}

.eem-task-icon {
  padding-right: 5px;
}

.eem-highlight, .style-border {
  border-width: 0px 0px 0px 10px;
  border-style: solid;
  border-color: rgb(222, 222, 222);
}

.intrapage p, .page p {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.modalForm .eeedo-customform input[type="checkbox"], .modalForm .eeedo-customform input[type="radio"] {
  width: 20px !important;
  min-width: 20px;
  display: inline-block;
  margin: 0 10px 0 0;
  vertical-align: middle;
}

.modalForm .eeedo-customform input[type="checkbox"], .modalForm .eeedo-customform input[type="radio"] {
  width: 20px;
  min-width: 20px;
  display: inline-block;
  margin: 0 10px 0 0;
  vertical-align: middle;
}

.closeable-form .modal-content, .closeable-form .modal-content {
  padding: 10px;
}

.closeable-form button.close, #maintenance_form button.close {
  float: right;
  margin-bottom: 10px;
}

.closeable-form .modal-header, #maintenance_form .modal-header {
  border: none;
  padding-bottom: 0;
}

.closeable-form .modal-body, #maintenance_form .modal-body {
  border: none;
  padding-top: 0;
}

.closeable-form.forceSubmit button.close {
  display: none;
}

#maintenance .eeedo-tasktitle, #maintenance .eeedo-taskduedate, #maintenance .eeedo-taskusername, #maintenancejob_list .eeedo-tasktitle, #maintenancejob_list .eeedo-taskduedate, #maintenancejob_list .eeedo-taskusername {
  font-weight: normal;
  color: #000;
  display: inline-block;
  width: 25%;
}

#maintenancejob_list .eeedo-taskdescription {
  width: 25%;
  display: inline-block;
  vertical-align: middle;
}

#tasks_done_result .eeedo-taskstatustitle {
  display: none;
}

#tasks_done_result .task-list.todo, #tasks_done_result .task-list.doing {
  display: none;
}

#tasks_done_result .task-list.done {
  display: block;
}

#vehicleSelect {
  height: 40px;
  width: 100%;
  font-size: 18px;
}

#faultSelect {
  max-width: 100%;
}

#tasks_list_result {
  margin-bottom: 20px;
}

.maintenancejob_list_wrap {
  overflow: hidden;
}

.eeedo-taskstatustitle {
  background: transparent;
  color: #000;
  font-family: inherit;
  margin-bottom: 0;
}

.eeedo-taskduedate {
  display: inline-block;
  color: #979797;
}

.eeedo-task {
  margin-left: 10px;
}

.eeedo-task:hover {
  background: transparent;
}

.taskRow {
  display: block;
  float: left;
  width: 100%;
  padding: 10px 5px;
}

.taskRow:hover {
  background: inherit;
}

.taskRow:nth-child(odd) {
  background-color: #f9f9f9;
}

.taskRow .taskCol {
  display: inline-block;
  width: 20%;
  float: none;
  vertical-align: middle;
}

.taskRow .eeedo-tasktitle.taskCol {
  width: 60%;
}

.eeedo-taskduedate.taskCol {
  width: 15%;
}

.eeedoTaskUserName.taskCol {
  width: 20%;
  font-size: 0.8em;
}

.eeedo-customform select {
  padding: 0 10px;
}

.form.dropzone, .eeedo-customform textarea {
  padding: 10px 10px;
}

.add_new_task_btn .fa {
  font-size: 20px;
  vertical-align: top;
  margin-right: 5px;
}

h2.hanurTitle {
  margin: 0 0 20px 0;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  margin-top: 10px;
  font-size: 22px;
}

h2.hanurTitle:before {
  content: " ";
  transform: rotate(0deg);
  border-style: solid;
  width: 10px;
  transition: transform 0.25s;
  display: inline-block;
  margin-right: 10px;
  border-width: 10px 10px 0 10px;
  margin-bottom: 2px;
  border-color: #979797 transparent transparent transparent;
}

h2.hanurTitle.collapsed:before {
  transform: rotate(-90deg);
}

.taskinfo {
  margin-left: 35px;
}

.taskinfo label {
  font-weight: normal;
}

.taskinfo textarea {
  max-width: 100%;
  font-weight: normal;
}

.taskAlert span {
  color: #f00;
}

.span-block {
  display: block;
}

#maintenancejob_list, #drivestartinspection_list, #custominspection_list {
  padding: 20px;
}

.add_new_task_btn {
  background-color: #E71600;
  color: white;
  font-size: 17px;
  max-width: 250px;
  text-align: center;
  margin-top: 10px;
  padding: 10px;
  cursor: pointer;
}

.add_new_task_btn:hover {
  background-color: #ffd734;
  transition: background-color 0.5s
}

#custominspection_list_result .eeedo-taskduedate, #drivestartinspection_list_result .eeedo-taskduedate {
  font-size: 0.8em;
}

.maintenance-label {
  color: #333;
  font-weight: normal;
  cursor: pointer;
}

.eem-section {
  background-color: #fff;
  padding: 10px 20px 10px 20px;
  border: 1px solid #efefef;
}

.eem-title {
  color: rgb(30, 30, 30);
  cursor: pointer;
}

.eem-task-title {
  margin-left: 10px;
  font-weight: bold;
}

.eem-results {
  padding: 0;
}

.eem-task {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  padding: 5px 5px;
}

.eem-task-sub {
  display: flex;
  padding: 5px;
}

.eem-align-icon {
  display: inline-block;
  vertical-align: middle;
}

.eem-status-title {
  font-size: 1.3em;
  font-weight: bold;
  margin: 10px 0;
}

.eem-lightweight {
  font-size: 0.8em;
  justify-content: flex-end;
  color: rgb(140, 140, 140);
  margin-left: auto;
}

.eem-half {
  width: 50%;
}

.eem-date {
  color: #979797;
  font-weight: bold;
  font-size: 0.9em;
}

.eem-tags {
  color: #979797;
  font-weight: bold;
  width: 75px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eem-accent {
  font-weight: bold;
}

.eem-info {
  flex-grow: 1;
  flex-basis: 20%
}

.eem-end {
  justify-content: flex-end;
}

.eem-start {
  text-align: left;
}

.eem-middle {
  text-align: center;
}

.eem-task:nth-child(odd) {
  background-color: #f9f9f9;
}

.eem-clickable {
  cursor: pointer;
}

.eem-warning-icon {
  color: #c7254e;
  padding-left: 5px
}

@media (max-width: 768px) {
  .eem-task-sub {
    flex-basis: 45%;
  }
  .eem-lightweight {
    justify-content: flex-start;
    margin-left: 0;
  }
  .eem-task-title {
    margin-left: 0;
  }
  .eem-extrainfo {
    display: flex;
    flex-wrap: wrap;
  }
  .eem-extrainfo-sub {
    display: flex;
    flex-basis: 40%;
    margin: 5px;
  }
  .eem-tags {
    width: unset;
  }
}

@media (max-width: 500px) {
  .eem-tags {
    width: unset;
  }
  .eem-task-sub {
    flex-basis: 90%;
  }
  .eem-task {
    margin: 10px 0px 10px 0px;
    border: 1px solid #eeeeee;
  }
}
