@font-face {
  font-family: 'LatoFindZebra-Bold';
  src: url('../fonts/LatoFindZebra-Bold.ttf') format('truetype'); /* Safari, Android, iOS */
}

* {
  box-sizing: border-box;
}

.clear {
  clear: both;
}

html,
body {
  width: 100%;
}

html {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Helvetica',
    sans-serif;
  font-size: 18px;
  line-height: 30px;
  background-color: #285db7;
}

body {
  margin: 0;
}

p {
  margin: 0;
  margin-bottom: 20px;
}

a {
  color: #1a5199;
}
a:hover {
  color: #00214d;
}

.margin {
  display: block;
  margin-left: 5%;
  margin-right: 5%;
}

@media (min-width: 800px) {
  .margin {
    margin-left: 60px;
    margin-right: 60px;
  }
}

@media (min-width: 1020px) {
  .margin {
    width: 900px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Logo */

.logo {
  font-family: 'LatoFindZebra-Bold', 'Lato', -apple-system, BlinkMacSystemFont,
    'Helvetica', sans-serif;
  font-weight: 400;
}

/* Headlines */

h1 {
  font-size: 1.66rem;
  line-height: 1.66rem;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 20px;
}

h2 {
  font-size: 1.22rem;
  line-height: 1.22rem;
  font-weight: 700;
  margin-top: 5px;
  margin-bottom: 10px;
}

h3 {
  font-size: 1rem;
  font-weight: 700;
}

h4 {
  font-size: 0.833rem;
  line-height: 1rem;
  font-weight: 700;
}

/* Button */

.button,
.cta-button {
  padding: 5px 10px;
  margin: 0;
  margin-top: 5px;
  margin-bottom: 5px;
  text-align: center;
  color: #000000;
  background-color: #ffffff;
  border-radius: 3px;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 1px #dfe1e6;
  text-decoration: none;
}
.button:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 0 0 1px #b7b9bd;
}
.button:active {
  box-shadow: 0 0 0 1px #b7b9bd;
}

.cta-button {
  color: #ffffff;
  background-color: #285db7;
  border-radius: 3px;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 1px #1e4d9d;
  text-decoration: none;
}
.cta-button:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 0 0 1px #1e4d9d;
}
.cta-button:active {
  box-shadow: 0 0 0 1px #1e4d9d;
}

/* Forms */
input,
select,
textarea {
  display: block;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Helvetica',
    sans-serif;
  font-size: 1rem;
  padding: 5px 10px;
  margin: 0;
  margin-top: 5px;
  margin-bottom: 5px;
  width: 12em;
}
input[type='file'] {
  padding: 0;
  color: #606366;
}
input[type='text'],
input[type='password'],
input[type='number'],
input[type='email'],
input[type='date'],
input[type='tel'] {
  border-radius: 3px;
  border: 1px solid #dfe1e6;
  border-top-color: #b7b9bd;
  border-left-color: #b7b9bd;
  -webkit-appearance: none;
  appearance: none;
}
textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  line-height: 1rem;
  border-radius: 3px;
  border: 1px solid #dfe1e6;
  border-top-color: #b7b9bd;
  border-left-color: #b7b9bd;
  -webkit-appearance: none;
  appearance: none;
}
input[type='submit'] {
  display: block;
  width: 100%;
  margin-top: 20px;
  text-align: center;
  color: #000000;
  background-color: #ffffff;
  border: none;
  text-shadow: none;
  border-radius: 3px;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 1.98px #dfe1e6;
  -webkit-appearance: none;
  appearance: none;
}
input[type='submit']:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 0 0 1.5px #b7b9bd;
}
input[type='submit']:active {
  box-shadow: 0 0 0 1px #b7b9bd;
}

input::-webkit-input-placeholder {
  color: #b7b9bd;
}
input:-moz-placeholder {
  color: #b7b9bd;
}
input::-moz-placeholder {
  color: #b7b9bd;
}
input:-ms-input-placeholder {
  color: #b7b9bd;
}

label {
  display: block;
}

input[type='radio'] ~ label {
  color: #606366;
}
input[type='radio']:checked ~ label {
  color: #285db7;
  font-weight: 700;
}

