:root {
  --primary-color: #b34524;
  --secondary-color: #166889;
  --neutral-color: #737380;
}

body {
  background-color: #f2f2f2;

  font-family: "Lato", sans-serif;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Raleway", sans-serif !important;
  font-weight: 900 !important;
}

h1,
h2 {
  color: var(--primary-color) !important;
}

h3,
h4,
h5 {
  color: var(--secondary-color) !important;
}

p,
i {
  color: var(--neutral-color);
  font-size: 12px;
}

label {
  font-size: 16px !important;
  color: var(--neutral-color) !important;
}

header {
  width: 100%;
  background-color: var(--secondary-color);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

section {
  width: 85%;
  height: auto;
  margin: 2% auto;
}

section > h3 {
  font-size: 25px !important;
}

main {
  margin-bottom: 55px;
}

footer {
  background-color: #f2f2f2;
  width: 100%;
  height: 50px;
  bottom: 0;
  text-align: center;
}

ol {
  padding: 0 15px;
}

ol li::before {
  font-weight: bold;
}

ol > li {
  margin: 5px 0;
  font-size: 14px;
}

ol > li > span {
  font-weight: bold;
  color: var(--secondary-color);
}

.ui.button.primary,
.ui.primary.button:hover {
  background-color: var(--primary-color);
}

.row {
  padding: 1rem 1rem !important;
}

.assessment-card {
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.welcome {
  margin-top: 10px !important;
  text-align: center;
  font-weight: bolder !important;
  font-size: 21px;
}

.rights > p {
  font-size: 12px;
  text-align: left;
}

.rights {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.rights > img {
  width: 100px;
  height: auto;
  margin-right: 5%;
}

.save-alert {
  font-size: 18px !important;
  margin-top: 0 !important;
}

.wrapper {
  width: 95%;
  height: 95%;
  margin: 1em 0 !important;
  box-shadow: 0px 3px 6px #00000029 !important;
  border-radius: 5px;
}

.language-wrapper {
  width: 95%;
  margin: 0 auto;
}

.language-wrapper-answering {
  width: 95%;
  margin: 0 auto;
}

.ui.ribbon.label {
  color: var(--secondary-color);
  text-transform: uppercase;
  border-bottom: 1px solid var(--secondary-color);
  margin-left: -20px;
}

.blue-box {
  border-bottom-style: solid;
  border-bottom-width: thick;
  border-bottom-color: var(--secondary-color);
  width: 50%;
  margin-bottom: 1%;
}

.blue-box > h2 {
  font-size: 18px;
}

.comp-bar-container {
  width: 100%;
  margin-top: 20%;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
}

.comp-bar {
  width: 100%;
  height: 20px;
  background-color: #e7e6e9;
  border-radius: 2px;
}

.mark-container,
.mark-container-pop,
.mark-medium {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  width: 1px;
  position: absolute;
  left: 0;
}

.mark-container {
  margin-top: -34px;
}

.mark-medium {
  left: 50%;
}

.mark-container-pop {
  margin-top: 0;
}

.mark,
.mark-pop,
.mark-medium {
  display: block;
  width: 2px;
  height: 20px;
}

.mark {
  background-color: var(--secondary-color);
}

.mark-container > span:first-child,
.mark-container > i {
  color: var(--secondary-color);
}

.mark-medium {
  background-color: #d1d2d3;
}

.mark-pop {
  background-color: var(--neutral-color);
}

.mark-container-pop > span:last-child,
.mark-container-pop > i {
  color: var(--neutral-color);
}

.mark-container > span:first-child,
.mark-container-pop > span:last-child {
  margin-bottom: -10px;
  font-size: 16px;
  font-weight: bold;
}

.mark-container-pop > span:last-child {
  font-size: 12px;
  line-height: 12px;
}

.mark-container > i,
.mark-container-pop > i {
  margin-bottom: -4px !important;
  margin-right: 0 !important;
  font-size: 30px;
}

.mark-container-pop > i {
  margin-top: -10px;
}

.segment {
  background-color: #fff;
  padding: 21px;
  border-radius: 5px;
  -webkit-box-shadow: 0px 3px 1px 0px rgba(0, 0, 0, 0.17);
  -moz-box-shadow: 0px 3px 1px 0px rgba(0, 0, 0, 0.17);
  box-shadow: 0px 3px 1px 0px rgba(0, 0, 0, 0.17);
}

.comp {
  padding: 0 !important;
  margin: 0 1rem !important;
  height: 70px;
}

.ui.stackable.grid > .row > .wide.column {
  padding: 0 !important;
  margin: 0 1rem !important;
}

.ui.stackable.grid > .row > .sixteen.wide.column {
  padding: 0 1rem !important;
  margin: 0 0rem !important;
}

.side-label {
  display: none;
}

.ui.modal > .header {
  font-size: 1em;
  text-align: center;
}

ui.button:disabled,
.ui.buttons .disabled.button,
.ui.disabled.active.button,
.ui.disabled.button,
.ui.disabled.button:hover {
  background-color: #838686 !important;
  color: rgba(0, 0, 0, 0.8) !important;
}

@media (min-width: 768px) {
  main {
    padding: 0 10em;
  }

  .language-wrapper {
    margin: 0 auto 140px;
    width: 722px;
  }

  .wrapper {
    margin-top: 0 !important;
    width: 722px;
    height: 674px;
  }

  .rights > img {
    width: auto;
    height: auto;
  }

  p {
    font-size: 16px;
  }

  .ui.ribbon.label {
    margin-left: -6px;
  }

  .comp {
    height: auto;
  }

  .comp-bar-container {
    margin-top: 0;
  }

  .welcome {
    font-size: 1.714rem;
  }

  .blue-box {
    width: 40%;
  }
}

@media only screen and (max-width: 767px) {
  .ui.modal {
    width: 81%;
    margin: auto -40%;
  }
}
