/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: fonts
   ========================================================================== */

@font-face {
  font-family: "altislight";
  src: url("../fonts/altis_light/altis-light-webfont.eot");
  src: url("../fonts/altis_light/altis-light-webfont.eot?#iefix") format("embedded-opentype"),
       url("../fonts/altis_light/altis-light-webfont.woff") format("woff"),
       url("../fonts/altis_light/altis-light-webfont.ttf") format("truetype"),
       url("../fonts/altis_light/altis-light-webfont.svg#altislight") format("svg");
  font-weight: normal;
  font-style: normal;

}

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #000;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* apply a natural box layout model to all elements, but allowing components to change */
html {
  box-sizing: border-box;
  height: 100%;
}
body {
  height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/**
 * sub, sup normalize
 */
sub, sup {
  /* Specified in % so that the sup/sup is the
     right size relative to the surrounding text */
  font-size: 75%;

  /* Zero out the line-height so that it doesn't
     interfere with the positioning that follows */
  line-height: 0;

  /* Where the magic happens: makes all browsers position
     the sup/sup properly, relative to the surrounding text */
  position: relative;

  /* Note that if you're using Eric Meyer's reset.css, this
     is already set and you can remove this rule */
  vertical-align: baseline;
}

sup {
  /* Move the superscripted text up */
  top: -0.5em;
}

sub {
  /* Move the subscripted text down, but only
     half as far down as the superscript moved up */
  bottom: -0.25em;
}

/* ==========================================================================
   Ferinject styles: general;
   ========================================================================== */

h1, h2, h3 {
  font-family: "altislight";
  -webkit-font-smoothing: antialiased;
  font-weight:normal;
}
h4, h5, h6 {
  /*font-family: "Myriad Pro", "Gill Sans", "Gill Sans MT", Calibri, sans-serif;*/
  font-family: "Myriad Pro", Myriad, "Liberation Sans", "Nimbus Sans L", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.wrapper {
  width:100%;
  height: 100%;
}
@media only screen and (max-width: 1024px) {
  .wrapper {
    height: auto;
  }
}
.old-ie .wrapper {
    height: auto;
  }
.head-wrap {
  min-height: 100%;
}
.body-wrap {
  height: 100%;
}
.old-ie .body-wrap {
  width: 768px;
  margin: 0 auto;
}
#body {
  height: 100%;
}
.foot-wrap {

}


/* ==========================================================================
   Utils
   ========================================================================== */

.u-float__right {
  float: right;
}
.u-clear {
  clear: both;
}
.u-display__none {
  display: none;
}


.u--bold {
  font-weight: bold;
}

/* ==========================================================================
   Ferinject styles: buttons;
   ========================================================================== */


.fj-btn {
  /*font-family: "altislight";*/
  /*font-family: "Myriad Pro", "Gill Sans", "Gill Sans MT", Calibri, sans-serif;*/
  font-family: "Myriad Pro", Myriad, "Liberation Sans", "Nimbus Sans L", "Helvetica Neue", Helvetica, Arial, sans-serif;
  display: inline-block;
  padding: 3px 15px 1px 15px;
  margin-bottom: 0;
  /*font-size: 14px;*/
  font-size: 1em;
  font-weight: normal;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background-image: none;
  border: 1px solid transparent;
  text-decoration: none;
}
.fj-btn { 
  color: #ffffff; 
  background-color: #EE2D24; 
  border-color: #EE2D24; 
} 
.fj-btn:focus,
.fj-btn:active:focus,
.fj-btn.active:focus,
.fj-btn.focus,
.fj-btn:active.focus,
.fj-btn.active.focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.fj-btn:hover {
  background-color: #fff;
  color: #EE2D24;
}
.fj-btn:hover,
.fj-btn:focus,
.fj-btn.focus {
  text-decoration: none;
}
.fj-btn:active,
.fj-btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
          box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}
.fj-btn.disabled,
.fj-btn[disabled],
fieldset[disabled] .fj-btn {
  cursor: not-allowed;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
          box-shadow: none;
  opacity: .65;
}
a.fj-btn.disabled,
fieldset[disabled] a.btn {
  pointer-events: none;
}
.fj-btn-outline {
  background-color: #fff;
  color:#EE2D24;
}
.fj-btn-outline:hover {
  background-color: #92278F;
  color:#fff;
}
.fj-btn-large {
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.3333333;
  border-radius: 6px;
}
.fj-btn-small {
  padding: 5px 10px 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}



/* ==========================================================================
   Ferinject styles: Tables
   ========================================================================== */

.popup__content table {
  width:100% !important;
  height:auto !important;
  /*margin:0 auto 0 auto;*/
}
.popup__content td,
.popup__content th {
  /*font-family: "altislight";
  -webkit-font-smoothing: antialiased;*/
  padding:8px;
  font-size:14px;
  border-right: solid 1px #666;
  border-bottom: solid 1px #666;
  vertical-align: top;
}
.popup__content td:first-child {
  border-left: solid 1px #666;
  border-top: solid 1px #666;
}
.popup__content thead td:first-child {
  border-top:0;
}
.popup__content thead td,
.popup__content th {
  color:#ffffff;
  background:#EE2D24;
  padding:15px;
  font-size:20px;
  border-right: solid 1px #fff;
  border-bottom: solid 1px #EE2D24;
}
.popup__content th {
  font-weight: normal;
}
.popup__content thead td:first-child,
.popup__content th:first-child {
  border-left: solid 1px #EE2D24;
}
.popup__content thead td:last-child,
.popup__content th:last-child {
  border-right: solid 1px #EE2D24;
}
.popup__content td p {
  margin-top:0;
  padding-top:0;
}
.popup__content thead td p {
  margin: 0;
  padding: 0;
}
.popup__content td pre {
  font-size:14px;
  /*font-family: "altislight";
  -webkit-font-smoothing: antialiased;*/
  margin:0;
  padding:0;
}
@media only screen and (max-width: 767px) {
  .popup__content table {
    /*width:auto !important;*/
  }
}

