body {
  font-size: 14px !important;
  line-height: inherit;
}

.object-tools {
  margin-top: -36px;
}

.delete-confirmation form .cancel-link {
  height: inherit;

}

.submit-row a.deletelink {
  height: auto;
}

.clear {
  clear: both;
}

.vTextField, .vUUIDField {
  width: 10em;
}

h1 {
  font-size: 18px;
  font-weight: bold;
}

#content h1 {
  padding: 0 15px;
}

h1.dashboard-title {
  margin: 0;
}

h2 {
  font-size: 1em;
}

.dashboard #content {
  margin: 15px;
}

.dashboard-module {
  margin: 10px 15px 5px 15px;
}

#site-name a {
  display: block;
  height: 41px;
}

table.table th {
  padding: 0.3rem 0.75rem;
}

table.table td {
  padding: 0.5rem 0.75rem;
}

.datepicker table.table th, .datepicker table.table td {
  padding: inherit;
}

table th.number-cell, table td.number-cell {
  text-align: right;
}

.form-row {
  display: block;
}

.inline-related .form-row {
  display: block;
  float: left;
}

.inline-related .aligned label {
  float: none;
  margin-bottom: 0;
}

.right-aligned-labels.aligned label {
  width: 8rem;
  text-align: right;
}

.right-aligned-labels.aligned label.vCheckboxLabel.inline {
  width: auto;
  text-align: inherit;
}

#user-tools a {
  margin-left: 1.2em;
  text-decoration: none;
  border-bottom: none;
}

#user-tools a:hover {
  text-decoration: none;

}

#user-tools a i {
  margin-right: 3px;
  position: relative;
  top: 1px;
}

ul.pagination li {
  list-style-type: none;
}

ul.errorlist {
  position: relative;
  padding: .75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid #f8d7da;
  border-radius: .25rem;
  color: #721c24;
  background-color: #f8d7da;
  font-size: 16px;
}

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

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

.item-per-page {
  float: right;
}

.page-link.selected {
  background-color: #c7cacd;
  border-color: #bcc0c4;
}

.inline-related .module.aligned .form-row select,
.inline-related .module.aligned .form-row input[type=text],
.inline-related .module.aligned .form-row input[type=email] {
  width: 140px;
}

.tabular .form-row {
  display: table-row;
}

body #header {
  background-color: #205067;
}

#header #branding h1 {
  margin: 0;
  padding: 5px 10px;
  font-size: 0;
  text-indent: 0;
  background: #205067 url("../img/logo_fisiogest.84ffe9df7993.png") 10px 5px no-repeat;
  height: 45px;
  width: 200px;
}

#header #navigation-menu {
  margin-top: 5px;
}

#header ul#navigation-menu li:hover, #header ul#navigation-menu li.over, #header ul#navigation-menu li.selected {
  background: rgba(32, 80, 103, 0.1);
}

div.breadcrumbs, .object-tools a:link, .object-tools a:visited {
  background: rgba(32, 80, 103, 0.5);
}

.object-tools a:focus, .object-tools a:hover {
  background-color: #417690;
}

.dashboard-module.reservations .dashboard-module-content {
  padding: 15px;
}

#content-main {
  padding: 15px;
  margin: 0;
}

.dashboard-column {
  min-height: auto;
}

.calendar-container {
  margin: 5px 0;
  padding: 0 15px;
}

.calendar-container .calendar-container-content h2 {
  font-size: 1.3em;
  background: rgba(32, 80, 103, 0.1);
  padding: 7px 5px;
  color: #555;
}

.dashboard-module h2 {
  /*margin-right: 0.5px;*/
  height: auto;
  -moz-border-radius: 5px 5px 0 0;
  -webkit-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
  background: rgba(32, 80, 103, 0.1);
}

.dashboard-module h3 {
  margin-right: 0.5px;
  margin-left: 0.5px;
  padding: 0 8px;
  height: auto;
}
.dashboard-module h2 a.toggle-icon, .dashboard-module h2 a.close-icon {
  text-indent: 0 !important;
  font-size: 0;
}
.dashboard-module h3 a {
  top: -5px;
  position: relative;
}

#dashboard-panel h3 {
  font-size: inherit;
}

#reservation_form fieldset .fieldBox + .fieldBox.field-customer,
#reservation_form fieldset .fieldBox + .fieldBox.field-end {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

#reservation_form fieldset .fieldBox.field-reservable {
  /*width: 50%;*/
}

.fc-event.canceled {
  opacity: 0.5;
  text-decoration: line-through;
}

.fc-event-time, .fc-event-title {
  font-size: 13px;
}

.fc-event-title {
  background: white;
}

.fc-event-time {
  padding-left: 0 !important;
}

.fc-day-number {
  font-size: 16px;
  margin-top: 5px;
}

.fc-day-header.fc-widget-header {
  font-size: 13px;
}

