.node-fellow-young-affiliate-edit-form>details {
  padding: 1rem 0;
  margin-top: 0;
  background-color: #fff;
  max-width: calc(100vw - 2rem);
}

.node-fellow-young-affiliate-edit-form details>.details-wrapper {
  padding: 0.5em 11px;
}

.node-fellow-young-affiliate-edit-form .field--name-field-cv summary,
.node-fellow-young-affiliate-edit-form .field--name-field-list-of-publications summary,
.node-fellow-young-affiliate-edit-form .layout-region__content>details>summary {
  font-size: 18px;
  font-weight: 700;
  color: var(--main_color);
  margin: 1rem .5rem;
}

.node-fellow-young-affiliate-edit-form .field--name-field-cv summary,
.node-fellow-young-affiliate-edit-form .field--name-field-list-of-publications summary {
  margin: 1rem 0;
}

@media (min-width: 1024px) {
  .node-fellow-young-affiliate-edit-form>details {
    padding: 2rem 1rem;
    max-width: unset;
  }
}

.node-fellow-young-affiliate-edit-form>details>summary {
  font-size: 20px;
  font-weight: 700;
  color: var(--main_color);
}

/* .node-fellow-young-affiliate-edit-form .messages {
  display: none;
} */

/* -------------------------------------------------------------------------------------- */
.node-fellow-young-affiliate-edit-form .form-item {
  margin: 1.5rem 0 0 0;
  display: flex;
  flex-direction: column;
  color: #666;
}

.node-fellow-young-affiliate-edit-form .form-item input {
  margin: 0 0 .25rem 0;
}

.node-fellow-young-affiliate-edit-form .form-item input[type="file"],
.node-fellow-young-affiliate-edit-form .form-item input[type="text"],
.node-fellow-young-affiliate-edit-form .form-item input[type="email"],
.node-fellow-young-affiliate-edit-form .form-item input[type="url"],
.node-fellow-young-affiliate-edit-form .form-item input[type="number"],
.node-fellow-young-affiliate-edit-form .form-item textarea,
.node-fellow-young-affiliate-edit-form .form-item .form-select {
  line-height: 2em;
  font-size: 16px;
  background-color: #fff;
  border: 1px solid #ccc;
  width: 100%;
  background-position: calc(100% - 1rem) center;
}

.node-fellow-young-affiliate-edit-form .field--type-boolean .form-item label {
  font-weight: 500 !important;
  color: var(--main_color);
}

.node-fellow-young-affiliate-edit-form .form-item .form-select a {
  padding: 4px 10px;
}

.chosen-container-single .chosen-search input[type="text"] {
  background-size: 0;
}

.node-fellow-young-affiliate-edit-form .form-item textarea {
  line-height: 1.25rem;
  padding: .5rem;
  min-height: 200px;
}

.node-fellow-young-affiliate-edit-form .form-item select,
.node-fellow-young-affiliate-edit-form .form-item input.form-autocomplete {
  padding: .5rem 3rem .5rem 1rem;
}

.node-fellow-young-affiliate-edit-form .form-item input[disabled="disabled"],
.node-fellow-young-affiliate-edit-form .form-item select[disabled="disabled"],
.node-fellow-young-affiliate-edit-form .form-item .form-select.chosen-disabled,
.node-fellow-young-affiliate-edit-form .form-item input:disabled,
.node-fellow-young-affiliate-edit-form .form-item select:disabled {
  background-color: #f7f7f7;
  color: #666;
  opacity: 1 !important;
  padding-left: 10px;
}

/* -------------------------------------------------------------------------------------- */
.node-fellow-young-affiliate-edit-form .form-item.form-type-select {
  position: relative;
}

/* .node-fellow-young-affiliate-edit-form .form-item.form-type-select::after {
  content: '';
  position: absolute;
  width: 0.5rem;
  height: .5rem;
  background-color: #666;
  top: 70%;
  right: 1.35rem;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
} */

.node-fellow-young-affiliate-edit-form .form-item .form-select a {
  line-height: unset;
  height: unset;
}

.node-fellow-young-affiliate-edit-form .form-item .form-select.chosen-disabled a {
  color: #666;
  background-color: transparent;
}

/* -------------------------------------------------------------------------------------- */
.node-fellow-young-affiliate-edit-form .form-item label {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 .25rem 0;
}

/* -------------------------------------------------------------------------------------- */
.node-fellow-young-affiliate-edit-form .form-item input[type="checkbox"] {
  display: none;
}

.node-fellow-young-affiliate-edit-form .form-item input[type="checkbox"]+label {
  padding: 0 0 0 1.75rem;
  position: relative;
  font-weight: 400;
  font-size: 14px;
}

.node-fellow-young-affiliate-edit-form .form-item input[type="checkbox"]+label:hover {
  cursor: pointer;
}

.node-fellow-young-affiliate-edit-form .form-item input[type="checkbox"]+label::before {
  content: '';
  position: absolute;
  width: 1.25rem;
  height: 1.25rem;
  background-color: #fff;
  border: 1px solid #ccc;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.node-fellow-young-affiliate-edit-form .form-item input[type="checkbox"]:checked+label::before,
.node-fellow-young-affiliate-edit-form .form-item input[type="checkbox"]+label:hover::before {
  background-color: var(--main_color);
  border: 1px solid var(--main_color);
}

.node-fellow-young-affiliate-edit-form .form-item input[type="checkbox"]:checked+label::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 50%;
  background: white;
  width: 2px;
  height: 2px;
  box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white, 4px -6px 0 white, 4px -8px 0 white;
  transform: translateY(-50%) rotate(45deg);
}



