/* Variables */
:root {
  --body-color: rgb(247, 250, 252);
  --button-color: rgb(30, 166, 114);
  --accent-color: #0a721b;
  --link-color: #ffffff;
  --font-color: rgb(105, 115, 134);
  --body-font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 6px;
  --form-width: 400px;
}

/* Base */
* {
  box-sizing: border-box;
}
body {
  background: grey !important;
  font-family: var(--body-font-family);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

/* Layout */
.sr-root {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 980px;
  /* padding: 48px; */
  align-content: center;
  justify-content: center;
  height: auto;
  /* min-height: 100vh; */
  margin: 0 auto;
}
.sr-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  align-self: center;
  padding: 75px 50px;
  background: var(--body-color);
  width: var(--form-width);
  border-radius: var(--radius);
  box-shadow: 0px 0px 0px 0.5px rgba(50, 50, 93, 0.1),
  0px 2px 5px 0px rgba(50, 50, 93, 0.1),
  0px 1px 1.5px 0px rgba(0, 0, 0, 0.07);
}

.sr-field-error {
  color: var(--font-color);
  text-align: left;
  font-size: 13px;
  line-height: 17px;
  margin-top: 12px;
}



/* Inputs */
.sr-input,
input[type="text"] {
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 5px 12px;
  padding-left:45px;
  height: 44px;
  width: 100%;
  transition: box-shadow 0.2s ease;
  background: white;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}
.sr-input:focus,
input[type="text"]:focus,
button:focus,
.focused {
  /* box-shadow: 0 0 0 1px rgba(50, 151, 211, 0.3), 0 1px 1px 0 rgba(0, 0, 0, 0.07),
    0 0 0 4px rgba(50, 151, 211, 0.3); */
  outline: none;
  z-index: 9;
}
.sr-input::placeholder,
input[type="text"]::placeholder {
  color: var(--gray-light);
}
.sr-result {
  height: 44px;
  -webkit-transition: height 1s ease;
  -moz-transition: height 1s ease;
  -o-transition: height 1s ease;
  transition: height 1s ease;
  color: var(--font-color);
  overflow: auto;
}
.sr-result code {
  overflow: scroll;
}
.sr-result.expand {
  height: 350px;
}

.sr-combo-inputs-row {
  box-shadow: 0px 0px 0px 0.5px rgba(50, 50, 93, 0.1),
    0px 2px 5px 0px rgba(50, 50, 93, 0.1), 0px 1px 1.5px 0px rgba(0, 0, 0, 0.07);
  border-radius: 7px;
}

/* Buttons and links */
button {
  background: var(--accent-color);
  border-radius: var(--radius);
  color: white;
  border: 0;
  padding: 12px 16px;
  margin-top: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: block;
  box-shadow: 0px 4px 5.5px 0px rgba(0, 0, 0, 0.07);
  width: 100%;
}
button:hover {
  filter: contrast(115%);
}
button:active {
  transform: translateY(0px) scale(0.98);
  filter: brightness(0.9);
}
button:disabled {
  opacity: 0.5;
  cursor: none;
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  filter: brightness(0.8);
}

a:active {
  filter: brightness(0.5);
}

/* Code block */
code,
pre {
  font-family: "SF Mono", "IBM Plex Mono", "Menlo", monospace;
  font-size: 12px;
}

.rbtn-inline {
  display: inline-block; 
  padding: 20px;
}

/* Stripe Element placeholder */
.sr-card-element {
  padding-top: 12px;
  padding-left: 12px;
}

::placeholder{
  color:lightgrey;
  opacity: 0.3;
}

