.form-control {
  color: rgba(0, 0, 0, 0.8);
}

.form-control:hover {
  border: 1px solid #1e88e5;
}

.form-control:focus {
  border: 1px solid #1e88e5;
}

.input-group-text {
  padding: 0 0.75em;
}

.input-group-prepend .input-group-btn {
  border: 1px solid #cfcfcf;
  border-left: none;
  border-radius: 0 4px 4px 0;
  padding-right: 4px;
}

.input-group-prepend .input-group-btn select {
  border: none;
  margin: 1px;
}

.form-control:-ms-input-placeholder {
  color: #6c757d;
  opacity: 0.5;
}

.form-control::-ms-input-placeholder {
  color: #6c757d;
  opacity: 0.5;
}

.form-control::placeholder {
  color: #6c757d;
  opacity: 0.5;
}

input[type="text"].datepicker {
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA%2FPjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDMyIDMyIiBoZWlnaHQ9IjMycHgiIGlkPSJMYXllcl8xIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAzMiAzMiIgd2lkdGg9IjMycHgiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxnIGlkPSJjYWxlbmRhcl8xXyI%2BPHBhdGggZD0iTTI5LjMzNCwzSDI1VjFjMC0wLjU1My0wLjQ0Ny0xLTEtMXMtMSwwLjQ0Ny0xLDF2MmgtNlYxYzAtMC41NTMtMC40NDgtMS0xLTFzLTEsMC40NDctMSwxdjJIOVYxICAgYzAtMC41NTMtMC40NDgtMS0xLTFTNywwLjQ0Nyw3LDF2MkgyLjY2N0MxLjE5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IjMiIHdpZHRoPSI0IiB4PSIyMSIgeT0iMjIiLz48cmVjdCBmaWxsPSIjMzMzMzMyIiBoZWlnaHQ9IjMiIHdpZHRoPSI0IiB4PSIyMSIgeT0iMTciLz48cmVjdCBmaWxsPSIjMzMzMzMyIiBoZWlnaHQ9IjMiIHdpZHRoPSI0IiB4PSIyMSIgeT0iMTIiLz48L2c%2BPC9zdmc%2B);
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: 16px 18px;
  background-position: 98% 50%;
  cursor: auto;
}

input[type="date"].form-control {
  cursor: pointer;
}

input[type="text"].timepicker {
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA%2FPjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDUxMiA1MTIiIGhlaWdodD0iNTEycHgiIGlkPSJMYXllcl8xIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiB3aWR0aD0iNTEycHgiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxjaXJjbGUgY3g9IjI1OS43NjYiIGN5PSIyNTIuNTIyIiBmaWxsPSJub25lIiByPSIyMjIuMDIyIiBzdHJva2U9IiMwMDAwMDAiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgc3Ryb2tlLXdpZHRoPSIyMCIvPjxwb2x5bGluZSBmaWxsPSJub25lIiBwb2ludHM9IjI1NiwxMDguODA1IDI1NiwyNTIuNTIyIDM3OS41NDQsMzc2LjA2NiAgICIgc3Ryb2tlPSIjMDAwMDAwIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHN0cm9rZS13aWR0aD0iMjAiLz48L3N2Zz4%3D);
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: 16px 18px;
  background-position: 98% 50%;
  cursor: auto;
}

.datepicker.form-control {
  padding: 0.375rem 0.75rem;
}

.bootstrap-datetimepicker-widget table td span.active,
.bootstrap-datetimepicker-widget table td i.active,
.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
  color: #fff;
}

.input-group-append .btn:not(.bootstrap-touchspin-up) {
  height: 36px;
}

.input-group.with-button-add .input-group-append {
  position: absolute;
  right: 0;
}
.button-send-wrapper {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  align-items: center;
}
.chat-box {
  padding: 8px;
}
.advanced .input-group {
  display: table;
}

.advanced .selection > span {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
}

.advanced .input-group-text {
  padding: 0;
  border: 0;
}

.advanced .input-group-addon:first-child {
  border-right: 0;
}

