body {
  background: url("images/wynproex1.jpg") no-repeat;
  background-size: cover;
}

section.index {
  padding: 1rem;
}

a {
  color: blue;
}

select {
  height: 1.5rem;
}

.logonav {
  position: relative;
}

.logonav>img {
  width: 100%;
  opacity: 0.4;
}

.logonav li h3 {
  padding: 0;
}

.button, .submit {
  display: block;
  width: 7rem;
  height: 2rem;
  margin: auto;
  border-radius: 5px;
  border: solid 1px;
  padding: 8px;
  text-align: center;
  cursor: pointer;
  background-color: lightgrey;
  text-decoration: none;
  opacity: 0.7;
}

input[type=submit] {
  width: 5rem;
  height: 2rem;
  font-weight: bolder;
  opacity: 1;
  border: solid 2px;
}

.index h1 {
  color: #682802;
}

* {
  color: #682802;
}

.return-button, .return-button-user {
  display: block;
  width: 15rem;
  border-radius: 5px;
  border: solid 1px;
  padding: 4px;
  text-align: center;
  cursor: pointer;
  background-color: lightgrey;
  opacity: 0.8;
  margin: auto;
}

.return-button-user {
  display: none;
}

p#return {
  width: 3rem;
  padding: 8px;
  background-color: lightgrey;
  float: right;
  text-align: center;
  font-size: 48px;
  margin: 0;
  border-radius: 50%;
  border: solid 2px;
  cursor: pointer;
}

.navigate, .i-navigate {
  width: 100%;
  margin: auto;
}

.navigate a, .i-navigate a {
  margin: 1rem;
}

section.index {
  width: 100%;
  /*
  position:absolute;
  top: 0;
  left: 0;
  */
  padding: 0;
}

#myTopnav{
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 15rem;
  margin: auto;
}

#myTopnavx {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: auto;
}

label b {
  display: block;
  margin: auto;
  font-weight: bold;
  font-size: 20px;


}

.event-form {
  display: block;
  width: 80%;
  margin: auto;
  padding: 1rem;
  border: solid 1px;
  background-color: lightgrey;
  opacity: 0.8;
}

.wine {
  width: 100%;
  overflow: hidden;
  border: solid 1px;
}

.wine-form {
  display: block;
  width: 100%;
  margin: auto;
  padding: 1rem;
  background-color: #7ac943;
  opacity: 0.7;
}

.wine-table {
  display: block;
  width: 100%;
  margin: auto;
  overflow: hidden;
  align-self: center;
}

.wine-table th {
  padding: 4px;
}

.wine-events {
  width: 100%;
  display: none;
}

.wine-events div{
  width: 80%;
  margin: auto;
}

.total {
  border: solid 1px;
  text-align: center;
  background-color: lightgrey;
}

#score-table, .score-table, #taste-table {
  width: 80%;
  margin: auto;

}

#score-table th, .score-table th,.view-table th, .wine-table th, #taste-table th, .taste-table th {
  writing-mode: vertical-rl;
  background-color: grey;
  border: solid 1px;
  padding: 4px 0;
}

.documents th {
  background-color: grey;
  border: solid 1px;
  padding: 4px 0;
}

.view-table {
  background-color: white;
  width: 100%;
  margin: auto;
}

.taste-table {
  background-color: white;
  width: 100%;
}

.search {
  background-color: lightgrey;
  opacity: 0.8;
}

#score-table td, .score-table td{
  text-align: center;
  border: solid 1px;
}

#score-table input, .score-table input {
  width: 1.2rem !important;
}

.member, .wine-events, .documents {
  border: solid 2px;
  background-color: lightgrey;
  opacity: 0.8;
  padding: 0;
}

.documents {
  display: none;
}

.score {
  padding-bottom: 0;
  background-color: lightgrey;
}

.member {
  padding-top: 1rem;
}

th, td {
  border: solid 1px;
  padding: 0 4px;
}

.footer {
  width: 100% !important;
  border: solid 1px;
  margin: auto;
}

.search, .view {
  width: 100%;
  padding: 1rem;
  border: solid 1px;
  background-color: lightgrey;
  opacity: 0.8;
}

.doc-filters {
  display: grid;
  grid-template-columns: 1fr;
  background-color: light-grey;
  opacity: 0.8;
}

.doc-filters select {
  width: 80% !important;
}

.view table {
  width: 80%;
  margin: auto;
  background-color: lightgrey;
  opacity: 0.8;
}

.view-wine-table {
  background-color: lightgrey !important;
  opacity: 0.8 !important;
  width: 90%;
  margin: auto;
}

.labels {
  max-width: 100%;
}

#events {
  display: block;
  width: 60%;
  margin: auto;
}