/*!
// CSS only Responsive Tables
// http://dbushell.com/2016/03/04/css-only-responsive-tables/
// by David Bushell
*/

.popup__content table {
  /*!
  // IE needs inline-block to position scrolling shadows otherwise use:
  // display: block;
  // max-width: min-content;
  */
  display: inline-block;
  vertical-align: top;
  max-width: 100%;
  
  overflow-x: auto;
  
  /* optional - looks better for small cell values 
  white-space: nowrap;*/

  border-collapse: collapse;
  border-spacing: 0;
}

.popup__content table {
  /* optional - enable iOS momentum scrolling */
  -webkit-overflow-scrolling: touch;
}


/* ==========================================================================
   Ferinject styles: Grid
   ========================================================================== */
.header-wrap {
  position: relative;
  z-index: 5;
}
.fj-grid {
  width:100%;
  background: #EE2D24;
  margin-bottom: 46px;
  min-height: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow: hidden;
  margin-top: -4px;
}
@media screen and (max-width: 1024px) {
  .fj-grid {
    margin-bottom: 0;
  }
}
.old-ie .fj-grid {
    margin-bottom: 0;
  }
.fj-grid-item {
  height: 200px;
  border: 4px solid #FFF;
/*  margin-top: -2px;*/
}
.fj-grid-item:after {
  content: "";
  width: calc(100% + 13px);
  height: calc(100% + 13px);
  background: #FFF;
  position: absolute;
  top: -6px;
  left: -6px;
  z-index: 0;
}
.is-animating {
  -webkit-transition: all .75s ease; 
  -moz-transition: all .75s ease; 
  -ms-transition: all .75s ease; 
  -o-transition: all .75s ease; 
  transition: all .75s ease;
}
.fj-tile-container {
  
  width: 100.1%;
  width: calc( 100% + 1px );
  height: 100.1%;
  height: calc( 100% + 1px );
  box-sizing: border-box;
  padding: 15px;
  
  overflow: hidden;
  position: relative;

  z-index: 1;

  background: inherit;
}
.old-ie .fj-tile-container {
  width: auto;
  display: block;
  box-sizing: content-box;
  height: 170px;

}
.old-ie .js-page-content {
  width: 768px;
  margin: 0 auto;          
}
.fj-grid__bg {

  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  height: 100%;
  overflow: hidden;

  -moz-background-size: cover;
  -webkit-background-size: cover;
  background-size: cover;

  -ms-behavior: url(/css/backgroundsize.min.htc);
  background-position: center;

  overflow: hidden;
  
  -webkit-transition: all .5s ease; 
  -moz-transition: all .5s ease; 
  -ms-transition: all .5s ease; 
  -o-transition: all .5s ease; 
  transition: all .5s ease;
}
.fj-grid-item:hover .fj-grid__bg {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}
.fj-grid-item h3 {
  margin-top:0;
}
.fj-grid-item--width2 {
  width:100%;
}
.fj-grid-item--width3 {
  width:100%;
}
.fj-grid-item--height2 {
  height:200px;
}
.fj-grid-item--height3 {
  height:200px;
}
.fj-grid-item .overlay {
  width:100%;
  height:100%;
  background-color: rgba(147, 39, 143, 0.6);
  position:absolute;
  top:0;
  left:0;
  z-index:99;
  display:none;
}
.general-public .fj-grid-item .overlay {
  background-color: rgba(238, 45, 36, 0.6);
}
.fj-grid-item a {
  width:100%;
  height:100%;
  position:absolute;
  top:0;
  left:0;
  z-index:9;
  display:block;
}
.headings {
  background: #FFF;
  background: rgba(255, 255, 255, 0.75);
  padding: .5em .75em;
  position: absolute;
  bottom: 20px;
  left: 0;
  margin-right: 20px;

  -webkit-transition: all .5s ease; 
  -moz-transition: all .5s ease; 
  -ms-transition: all .5s ease; 
  -o-transition: all .5s ease; 
  transition: all .5s ease;
}
.headings h3 {
  color: #EE2D24;
  font-size: 1.8em;
  margin-bottom: 5px;
  line-height: 1.1em;
}
.headings h4 {
  margin: 0;
  font-size: 0.9em;
  font-weight: normal;
}
.fj-grid-item--has-copy .headings {
  position: static;
  margin-left: -20px;
  margin-right: 0;
}
/* smaller headings on smaller screens */

@media only screen and (max-width: 1400px) {
  .headings h3 {
    font-size: 1.6em;
  }
}
@media only screen and (max-width: 1300px) {
  .headings h3 {
    font-size: 1.4em;
  }
}
@media only screen and (max-width: 1150px) {
  .headings h3 {
    font-size: 1.2em;
  }
}


