/* Global Variables */
:root {
  --main-red: #c5050c;
  --color-red-darker: #a5050a;
  --main-type-grey: #333333;
  --main-nav-grey: #a1a1a1;
  --main-rules-grey: #cccccc;
  --main-bg-grey: #f2f2f2;
  --main-form-borders-grey: #e0e0e0;
  --main-black: #000000;
  --main-white: #ffffff;
  --color-primary: var(--main-red);
  --color-link: var(--main-red);
  --color-link-hover: var(--color-red-darker);
  --color-accent: var(--main-white);
  --color-form-error: var(--main-red);
  --color-form-label: var(--main-red);
  --color-bg-header: var(--main-white);
  --color-bg-footer: var(--main-red);
  --color-font-footer: var(--main-white);
  --main-fonts: 'Red Hat Text', Helvetica Neue, Helvetica, Roboto, Arial,
    sans-serif;
  --main-display-fonts: 'Red Hat Display', Helvetica Neue, Helvetica, Roboto,
    Arial, sans-serif;
  --default-bg-image: none;
  --main-s12: 0.667rem;
  --main-s13: 0.722rem;
  --main-s14: 0.778rem;
  --main-s15: 0.8333rem;
  --main-s16: 0.889rem;
  --main-s17: 0.944rem;
  --main-s18: 1rem;
  --main-s20: 1.111rem;
  --main-s21: 1.167rem;
  --main-s22: 1.222rem;
  --main-s24: 1.333rem;
  --main-s26: 1.444rem;
  --main-s28: 1.555rem;
  --main-s30: 1.666rem;
  --main-s32: 1.778rem;
  --main-s34: 1.889rem;
  --main-s36: 2rem;
  --main-s38: 2.111rem;
  --main-s40: 2.222rem;
  --main-s42: 2.333rem;
  --main-s45: 2.5rem;
  --main-s46: 2.556rem;
  --main-s48: 2.6rem;
  --main-s50: 2.778rem;
  --main-s52: 2.889rem;
  --main-s54: 3rem;
  --main-s58: 3.222rem;
  --main-s60: 3.333rem;
  --main-s72: 4rem;
}
body {
  background-color: var(--main-white);
}
header {
  padding: 0;
}
header .nav-inner-wrap {
  max-width: 1176px;
  margin: 0 auto;
}
header nav {
  background-color: var(--main-red);
  color: var(--main-white);
  font-size: var(--main-s14);
  font-weight: 400;
  text-align: right;
  height: 32px;
  line-height: 32px;
  display: none;
}
header nav ul {
  margin: 0;
  list-style-type: none;
  position: relative;
  display: inline-block;
  background: rgb(165, 5, 10);
  transform: skew(135deg);
  margin: 0px;
  height: 100%;
  padding: 0px 30px;
  margin-right: 60px;
}
header nav ul li {
  display: inline-block;
  height: 100%;
  padding: 0 0.5rem;
  text-align: right;
  margin: 0px;
  transform: skew(45deg);
}
header nav a {
  color: var(--main-white);
  text-decoration: none;
}
header nav a:hover {
  color: var(--main-white);
  text-decoration: underline;
}
header #inner-wrap {
  padding: 18px 35px;
  max-width: 808px;
  margin: 0 auto;
}
header #logo {
  width: 112px;
}

#loading-root {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

footer .links a:hover {
  color: var(--main-white);
}
/*styles for background slash to match uwa*/
footer {
  overflow: hidden;
  position: relative;
}
footer .decorative-slash:after {
  position: absolute;
  bottom: 0px;
  right: -65%;
  height: 600px;
  width: 200px;
  content: '';
  opacity: 0.5;
  transform: skew(135deg);
  z-index: 0;
  background-color: rgb(165, 5, 10) !important;
}
footer ul,
footer #left-wrap {
  z-index: 10;
  position: relative;
}

/* override default red heading color*/
h2,
h3 {
  color: #3c3c3c;
}

/* override section spacing for this app*/
.form-section {
  padding: 0 24px 12px;
}

/* override padding around form*/
#main-wrap {
  padding: 48px 0;
}
/* override sidebar margin top for the app*/
#bottom-sidebar {
  top: 48px !important;
}

@media only screen and (min-width: 450px) {
  footer .decorative-slash:after {
    right: -45%;
  }
}
@media only screen and (min-width: 630px) {
  header nav {
    display: block;
  }
  footer .decorative-slash:after {
    right: -25%;
  }
}
@media only screen and (min-width: 840px) {
  footer .decorative-slash:after {
    right: -80px;
  }
}
@media only screen and (min-width: 1206px) {
  header #inner-wrap {
    max-width: 1176px;
  }
  header nav ul {
    margin-right: 0;
  }
  footer .decorative-slash:after {
    right: 0;
  }
}
