.elementor-14121 .elementor-element.elementor-element-bb8798a{width:auto;max-width:auto;}@media(max-width:767px){.elementor-14121 .elementor-element.elementor-element-bb8798a > .elementor-widget-container{padding:0px 18px 0px 18px;}}/* Start custom CSS for html, class: .elementor-element-bb8798a */.s-tab,
.inner-tab {
  display: flex;
  border: 0px solid red;
}

.inner-tab > *{
  margin-left: 38px !important;
}


.tab-change-control {
  width: 46px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 0px solid red;
}

.inner-tab-control {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 282px;
  border: 0px solid red;
}

.s-text {
  display: flex;
  flex-direction: column;
  grid-gap: 7px;
  pointer-events: none;
  max-width: 100px;
}

@media screen and (max-width: 1200px) {
  .s-content {
    margin: 0 !important;
  }

  div.inner-tab > div:first-child{
    margin-bottom: 45px;
  }

  div.s-tab > div:first-child{
    margin-bottom: 45px;
  }

  .inner-control-btn {
    flex-direction: column-reverse;
  }

  .inner-control-btn > div:first-child {
    margin-top: 10px;
  }

  .inner-tab-control {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 17px 31px;
  }

  .tab-change-control {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
  }
}

@media screen and (max-width: 414px) {
  div.inner-tab > div:first-child{
    margin-bottom: 23px;
  }

  div.s-tab > div:first-child{
    margin-bottom: 32px;
  }
}


@media screen and (min-width: 1024px) {
  .inner-tab-control {
    min-height: 412px;
  }
}

