body,
html {
  height: 100%;
}

body {
  font-family: "Segoe UI", "MySegoeUI", -apple-system, BlinkMacSystemFont,
    Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";

  --theme-primary-background: #d7eaf8;
  --theme-primary-background-glow-high-contrast: #d7eaf8;
  --theme-primary-dark: #004173;
  --theme-primary-hover: #0065b3;
  --theme-primary-active: #00579a;
  --theme-primary-box-shadow: hsla(206deg, 100%, 35%, 0.3);
  --theme-primary-invert: #fff;
  --theme-secondary-base: #a2a2a2;
  --theme-secondary-background: #e6e6e6;
  --theme-secondary-background-glow-high-contrast: #e6e6e6;
  --theme-secondary-dark: #2f2f2f;
  --theme-secondary-hover: #d2d2d2;
  --theme-secondary-active: #d2d2d2;
  --theme-secondary-box-shadow: hsla(0deg, 0%, 0%, 0.3);
  --theme-secondary-invert: #000;
  --theme-tertiary-base: #243a5e;
  --theme-tertiary-background: #061329;
  --theme-tertiary-background-glow-high-contrast: #061329;
  --theme-tertiary-dark: #a4b2c9;
  --theme-tertiary-hover: #14294c;
  --theme-tertiary-active: #70819f;
  --theme-tertiary-box-shadow: hsla(262deg, 46%, 17%, 0.3);
  --theme-tertiary-invert: #fff;
  --theme-success-base: #107c10;
  --theme-success-background: #dff6dd;
  --theme-success-background-glow-high-contrast: #dff6dd;
  --theme-success-dark: #054b16;
  --theme-success-hover: #0b6413;
  --theme-success-active: #054b16;
  --theme-success-box-shadow: hsla(120deg, 37%, 45%, 0.3);
  --theme-success-invert: #fff;
  --theme-info-base: #8661c5;
  --theme-info-background: #efd9fd;
  --theme-info-background-glow-high-contrast: #efd9fd;
  --theme-info-dark: #3b2e58;
  --theme-info-hover: #8661c5;
  --theme-info-active: #624991;
  --theme-info-box-shadow: hsla(251deg, 47%, 18%, 0.3);
  --theme-info-invert: #fff;
  --theme-warning-base: #ffb900;
  --theme-warning-background: #fff4ce;
  --theme-warning-background-glow-high-contrast: #fff4ce;
  --theme-warning-dark: #6a4b16;
  --theme-warning-hover: #d19501;
  --theme-warning-active: #966802;
  --theme-warning-box-shadow: hsla(44deg, 100%, 50%, 0.3);
  --theme-warning-invert: #000;
  --theme-danger-base: #a80000;
  --theme-danger-background: #fde7e9;
  --theme-danger-background-glow-high-contrast: #fde7e9;
  --theme-danger-dark: #470001;
  --theme-danger-hover: #870000;
  --theme-danger-active: #630001;
  --theme-danger-box-shadow: hsla(0deg, 100%, 33%, 0.3);
  --theme-danger-invert: #fff;
  --theme-facepile-red: #a80000;
  --theme-facepile-teal: #328e9f;
  --theme-facepile-blue: #0078d4;

  --theme-text-subtle: #505050;

  --nav-max-width: 1170px;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  font-size: 16px;
  color: #171717;
}

.text-muted {
  color: var(--theme-text-subtle);
}

.competition-hero {
  display: none;
}
.sticky-wrapper {
  min-height: initial;
}
.sticky-wrapper .progress {
  display: none;
}

.flex {
  display: flex;
}

.flex-col {
}

.gap-5 {
  gap: 1.25rem;
}

.gap-10 {
  gap: 2.5rem;
}

.items-center {
  align-items: center;
}

.flex-col {
  flex-direction: column;
}

.grow {
  flex-grow: 1;
}

.justify-end {
  justify-content: flex-end;
}

.list-unstyled2 {
  padding-left: 0;
  list-style: none;
}
.list-unstyled2 li,
ul.list-unstyled2,
ol.list-unstyled2 {
  margin: 0;
}