.error {
  color: #f31200;
  margin: 0;
  margin-top: 5px;
  margin-bottom: 10px;
  font-size: 0.667rem;
  line-height: 0.667rem;
}

/* Checkbox */

.checkbox-wrapper {
  position: relative;
  height: 16px;
}
.checkbox-wrapper input[type='checkbox'] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 100;
  cursor: pointer;
}
.checkbox-wrapper svg {
  width: 16px;
  height: auto;
  background: #1a5199;
  box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.5);
  border-radius: 2px;
}
.checkbox-wrapper input[type='checkbox']:checked + svg {
  background-color: #00214d;
}
.checkbox-mark {
  fill: transparent;
  stroke: transparent;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.checkbox-wrapper input[type='checkbox']:checked + svg .checkbox-mark {
  stroke: #ffffff;
}

/* Radio button */

.radio-button-wrapper {
  position: relative;
  height: 16px;
  display: flex;
  align-items: center;
  padding: 10px 0;
  margin: 0;
  margin-top: 5px;
  margin-bottom: 5px;
}
.radio-button-wrapper input[type='radio'] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 100;
  cursor: pointer;
}
.radio-button-wrapper svg {
  width: 16px;
  height: auto;
}
.radio-button-wrapper input[type='radio']:checked + svg {
  box-shadow: none;
}
.radio-button-wrapper .radio {
  fill: #ffffff;
  stroke: #6d6d6d;
  stroke-width: 1.5px;
}
.radio-button-wrapper input[type='radio']:checked + svg .radio {
  stroke: #285db7;
}
.radio-mark {
  fill: transparent;
}
.radio-button-wrapper input[type='radio']:checked + svg .radio-mark {
  fill: #285db7;
}

.radio-button-wrapper label {
  margin-left: 5px;
}

/* Checkbox */

.input-checkbox-wrapper {
  position: relative;
  height: 16px;
  display: flex;
  align-items: center;
  padding: 10px 0;
  margin: 0;
  margin-top: 5px;
  margin-bottom: 5px;
}
.input-checkbox-wrapper input[type='checkbox'] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 100;
  cursor: pointer;
}
.input-checkbox-wrapper svg {
  width: 16px;
  height: auto;

  background: #ffffff;
  border-radius: 3px;
  border: 1px solid #dfe1e6;
  border-top-color: #b7b9bd;
  border-left-color: #b7b9bd;
}
.input-checkbox-wrapper input[type='checkbox']:checked + svg {
  background: #285db7;
  border: none;
}
.input-checkbox-wrapper input[type='checkbox']:checked + svg .checkbox-mark {
  stroke-width: 1.7px;
  stroke: #ffffff;
}

.input-checkbox-wrapper label {
  margin-left: 5px;
}

/* Menu */

nav {
  background-color: #1e4d9d;
}
@media (min-width: 800px) {
  nav {
    z-index: 10; /* Above other fixed elements */
    position: fixed;
    top: 0;
    width: 100%;
  }
  body {
    padding-top: 50px;
  }
}
nav div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.nav-items-left {
  overflow-y: visible;
}
.nav-items-right li:first-child {
  padding-left: 10px;
}
nav ul {
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
nav li {
  display: inline-block;
}
nav a {
  display: block;
  padding: 5px;
  font-size: 0.88rem;
  color: #e6f1ff;
  text-decoration: none;
}
nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}
@media (min-width: 400px) {
  nav a {
    display: block;
    padding: 10px;
  }
}

/* Flash Messages */

#flashes {
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
  background-color: #fede00;
  border-bottom: 1px solid #deb800;
  font-size: 0.833rem;
  line-height: 1rem;
  font-weight: 400px;
}
#flashes ul li {
  display: block;
}

/* Tables */

table {
  margin: 0;
  border: none;
  border-collapse: collapse;
}
table.nowrap {
  white-space: nowrap;
}
tr {
  margin: 0px 100px;
}
tr:nth-child(even) {
  background-color: #e5e6e7;
}
th {
  font-weight: 700;
  text-align: left;
}
td {
  text-align: left;
}
th,
td {
  padding: 5px 10px 5px;
  border: none;
}