.grid__copy {
  font-size: .75em;
}
@media only screen and (max-width: 1300px) {
  .headings h4 {
    font-size: 0.75em;
  }
  .grid__copy {
    display: none;
  }
}
.fj-grid-item .grid__readmore {
  position: absolute;
  background: #EE2D24;
  color: #FFF;
  text-decoration: none;
  bottom: 20px;
  height: auto;
  top: auto;
  padding: .5em .5em 1em .5em;
  text-align: right;
  font-weight: normal;
/*  width: 99%;*/
  width: 100%;
}
.fj-grid-item--news {
  background: #93278F;
  /* display: table; */
}
.fj-grid-item--news .fj-tile-container,
.fj-grid-item--social .fj-tile-container {
  display: table;
/*  margin: 1px;
  width: 99.3%;
  height: 99.3%;*/
  border: solid 1px rgba(255,255,255,0.3);
}
.fj-grid-item--news .fj-tile-container .headings {
  /*padding: 0 18px 0 18px;*/
}
.old-ie .fj-grid-item--news .fj-tile-container {
  display: block;
}
.fj-grid-item--social {
  background: #EE2D24;
/*  display: table;*/
}
.fj-grid-item--has-copy {
  background: #EED2D3;
}
.fj-grid-item--news .headings,
.fj-grid-item--social .headings {
  background: transparent;
  color: #FFF;
  text-align: center;
}
.fj-grid-item--news .headings h3,
.fj-grid-item--social h3 {
  color: #FFF;
  font-size: 1em;
  font-weight: bold;
  margin-bottom: .5em;
}
@media only screen and (max-width: 1300px) {
  .fj-grid-item--news .headings h3 {
    font-size: 0.9em;
  }
}
@media only screen and (max-width: 1150px) {
  .fj-grid-item--news .headings h3 {
    font-size: 0.8em;
  }
}
.fj-grid-item--news .grid__header,
.fj-grid-item--social .grid__header {
  position:absolute;
  top:15px;
  left:0;
  width:100%;
}
.old-ie .fj-grid-item--news .grid__header,
.old-ie .fj-grid-item--social .grid__header {
  position: static;
}
.fj-grid-item--news .headings,
.fj-grid-item--social .headings {
  /*position: absolute;
  bottom:0;
  float:left;*/
  position:static;
  display: table-cell;
  vertical-align: middle;
  padding: 45px 0 0 0;
  margin: 0;
}
.old-ie .fj-grid-item--news .headings,
.old-ie .fj-grid-item--social .headings {
  position:static;
  display: block;
  padding: 10px 0 0 0;
  margin: 0;
}
.fj-grid-item--news .grid__readmore,
.fj-grid-item--social .grid__readmore {
  background: #93278F;
  bottom: 0px;
  padding-bottom: 10px;
  font-size: 0.9em;
}
@-moz-document url-prefix() { 
  .fj-grid-item--news .grid__readmore,
  .fj-grid-item--social .grid__readmore {;
    bottom: 1px;
  }
}
.old-ie .fj-grid-item--news .grid__readmore,
.old-ie .fj-grid-item--social .grid__readmore {
  position: static;
  display: block;
  margin: 0;
  width: auto;
}
.fj-grid-item--social .grid__header-image,
.fj-grid-item--news .grid__header-image {
  width: 45px;
  margin-top: 5px;
}
@media (min-width: 1600px) {
  .fj-grid-item--social .grid__header-image,
  .fj-grid-item--news .grid__header-image {
    width: 60px;
    margin-top: 5px;
  }
}
.fj-grid-item--width3 .headings {
  padding-left: 0.75em;
}
.fj-grid-item:hover .headings {
  background: #FFF;
}
.fj-grid-item--news:hover .headings,
.fj-grid-item--social:hover .headings {
  background: transparent;
}
.grid__header {
  text-align: center;
  padding-bottom: 1em;
}
.fj-grid-item--news .grid__header {
  transition: transform .25s linear;
}
.fj-grid-item--news:hover .grid__header {
  -webkit-transform: scale(1.25);
  transform: scale(1.25);
}



/* ==========================================================================
   Header
   ========================================================================== */
#head {
  font-family: 'altislight';
}
.head-main {
  background: #EE2D24;
  height: 100px;
  position: relative;
}
@media only screen and (max-width: 767px) {
  .head-main {
    height: 50px;
  }
}
.old-ie .head-main {
    height: 50px;
  }
.head-main:after {
  content: "";
  height: 100px;
  width: 242px;
  background: #93278F;
  position: absolute;
  top: 0;
  right: 0;
}
@media only screen and (max-width: 767px) {
  .head-main:after {
    width: 50%;
    height: 50px;
  }
}
.old-ie .head-main:after {
    width: 50%;
    height: 50px;
  }
.hamburger {
  position: absolute;
  top: 27px;
  left: 20px;
  display: none;
}
@media only screen and (max-width: 767px) {
  .hamburger {
    top: 11px;
    left: 12px;
    display: block;
  }
  .hamburger__image {
    width: 38px;
  }
}
.old-ie .hamburger {
    top: 11px;
    left: 12px;
  }
.old-ie .hamburger__image {
    width: 38px;
  }
.search-icon {
  display: none;
}
@media only screen and (max-width: 767px) {
  .search-icon {
    display: block;
    position: absolute;
    right: 12px;
    top: 1px;
    color: #FFF;
    z-index: 2;
    font-size: 2em;
  }
}
.old-ie .search-icon {
    display: block;
    position: absolute;
    right: 12px;
    top: 1px;
    color: #FFF;
    z-index: 2;
    font-size: 2em;
  }