.competition-list {
  display: flex;
  flex-wrap: wrap;
}
.competition-list .prize {
  color: #171717;
  text-align: right;
  display: block;
}
.competition-list .panel {
  outline-color: #171717;
  box-shadow: rgba(0, 0, 0, 0.13) 0px 1.6px 3.6px 0px,
    rgba(0, 0, 0, 0.11) 0px 0.3px 0.9px 0px;
  border-radius: 6px;
  overflow: hidden;
  background: white;
  padding-bottom: 15px;
  margin: 15px 0;
  min-height: 390px;
  display: flex;
  flex-direction: column;
}
.competition-list .panel p {
  font-size: 14px;
  color: #171717;
}

.competition-list .panel .end-date {
  color: #171717;
}
.competition-list .panel h3 {
  font-size: 16px;
  text-transform: none;
  font-weight: 600;
}
.competition-list .panel h3:hover {
  text-decoration: underline;
}
.competition-list .panel .image {
  margin-bottom: 1rem;
  height: 85px;
}
.competition-list .user {
  display: none;
}
.competition-list .panel .btn-link {
  font-size: 14px;
  color: var(--theme-facepile-blue) !important;
  font-weight: 600;
  text-transform: none;
  padding-top: 0;
  padding-bottom: 0;
}
.btn-link-dashed {
  background: transparent;
  border: none;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 2px;
}
.btn-link {
  color: var(--theme-facepile-blue) !important;
}
.btn-link:hover {
  text-decoration: underline !important;
}

.competition-list .row-user {
  padding-top: 1.5rem;
  padding-bottom: 0rem;
  border-top: 1px solid #e6e6e6;
}

hr {
  border-color: #e6e6e6;
}

.page-competitions {
  background: #f2f2f2;
}
.page-competitions .panel-container {
  margin-bottom: 2.5rem;
}

.navbar-default .navlink.nav-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.navbar-nav {
  display: flex;
  align-items: center;
}

.navbar-default .navbar-nav > li > a {
  margin-left: 20px;
  display: block;
}

.navbar ul {
  margin: 18px 0;
}
@media (max-width: 768px) {
  .navbar-nav {
    flex-direction: column;
    align-items: baseline;
  }

  .navbar-default .navbar-nav > li > a {
    margin: 5px 0 5px 0px;
  }
  .navbar-collapse.collapse ul {
    margin: 0;
  }

  .navbar-collapse.collapse {
    padding: 15px 15px;
    margin: 0 -15px;

    border-top: 1px solid #e6e6e6;
  }
}

.navbar {
  min-height: 58px;
  height: 58px;
  background: white;
  border-bottom: 1px solid #e6e6e6;
  z-index: 100;
}
.nav-brand,
.navbar-default {
  height: 54px;
  background: white;
}
.navbar-default .navlink {
  font-size: 14px;
  color: #171717;
  text-decoration-color: currentColor;
  text-decoration-line: none;
  text-decoration-style: solid;
  position: relative;
  text-transform: none !important;
}
.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-nav > li > a:hover
 {
  color: #171717;
  background: transparent;
  padding: 0;
  letter-spacing: normal;
}
.navlink:hover {
  color: #171717;
}
.navbar-wrapper .sign-up .navlink {
  color: var(--theme-facepile-blue) !important;
}

.active .navlink:after,
.navlink:hover:after,
.navlink[aria-current="true"]:after {
  border-bottom: 2px solid currentColor;
  bottom: -0.125rem;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
}

.navbar-collapse {
  background: white !important;
  padding: 0;
}

.navbar-wrapper {
  max-width: var(--nav-max-width);
  margin: auto;
  padding: 0 15px;
  background: white !important;
  border-bottom: 1px solid #e6e6e6;
}
.navbar-default .navbar-toggle:focus {
  outline: 2px solid var(--theme-facepile-blue) !important;
}
.navbar-default .navbar-toggle .icon-bar {
  border: 1px solid #222222;
}
.navbar-toggle {
  margin: 12px 0;
}
.row-user {
  height: 66px;
}
.competition-tabs ul {
  margin: 0;

  width: 100%;
  max-width: var(--nav-max-width);
  margin: auto;
  padding: 0 16px;
}
#div_id_email_opt_in {
  display: none;
}
::placeholder {
  color: #00000099 !important;
}
form.login input.checkboxinput {
  margin-top: 5px;
}
label > p:first-of-type {
  margin-top: -5px;
}
label,
.control-label {
  font-size: 16px;
  font-weight: 400;
}
#content-page legend h3 {
  border: none;
}