.advanced .input-group-addon:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.advanced .input-group-addon {
  width: 1%;
  white-space: nowrap;
  vertical-align: middle;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: normal;
  line-height: 1;
  color: #55595c;
  text-align: center;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  display: table-cell;
  border-left: none;
  cursor: pointer;
}

.advanced .input-group-addon:hover {
  background-color: #f0f8ff;
}

span.view-control {
  display: block;
  width: 100%;
}

a.view-control {
  display: block;
  width: 100%;
}

.view-control {
  padding: 6px;
  position: relative;
  width: 100%;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid #cccccc;
  background-color: white !important;
  text-overflow: ellipsis;
}

input.view-control.disabled {
  pointer-events: initial;
  cursor: default;
}
textarea.view-control.disabled {
  resize: none;
}

.edit-group-control:hover input.view-control.disabled {
  pointer-events: none;
}

label.view-control {
  padding: 8px;
  min-height: 32px;
}

.editing.view-control {
  border: 1px solid #1e88e5;
  width: 80%;
}

input[type="text"].datepicker.view-control,
input.number-input.view-control {
  width: 85%;
}

input[type="text"].datepicker.view-control.editing,
input.number-input.view-control.editing {
  width: 80%;
}

input.number-input.view-control.append {
  width: 70%;
}
select.temp-control {
  width: 75% !important;
}
.edit-group-control .select2-container {
  width: 80% !important ;
}
span.edit-control.accept {
  margin-right: 24px;
  color: #11509b;
}
a input[type="text"].view-control {
  color: #007bff;
}
.hide-control {
  display: none !important;
}
span.edit-control.cancel {
  margin-right: 8px;
}

.edit-group-control.editing span.accept.edit-control,
.edit-group-control.editing span.cancel.edit-control {
  display: block;
}

.edit-group-control:hover span.edit.edit-control {
  display: block;
}

.edit-group-control:hover span.edit-control.hidden {
  display: none;
}

span.edit-control {
  display: none;
  position: absolute;
  top: 75%;
  right: 16px;
  cursor: pointer;
  transform: translate(0, -50%);
}

.selected-toolbar,
.selected-all-page-toolbar {
  border-radius: 4px;
  margin: 0 8px;
  padding: 0;
}

.selected-toolbar.btn-group button {
  height: 36px !important;
}

.toolbar.btn-group button {
  height: 36px;
}

.selected-toolbar .btn.mass-destroy-btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.submit-button button[type="submit"],
.confirm-group button[type="submit"] {
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  color: #ed1b2e;
  background-color: #ed1b2e;
  border: 1px solid #ed1b2e !important;
}

/*Head button*/
.list-to-create .btn.focus,
.list-to-create .btn:focus {
  box-shadow: none;
}

.btn-group.flex-wrap.list-to-create {
  padding: 0;
}

.btn-first {
  border: 1px solid #c5c5c5 !important;
  border-right: none;
}

.list-to-create .toolbar.btn-group button,
.list-to-create .selected-toolbar.btn-group button {
  border: 1px solid #c5c5c5;
  background: white;
  border-left: none;
}

.list-to-create .selected-toolbar.btn-group button:hover {
  background: #f0f8ff !important;
}

.list-to-create .toolbar.btn-group button:first-of-type,
.list-to-create .toolbar.btn-group button.first,
.list-to-create .selected-toolbar.btn-group button:first-of-type {
  border-left: 1px solid #c5c5c5;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  background-color: white;
  background: white;
}

.list-to-create .toolbar.btn-group button:last-of-type,
.list-to-create .toolbar.btn-group button.last,
.list-to-create .selected-toolbar.btn-group button:last-of-type {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  background-color: white;
}

/*Number*/
.number-input {
  text-align: right;
}

.number-input::-webkit-input-placeholder {
  text-align: left;
}

.number-input :-moz-placeholder {
  text-align: left;
}

.range-per-page.form-control {
  padding-bottom: 2px;
  padding-top: 2px;
}

.card-header {
  border-bottom: none;
}

#selected_item_count {
  display: inline-block;
  padding: 8px;
  margin-bottom: 0;
}