.alert {
  padding: 8px 14px 8px 14px;
  margin-bottom: 20px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  background-color: #fcf8e3;
  border: 1px solid #fbeed5;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.alert, .alert h4 {
  color: #c09853;
}

.alert .close {
  top: -10px;
  position: relative;
  right: -10px;
}

.legend {
  float: right;
  margin-bottom: 0;
}

caption {
  caption-side: top;
}

.legend .reservable-trigger span.label {
  display: inline-block;
  margin-right: 8px;
  font-size: 13px !important;
  font-weight: bold;
}

.legend .reservable-trigger span.color, .legenda-color {
  display: inline-block;
  position: relative;
  top: 4px;
  width: 24px;
  height: 18px;
  border: solid 1px #bcbcbc;
  border-radius: 5px;
}

.calendar-title {
  margin-top: 2px;
  display: inline-block;
}

#changelist .actions .button {
  margin-bottom: .5rem;
}

.object-tools a.btn:link, .object-tools a.btn:visited {
  border-radius: 4px;
  color: white;
}

.object-tools a:link, .object-tools a:visited {
  padding: .375rem .75rem;
}

.object-tools a.viewsitelink, .object-tools a.golink, .object-tools a.addlink {
  padding-right: .75rem;
}

#calendar .fc-header {
  /*border-top: 1px solid #ddd;*/
}

.modal {
  z-index: 9999;
}

.danger {
  background: #ba2121 !important;
}

.popup-content {
  padding: 1em;
}

.popover {
  max-width: 340px;
}

h3.popover-header {
  font-size: 0.9rem;
}

h3.modal-title {
  font-size: 1.30rem;
}

h3.modal-title.canceled span.through-lined, tr.canceled {
  text-decoration: line-through;
}

.popup #content {
  border: 1px solid #cdcdcd;
}

.attachments {
  padding: 0 !important;
}

.attachments li {
  line-height: 13px;
}

.popup-content.inline {
  float: left;
  width: 33.33333%;
}

.popup-content.inline.half {
  float: left;
  width: 50%;
}

.fc-button.fc-button-prev,
.fc-button.fc-button-next {
  line-height: 2.5em;
  height: 2rem;
}

.fc-button.fc-button-today {
  height: 2rem;
  line-height: 2em;
}

.popup-name {
  padding: 1em;
}

.popup-content-name {
  color: #c0392b;
  margin-bottom: 5px;
}

.popup-info {
  text-align: left;
}

select {
  height: 28px;
  width: 10em;
  background-color: rgba(32, 80, 103, 0.1);
}

.reservable-trigger {
  cursor: pointer;
}

.btn-default {
  background-color: #cdcdcd;
}

.btn-default:hover {
  background-color: #ababab;
}

a.btn:link, a.btn:visited {
  color: #212529;
}

.popup-info ul {
  margin-top: 7px;
  margin-left: 15px;
  padding-left: 0;
}

.container.reservation-list table td ul {
  padding: 5px 15px;
  margin-left: 15px;
  margin-bottom: 0;
}

.dashboard .popup-info ul.guests-list li {
  list-style: decimal;
  line-height: 13px;
}

.dashboard .popup-info ul li {
  list-style: square;
}

.legend .btn.btn-primary.btn-sm {
  color: #fff;
  font-size: 13px;
  font-weight: bolder;
  line-height: 15px;
  height: 27px;
  width: auto;
  margin-right: 13px;
}

.module.aligned .form-row select:not("#id_*"),
.module.aligned .form-row input[type=text],
.module.aligned .form-row input[type=email] {
  width: 200px;
}

/*#customer_form > div > fieldset .form-row {*/
/*  float: left;*/
/*  flex: none;*/
/*  width: 50%;*/
/*}*/
#addresses-group .inline-related.dynamic-addresses h3 {
  display: none;
}

#addresses-group .inline-related.dynamic-addresses .form-row {
  border: none;
}

textarea[id*="id_attachments-"] {
  height: 27px;
}

.dynamic-attachments .form-row {
  min-height: 114px;
}

.dynamic-attachments .aligned p.file-upload {
  margin-left: 0;
}

.module .form-row.field-start .datetime .vTimeField,
.module .form-row.field-end .datetime .vTimeField {
  margin-left: 12px;
}

#container {
  min-width: unset !important;
}

@media (min-width: 1024px) {
  .fieldBox.field-advance_payed {
    margin-left: 43px;
  }
}

@media (min-width: 576px) {
  .modal-dialog {
    /*max-width: 600px;*/
  }

  .form-inline .form-group {
    float: left;
  }

  .reservation-list .form-inline .form-group {
    display: block;
  }
}

.module .form-row .fieldBox input[type=number] {
  width: 200px;
}

.colM .container .form-inline label {
  display: block;
  margin-left: 10px;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 3px;
  text-align: left;
}

.colM .container .form-inline input[type=text] {
  display: inline;
  margin-left: 10px;
  width: 200px;
}

