

#twscta-container {
  position: relative;
}

.twscta_card-group {
    background: white;
    border-radius: 8px;
    padding: 20px;
}

.twscta_card:hover {
  border-color: #777;
  box-shadow: 0 0 0 3px #dd993359;
}

.twscta_heading {
  margin: 0 0 0px 0  !important;
  font-size: 1.1rem;
}

.twscta_text {
  color: #555;
  font-size: 0.9rem;
  margin: 0 0 0 10px  !important;
}

.twscta_card-option input:checked + .twscta_card {
    border-color: #dd9933;
    background: #dd993385;
}




.twscta-formpart{
    display: flex;
    flex-direction: column;
}

.twscta_card-option{
    margin: 10px 0;
}

.twscta_card-option input[type="radio"] {
  display: none;
}

.twscta_card{
    display: flex;
    align-items: center;
    /*border: 2px solid #ccc;*/
    border-radius: 8px;
    padding: 5px 10px;
    background: #eaeaea;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.twscta_formtext{
    flex-grow: 1;
  padding: 0 20px;
  display: flex;
}
.twscta_indicator{
    opacity: 0;
  height: 30px;
  fill: #d93;
  width: 30px;
  flex-shrink: 0;
}


.twscta_card-option input:checked + .twscta_card .twscta_indicator {
  opacity: 1;
}

.twscta_card-info{
    font-size: 0.9rem;
    opacity: 0.9;
}

.twscta_card-info svg {
  height: 25px;
  vertical-align: text-bottom;
  fill: black;
}

input.twscta_textarea{
    color: #555;
  font-size: 0.9rem;
  margin: 0px;
  border: none;
  background: #eaeaea;
  border-radius: 8px;
  padding: 10px 20px;
  margin: 10px 0;
}


.twscta-head {
  display: flex;
  align-items: baseline;
}

.twscta-head h1 {
  font-size: 1.2rem;
  width: 100%;
  text-transform: uppercase;
  font-weight: bold;
}

.twscta-subhead{
    text-align: left;
      color: gray;
      border-bottom: 2px solid gray;
      margin: 0 0 20px 0;
      padding: 0 0 10px 0;
}

.twscta_formheading {
font-size: 1.2rem;
font-weight: bold;
color: #d93;
}

.progress-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 0px;
  max-width:100%;
  width: 100%;
}

.progress-container::before {
  content: ""; /* must be added when using the ::before pseudoselector */
  background-color: grey;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 4px;
  width: 100%;
  z-index:1;
}


.progress {
  background-color: #dd9933;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%); /* centers the line vertically along the y-axis */
  height: 4px;
  width: 0%;
  z-index:1;
  transition: .4s ease;
}

.circle {
  background-color: grey;
  color: #fff;
  border-radius: 50%;
  height: 25px;
  width: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .4s ease;
  z-index: 2;
  cursor: not-allowed;
}

.circle svg {
  padding: 3px;
  box-sizing: border-box;
  fill: white;
}

.circle.active {
background: #d93;
color: #fff;
cursor: pointer;
}

.btn {
  background-color: #dd9933;
  color: #fff;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  padding: 8px 30px;
  margin: 5px;
  font-size: 14px;
}

.btn:active {
  transform: scale(.98);
}

.btn:focus {
  outline: 0;
}

.btn:disabled {
  background-color: grey;
  cursor: not-allowed;
}

.twscta_icon img{
    width: 30px;
}

.twscta-formslide{
    display:none;
    width: 100%;
}



.twscta-bottombuttonnext.twscta-ctafind{
    display: none;
}

.twscta-bottombuttonbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height:43px;
}

