body {
  background-color: gray;
  color: midnightblue;
  overflow-x: hidden;
}

.d-flex {
  display: flex;
}

.flex-1 {
  flex: 1;
}

.not_matched.ng-dirty {
  color: red;
}

.justify-content-between {
  justify-content: space-between;
}

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

.align-items-center {
  align-items: center;
}

.main-container {
  padding-left: 40px;
  padding-right: 40px;
}
@media screen and (max-width: 768px) {
  .main-container {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.img-upload-drop-over {
  background-color: gray;
}

.img-upload-wrapper {
  display: inline-block;
  background: whitesmoke;
  width: 100px;
  height: 100px;
  border-radius: 4px;
  position: relative;
}
.img-upload-wrapper:hover {
  background: lightgray;
}
.img-upload-wrapper > label {
  display: inline-flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}
.img-upload-wrapper > label > .fa {
  font-size: 30px;
  color: #ddd;
}

.img-wrapper {
  position: relative;
  display: inline-flex;
  vertical-align: top;
  margin-right: 10px;
  margin-bottom: 10px;
  width: 100px;
  height: 100px;
  justify-content: center;
  align-items: center;
  border: 1px solid lightgray;
  border-radius: 4px;
  padding: 5px;
}
.img-wrapper img {
  max-height: 100%;
  max-width: 100%;
}
.img-wrapper .info-float {
  position: absolute;
  top: 0px;
  right: 4px;
  font-size: 26px;
}
.img-wrapper .close-float {
  opacity: 0.5;
}
.img-wrapper .close-float:hover {
  opacity: 0.9;
}

.panel.main-panel {
  background-color: gainsboro;
}

img.img-language {
  width: 30px;
  margin-right: 15px;
}

.date-picker-wrapper {
  z-index: 9999 !important;
}

.huge-input {
  height: 50px;
  font-size: 25px;
  line-height: 50px;
  font-weight: bold;
}

.fixed-textarea {
  max-width: 100%;
  min-width: 100%;
  min-height: 80px;
  overflow-x: hidden;
  overflow-y: auto;
}

textarea.editable-input.form-control {
  max-width: 100%;
  min-width: 100%;
  min-height: 150px;
  font-family: monospace;
  overflow: hidden;
}

.no-data {
  background: silver;
  color: white;
  border-radius: 4px;
  padding: 6px;
  text-align: center;
  font-style: italic;
  font-size: 14px;
}

.flex {
  display: flex;
  flex-wrap: wrap;
}

.vf-center {
  align-self: center;
}

.select2 {
  width: 100% !important;
}

.select2-container .select2-selection--single,
.select2-container--default .select2-selection--single .select2-selection__arrow,
.select2-search__field {
  height: 34px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 34px;
}

.search-result-list {
  max-height: 500px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid lightgray;
  padding: 2px;
  border-radius: 4px;
  background: white;
}
.search-result-list .search-result-record {
  background-color: whitesmoke;
  padding: 4px 6px;
  font-size: 15px;
}
.search-result-list .search-result-record:nth-child(odd) {
  background-color: wheat;
}
.search-result-list .search-result-record:hover {
  background-color: lightgrey;
}
.search-result-list .search-result-record.selected {
  background-color: seagreen;
  color: white;
}

.min-width-144px {
  min-width: 144px;
}

.margin-bottom-15px {
  margin-bottom: 15px;
}

.margin-right-15px {
  margin-right: 15px;
}

.margin-top-15px {
  margin-top: 15px;
}

.margin-left-15px {
  margin-left: 15px;
}

.margin-bottom-5px {
  margin-bottom: 5px;
}

.margin-right-5px {
  margin-right: 5px;
}

.margin-top-5px {
  margin-top: 5px;
}

.margin-left-5px {
  margin-left: 5px;
}

.text-right {
  text-align: right;
}

.row-table {
  padding: 10px;
  background: whitesmoke;
}
.row-table .row-table-cell {
  padding: 2px 0px;
}
.row-table .row-table-cell .row-table-content {
  padding: 6px 0px;
}
.row-table .row-table-cell .row-table-header {
  padding: 6px 12px;
  font-weight: bold;
  background: cadetblue;
  color: white;
}

a.action,
button.action {
  min-width: 80px;
}

.panel-header-title {
  color: white;
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: bold;
}

.editable-wrap,
.editable-controls.form-group,
.editable-wrap .editable-controls > input,
.editable-wrap .editable-controls > select,
.editable-wrap .editable-controls > textarea {
  width: 100%;
}

.editable-wrap .editable-controls > textarea {
  min-height: 600px;
}

.popover-wrapper .editable-wrap .editable-controls > textarea {
  min-height: 50px;
  min-width: 250px;
}

.modal {
  text-align: center;
  padding: 0 !important;
}

.modal::before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

.modal-header .header {
  font-weight: bold;
  font-size: 18px;
}

.modal-body {
  overflow-x: auto;
}

table.custom-table {
  width: 100%;
}
table.custom-table thead tr {
  background: silver;
}

.btn-page {
  border: 1px solid transparent;
}
.btn-page[disabled=disabled] {
  border: 1px solid red;
}

.no-select {
  user-select: none;
}

.admin-product-category .no-data {
  padding: 5px;
  background: whitesmoke;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.admin-product-category .category {
  background-color: white;
  cursor: pointer;
  padding: 6px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.admin-product-category .category:hover {
  background: whitesmoke;
}
.admin-product-category .category.active {
  background: lightgray;
  color: white;
}
.admin-product-category .category.active .badge {
  color: black;
  background-color: white;
}

.admin-product-brand .no-data {
  padding: 5px;
  background: whitesmoke;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.admin-product-brand .brand {
  background-color: white;
  cursor: pointer;
  padding: 6px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.admin-product-brand .brand:hover {
  background: whitesmoke;
}
.admin-product-brand .brand.active {
  background: lightgray;
  color: white;
}
.admin-product-brand .brand.active .badge {
  color: black;
  background-color: white;
}

.admin-product-unit .no-data {
  padding: 5px;
  background: whitesmoke;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.admin-product-unit .unit {
  background-color: white;
  cursor: pointer;
  padding: 6px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.admin-product-unit .unit:hover {
  background: whitesmoke;
}
.admin-product-unit .unit.active {
  background: lightgray;
  color: white;
}
.admin-product-unit .unit.active .badge {
  color: black;
  background-color: white;
}

.admin-product-list .no-data {
  color: lightgrey;
  font-style: italic;
  padding: 5px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.admin-product-list .partials_product-search .selected {
  background-color: lightskyblue;
}

div.move {
  white-space: pre;
}