/* General Utility */

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.padding-14 {
  padding: 14px;
}

.margin-left-0 {
  margin-left: 0 !important;
}

.margin-left-6 {
  margin-left: 6px !important;
}

.margin-left-8 {
  margin-left: 8px !important;
}

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

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

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

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

.zero-state {
  color: #cccccc;
}

.zero-state-parent {
  padding-top: 202px;
  padding-bottom: 202px;
}

.margin-16 {
  margin: 16px;
}

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

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

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

.strong {
  font-weight: bold !important;
}

.no-select {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

/* Forms */
.form-container {
  border: 1px solid #ddd;
  box-shadow: 0 1px 1px #ececec;
  -webkit-box-shadow: 0 1px 1px #ececec;
  -moz-box-shadow: 0 1px 1px #ececec;
  position: relative;
}

.smart-form .state-error > em {
  display: block;
  margin-top: 6px;
  padding: 0 1px;
  font-style: normal;
  font-size: 11px;
  line-height: 15px;
  color: #d56161;
}

.smart-form > header > span {
  line-height: 34px;
  display: inline-block;
  vertical-align: middle;
}

.smart-form > header > button {
  padding: 6px 12px;
  margin-left: 6px;
}

.smart-form .btn {
  /*margin-bottom: 0;*/
  padding: 6px 12px;
  border-radius: 2px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.smart-form footer > button.btn,
.smart-form footer > div > button.btn {
  font-family: 'Open Sans', Arial, Helvetica, Sans-Serif;
  font-size: 13px;
  font-weight: 400;
}

.form-header {
  text-align: center;
}

.select2-selection,
.select2-container .select2-choice {
  padding: 0 10px;
}

.select2-search--inline,
.select2-search__field {
  width: 100% !important;
}

.select2-display-none,
.select2-hidden-accessible {
  display: none !important;
}

.select2-container-multi .select2-choices,
.select2-selection--multiple {
  border-color: #ccc;
  min-height: 32px !important;
  line-height: 32px;
}

.select2-container-multi .select2-choices .select2-search-choice,
.select2-selection__choice {
  padding: 1px 34px 1px 8px !important;
  margin: 3px 0 3px 5px !important;
  position: relative;
  line-height: 22px;
  color: #fff;
  cursor: default;
  border: 1px solid #2a6395;
  border-radius: 2px;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: #3276b1;
}

.select2-selection__choice__remove {
  padding-top: 5px !important;
  padding-left: 8px !important;
}

.select2-selection__clear {
  cursor: pointer;
  display: inline-block;
  float: right;
  margin-right: 33px;
}

.state-error .select2-selection {
  background: #fff0f0 !important;
  border-color: #a90329 !important;
}

.state-success .select2-selection {
  background: #f0fff0 !important;
  border-color: #7dc27d !important;
}

/* Header*/
.inline {
  display: inline-flex !important;
}

/* Navigation and Login Info */
.smart-style-2 .login-info a span {
  padding: 0;
  font-size: 14px !important;
  max-width: 120px;
  cursor: default;
}

/* Fix Select2 infinite scroll not firing */
.select2-container--default .select2-results > .select2-results__options {
  max-height: 200px;
  overflow-y: auto;
}
/* Buttons */
.btn-link {
  align-items: center;
  background: #fff;
  border-bottom-width: 0;
  border-left-width: 0;
  color: #3276b1;
  cursor: pointer;
  display: flex;
  flex: initial;
  min-height: 32px;
  white-space: nowrap;
}

.btn-link:hover {
  background: #fafafa;
}

.btn-link-full-width {
  display: block;
  padding: 16px !important;
  width: 100%;
}

.btn-link-half-width {
  display: inline-block;
  padding: 16px !important;
  width: 50%;
}

.btn-link-danger {
  color: rgb(199, 37, 78);
  -webkit-tap-highlight-color: rgba(199, 37, 78, 0.5);
}

.btn-link-danger:visited {
  color: #c7254e;
}

.btn-link-danger:hover,
.btn-link-danger:focus {
  color: #7d001f;
}

.details-header {
  color: #232323;
  display: block;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
  background: #fff;
  font-size: 16px;
  font-weight: 300;
  margin: 10px 14px 0;
  padding: 8px 0;
  position: relative;
  text-align: center;
}

.details-header--section {
  text-align: left;
  padding-bottom: 12px !important;
  padding-top: 2px !important;
}

.details-header--section .header-buttons-left,
.details-header--section .header-buttons-right {
  top: -2px !important;
}

.smart-form .header-buttons-left,
.smart-form .header-buttons-right {
  top: 8px;
}

.header-buttons-left {
  display: inline-block;
  left: 0;
  position: absolute;
  top: 0;
}

.header-buttons-right {
  display: inline-block;
  position: absolute;
  right: 0;
  top: 0;
}

.buttons-right {
  display: inline-block;
  position: absolute;
  right: 0;
}

/* Touch */
.btn,
a:link,
button {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Fix switch toggles not aligning to the left and having height when no label text is present */
.smart-form .toggle i {
  right: unset !important;
}

label.toggle {
  height: 17px;
}

/* fix permanent scrollbars on desktop */
body:not(.menu-on-top).desktop-detected {
  min-height: auto !important;
}

@media only screen and (max-height: 611px) {
  body.modal-open {
    padding-right: 17px !important;
  }
}

/* Fix z-index problem on datepicker */
.ui-datepicker.ui-widget {
  z-index: 9999 !important;
}

popover-container > h3 {
  margin: 0;
  padding: 8px 14px !important;
  font-size: 13px;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  border-radius: 2px 2px 0 0;
}

.record-picker label {
  font-size: 13px !important;
}

/* label.select .select-side {
  height: 30px !important;
} */

.ol-layer > canvas {
  width: 100% !important;
}

.table-action-header {
  background-color: #fff;
  border: 1px solid #ddd;
  display: flex;
  min-height: 53px;
}

.table-action-header-text {
  align-items: center;
  display: flex;
  flex: 1;
  min-height: 40px;
  padding: 10px;
}

.table-action-header-buttons {
  flex: initial;
  padding: 10px;
}

label.select .select-side {
  height: 30px !important;
  width: 30px;
  position: absolute;
  top: 1px;
  background-color: #eee;
  height: 94%;
  right: 1px;
  pointer-events: none;
}

label.select .select-side i {
  right: 0;
  margin-left: 12px;
  position: static !important;
  top: auto !important;
  width: unset !important;
  height: unset !important;
  background: unset !important;
  box-shadow: none !important;
  margin-top: 8px;
}

label.select .select-side:before {
  border-left: solid 1px lightgrey;
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 100%;
  width: 1px; /* or 100px */
}

label.select .select-side i:after {
  right: unset !important;
  bottom: unset !important;
  content: '\f107' !important;
  border: unset;
  position: unset;
}

label.select .select-side i:before {
  display: none;
}

label.select-lg .select-side {
  width: 45px;
  height: 95%;
}

label.select-lg .select-side i {
  font-size: 18px;
  margin-left: 17px;
  margin-top: 13px;
}

.open-select .select-side {
  background-color: #fff !important;
}

.open-select .select-side:before {
  border-left: none !important;
}

.result-datatable input.btn-select {
  display: inline-block !important;
}

input:disabled {
  background-color: #eee !important;
}

.select2-container--disabled span {
  background-color: #eee !important;
}

nav ul li.active > a:before {
  color: #bebebe;
}

#content {
  width: 100%;
}