/* Header */

header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  margin-left: 5%;
  margin-right: 5%;
}
@media (min-width: 800px) {
  header {
    margin-left: 60px;
    margin-right: 60px;
  }
}

#header-content {
  max-width: 640px;
  padding-top: 50px;
  padding-bottom: 50px;
}
@media (min-width: 800px) {
  #header-content {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

header h1 {
  text-align: center;
  color: #ffffff;
  font-family: 'LatoFindZebra-Bold', 'Lato', -apple-system, BlinkMacSystemFont,
    'Helvetica', sans-serif;
  font-size: 60px;
  font-weight: 400;
  line-height: 60px;
  margin-top: 0px;
}
@media (min-width: 400px) {
  header h1 {
    font-size: 70px;
    line-height: 70px;
  }
}
header h1 a {
  text-decoration: none;
  color: #ffffff;
}
header h1 a:hover {
  color: #e6f1ff;
}
header h2 {
  text-align: center;
  color: #ffffff;
  font-size: 1.22rem;
  margin-top: 20px;
}

/* Form */

header form {
  display: inline-block;
  margin-top: 50px;
}

.search-outer {
  border: 1px solid rgba(0, 0, 26, 0.1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.search-inner {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border-radius: 3px;
  width: 100%;
  padding: 2px;
}

#search-icon {
  flex-shrink: 0;
  margin-left: 8px;
  margin-bottom: -3px;
  width: 18px;
  height: 18px;
}

#search input {
  padding: 10px;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Helvetica',
    sans-serif;
  font-size: 1rem;
  margin: 0;
}

.search-text-container {
  flex-grow: 1;
}

#search-text {
  width: 100%;
  box-sizing: border-box;
  border: none;
  background-color: transparent;
}
#search-text:focus {
  outline: none;
}

input[type='submit'].search-submit {
  flex-basis: 60px;
  border-radius: 1px;
  color: #000000;
  background-color: #b9d92b;
  border: 1px solid #afcd28;
  text-shadow: none;
  box-shadow: none;
  font-weight: 700;
}
input[type='submit'].search-submit:disabled {
  color: #adafb3;
  background-color: #dfe1e6;
  border: 1px solid #dfe1e6;
}
input[type='submit'].search-submit:hover {
  cursor: pointer;
}
input[type='submit'].search-submit:active {
  background-color: #afcd28;
}

#advanced-search-link {
  display: block;
  text-align: right;
  margin: 5px 14px 10px 38px;
  font-size: 0.722rem;
  line-height: 1rem;
  color: #e6f1ff;
}
#advanced-search-link:hover {
  color: #ffffff;
}

#disclaimer {
  margin: 15px 14px 10px 38px;
  font-size: 0.6rem;
  line-height: 0.7rem;
  color: #e6f1ff;
}

/* Content */

article {
  display: block;
  background-color: #ffffff;
}

main {
  display: block;
  background-color: #f5f6f7;
}

/* Footer */

footer {
  background-color: #285db7;
  height: 200px;
  text-align: center;
}

footer h1 {
  margin-top: 50px;
  color: #ffffff;
  font-family: 'LatoFindZebra-Bold', 'Lato', -apple-system, BlinkMacSystemFont,
    'Helvetica', sans-serif;
  font-size: 60px;
  line-height: 60px;
  font-weight: 400;
  text-align: center;
}
@media (min-width: 400px) {
  footer h1 {
    font-size: 70px;
  }
}

footer h1 a,
footer h2 a {
  text-decoration: none;
  color: #ffffff;
}
footer h1 a:hover,
footer h2 a:hover {
  color: #e6f1ff;
}

footer h2 {
  font-size: 1.22em;
  text-align: center;
}

/* Centered Content */

