.item-add-edit .img-upload {
  position: relative;
}

.item-add-edit .img-upload input {
  display: none;
}

.item-add-edit .img-upload label {
  background: white;
  color: #ffffff;
  font-size: 137px;
  border: 2px solid #8FB3BB;
  border-radius: 0.25rem;
  line-height: 0.4;
  text-align: center;
  padding: 0;
  position: relative;
  cursor: pointer;
  display: flex;
  display: -ms-flexbox;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: 130px;
}

.item-add-edit .img-upload label img {
  left: 0;
  top: 50%;
  transform: translateY(0);
  width: auto;
  height: auto;
  opacity: 0;
  width: 100%;
  right: 0;
  margin: 0 auto;
  -o-object-fit: cover;
     object-fit: cover;
  position: static;
  z-index: 2;
}

.item-add-edit .img-upload.lg label {
  min-height: 350px;
  height: auto;
}

.item-add-edit .img-upload.lg .edit-product-label {
  min-height: 0;
}

.upload-viewimg {
  height: 130px;
  background: #f1f1f1;
  border: 2px solid #8FB3BB;
  border-radius: 0.25rem;
  overflow: hidden;
}

/* has effect on existing pictures when editing*/
.item-add-edit .img-upload .delete-image-btn,
.item-add-edit .item-images .img-upload button {
  position: absolute;
  right: 10px;
  top: 0;
  font-size: 24px;
  padding: 0;
  outline: none;
  box-shadow: none;
  display: none;
  z-index: 3;
  color: white;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}

/* has effect on appended close buttons for new pictures when editing*/
.item-add-edit .item-images .item-img button {
  right: 10px;
  position: absolute;
  right: 10px;
  font-size: 24px;
  padding: 0;
  outline: none;
  box-shadow: none;
  z-index: 3;
  color: white;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}

.item-add-edit .img-upload .zmdi-plus {
  color: #8FB3BB;
  font-size: 200px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.item-add-edit .img-upload .zmdi-plus.thumbnail_placeholder {
  font-size: 100px;
}

.item-add-edit .mt-5 {
  margin-top: 1rem !important;
}

.item-add-edit .item-details .price .price-wrapper.price-wrapper-change .add-price-plus {
  position: absolute;
  left: 270px;
  width: 22px;
  z-index: 10;
  height: 22px;
  line-height: 22px;
  font-size: 17px;
  top: 4px;
}

.item-add-edit .item-details .price .price-wrapper.price-wrapper-change .add-price.remove {
  left: 270px;
  top: 4px;
  font-size: 17px;
}

/*............item-add-edit..............*/
.item-add-edit {
  padding: 50px 0;
  color: #979797;
}

.item-add-edit .item-images {
  padding-right: 20px;
}

.item-add-edit .item-images .item-img {
  position: relative;
  text-align: left;
}

.item-add-edit .item-images .item-img img {
  width: 100%;
  right: 0;
  margin: 0 auto;
  transform: none;
  top: 0;
  -o-object-fit: cover;
     object-fit: cover;
}

.item-add-edit .item-images .row .item-img > img {
  height: 130px;
}

.item-add-edit .item-images .item-img button img {
  width: 35px;
  height: auto;
}

.item-add-edit .item-images .row {
  margin: 20px -7px 0;
}

.item-add-edit .item-images .col-sm-6,
.item-add-edit .item-images .col-sm-5,
.item-add-edit .item-images .col-sm-7 {
  padding: 0 7px;
  margin-bottom: 14px;
}

.item-add-edit .item-images .item-img button img {
  width: 20px;
}

.item-add-edit .product-left-infos {
  margin-bottom: 20px;
  display: block;
}

.item-add-edit .product-left-infos.product-left-infos-mobile {
  margin-bottom: 20px;
  display: none;
}

.item-add-edit label {
  font-size: 18px;
  font-weight: 500;
  color: #8FB3BB;
  margin-bottom: 0;
}

.item-add-edit .item-details p {
  margin-bottom: 10px;
  font-size: 14px;
}

.item-add-edit .form-control {
  background-color: #ffffff;
  border: 1px solid #aaa;
  height: 29px;
  padding: 13px 12px;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  -o-box-shadow: none;
  outline: none;
}

.product-left-infos-mobile-add-edit {
  margin-top: 10px;
  display: none;
}

.product-left-infos-add-edit {
  margin-top: 10px;
}

.item-add-edit .product-left-infos .form-control,
.item-add-edit .form-control.product-titel-field,
.item-add-edit .product-left-infos-add-edit .form-control,
.item-add-edit .product-left-infos-mobile-add-edit .form-control,
.item-add-edit .form-control.product-description-field {
  height: auto;
}

.item-add-edit .form-control.sm {
  padding: 4px 22px 4px 8px;
}

.item-add-edit.edit .form-control::-moz-placeholder {
  color: #979797;
}

.item-add-edit.edit .form-control::placeholder {
  color: #979797;
}

.item-add-edit #artikelbezeichnung.form-control {
  font-size: 18px;
}

