html {
  height: 100%;
  font-size: 100%;
  scroll-behavior: smooth;
}

.learnpage {
  width: 970px;
}

.footnote {
  font-size: 12px;
  line-height: 14px;
  margin-top: 8px;
}

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

.clear:before, .clear:after {
  content: "\0020";
  display: block;
  height: 0;
  overflow: hidden;
}
.clear:after {
  clear: both;
}

@media screen and (max-width: 319px)
{
  .learnpage {
    width: 100%;
  }
}

@media screen and (min-width: 320px) and (max-width: 599px) {
  .learnpage {
    width: 320px;
    margin: 0 auto;
  }
}

@media screen and (min-width: 600px) and (max-width: 969px) {

  .learnpage {
    width: 600px;
    margin: 0 auto;
  }
}

/* Datepicker customizations */
.datepicker td, .datepicker th {
  background-color: transparent;
  color: #333;
  line-height: 1em;
}

/* Share buttons */
.share-buttons {
  margin: 0;
}
.share-buttons button {
  width: auto;
  height: auto;
  margin: 10px 10px 0 0;
}
.share-buttons button i {
  padding-right: .5em;
}

/* Promote page */
#promote-page h1 {
  float: left;
  width: 800px;
}
#promote-page .section {
  clear: both;
  margin: 0 0 20px 0;
}
#promote-page h2 {
  margin-bottom: 10px;
}

#promote-page .download-fact-sheet a:link,
#promote-page .download-fact-sheet a:visited {
  color: #c8c8c8;
}
#promote-page .download-fact-sheet a:hover,
#promote-page .download-fact-sheet a:active {
  color: #c8c8c8;
  text-decoration: underline;
}
#promote-page .main-video {
  float: left;
  width: 586px;
  margin: 0 0 20px 0;
}
#promote-page .share-buttons {
  float: left;
}
#promote-page .youtube-channel-link {
  float: right;
  margin: 15px 0 0 0;
}
#promote-page .other-videos {
  float: right;
  width: 380px;
}
#promote-page .other-videos h3 {
  margin: 0 0 20px 20px;
}
#promote-page .other-video {
  width: 170px;
  float: left;
  margin: 0 0 20px 20px;
}
#promote-page .other-video-odd {
  clear: left;
}
#promote-page .other-video img {
  width: 100%;
  max-width: 100%;
}
#promote-page .other-video-caption {
  font-size: 12px;
  line-height: 1.2em;
  margin: 5px 0 0 0;
}

#promote-page .all-quotes-link,
#promote-page .full-infographic-link {
  float: left;
  margin: 15px 0 0 20px;
}

.stats-sources-link {
  float: left;
  font-size: 16px;
  margin: 0;
}
.stats-sources-link a {
  font-weight: normal;
}

#congress-right {
  margin: 0 0 2em 0;
}

/* Share Certificate page */
#hoc-certificate {
  width: 100%;
}
#hoc-certificate img {
  width: 100%;
  max-width: 100%;
}

/* Contact Us page */
#contact-us-form {
  width: 480px;
  max-width: 100%;
}
#contact-us-form #contact-message {
  height: 240px;
}

/* UK Resources page */
.resources-item {
  clear: both;
  margin: 0 0 40px 0;
}
.resources-item:before, .resources-item:after {
  content: "\0020";
  display: block;
  height: 0;
  overflow: hidden;
}
.resources-item:after {
  clear: both;
}
.resources-item .resources-logo {
  float: left;
  width: 240px;
  margin: 0 20px 0 0;
  text-align: center;
}
.resources-item .resources-logo img {
  max-width: 100%;
  display: inline;
}
.resources-item p {
  float: right;
  width: 700px;
}
#error-message {
  color: #b94a48;
  font-weight: bold;
  margin: 1em 0;
}
.form-required-field {
  color: #f00;
}

/* Forms */
.radio-inline, .checkbox-inline,
.radio-inline+.radio-inline, .checkbox-inline+.checkbox-inline {
  margin-left: 0;
  margin-right: 2em;
}

.letter {
  margin-left:5%;
  margin-right:30%;
}

.letternames {
  margin-left:5%;
  margin-right:27%;
}

.wideletternames {
  margin-left:5%;
}

#signup-closed {
  font-weight: 900;
  margin-bottom: 25px;
}

/* Styling for items in the OneTrust cookie banner */

/*
   We have some default styling which adds bullet points on <li> items, but we
   don't want to see those in the OneTrust dialog.
 */
#onetrust-consent-sdk ul li:before {
  content: none;
}