.s-tab * {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.s-tab {
  font-family: "Gilroy";
  color: #fff;
}

.s-heading {
  font-family: "Gilroy";
  font-weight: 900;
  font-size: 30px;
  line-height: 33px;
  margin-bottom: 11px;
}

.btn-inner-text {
  font-family: "Gilroy";
  font-weight: 900;
  font-size: 16px;
  transform: rotate(90deg);
  pointer-events: none;
}


.s-text h3 {
  font-family: "Gilroy";
  font-weight: 900;
  font-size: 20px;
  line-height: 20px;
}

.s-overlay p {
  font-family: "Gilroy";
  font-weight: 500;
  color: #cbc9c9;
  font-size: 16px;
}

.con1 {
  background: linear-gradient(
      179.81deg,
      rgba(0, 0, 0, 0) 0.17%,
      rgba(0, 2, 7, 0.5) 77.12%
    ),
    url(https://3lionsroofingconstruction.com/wp-content/uploads/2025/02/1.webp);
}
.con2 {
  background: linear-gradient(
      179.81deg,
      rgba(0, 0, 0, 0) 0.17%,
      rgba(0, 2, 7, 0.5) 77.12%
    ),
    url(https://3lionsroofingconstruction.com/wp-content/uploads/2025/02/2.webp);
}
.con3 {
  background: linear-gradient(
      179.81deg,
      rgba(0, 0, 0, 0) 0.17%,
      rgba(0, 2, 7, 0.5) 77.12%
    ),
    url(https://3lionsroofingconstruction.com/wp-content/uploads/2025/02/3.webp);
}
.con4 {
  background: linear-gradient(
      179.81deg,
      rgba(0, 0, 0, 0) 0.17%,
      rgba(0, 2, 7, 0.5) 77.12%
    ),
    url(https://3lionsroofingconstruction.com/wp-content/uploads/2025/02/4.webp);
}
.con5 {
  background: linear-gradient(
      179.81deg,
      rgba(0, 0, 0, 0) 0.17%,
      rgba(0, 2, 7, 0.5) 77.12%
    ),
    url(https://3lionsroofingconstruction.com/wp-content/uploads/2023/02/Roof-Inspection-2.webp);
}
.con6 {
  background: linear-gradient(
      179.81deg,
      rgba(0, 0, 0, 0) 0.17%,
      rgba(0, 2, 7, 0.5) 77.12%
    ),
    url(https://3lionsroofingconstruction.com/wp-content/uploads/2023/02/Roof-repair-2.webp);
}
.con7 {
  background: linear-gradient(
      179.81deg,
      rgba(0, 0, 0, 0) 0.17%,
      rgba(0, 2, 7, 0.5) 77.12%
    ),
    url(https://3lionsroofingconstruction.com/wp-content/uploads/2023/02/Roof-replacement-2.webp);
}
.con8 {
  background: linear-gradient(
      179.81deg,
      rgba(0, 0, 0, 0) 0.17%,
      rgba(0, 2, 7, 0.5) 77.12%
    ),
    url(https://3lionsroofingconstruction.com/wp-content/uploads/2023/02/New-Roof-Install-2.webp);
}
.con9 {
  background: linear-gradient(
      179.81deg,
      rgba(0, 0, 0, 0) 0.17%,
      rgba(0, 2, 7, 0.5) 77.12%
    ),
    url(https://3lionsroofingconstruction.com/wp-content/uploads/2023/02/Guuters-1.webp);
}
.con10 {
  background: linear-gradient(
      179.81deg,
      rgba(0, 0, 0, 0) 0.17%,
      rgba(0, 2, 7, 0.5) 77.12%
    ),
    url(https://3lionsroofingconstruction.com/wp-content/uploads/2023/02/Leaf-Gutter-Guards.webp);
}
.con11 {
  background: linear-gradient(
      179.81deg,
      rgba(0, 0, 0, 0) 0.17%,
      rgba(0, 2, 7, 0.5) 77.12%
    ),
    url(https://3lionsroofingconstruction.com/wp-content/uploads/2023/02/Tune-Ups.webp);
}

.ju_sa {
  justify-content: space-around;
}

.display_none {
  display: none !important;
  opacity: 0;
}

.s-main-btn-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #3c3c3c;
  border: 1px solid #a6a6a6;
  width: 46px;
  height: 115px;
  cursor: pointer;
}

.inner-tab {
  width: 1084px;

  border: 0px solid red;
}

.s-content {
  width: 765px;

  border: 0px solid red;
}

/* inner controll Btn */

.s-line {
  width: 100%;
  height: 1px;
  pointer-events: none;
  transition: all 300ms ease-in;
}

.inner-control-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;

  cursor: pointer;
}

.s-img {
  max-width: 112px;
  aspect-ratio: 1.3914772021369 / 1;
  pointer-events: none;
}

.s-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* content */

.con {
  height: 100%;
  width: 100%;
  background-color: #2b2b2b;
  border-radius: 10px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  opacity: 1;
  position: relative;
}

.s-overlay {
  padding: 0 207px 19px 27px;

  position: absolute;
  bottom: 0;
  border-radius: 0 0 15px 15px;
}

.diff-color {
  color: #f8d7a7;
}

.clicked_inner .s-line {
  background-color: #f3d1a0;
}

.s-m-on {
    background-color: #f3d1a0;
    transition: all 200ms ease-in;
    color: #333;
}

.s-main-btn-wrapper:hover {
    color: #333;
    background-color: #f3d1a0;
    transition: all 200ms ease-in;
}

.form_wrapper {
  width: 161px;
  height: 50px;
  background: #ffffff;
  border: 2px solid;
  border-image-source: linear-gradient(0deg, #000000, #000000),
    linear-gradient(0deg, #cfcfcf, #cfcfcf);
  border-radius: 4px;
}

#input-dol {
  font-size: 21px;
  width: 80px;
  outline: none;
  border: none;
}

h2 {
  font-size: 21px;
}

.itemwrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
  left: 10px;
}

.fade-in {
  animation: fade-in 500ms forwards;
}

.slide-in {
  animation: slide-in 800ms forwards;
}

@keyframes slide-in {
  0% {
    transform: translateX(20%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fade-in {
  0% {
    transform: translateY(20%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@media screen and (max-width: 1200px) {

  .s-text {
    max-width: 100%;
  }

  /* Tab Heading */
  .s-heading {
    font-size: 26px;
    line-height: 1.3em;
  }

  /* Tab Text */
  .s-overlay p {
    line-height: 17.6px;
  }

  /* tab */
  .con {
    height: 330px;
    object-fit: cover;
  }

  /* Controlls */
  .s-main-btn-wrapper {
    width: 30%;
    height: 46px;

    font-size: 16px;
    font-weight: 900;
    line-height: 1.3em;

    background-color: #5f5f5f;
    border: none;
  }

  .s-m-on {
    background: linear-gradient(
      87.06deg,
      #f8d7a7 0%,
      #e3c08c 51.09%,
      #cfaa73 99.37%
    );
    color: #000;
  }

  /* Tab and sub Control distant */

  /* sub Control and main control distant */
  .inner-tab-control {
    width: initial;
    margin: 0;
    margin-left: 24px !important;
    margin-right: 26px !important;
  }





  /* Img-inner */
  .s-img {
    max-width: 100%;
    width: 100%;
    height: 150px;
  }

  .s-img img {
    /* hover */
    border-radius: 5px;
  }

  .s-text h3 {
    text-align: center;
    font-size: 24px;
    line-height: 1.2em;
    font-weight: 900;
    margin: 0 10%;
  }

  .s-line {
    display: none;
  }

  .clicked_inner .s-img img {
    box-shadow: 0px 0px 15px 5px rgba(255, 255, 255, 0.25);
    transition: box-shadow 300ms ease-in;
  }

  .clicked_inner .s-text {
    color: #f3d1a0;
    transition: color 200ms ease-in;
  }

  .s-overlay {
    padding: 30px;
  }

  .s-tab,
  .inner-tab {
    flex-direction: column;
  }

  .btn-inner-text {
    transform: rotate(0deg);
    font-size: 20px;
  }

  .s-content {
    width: 100%;
  }

  .inner-tab {
    width: 100%;
  }
}

@media screen and (max-width: 414px) {
  .s-heading {
    font-size: 22px;
    line-height: 24.2px;
  }

  .s-overlay {
    padding: 0 21px 14px 12px;
  }

  .con {
    height: 261px;
  }

  .s-main-btn-wrapper {
    width: 105px;
    height: 46px;
  }

  .btn-inner-text {
    font-size: 16px;
  }

  .s-text h3 {
    font-size: 16px;
    line-height: 16px;
  }

  .s-img {
    max-width: 100%;
    width: 100%;
    height: 60px;
  }
}/* End custom CSS */