/* This style css for Smartoffice ROI Calculator 
  Developed by Asraful
*/

@media (max-width:767px) {
  .roi .analog-meter {
    height: 200px;
    width: 100%;
  }
  .roi .pointer {
    bottom: 28%;
    height: 67%;
    left: 45%;
  }
  .roi {
    padding: 20px;
  }
  .roi .roi-meter-btn,.roi .roi-email-btn{
    padding: 19px 32px 24px 32px;
    font-size: 16px;
    line-height: 20px;
    cursor: pointer;
  }
  .roi #sanityLevel {
    font-family:  "Poppins",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
    font-size: 35px;
    font-weight: 600;
    line-height: 40px;
    letter-spacing: -0.02em;
    text-align: left;
    color: #CC0000;
  }
  .roi #calculator-form h3{
    font-family:  "Poppins",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 35px;
    letter-spacing: -0.02em;
    text-align: left;
    color: #58595b;
    }
}

@media (min-width:768px) {
  .roi .analog-meter {
    height: 300px;
    width: 540px;
  }
  .roi .pointer {
    bottom: 14%;
    height: 76%;
    left: 47%;
  }
  .roi {
    padding: 64px;
  }
  .roi .roi-meter-btn,.roi .roi-email-btn{
    padding: 19px 32px 24px 32px;
    font-size: 20px;
    line-height: 24px;
    cursor: pointer;
  }
  .roi #sanityLevel {
    font-family:  "Poppins",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
    font-size: 52px;
    font-weight: 600;
    line-height: 56px;
    letter-spacing: -0.02em;
    text-align: left;
    color: #CC0000;
  }
  .roi #calculator-form h3{
    font-family:  "Poppins",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
    font-size: 44px;
    font-weight: 600;
    line-height: 48px;
    letter-spacing: -0.02em;
    text-align: left;
    color: #58595b;
    }
}
.roi .analog-meter {
  position: relative;
  padding: 10px 10px 0px 0px;
  /* Replace with your image path */
  background-image: url('../img/one.png');
  background-size: contain;
  background-repeat: no-repeat;
  transition: 0.5s ease-in-out;
}
.roi .roi-meter-btn{
  border: none;
  border-radius: 8px;
  background-color:#CC0000;
  font-family:  "Poppins",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
  font-weight: 700;
  text-align: center;
  color: #FFFFFF;
  }
.roi .roi-email-btn{
  border: none;
  border-radius: 8px;
  background-color:#CC0000;
  font-family:  "Poppins",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
  font-weight: 700;
  text-align: center;
  color: #FFFFFF;
}
.roi .roi-meter-btn:hover{
  border: none;
  border-radius: 8px;
  background-color:#CC0000;
  font-family:  "Poppins",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
  font-weight: 700;
  text-align: center;
  color: #FFFFFF;
  }
.roi .roi-email-btn:hover{
  border: none;
  border-radius: 8px;
  background-color:#58595b;
  font-family:  "Poppins",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
  font-weight: 700;
  text-align: center;
  color: #FFFFFF;
} 
.roi .pointer {
  position: absolute;
  width: 32px;
  /* background-color: red; */
  background-image: url('../img/pointer.svg');
  background-repeat: no-repeat;
  transform-origin: bottom center;
  transform: rotate(-90deg);
  transition: transform 0.5s ease-in-out;
}

.roi {
  display: inline-block;
  /* background-color: aqua; */
  max-width: 1000px;
  border: 1px solid #9299A2;
  border-radius: 10px;
  box-shadow: 0px 8px 2px 0px #F0F1F3;
}
.roi  #calculator-form .form-label{
  color: #58595b;
  font-family:  "Poppins",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-align: left;
  margin:30px 0 0 0;
  
}
.roi #email-form .form-label{
  color: #0E0A0B;
  font-family:  "Poppins",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  margin:30px 0 0 0;
}
.roi #email-form .form-label span{
  color: #F81D25;

}
.roi #email-form .form-input{
  border: none;
  color: #4e4e4e;
  padding: 12px;
  border-radius: 4px;
  width: 100%;
  background: #F0F1F3;
}


.roi .sanity {
  font-family:  "Poppins",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  text-align: left;
  color: #58595b;
}

.roi #totalSavings {
  color: #CC0000;
  font-family:  "Poppins",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  text-align: center;
}

