.smartpack-calc-form .mc-button {
  border: none;
  background-color: #fff;
  border: 2px solid #E61A4E;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: #E61A4E;
  outline: none
}
.smartpack-calc-form .mc-button:not(.disabled):hover {
  background-color: #E61A4E;
  color: #fff;
}
.smartpack-calc-form .main-container {
  padding: 18px
}
.smartpack-calc-form .main-container   .submit-container {
  padding: 10px;
  margin: 0 0 18px;
  background-color: #e5ebec;
  padding: 22px 18px
}
.smartpack-calc-form .main-container {
  border: 2px solid #E61A4E;
  border-radius: 5px;
  margin-bottom: 20px;
}
.smartpack-calc-form .main-container  .submit-container .calculator-submit {
  padding: 8px 23%
}
/* //////////Contact form styles//////////// */
.hidden-elem {
  display: none;
}
.res-message{
  font-size: 22px;
  margin-top: 10px;
  color: #E61A4E;
  text-align: center;
}
.opr-form-sec {
  width: 100%;
  margin: 0 auto;
  padding: 10px;
  /* text-align: left; */
  box-sizing: border-box;
  text-align: center;
}

.calc-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.calc-form-row .opr-input {
  margin-right: 20px;
}
.calc-form-row .opr-input:nth-child(3) {
  margin-right: 0px;
}
.opr-input {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  text-align: left;
  margin-bottom: 20px !important;
}

.opr-clc-input {
  width: 100%;
  font-size: 19px !important;
  font-family: inherit;
  font-weight: 400;
  height: 40px !important;
  background: #fff !important;
  color: #000 !important;
  /* border: 1px solid black!important; */
  border-radius: 3px !important;
  padding: 0 10px !important;
  box-sizing: border-box;
}

/* form starting stylings ------------------------------- */
.md-group,
.md-group * {
  box-sizing: border-box;
}

.md-group {
  position: relative;
  margin-bottom: 45px;
}

.md-input {
  font-size: 18px;
  padding: 10px 10px 10px 5px;
  display: block;
  width: 100%;
  border: none;
}

.md-input:focus {
  outline: none;
}

.md-input:focus~label,
.md-input:not(:placeholder-shown)~label {
  top: -20px;
  font-size: 14px;
  color: #E61A4E;
}

/* LABEL ======================================= */
.md-label {
  color: #999;
  font-size: 18px;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  left: 5px;
  top: 7px;
  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
}

/* active state */
.md-input:focus~label {
  top: -20px;
  font-size: 14px;
  color: #E61A4E;
}

/* BOTTOM BARS ================================= */
.md-bar {
  position: relative;
  display: block;
  width: 100%;
}

.md-bar:before,
.md-bar:after {
  content: '';
  height: 3px;
  width: 0;
  bottom: 1px;
  position: absolute;
  background: #E61A4E;
  border-radius: 0px;
  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
}

.md-bar:before {
  border-bottom-right-radius: 0px;
}

.md-bar:after {
  border-bottom-left-radius: 0px;
}

.md-bar:before {
  left: 50%;
}

.md-bar:after {
  right: 50%;
}

/* active state */
.md-input:focus~.md-bar:before,
.md-input:focus~.md-bar:after {
  width: 50%;
}

/* HIGHLIGHTER ================================== */
.md-highlight {
  position: absolute;
  height: 60%;
  width: 100px;
  top: 25%;
  left: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* active state */
.md-input:focus~.md-highlight {
  -webkit-animation: inputHighlighter 0.3s ease;
  -moz-animation: inputHighlighter 0.3s ease;
  animation: inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
  from {
    background: #E61A4E;
  }

  to {
    width: 0;
    background: transparent;
  }
}

@-moz-keyframes inputHighlighter {
  from {
    background: #E61A4E;
  }

  to {
    width: 0;
    background: transparent;
  }
}

@keyframes inputHighlighter {
  from {
    background: #285A83;
  }

  to {
    width: 0;
    background: transparent;
  }
}

@media only screen and (max-width: 768px) {
  .calc-form-row {
    flex-direction: column;
    margin-bottom: 0px;
    
}
.smartpack-calc-form .main-container {
  padding: 10px;
}
.smartpack-calc-form .main-container .submit-container {

  padding: 10px;
}
}