/* ---------------- table title ------------------ */
.node-fellow-young-affiliate-edit-form table thead h4 {
  display: block;
  margin: .5rem 0;
  text-align: left;
  /* color: var(--main_color); */
  color: #666;
  font-size: 14px;
  font-weight: 700;
}


/* --------------- toggle rows height link ----------------- */
.node-fellow-young-affiliate-edit-form .form-item .tabledrag-toggle-weight {
  box-shadow: none;
  color: var(--main_color);
}

.node-fellow-young-affiliate-edit-form .form-item .tabledrag-toggle-weight:hover {
  background-color: transparent;
  text-decoration: underline;
}


/* ---------------- general table style --------------------------- */
.node-fellow-young-affiliate-edit-form table tbody .form-item input {
  margin: 0;
}

.node-fellow-young-affiliate-edit-form table tbody .form-item input.form-url {
  width: 100%;
}

.node-fellow-young-affiliate-edit-form table tbody .field-multiple-drag {
  width: 2rem;
  height: 2rem;
}


/* ----------------------- multiple rows ordering field ---------------------- */
.node-fellow-young-affiliate-edit-form table tbody .delta-order {
  width: 3rem;
}

.node-fellow-young-affiliate-edit-form table tbody .delta-order>.form-item {
  margin: 0 0 0 auto;
  height: 100%;
}

.node-fellow-young-affiliate-edit-form table tbody .delta-order>.form-item::after {
  top: 50%;
  right: .25rem;
  transform: translateY(-50%);
}

.node-fellow-young-affiliate-edit-form table tbody .delta-order>.form-item select {
  padding: .5rem .25rem;
}


/* ---------------- manual ordering with handles ------------------ */
.node-fellow-young-affiliate-edit-form table tbody .tabledrag-handle {
  float: none;
  padding-right: 0 !important;
  margin-left: 0 !important;
  display: block !important;
  height: 2rem;
}

.node-fellow-young-affiliate-edit-form table tbody .tabledrag-handle .handle {
  width: 2rem !important;
  height: 2rem;
  margin: 0;
  padding: 0;
  background-position: center;
}


/* ---------------------- spacing buttons ------------------------- */
.node-fellow-young-affiliate-edit-form table+div {
  margin: .5rem 0;
}



/* images responsive */
.node-fellow-young-affiliate-edit-form .field--name-field-picture img.image-style-fellows-ya-photo,
.node-fellow-young-affiliate-edit-form .edit-my-profile-photo {
  max-height: 200px;
  object-fit: contain;
  object-position: left top;
}

.node-fellow-young-affiliate-ed.it-form .js-media-library-item {
  display: flex;
  flex-direction: column-reverse;
}

.node-fellow-young-affiliate-edit-form .field--name-field-image .js-media-library-item img {
  margin: 1rem auto;
}

.node-fellow-young-affiliate-edit-form .js-media-library-item input[disabled] {
  display: none;
}

@media (max-width: 1023px) {
  .node-fellow-young-affiliate-edit-form .image-preview img {
    width: 100%;
    height: 100%;
  }
}





.node-fellow-young-affiliate-edit-form #edit-submit,
.node-fellow-young-affiliate-edit-form #edit-submit + a {
  padding: 1rem;
  display: inline-block;
  height: 3rem;
  line-height: 1rem;
  color: #fff;
  background-color: var(--main_color);
  margin: .5rem .5rem .5rem 0 !important;
  width: fit-content;
}
.node-fellow-young-affiliate-edit-form #edit-submit+a {
  position: relative;
}
.node-fellow-young-affiliate-edit-form #edit-submit,
.node-fellow-young-affiliate-edit-form #edit-submit+a:after {
  font-size: 1rem;
}




/* NEW REQUEST member edit profile form - remove draggable anchors in multiple fields */
.node-fellow-young-affiliate-edit-form .form-item .tabledrag-toggle-weight-wrapper,
.node-fellow-young-affiliate-edit-form table.field-multiple-table.draggable-table td.field-multiple-drag.tabledrag-cell { 
  display: none; 
}
.node-fellow-young-affiliate-edit-form table.field-multiple-table.draggable-table td.field-multiple-drag.tabledrag-cell + td { 
  width: calc(100% - 110px);
}
.node-fellow-young-affiliate-edit-form table.field-multiple-table.draggable-table td.field-multiple-drag.tabledrag-cell + td + td { 
  width: 100px;
  text-align: right;
  align-content: center;
}
.node-fellow-young-affiliate-edit-form table.field-multiple-table.draggable-table td.field-multiple-drag.tabledrag-cell + td + td input { 
  margin: 0;
  left: unset;
  right: 0;
}
.node-fellow-young-affiliate-edit-form table.field-multiple-table.draggable-table tr.draggable { 
  display: flex;
  justify-content: space-between;
}
