/* Form */
.mesr-form input[readonly="readonly"] {
  pointer-events: none;
  accent-color: #eeeeee;
}

.mesr-form .canine-weight-wrapper {
  margin-top: 0;
}

.mesr-form .canine-weight-wrapper input {
  display: inline-block;
  width: 100px;
}

.mesr-form .canine-weight-wrapper .form-item-field-canine-weight-0-value::before {
  content: 'Week 1';
  display: inline-block;
  margin-right: 15px;
}

.mesr-form .canine-weight-wrapper .form-item-field-canine-weight-1-value::before {
  content: 'Week 2';
  display: inline-block;
  margin-right: 15px;
}

.mesr-form .canine-weight-wrapper .form-item-field-canine-weight-2-value::before {
  content: 'Week 3';
  display: inline-block;
  margin-right: 15px;
}

.mesr-form .canine-weight-wrapper .form-item-field-canine-weight-3-value::before {
  content: 'Week 4';
  display: inline-block;
  margin-right: 15px;
}

.mesr-form .canine-weight-wrapper .delta-order {
  display: none;
}

.mesr-form .canine-weight-wrapper .tabledrag-toggle-weight {
  display: none;
}

.mesr-form .canine-weight-wrapper th {
  background: transparent;
}

.mesr-form .canine-weight-wrapper .field-multiple-drag {
  display: none;
}

.mesr-form .hide-input {
  display: none;
}

.mesr-form .hide-input + .chosen-container {
  display: none !important;
}

.mesr-form .fade {
  opacity: 1;
}

.mesr-form .panel-heading a {
  display: block;
  height: 100%;
  padding: 10px 15px;
  width: 100%;
}

.mesr-form .panel-body {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.mesr-table tbody tr:nth-child(odd) {
  background-color: #f2f2f2;
}

.mesr-table tbody tr:hover {
  background-color: #ddd;
}

.mesr-tab-1, .mesr-tab-2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.mesr-tab-2 {
  padding-right: 45%;
}

.mesr-tab-2 .mesr-tab-2-data {
  border: 1px solid #ddd;
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  padding: 15px 20px;
  width: 500px;
}

.mesr-tab-1 .form-item {
  width: calc(100% / 34);
}

.mesr-tab-1 .form-item:nth-child(33n + 1) {
  width: calc(100% / 34 * 2);
  text-align: center;
}

.mesr-form .form-item input {
  -moz-appearance: textfield;
  max-width: 100%;
  padding: 1px;
  text-align: center;
  width: 100%;
}

.mesr-form .form-item label {
  font-weight: bold;
}

.mesr-form .form-item label[for="edit-moderation-state-0-state"] {
  display: block;
}

.mesr-form .form-item.checkbox {
  margin-top: 0;
}

.mesr-form .form-item.checkbox label {
  margin-top: 32px;
}

.mesr-form .form-item.checkbox label.option {
  margin-left: 35px;
  margin-top: 5px;
}

.mesr-form .mesr-tab-2 .form-item:nth-child(3) label {
  margin-left: 0;
  margin-top: 0;
}

.mesr-form .form-item input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.mesr-form .form-item input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.mesr-form .mesr-tab-2 .mesr-tab-2-data .form-item input {
  max-width: 95%;
}

.mesr-tab-1 .form-item label {
  font-size: 12px;
  overflow-wrap: break-word;
}

.mesr-tab-1 .form-item-map-0-0 label {
  margin-left: 0 !important;
}

.mesr-tab-1 [class*='form-item-map-0-'] label {
  margin-left: 13px;
}

.mesr-tab-2 .mesr-tab-2-data .form-item {
  width: calc(100% / 3);
}

.mesr-tab-2 .mesr-tab-2-data .form-item:nth-child(3n + 1) {
  width: calc(100% / 3 - 75px)  !important;
}

.mesr-tab-2 .mesr-tab-2-data .form-item:nth-child(3n + 2) {
  width: calc(100% / 3 + 75px)  !important;
}

.mesr-tab-2 .mesr-tab-2-summary {
  border: 1px solid #ddd;
  display: flex;
  flex-wrap: wrap;
  margin-left: 15px;
  padding: 15px 20px;
  width: 350px;
}

.mesr-tab-2 .mesr-tab-2-summary .form-item {
  width: 265px;
}

.mesr-tab-2 .mesr-tab-2-summary .form-item:nth-child(2n + 2) {
  width: 40px;
}

.mesr-tab-3 .mesr-tab-3-container {
  align-content: start;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.mesr-tab-3 .mesr-tab-3-container.container-1 {
  width: 30%;
}

.mesr-tab-3 .mesr-tab-3-container.container-2 {
  width: 45%;
}

.mesr-tab-3 .mesr-tab-3-container.container-3 {
  width: 25%;
}

.mesr-tab-3 .mesr-tab-3-container .form-item {
  width: calc(100% / 3);
}

.mesr-tab-3 .mesr-tab-3-container input {
  max-width: 75px;
}

.mesr-tab-3 .mesr-tab-3-container label {
  padding-top: 9px;
}

/* View */
.mesr-table {
  padding: 25px 0;
  table-layout: fixed;
}

.mesr-table thead {
  font-weight: bold;
}

.mesr-table.table-1 {
  width: 100%;
}

.mesr-table.table-1 tr {
  height: 30px;
}

.mesr-table.table-1 thead tr td:first-child {
  width: 100px;
}

.mesr-table.table-1 tbody tr:last-child,.mesr-table tr td:first-child, .mesr-table tr td:last-child {
  font-weight: bold;
}

#edit-group-tab-2--content.collapse.in {
  display: flex;
}

.mesr-table.table-2 {
  width: 30%;
}

.mesr-table.table-2 thead tr td:first-child {
  width: 60px;
}

.mesr-table.table-2 thead tr td:last-child {
  width: 75px;
}

.mesr-table.table-3 {
  margin-left: 50px;
  width: 25%;
}

.mesr-table.table-3 thead tr td:last-child {
  width: 50px;
}

#edit-group-tab-3--content.collapse.in {
  display: flex;
}