.category-nav {
  background: #EE2D24;
  position: absolute;
  z-index: 100;
  height: 46px;
  overflow: hidden;
  top: 26px;
  left: 30px;
}
@media only screen and (max-width: 767px) {
  .category-nav {
    left: 0;
    width: 100%;
    top: 50px;

    display: none;
  }
}
.old-ie .category-nav {
    left: 0;
    width: 100%;
    top: 50px;

    display: none;
  }
.category-nav.is-open {
  overflow: visible;
  height: 426px;
}
.category-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  padding: 0 .5em;
}
.category-nav__link {
  color: #FFF;
  text-decoration: none;
  padding: 0 10px 0 44px;
  border-bottom: 1px solid #FFF;
  display: block;
  font-size: 1.5em;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  height: 47px;
  line-height: 47px;
  position: relative;
}
.category-nav__link--last {
  text-align: center;
  border-bottom: 0;
}
.category-nav__icon {
  display: block;
  height: 32px;
  vertical-align: -9px;
  position: absolute;
  left: 6px;
  top: 6px;
}
.category-nav__icon--nephrology {
  height: 26px;
  top: 9px;
}
.category-nav__icon--care-of-older-people {
  height: 34px;
  top: 5px;
}
.category-nav__icon--pharmacy {
  left: 5px;
}
[data-category="nephrology"] img {
  height: 24px;
  top: 9px;
  left: 0;
}
[data-category="care-of-older-people"] img {
  left: 0;
}
[data-category="womens-health"] img {
  left: 0;
}
[data-category="oncology"] img {
  left: 3px;
}

/*[data-category="womens-health"] img {
  height: 34px;
  top: 5px;
}
[data-category="oncology"] img {
  height: 34px;
  top: 5px;
  left: 2px;
}*/
.head-search {
  position: absolute;
  right: 360px;
  top: 25px;
}
@media only screen and (max-width: 768px) {
  .head-search {
    right: auto;
    left: 0;
    width: 100%;
    top: 50px;
    background: #93278F;
    z-index: 1;
    padding: .5em .75em;
    display: none;
  }
}
.old-ie .head-search {
    right: auto;
    left: 0;
    width: 100%;
    top: 50px;
    background: #93278F;
    z-index: 1;
    padding: .5em .75em;
    display: none;
  }
.head-search__text {
  padding: .75em;
  background: transparent;
  border: 0;
  width: 250px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #E6E6E6;
  border-radius: 0;
}
@media only screen and (max-width: 767px) {
  .head-search__text {
    width: 80%;
    float: left;
  }
}
.old-ie .head-search__text {
    width: 80%;
    float: left;
  }
.head-search__submit {
  font-size: 1.75em;
  color: #FFF;
  background: transparent;
  border: 0;
  padding: .1em .25em;
  vertical-align: middle;
  color: #EE2D24;
  position: absolute;
  z-index: 1;
  top: 0;
  right: 2px;
}
@media only screen and (max-width: 767px) {
  .head-search__submit {
    width: 20%;
    float: left;
  }
}
.old-ie .head-search__submit {
    width: 20%;
    float: left;
  }
.head-logo {
  position: absolute;
  right: 146px;
  z-index: 1;
  top: 8px;
}
@media only screen and (max-width: 767px) {
  .head-logo  {
    right: 50%;
    margin-right: -58px;
    top: 2px;
  }
}
.old-ie .head-logo  {
    right: 50%;
    margin-right: -58px;
    top: 2px;
  }
.head-logo__image {
  width: 200px;
}
@media only screen and (max-width: 767px) {
  .head-logo__image  {
    width: 120px;
  }
}
.old-ie .head-logo__image  {
    width: 120px;
  }
.head-sub {
  background: #FFF;
  position: relative;
}
@media only screen and (max-width: 767px) {
  .head-sub {
    margin-top: 46px;

    display: none;
  }
}
.old-ie .head-sub {
    margin-top: 46px;

    display: none;
  }
.sub-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
@media only screen and (max-width: 1240px) {
  .sub-nav__list {
    text-align: left;
    padding-left: 10px;
  }
}
@media only screen and (max-width: 767px) {
  .sub-nav__list {
    padding: .5em;
  }
}
.sub-nav__list--hidden {
  display: none;
}
.sub-nav__list--hidden li a {
  color: #ee2d24;
}
.old-ie .sub-nav__list {
    padding: .5em;
  }
.sub-nav__item,
.menu-item {
  display: inline;
}
.sub-nav__link,
.menu-item a {
  display: inline-block;
  height: 50px;
  line-height: 50px;
  text-decoration: none;
  font-size: 1.5em;
  color: #000;
  margin: 0 .5em;
  position: relative;
}
@media only screen and (max-width: 1350px) {
  .sub-nav__link,
  .menu-item a {
    margin: 0 .25em;
    font-size: 1.25em;
  }
}
@media only screen and (max-width: 1024px) {
  .sub-nav__link,
  .menu-item a {
    margin: 0 .2em;
    font-size: 1em;
  }
}
@media only screen and (max-width: 767px) {
  .sub-nav__link,
  .menu-item a {
    display: block;
    font-size: 1.25em;
  }
}
.old-ie .sub-nav__link,
  .old-ie .menu-item a {
    display: block;
  }