a,
a:hover {
  color: var(--theme-facepile-blue);
  outline-offset: -0.125rem !important;
}

#messages:focus {
  outline-color: currentColor;
  outline: dashed;
}

.alert {
  border: 0;
  font-size: 14px;
}

.panel,
.panel-heading,
.panel-body {
  border: 0;
  box-shadow: none;
}

.panel-title {
  font-weight: 600;
  margin-top: 10px;
}
.alert-danger,
.alert-danger .close,
.panel-danger,
.panel-danger > .panel-heading {
  background: rgb(253, 231, 233) !important;
  color: rgb(50, 49, 48) !important;
}

.alert-warning,
.alert-warning .close,
.panel-warning,
.panel-warning > .panel-heading {
  background: rgb(254, 217, 204) !important;
  color: rgb(50, 49, 48) !important;
}
.alert-success,
.alert-success .close,
.panel-success,
.panel-success > .panel-heading {
  background: rgb(223, 246, 221) !important;
  color: rgb(50, 49, 48) !important;
}
.alert-info,
.alert-info .close,
.panel-info,
.panel-info > .panel-heading {
  background: #f3f2f1 !important;
  color: #323130 !important;
}
 .alert a {
  color: inherit !important;
} 

ul,
ol,
p {
  color: #171717;
  font-size: 16px;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 160%;
  font-weight: 400;
}

#content-page li {
  margin-top: 1rem;
}

#content-page > h1,
#content-page > h2,
#content-page > h3,
#content-page > h4,
#content-page > h5,
#content-page > h6 {
  margin-bottom: 2.4rem;
}
#content-page > hr {
  border: 0;
  margin-bottom: 0;
}
#content-page > h2 {
  margin-top: 32px;
}

#content-page h1,
#content-page h2,
#content-page h3,
#content-page h4,
#content-page h5,
#content-page h6 {
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none !important;
  color: #171717;
  border-color: #f1f1f1;
}

#content-page > h1:first-of-type,
#content-page > h2:first-of-type,
#content-page > h3:first-of-type,
#content-page > h4:first-of-type,
#content-page > h5:first-of-type,
#content-page > h6:first-of-type,
#content-page > p:first-of-type {
  margin-top: 0;
}

.form-control:focus {
  outline: 1px solid var(--theme-facepile-blue) !important;
}
.form-control {
  box-shadow: none !important;
  color: #171717;
}
th,
td {
  font-size: 16px !important;
}

.table.scores-table th {
  border-color: white white #f1f1f1 white !important;
  padding-bottom: 2rem;
}

.table.scores-table tbody:before {
  content: "-";
  display: block;
  line-height: 1em;
  color: transparent;
}

code {
  color: rgb(23, 23, 23);
  background-color: rgb(230, 230, 230);
  border-radius: 3px;
  font-size: 85%;
  padding: 0.1em 0.2em;
}

.modal-header h4 {
  font-size: 20px;
}
.modal-header,
.modal-footer {
  background: transparent;
  border: none;
}

.pagination > li > a {
  color: #171717;
  font-size: 16px;
}
.pagination > .active > a {
  background-color: var(--theme-facepile-blue);
}
.btn {
  border-radius: 2px;
  transition: none;
  box-shadow: none !important;
  border: none !important;
  font-weight: 600;
}
.has-error .help-block,
.has-error .control-label,
.has-error .radio,
.has-error .checkbox,
.has-error .radio-inline,
.has-error .checkbox-inline {
  color: #d83b01 !important;
}
.has-error .form-control {
  border-color: #d83b01 !important;
}
#sign_up_btn {
  content: "e";
}
.btn-default {
  background: #efefef;
}
.btn-warning {
  background: #ffb900 !important;
  color: rgb(50, 49, 48) !important;
}
.btn-danger {
  background-color: #d83b01 !important;
  border-color: #d83b01 !important;
  color: var(--theme-primary-invert) !important;
}
.btn-success,
.btn-primary {
  background-color: var(--theme-facepile-blue) !important;
  border-color: var(--theme-facepile-blue) !important;
  color: var(--theme-primary-invert) !important;
}
.btn-success:hover,
.btn-primary:hover,
.btn-success:focus,
.btn-primary:focus,
.btn-success:active,
.btn-primary:active {
  background: var(--theme-primary-hover) !important;
  color: var(--theme-primary-invert) !important;
}