.centered-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 50vh;
  padding-top: 50px;
  padding-bottom: 50px;
}
.centered-content > * {
  max-width: 500px;
}
@media (min-width: 800px) {
  .centered-content {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

/* Plain (like privacy, cookies, etc) */

main.plain {
  padding: 50px 0;
}

/* Section */

section {
  padding: 50px 0;
}

section h2 {
  font-size: 1.66rem;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 20px;
}

section h3 {
  font-weight: 700;
  margin-bottom: 0;
}

/* Section mentions */

section#mentions ul {
  text-align: center;
  padding: 0;
}

section#mentions li {
  display: inline-block;
  margin: 5px;
}

section#mentions li img {
  width: 120px;
}

section#mentions li img:hover {
  opacity: 0.8;
  transform: scale(0.98);
}

/* Section testimonials */

section#testimonials ul {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media (min-width: 600px) {
  section#testimonials ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}

section#testimonials li {
  position: relative;
  padding: 10px;
  list-style: none;
  border-radius: 3px;
  font-size: 0.722rem;
  line-height: 1rem;
  background-color: #f5f6f7;
  margin-left: 25px;
  margin-bottom: 20px;
}
@media (min-width: 600px) {
  section#testimonials li {
    width: calc(50% - 40px);
    margin-bottom: 40px;
  }
}

section#testimonials li::before {
  content: '“';
  position: absolute;
  top: -5px;
  left: -25px;
  font-size: 4em;
  line-height: 1em;
  color: #285db7;
}

section#testimonials li p {
  margin-bottom: 0.5em;
}
section#testimonials li p.person,
section#testimonials li p.position {
  margin-bottom: 0;
}
section#testimonials li p.person {
  font-weight: 700;
}
section#testimonials li p.position {
  color: #6d6d6d;
}

/* Section about */

section#about .button {
  margin-top: 20px;
}

/* Section sponsors */

section#sponsors div {
  background-color: #ffffff;
}

section#sponsors ul {
  text-align: center;
}

section#sponsors li {
  display: inline-block;
  margin: 30px;
}
section#sponsors li img:hover {
  opacity: 0.8;
  transform: scale(0.98);
}
section#sponsors img {
  vertical-align: middle;
}
section#sponsors img#dtu {
  width: 50px;
}
section#sponsors img#lundbeck {
  width: 180px;
}
section#sponsors img#innofund {
  width: 250px;
}
section#sponsors img#seed {
  width: 90px;
}

/* Search Results */

#search-container {
  padding-top: 30px;
  padding-bottom: 50px;
}

#search-container input,
#search-container textarea {
  font-size: 0.889rem;
}

#advanced-search {
  margin-top: 16px;
}

#advanced-search h3,
#advanced-search h4 {
  margin-bottom: 0;
}
#advanced-search h3 {
  font-size: 0.833rem;
  line-height: 1rem;
}
#advanced-search h4 {
  font-size: 0.778rem;
  line-height: 1rem;
}

.advanced-search-grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media (min-width: 600px) {
  .advanced-search-grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}

#advanced-search .input-wrapper {
  width: 100%;
}
@media (min-width: 600px) {
  #advanced-search .advanced-search-grid .input-wrapper {
    width: calc((100% - 1 * 2rem) / 2);
    /* margin-right: 2rem; */
  }
}
@media (min-width: 800px) {
  #advanced-search .advanced-search-grid .input-wrapper {
    width: calc((100% - 2 * 2rem) / 3);
  }
}

#advanced-search input {
  padding: 3px 5px;
  font-size: 0.778rem;
  line-height: 1rem;
}
#advanced-search input[type='file'] {
  padding: 0;
}

#advanced-search input:not([type='submit']),
#advanced-search textarea {
  width: 100%;
}
#advanced-search textarea {
  height: calc(1rem + 10px);
  min-height: calc(1rem + 10px);
  padding: 3px 5px;
  font-size: 0.778rem;
  line-height: 1rem;
}
#advanced-search textarea#prior_history {
  min-height: calc(2rem + 10px);
}

#advanced-search label {
  padding-top: 0.5em;
  padding-bottom: 0.3em;
  font-size: 0.722rem;
  line-height: 0.722rem;
  color: #606366;
}