.selected-toolbar .unselected-all-btn {
  background: white !important;
  /*border: 1px solid #c5c5c5;*/
  /*border-radius: 4px;*/
  /*margin-left: 12px;*/

  border: none !important;
  color: #017bff;
}

.append-currency {
  position: absolute;
  top: 75%;
  right: 40px;
  transform: translate(0, -50%);
}

.selected-toolbar .selected-all-page-btn,
.selected-all-page-toolbar .back-to-selected-btn {
  background: white !important;
  border: none !important;
  color: #017bff;
}

#right-sidebar {
  width: 400px;
  position: fixed;
  bottom: 0;
  height: calc(100vh - 44px);
  z-index: 8;
  right: -400px;
  background: white;
  color: black;
  transition: all 0.5s;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
  border-left: 1px solid rgba(84, 84, 84, 0.2);
}

#right-sidebar.active {
  right: 0;
}

.btn-close-right-sidemenu i {
  color: #212529;
}

.right-sidemenu {
  width: 18px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: white;
  position: absolute;
  top: 48vh;
  left: -18px;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  z-index: 8;

  border: 1px solid rgb(84, 84, 84, 0.2);
  border-radius: 4px 0 0 4px;
}

#wrapper.open-right-sidemenu .content-page {
  margin-right: 400px;
  transition: all 0.5s;
}

.right-sidemenu i {
  font-size: 14px;
}

.right-sidemenu span {
  display: none;
}

.show-icon {
  display: block !important;
}

/* Thanh sidebar bên phải */

.rm-body {
  position: relative;
}
.rm-body-content {
  height: calc(100vh - 80px);
  width: 360px;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #e2e2e2;
  overflow-y: auto;
}
.rm-body-content .card-body .card.w-100 {
  border: 0;
}
.rm-header {
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 10;
  padding: 8px;
  /* border-bottom: 1px solid #c5c5c5; */
}
#right-menu-content .card-body {
  padding: 4px;
  width: 100%;
  display: block;
  position: relative;
}
.rm-contain-button-filter {
  position: sticky;
  width: 40px;
  margin-left: 360px;
}
.rm-contain-button-filter #ul {
  height: 100vh;
}
#right-sidebar .filter-button {
  width: 100%;
  margin-bottom: 4px;
  border-radius: 0;
}

.rm-ul-list-button {
  margin: 0 0 0 -1px;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.rm-list-header .rm-list-header-icon {
  font-size: 14px;
  background-color: #22509c;
  text-align: center;
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}
.noti-history-datetime {
  color: rgb(0 0 0 / 75%);
  margin-top: 4px;
  display: block;
}
.rm-list-header .rm-list-header-icon i {
  color: white;
}

.rm-list-header .rm-list-header-title {
  color: #22509c;
}

.text-chat {
  border-radius: 0 !important;
}
.form-control.text-chat {
  font-size: 12px;
}
.btn-send {
  border-radius: 0 !important;
}
.rm-send-message-btn-delete-text {
  margin-left: 2px;
  cursor: pointer;
}
.rm-send-message-btn-delete-text:hover {
  color: red;
}
.rm-list-header .rm-list-header-button {
  color: #22509c;
  float: right;
  cursor: pointer;
  background: #d9d9d9;
  padding: 0 4px;
  margin-right: 4px;
  border-radius: 4px;
}
.rm-list-single-row {
  font-size: 11px;
}

.rm-list-summary-row {
  height: 20px;
}
#right-menu-content {
  padding-top: 0;
  max-height: 100vh;
  height: auto;
}
.right-menu-notice-title {
  padding: 0 8px;
  font-weight: 500;
  font-size: 16px;
}
#right-menu-content p > b {
  word-break: break-all;
}

.rm-list-summary-row .rm-list-summary-text {
  font-size: 11px;
  float: right;
}

.rm-list-body-number {
  display: inline-block;
  text-align: right;
}

.rm-list-min-height {
  min-height: 160px;
}

.rm-download-file {
  position: absolute;
  top: 4px;
  right: 20px;
  font-size: 13px;
}
.rm-view-map {
  position: absolute;
  top: 3px;
  right: 48px;
  font-size: 13px;
}
.rm-download-file > a {
  color: #11509b;
  margin-right: 8px;
}

