:root {
  --gray-offset: rgba(0, 0, 0, 0.03);
  --gray-light: rgba(0, 0, 0, 0.4);
  --gray-mid: rgba(0, 0, 0, 0.7);
  --gray-dark: rgba(0, 0, 0, 0.9);
  --my-background: rgb(255, 255, 255);
  --my-h1-color: rgb(50, 50, 0);
  --my-h2-color: rgb(0, 50, 50);
  --home-item-color: rgb(80, 80, 80);
  --menu-background-colour: rgb(50, 50, 50, 0.9);
  --button-color: rgb(31, 94, 172);
  --body-color: var(--gray-mid);
  --dot-color: rgb(150, 150, 150);
  --dot-color-active: rgb(80, 80, 80);
  --accent-color: rgb(10, 250, 250);
  --body-font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  --link-color: blue;
  --link-hover-color: #459ee7;
  --tooltip-color: rgb(50, 50, 50, 0.8);
  --radius: 6px;
  --user-home-max-width: 800px;
  --user-home-margin: 10px;
  --slide-margin: 10px;
  --logo-color: rgb(219, 209, 181);
  --logo-margin: 20px;
}

/* Base */
html {
  box-sizing: border-box;
}

* {
  box-sizing: inherit;
}

body {
  background-color: var(--my-background);
  font-family: var(--body-font-family);
  font-size: 16px;
  color: var(--body-color);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--body-color);
  margin-top: 2px;
  margin-bottom: 4px;
}

h1 {
  margin-top: 30px;
  font-size: 27px;
  color: var(--my-h1-color);
}

h4 {
  margin-top: 10px;
  margin-bottom: 0px;
  font-size: 16px;
  color: black;
  font-family: Arial, Helvetica, sans-serif;
}

.tooltiptext {
  color: var(--tooltip-color);
  border-width: 1px;
  border-style: solid;
  border-color: var(--link-hover-color);
  border-radius: 5px;
  visibility: hidden;
  width: 200px;
  background-color: var(--my-background);
  text-align: center;
  position: absolute;
  z-index: 2;
  bottom: 105%;
  margin-left: 20px;
  opacity: 1;
  transition: opacity 0.3s;
  padding: 3px;
}

/* Layout */
.sr-root {
  width: 100%;
  min-width: 200px;
}

.all-header {
  margin-top: 20px;
  margin-bottom: 20px;
}

.all-header__logo {
  height: 48px;
  background-size: contain;
  background-repeat: no-repeat;
  width: 90%;
  background-position: left center;
  margin-left: var(--slide-margin);
}

.all-header__logo:after {
  white-space: pre;
  padding-left: 58px;
  display: block;
  color: var(--my-h1-color);
  font: 22px/48px Georgia, Garamond, Serif;
  font-weight: bold;
}

.sr-payment-summary {
  margin-bottom: 20px;
  text-align: center;
}

.sr-main,
.sr-content {
  text-align: center;
  flex-direction: column;
  height: 90%;
}

.sr-main {
  margin-left: var(--slide-margin);
  width: 100%;
}

.sr-content {
  display: none;
}

/* Form */
.sr-form-row {
  margin: 16px 0;
}

label {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  display: inline-block;
}


/* Buttons and links */
button {
  background: var(--button-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;
}

button:hover {
  filter: contrast(115%);
}

button:active {
  transform: translateY(0px) scale(0.98);
  filter: brightness(0.9);
}

button:disabled {
  opacity: 0.2;
  cursor: none;
}

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

a:hover {
  color: var(--link-hover-color);
}

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

/* Code block */
.sr-callout {
  background: var(--gray-offset);
  padding: 12px;
  border-radius: var(--radius);
  max-height: 200px;
  overflow: auto;
}

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

/* Responsiveness */
@media (min-width: 520px) {
  .sr-root {
    flex-direction: row;
    justify-content: center;
    padding: 10px;
  }

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

  .sr-content {
    display: block;
  }

}

@media screen and (max-width: 380px) {
  :root {
    --slide-margin: 0px;
    --user-home-margin: 0px;
  }
}

/* Pasha styles – Brand-overrides, can split these out */
:root {
  --headline-color: #ffffff;
}

.sr-main h1 {
  font-size: x-large;
  color: var(--my-h1-color);
  font-weight: 600;
  margin-bottom: 32px;
  margin-left: 150px;
}

.error-message {
  background-color: #000;
  color: #fff;
  display: none;
  font-weight: bold;
  left: 0;
  padding: 10px;
  position: fixed;
  text-align: center;
  top: 0;
  width: 100%;
}

.completed-view-section {
  width: 600px;
  background-color: white;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}


@media screen and (max-width: 520px) {
  .completed-view-section {
    width: 500px;
    border-radius: 0px;
    padding: 2px;
  }
}

/* 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);
  }
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

/* 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);
  }
}

button {
  width: 100%;
}

.login-container {
  margin-top: 20px;
  max-width: 500px;
  position: relative;
  margin-left: var(--slide-margin);
  margin-right: auto;
  font-weight: bold;
}


.form-group label {
  display: inline-block;
  width: 80px;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: bold;
}

.form-group input {
  display: inline-block;
  width: 250px;
}


.button-form-container {
  margin-top: 10px;
  margin-bottom: 10px;
  /* text-align: center; */
}

