#itemMediaContainer {
  margin-bottom: 50px;
  background: #fff;
  border: 1px solid var(--border-light);
}

#item-subnav{
  height: 50px;
  padding: 0px;
  z-index: 2;
  left: 0px;
  overflow-y: hidden;
  overflow-x: scroll;
}


* {box-sizing: border-box}
/*body {font-family: Verdana, sans-serif; margin:0}*/
.mySlides {
  display: none;
  /* background-color: #fff; */
/*  max-height: 425px!important;*/
}

.mySlides > img {
  border-radius: 10px;
  width: 100%; 
  height: 100%;
  max-height: inherit;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  object-position: center;
  display: block;
/*  margin-right: auto;*/
}

img {
  vertical-align: middle;
}

/* Slideshow container */
#slideshow-container {
  max-width: 1000px;
  max-height: 50vh;
  position: relative;
  margin: auto;
  display: inline;
}

.slideshow-media-container {
  display: block;
}

#itemSlideLoader {
  display: none;
  height: 75px;
  width: auto;
  position: relative;
  left: 45%;
  top: -300px;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  z-index: 2;
  width: 25px;
  height: 25px;
  line-height: 1.4;
  top: 50%;
  color: #fff!important;
  background-color: rgb(0 0 0 / 50%)!important;
   font-weight: bold; 
  font-size: 12px;
  transition: 0.6s ease;
  border-radius: 2px;
  padding: 3.5px 10px;
}

.post-content-media .prev,
.post-content-media .next {
  top: 50%!important;
}

/* Position the "next button" to the right */
.prev {
  left: 12px;
}

.post-content-media .prev {
  left: 1.5rem!important;
}

.next {
  right: 12px;
}

.post-content-media .next {
  right: 1.5rem!important;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.1);
  color: #fff!important;
}


/* Number text (1/3 etc) */
.numbertext {
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  font-size: 14px;
  /* line-height: 1.5; */
  /* font-weight: 500; */
  border-radius: 15px;
  padding: 0px 7.5px;
  position: relative;
  float: left;
  left: 10px;
  top: 35px;
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Six columns side by side */
.itemThumbnail {
  border-radius: 10px;
  float: left;
  width: auto;
  max-width: 33.33%;
  max-height: 150px;
  padding: 5px;
  opacity: 0.6;
}

.active,
.itemThumbnail:hover {
  cursor: pointer;
  opacity: 1;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 7.5px;
  width: 7.5px;
  margin: 0 2px;
  background-color: #bbb;
  /*border-radius: 50%;*/
  display: inline-block;
  transition: background-color 0.6s ease;
}

.item-ul-nav,
/*.item-nav-item,*/
.item-nav-link {
  line-height: inherit;
  font-weight: 500;
  list-style: none;
  width: fit-content;
  display: inline-flex;
  padding: 0px;
  text-align: center;
}

.item-ul-nav {
  width: 100%;
}


#saveItemSpecs {
  display: none;
}

#saveItemSpecs:hover {
  cursor: pointer;
}


.item-info-section {
  padding: 25px;
}

#item-contact-header {
  width: 100%;
  display: inline-flex;
  border-bottom: 1px solid var(--border-light);
  padding: 15px 5px;
  margin-bottom: 15px;
}


#appointmentBtn > span,
#directMessageBtn > span {
  vertical-align: baseline;
}

div#item-bids-div > #item-bid-body > .item-metric {
  display: inline-block;
  width: 100%;
  border: 1px solid var(--border-gray);
}

#itemAuctionLabel {
  font-size: 1.25em;
  padding: 5px;
}

#itemDeadlineIcon {
  margin: 0px;
  margin-left: auto;
}

div#item-bids-div > #item-bid-body > .item-metric > span {
  display: inline-flex;
}

div#item-bids-div > #item-bid-body > .item-metric > span > .exp_date {
  font-size: 1.25em;
  color: var(--ruby)!important;
  line-height: 1.8;
}

.itemBidHeader {
  border-top: 1px solid var(--lightgray);
  margin-top: 15px;
}

#item-bid-input-div {
  min-width: -webkit-fill-available;
  display: inline-flex;
  height: 70px;
  padding: 12.5px 0px;
  /* border-top: 1px solid var(--border-light); */
  border-bottom: 1px solid var(--border-light);
}

#newBidVal {
  padding: 5px 15px;
  margin: 5px;
  height: 37.5px;
  max-width: 175px;
  background: var(--primary-background)!important;
  border-radius: 25px;
  border: 1px solid var(--border-gray);
}

#item-highest-bid {
  border-bottom: 1px solid var(--border-light);
}

#item-bidList {
  padding-left: 0px;
  margin-top: 25px;
  overflow-y: scroll;
  height: -webkit-fill-available;
  max-height: 375px;
}

.item-bidListItem {
  background: #fff;
  padding: 0px;
  list-style: none;
  display: inline-grid;
  min-width: -webkit-fill-available;
  width: auto;
  height: 50px;
  padding: 5px;
  margin: 5px;
  border-bottom: 1px solid var(--border-light);
}