.rm-delete-img {
  position: absolute;
  right: 8px;
  top: 0;
  z-index: 9;
  cursor: pointer;
  color: red;
}

.rm-delete-img > span {
  font-size: 16px;
}
#right-menu-container-table,
.right-menu-content-flow {
  max-height: 500px;
  overflow-y: auto;
  margin-right: 0;
}

.table-right-sidemenu > thead > tr > th {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 2;
  border-top-width: 0px;
  background-color: #fafafa;
}

.table-right-sidemenu > thead > tr {
  background-color: #fafafa;
}

.overlay-page {
  position: absolute;
  display: none;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
  cursor: not-allowed;
}

#right-menu-dropzone {
  width: 100%;
  height: 66px;
  min-height: 0 !important;
}

#right-menu-dropzone > .dz-message {
  margin: 0;
  font-size: 14px;
}

.right-menu-delete-img {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 999;
  cursor: pointer;
  opacity: 0.99;
}

.right-menu-delete-img > span {
  font-size: 20px;
}

.right-menu-contain-img {
  position: relative;
  margin: 8px 0;
  height: auto !important;
}

.right-menu-contain-img > img {
  opacity: 0.9;
  border: 1px solid #c5c5c5;
  border-radius: 4px;
}

.right-menu-download-file {
  position: absolute;
  top: 4px;
  right: 25px;
  font-size: 16px;
}

.right-menu-download-file > a {
  color: black;
}
.img-cost-file {
  position: relative;
}
.rm-delete-img-cost {
  position: absolute;
  right: 8px;
  top: 1px;
  z-index: 9;
  cursor: pointer;
  color: gray;
  font-size: 16px;
}
.rm-send-message-contact-driver {
  padding: 4px 8px 0px 8px;
  width: 100%;
  display: flex;
  justify-content: flex-start;
}
.rm-send-message-contact-driver > a:nth-child(1) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-right: 4px;
}
.rm-send-message-contact-driver > a > span {
  font-size: 13px;
  margin-right: 4px;
}
textarea.form-control.text-chat {
  padding: 6px 8px;
}
.rm-send-message-title-notice {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}
.zalo-logo {
  border: 1px solid #007bff;
  border-radius: 4px;
  padding: 0 2px;
  font-size: 12px;
  font-weight: 700;
}

.rm-send-message-icon-phone {
  font-size: 16px;
  margin-right: 4px;
  padding-top: 2px;
}
.rm-send-message-info-driver {
  font-size: 13px;
  padding: 8px 8px 0px 8px;
  width: 100%;
}
#rm-route-map {
  height: 300px;
}
@media (max-width: 992px) {
  #right-sidebar {
    display: none !important;
  }
  .content-page {
    margin-right: 0 !important;
  }
}
/* googlemap css */
.controls {
  font-size: 24px;
  /* this adjusts the size of all the controls */
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
  box-sizing: border-box;
  border-radius: 2px;
  cursor: pointer;
  font-weight: 300;
  height: 1em;
  margin: 6px;
  text-align: center;
  user-select: none;
  padding: 2px;
  width: 3em;
}

.controls button {
  border: 0;
  background-color: white;
  color: rgba(0, 0, 0, 0.6);
  width: 50%;
}

.controls button:hover {
  color: rgba(0, 0, 0, 0.9);
}

.controls.zoom-control {
  display: flex;
  flex-direction: row;
  height: auto;
  position: absolute;
  right: 4px;
  bottom: 4px;
}

.controls.zoom-control button {
  font: 0.85em Arial;
  margin: 1px;
  padding: 0;
}
.leaflet-top.leaflet-right {
  display: none;
}
.leaflet-bottom.leaflet-right {
  display: none;
}

.btn-toolbar.list-to-create {
  margin-right: 8px;
}
#divDetail .toolbar button,
#divDetail .toolbar .dropdown-toggle,
#divDetail #dropdownMenuLink {
  background: #efeded !important;
}

#divDetail .toolbar button:hover {
  background-color: #9cc2f1 !important;
  color: white;
}

#divDetail .toolbar button {
  margin-left: 8px !important;
}