/* Responsiveness */
@media(max-width: 760px){
  [class*="col-"] {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .hideth-s-overflow {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 85px !important;
  }

  .col-s-0 {
    width: 0% !important;
    flex: 0 0 0% !important;
    max-width: 100% !important; 
    padding:0px !important 
  }

  .col-s-1 {
    width: 8.33% !important;
    flex: 0 0 8.33% !important;
    max-width: 100% !important;
  }

  .col-s-2 {
    width: 16.66% !important;
    flex: 0 0 16.66% !important;
    max-width: 100% !important;
  }

  .col-s-3 {
    width: 25% !important;
    flex: 0 0 25% !important;
    max-width: 100% !important;
  }

  .col-s-4 {
    width: 33.33% !important;
    flex: 0 0 33.33% !important;
    max-width: 100% !important;
  }

  .col-s-5 {
    width: 41.66% !important;
    flex: 0 0 41.66% !important;
    max-width: 100% !important;
  }

  .col-s-6 {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 100% !important;
  }

  .col-s-7 {
    width: 58.33% !important;
    flex: 0 0 58.33% !important;
    max-width: 100% !important;
  }

  .col-s-8 {
    width: 66.66% !important;
    flex: 0 0 66.66% !important;
    max-width: 100% !important;
  }

  .col-s-9 {
    width: 75% !important;
    flex: 0 0 75% !important;
    max-width: 100% !important;
  }

  .col-s-10 {
    width: 83.33% !important;
    flex: 0 0 83.33% !important;
    max-width: 100% !important;
  }

  .col-s-11 {
    width: 91.66% !important;
    flex: 0 0 91.66% !important;
    max-width: 100% !important;
  }

  .col-s-12 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .s-resize {
    padding: 30px;
    font-size: 15px;
  }

  .field-icon-s {
    position: absolute; 
    margin-top: 15px;
    color: lightgray;
  }

  .total-s-size {
    font-size:20px;
  }

  .field-s {
    width:80% !important;
  }

  .icon-collapsed {
    display: none !important;
  }

  .text-collapsed {
    padding-left:12px !important;
  }

  .receipt-body{
    color:gray; 
    background-color:rgb(247, 250, 252);
  }

  .receipt-spacing {
    margin-top:15px; 
    margin-bottom:15px;
  }

  .summary-body {
    background-color:#d3d3d382;
  }

  .summary-spacing {
    margin-top:20px; 
    margin-bottom:20px; 
    font-size:14px;
  }

  .summary-total {
    margin-top:20px; 
    margin-bottom:20px;
  }

  .abouts {
    padding-left:0px;
    margin-top: 20px; 
    font-size: 12px;
  }
}

@media(min-width: 761px) and (max-width:991px) {
  .hideth-m-overflow {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 110px !important;
  }

  .col-s-0 {
    width: 0% !important;
    flex: 0 0 0% !important;
    max-width: 100% !important; 
    padding:0px !important 
  }

  .col-s-1 {
    width: 8.33% !important;
    flex: 0 0 8.33% !important;
    max-width: 100% !important;
  }

  .col-s-2 {
    width: 16.66% !important;
    flex: 0 0 16.66% !important;
    max-width: 100% !important;
  }

  .col-s-3 {
    width: 25% !important;
    flex: 0 0 25% !important;
    max-width: 100% !important;
  }

  .col-s-4 {
    width: 33.33% !important;
    flex: 0 0 33.33% !important;
    max-width: 100% !important;
  }

  .col-s-5 {
    width: 41.66% !important;
    flex: 0 0 41.66% !important;
    max-width: 100% !important;
  }

  .col-s-6 {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 100% !important;
  }

  .col-s-7 {
    width: 58.33% !important;
    flex: 0 0 58.33% !important;
    max-width: 100% !important;
  }

  .col-s-8 {
    width: 66.66% !important;
    flex: 0 0 66.66% !important;
    max-width: 100% !important;
  }

  .col-s-9 {
    width: 75% !important;
    flex: 0 0 75% !important;
    max-width: 100% !important;
  }

  .col-s-10 {
    width: 83.33% !important;
    flex: 0 0 83.33% !important;
    max-width: 100% !important;
  }

  .col-s-11 {
    width: 91.66% !important;
    flex: 0 0 91.66% !important;
    max-width: 100% !important;
  }

  .col-s-12 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  
  .field-icon-m {
    position: absolute; 
    margin-top: 14px;
    color: lightgray;
  }
  
  .rbtn-m-inline {
    display: inline-block;
    padding: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    font-size: 16px;
    margin-left: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .sr-root {
    flex-direction: column;
    justify-content: flex-start;
    padding: 48px 20px;
    min-width: 320px;
  }

  .sr-header__logo {
    background-position: center;
  }

  .sr-payment-summary {
    text-align: center;
  }

  .sr-content {
    display: none;
  }

  .sr-main {
    width: 100%;
    height: 305px;
    background: rgb(247, 250, 252);
    box-shadow: 0px 0px 0px 0.5px rgba(50, 50, 93, 0.1),
      0px 2px 5px 0px rgba(50, 50, 93, 0.1),
      0px 1px 1.5px 0px rgba(0, 0, 0, 0.07);
    border-radius: 6px;
  }

  .total-size{
    font-size: 24px;
  }

  .receipt-body{
    color:gray; 
    background-color:rgb(247, 250, 252);
  }

  .receipt-spacing {
    margin-top:15px; 
    margin-bottom:15px;
  }

  .summary-body {
    background-color:#d3d3d382;
  }

  .summary-spacing {
    margin-top:20px; 
    margin-bottom:20px; 
    font-size:14px;
  }

  .summary-total {
    margin-top:20px; 
    margin-bottom:20px;
  }

  .abouts {
    padding-left:0px;
    margin-top: 20px; 
    font-size: 12px;
  }
}

@media(min-width: 992px){
  .field-icon {
    position: absolute; 
    margin-top: 14px;
    color: lightgray;
  }

  .total-size{
    font-size: 24px;
  }
  
  .sr-root {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 980px;
    /* padding: 48px; */
    align-content: center;
    justify-content: center;
    height: auto;
    /* min-height: 100vh; */
    margin: 0 auto;
  }

  .sr-header__logo {
    background-position: center;
  }

  .sr-payment-summary {
    text-align: center;
  }

  .sr-content {
    display: none;
  }

  .sr-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    align-self: center;
    padding: 75px 50px;
    background: var(--body-color);
    width: var(--form-width);
    border-radius: var(--radius);
    box-shadow: 0px 0px 0px 0.5px rgba(50, 50, 93, 0.1),
    0px 2px 5px 0px rgba(50, 50, 93, 0.1),
    0px 1px 1.5px 0px rgba(0, 0, 0, 0.07);
  }

  .hideth-overflow {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 120px !important;
  }

  .receipt-body{
    color:gray; 
    background-color:rgb(247, 250, 252);
  }

  .receipt-spacing {
    margin-top:15px; 
    margin-bottom:15px;
  }

  .summary-body {
    background-color:#d3d3d382;
  }

  .summary-spacing {
    margin-top:20px; 
    margin-bottom:20px; 
    font-size:14px;
  }

  .summary-total {
    margin-top:20px; 
    margin-bottom:20px;
  }

  .abouts {
    padding-left:0px;
    margin-top: 20px; 
    font-size: 12px;
  }

}

.search-btn {
  width: 45px;
  height: 45px;
  background-color: #0a721b;
  cursor: pointer;
  padding-top: 10px;
  margin-top: 10px;
  margin-left: 10px;
}

/* todo: spinner/processing state, errors, animations */

.spinner,
.spinner:before,
.spinner:after {
  border-radius: 50%;
}
.spinner {
  color: #ffffff;
  font-size: 22px;
  text-indent: -99999px;
  margin: 0px auto;
  position: relative;
  width: 20px;
  height: 20px;
  box-shadow: inset 0 0 0 2px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.spinner:before,
.spinner:after {
  position: absolute;
  content: "";
}
.spinner:before {
  width: 10.4px;
  height: 20.4px;
  background: var(--accent-color);
  border-radius: 20.4px 0 0 20.4px;
  top: -0.2px;
  left: -0.2px;
  -webkit-transform-origin: 10.4px 10.2px;
  transform-origin: 10.4px 10.2px;
  -webkit-animation: loading 2s infinite ease 1.5s;
  animation: loading 2s infinite ease 1.5s;
}
.spinner:after {
  width: 10.4px;
  height: 10.2px;
  background: var(--accent-color);
  border-radius: 0 10.2px 10.2px 0;
  top: -0.1px;
  left: 10.2px;
  -webkit-transform-origin: 0px 10.2px;
  transform-origin: 0px 10.2px;
  -webkit-animation: loading 2s infinite ease;
  animation: loading 2s infinite ease;
}

@-webkit-keyframes loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* Animated form */

.sr-root {
  animation: 0.4s form-in;
  animation-fill-mode: both;
  animation-timing-function: ease;
}

.hidden {
  display: none;
}

@keyframes field-in {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0px) scale(1);
  }
}

@keyframes form-in {
  0% {
    opacity: 0;
    transform: scale(0.98);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.spaces{
  margin-top: 10px;
}

.login-logo{
  font-size: 35px;
  text-align: center;
  margin-bottom: 25px;
  font-weight: 300;
  padding-top: 40px;
}
.login-logo a{
  color: #fff;
}

.input-icons { 
  width: 100%; 
  margin-bottom: 10px; 
} 

.icon { 
  padding: 10px; 
  color: lightgray; 
  min-width: 50px; 
  text-align: center; 
} 

.input-field { 
  width: 100%; 
  padding: 10px;
  text-align: left; 
} 