.button-form-container input {
  margin-top: 3px;
}

.checkbox-container {
  margin-top: 20px;
  margin-bottom: 10px;
  margin-left: 0px;
}

.checkbox-container label {
  margin-left: 5px;
  font-size: 18px;
  font-weight: bold;
}

.input-form-container label {
  display: inline-block;
  width: 80px;
  margin-top: 10px;
  margin-bottom: 10px;
  font-weight: bold;
}

.input-form-container input {
  display: inline-block;
  width: 250px;
}

.file-link {
  position: relative;
  margin-left: 5px;
  margin-right: 5px;
  font-weight: bold;
}

.login-link {
  position: relative;
  font-weight: bold;
  font-size: 16px;
}

.eula-link {
  margin-top: 30px;
  position: relative;
  font-weight: bold;
  font-size: 16px;
}

.home-button {
  display: inline-block;
  margin-top: 0px;
  font-size: 16px;
  width: 100px;
  height: 40px;
  background-color: var(--button-color);
  color: white;
  font: 18px/10px Georgia, Garamond, Serif;
  border-radius: 15px;
}

.cancel-view-section {
  margin-top: 0px;
  width: 500px;
  background-color: var(--my-background);
  border-radius: 16px;
  padding: 0px;
}

footer {
  margin-top: 20px;
  width: 700 px;
  height: 400 px;
  position: relative;
  margin-left: var(--slide-margin);
  color: var(--my-h2-color);
}

footer h2 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
}

.info-container {
  margin-left: var(--slide-margin);
  font-weight: bold;
  font-size: 18px;
}

.payment-method {
  margin-top: 20px;
  margin-left: var(--slide-margin);
}

.payment-method label {
  font-weight: bold;
  font-size: 18px;
}

table,
th {
  border: 1px solid black;
}

table td {
  text-align: center;
  border: 1px solid black;
  line-height: 20px;
}



.menu-bar {
  background-color: var(--menu-background-colour);
  width: auto;
  margin-right: auto;
  align-items: center;
  padding: 5px;
}

.menu-item {
  margin-left: 20px;
  font: 18px/20px Georgia, Garamond, Serif;
  color: white;
  display: inline-block;
}

.menu-bar a:hover {
  background-color: white;
  color: var(--menu-background-colour);
}


@media screen and (max-width: 520px) {
  .menu-item {
    margin-left: 10px;
    font: 14px/18px Georgia, Garamond, Serif;
    color: white;
  }
}

.sub-menu-item {
  margin-left: 10px;
  font: 18px/20px Georgia, Garamond, Serif;
  color: white;
  float: left;
  overflow: hidden;
}

.accept-cookies {
  margin-top: 10px;
  font-weight: bold;
  font-size: 16px;
}

.accept-cookies label {
  font-weight: bold;
  font-size: 16px;
}

.py-logo {
  width: 25px;
  height: 25px;
  transform: translate(0px, 7px);
}

.os-logo {
  margin-right: 5px;
  width: 25px;
  height: 25px;
  transform: translate(0px, 3px);
}

.os-logo-small {
  margin-right: 5px;
  width: 20px;
  height: 20px;
  transform: translate(0px, 3px);
}

.awt-logo {
  margin-right: 5px;
  width: 30px;
  height: 30px;
  transform: translate(0px, 3px);
}

.logo-text {
  margin-left: 57px;
  font: 22px Georgia, Garamond, Serif;
  transform: translate(0px, 10px);
  font-weight: bold;
  color: var(--my-h1-color);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  left: -5px;
  margin-left: 20px;
  display: none;
  position: absolute;
  background-color: var(--menu-background-colour);
  min-width: 200px;
  max-width: 280px;
  z-index: 1;
  padding: 10px 0px;
  border-radius: var(--radius);
}

/* Links inside the dropdown */
.dropdown-content a {
  color: white;
  padding: 5px 10px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: white;
  color: var(--menu-background-colour);
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/********************** Audio Container ********************/

.audio-container {
  vertical-align: middle;
  margin-top: 5px;
  margin-left: 10px;
}