/* Orla Pharma. Plain CSS: no variables, grid, gap or clamp, so IE11, Safari 7 and Android 4.4 render it.
   The base layout is one column and needs neither flexbox nor media queries. Wider layouts sit inside
   min-width queries and use floats, with flexbox on top only where it helps. */

@font-face {
  font-family: "Source Sans 3";
  src: url(source-sans-400.cb65335455.woff2) format("woff2"), url(source-sans-400.d270d717a2.woff) format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: fallback;
}
@font-face {
  font-family: "Source Sans 3";
  src: url(source-sans-600.4ea88093b7.woff2) format("woff2"), url(source-sans-600.31457e69a4.woff) format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: fallback;
}

html { height: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; text-size-adjust: 100%; }
/* The body is a column so that the footer sits at the bottom of the window on short pages. */
body {
  min-height: 100%;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  margin: 0;
  background: #fff;
  color: #101E25;
  font-family: "Source Sans 3", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after { -webkit-box-sizing: border-box; box-sizing: border-box; }
img { border: 0; max-width: 100%; height: auto; vertical-align: middle; }
main, header, footer, nav, section, figure, figcaption { display: block; }
main { -webkit-flex: 1 0 auto; flex: 1 0 auto; }
.top, .foot { -webkit-flex: none; flex: none; }
::-moz-selection { background: #0E566C; color: #fff; }
::selection { background: #0E566C; color: #fff; }

h1, h2, h3 { margin: 0; font-weight: 600; color: #101E25; }
h1 { font-size: 2.375rem; line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: 1.625rem; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: 1.125rem; line-height: 1.35; }
p { margin: 0 0 1rem; }
a { color: #0E566C; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; }
a:hover { color: #0B3948; text-decoration-thickness: 2px; }
a:focus { outline: 2px solid #0E566C; outline-offset: 3px; }
table { border-collapse: collapse; border-spacing: 0; width: 100%; }
th, td { text-align: left; vertical-align: top; font-weight: 400; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.wrap:after { content: ""; display: table; clear: both; }

/* hidden from sight, read by screen readers (table captions) */
.sr { position: absolute; left: -999em; top: 0; }

/* header */
.top { border-bottom: 1px solid #DAE1E5; }
.top .wrap { padding-top: .95rem; padding-bottom: .55rem; }
.brand { display: inline-block; line-height: 0; }
.brand img { height: 1.875rem; width: auto; }
.nav { margin: .55rem 0 0 -.55rem; padding: 0; list-style: none; font-size: 1rem; }
.nav li { display: inline-block; }
.nav a { display: inline-block; padding: .5rem .55rem; color: #101E25; font-weight: 600; text-decoration: none; }
.nav a:hover { color: #0E566C; text-decoration: underline; }
.nav a[aria-current] { color: #0E566C; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .35em; }

/* hero */
.hero { background: #F3F6F8; padding: 2.75rem 0 3rem; }
.lead { margin: 1.25rem 0 0; font-size: 1.25rem; line-height: 1.5; color: #2B3A41; max-width: 34rem; }
.reach { margin: 1.5rem 0 0; font-weight: 600; }

/* the company card in the hero */
.card { margin: 2.25rem 0 0; max-width: 27rem; background: #fff; border: 1px solid #101E25; border-radius: 5px; font-size: 1rem; line-height: 1.4; }
.card-head { padding: .75rem 1.1rem .7rem; border-bottom: 1px solid #101E25; font-weight: 600; }
.card th, .card td { padding: .65rem 1.1rem; border-top: 1px solid #E2E8EB; }
.card tr:first-child th, .card tr:first-child td { border-top: 0; }
.card th { width: 36%; padding-right: .5rem; font-weight: 600; }
.card td { padding-left: 0; color: #2B3A41; }

/* sections: heading in a left column on wide screens, content on the right */
.sec { border-top: 1px solid #DAE1E5; padding: 2.75rem 0 3rem; }
.sec-first { border-top: 0; }
.sec h1 { font-size: 2rem; line-height: 1.12; letter-spacing: -0.015em; }
.sec-b { margin-top: 1.25rem; }
.rows th, .rows td { padding: 1.05rem 0; border-top: 1px solid #DAE1E5; }
.rows tr:first-child th, .rows tr:first-child td { border-top: 0; padding-top: 0; }
.rows th { width: 38%; padding-right: 1.5rem; font-weight: 600; }
.rows td { color: #2B3A41; }
.docs thead th { padding: 0 0 .6rem; font-size: .875rem; font-weight: 600; color: #485860; border-bottom: 1px solid #101E25; }
.docs tbody th, .docs tbody td { padding: .95rem 0; border-bottom: 1px solid #DAE1E5; }
.docs tbody th { padding-right: 1.5rem; }
.docs .by { width: 32%; color: #2B3A41; }
.docs-wide .by { width: 58%; }
.note { margin: 0 0 1.5rem; color: #2B3A41; max-width: 38rem; }
.over th { width: 30%; font-size: 1.25rem; }
.over a { text-decoration: none; }
.over a:hover { text-decoration: underline; }

/* text pages */
.page { padding: 2.75rem 0 3.5rem; }
.page h1 { font-size: 2rem; line-height: 1.12; letter-spacing: -0.015em; margin-bottom: 1.75rem; }
.page h2 { font-size: 1.25rem; letter-spacing: 0; margin: 2rem 0 .5rem; }
.page h1, .page h2, .page p { max-width: 44rem; }
.small { font-size: .9375rem; color: #485860; }
.go { font-weight: 600; }

/* footer */
.foot { background: #0B3948; color: #CFDEE4; padding: 2.5rem 0 2.25rem; font-size: 1rem; }
.foot img { height: 1.75rem; width: auto; }
.foot p { margin: 1.1rem 0 0; max-width: 40rem; }
.foot a { color: #fff; }
.foot a:hover { color: #fff; }
.foot a:focus { outline-color: #fff; }
.foot-links { margin: 1.1rem 0 0; padding: 0; list-style: none; }
.foot-links li { display: inline-block; margin: 0 1.5rem .3rem 0; }
.foot .legal { margin-top: 1.5rem; font-size: .9375rem; color: #A6BEC8; }

/* narrow phones: definition rows stack */
@media (max-width: 35.99em) {
  .rows th, .rows td { display: block; width: auto; padding: 0; border-top: 0; }
  .rows th { padding-top: 1rem; border-top: 1px solid #DAE1E5; }
  .rows tr:first-child th { padding-top: 0; border-top: 0; }
  .rows td { padding: .2rem 0 1rem; }
  .rows tr:last-child td { padding-bottom: 0; }
}

@media (min-width: 48em) {
  h1 { font-size: 3rem; }
  .wrap { padding: 0 2rem; }
  /* the clearfix pseudo-element is a flex item too, so the nav is pushed right with an auto margin */
  .top .wrap { padding-top: 1.05rem; padding-bottom: 1.05rem; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; }
  .brand { float: left; }
  .brand img { height: 2.125rem; }
  .top nav { float: right; margin-left: auto; }
  .nav { margin: 0 -.75rem 0 0; }
  .nav a { padding: .5rem .75rem; }
  .hero { padding: 4rem 0 4.25rem; }
}

@media (min-width: 62em) {
  h2 { font-size: 1.875rem; }
  .page { padding: 4.25rem 0 5rem; }
  .page h1, .sec h1 { font-size: 2.375rem; }
  .page h1 { margin-bottom: 2.25rem; }
  .hero { padding: 5rem 0 5.25rem; }
  .hero-a { float: left; width: 55%; }
  .hero-b { float: right; width: 39%; }
  .card { margin-top: .5rem; margin-left: auto; }
  .sec { padding: 4.25rem 0 4.5rem; }
  .sec-h { float: left; width: 30%; padding-right: 2rem; }
  .sec-b { float: right; width: 66%; margin-top: .2rem; }
}

/* 3.125rem keeps the home page heading on three lines beside the company card */
@media (min-width: 75em) {
  h1 { font-size: 3.125rem; }
}

@media print {
  .nav { display: none; }
  body { font-size: 11pt; color: #000; }
  .hero, .foot { background: none; color: #000; }
  .hero, .sec { padding: 1.25rem 0; }
  .foot a, a { color: #000; }
  .foot img { display: none; }
}
