/*
  ==============================
  Globals
  ==============================
*/

body {
  font-size: 14px;
  font-weight: 400;
  background-color: white;
  font-family: 'Neutral Std', 'Helvetica Neue', 'Arial', sans-serif;
  overflow: auto;
  padding: 10px 20px;
  height: 100%;
}

/*
  ==============================
  Article Title
  ==============================
*/

.article-title {
  font-weight: 500;
  font-size: 2rem;
  margin: 15px 0 15px 0;
  max-width: 1000px;
}

.article-updated {
  font-size: 12px;
  color: #717070;
  margin: 15px 0 15px 0;
  max-width: 1000px;
}

/*
  ==============================
  Article Body
  ==============================
*/

.article-body * {
  font-size: 16px;
  max-width: 1000px;
}

/* margins */
.article-body p {
  margin-bottom: 1rem;
}

.article-body ul,
.article-body ol {
  margin-bottom: 2rem;
}

.article-body ul ul,
.article-body ul ol,
.article-body ol ul,
.article-body ol ol {
  margin-bottom: 0;
}

.article-body hr {
  border-top: 1px solid #e9eff5;
  border-bottom: initial;
  border-right: initial;
  border-left: initial;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
  font-weight: 500;
}

.article-body h1 {
  font-size: 2rem;
}

.article-body h2 {
  font-size: 1.75rem;
}

.article-body h3 {
  font-size: 1.17em;
}

.article-body h5 {
  font-size: 0.83em;
}

.article-body h6 {
  font-size: 0.67em;
}

.article-body img,
.article-body video,
.article-body iframe {
  height: auto;
  max-width: 100%;
}

.article-body li {
  font-weight: initial;
  list-style-position: inside;
  margin: initial;
}

.article-body blockquote {
  padding: 0;
}

.article-body ol {
  list-style-type: decimal;
}

.article-body a {
  all: initial;
  padding: 0;
  color: #336dec;
  cursor: pointer;
  font-family: 'Neutral Std', 'Helvetica Neue', 'Arial', sans-serif;
}

.article-body span {
  background-repeat: no-repeat;
}

/*
  ==============================
  Article Survey
  ==============================
*/

.separatorWrap {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 2rem;
  margin: 1.5rem auto;
}

.separator {
  width: 4px;
  height: 4px;
  background-color: #54a0db;
  border-radius: 50%;
}

.article-survey-wrapper {
  text-align: center;
}

.article-survey-wrapper button {
  background-color: var(--primaryButtonColor);
  color: var(--primaryButtonTextColor);
  transition: color 0.1s ease-in-out, background-color 0.1s ease-in-out;
}

.article-survey-wrapper button:disabled {
  opacity: 0.65;
  pointer-events: none;
}

.article-survey-wrapper button:hover {
  cursor: pointer;
  background-color: var(--primaryButtonBackgroundHoverColor);
  color: var(--primaryButtonTextHoverColor);
}

.article-survey-rating-question {
  display: block;
  margin: 0 0 10px 0;
}

.article-survey-rating-button {
  border: none;
  border-radius: 8px;
  min-width: 80px;
  padding: 8px 15px;
  margin-right: 10px;
  box-shadow: 0 2px 6px 0 rgba(201, 201, 201, 0.5);
}

.article-survey-suggested-reasons-wrapper .label {
  font-weight: bold;
}

.article-survey-suggested-reasons-wrapper .form-field-checkbox-label {
  margin-top: 2px;
  margin-left: 5px;
}

.article-survey-writtenFeedback {
  position: relative;
}

.article-survey-writtenFeedback label {
  font-weight: bold;
  margin-bottom: 10px;
  display: block;
}

.article-survey-writtenFeedback .form-field-textarea {
  height: 90px;
  width: 100%;
  border-radius: 8px;
  box-sizing: border-box;
  padding: 10px;
  resize: none;
}

.form-field-textarea-charCount {
  position: absolute;
  right: 0;
}

.article-survey-submit-button {
  border: none;
  border-radius: 8px;
  min-width: 80px;
  padding: 8px 15px;
  margin: 5px 0 5px 0;
  box-shadow: 0 2px 6px 0 rgba(201, 201, 201, 0.5);
}

.article-survey-success-wrapper {
  color: #717070;
  margin: 5px 0 5px 0;
}

.form-field-checkbox-group {
  display: flex;
  align-items: flex-start;
  margin: 10px 0;
}

/*
  ==============================
  404 page
  ==============================
*/

.fourOhFour-wrap {
  padding: 1rem 0 1.5rem;
  text-align: center;
}

.fourOhFour-header {
  font-size: 0.6667rem;
  color: #576977;
  font-weight: bold;
  line-height: 16px;
  text-align: center;
  text-transform: uppercase;
  padding-bottom: 0.6667rem;
  width: 140px;
  margin: 0 auto 1.333rem;
  border-bottom: 3px solid #E9EFF4;
}

.fourOhFour-subheader {
  font-size: 1.4rem;
  margin-bottom: 1.333rem;
}

.fourOhFour-body {
  color: #576977;
}