#advanced-search .expandable-section.hide div {
  display: none;
}
#advanced-search .expandable-section h4 {
  display: inline-block;
  margin-right: 10px;
}
#advanced-search .expandable-section button {
  display: inline-block;
  margin: 5px 0;
  padding: 2px 4px;
  font-size: 0.722rem;
  border: none;
  border-radius: 3px;
  color: #000000;
  background: #dddee3;
}
#advanced-search .expandable-section button:hover {
  color: #606366;
  cursor: pointer;
}
#advanced-search .expandable-section .hide button {
  color: #606366;
}
#advanced-search .expandable-section .hide button:hover {
  color: #000000;
}

input[type='submit']#advanced-search-submit {
  margin-top: 50px;
}

#search-details {
  margin: 16px 12px 0 12px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#search-filters {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
@media (min-width: 500px) {
  #search-filters {
    flex-direction: row;
  }
}
#search-filters .radio-button-wrapper:hover label {
  text-decoration: underline;
}
#search-filters label {
  margin-left: 5px;
  margin-right: 20px;
  font-size: 0.778rem;
  line-height: 0.9rem;
}

#search-details a {
  font-size: 0.778rem;
  color: #606366;
  white-space: nowrap;
}
#search-details a:hover {
  color: #285db7;
}

#search-links {
  text-align: right;
}

#search-links * {
  vertical-align: top;
}

/* Results */

#results {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  padding-top: 20px;
  padding-bottom: 20px;
}
#results li {
  margin: 20px 0;
  list-style: none;
  font-size: 0.722rem;
  line-height: 20px;
}
@media (min-width: 600px) {
  #results > li {
    margin: 40px 0;
  }
}

#results a.title,
#results a.source,
#results .genes a,
#results .links a {
  text-decoration: none;
}
#results a.title:hover,
#results a.source:hover,
#results .genes a:hover,
#results .links a:hover {
  text-decoration: underline;
}

#results .title {
  color: #1a5199;
  font-size: 1rem;
  margin-right: 10px;
}
#results a.title:hover {
  color: #00214d;
}

#results a.source,
#results .genes a,
#results .links a {
  color: #20692b;
  display: block;
}
@media (min-width: 400px) {
  #results a.source {
    display: inline;
  }
}

#results .blocks {
  display: flex;
  flex-wrap: nowrap;
  max-height: 80px;
  overflow: hidden;
}
#results .description {
  color: #606366;
  flex-grow: 1;
}
#results .description span.highlight {
  background-color: #ffee80;
  margin-left: -1.5px;
  margin-right: -1.5px;
  padding-left: 1.5px;
  padding-right: 1.5px;
  border-radius: 3px;
}
#results .description span.blue-highlight {
  background-color: #80a4ff;
  margin-left: -1.5px;
  margin-right: -1.5px;
  padding-left: 1.5px;
  padding-right: 1.5px;
  border-radius: 3px;
}
#results .genes {
  flex-shrink: 0;
  width: 80px;
  margin-left: 10px;
}
#results .genes a {
  display: inline;
}
#results .thumb {
  flex-shrink: 0;
  width: 72px;
  height: 80px;
  margin-left: 5px;
  padding-top: 4px;
  padding-bottom: 4px;
}
#results .thumb img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 3px;
}
@media (min-width: 600px) {
  #results .thumb {
    margin-left: 20px;
  }
}

#results ul.related-articles {
  margin: 0;
  padding: 0;
}
#results ul.related-articles.hide li {
  display: none;
}
#results .related-articles li {
  margin-left: 20px;
}
#results .related-articles button {
  margin: 5px 0;
  padding: 2px 4px;
  font-size: 0.722rem;
  border: none;
  border-radius: 3px;
  color: #000000;
  background: #dddee3;
}
#results .related-articles button:hover {
  color: #606366;
  cursor: pointer;
}
#results .related-articles.hide button {
  color: #606366;
}
#results .related-articles.hide button:hover {
  color: #000000;
}
#results .related-articles .list {
  display: inline;
  color: #606366;
  margin-left: 10px;
}
#results .related-articles:not(.hide) .list {
  display: none;
}
#results .related-articles .list span {
  display: inline-block;
}
#results .related-articles .list span.title {
  width: 25%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#results .related-articles .list span.spacer {
  margin: 0 0.2em;
}

