/* calculator component */

.green-bg {
  background-color: var(--dark-green);
}

.calculator p {
  color: var(--white);
  margin-bottom: 12px;
}

.calc-custom-padding {
  padding: 50px 68px !important;
}

.purple-bg-m {
  background-color: var(--purple-light) !important;
  /* width: 58px; */
  color: var(--white);
}

.form-group .form-control {
  padding: 16px 28px;
  height: 58px;
  border-radius: 0;
  border: none;
  background-color: var(--gray4);
  color: var(--gray1);
}

.product-name {
  margin-bottom: 38px;
}

.input-group-with-unit-addon {
  display: flex;
  /*gap: 165px;*/
  gap: 65px;
  align-items: end;
}


.btn-bg {
  background-color: var(--warning-dark)!important;
  border: 2px solid var(--warning-dark)!important;
}

.v-bg-gray {
  background-color: var(--gray);
}

.volume {
  position: relative;
  padding-left: 54px;
  padding-top: 48px;
}

.volume p {
  color: var(--gray1);
}

.volume-size {
  /* width: 554px; */
  height: 100%;
}

.volume div {
  color: var(--gray1);
}

.v-text {
  font-size: 64px;
  color: var(--gray1);
}

.formula-aggregates-tonnes {
  position: relative;
  margin-top: 54px;
}

.formula-aggregates-tonnes::before {
  content: "";
  position: absolute;
  width: 18%;
  height: 2px;
  background-color: var(--warning-dark);
  bottom: 120px;
  left: 0;
}

@media (max-width: 1199px) {
  .volume {
    max-width: 478px;
  }
}

@media (min-width: 678px) and (max-width: 991px) {
  .volume {
    max-width: 392px;
  }

  .v-text {
    font-size: 40px;
    margin-top: 92px;
  }
}

@media (max-width: 767px) {
  .volume {
    width: 100%;
  }

  .v-text {
    font-size: 40px;
    margin-top: 92px;
  }

}

@media (min-width: 200px) and (max-width: 991px) {
  .calculator {
    display: block !important;
  }

  .estimate-concrete-custom-padding {
    padding: 30px 40px 0;
  }

  .custom-padding {
    padding: 50px 28px 20px 58px !important;
  }

  .calc-custom-padding {
    padding: 50px 34px !important;
  }

  .input-group-with-unit-addon {
    flex-direction: column;
    gap: 70px;
    align-items: flex-start;
    margin-bottom: 0 !important;
  }

  .flex-col {
    flex-direction: column;
  }

  .formula-aggregates-tonnes {
    margin-top: 40px;
  }

  .volume {
    padding-top: 24px;
    padding-bottom: 8px;
  }

  .v-text {
    margin-top: 16px;
  }

  .formula-aggregates-tonnes::before {
    bottom: 112px;
  }
}

@media (min-width: 768px) {
  .volume {
    max-width: 100%;
  }
}

.volume-v2::after {
  content: "";
  background: url(../images/group12451.png);
  background-repeat: no-repeat;
  /*background-size: contain;*/
  position: absolute;
  width: 90px;
  height: calc(100% - 160px);
  right: 28px;
  bottom: 30px;
  opacity:0.5;
}

@media (max-width:600px) {
  .volume-v2::after {
    width: 60px;
    height: calc(100% - 120px);
    right: 16px;
  }
}


@media (min-width:1024px) and (max-width:1279px) {
  .input-group-with-unit-addon {
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
  }

  .volume {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
  }

  .formula-aggregates-tonnes::before {
    bottom: 145px;
  }

  .custom-padding {
    padding: 74px 46px 50px 80px !important;
  }

}

@media (min-width:768px) and (max-width:1023px) {
  .volume-v2::after {
    width: 100px;
    height: calc(100% - 110px);
  }
}

@media (width: 1280px) {
  .input-group-with-unit-addon {
    gap: 40px;
    flex-direction: column;
    align-items: flex-start;
  }
}

.input-group-with-unit-addon-shape {
  margin-bottom: 0 !important;
}

.padding {
  padding: 50px;
}

.gray-bg {
  background-color: var(--gray);
}

.shape-calc {
  display: flex;
}