.item-add-edit .item-details .price .row {
  margin: 0 -5px 10px;
  align-items: center;
}

.item-add-edit .product-count .counter {
  justify-content: space-between;
  padding: 0 10px;
}

.item-add-edit .item-details .price .col-sm-1,
.item-add-edit .item-details .price .col-sm-2,
.item-add-edit .item-details .price .col-sm-9 {
  padding: 0 5px;
}

.item-add-edit .item-details .price .add-price {
  width: 30px;
  height: 30px;
  border-radius: 100%;
  background: #8fb3bb;
  color: #ffffff;
  text-align: center;
  padding: 0;
  line-height: 30px;
  outline: none;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  -o-box-shadow: none;
  font-size: 27px;
}

.item-add-edit .item-details .price .article-price {
  position: relative;
}

.item-add-edit .item-details .price > .price-wrapper button.remove {
  display: none;
}

.item-add-edit .item-details .price .add-price.remove {
  position: absolute;
  right: 4px;
  top: 3px;
  z-index: 1;
  width: 22px;
  height: 22px;
  line-height: 22px;
  font-size: 21px;
}

.item-add-edit .item-details #epoche,
.item-add-edit .item-details #jahr {
  min-width: 155px;
}

.item-add-edit .item-details .ort label input,
.item-add-edit .item-images label input,
.hint-box-global label input {
  display: none;
}

.item-add-edit .item-images .option {
  margin-bottom: 5px;
}

.item-add-edit .item-details .ort .option {
  margin-bottom: 2px;
}

.item-add-edit .item-details .ort .option {
  padding-left: 15px;
}

.item-add-edit .item-details .ort .option.square-checkbox {
  padding-left: 0px;
  line-height: 1;
}

.item-add-edit .item-details .ort .option label,
.item-add-edit .item-images .option label,
.hint-box-global .option label {
  position: relative;
  padding-left: 30px;
  font-weight: 400;
  font-size: 14px;
  color: #474747;
  margin-top: 0;
}

.item-add-edit .item-details .ort .option .checkmarks::before,
.item-add-edit .item-details .ort .option .checkmarks::after,
.item-add-edit .item-images .checkmarks::before,
.item-add-edit .item-images .option .checkmarks::after,
.checkbox-option-style .checkmarks::before,
.checkbox-option-style .checkmarks::after,
.hint-box-global .checkmarks::before,
.hint-box-global .checkmarks::after {
  content: "";
  width: 20px;
  height: 20px;
  position: absolute;
  left: 0;
  top: 0;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.25);
  -o-box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.25);
  border: 0;
}

.item-add-edit .item-details .ort .option .checkmarks::after,
.item-add-edit .item-images .checkmarks::after, .option.checkbox-option-style .checkmarks::after,
.hint-box-global .checkmarks::after {
  width: 20px;
  height: 20px;
  left: 0;
  top: 0px;
  box-shadow: none;
  background: #8FB3BB;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  opacity: 0;
  transform: scale(0);
}

.item-add-edit .item-details .ort .option input:checked + .checkmarks::after,
.item-add-edit .item-images .option input:checked + .checkmarks::after,
.option.checkbox-option-style input:checked + .checkmarks::after,
.hint-box-global .option input:checked + .checkmarks::after {
  opacity: 1;
  transform: scale(1);
}

.item-add-edit .item-details .ort .row {
  margin: 0 -5px;
}

.item-add-edit .item-details .ort .col-sm-9,
.item-add-edit .item-details .ort .col-sm-3 {
  padding: 0 5px;
}

.item-add-edit .item-details .farbe .colors {
  display: flex;
  display: -ms-flexbox;
  flex-wrap: wrap;
  margin-top: 15px;
}

.item-add-edit .item-details .farbe .colors input {
  display: none;
}

.item-add-edit .item-details .farbe .colors .check-mark {
  width: 25px;
  height: 25px;
  display: inline-block;
  margin-right: 10px;
  cursor: pointer;
  position: relative;
}

.item-add-edit .item-details .farbe .colors .check-mark:hover > .color-name {
  opacity: 1;
}

.item-add-edit .item-details .farbe .colors .check-mark::before {
  content: "";
  width: 16px;
  height: 16px;
  background: url(/images/downward-arrow-gray.png?34ea45320aea931584636a5cd2e28071) center center no-repeat;
  position: absolute;
  left: 4px;
  top: -22px;
  opacity: 0;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}

