html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}
body {
  font-size: 100%;
}

.roi-widget {
  width: 100%;
  display: flex;
  justify-content: center;
}

.roi-widget__content {
  border: 2px solid #000;
}

@media only screen and (min-width: 64rem) {
  .roi-widget {
    
  }

  .roi-widget__content {
    width: 50%;
    padding: 4rem;
  }
}

.roi-widget h1, p {
  font-size: 1.125rem;
}

.roi-widget h1 {
  text-decoration: underline;
}

.roi-widget__section-header {
  background: #A6A6A6;
  color: #fff;
  padding: 0.5rem 0.5rem;
}

.roi-widget__section-header h1{
  color: #fff;
}

.roi-widget__section-header p {
  color: #fff;
}

.roi-widget__section-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
}

.roi-widget__section-row--nested {
  padding: 0.8rem 0;
}

.roi-widget__section-col-1, .roi-widget__section-col-2 {
  font-size: 1.125rem;
}

.roi-widget__section-col-1 {
  padding-left: 0.5rem;
  flex-basis: 50%;
}

.roi-widget__section-col-2 {
  padding: 0 0.5rem;
}

@media only screen and (min-width: 64rem) {
  .roi-widget__section-col-1 {
    padding-left: 0.5rem;
    flex-basis: 80%;
  }

  .roi-widget__section-col-2 {
    flex-basis: 20%;
    padding: 0;
  }
}
.roi-widget__input, .roi-widget__input-readonly, .roi-widget__input--nested {
  text-align: right;
  max-width: 7.8rem;
  padding: 0.2rem 0.3rem;
  font-size: 1rem;
}

.roi-widget__input-readonly {
  background: #D9D9D9;
  border-color: #D9D9D9;
  border-style: solid;
  color: #000;
}

.roi-widget__input-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.roi-widget__input--nested {
  text-align: right;
  max-width: 7.8rem;
  padding: 0.2rem 0.3rem;
  outline: 0;
}

.roi-widget__grand-total {
  font-weight: bold;
}

.roi-widget__validation-error {
  text-align: right;
  color: red;
}

.roi-widget__validation--fadein {
animation: fadeIn ease 1.5s;
-webkit-animation: fadeIn ease 1.5s;
-moz-animation: fadeIn ease 1.5s;
-o-animation: fadeIn ease 1.5s;
-ms-animation: fadeIn ease 1.5s;
}

@keyframes fadeIn {
0% {opacity:0;}
100% {opacity:1;}
}

@-moz-keyframes fadeIn {
0% {opacity:0;}
100% {opacity:1;}
}

@-webkit-keyframes fadeIn {
0% {opacity:0;}
100% {opacity:1;}
}

@-o-keyframes fadeIn {
0% {opacity:0;}
100% {opacity:1;}
}

@-ms-keyframes fadeIn {
0% {opacity:0;}
100% {opacity:1;}
}

.roi-widget__validation--fadeout {
  animation: fadeOut ease 1s;
  -webkit-animation: fadeOut ease 1s;
  -moz-animation: fadeOut ease 1s;
  -o-animation: fadeOut ease 1s;
  -ms-animation: fadeOut ease 1s;
}
@keyframes fadeOut {
  0% {
    opacity:1;
  }
  100% {
    opacity:0;
  }
}

@-moz-keyframes fadeOut {
  0% {
    opacity:1;
  }
  100% {
    opacity:0;
  }
}

@-webkit-keyframes fadeOut {
  0% {
    opacity:1;
  }
  100% {
    opacity:0;
  }
}

@-o-keyframes fadeOut {
  0% {
    opacity:1;
  }
  100% {
    opacity:0;
  }
}

@-ms-keyframes fadeOut {
  0% {
    opacity:1;
  }
  100% {
    opacity:0;
}
