/* Some overrides from default bootstrap styles */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Open Sans', sans-serif;
  font-weight: normal;
}

/* COMPONENTS */

/* labels */
.label,
.badge {
  font-size: 90%;
  font-weight: lighter;
}

.label-success,
.badge-success {
  background-color: rgb(129 189 130);
}

.label-info,
.badge-info {
  background-color: rgb(104 163 213);
}

/* alerts */
.alert [class^='icon-'],
.alert [class*=' icon-'] {
  position: relative;
  top: 4px;
  display: inline-block;
  margin-right: 17px;
  margin-bottom: 8px;
  font-size: 27px;
  color: #f1c359;
}

.alert-success [class^='icon-'],
.alert-success [class*=' icon-'] {
  color: #81ad53;
}

.alert-info [class^='icon-'],
.alert-info [class*=' icon-'] {
  color: #4993c6;
}

.alert-danger [class^='icon-'],
.alert-danger [class*=' icon-'] {
  color: #d5393e;
}

/* code */
code {
  color: rgb(78 153 223);
}

/* HTML ELEMENTS */
input,
button,
select,
textarea {
  font-family: 'Open Sans', Arial, sans-serif;
}

input[type='text'],
input[type='password'],
textarea {
  font-size: 13px;
  -webkit-box-shadow: inset 0 0 1px rgb(0 0 0 / 7.5%);
  -moz-box-shadow: inset 0 0 1px rgb(0 0 0 / 7.5%);
  box-shadow: inset 0 0 1px rgb(0 0 0 / 7.5%);

  /* border: none;
	-webkit-box-shadow: inset rgba(112, 112, 112, 0.3) 0 1px 1px,inset rgba(0,0,0,0.3) 0 0 1px,rgba(255,255,255,0.4) 0 1px 0;
	-moz-box-shadow: inset rgba(112, 112, 112, 0.3) 0 1px 1px,inset rgba(0,0,0,0.3) 0 0 1px,rgba(255,255,255,0.4) 0 1px 0;
	box-shadow: inset rgba(112, 112, 112, 0.3) 0 1px 1px,inset rgba(0,0,0,0.3) 0 0 1px,rgba(255,255,255,0.4) 0 1px 0;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-ms-border-radius: 4px;
	-o-border-radius: 4px;
	border-radius: 4px; */
}

@media (width <= 1580px) {
  .btn-group {
    display: flex;
  }
}

.inline-input input[type='text'],
.inline-input input[type='password'],
input[type='text'].inline-input,
input[type='password'].inline-input {
  background: #fff;
  border-color: #dee3ea;
  border-top: 0 none;
  border-right: 0 none;
  border-bottom: 1px solid #d0dde9;
  border-left: 0 none;
  border-radius: 0;
  box-shadow: none;
}

.inline-input input[type='text']:focus,
.inline-input input[type='password']:focus,
input[type='text'].inline-input:focus,
input[type='password'].inline-input:focus {
  border-color: #5d6a80;
  box-shadow: none;
}

.inline-input input[type='text']:hover,
.inline-input input[type='password']:hover,
input[type='text'].inline-input:hover,
input[type='password'].inline-input:hover {
  border-color: #959fb0;
}

input[type='text']:focus,
input[type='password']:focus,
textarea:focus {
  border-color: #a2cef0;
  -webkit-box-shadow:
    inset 0 0 1px rgb(0 0 0 / 7.5%),
    0 0 4px rgb(82 168 236 / 60%);
  -moz-box-shadow:
    inset 0 0 1px rgb(0 0 0 / 7.5%),
    0 0 4px rgb(82 168 236 / 60%);
  box-shadow:
    inset 0 0 1px rgb(0 0 0 / 7.5%),
    0 0 4px rgb(82 168 236 / 60%);

  /* -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(82, 168, 236, 0.6);
	   -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(82, 168, 236, 0.6);
			box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(82, 168, 236, 0.6); */
}

input[type='reset'] {
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: underline;
  background: none;
  border: 0 none;
}

textarea {
  background: #fff;
  border-color: #dee3ea;
}

select {
  height: 24px;
  margin: 0;
  font-size: 13px;
  border-color: #d0dde9;
  border-radius: 2px;
}

input[type='file'] {
  display: inline-block;
  font-size: 12px;
  line-height: 12px;
}

input[disabled],
textarea[disabled],
input[readonly],
textarea[readonly] {
  color: rgb(177 177 177);
}

/* native placeholders */
input::placeholder,
textarea::placeholder {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 13px;
  color: #9ba0a5;
}

/* PREPEND & APPEND INPUT */
.input-group input,
.input-group input,
.input-group .uneditable-input,
.input-group .uneditable-input {
  border: 1px solid #d6e2eb;
}

.input-group .input-group-addon {
  padding: 4px 8px;
  font-size: 13px;
  background-color: #f2f5f9;
  border: 1px solid #d6e2eb;
}