.sub-nav__link--selected,
.current-menu-item a {
  color:#92278F;
}
.sub-nav__link--selected:after,
.current-menu-item a:after {
  content: "";
  width: 100%;
  position: absolute;
  color: #92278F;
  border-bottom: 2px solid #92278F;
  bottom: 8px;
  z-index: 1;
  left: 0;
}
.general-public .sub-nav__link--selected {
  color: #EE2D24;
}
.general-public .sub-nav__link--selected:after {
  border-bottom: 2px solid #EE2D24;
}
.sub-nav__link--non-hcp {
  background: #EE2D24;
  height: 35px;
  line-height: 35px;
  position: absolute;
  right: 0;
  top: 7px;
  margin: 0;
  color: #FFF;
  padding: 0 .5em;
}
@media only screen and (max-width: 767px) {
  .sub-nav__link--non-hcp {
    position: static;
  }
}
.old-ie .sub-nav__link--non-hcp {
    position: static;
  }

.sub-nav__link--non-hcp.sub-nav__link--selected:after {
  border: 0;
}




/* ==========================================================================
   Popup
   ========================================================================== */

.popup {
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  min-height: 100% !important;
  top: 0;
  left: 0;
  z-index: 110;
  text-align: center;
  padding-top: 150px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;

  display: none;
}
@media only screen and (max-width: 767px) {
  .popup {
    padding-top: 50px;
  }
}
.old-ie .popup {
    padding-top: 50px;
  }