.twscta-bottombutton {
  background: #d93;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

.twscta-bottombutton.twscta-bottombuttonprev{
    background: #808080;
}


.twscta-formwrapper {
    display: none;
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 700px;
    z-index: 10;
    position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.twscta-formoverlay {
  width: 100%;
  height: 100%;
  display: block;
  position: fixed;
  background: #000000d6;
  z-index: 10;
  top: 0;
  left: 0;
  border-radius: 20px;
  display: none;
}

.twscta-stovebutton{
    display:none;
}




/* SLDER */
.twsctabanner_slider {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio → 9/16 = 0.5625 = 56.25% */
  overflow: hidden;
  border-radius: 20px;
}

.twsctabanner_slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  z-index: 1;
}

.twsctabanner_slide.active {
  display: block;
  z-index: 2;
}

/*
.twsctabanner_button{
    z-index: 4;
  position: absolute;
  right: 30%;
  bottom: 10%;
  font-size: 1.2rem;
  background: #dd9932;
  left: 30%;
  padding: 15px 40px;
}
*/



/* CTA PAGES */

figure.wp-block-image.size-full.cta_header_img {
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
}

.twscta-formhead {
  width: 100%;
}


.twscta_structuremorewrapper{
    padding-top: 20px;
}

.twscta_gallery{
    pointer-events: none;
}



.twscta_results_stove {
    display: none;
}

.twscta_resultbutton,
.twscta_results{
    display: none;
}



.twscta_results {
  background: #fff;
  width: 70%;
  border-radius: 10px;
  margin: 0 auto;
    margin-bottom: 0px;
    margin-left: auto;
  box-shadow: 0px 20px 40px #0000007d;
  margin-left: 15%;
  box-sizing: border-box;
  top: -100px;
  padding: 25px;
  position: relative;
  margin-bottom: -100px;
}

.twscta_resultbutton {
	background: none;
	width: 60%;
	border-radius: 10px;
	box-shadow: none;
	box-sizing: border-box;
	top: -130px;
	position: relative;
	margin: 0 20% -62px 20%;
	padding: 0;
}

.twscta_resultbutton a{
    width: 100%;
  background: #dc9832;
  box-shadow: 0px 5px 20px #0000008a;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: bold !important;
  max-width: 300px;
  margin: 0 auto;
  display: block;
  padding: 20px;
  animation: pulseShadow 3s ease-in-out infinite;
}

.twscta_resultbutton a:hover {
  background: black !important;
  color: #fff !important;
  box-shadow: 0px 5px 20px #ffffff8a;
}

/* Target the container for the product display */
.twscta_results_stove .product {
    max-width: 300px;
  margin: 0 auto;
}

.twscta_results_stove .products {
  justify-content: center;
}



.twscta_svgloader {
  height: 180px;
  margin: 0 auto;
  display: block;
  position: absolute;
  top: margin;
  margin: 0 auto;
  width: 100%;
  background: white;
  box-sizing: content-box;
  left: 0;
  padding: 100px 0;
  z-index: 9;
}

.twscta-formslide {
  height: 380px;
  position: relative;
}

.twscta_svgloader_content{
    display: none;
}

.twscta_svgloader_contentwrapper {
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.twscta_results .wp-block-button{
    text-align: center !important;
}

{
  padding-right: 50px;
  flex-shrink: 1;
}

.twscta-downloadable {
    transform: rotate(3.5deg);
    box-shadow: 0 10px 20px #9c9c9c;
    width: 80%;
    max-width: 200px;
  margin: 50px 0 0 50px;
  flex-shrink: 1;
  display: block;
}


.twscta-ctaskip {
  display: none;
  margin: 0 auto;
  text-decoration: none;
  font-size: 1rem;
  color: #4b4b4b !important;
}


.twscta_results .wp-block-button a {
  text-wrap: nowrap;
  margin: 10px;
}

.twscta-close {
  position: absolute;
  right: 5px;
  top: -30px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

.twscta-formslide .gfield_required {
  display: none !important;
}

.twscta_results h2{
    text-align: center;
  margin: 0;
}

.twscta_results_txt_above{
    display: none;
}



/* Animate the clip rectangle to reveal the orange fill from bottom up */
#reveal-rect {
    animation:
      fillUp 5s ease-in-out forwards;
}

@keyframes fillUp {
  from {
    y: 360; /* Start off screen (bottom of viewBox) */
  }
  to {
    y: 0;   /* Fully reveal */
  }
}


/* mobile */

@media only screen and (max-width: 850px) {

    .twscta-close {
      position: absolute;
      right: 15px;
      top: 15px;
      color: #000;
    }


    #twscta-container {
  z-index: 99999;
}

    .twscta-head {
      display: block;
    }

    .twscta-formwrapper {
      height: 100%;
      z-index: 99999;
    }

        .twscta_card-group{
      height: 100%;
      display: flex;
      align-items: baseline;
      flex-flow: column;
      justify-content: space-between;
      box-sizing: border-box;
    }

    .twscta-ctaskip {
      display: none;
      position: absolute;
      bottom: 30px;
      width: 100%;
      text-align: center;
    }

    .twscta_results {
    background: #fff;
    width: 100%;
    border-radius: 10px;
    margin: 0 auto;
    margin-bottom: 0px;
    margin-left: auto;
    box-shadow: 0px 20px 40px #0000007d;
    margin-left: 0;
    box-sizing: border-box;
    top: 20px;
    padding: 25px;
    position: relative;
    margin-bottom: 0;
}

.twscta_svgloader_contentwrapper {
  display: block;
  text-align: center;
}


.twscta_resultbutton {
  top: 0;
  position: relative;
  margin: -30px 20% 30px 20%;
}

.twscta-downloadable {
  transform: none;
  width: 100px;
  margin: 10px auto 0 auto;
  display: block;
}

}




/* animations */


@keyframes pulseShadow {
  0% {
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.25);
  }
  50% {
    box-shadow: 0 0 30px 20px rgba(0, 0, 0, 0.25);
  }
  100% {
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.25);
  }
}







/* SHORTCODE TWS FAQ */
.tws_faqcontainer{
  width: auto;
  margin: 10px 0;
  box-sizing: unset;
  background-color: #fff;
  box-shadow: 0px 5px 20px #ddd;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  position: relative;
}
.tws_faqbtn{
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 5px 15px;
}
.tws_faqicon{
  width: 20px;
  height: 20px;
  margin: 0 20px 0 0;
  flex-grow: 0;
  flex-shrink: 0;
  display: block;
  margin: 0 20px 0 0;
  padding: 0;
  line-height: 20px;
  -webkit-transition: 0.4s ease-in-out;
  -moz-transition: 0.4s ease-in-out;
  -o-transition: 0.4s ease-in-out;
  transition: 0.4s ease-in-out;
}

.tws_faqicon svg{
  fill: #dd9933;
}
.tws_faqheading{

}
.tws_faqcontent{
  display:none;
  padding: 15px;
  border-top: 1px solid #e6e6e6;
}
