/* Form */

.form {
  color: #555;
}
.form section {
  display: inline-block;
  width: 100%;
  padding: 15px 20px;
  margin-top: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
}
@media screen and (min-width: 768px) {
  .form section {
    padding: 20px 30px;
  }
}
@media screen and (min-width: 1024px) {
  .form section {
    padding: 20px 50px;
  }
}
.form section > hr {
  border-color: #ddd;
}
.form .form-horizontal .form-group {
  margin-bottom: 5px;
}
.form .form-horizontal .text-display {
  border: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.form .btn-default:hover,
.form .btn-default:focus,
.form .btn-default:active,
.form .btn-default:focus:active {
  background-color: #fff;
  outline: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.form.dense-form .form-group > p {
  margin: 0;
}

/* Form Heading */

.form-heading {
  text-align: center;
  text-transform: uppercase;
  margin-top: 0px;
  margin-bottom: 30px;
}
.form-header section {
  background-color: #f5f5f5;
}
@media screen and (max-width: 767px) {
  .form-header section {
    padding: 15px 50px;
  }

  .form-header section.profile-header {
    padding: 20px;
  }
}
@media screen and (min-width: 768px) {
  .form-header section {
    padding: 15px 100px;
  }

  .form-header section.profile-header {
    padding: 30px;
  }
}

/* Form Footer */

.form-footer {
  text-align: center;
  padding-top: 20px;
}
.form-footer > button:not(:first-child) {
  margin-left: 10px;
}
.form-footer > button:not(:first-child):before {
  content: "";
  position: relative;
  left: -20px;
  height: 100%;
  border-left: 1px solid #ccc;
}
.form-footer > a:not(:first-child) {
  margin-left: 10px;
}
.form-footer > a:not(:first-child):before {
  content: "";
  position: relative;
  left: -20px;
  height: 100%;
  border-left: 1px solid #ccc;
}

/* Form Input */
.form .bootstrap-select .dropdown-toggle,
.form .bootstrap-select .dropdown-menu a {
  color: #555;
}
.form .bootstrap-select .dropdown-menu li.active small {
  color: #777 !important;
}
.form .bootstrap-select > .dropdown-toggle.bs-placeholder {
  color: #999;
}
.form .bootstrap-select .dropdown-toggle:hover {
  border-color: #ccc;
}
.form .bootstrap-select .dropdown-toggle:active,
.form .bootstrap-select .dropdown-toggle:focus,
.form .bootstrap-select.open .dropdown-toggle,
.form .bootstrap-select.open .dropdown-toggle:active,
.form .bootstrap-select.open .dropdown-toggle:focus,
.form .bootstrap-select.open .dropdown-toggle:hover {
  background-color: #fff;
  border-color: #66afe9;
  outline: 0 !important;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
          box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}
.form .bootstrap-select .dropdown-menu a:active,
.form .bootstrap-select .dropdown-menu a:focus,
.form .bootstrap-select .dropdown-menu li.selected a,
.form .bootstrap-select .dropdown-menu li.active a {
  outline: none;
  border-width: 1px 0px;
  border-style: dashed;
  border-color: #66afe9;
  background-color: #e5f2f9;
}
.form .bootstrap-select .dropdown-menu li.disabled a:active,
.form .bootstrap-select .dropdown-menu li.disabled a:focus,
.form .bootstrap-select .dropdown-menu li.selected.disabled a,
.form .bootstrap-select .dropdown-menu li.active.disabled a {
  border-color: #aaa;
  background-color: #eee;
}
.form .bootstrap-select .dropdown-menu li.disabled {
  pointer-events: unset;
  cursor: not-allowed;
}
.form .has-error.control-label {
  color: #a94442;
}
.form .has-error > input,
.form .has-error > textarea,
.form .has-error > .bootstrap-select .dropdown-toggle {
  border-color: #a94442;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}
.form .has-error > input:focus,
.form .has-error > textarea:focus,
.form .has-error > .bootstrap-select .dropdown-toggle:active,
.form .has-error > .bootstrap-select .dropdown-toggle:focus,
.form .has-error > .bootstrap-select.open .dropdown-toggle,
.form .has-error > .bootstrap-select.open .dropdown-toggle:active,
.form .has-error > .bootstrap-select.open .dropdown-toggle:focus,
.form .has-error > .bootstrap-select.open .dropdown-toggle:hover {
  border-color: #843534;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
}
.form .has-error > .bootstrap-select .dropdown-menu a:active,
.form .has-error > .bootstrap-select .dropdown-menu a:focus,
.form .has-error > .bootstrap-select .dropdown-menu li.selected a,
.form .has-error > .bootstrap-select .dropdown-menu li.active a {
  outline: none;
  border-width: 1px 0px;
  border-style: dashed;
  border-color: #ce8483;
  background-color: #f6e9e9;
}

/* Form Table */

.form-table .table {
  border: none;
}
.form-table .table th {
  font-weight: 400;
}
.form-table .table td {
  vertical-align: middle;
}
.form-table .table th,
.form-table .table td {
  color: inherit !important;
  background-color: #fff !important;
  border-color: #666 !important;
  padding: 4px 6px !important;
}
.form-table.form-dynamic .table th:last-child {
  width: 17px;
}
.form-table.form-dynamic .table td.data_loaded_fail,
.form-table.form-dynamic .table td.data_loaded_fail input ,
.form-table.form-dynamic .table td.data_loaded_fail textarea,
.form-table.form-dynamic .table td.data_loaded_fail button  {
  background-color: #d0d0d0 !important;
}
.form-table.form-dynamic .table thead th:last-child,
.form-table.form-dynamic .table td:last-child {
  border: none !important;
}

/* Form Table Input */

.form-table .table input,
.form-table .table textarea {
  display: block;
  width: 100%;
  height: 20px;
  border-width: 0 0 1px 0;
  border-radius: 0;
  border-color: #ccc;
  outline: none;
}
.form-table .table input:read-only ,
.form-table .table textarea:read-only  {
  border: none;
}

.form-table .table input:active,
.form-table .table input:focus,
.form-table .table textarea:active,
.form-table .table textarea:focus {
  border-style: dashed;
  border-color: #999;
}
.form-table .table input,
.form-table .table button {
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
}
.form-table .table select {
  width: 100%;
}
.form-table .item-add {
  padding: 5px 10px;
}
.form-table .bootstrap-select {
  width: 100% !important;
  min-width: 60px;
}
.form-table .table .bootstrap-select .dropdown-toggle {
  padding: 0;
  border-width: 0 0 1px 0;
  border-radius: 0;
}
.form-table .bootstrap-select .dropdown-menu {
  border-radius: 0;
}
.form-table .bootstrap-select .dropdown-menu a {
  padding: 2px 6px;
}
.form-table .table .has-error > input,
.form-table .table .has-error > textarea,
.form-table .table .has-error > .bootstrap-select .bs-searchbox > input {
  border-color: #a94442;
}
.form-table .table .has-error > input:active,
.form-table .table .has-error > input:focus,
.form-table .table .has-error > textarea:active,
.form-table .table .has-error > textarea:focus,
.form-table .table .has-error > .bootstrap-select .bs-searchbox > input:active,
.form-table .table .has-error > .bootstrap-select .bs-searchbox > input:focus {
  border-color: #843534;
}
.form-table .bootstrap-select .dropdown-toggle:active,
.form-table .bootstrap-select .dropdown-toggle:focus,
.form-table .bootstrap-select.open .dropdown-toggle,
.form-table .bootstrap-select.open .dropdown-toggle:active,
.form-table .bootstrap-select.open .dropdown-toggle:hover,
.form-table .bootstrap-select.open .dropdown-toggle:focus {
  border-style: dashed;
  border-color: #999;
  outline: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

/* Form Small Input */

.form-sm {
  font-size: 12px;
  line-height: 1.33333333;
}
.form-sm .btn {
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1.33333333;
  border-radius: 3px;
}
.form-sm .form-control {
  padding: 4px 8px;
  height: 26px;
  font-size: 12px;
  line-height: 1.33333333;
  border-radius: 3px;
}
.form-sm textarea.form-control {
  height: auto;
}
.form-sm .table > tbody > tr > td,
.form-sm .table > tbody > tr > th,
.form-sm .table > tfoot > tr > td,
.form-sm .table > tfoot > tr > th,
.form-sm .table > thead > tr > td,
.form-sm .table > thead > tr > th {
  padding: 6px;
  line-height: 1.33333333;
}
.form-sm .bootstrap-select.form-control {
  padding: 0;
  height: 26px;
  font-size: 12px;
  line-height: 1.33333333;
}
.form-sm .bootstrap-select > .dropdown-toggle {
  padding-right: 20px;
}
.form-sm .bootstrap-select.btn-group .dropdown-toggle .caret {
  right: 8px;
}
.form-sm .bootstrap-select .dropdown-menu {
  font-size: 12px;
  border-radius: 3px;
}

.form-xs {
  font-size: 11px;
  line-height: 1.45454545;
}
.form-xs .btn {
  padding: 2px 4px;
  font-size: 11px;
  line-height: 1.45454545;
  border-radius: 3px;
}
.form-xs .form-control {
  padding: 2px 4px;
  height: 22px;
  font-size: 11px;
  line-height: 1.45454545;
  border-radius: 3px;
}
.form-xs textarea.form-control {
  height: auto;
}
.form-xs .table > tbody > tr > td,
.form-xs .table > tbody > tr > th,
.form-xs .table > tfoot > tr > td,
.form-xs .table > tfoot > tr > th,
.form-xs .table > thead > tr > td,
.form-xs .table > thead > tr > th {
  padding: 4px;
  line-height: 1.45454545;
}
.form-xs .bootstrap-select.form-control {
  padding: 0;
  height: 22px;
  font-size: 11px;
  line-height: 1.45454545;
}
.form-xs .bootstrap-select > .dropdown-toggle {
  padding-right: 13px;
}
.form-xs .bootstrap-select.btn-group .dropdown-toggle .caret {
  right: 4px;
}
.form-xs .bootstrap-select .dropdown-menu {
  font-size: 11px;
  border-radius: 3px;
}