.roi .totalSavingsText {
  font-family:  "Poppins",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  color: #58595b;
}
.roi .blue-border{
  border-bottom: 4px solid #58595b;
}

.roi .range-slider {
  width: 100%;
  margin: 0 auto;
  position: relative;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}

.roi #range {
  -webkit-appearance: none;
  width: 100%;
}

.roi #range:focus {
  outline: none;
}

.roi #range::before,
.roi #range::after {
  position: absolute;
  top: 2rem;
  color: #333;
  font-size: 14px;
  line-height: 1;
  padding: 3px 5px;
  background-color: rgba(0, 0, 0, .1);
  border-radius: 4px;
}

.roi #range::-webkit-slider-runnable-track {
  width: 100%;
  height: 1rem;
  cursor: pointer;
  animate: 0.2s;
  background: linear-gradient(90deg, #CC0000 var(--range-progress), #F0F1F3 var(--range-progress));
  border-radius: 1rem;
}

.roi #range::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: 0.25rem solid #CC0000;
  box-shadow: 0 1px 3px rgba(0, 0, 255, .3);
  border-radius: 50%;
  background: #F0F1F3;
  cursor: pointer;
  height: 32px;
  width: 32px;
  transform: translateY(calc(-50% + 8px));
}

.roi #range-tooltip {
  position: absolute;
  top: -2.25rem;
}

.roi #range-tooltip span {
  position: absolute;
  text-align: center;
  display: block;
  line-height: 1;
  padding: 0.125rem 0.25rem;
  color: #fff;
  border-radius: 0.125rem;
  background: #CC0000;
  font-size: 1.25rem;
  left: 50%;
  transform: translate(-50%, 0);
}

.roi #range-tooltip span:before {
  position: absolute;
  content: "";
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-top-color: #CC0000;
}


/* Custom toggle switch styles */

.can-toggle {
  position: relative;
}
.can-toggle *, .can-toggle *:before, .can-toggle *:after {
  box-sizing: border-box;
}
.can-toggle input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}
.can-toggle input[type="checkbox"][disabled] ~ label {
  pointer-events: none;
}
.can-toggle input[type="checkbox"][disabled] ~ label .can-toggle__switch {
  opacity: 0.4;
}
.can-toggle input[type="checkbox"]:checked ~ label .can-toggle__switch:before {
  content: attr(data-unchecked);
  left: 0;
}
.can-toggle input[type="checkbox"]:checked ~ label .can-toggle__switch:after {
  content: attr(data-checked);
}
.can-toggle label {
  user-select: none;
  position: relative;
  display: flex;
  align-items: center;
}
.can-toggle label .can-toggle__label-text {
  flex: 1;
  padding-left: 32px;
}
.can-toggle label .can-toggle__switch {
  position: relative;
}
.can-toggle label .can-toggle__switch:before {
  content: attr(data-checked);
  position: absolute;
  top: 0;
  text-transform: uppercase;
  text-align: center;
}
.can-toggle label .can-toggle__switch:after {
  content: attr(data-unchecked);
  position: absolute;
  z-index: 5;
  text-transform: uppercase;
  text-align: center;
  background: white;
  transform: translate3d(0, 0, 0);
}
.can-toggle input[type="checkbox"][disabled] ~ label {
  color: rgba(234, 0, 48, 0.5);
}