.mesr-table.table-4 {
  width: 20%;
}

.mesr-table.table-4 tbody tr td:first-child {
  width: 150px;
}

.mesr-table.table-4 tbody tr td:last-child {
  width: 80px;
}

.mesr-table.table-5 {
  margin-left: 50px;
  width: 30%;
}

.mesr-table.table-5 tbody tr td:first-child {
  width: 300px;
}

.mesr-table.table-5 tbody tr td:last-child {
  width: 80px;
}

.mesr-table.table-6 {
  height: fit-content;
  margin-left: 50px;
  width: 25%;
}

.mesr-table.table-6 tbody tr td:first-child {
  width: 150px;
}

.mesr-table.table-6 tbody tr td:last-child {
  width: 80px;
}

.mesr-wrapper .field .field--label {
  font-weight: bold;
}

.mesr-wrapper .field--name-field-canine-weight .field--items .field--item:nth-child(1)::before {
  content: 'Week 1:';
  display: inline-block;
  margin-right: 15px;
}

.mesr-wrapper .field--name-field-canine-weight .field--items .field--item:nth-child(2)::before {
  content: 'Week 2:';
  display: inline-block;
  margin-right: 15px;
}

.mesr-wrapper .field--name-field-canine-weight .field--items .field--item:nth-child(3)::before {
  content: 'Week 3:';
  display: inline-block;
  margin-right: 15px;
}

.mesr-wrapper .field--name-field-canine-weight .field--items .field--item:nth-child(4)::before {
  content: 'Week 4:';
  display: inline-block;
  margin-right: 15px;
}

.mesr-excess {
  color: red;
  font-size: 16px;
  font-weight: bold;
  margin-left: 46px;
  margin-top: 20px;
}

.mesr-tab-1 .js-form-type-number:not(:first-child) label {
  text-align: center;
  width: 100%;
}

#mesr-wrapper {
  min-width: 1410px;
}

.mesr-wrapper .mesr-status {
  margin-top: -40px;
  min-width: 100%;
  max-width: 100vw;
  white-space: nowrap;
}

.path-mesr .messages__wrapper .alert {
  margin-bottom: 45px;
}

.mesr .field-group-format-wrapper {
  min-width: 1410px;
}