#pagination {
  padding: 0;
  padding-bottom: 100px;
  color: #606366;
  list-style: none;
  text-align: center;
}

#pagination li {
  display: inline;
  margin: 0;
  padding: 0;
  margin-right: -0.3em;
}
#pagination a {
  color: #606366;
  padding: 0.1em 0.5em 0.2em 0.45em;
  border-radius: 1em;
  text-decoration: none;
}
#pagination li.active a {
  color: #ffffff;
  background: #285db7;
}
#pagination:hover li.active a {
  color: #000000;
  background: none;
}
ul#pagination li:hover a,
ul#pagination li.active:hover a {
  color: #ffffff;
  background: #8f8f8f;
}

#results .gene-result ul {
  margin: 5px 0;
  padding-left: 20px;
}
#results .gene-result li {
  margin: 5px 0;
}

/* Article */
article#result {
  position: relative;
  padding: 50px 0;
  background-color: #ffffff;
  border-radius: 3px;
  border: 1px solid #dddee3;
}

article#result h1 {
  font-size: 1.22rem;
  margin-top: 0;
  margin-right: 0;
  word-break: break-word;
}

article#result h2 {
  font-size: 1rem;
  margin-top: 10px;
  margin-bottom: 0;
}
article#result h3 {
  font-size: 0.722rem;
  line-height: 20px;
  margin-top: 5px;
  margin-bottom: 0;
}
article#result .content:after {
  /* Clear fix */
  content: '';
  display: table;
  clear: both;
}
article#result .content,
article#result .content p {
  font-size: 0.722rem;
  line-height: 20px;
  margin: 0;
}
article#result .content p {
  margin-bottom: 0.5rem;
}
article#result .content span.highlight {
  background-color: #ffee80;
  margin-left: -1.5px;
  margin-right: -1.5px;
  padding-left: 1.5px;
  padding-right: 1.5px;
  border-radius: 3px;
}
article#result .content span.blue-highlight {
  background-color: #80a4ff;
  margin-left: -1.5px;
  margin-right: -1.5px;
  padding-left: 1.5px;
  padding-right: 1.5px;
  border-radius: 3px;
}

article#result .content > a {
  float: right;
}

article#result .content > a > img {
  max-height: 250px;
  width: auto;
  height: auto;
  margin-left: 20px;
  margin-bottom: 5px;
  float: right;
  border-radius: 3px;
}
article#result .content .thumb {
  width: 100%;
  margin-bottom: 10px;
}
@media (min-width: 600px) {
  article#result .content .thumb {
    float: right;
    clear: right;
    width: 40%;
    margin-left: 20px;
  }
}
article#result .content .thumbinner {
  width: unset !important;
}
article#result .content .thumbinner img {
  display: block;
  max-height: 250px;
  width: auto;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5px;
  border-radius: 3px;
}
@media (min-width: 600px) {
  article#result .content .thumbinner img {
    max-height: unset;
    width: 100% !important;
  }
}

article#result .content .thumbcaption {
  color: #8f8f8f;
  text-align: center;
}
@media (min-width: 600px) {
  article#result .content .thumbcaption {
    text-align: left;
  }
}

/* Details (Meta + Ad) */
.article-details {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}
@media (min-width: 600px) {
  .article-details {
    flex-wrap: nowrap;
  }
}

/* Meta */
.article-details .meta {
  flex-shrink: 2;
  flex-grow: 3;
  font-size: 0.667rem;
  line-height: 1.11rem;
  margin-bottom: 20px;
  padding-right: 20px;
}
.article-details .meta div div {
  display: inline;
  margin: 0;
  padding: 0;
}
.article-details .meta .label {
  min-width: 70px;
  margin-right: 10px;
  color: #8f8f8f;
}
.article-details .meta a {
  color: #20692b;
  text-decoration: none;
}
.article-details .meta a:hover {
  text-decoration: underline;
}