.popup__container {
  background: #FFF;
  display: inline-block;
  min-height: 100%;
  text-align: left;
  padding: 50px;
  position: relative;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.popup__content {
  overflow-y: auto;
  /*position:absolute;
  height:100%;*/
}
.fj-blog-holder img {
  max-width:100%;
  height:auto;
}
.fj-blog-holder .popup__content .size-large,
.fj-blog-holder .popup__content .size-full {
  width: 100%;
  height: auto;
}
a[rel=attachment] {
  cursor: default;
}
@media only screen and (max-width: 1200px) {
  .popup__container {
    padding: 1em 5em;
    width: 100%;
  }
}
@media only screen and (max-width: 767px) {
  .popup__container {
    padding: 1em;
    width: 100%;
  }
}
.old-ie .popup__container {
    padding: 1em;
    width: 100%;
  }
.popup__header {
  position: relative;
  height: 175px;
  background-size: 100% auto;
  background-position: center center;
  background-repeat: no-repeat;
}
.popup__header .headings {
  /*padding-left: 2em;*/
}
.popup__header .headings h3 {
  font-size: 3em;
  margin-top: 0;
  margin-bottom: 10px;
}
@media only screen and (max-width: 1200px) {
  .popup__header .headings h3  {
    font-size: 2.5em;
  }
}
@media only screen and (max-width: 767px) {
  .popup__header .headings h3  {
    font-size: 2em;
  }
}
.old-ie .popup__header .headings h3  {
    font-size: 2em;
  }
.popup__header .headings h4 {
  font-size: 1.25em;
}
@media only screen and (max-width: 767px) {
  .popup__header .headings h4 {
    font-size: 1em;
  }
}
.old-ie .popup__header .headings h4 {
    font-size: 1em;
  }
.popup__content {
  /*font-family: "Myriad Pro", 
    "Gill Sans", 
    "Gill Sans MT", 
    Calibri, 
    sans-serif;*/
    font-family: "Myriad Pro", Myriad, "Liberation Sans", "Nimbus Sans L", "Helvetica Neue", Helvetica, Arial, sans-serif;
  /*padding: 1em 5em 0 2em;*/
  padding: 0 5em 0 0;
}
@media only screen and (max-width: 1200px) {
  .popup__content {
    padding: 1em 0;
  }
}
.old-ie .popup__content {
    padding: 1em 0;
  }
.popup__close {
  position: absolute;
  top: 1.5em;
  right: 1.5em;
}
@media only screen and (max-width: 767px) {
  .popup__close {
    top: .5em;
    right: .5em;
    background: #FFF;
    padding: 0.25em;
  }
}
.old-ie .popup__close {
    top: .5em;
    right: .5em;
    background: #FFF;
    padding: 0.25em;
  }
.popup__close-image {
  width: 30px;
}
.popup__nav {
  overflow: hidden;
  margin-top: 2em;
}
.popup__nav a {
  color: #EE2D24;
  font-family: "altislight";
  font-size: 1.75em;
  text-decoration: none; 
}
.popup__nav a:last-child {
  /*float: right;*/
}
.popup__nav-link--right {
  float: right;
}
.footer-popup .popup__nav {
  display:none !important;
}

.tri {
  display: inline;
}
.references_list ol,
.fj-page-footer,
.fj-page-footer p {
  font-size:11px;
}

/* ==========================================================================
   Entry page
   ========================================================================== */

.twins {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
@media only screen and (max-width: 1023px) { 
  .twins {
    height: auto;
  }
}
.twins__panel {
  float: left;
  width: 50%;
  position: relative;
  height: 100%;

  border-top: 20px solid #FFF;
  border-bottom: 20px solid #FFF;
  border-right: 7px solid #FFF;

  overflow: hidden;
}
.twins__panel--right {
  border-right: 0;
  border-left: 7px solid #FFF;
}
@media only screen and (max-width: 1023px) { 
  .twins__panel {
    float: none;
    width: 100%;
    border: 0;
    border-bottom: 20px solid #FFF;
    height: 320px;
  }
}
.old-ie .twins__panel {
  float: none;
  width: 100%;
  border: 0;
  border-bottom: 20px solid #FFF;
  height: 320px;
}
.twins__panel .headings {
  top: 50%;
  bottom: auto;
  padding: 1.5em;
  margin-top: -66px;
  padding-left: 5em;
  min-height: 140px;
}
.twins__panel .headings h3 {
  font-size: 2em;
  margin: 0;
}
@media only screen and (max-width: 1023px) { 
  .twins__panel .headings h3 {
    font-size: 1.5em;
  }
}
.twins__panel .headings h4 {
  font-size: 1.25em;
  color: #000;
}
@media only screen and (max-width: 1023px) { 
  .twins__panel .headings h4 {
    font-size: 1em;
  }
}
.twins__panel--right .headings {
  right: 0;
  left: auto;
  margin-right: 0;
  padding-left: 1.5em;
  padding-right: 5em;
  text-align: right;
}
@media only screen and (max-width: 1023px) { 
  .twins__panel .headings {
    padding: 1em;
    text-align: left;
  }
}
.twins__bg {
  -ms-background-size: cover;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center;
  -webkit-transition: all .5s ease; 
  -moz-transition: all .5s ease; 
  -ms-transition: all .5s ease; 
  -o-transition: all .5s ease; 
  transition: all .5s ease;
  height: 100%;
  width: 100%;
}
.twins__link:hover .twins__bg {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}
.twins__link:hover .headings {
  background: #FFF;
}

/* ==========================================================================
   Category grid
   ========================================================================== */
.page__header {
  padding: 1em 1em 0 1em;
}
.page-title {
  display: inline-block;
  font-size: 1.75em;
  padding-left: 1.5em;
  margin: 0 0 .5em 0;
}
@media only screen and (max-width: 1023px) { 
  .page-title {
    padding-left: 0;
  }
}
.button {
  background: #EE2D24;
  color: #FFF;
  padding: .25em .75em;
  text-decoration: none;
  font-family: "altislight";
  font-size: 1.5em;
}
@media only screen and (max-width: 767px) {
  .button {
    display: block;
    float: none;
    margin-bottom: .5em;
  }
}
.old-ie .button {
    display: block;
    float: none;
    margin-bottom: .5em;
  }
.category-grid {
  overflow: hidden;
  padding: 0 1em;
}
.category-grid__row {
  margin: 0 -.75%;
}
@media only screen and (max-width: 1023px) { 
  .category-grid__row  {
    margin: 0 -.5%;
  }
}
@media only screen and (max-width: 1023px) { 
  .category-grid__row  {
    margin: 0;
  }
}
.category-grid__item {
  background: #EE2D24;
  position: relative;
  float: left;
  min-height: 300px;
  width: 23.5%;
  color: #000;
  text-align: center;
  text-decoration: none;
  padding: 1em;
  margin: 0 .75% 1.5% .75%;
}
.category-grid__item--resource-centre {
  background: #94218F;
}
.category-grid__item--resource-centre h3 {
  color: #94218F;
}
/*@media only screen and (max-width: 1023px) { */
@media only screen and (max-width: 1600px) { 
  .category-grid__item {
    min-height: 323px;
  }
}
@media only screen and (max-width: 1400px) { 
  .category-grid__item {
    min-height: 343px;
  }
}
@media only screen and (max-width: 1200px) { 
  .category-grid__item {
    width: 49%;
    margin: 0 .5% 1% .5%;
    min-height: auto;
    height: 280px;
  }
}
@media only screen and (max-width: 767px) {
  .category-grid__item {
    width: 100%;
    margin: 0 0 1em 0;
    min-height: auto;
  }
}
.old-ie .category-grid__item {
    width: 100%;
    margin: 0 0 1em 0;
    min-height: auto;
  }
.category-grid__icon {
  height: 125px;
  display: inline-block;
}
@media only screen and (max-width: 767px) {
  .category-grid__icon {
    height: 75px;
    display: inline-block;
  }
}
.old-ie .category-grid__icon {
    height: 75px;
    display: inline-block;
  }
.category-grid__item .headings {
  position: static;
  text-align: left;
  margin: 0;
  margin-left: -1em;
  margin-top: 1em;
  margin-right: 2em;
  margin-bottom: 1em;
  padding: 1em;
  padding-left: 3em;
}
.category-grid__item h3 {
  margin-top: 0;
}
@media only screen and (max-width: 1300px) {
  .category-grid__item .headings h3 {
    font-size: 1.5em;
  }
}
.category-grid__item:hover .headings {
  background: #FFF;
}
.old-ie .js-full-height {
  height: 100% !important;
}

/* ==========================================================================
   Popup
   ========================================================================== */

.popup--confirm {
  margin-top: 150px;
  background: #93278F;
  display: block;
}
@media only screen and (max-width: 767px) {
  .popup--confirm {
    margin-top: 0;
  }
}
.old-ie .popup--confirm {
    margin-top: 0;
  }
.popup--confirm > form {
  display: inline-block;
}
.popup__title {
  color: #FFF;
  font-size: 2em;
}
.popup__button {
  text-decoration: none;
  border: 1px solid #FFF;
  padding: .25em 1em;
  color: #FFF;
  font-size: 1.75em;
  font-family: "altislight";
  margin: 0 2.5em;
  background: transparent;
}
@media only screen and (max-width: 767px) {
  .popup__button {
    display: block;
    margin-bottom: 1em;
  }
}
.old-ie .popup__button {
    display: block;
    margin-bottom: 1em;
  }
.popup__button:hover {
  background: #FFF;
  color: #93278F;
}
.popup__inner {
  display: table-cell;
  vertical-align: middle;
}
.popup__inner--warning {
  display: none;
}
.popup__inner--warning .popup__title {
  padding: 0 20%;
}
@media only screen and (max-width: 767px) {
  .popup__inner  {
    height: 375px;
  }
}
.old-ie .popup__inner  {
    height: 375px;
  }
/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */ 
@media only screen and (min-width : 320px) {
  .fj-grid-item {
    width: 100%;
  }
}

.old-ie .fj-grid-item {
    width: 100%;
  }

/* Extra Small Devices, Phones */ 
@media only screen and (min-width : 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width : 1024px) {
    .fj-grid-item {
        width:33.3333333333333333333%;
        height:33.3333333333333333333vw;
    }
}

/* Small Devices, Tablets */
@media only screen and (min-width : 1025px) {
    .fj-grid-item {
        width:14.28571428571429%;
        height:14.28571428571429vw;
    }
    .fj-grid-item--width2 {
        width:28.57142857142858%;
    }
    .fj-grid-item--width3 {
        width:42.85714285714287%;
    }
    .fj-grid-item--height2 {
        height:28.57142857142858vw;
    }
    .fj-grid-item--height3 {
        height:42.85714285714287vw;
    }
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
    
}

/* ==========================================================================
   Footer styles
   ========================================================================== */


.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #A5A5A5;
  text-align: center;
  padding: .75em 0;
  z-index: 100;
}
.footer--no-logo .footer__right-logo {
  display: none;
}
@media screen and (max-width: 1024px) {
  .footer { 
    position: static;
  }
}
.old-ie .footer { 
    position: static;
  }
.footer__nav {
  display: inline-block;
}
@media screen and (max-width: 1024px) {
  .footer__nav { 
    display: block;
    margin: 1em 0;
  }
}
.old-ie .footer__nav { 
    display: block;
    margin: 1em 0;
  }
.footer__link {
  text-transform: uppercase;
  text-decoration: none;
  font-family: "altislight";
  color: #FFF;
  padding: 0 1em;
}
@media screen and (max-width: 1450px) {
  .footer__link { 
    padding: 0 .25em;
    font-size: 0.9em;
  }
}
@media screen and (max-width: 1024px) {
  .footer__link { 
    display: block;
  }
}
.old-ie .footer__link { 
    display: block;
  }
.footer__left-logo {
  position: absolute;
  left: 2em;
  top: 10px;
  width: 100px;
}
@media screen and (max-width: 1200px) {
  .footer__left-logo {
/*    width: 100px;*/
    left: .5em;
/*    top: 1em;*/
  }
}
@media screen and (max-width: 1024px) {
  .footer__left-logo { 
    position: static;
    display: inline-block;
    width: 150px;
  }
}
.old-ie .footer__left-logo { 
    position: static;
    display: inline-block;
  }
.footer__right-logo {
  position: absolute;
  right: 2em;
  top: .25em;
  width: 240px;
}
@media screen and (max-width: 1200px) {
  .footer__right-logo {
    width: 150px;
    right: .5em;
    top: .7em;
  }
}
@media screen and (max-width: 1024px) {
  .footer__right-logo { 
    position: static;
    display: inline-block;
    width: 240px;
  }
}
.old-ie .footer__right-logo { 
    position: static;
    display: inline-block;
  }
.footer__codes {
  position: absolute;
  width: 200px;
  right: 0px;
  color: #FFF;
  top: 0;
  text-align: right;
  padding: .6em;
  font-size: 0.65em;
  line-height: 1.2em;
}
@media screen and (max-width: 1024px) {
  .footer__codes {
    position: relative;
    width: auto;
    top: auto;
    text-align: center;
    padding: 0;
    font-size: 0.9em;
    line-height: 1.2em;
  }
}
/**
 * Tabs
 */
.responsive-tabs {
  position: relative;
}
@supports (display: -webkit-flex) or
          (display: -moz-flex) or
          (display: -ms-flexbox) or
          (display: flex) {
  .responsive-tabs {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: row wrap;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
  }
}
.tabtitle {
  display: inline-block;
  margin: 0;
  padding: .25em 3em;

  text-align: center;
  cursor: pointer;
}
@supports (display: -webkit-flex) or
          (display: -moz-flex) or
          (display: -ms-flexbox) or
          (display: flex) {
  .tabtitle{
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
  }
}
.tabtitle.is-selected {
  border-bottom: 5px solid #EE2D24;
}
.tabcontent {
  position: absolute;
  width: 100%;
  top: 54px;
  left: 0;
}
@supports (display: -webkit-flex) or
          (display: -moz-flex) or
          (display: -ms-flexbox) or
          (display: flex) {
  .tabcontent {
    -webkit-box-flex: 1;
    -webkit-flex: 1 100%;
        -ms-flex: 1 100%;
            flex: 1 100%;
    -webkit-box-ordinal-group: 100;
    -webkit-order: 99;
        -ms-flex-order: 99;
            order: 99;
    position: static;
  }
}
/**
 * Symptom grid
 */
.symptom-grid__link {
  float: left;
  width: 25%;
}

/* Slider */
.slick-slider
{
    position: relative;

    display: block;

    -moz-box-sizing: border-box;
         box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;

    height: auto;

    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}
.fj-slider {
  height: 100%;
}
.fj-slider .slick-list {
  height: 100%;
}
.fj-slider .slick-track {
  height: 100%;
}
.fj-slider__item {
  height: 100%;
  position: relative;
  overflow: hidden;
}
.fj-tile-container--no-padding {
  padding: 0;
}
.fj-slider__prev,
.fj-slider__next {
  position: absolute;
  background: transparent;
  border-radius: 0;
  border: 0;
  padding: 0;
  top: 50%;
  height: 40px;
  width: 20px;
  margin-top: -10px;
  z-index: 1;
  background-repeat: no-repeat;
}
.fj-slider__next {
  background: url(../images/slider-arrow-next.png);
  right: 15px;
}
.fj-slider__prev {
  background: url(../images/slider-arrow-prev.png);
  left: 15px;
}
.fj-slider__prev:focus,
.fj-slider__next:focus {
  outline: 0;
}

.redirect-notice {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  font-family: "altislight";
  display: none;
  z-index: 1000;
  position: fixed;
}
.redirect-notice__inner {
  border: 3px solid #EE2D24;
  background: #FFF;
  border-radius: 2px;
  background: #FFF;
  text-align: center;
  color: #EE2D24;
  max-width: 600px;
  margin: 0 auto;
  padding: 1.25em 3em;
  font-size: 18px;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}
.redirect-notice__btn {
  background: #EE2D24;
  color: #FFF;
  padding: .25em 1.5em;
  font-size: 24px;
  text-decoration: none;
  display: inline-block;
  margin: 0 .5em;
}
.wp-video {
  width: auto !important;
}
.wp-video video {
  width: 100%;
  height: auto;
}
.sym-grid {
  /*margin: 0 -5em 0 -4em;*/
}
@media (max-width: 768px) {
  .sym-grid {
    margin: 0;
  }
}
.sym-grid__item {
  float: left;
  width: 33.33333333333333333%;
  text-align: center;
  height: 250px;
  line-height: 250px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  color: #FFF;
}
@media (max-width: 768px) {
  .sym-grid__item {
    width: auto;
    float: none;
  }
}
.sym-grid__valign {
  display: inline-block;
  line-height: 1.1em;
  vertical-align: middle;
}
.sym-grid__title {
  font-size: 2em;
  margin: 0;
  position: relative;
  transition: all .5s linear;
  opacity: 1;
  padding: 0 1em;
  line-height: 1em;
}
.sym-grid__copy {
  -webkit-transform: translateX(200%);
      -ms-transform: translateX(200%);
          transform: translateX(200%);
  position: absolute;
  width: 100%;
  height: 100%;
  top:0;
  left: 0;
  -webkit-transition: all .5s linear;
          transition: all .5s linear;
  margin: 0;
  display: table;
  padding: 0 1em;
  font-size: 0.9em;
}
.sym-grid__copy-inner {
    vertical-align: middle;
    display: table-cell;
}
.sym-grid__item:hover .sym-grid__title,
.sym-grid__item.hover .sym-grid__title {
  -webkit-transform: translateX(-200%);
      -ms-transform: translateX(-200%);
          transform: translateX(-200%);
}
@media (max-width: 768px) {
  .sym-grid__item:hover .sym-grid__title,
  .sym-grid__item.hover .sym-grid__title {
    -webkit-transform: translateX(-400%);
        -ms-transform: translateX(-400%);
            transform: translateX(-400%);
  }
}
.sym-grid__item:hover .sym-grid__copy,
.sym-grid__item.hover .sym-grid__copy {
  -webkit-transform: translateX(0);
      -ms-transform: translateX(0);
          transform: translateX(0);
}
/* meta data */
.fj-meta, .fj-blog-holder-wrapper {
  display:none;
}
/**
 * Prescribing Information
 * Columns for desktop only
 */
@media (min-width: 1024px) {
  .pi-columns {
    -webkit-columns: 2;
    -moz-columns: 2;
    columns: 2;
/*    margin-right: -5em;*/
  }
}
@media (min-width: 1200px) {
  .pi-columns {
    margin-right: -5em;
  }
}
@media (min-width: 1600px) {
  .pi-columns {
    -webkit-columns: 3;
    -moz-columns: 3;
    columns: 3;
  }
  .popup__content .pi-columns:first-child {
    margin-bottom: 100px;
  }
}
.pi-adverse {
 padding: 1em;
 border: 2px solid #000;
 text-align: center;
 font-weight: bold;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-word;
}
.pi-adverse a {
  color: #000;
  text-decoration: none;
}
.cc_banner-wrapper .cc_container .cc_btn {
  color: #FFF !important;
  background: #EE2D24;
}
.cc_banner-wrapper .cc_container a {
  color: #EE2D24 !important;
}
.cc_container .cc_btn:hover, 
.cc_container .cc_btn:active {
  background: #FFF !important;
  color: #EE2D24 !important;
}

/**
 * Clinical menu
 */
.sub-nav__list--hidden .menu-item {
  display: none;
}
.gastroenterology .menu-item.gastroenterology {
  display: inline-block;
}
.cardiology .menu-item.cardiology {
  display: inline-block;
}
.nephrology .menu-item.nephrology {
  display: inline-block;
}
.oncology .menu-item.oncology {
  display: inline-block;
}
.pharmacy .menu-item.pharmacy {
  display: inline-block;
}
.blood-management .menu-item.blood-management {
  display: inline-block;
}
.resource-centre .menu-item.resource-centre {
  display: inline-block;
}
.womens-health .menu-item.womens-health {
  display: inline-block;
}
.health-care-professional .menu-item {
  display: inline-block;
}
.sub-nav__list .menu-item.draft {
  display: none;
}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
