/* fix for datetime control top offset */
.tabular table tbody td a:not(.related-widget-wrapper-link):not(.add-another):before {
  line-height: 0 !important;
}

/* fix for datetime control padding */
.inline-group .calendar-shortcuts, .inline-group span.datetimeshortcuts {
  font-size: 12px !important;
}

.change-list #changelist table tbody td a, .change-list #changelist table tbody td a:link,
.change-list #changelist table tbody td a:link:visited, .change-list #changelist table tbody td a:visited,
.change-list #changelist table tbody th a, .change-list #changelist table tbody th a:link,
.change-list #changelist table tbody th a:link:visited, .change-list #changelist table tbody th a:visited,
body #container .breadcrumbs a, a, a:link, a:link:visited, a:visited {
  color: #0092C8;
}

.change-list table tbody tr:nth-child(odd), .dashboard table tbody tr:nth-child(odd) {
  background-color: #f8f9fa;
}

.change-list table tbody tr:nth-child(even), .dashboard table tbody tr:nth-child(even) {
  background-color: #e9ecef;
}

.change-list table .action-checkbox, .change-list table thead th.action-checkbox-column {
  padding: 5px 10px !important;
}

.change-list table .action-checkbox input, .change-list table thead th.action-checkbox-column input {
  min-height: 0;
}

form .form-row:not(tr) {
  padding-bottom: 10px;
}

form .aligned label + p {
  padding: 0;
}

form .aligned label {
  line-height: 1;
}

.change-list table tbody td, .change-list table tbody th, .change-list table thead th,
.dashboard table tbody td, .dashboard table tbody th {
  padding: 5px !important;
}

input.default[type=button], input.default[type=submit], #content-main .object-tools .addlink {
  background-color: #0092C8 !important;
  border: 1px solid #0092C8 !important;
}

input[type=button], input[type=submit] {
  color: #fff !important;
  background-color: #0092C8 !important;
}

button.btn-checkout {
  background-color: #0092C8 !important;
  color: #fff !important;
}

.change-list #changelist.filtered #changelist-filter {
  float: none;
  width: auto !important;
  white-space: nowrap;
  overflow-x: auto;
  padding: 0;
  margin: 0;
}

@media only screen and (max-width: 768px) {
  .change-list #changelist.filtered #changelist-filter {
    display: block !important;
  }
}

.change-list #changelist.filtered #changelist-filter fieldset {
  display: inline;
}

.change-list #changelist.filtered #changelist-filter fieldset .admin-filter {
  padding-right: 0;
}

.change-list #changelist.filtered #changelist-filter fieldset .admin-filter select {
  min-width: 100px;
  widtH: 99%;
}

.change-list #changelist.filtered #changelist-filter a.disable-filter {
  display: inline !important;
  color: #d40511 !important;
}

.change-list #changelist.filtered #changelist-filter h2 {
  display: none;
}

.change-list #changelist.filtered #changelist-filter h3 {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.change-list #changelist.filtered .actions, .change-list #changelist.filtered .paginator,
.change-list #changelist.filtered .results, .change-list #changelist.filtered .xfull {
  margin-right: 0 !important;
}

#changelist #toolbar.actions-visible {
  float: none !important;
}

#changelist-add-holidays-form {
  margin: 10px 0;
  display: none;
  background-color: #fff;
  width: calc(100% - 245px);
}

#changelist-add-holidays-form form > div {
  border: 1px solid silver;
  padding: 10px;
  border-radius: 5px;
}

#changelist-add-holidays-form form > div p {
  display: inline-block;
}

#changelist-add-holidays-form form > div p:first-child {
  margin-right: 30px !important;
}

.icon-logo:before {
  content: "";
  background-image: url("../../assets/img/logo-red.png");
  width: 75px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: 2px;
}

#language-selector {
  width: 10%;
  position: absolute;
  right: 30px;
  left: auto;
  margin: 8px 15px;
  display: inline-block;
}

#language-selector form {
  padding: 0;
  margin: 0;
  box-shadow: none;
}

#language-selector form select {
  height: auto !important;
  line-height: normal;
  min-width: 130%;
}

#header .toolbar-item-navigation li a {
  cursor: pointer;
  color: #0092C8;
}

#header .toolbar-item-navigation li a:hover {
  background-color: #0092C8;
  color: #fff;
}

#header .toolbar-item-navigation li .menu-item-open {
  background-color: #0092C8;
  text-decoration: none;
}

#header .toolbar-item-navigation li ul li a:hover {
  background-color: #0092C8;
  color: #fff;
}

.djangocms-admin-style .submit-row {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  margin: 0;
  padding: 12px 30px;
}

.login .submit-row {
  position: relative;
}

#footer {
  padding-bottom: 100px;
}

.select2-search input {
  padding: 10px 32px 10px 4px !important;
}

.select2-search {
  padding: 5px !important;
}

.select2-results {
  margin: 0 5px 5px !important;
}

.dashboard #container #content-main table td, .dashboard #container #content-main table th {
  padding: 5px !important;
}

.module caption {
  margin: 0 0 5px 5px;
}

#stats_toolbar .stats_list {
  text-align: justify;
  display: inline-block;
  font-size: larger;
  font-weight: bold;
  padding: 12px 30px 19px;
  margin: 8px;
  background-color: transparent;
  color: #6c757d;
  border: 2px solid #0092C8;
  border-radius: 4px;
  height: 105px;
  vertical-align: top;
}

#stats_toolbar .stats_list .stats_list_title {
  border-bottom: 1px solid #495057;
  text-align: center;
  margin-bottom: 8px;
  display: block;
}

#stats_toolbar .stats_list li {
  list-style: none;
  font-weight: normal;
  font-size: smaller;
}

#stats_toolbar .stats_list li span {
  font-weight: bold;
  font-size: medium;
}

#throw_extra_content {
  min-height: 700px;
  align-content: center;
  align-items: center;
}

#throw_extra_content h2 {
  margin: 0;
  padding: 8px 24px;
  display: inline-block;
}

#close_extra_content {
  font-weight: bolder;
  background-color: #ced4da;
  display: inline-block;
  float: right;
  padding: 12px;
}

#close_extra_content:hover {
  background-color: #495057;
}

.d-inline-block {
  display: inline-block;
}

.d-none {
  display: none;
}

.bold-red {
  color: #d40511;
  font-weight: bold;
}

.bold {
  font-weight: bold;
}

#warehouse-selector {
  width: 10%;
  margin: 8px 15px;
  display: inline-block;
}

#warehouse-selector form {
  padding: 0;
  margin: 0;
  box-shadow: none;
}

#warehouse-selector form select {
  height: auto !important;
  line-height: normal;
  min-width: 140px;
  max-width: 200px;
}

.checkout-extra-price {
  max-width: 150px;
  min-width: 100px;
  width: 15%;
  display: inline-block;
}

.tbody-checkout td, .tbody-checkout th {
  padding: 5px 10px;
}

.tfoot-checkout td {
  font-size: 14px;
}

form input, form textarea {
  border: 1px solid  #999999 !important;
}

#message_form fieldset .form-row.field-message_text {
  margin: 40px 0;
}