.sticky {
  background: #E8E6DF;
  color: #171717;
}

.sticky .nav-tabs .active a {
  color: white;
  border-bottom-color: white;
}
.sticky .nav-tabs a {
  color: white;
  text-transform: none !important;
}
.share-your-work {
  display: none;
}
.my-communities {
  display: none;
}
.profile-info {
  border: 0;
}
.profile-content h3,
.profile-content h4 {
  text-transform: none !important;
  border: 0;
  color: #171717;
  font-weight: 600;
  margin-top: 4rem;
  margin-bottom: 1rem;
  padding: 0;
  letter-spacing: normal;
}
.profile-competitions-list li a h5 {
  font-size: inherit;
  margin: 1rem 0;
}
.profile-competitions-list {
  margin-top: 2rem;
}
.profile-competitions-list li {
  border: 0;
  padding: 0;
}
.profile-header {
  margin-top: 0;
  color: white !important;
  background: var(--theme-tertiary-base);
}
.profile-header small,
.profile-header ul {
  color: white !important;
}

.eyebrow {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3.6px;
}

.user-body h4 {
  font-size: 16px;
}
.user-body small {
  font-size: 14px;
  text-transform: uppercase;
}

.sidebar .list-group {
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.sidebar .list-group br {
  display: none;
}

.sidebar .list-group-item {
  padding: 6px 16px !important;
  font-size: 14px;
  color: #171717;
  margin: 0;
  border: 0;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.sidebar {
  margin-top: 2rem;
}
.sidebar a.list-group-item:hover,
.sidebar a.list-group-item:focus {
  background: transparent;
}
.sidebar a.list-group-item:hover {
  color: #171717;
  text-decoration: underline;
  outline-offset: -0.125rem !important;
}
.sidebar a.list-group-item[aria-current="true"] {
  color: #171717;
  font-weight: 600;
  background: rgb(242, 242, 242);
}

.hero {
  margin: 0;
  color: #171717;
}
.hero-eyebrow {
  color: #171717;
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3.6px;
}
.hero-h1 {
  margin: 0 0 24px -3px !important;
  border: 0 !important;
  font-size: 34px !important;
  font-weight: 600;
  padding: 0 !important;
  color: #171717 !important;
}
.hero-body {
  font-size: 16px;
}

#main-container h1 {
  font-weight: 600;
  font-size: 32px;
}

#main-container h2 {
  font-weight: 600;
  font-size: 24px;
}

#content-page h3 {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f1f1;
}

.footer {
  padding: 0 16px;
  width: 100%;
  background-color: #E8E6DF;
}
.footer li a {
  color: #171717;
}
.footer .navlink:hover:after {
  display: none;
}
.footer .navlink:hover {
  text-decoration: underline;
  color: rgb(80, 80, 80);
}
.footer ul {
  width: 100%;
  max-width: var(--nav-max-width);
  margin: auto;
}

.register-content {
  text-align: left;
  margin-top: 2rem;
  margin-bottom: 0;
}
.sticky .register-content p {
  color: white;
}
.register-content .btn {
  margin-bottom: 0;
}
.register-content h3 {
  color: #171717;
  font-size: 14px;
}
.register-content .btn {
  font-size: 16px;
  padding: 1rem 2rem;
}
.sidebar .register-content {
  display: none;
}
.progress {
  padding: 0;
  border: 0;
  height: 2px;
  background-color: rgb(237, 235, 233);
}
.progress-bar {
  background: rgb(0, 120, 212);
  background-image: none !important;
}
.progress-bar-success {
  background-color: #107c10 !important;
}
#twit-container {
  display: none;
}
.sidebar a[href$="/rules/"] {
  display: none;
}
.page-login .alert-danger ul {
  list-style: none;
}