.item-add-edit .item-details .farbe .colors input:checked + .check-mark::before {
  top: -14px;
  opacity: 1;
}

.item-add-edit .item-images .row .upload-viewimg .item-img > img {
  transform: none;
}

.item-add-edit .color-palette .colors input:checked + .check-mark .color-name {
  opacity: 1;
}

.item-add-edit .dimension-fields {
  display: flex;
  display: -ms-flexbox;
  align-items: center;
}

.item-add-edit .dimension-fields .form-control {
  padding: 5px 12px;
}

.item-add-edit .dimension-fields .multiply {
  font-size: 20px;
  display: inline-block;
  margin: 0 10px;
}

.item-add-edit .product-condition {
  width: 100%;
  margin: 0 15px;
}

.item-add-edit .dimension-fields .unit {
  margin-left: 15px;
  flex: 0 0 100px;
}

.item-add-edit .dimension-fields .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 26px;
}

.item-add-edit .custom-dropdown .category-tab ul li a {
  font-size: 16px;
  font-weight: 500;
  color: #979797;
  line-height: 1.1;
  vertical-align: text-top;
}

.item-add-edit .custom-dropdown .category-tab ul li a.active {
  color: #000000;
}

.custom-dropdown .dropdown-wrap {
  padding: 10px;
  max-height: 400px;
  overflow-y: scroll;
  overflow-x: hidden;
}

.item-add-edit .custom-dropdown .label {
  font-size: 18px;
  padding-left: 12px;
}

.item-add-edit .custom-dropdown .label::after {
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  color: grey;
}

.item-add-edit .custom-dropdown.show .label::after {
  transform: translateY(-50%) rotate(180deg);
  -webkit-transform: translateY(-50%) rotate(180deg);
  -moz-transform: translateY(-50%) rotate(180deg);
  -o-transform: translateY(-50%) rotate(180deg);
}

.item-add-edit .custom-dropdown .btn-second-label {
  display: none;
  outline: none;
  border: 0;
  border-radius: 100%;
  background: none;
  color: #8fb3bb;
  font-size: 37px;
  line-height: 0;
  padding: 0;
  position: absolute;
  left: 20px;
  z-index: 10;
  top: 0;
}

/*-------------Optional Detail Separator---------*/
label.mandatory:after {
  content: "*";
}

.optional-details-separator {
  color: #8FB3BB;
  font-size: 0.85rem;
  text-align: center;
  padding-top: 1.5rem;
}

.optional-details-separator hr {
  background: #8FB3BB;
}

.edit_fundus .item-details .price .price-wrapper button.remove {
  display: block;
}

.edit_fundus .item-details .price .price-wrapper-default:first-of-type button.remove {
  display: none;
}

.item-add-edit .product-left-infos-mobile {
  margin-bottom: 20px;
}

.item-add-edit .left-infos-mobile-container-add-edit {
  margin-top: 30px;
}

.color-palette .color-name {
  position: absolute;
  bottom: -24px;
  left: 0px;
  font-size: 11px;
  font-weight: normal;
  margin: 0 auto;
  color: #979797;
  opacity: 0;
  left: 50%;
  transform: translateX(-50%);
}

.select2-container .select2-selection--single.product-dimension-unit {
  height: 29px;
  width: 70px;
}

.price-wrapper.price-wrapper-change select {
  padding-left: 10px;
  padding-right: 20px;
  outline: 0;
  box-shadow: none;
  background-color: #fff;
  border: 1px solid #aaa;
  border-radius: 4px;
  height: 29px;
  color: #979797;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  width: 100px;
  background: url(/images/tag-select-icon.jpg?e63ca58b5497bac72968f21d88471faa) 95% 50% no-repeat;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  height: 29px;
}

.checkbox-option-style label {
  position: relative;
  padding-left: 30px;
  font-weight: 400;
  font-size: 16px;
  color: #474747;
  margin-top: 0;
}

.checkbox-option-style {
  position: relative;
}

.checkbox-option-style input {
  width: 20px;
  height: 22px;
  position: absolute;
  opacity: 0;
  z-index: 10;
}

.price-wrapper.price-wrapper-change .article-price .col-sm-1 {
  color: #000;
  text-align: center;
}

.price-wrapper.price-wrapper-change .article-price .error {
  display: flex;
  flex: 0 0 100%;
  padding: 0 5px;
}

.price-row-parent .article-price-row.text-grey,
.product-detail .dls .dls-rgt.preis p.text-grey {
  color: #979797;
}

.price-row-parent .article-price-row,
.product-detail .dls .dls-rgt.preis p {
  line-height: 19px;
}

.product-detail .dls .dls-rgt.preis p {
  margin-bottom: 4px;
  line-height: 21px;
}