.can-toggle input[type="checkbox"]:hover ~ label {
  color: #CC0000;
}
.can-toggle input[type="checkbox"]:checked ~ label:hover {
  color: #CC0000;
}
.can-toggle input[type="checkbox"]:checked ~ label .can-toggle__switch {
  background-color: #CC0000;
}
.can-toggle input[type="checkbox"]:checked ~ label .can-toggle__switch:after {
  color: #CC0000;
}
.can-toggle input[type="checkbox"]:checked:focus ~ label .can-toggle__switch, .can-toggle input[type="checkbox"]:checked:hover ~ label .can-toggle__switch {
  background-color: #CC0000;
}
.can-toggle input[type="checkbox"]:checked:focus ~ label .can-toggle__switch:after, .can-toggle input[type="checkbox"]:checked:hover ~ label .can-toggle__switch:after {
  color: #CC0000;
}
.can-toggle label .can-toggle__label-text {
  flex: 1;
}
.can-toggle label .can-toggle__switch {
  transition: background-color 0.3s cubic-bezier(0, 1, 0.5, 1);
  background: #F0F1F3;
}
.can-toggle label .can-toggle__switch:before {
  color: #58595b;
}
.can-toggle input[type="checkbox"]:checked ~  label .can-toggle__switch:before {
  color: #fff;
}
.can-toggle label .can-toggle__switch:after {
  -webkit-transition: -webkit-transform 0.3s cubic-bezier(0, 1, 0.5, 1);
  transition: transform 0.3s cubic-bezier(0, 1, 0.5, 1);
  color: #CC0000;
}
.can-toggle input[type="checkbox"]:focus ~ label .can-toggle__switch:after, .can-toggle input[type="checkbox"]:hover ~ label .can-toggle__switch:after {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4);
}
.can-toggle input[type="checkbox"]:checked ~ label .can-toggle__switch:after {
  transform: translate3d(65px, 0, 0);
}
.can-toggle input[type="checkbox"]:checked:focus ~ label .can-toggle__switch:after, .can-toggle input[type="checkbox"]:checked:hover ~ label .can-toggle__switch:after {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4);
}
.can-toggle label {
  font-size: 14px;
}
.can-toggle label .can-toggle__switch {
  height: 36px;
  flex: 0 0 134px;
  border-radius: 4px;
  cursor: pointer;
}
.can-toggle label .can-toggle__switch:before {
  left: 67px;
  font-size: 12px;
  line-height: 36px;
  width: 67px;
  padding: 0 12px;
}
.can-toggle label .can-toggle__switch:after {
  top: 2px;
  left: 2px;
  border-radius: 2px;
  width: 65px;
  line-height: 32px;
  font-size: 12px;
}
.can-toggle label .can-toggle__switch:hover:after {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4);
}
.can-toggle.can-toggle--size-small input[type="checkbox"]:focus ~ label .can-toggle__switch:after, .can-toggle.can-toggle--size-small input[type="checkbox"]:hover ~ label .can-toggle__switch:after {
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
}
.can-toggle.can-toggle--size-small input[type="checkbox"]:checked ~ label .can-toggle__switch:after {
  transform: translate3d(44px, 0, 0);
}
.can-toggle.can-toggle--size-small input[type="checkbox"]:checked:focus ~ label .can-toggle__switch:after, .can-toggle.can-toggle--size-small input[type="checkbox"]:checked:hover ~ label .can-toggle__switch:after {
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
}
.can-toggle.can-toggle--size-small label {
  font-size: 13px;
}
.can-toggle.can-toggle--size-small label .can-toggle__switch {
  height: 28px;
  flex: 0 0 90px;
  border-radius: 2px;
}
.can-toggle.can-toggle--size-small label .can-toggle__switch:before {
  left: 45px;
  font-size: 10px;
  line-height: 28px;
  width: 45px;
  padding: 0 12px;
}
.can-toggle.can-toggle--size-small label .can-toggle__switch:after {
  top: 1px;
  left: 1px;
  border-radius: 1px;
  width: 44px;
  line-height: 26px;
  font-size: 10px;
}
.can-toggle.can-toggle--size-small label .can-toggle__switch:hover:after {
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
}
/* boostrap css*/
.form-label {
  margin-bottom: .5rem;
}

.mt-3 {
  margin-top: 1rem!important;
}
.mb-3 {
  margin-bottom: 1rem!important;
}


.justify-content-center {
  justify-content: center!important;
}
/* Custom CSS for Bootstrap grid classes with media queries */

/* For large screens */
@media (min-width: 992px) {
  .roi .blue-border{
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 24px;
  }
  .align-self-end {
    align-self: flex-end!important;
  }
}

/* For medium screens */
@media (min-width: 768px) and (max-width: 991.98px) {
  .roi .blue-border{
    display: grid;
    grid-template-columns: 100%;
    gap: 24px;
  }
}

/* For small screens */
@media (max-width: 767.98px) {
  .roi .blue-border{
    display: grid;
    grid-template-columns: 100% ;
    gap: 24px;
  }
}

.rw {
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * 0);
  margin-right: calc(-.5 * 1.5rem);
  margin-left: calc(-.5 * 1.5rem)
}

.rw>* {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  margin-top:0;
}
.text-center{text-align: center;}
.text-danger{color:rgba(220,53,69,1)!important}
.text-success{color:rgba(25,135,84,1)!important}