@media (min-width: 200px) and (max-width: 991px) {
  .shape-calc {
    flex-direction: column;
  }

  .width-full {
    width: 100%;
  }
}

@media (width:1024px) {
  .padding {
    padding: 34px;
  }
}

/* version 2 */
.formula-aggregates-tonnes-v2::before {
  content: "";
  position: absolute;
  width: 18%;
  height: 2px;
  background-color: var(--warning-dark);
  bottom: 120px;
  left: 0;
}

.v-text-v2 {
  font-weight: 600 !important;
  font-size: 36px;
  color: var(--gray1);
}

.volume-v2 div h3 {
  font-weight: 600 !important;
}

@media (width:1280px) {
  .volume-v2 {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
  }
}


.formula-aggregates-tonnes-v2 {
  position: relative;
  margin-top: 54px;
}

@media (max-width:500px) {
  .dimension {
    width: 100%;
  }

  .gap-23 {
    gap: 22px !important;
  }
}

@media (min-width:768px) and (max-width:1920px) {
  .dimension {
    width: 25%;
  }
}

@media (min-width: 200px) and (max-width: 991px) {
  .v-text-v2 {
    font-size: 40px;
    /* margin-top: 92px; */
  }

  .formula-aggregates-tonnes-v2::before {
    bottom: 120px;
  }
}

.volume-v2-01::after {
  content: "";
  background: url(../images/group12451.png);
  background-repeat: no-repeat;
  /*background-size: contain;*/
  width: 65px;
  height: calc(100% - 144px);
  position: absolute;
  right: 28px;
  bottom: 30px;
  opacity:0.5;
}

@media (max-width:767px) {
  .volume-v2-01::after {
    width: 54px;
    height: calc(100% - 116px);
  }
}

@media (min-width:768px) and (max-width:1023px) {
  .volume-v2-01::after {
    width: 54px;
    height: calc(100% - 114px);
  }
}

@media (min-width:1024px) and (max-width:1279px) {
  .input-group-with-unit-addon-v2 {
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
  }

  .volume-v2 {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
  }

  .formula-aggregates-tonnes-v2::before {
    content: "";
    position: absolute;
    width: 18%;
    height: 2px;
    background-color: var(--warning-dark);
    bottom: 148px;
    left: 0;
  }

  .volume-v2::after {
    width: 80px;
    height: calc(100% - 220px);
  }

  .volume-v2-01::after {
    width: 80px;
    height: calc(100% - 200px);
  }
}




@media (width:1280px) {
  .volume-v2::after {
    width: 86px;
    height: calc(100% - 240px);
  }

  .formula-aggregates-tonnes-v2::before {
    content: "";
    position: absolute;
    width: 18%;
    height: 2px;
    background-color: var(--warning-dark);
    bottom: 145px;
    left: 0;
  }


  .volume-v2-01::after {
    width: 90px;
    height: calc(100% - 156px);
  }
}

/* /version 2 */

.select1-calc::after {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  top: 38px;
  right: 32%;
  transform: rotate(180deg);
  transition-duration: 0.3s;
  border-style: solid;
  border-width: 0px 8px 8px;
  border-color: transparent transparent var(--white);
}
.volume div h3 {
  font-size: 36px;
}

.volume div h1 {
  font-size: 36px;
}

.pt-10 {
  padding-top: 10px;
}

.select-form-01 {
  padding: 10px 10px 10px 12px;
}

.select-form {
  text-align: center;
  appearance: none;
}

@media (max-width:1024px) {
  .flex_wrap {
    flex-wrap: wrap !important;
  }
  .volume-result, .v-text-v2{font-size:30px!important;font-weight:700!important;}
}


/* For Mozilla Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

/* For WebKit browsers (Chrome, Safari, Edge, Opera) */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.form-control-custom-padding {
  padding: 16px 8px !important;
}

.aggregates-tonnes{font-weight:600!important;}
.pt-40{padding-top:40px;}
@media screen and (max-width:767px){
    .pt-40{padding-top:20px;}
}


.btn.button1.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}


@media screen and (min-width:768px){
    .select1{width:58%!important}
}
/* /calculator component */