.fundus-notice-model .modal-lg {
  max-width: 640px;
}

.fundus-notice-model .modal-content h4.text-blue {
  color: #8FB3BB;
  font-weight: 400;
}

@media (min-width: 767.01px) and (max-width: 992px) {
  .item-add-edit .item-images {
    padding-right: 0;
  }
  .item-add-edit .custom-dropdown .category-tab ul li a {
    font-size: 13px;
  }
  .item-add-edit .custom-dropdown .dropdown-wrap {
    padding: 25px 10px;
  }
  .item-add-edit .custom-dropdown .category-tab .category-tab1-btn ul li {
    text-align: right;
  }
}
@media (max-width: 767px) {
  .item-add-edit .item-images .item-img img {
    overflow: hidden;
  }
  .item-add-edit .product-left-infos {
    margin-bottom: 20px;
  }
  .item-add-edit .product-left-infos-mobile-add-edit {
    margin-top: 10px;
    margin-bottom: 0;
    display: block;
  }
  .item-add-edit .product-left-infos-add-edit {
    display: none;
  }
  .item-add-edit .item-details {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .specific-item-details {
    margin-top: -20px;
  }
  .item-add-edit label.color {
    margin-bottom: 10px;
  }
  .item-add-edit .btns {
    text-align: right;
    margin-bottom: 0px;
    margin-top: 30px !important;
  }
  .item-add-edit .item-images {
    padding-right: 0;
  }
  .color-palette .color-name {
    bottom: -17px;
    font-size: 12px;
  }
  .custom-dropdown .category-tab > .row {
    margin: 0 -5px;
    justify-content: flex-end;
  }
  .item-details .custom-dropdown .category-tab > .row,
  .bulk-category-change .custom-dropdown .category-tab > .row {
    margin: 0 -5px;
    justify-content: flex-start;
  }
  .custom-dropdown .category-tab > .row > .col-sm-5,
  .custom-dropdown .category-tab > .row > .col-sm-4,
  .custom-dropdown .category-tab > .row > .col-sm-3,
  .product-detail-section .product-img .product-thumns .col-sm-3,
  .product_image_upload_row .col-sm-6 {
    flex: 0 0 50%;
    max-width: 25%;
    padding: 0 7px;
  }
  .item-details .custom-dropdown .category-tab > .row > .col-sm-4,
  .bulk-category-change .custom-dropdown .category-tab > .row > .col-sm-4 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 7px;
  }
  .custom-dropdown .category-tab > .row > .col-sm-4 > .category-tab-content {
    border-top: 1px solid #ccc;
    padding-top: 10px;
    margin-top: 10px;
  }
  .item-add-edit .dimension-fields .unit {
    flex: 0 0 65px;
    margin-left: 5px;
  }
  .item-add-edit .dimension-fields .multiply {
    margin: 0 5px;
  }
  .item-add-edit .custom-dropdown .category-tab .category-tab1-btn ul li {
    text-align: right;
  }
  .item-add-edit .custom-dropdown .dropdown-wrap {
    padding: 25px 10px;
  }
  .item-add-edit .custom-dropdown .category-tab ul li a {
    font-size: 13px;
  }
  .item-add-edit .custom-dropdown .category-tab > .row > .col-sm-4 > .category-tab-content {
    border: 0;
    margin: 0;
    padding: 0;
  }
  .item-add-edit .item-details .price .price-wrapper-change .row {
    flex-wrap: nowrap;
  }
  .price-wrapper.price-wrapper-change .article-price .col-sm-1 {
    flex: 0 0 20%;
  }
  .item-add-edit .item-details .price .row {
    margin: 0 -5px 20px;
  }
  .price-wrapper.price-wrapper-change .article-price .error {
    position: absolute;
    bottom: -18px;
    font-size: 12px;
  }
  .fundus-inquiries-row {
    margin-top: 0px;
  }
  .item-add-edit .item-details .price .price-wrapper.price-wrapper-change .add-price-plus, .item-add-edit .item-details .price .price-wrapper.price-wrapper-change .add-price.remove {
    right: 0;
    left: auto;
  }
  .favourite_main_section .edits-wrapper .hint_bookmarks .hint-box-global {
    left: 50px;
    top: 84px;
    border-bottom-left-radius: 14px;
    border-top-left-radius: 0;
  }
  .favourite-funds.prop-store .funds-list .funds-wrapper .hint-box-global.action-hintbox {
    right: 20px;
    bottom: 66px;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 0;
  }
  .favourite-funds.prop-store .funds-list .funds-wrapper .add-fundus-btn-wrap .hint-box-global {
    right: 10%;
    bottom: 34px;
  }
  .col-sm-6.secondary-img {
    max-width: 50%;
  }
}
