﻿.modal-dialog-job {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100% - 60px);
}

.modal-backdrop {
  display: none;
}

.orchard-container {
  position: relative;
  width: 100%;
}

.switch {
  position: relative;
  display: block;
  vertical-align: top;
  width: 100px;
  height: 30px;
  padding: 3px;
  margin: 0 10px 10px 0;
  background: linear-gradient(to bottom, #eeeeee, #FFFFFF 25px);
  background-image: -webkit-linear-gradient(top, #eeeeee, #FFFFFF 25px);
  border-radius: 18px;
  box-shadow: inset 0 -1px white, inset 0 1px 1px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  box-sizing: content-box;
}

.switch-input {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  box-sizing: content-box;
}

.switch-label {
  position: relative;
  display: block;
  height: inherit;
  font-size: 10px;
  text-transform: uppercase;
  background: #eceeef;
  border-radius: inherit;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12), inset 0 0 2px rgba(0, 0, 0, 0.15);
  box-sizing: content-box;
}

.switch-label:before, .switch-label:after {
  position: absolute;
  top: 50%;
  margin-top: -0.5em;
  line-height: 1;
  -webkit-transition: inherit;
  -moz-transition: inherit;
  -o-transition: inherit;
  transition: inherit;
  box-sizing: content-box;
}

.switch-label:before {
  content: attr(data-off);
  right: 11px;
  color: #aaaaaa;
  text-shadow: 0 1px rgba(255, 255, 255, 0.5);
}

.switch-label:after {
  content: attr(data-on);
  left: 11px;
  color: #FFFFFF;
  text-shadow: 0 1px rgba(0, 0, 0, 0.2);
  opacity: 0;
}

.switch-input:checked ~ .switch-label {
  background: #5cb85c;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15), inset 0 0 3px rgba(0, 0, 0, 0.2);
}

.switch-input:checked ~ .switch-label:before {
  opacity: 0;
}

.switch-input:checked ~ .switch-label:after {
  opacity: 1;
}

.switch-handle {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 28px;
  height: 28px;
  background: linear-gradient(to bottom, #FFFFFF 40%, #f0f0f0);
  background-image: -webkit-linear-gradient(top, #FFFFFF 40%, #f0f0f0);
  border-radius: 100%;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.switch-handle:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -6px 0 0 -6px;
  width: 12px;
  height: 12px;
  background: linear-gradient(to bottom, #eeeeee, #FFFFFF);
  background-image: -webkit-linear-gradient(top, #eeeeee, #FFFFFF);
  border-radius: 6px;
  box-shadow: inset 0 1px rgba(0, 0, 0, 0.02);
}

.switch-input:checked ~ .switch-handle {
  left: 74px;
  box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.2);
}

.switch-label, .switch-handle {
  transition: All 0.3s ease;
  -webkit-transition: All 0.3s ease;
  -moz-transition: All 0.3s ease;
  -o-transition: All 0.3s ease;
}

.defer-approval {
  display: flex;
  align-items: center;
  padding-left: 0;
  height: 36px;
}

.wrapper {
  position: relative;
}

.toggle-next {
  border-radius: 0;
}

label {
  cursor: pointer;
}

.ellipsis {
  text-overflow: ellipsis;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  border-radius: 4px;
}

.apply-selection {
  width: 100%;
  margin: 0;
  padding: 5px 10px;
  border-bottom: 1px solid #ccc;
}

.ajax-link {
  display: none;
}

.checkboxes {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  border: 1px solid #ccc;
  border-top: 0;
  width: 100%;
  background-color: white;
  border-radius: 5px;
  z-index: 1;
}

.inner-wrap {
  padding: 5px 10px;
  max-height: 140px;
  overflow: auto;
}

input[type=checkbox] + label {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.bootgrid-header .actionBar .btn-group > .btn-group .dropdown-menu .dropdown-item {
  display: flex !important;
}

.ckkBox {
  width: auto !important;
  margin-right: 5px;
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.popup .val {
  width: 2em !important;
  height: 2em;
  margin-right: 15px;
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.popup-body input[type=checkbox]::before {
  font-size: 3rem;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
}

.popup-body {
  margin-bottom: 10px;
}

/* Align the label beside the checkbox */
.popup-body label {
  display: flex !important;
  align-items: center;
  margin-bottom: 0.5rem;
}

.popup-body label input {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.popup-footer {
  text-align: center;
}

.close-popup {
  cursor: pointer;
}

.customer-container .select2-container {
  display: block;
  width: 100% !important;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.customer-container .select2-container--default .select2-selection--single {
  border: none;
  background-color: transparent !important;
}

.customer-container .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #444;
  line-height: 20px;
  background-color: transparent !important;
}

.product-container .select2-container {
  display: block;
  width: 100% !important;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.product-container .select2-container--default .select2-selection--single {
  border: none;
  background-color: transparent !important;
}

.product-container .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #444;
  line-height: 20px;
  background-color: transparent !important;
}

.select2-container--default .select2-results {
  width: 100%;
}

.select2-dropdown {
  width: 300px !important;
}

.product-container .select2-dropdown {
  width: 350px !important;
}

.customer-container .select2-dropdown {
  width: 320px !important;
}

.supplier-container .select2-container {
  width: 100% !important;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.supplier-container .select2-container--default .select2-selection--single {
  border: none;
  background-color: transparent !important;
}

.supplier-container .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #444;
  line-height: normal;
  padding-left: 0;
  padding-right: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.select2-dropdown-scrollable {
  max-height: 300px; /* Set the maximum height for the dropdown */
  overflow-y: auto; /* Enable vertical scrolling */
}

.select2-container--classic .select2-selection--single {
  border: none;
  background-color: transparent !important;
}

.select2-container--default .select2-selection--single {
  border: none;
  background-color: transparent !important;
}

.select2-hidden-accessible {
  border: none;
  background-color: transparent !important;
}

select {
  background-image: url("url of icon") !important;
  background-position: calc(100% - 20px) 14px, 100% 0;
  background-size: 20px;
  background-repeat: no-repeat;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.login-container-wrap:before {
  background-color: #fff !important;
}

.login-container-wrap:after {
  background-color: #fff !important;
}

.login-container {
  background: #fff !important;
  box-shadow: 0 0 15px 0 #ccc !important;
  border-radius: 10px !important;
}

.login-container .login-logo {
  padding: 15px 15px !important;
}

.form-control:focus {
  border-color: #3d9b20;
}

.login-container .login-form .btn-block {
  background: #79bb42;
}

#mobile-add {
  margin-bottom: 10px;
}

@media only screen and (min-width: 360px) {
  .add-line {
    margin-top: 10px;
    margin-left: -5px;
  }
}