.article-details .expandable button {
  padding: 0px 2px;
  border: none;
  border-radius: 3px;
  color: #606366;
  background: #dddee3;
}
.article-details .expandable button:hover {
  color: #000000;
  cursor: pointer;
}
.article-details .expandable.active button {
  color: #000000;
}
.article-details .expandable.active button:hover {
  color: #606366;
}
.article-details .expandable.active .collapsed {
  display: none;
}
.article-details .expandable .expanded {
  display: none;
}
.article-details .expandable.active .expanded {
  display: unset;
}
.article-details .drugs .expandable .expanded .drug::before,
.article-details .drugs .full .drug::before {
  content: '\A';
  white-space: pre;
}
/* Register */
#treatment-register {
  position: relative;
  flex-grow: 1;
  margin-bottom: 30px;
  padding: 10px;
  border-radius: 3px;
  font-size: 0.722rem;
  line-height: 0.88rem;
  background-color: #f5f6f7;
}
#treatment-register input {
  font-size: unset;
  margin-bottom: 0;
  margin-top: 10px;
}
#treatment-register input[type='text'] {
  width: 100%;
}
#treatment-register input:disabled {
  display: none;
}
#treatment-register .success {
  margin-top: 10px;
  font-weight: 700;
}

.promotion {
    display: flex;
    flex-direction: column;
    flex-basis: 230px;
    flex-grow: 1;
    position: relative;
}

/* Ad */
.ad {
  position: relative;
  flex-grow: 1;
  margin-bottom: 30px;
  padding: 10px;
  border: 1px solid #285db7;
  border-radius: 3px;
  font-size: 0.722rem;
  line-height: 0.88rem;
}
.ad-prefix {
  position: absolute;
  top: -0.2rem;
  left: 6px;
  text-transform: uppercase;
  font-size: 0.44rem;
  font-weight: 700;
  line-height: 0.44rem;
  background-color: #ffffff;
  display: inline-block;
  padding: 0 4px;
  color: #285db7;
}
.ad p {
  margin: 0;
  padding: 0;
}
.ad a {
  margin: 0;
  padding: 0;
  font-size: 0.667rem;
  color: #285db7;
}
.ad a:hover {
  color: #00214d;
}

.ad .ad-postfix {
  position: absolute;
  font-size: 0.44rem;
  line-height: 0.44rem;
  right: 0px;
  text-decoration: none;
  bottom: -15px;
  color: #285db7;
}

/* Account */

.user h2 {
  font-size: 1.35rem;
}

.user h3 {
  font-size: 1rem;
}

#user-details .meta {
  flex-shrink: 0;
  flex-grow: 3;
  font-size: 0.667rem;
  line-height: 1.11rem;
  margin-bottom: 20px;
  padding-right: 20px;
}
#user-details .meta div div {
  display: inline-block;
  margin: 0;
  padding: 0;
}
#user-details .meta .label {
  min-width: 70px;
  margin-right: 10px;
  color: #8f8f8f;
}
#user-details .meta a {
  color: #20692b;
  text-decoration: none;
}
#user-details .meta a:hover {
  text-decoration: underline;
}

ul#search-history {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
}
#search-history li {
  margin: 20px 0;
  list-style: none;
  font-size: 0.722rem;
  line-height: 20px;
}
@media (min-width: 600px) {
  #search-history > li {
    margin: 40px 0;
  }
}

#search-history a.title {
  text-decoration: none;
}
#search-history a.title:hover {
  text-decoration: underline;
}

#search-history a.title {
  color: #1a5199;
}
#search-history a.title:hover {
  color: #00214d;
}

#search-history .timestamp {
  display: block;
  color: #606366;
}

#search-history > li > a.title {
  font-size: 1rem;
  margin-right: 10px;
}

#search-history ul.visited-articles {
  margin: 0;
  padding: 0;
}
#search-history ul.visited-articles.hide li {
  display: none;
}
#search-history ul.visited-articles li {
  margin: 0px;
  margin-left: 20px;
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 350px;
  background-color: black;
  color: #fff;
  text-align: left;
  padding: 5px 5px;
  border-radius: 6px;
  font-size: small;
  line-height: 1.1rem;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;

  top: -50px;
  right: 100%;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}