#highestBidVal {
  margin: 5px;
  color: var(--lightblue);
  font-size: 1.75rem;
  font-weight: 600;
  padding: 5px 0px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 15px;
}

.bidCard {
  display:inline-flex;
  min-width: inherit;
}

.bidPrice {
  font-size: 1.25rem;
  padding: 5px 10px;
  font-weight: 600;
  color: var(--primary-label);
}

.bid-trash {
  padding: 10px;
  color: var(--placeholder-gray);
}

#submitBidBtn {
  background: var(--orange);
  color: var(--secondary-label);
  float: right;
  margin: 5px;
  line-height: 1.35;
  height: 37.5px;
  border: none;
  padding: 7.5px 20px;
}

#item-description {
  margin-bottom: 25px;
  padding: 10px;
  padding-bottom: 30px;
  text-align: left;
  overflow-y: hidden;
}

.readMoreBox {
  height: 0px;
  box-shadow: 0px -15px 10px 20px #fff;
  position: relative;
  top: -15px;
  text-align: left;
  margin-bottom: 20px;
}

.readMoreLbl {
  height: 32.5px;
  border: 1px solid var(--tertiary-btn);
  width: 100px;
  padding: 5px 10px;
  position: relative;
  color: var(--tertiary-btn);
  font-size: 0.825rem;
  font-weight: 600;
  background: var(--primary-background);
  border-radius: 2.5px;
  transition: 500ms;
}

.readMoreBox:hover, .readMoreLbl:hover {
  cursor: pointer;
  background: var(--tertiary-btn);
  color: var(--secondary-label);
}

.scrtl_div {
  text-align:center;
  padding: 5px;
}

.itemDescrHeader {
  display: flex;
}

.itemDescrHeader:hover .editItemDescr {
  display: block;
  cursor: pointer;
}

#itemTitle:hover .editItemDescr {
  display: block;
  cursor: pointer;
}

#item-info-general {
  width: 100%;
  display: inline-flex;
}

#item-contact-avtr {
  position: relative;
  top: 45px;
  left: 35px;
  z-index: 2;
}

.item-fullname-user {
  font-weight: 700;
  font-size: 1.25rem;
}

.item-fullname-user:hover {
  cursor: pointer;
  text-decoration: underline;
}

#item-info-price {
  position: relative;
  text-align: right;
  font-weight: 600;
  font-size: 1.75rem;
  color: var(--darkblue);
}


#item-contact-btn{
  background: #ff6618;
  border-radius: 2.5px;
  color: #fff;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 20px;
  min-height: 40px;
  padding: 10px 20px;
  position: relative;
  text-align: center;
  transition: all ease-out .25s;
}

#item-contact-btn:hover{
  cursor: pointer;
  background: #e55b15;
  font-weight: 600;
}

#itemcontact-lbl {
  display: inline-flex; 
  margin-left: 5px;
  position: relative;
  /*top: -5px;*/
}


#item-specs-section-1,
#item-specs-section-2,
#item-specs-section-3 {
  /*padding: 25px;*/
}

#spec-card-container{
  display: inline-flex;
  margin-bottom: 10px;
}
  
#item_spec_card{
    margin-right: 10px;
    background-color: #fff;
    height: 175px;
    min-width: 33%;
    text-align: center;
}

#item_descr_title {
  text-align: left;
}

#item-description-div {
  padding: 0.75rem;
  display: grid;
  background-color: #fff;
  margin-bottom: 25px;
}

.itemSlideOptions {
  float: right;
  position: relative;
  top: 32px;
  height: 25px;
  color: #fff;
  display: inline-flex;
  width: fit-content;
  max-width: 55px;
  right: 10px;
  border-radius: 15px;
  padding: 1px 4px;
}

#itemSlideOptions:hover {
  background: rgba(0,0,0,0.4);
  cursor: pointer;
}

#dltItemSlide,
#addItemSlide {
  width: 24px;
  height: 24px;
  padding: 0px 4px;
}

#dltItemIcon:hover,
#addItemIcon:hover {
  color: #fff;
}

.newItemImgPrev {
  width: 186px;
  margin-top: 65px;
  height: 125px;
  object-fit: cover;
  display: block;
}

.dltItemImgPrev{
  height: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  font-size: 0.6rem;
  width: 187px;
  color: #989898;
  position: absolute;
  text-align: center;
  padding: 1px;
  top: 170px;
}

.dltItemImgPrev:hover {
  cursor: pointer;
  color: #fff;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 3.5s;
  animation-name: fade;
  animation-duration: 3.5s;
}

#editItem:hover {
  cursor: pointer;
}


label[for="editItemPencil"]:hover {
  cursor: pointer;
  text-decoration: underline;
}

#editItem:hover label[for="editItemPencil"] {
  /*display: block;*/
}

#editItemPencil {
  margin: 2.5px 5px;
  color: var(--primary-label);
}

