/**
 * @file
 * JR Admin form styling.
 */

.layout-region-node-secondary {
  width: 100%;
}

.layout__region--first-above {
  width: 50%;
}

.layout-region-node-main,
.layout-region-node-footer {
  width: 100%;
}

.field--name-tasting-note-vintage {
  width: 100px;
}

.field--name-tasting-note-author {
  min-width: 250px;
}

.field--name-tasting-note-drink-date-to,
.field--name-tasting-note-drink-date-extra,
.field--name-tasting-note-vintage,
.field--name-tasting-note-colour,
.field--name-tasting-note-author,
.field--name-tasting-note-sparkling,
.field--name-tasting-note-alcohol,
.field--name-tasting-note-article-group,
.field--name-tasting-note-article-group-order {
  float: left;
  margin-right: 20px;
}

.inline-tasting-note .field--name-status {
  float: left;
  width: 100%;
  clear: both;
}

.js-form-item-tasting-note-author.form-item,
.js-form-item-tasting-note-article.form-item {
  margin-top: 0px;
  width: 200px;
}

.field--name-tasting-note-article-group,
.field--name-tasting-note-article-group-order {
  width: 10%;
}

.field--name-tasting-note-article-group,
.field--name-tasting-note-article-group-order {
  width: 10%;
}

.field--name-tasting-note-article.field--widget-select2-entity-reference {
  width: 35%;
}

.js-form-item-tasting-note-article.form-item {
  width: 100%;
}

.select2-container {
  z-index: 9999;
}

.field--name-tasting-note-score,
.field--name-tasting-note-stockist,
.field--name-tasting-note-article,
.field--name-tasting-note-date-tasted,
.field--name-tasting-note-stockist {
  float: left;
  clear: both;
  margin-right: 10px;
}

.field--name-tasting-note-drink-date-from {
  float: left;
  margin-right: 20px;
}

.field--type-entity-reference.field--name-tasting-note-grape-variety.field--widget-autocomplete-deluxe {
  max-width: 395px;
}

.ui-autocomplete .ui-menu-item a:hover {
  color: black !important;
  text-decoration: underline !important;
}

.node-tasting-note-form .layout-region-node-secondary,
.page-node-type-tasting-note .layout-region-node-secondary {
  display: none;
}

#edit-tasting-note-note-0-format {
  display: none;
}

#edit-tasting-note-grape-variety--description {
  display: none;
}

.layout-region-node-footer .layout-region-node-footer__content {
  border-top: 0px;
}


.inline-tasting-note .field--name-tasting-note-note {
  float: left;
  clear: both;
  width: 100%;
}

.inline-tasting-note .filter-wrapper {
  display: none;
}

.inline-tasting-note .form-submit {
  float: left;
}

.entity-browser-tasting-notes-form .eb-tabs {
  display: none;
}

.entity-browser-tasting-notes-form .filter-wrapper {
  display: none;
}

#edit-inline-entity-form-tasting-note-grape-variety--description {
  display: none;
}

tr.ief-row-entity input.article-group {
  max-width: 100px;
}

tr.ief-row-entity input.article-group-order {
  max-width: 100px;
  background: grey;
}

input.form-number.readonly-field {
  background: grey;
}

/*input.form-text.readonly-field {*/
/*  background: grey;*/
/*}*/

tr.jr-wine-white .inline-entity-form-node-auto_entitylabel a {
  color: #7fb4a3;
  font-weight: bold;
  font-style: normal;
}

tr.jr-wine-rose .inline-entity-form-node-auto_entitylabel a {
  color: #ec7090;
  font-weight: bold;
  font-style: normal;
}

tr.jr-wine-red .inline-entity-form-node-auto_entitylabel a {
  color: #bb576a;
  font-weight: bold;
  font-style: normal;
}

tr.jr-wine-white .inline-entity-form-node-auto_entitylabel {
  color: #7fb4a3;
  font-weight: bold;
  font-style: italic;
}

tr.jr-wine-rose .inline-entity-form-node-auto_entitylabel {
  color: #ec7090;
  font-weight: bold;
  font-style: italic;
}

tr.jr-wine-red .inline-entity-form-node-auto_entitylabel {
  color: #bb576a;
  font-weight: bold;
  font-style: italic;
}


.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front {
  max-height: 300px;
  overflow-y: scroll;
}