#leaderboard_loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding-top: 5rem;
}
#leaderboard_loading * {
  opacity: 0.1;
}
#leaderboard_loading:after {
  content: "Loading";
}

.page-login h1 {
  text-align: center;
  margin-bottom: 1em;
  margin-top: 5rem;
}

h1 {
  font-size: 20px;
}

:is(.page-login, .page-signup) :is(.navbar, .footer) {
  display: none;
}
.page-signup h1 {
  text-align: center;
  margin-top: 3em;
}
.page-signup small {
  text-align: center;
  display: block;
  margin-bottom: 5rem;
}

.home-header .eyebrow {
  margin: 0;
}
.home-header {
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  width: 100%;
  background-color: #E8E6DF;
}

.home-header-box {
  max-width: var(--nav-max-width);
  margin: auto;
  color: #171717;
  padding: 4em 1em;
}
.home-header-content {
  
}
.competition-header-image {
  width: 2000%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
}
.home-header-image {
  height: 100%;
  position: absolute;
  display: none;
  top: 0;
  right: 0px;
  object-fit: cover;
}
@media (min-width: 1200px) {
  .home-header-image {
    display: block;    
  }  
  .home-header-content {
    max-width: 80ch;
  }

  .competition-header-image {
    width: 100%;
  }

  .competition-header-h1 {
    max-width: 700px;
  }
}
.home-header-box p,
.home-header-box h1 {
  color: #171717;
}
.body-text {
  margin-top: 32px;
  margin-bottom: 20px;
}
.home-how-tiles {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  justify-items: center;
  align-items: center;
  gap: 2rem;
}
.home-how-tile {
  outline-color: #171717;
  box-shadow: rgb(0 0 0 / 13%) 0px 1.6px 3.6px 0px,
    rgb(0 0 0 / 11%) 0px 0.3px 0.9px 0px;
  border-radius: 20px;
  padding: 3rem 3rem;
  background: white;
  height: 100%;
}
@media (min-width: 1100px) {
  .home-how-tiles {
    grid-template-columns: repeat(3, 1fr);
  }
}
.home-how img {
  width: 56px;
  margin-top: -7rem;
}
.home-how h3 {
  font-weight: 600;
  font-size: 16px;
  margin-top: 0;
}
.home-how h2 {
  padding-bottom: 3rem;
}
.home-how p {
  margin-bottom: 0;
}
.homepage section h2 {
  font-weight: 600;
  margin-bottom: 0rem;
}
.home-how .btn {
  margin-top: 5rem;
}
.homepage section {
  padding: 5rem 0;
}

.home-overview {
  background-color: #F2F2F2;
}
.home-overview ul {
  margin-top: 3rem;
  margin-left: -2rem;
}
.home-overview li {
  margin-top: 2rem;
}

.home-overview-img {
  display: block;
  border-radius: 20px;
  max-width: 100%;
  height: auto;
}

.results-sidebar:before {
  content: "Results";
  font-size: 16px;
  color: #171717;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.results-sidebar p {
  font-size: 14px
}
.results-sidebar h3 {
  font-size: 16px;
  font-weight: 600;
}
.results-sidebar h6 {
  margin-top: 0.3em;
}

.row-benchmark {
  border-left: 3px solid var(--theme-warning-base);
}

.table.scores-table tr.warning {
  border-left: 3px solid var(--theme-facepile-blue);
}
.table.scores-table tr.warning>td {
  background: transparent;
}

a.list-group-item.active > .badge,
a.list-group-item > .badge {
  background: transparent;
  color: #171717;
  padding: 0.5em;
}

/* Call out if a link opens in a new tab (to screen readers only) */
#content-page a[target="_blank"]:after {
  content: " (opens in new tab)";
  /* .sr-only */
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}  

.well {
  background-color: #fff;
  border-color: #0000;
  border: 1px solid #fff0;
  box-shadow: 0 1.6px 3.6px 0 #00000021, 0 0.3px 0.9px 0 #0000001c;
  color: #171717;
}