.definitions {
  background-color: white;
  padding: 1rem;
}

.wine p {
  background-color: white;
}

.wine-create-events {
  margin-left: 0 !important;
}

.blends-main  {
  display: none;
}

.blends {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 0.5rem;
  justify-items: center;
}

.blends>div {
  width: 100%;
}

.blends label {
  width: 100%;
}

.blends select {
  font-size: 10px;
  padding: 8px !important;
  width: 9rem !important;
}

#notes {
  display: block;
  width: 80%;
  margin: auto;
}

.select-wine, .selected-wines {
  border: solid 1px;
  padding: 1rem;
}

.error {
  display: none;
}

p.feedback {
  display: none;
  background-color: white;
  padding: 8px;
}

.def {
  margin: 4px;
}

.def b {
  color: blue;
}

.defx b {
  color: #682802;
}

.aromawheel img {
  width: 100%;
}

button {
  padding: 0.5rem;
  font-weight: bold;
  border-radius: 10px;
}

.groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: solid 1px blue;
  margin: auto;
}

.buy-group table {
  width: 80%;
  margin: auto;
}

.buyit {
  width: 1rem;
  text-align: center;
  cursor: pointer;
}

.search-buttons {
  display: flex;
  justify-content: space-around;
  width: 60%;
  margin: auto;
}

#photos img {
  width: 80%;
  margin: auto;
  opacity: 1;
}

.slider {
  position: relative;
  width: 95%;
  margin: auto;
  background-color: lightgrey;
  padding: 8px;
  border: solid 1px;
}

.slider-input {
  position: absolute;
  left: 25%;
  width: 50%;
}

.label-slider-right {
  float: right;
  padding-right: 1rem;
}

.slider-container {
  position: relative;
}

.slider-input-score {
  position: absolute;
  left: 28%;
  width: 50%;
  margin: auto;
}

.score-winename {
  width: 100%;
}

.buy-icon {
  text-align: center;
  padding: 8px;
}

.score-tbody td {
  padding: 8px;
}

#name-filter, #cultivar-filter, #style-filter, #cellar-filter, #area-filter {
  width: 60%;
}

.blend-cultivars select {
  width: 12rem;
}

#noble-filter {
  height: 2rem;
}

.score-group label {
  padding: 8px 3rem;
}

.tasting-group label  {
  padding: 8px 1rem;
}

.h3-score {
  width: 30%;
  margin: auto;
  padding: 8px;
  border: solid 1px;
}

.buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 80%;
  margin: auto;
}

.blend-cultivars {
  display: none;
  grid-template-columns: 1fr 1fr;
}

.list-wine-taste {
  position: relative;
  background-color: white;
  padding: 1rem;
  opacity: 0.7;
  width: 80%;
  margin: auto;
}

.list-wine-taste>div {
  border: solid 1px;
  padding: 1rem;
}

.list-wine-taste input {
  position: absolute;
  left: 28%;
  width: 45.list-wine-taste input {
    position: absolute;
    left: 28%;
};
}

.rateit {
  width: 64px;
  height: 64px;
  left: 35%;
}

.wine-form select {
  width: 60%;
  height: 2rem;
}

/*
.wine-form input {
  width: 60%;
  height: 1.3rem;
}
*/

.button:hover, .submit:hover {
  transform: scale(1.1);
}

.button:active, .submit:active {
  transform: scale(0.9);
}

input {
  height: 1.4rem;
  /*width: 80%;*/
}

select#select-wine {
  width: 80%;
}

select#cultivarUp {
  display: block;
  width: 60% !important;
  margin: auto !important;
}

.select2 {
  margin: auto !important;
}

.taste-total {
  font-weight: 800;
}

.td-wineid {
  cursor: pointer;
}

.element-group {
  display: none;
}

select.select-wine, select#select-wine, #select-host {
  width: 10rem;
}

.edit-tasting {
  display: none;
  padding: 1rem;
}

#styles {
  background-color: lightgrey;
  padding: 1rem;
}

#zoom-value {
  width: 2rem;
  margin-left: 48%;
}

#video {
  width: 300px;
  height: 300px;

}

#noble-blend {
  width: 50%;
}
/******************************************************************/
@media only screen and (min-width: 1200px) {
  #cover-hide {
    display: none;
    width: 100%;
  }

  #myTopnav {
    width: 40%;
    justify-items: center;
  }

  .view-wine table {
    width: 60%;
    margin: auto;
  }

  .view-wine-table {
    background-color: lightgrey !important;
    opacity: 0.8 !important;
  }

  .labels {
    max-width: 60%;
  }

  .list-wine-taste input {
    position: absolute;
    left: 10%;
    width: 80%;
}

}