.colM .container .form-inline select {
  display: inline;
  margin-left: 10px;
  width: 200px;
}

.colM .container {
  max-width: 100%;
  margin: auto;
}

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

.table .thead-dark th {
  background-color: #e9ecef;
  border-color: #ccc;
  color: #555
}

.table td {
  font-size: 0.9em;
}

table td.table-ul-container {
  padding: 0;

}

table th.fixed-width, table td.fixed-width {
  width: 485px;
}

.container.reservation-list {
  margin-top: 20px;
  text-align: center
}

.container.reservation-list table {
  text-align: left;
}

.container.reservation-list .form-inline {
  display: inline-grid;
}

.reservation-list .form-inline .input-group {
  display: inline-flex;
}

.reservation-list .form-inline .form-control.datetimepicker-input {
  height: 28px;
}

.reservation-list .form-inline .input-group-append {
  height: 28px;
}

.reservation-list .form-inline .btn.btn-info.btn-sm {
  margin-left: 20px;
}

.reservation-list form button[type=submit] {
  margin-top: 16px;
}

.btn-group-sm > .btn, .btn-sm {
  line-height: 1.4;
}

.fa-2x {
  font-size: 1.5em;
}

.inline-related ul.errorlist {
  margin: 0;
}

.calendar-popup-description {
  margin-bottom: 5px;
}

.modal-xlg {
  width: 100%;
  max-width: 1250px
}

@media (max-width: 1024px) {
  .fisiogest_autocomplete {
    box-sizing: border-box;
    margin: 0;
    padding: 6px 8px;
    min-height: 36px;
    font-size: 14px;
  }
}

.fisiogest_autocomplete {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 5px 6px;
  margin-top: 0;
}

.bootstrap-autocomplete.dropdown-menu.show {
  width: 300px !important;
}

#addresses-group .field-municipality .change-related {
  display: none;
}

.field-_email_status {
  text-align: center;
}

.field-_get_color, .column-_get_color {
  width: 20%;
  text-align: center;
}

.field-_get_color .color-widget {
  width: 30px;
  height: 30px;
  display: inline-block;
  border: 1px solid #989898
}

#changelist #toolbar form #searchbar {
  height: 25px;
}

.app-fisiogest_registries.model-customer.change-list #result_list tbody td,
.app-fisiogest_registries.model-customer.change-list #result_list tbody th {
  vertical-align: middle;
}

form .aligned .field-municipality div.help {
  margin-left: 0;
}

.model-customer.change-list #result_list td.field-is_active,
.model-customer.change-list #result_list th.column-is_active {
  text-align: center;
}

form .aligned .field-customer div.help {
  padding-left: 0;
}

.form-row .fieldBox.field-is_active {
  width: 290px;
  text-align: center;
}

#changelist-filter li.selected {
  background-color: rgba(32, 80, 103, 0.5);
}

#changelist-filter li.selected a {
  color: white;
}

@media screen and (max-width: 850px) {
  .table td, .table th {
    font-size: 0.8em;
  }
}

@media screen and (max-width: 767px) {
  a.addlink, .btn-default {
    margin-top: 1rem;
  }
}

@media screen and (max-width: 460px) and (orientation: portrait) {
  html {
    transform: rotate(-90deg);
    transform-origin: left top;
    width: 100vh;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    height: 100vw;
  }

}

.login .submit-row {
  text-align: center;
  padding: 0;
}

.login .submit-row input[type=submit] {
  margin-top: 1rem;
}

/* FIX CHANGE FORM RESERVATION */
.model-reservation.change-form .right-aligned-labels.aligned label {
  width: auto;
  min-width: 104px;
}

form .aligned p.help, form .aligned .field-customer div.help {
  margin-left: 38px;
  margin-bottom: 0.5rem;
}

label[for='id_customer'] {
  margin-bottom: 0 !important;
}

/* FIX DATETIME SHORTCUTS */
body .aligned .form-row.field-start > div {
  width: auto;
}

.form-row.field-start label, .form-row.field-end label {
  display: none;
}

.aligned label + p.datetime {
  margin-left: 0;
  color: #333;
}

.aligned .form-row.field-start, .aligned .form-row.field-end {
  margin-left: 65px;
}

p.datetime br {
  display: none;
}

p.datetime .datetimeshortcuts {
  margin-right: 15px;
}

.calendarbox.module {
  width: auto;
}

.clockbox.module {
  min-width: 150px;
}

.clockbox.module ul.timelist {
  height: 314px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

body .aligned .form-row-field-description > div {
  width: 100% !important
}

@media (max-width: 1024px) {
  .form-row .datetime input.vDateField, .form-row .datetime input.vTimeField {
    width: auto !important;
  }
}

@media (max-width: 708px) {
  .colM .aligned .vLargeTextField, .colM .aligned .vXMLLargeTextField {
    width: auto !important
  }
}