#currentItemTitle:hover,
#item_descr_title:hover,
#specs-head:hover {
  cursor: pointer;
}

 {
  display: block;
}

#specs-head:hover .editItemSpec,
#currentItemTitle:hover .editItemSpec,
#itemTitleRow:hover .editItemSpec {
  display: block;
}

.itemSpecKey {
    font-size: 0.925rem;
    padding: 10px;
    color: var(--darkblue);
    font-weight: 600;
}

.editItemDescr,
.editItemSpec {
  margin-left: 5px; 
  padding-top:10px;
  display: none;
}

#specs-body {

}

/*td:first-child {
  max-width: 110px;
}
*/
tbody tr:nth-child(odd){
  background-color: var(--bs-body-bg);
}

.tdItem {
  padding: .25rem!important;
  border: none!important;
}

.itemSpecValue {
  font-size: 1rem;
  padding: 10px;
  font-weight: 400;
  display: inline-grid;
  width: 100%;
}

.currItemVal {
  font-size: 0.925rem;
  padding: 2.5px;
  color: var(--primary-text);
}

.newItemVal {
  position: relative;
  /*margin-left: auto;*/
}

.newItemSpecInput {
  float: right;
  display: none;
  width: 100%;
  border: none;
  margin-left: 15px;
  background: var(--aliceblue);
  line-height: 2;
  border-radius: 5px;
  padding: 5px 10px;
  color: var(--bs-dark-text-emphasis);
}

#itemLocationMap {
  height: 275px;
}

.publishItemContainer {
  margin-top: 75px;
  margin-bottom: 15px;
  position: relative;
  left: 15px;
  bottom: 0px;
  z-index: 2;
  padding: 0.3rem 13.5%;
  height: 50px;
  color: var(--primary-label);
  width: 100%;
  font-weight: 500;
  -webkit-box-shadow: inset 0px 0px 5px 0px var(--border-gray);
  box-shadow: inset 0px 0px 5px 0px var(--border-gray);
}

.publishItemContainer > #activate {
  padding: 7.5px;
}

.publishItemContainer > .toggle-switch .ts-label {
  font-weight: 600;
}

/*******************************************************/
/************** RELATED- & VIDEO ITEMS CAROUSEL *****************/
/*******************************************************/

#videoItems,
#relatedItems {
  overflow: hidden;
}

##videoItemsCarousel {
  height: 200px;
}

#videoItemsCarousel,
#relatedItemsCarousel {
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
  display: flex;
  padding: 5px;
}

.videoItem,
.relatedItem {
  height: fit-content;
  width: 240px;
  margin: 0.25rem;
}

.videoItemBody,
.relatedItemBody {
  height: 180px;
  width: inherit;
}

.videoItemMedia,
.relatedItemMedia {
  height: inherit;
  width: inherit;
  border: none;
}

.relatedItemFooter {
  height: 50px;
  width: inherit;
/*  position: absolute;*/
  padding: 0px 5px;
/*  bottom: 5px;*/
  display: inline-grid;
}

.riPrice {
  height: 25px;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  font-size: 0.925rem;
  color: var(--primary-text);
}

.riTitle {
  height: 25px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.riTitle:hover {
  text-decoration: underline;
  cursor: pointer;
  color: var(--secondary-title);
}


@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@media screen and (max-width: 1200px) {
  #item-bid-input-div {
    margin-bottom: 25px;
    display: inline-grid;
    width: 100%;
  }

  #newBidVal {
    max-width: 100%!important;
  }
}

@media screen and (max-width: 1144px) {
  #item-contact {
    top: 0px!important;
  }
}

@media screen and (max-width: 991px) {
  #item-slides,
  #item-thumbnails {
    max-width: 100%!important;
  }

  .mySlides > img {
    max-width: 100%!important;
    max-height: 100%!important;
  }
}

@media screen and (max-width: 768px) {
  #item-info-general {
    display: inline-block;
  }

  #item_spec_card{
      height: 175px;
      min-width: 100%;
      margin-top: 10px;
  }

  #spec-card-container {
      display: grid;
      margin-bottom: 0px;
  }

  .itemBtnIcon {
    display: none;
  }

/*  .prev, .next,.text {
    margin-top: 15vh!important;
  }*/

  #editItem {
    /*right: 15px;*/
  }

  .publishItemContainer {
    padding: 5px 15px;
  }

  #saveItemSpecs {
    width: 125px;
    margin-top: 1.5px;
    font-weight: 500;
    font-size: 0.725rem;
    padding: 10px;
    right: 15px;
    height: 35px;
  }


}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px;}
}

@media screen and (max-width: 768px){
  #item-root {
    padding: 0px;
  }

  #itemSlideOptions {
    /*left: 85%;*/
  }

/*  .numbertext {
    top: 60px;
  }*/
}

@media  screen and (max-width:650px) {
  #item-contact {
    position: relative;
    top: 0px;
    background: #fff;
    box-shadow: none!important;
  }

  #newBidVal {
    width: -webkit-fill-available;
    max-width: 100%!important;
  }

}; 

