/* ==========================================================================
   Hughes Electrical eBay Template Styles
   ==========================================================================
   Created: 2025
   Description: Custom eBay HTML/CSS listing template designed for use with 
                Linnworks and responsive mobile-first design via Bootstrap.
   Copyright: © 2025 Hughes Electrical. All Rights Reserved.
   ==========================================================================
*/


/* ---------------------------
       Navigation Bar
--------------------------- */

.nav-link-hover {
  position: relative;
  display: inline-block;
}

.nav-link-hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -23px;
  width: 0;
  height: 3px;
  background-color: #E30A17;

}

.nav-link-hover:hover::after {
  width: 100%;
}


/* ---------------------------
 Gallery & Slider Styles
--------------------------- */
.prevImageContainerLeft {
  margin-right: 0;
  display: inline-block;
  width: 100%;
}

.imagesect {
  margin: 0 auto;
  width: 100%;
}

.slider {
  margin: 0 auto;
  padding-top: 100%;
  position: relative;
  width: 100%;
  border: 1px solid #ccc;
}

.slider>img {
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px;
  height: 100%;
}

.slider input[name='slide_switch'] {
  display: none;
}

.slider label {
  border: 1px solid #b3b3b3;
  cursor: pointer;
  float: left;
  margin: 18px 14px 0 0;
  opacity: 0.6;
}

.slider label img {
  display: block;
  width: 70px;
  height: 68px;
}

.slider input[name='slide_switch']:checked+label {
  border-color: #666;
  opacity: 1;
}

.slider input[name='slide_switch']~img {
  opacity: 0;
}

.slider input[name='slide_switch']:checked+label+img {
  opacity: 1;
  transform: scale(1);
}


/* ---------------------------
 Product Title & Description
--------------------------- */
.titleText h1 {
  color: #5e5c5c;
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  padding: 10px 0;
}

.desc {
  font-size: 16px;
  font-family: "Open Sans", Arial, sans-serif;
}

.desc ul li {
  color: #5c5c5c;
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 5px;
  font-size: 14px;
}

.desc p {
  color: #5c5c5c;
  font-size: 14px;
}


/* ---------------------------
   Tabbed Content Styles
--------------------------- */

#content .tab-content {
  display: none;
}


#tabContainer {
  margin-top: 15px;
}

#tabContainer input {
  visibility: hidden;
}

#tabContainer label {
  color: #fff;
  cursor: pointer;
  display: block;
  float: left;
  padding: 10px 20px;
  text-align: center;
  text-transform: uppercase;
  margin: 0 0.25em 0 0;
  font-size: 13px;
}


#content {
  background: #fff;
  border: 1px solid #e0dede;
  min-height: 255px;
  position: relative;
  width: 100%;
  z-index: 5;
  overflow: auto;
}

#content span {
  opacity: 0;
  padding: 0;
  position: absolute;
  z-index: -100;
}

/* When a specific radio is checked, display its corresponding content */
#tabContainer input#tab-1:checked~#content #content-1,
#tabContainer input#tab-2:checked~#content #content-2,
#tabContainer input#tab-3:checked~#content #content-3,
#tabContainer input#tab-4:checked~#content #content-4 {
  display: block;
}


#content p {
  color: #000;
  font-size: 14px;
  font-weight: normal;
}


/* ---------------------------
   Miscellaneous
--------------------------- */
.cont {
  color: #5c5c5c;
  font-size: 14px;
}

.contentBox {
  text-align: center;
  background: #eaeaea;
  padding: 15px;
  margin-bottom: 15px;
}

.contentBox h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
  text-transform: uppercase;
}

#content .contentBox p {
  font-size: 14px;
  margin-bottom: 9px;
  line-height: 22px;
}

@media (max-width: 767px) {
  #tabContainer .d-flex {
    flex-wrap: wrap;
  }

  #tabContainer .d-flex label {
    flex: 1 1 50%;
    margin-bottom: 5px;
    text-align: center;
  }
}