/* NAVBAR */
.navbar-inverse {
  min-height: 48px;
  margin-bottom: 0;
  background: linear-gradient(to bottom, #2c3742 0%, #28303a 100%); /* W3C */
  border-bottom: 1px solid #191e23;
  border-radius: 0;
}

/* navbar-nav */
.navbar-inverse .navbar-nav {
  padding-right: 20px;
}

/* menu toggler */
.navbar-inverse .navbar-toggle {
  float: left;
  margin-top: 10px;
  margin-left: 15px;
}

/* navbar brand */
.navbar-inverse .navbar-brand {
  padding: 11px 20px;
  font-weight: lighter;
  color: #fff;
  text-transform: uppercase;
}

.navbar-inverse .navbar-brand strong {
  font-weight: normal;
}

/* navbar links */
.navbar-inverse .nav > li > a {
  height: 46px;
  padding: 13px 15px 8px;
  color: rgb(214 214 214);
  outline: 0;
  border-left: 1px solid #101417;
  -moz-transition: background 0.1s linear;
  -webkit-transition: background 0.1s linear;
  transition: background 0.1s linear;

  /* Firefox 4 */

  /* Safari and Chrome */
  -o-transition: background 0.1s linear; /* Opera */
}

.navbar-inverse .nav > li > a:hover {
  background: rgb(25 31 36 / 60%);
}

/* dropdown caret */
.dropdown .caret {
  position: relative;
  top: -1px;
}

/* dropdown active */
.dropdown.open > a,
.dropdown.open > a:hover,
.dropdown.open > a:focus {
  border-color: #101417;
}

/* dropdown menu */
.dropdown-menu > li > a {
  font-size: 13px;
  outline: none;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-submenu:hover > a,
.dropdown-submenu:focus > a {
  background: rgb(60 91 121) !important;
}

.dropdown-menu > li.disabled > a:hover,
.dropdown-menu > li.disabled > a:focus {
  background: none !important;
}

/* PAGINATION */
.pagination > li > a,
.pagination > li > span {
  font-weight: 600;
}

.pagination.inverse a,
.pagination.inverse span {
  color: #fff;
  background-color: #333e4a;
  border-color: #333e4a #566676;
}

.pagination.inverse a:hover,
.pagination.inverse span:hover {
  background-color: #000;
}

.pagination.inverse > li.active > a {
  color: #3b9ff3;
  background-color: #212b36;
  border-right-color: #212b36;
  border-left-color: #212b36;
}

/* TABLES */

.table thead {
  border-top: 1px solid #dee3ea;
}

.table-hover > tbody > tr:hover,
.table-hover tbody tr:hover > td,
.table-hover tbody tr:hover > th {
  background-color: #f5fafc;
}

.table th.sortable {
  cursor: pointer;
}

.table th.sortable:hover {
  text-decoration: underline;
}

.table thead th {
  position: relative;
  padding-top: 5px !important;
  padding-bottom: 20px !important;
  font-size: 11px;
  font-weight: bold;
  vertical-align: top !important;
  text-transform: uppercase;
  border-bottom: 0 !important;
}

.table.table-bordered td {
  border-top-color: #ddd !important;
}

.table td {
  vertical-align: top !important;
  color: #526273;
  border-top-color: #edf2f7 !important;
}

.table th.align-right,
.table td.align-right {
  padding-right: 10px !important;
  text-align: right;
}

table tr.first td {
  border-top: 0 none;
}

table th span.line {
  position: absolute;
  top: 0;
  left: -8px;
  height: 10px;
  border-left: 1px solid #dee3ea;
}

/* modals */
.modal-backdrop.in {
  opacity: 0.5 !important;
}

/* override navbar toggle */
@media (width <= 768px) {
  .navbar-toggle {
    display: block !important;
  }
}

.form-control.third {
  display: inline;
  width: 33%;
}

/* bootstrap-select */

.bs-container .dropdown-menu {
  min-width: 220px !important;
  margin: 8px 0 0;
}

.bootstrap-select > .dropdown-toggle {
  width: unset !important;
  border-color: #dedede !important;
}

.bootstrap-select .dropdown-menu li a:hover {
  color: white !important;
  background-color: #1967d2 !important;
}

.bootstrap-select .dropdown-menu li + li {
  border-top: 1px solid #eee;
}

.bootstrap-select {
  border: none !important;
}

.bootstrap-select .dropdown-toggle .filter-option-inner-inner {
  text-overflow: ellipsis;
}

.bootstrap-select .dropdown-toggle .caret {
  right: 10px !important;
  width: 4px;
  height: 4px;
  margin-top: -6px !important;
  font-family: 'Glyphicons Halflings';
  font-size: 10px;
  font-weight: 800;
  color: #555;
  border: none;
}

.bootstrap-select .dropdown-toggle .caret::before {
  content: '\e259';
}
