#page-recipe-add {}
#page-recipe-add .photo-section {
  flex: 3;
  max-width: 20%;
  position: relative;
}
#page-recipe-add .preview {
  width: 100%;
}

#page-recipe-add .primary-section {
  flex: 2;
  max-width: 40%;
}

#page-recipe-add .cook-section {
  max-width: 20%;
}
#page-recipe-add .meta-section {
  max-width: 20%;
}

#page-recipe-add .instructions-section .instructions,
#page-recipe-add .ingredients-section .ingredients,
#page-recipe-add .tips-section .tips {
  /*align-items: center;*/
  display: grid;
  grid-gap: 1.5em;
  grid-template-columns: repeat(auto-fill, minmax(17em, 1fr));
}
#page-recipe-add .ingredients-section > h3 {
  color: #55811d;
}
#page-recipe-add .instructions-section > h3 {
  color: #a75d00;
}
#page-recipe-add .tips-section > h3 {
  color: #a72227;
}

/*#page-recipe-add .tips-section .tips {*/
/*  grid-template-columns: repeat(auto-fill, minmax(17em, 1fr));*/
/*}*/

#page-recipe-add .instruction,
#page-recipe-add .ingredient,
#page-recipe-add .tip {
  border: 1px solid #eaeaea;
  padding: 0.5em 1em 1em;
  background-color: #f9f9f9;
  border-radius: 5px;
}

#page-recipe-add .instructions .add,
#page-recipe-add .ingredients .add,
#page-recipe-add .tips .add {
  width: 4em;
  height: 4em;
}
#page-recipe-add .ingredients .add {
  width: 8em;
}

#page-recipe-add .upload-open {
  cursor: pointer;
}

#page-recipe-add .upload {
  /*min-width: 600px;*/
}
#page-recipe-add .upload .upload-form {
  margin-left: 2em;
}
.rtl #page-recipe-add .upload .upload-form {
  margin-left: 0;
  margin-right: 2em;
}
#page-recipe-add .upload .preview {
  max-width: 100%;
  height: auto;
  margin-bottom: 1.5em;
}

#page-recipe-add .sort {
  display: flex;
  justify-content: space-between;
}

#page-recipe-add .sort div {
  padding: 0.5em 1em 1em;
  cursor: pointer;
  color: #b3b3b3;
}
#page-recipe-add .sort div:hover {
  font-weight: bolder;
  color: #1a6d13;
}

#page-recipe-add .drafts .draft {
  padding: 1em;
  margin-bottom: 1em;
  cursor: pointer;
  box-shadow: 0 0 2px grey;
  border-radius: 3px;
}

.selectContainer input {
  height: 25px !important;
}
.selectContainer {
  padding: 0.2em 0.5em !important;
  margin: 0.2em 0 .7em;
}
.selectContainer .multiSelectItem {
  margin: 0.2em 0.3em 0.2em 0 !important;
  height: 26px !important;
  padding: 0 8px 0 10px !important;
}
.selectContainer .multiSelectItem_label {
  font-size: 0.9em !important;
  line-height: 25px !important;
  margin: 0 0.2em !important;
}
.selectContainer .multiSelectItem_clear {
  width: 10px !important;
  height: 10px !important;
  top: 7px !important;
}

@media only screen and (max-width: 768px) {
  #page-recipe-add .intro-section {
    flex-direction: column;
  }
  #page-recipe-add .photo-section,
  #page-recipe-add .primary-section,
  #page-recipe-add .meta-section,
  #page-recipe-add .cook-section {
    max-width: unset;
  }

  #page-recipe-add .upload .horizontal {
    flex-direction: column;
  }
  #page-recipe-add .upload .upload-form,
  .rtl #page-recipe-add .upload .upload-form {
    margin-left: 0;
    margin-right: 0;
  }
}