/*
 * HTML5 Boilerplate
 *
 * 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.
 */

/* Reset styles */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td {
  border: 0;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

:focus {
  outline: 0;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

ol,
ul {
  list-style: none;
}

strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

address {
  line-height: 1.5;
  margin: 1em 0;
}
/* inline quotes */
q {
  display: block;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 1.5em;
  overflow: visible;
  width: 474px;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
  border-collapse: separate;
  border-spacing: 0;
}

caption,
th,
td {
  font-weight: normal;
  text-align: left;
}

.hidden {
  display: none;
}

/* =============================================================================
  HTML5 element display
  ========================================================================== */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
  display: block;
}

audio[controls],
canvas,
video {
  display: inline-block;
}

/* =============================================================================
  Base
  ========================================================================== */

/*
* 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
*    http://clagnut.com/blog/348/#c790
* 2. Force vertical scrollbar in non-IE
* 3. Remove Android and iOS tap highlight color to prevent entire container being highlighted
*    www.yuiblog.com/blog/2010/10/01/quick-tip-customizing-the-mobile-safari-tap-highlight-color/
* 4. Prevent iOS text size adjust on device orientation change, without disabling user zoom
*    www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
*/

html {
  font-size: 100%;
  -webkit-overflow-scrolling: touch;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  line-height: 1.231;
  margin: 0;
}

body,
button,
input,
select,
textarea {
  font-family: sans-serif;
  color: #222;
}

/*
* These selection declarations have to be separate
* No text-shadow: twitter.com/miketaylr/status/12228805301
*/
::-webkit-selection {
  background: #59B337;
  color: #fff;
  text-shadow: none;
}

::-moz-selection {
  background: #59B337;
  color: #fff;
  text-shadow: none;
}

::selection {
  background: #59B337;
  color: #fff;
  text-shadow: none;
}

/*---------------------------------------------------------------------------------------
FONTS
--------------------------------------------------------------------------------------- */
@font-face {
  font-family: 'Frutiger';
  font-style: normal;
  font-weight: normal;
  src: url(/National_Library/oe_/https://www.aviva.com/library/static/fonts/frutigerltw01-45light.eot);
  src: url(/National_Library/oe_/https://www.aviva.com/library/static/fonts/frutigerltw01-45light.eot#iefix) format('embedded-opentype'),
    url(/National_Library/oe_/https://www.aviva.com/library/static/fonts/frutigerltw01-45light.woff) format('woff'),
    url(/National_Library/oe_/https://www.aviva.com/library/static/fonts/frutigerltw01-45light.ttf) format('truetype'),
    url(/National_Library/oe_/https://www.aviva.com/library/static/fonts/frutigerltw01-45light.svg#AnonymousRegular) format('svg');
}

/* =============================================================================
  Typography
  ========================================================================== */
p {
  font-size: 1.4em;
  font-weight: normal;
  line-height: 1.38em;
  margin: 0 0 1em 0;
  overflow: visible;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

blockquote {
  color: #585858;
  font-size: 1.2em;
  font-style: oblique;
  line-height: 1.15em;
  margin: 0 1em 1em 1em;
}

blockquote p {
  font-size: 1.2em;
  font-weight: normal;
  margin: 0 1em 1em 1em;
}

div.col-r blockquote p {
  font-size: 1.2em
  margin: 0;
}

blockquote.quoteBg {
  line-height: 1.35em;
  margin: 0 0 2em 0;
  padding-top: .5em;
  text-indent: 2em;
}

blockquote.quoteBg {
  background: url(/National_Library/oe_/https://www.aviva.com/library/static/images/quote-open.gif) no-repeat top left;
}

blockquote.quoteBg:after {
  content: url(/National_Library/oe_/https://www.aviva.com/library/static/images/quote-close.gif);
  float: right;
}

dfn {
  font-style: italic;
}

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

ins {
  background: #ff9;
  color: #000;
  text-decoration: none;
}

mark {
  background: #ff0;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

/* Redeclare monospace font family: en.wikipedia.org/wiki/User:Davidgothberg/Test59 */
pre,
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Improve readability of pre-formatted text in all browsers */
pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}

q {
  quotes: none;
}

q:before,
q:after {
  content: "";
  content: none;
}

small {
  font-size: 85%;
}

/* Position subscript and superscript content without affecting line-height: gist.github.com/413930 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/*---------------------------------------------------------------------------------------
HEADINGS
--------------------------------------------------------------------------------------- */
h1 {
  clear: both;
  color: #004fb6;
  font: 2.4em/1 Frutiger, Arial, Helvetica, sans-serif;
  letter-spacing: -.02em;
  margin-bottom: .58333em;
  word-spacing: .05em;
}

h2,
h3 {
  color: #004fb6;
  font: 1.8em Frutiger, Arial, Helvetica, sans-serif;
  letter-spacing: -.02em;
  margin-bottom: .77778em;
  word-spacing: .05em;
}

h3 {
  font: 1.7em Frutiger, Arial, Helvetica, sans-serif;
}

h4,
h5,
h6 {
  font-size: 1.4em;
  font-weight: bold;
}

/* =============================================================================
   Lists
   ========================================================================== */
ul,
ol {
  font-size: 1.4em;
  line-height: 1.4em;
  margin-bottom: 0.75em;
}

ul ul,
ul ol,
ol ul,
ol ol {
  margin-bottom: 0;
  margin-top: .5em
}

ul li,
ol li {
  margin-bottom: .5em;
}

/* Correct font sizes within lists */
li ul,
li ol,
li p,
li a,
li h4 {
  font-size: 1em;
}

li h3 {
  font-size: 1.23em;
}

li .pBut {
  font-size: .769em;
  line-height: 1em;
}

/* Ordered lists */
ol li,
ul ol li {
  background: none;
  display: list-item;
  line-height: 1.5em;
  list-style-type: decimal;
  margin: 0 0 0.5em 25px;
  padding: 0;
}

ol ol li {
  list-style-type: lower-alpha;
}

ol ol ol li {
  list-style-type: lower-roman;
}

ol ul li,
ol ol ul li {
  list-style-type: none;
}

.lower-alpha li {
  list-style-type: lower-alpha;
}

.roman li {
  list-style-type: lower-roman;
}

/* ---------------------------------------------------------------------------------------
FIX FOR FONT SIZING WITHIN LISTS IN FF & IE
--------------------------------------------------------------------------------------- */
ul p,
ul h1,
ul h2,
ul h3,
ul h4 {
  font-size: inherit;
}

/* =============================================================================
   Links
   ========================================================================== */
a {
  color: #004FB6;
}

a:visited {
  color: #004FB6;
}

a:focus {
  outline: thin dotted;
}

/* Improve readability when focused and hovered in all browsers: people.opera.com/patrickl/experiments/keyboard/test */
a:hover,
a:active {
  outline: 0;
}

a {
  color: #004fb6;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

a:focus {
  border-bottom: 1px dashed #004fb6;
  text-decoration: none;
}

a.external {
  background: url(/National_Library/oe_/https://www.aviva.com/library/static/images/link-external.gif) 100% 20% no-repeat;
  border: none;
  margin: 0 2px 0 0;
  padding: 0 16px 0 0;
  text-decoration: none;
}

a.linkArrow {
  background: url(/National_Library/oe_/https://www.aviva.com/library/static/images/lists/link-arrow.gif) 100% 52% no-repeat;
  float: none;
  margin: 0.4em 0 0 0;
  padding: 0 12px 3px 0;
}

a.linkArrowBack {
  background: url(/National_Library/oe_/https://www.aviva.com/library/static/images/lists/left-link-arrow.gif) 0 52% no-repeat;
  float: none;
  margin: 0.4em 0 0 0;
  padding: 0 0 3px 12px;
}

a.fullLinkArrow {
  background: transparent url(/National_Library/oe_/https://www.aviva.com/library/static/images/lists/list-arrow-full.gif) no-repeat scroll 100% 50%;
  padding: 0 12px 0 0;
}

a.linkMicrosite,
a.linkPdf,
a.pdf,
a.word,
a.ppt,
a.excel,
a.rss {
  border: none;
  padding: 0 16px 0 0;
  margin: 0 2px 0 0;
}

a.linkMicrosite:hover,
a.linkPdf:hover,
a.pdf:hover,
a.word:hover,
a.ppt:hover,
a.excel:hover,
a.rss:hover,
a.linkMicrosite:focus,
a.linkPdf:focus,
a.pdf:focus,
a.word:focus,
a.ppt:focus,
a.excel:focus,
a.rss:focus {
  border: none;
}

a.linkMicrosite {
  background: url(/National_Library/oe_/https://www.aviva.com/library/static/images/icons/link-microsite.gif) 100% 40% no-repeat;
}

a.linkPdf {
  background: url(/National_Library/oe_/https://www.aviva.com/library/static/images/icons/icn-inline-pdf.gif) 100% 20% no-repeat;
}

a.pdf {
  background: url(/National_Library/oe_/https://www.aviva.com/library/static/images/icons/icn-inline-pdf.gif) 100% 20% no-repeat;
}

a.word {
  background: url(/National_Library/oe_/https://www.aviva.com/library/static/images/icons/icn-inline-word.gif) 100% 20% no-repeat;
}

a.ppt {
  background: url(/National_Library/oe_/https://www.aviva.com/library/static/images/icons/icn-inline-ppt.gif) 100% 20% no-repeat;
}

a.excel {
  background: url(/National_Library/oe_/https://www.aviva.com/library/static/images/icons/icn-inline-xls.gif) 100% 20% no-repeat;
}

a.rss {
  background: url(/National_Library/oe_/https://www.aviva.com/library/static/images/icons/icn-rss.gif) 100% 20% no-repeat;
}

a.external:hover,
a.linkArrow:hover,
a.fullLinkArrow:hover,
a.external:focus,
a.linkArrow:focus,
a.fullLinkArrow:focus {
  text-decoration: underline;
}

.p6 .linkArrow {
  float: right;
  font-weight: bold;
}

a.imageLink {
  display: block;
  border: none;
  text-decoration: none;
}

a.imageLink:focus {
  border: none;
}

/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * Improve image quality when scaled in IE7
 * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
 */

img {
  border: 0;
  -ms-interpolation-mode: bicubic;
}

/*
 * Correct overflow displayed oddly in IE9
 */
svg:not(:root) {
  overflow: hidden;
}

/* =============================================================================
   Figures
   ========================================================================== */
figure {
  margin: 0;
}

/* =============================================================================
   Forms
   ========================================================================== */

/* Form layout */
legend {
  display: none;
}

/*
 * 1. Correct color not inheriting in IE6/7/8/9
 * 2. Correct alignment displayed oddly in IE6/7
 */

/* Indicate that 'label' will shift focus to the associated form element */
label {
  cursor: pointer;
}

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */
button,
input,
select,
textarea {
  margin: 0;
  vertical-align: baseline;
}

/*
* 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
* 2. Correct inner spacing displayed oddly in IE6/7
*/
button,
input {
  line-height: normal;
}

/*
* 1. Display hand cursor for clickable form elements
* 2. Allow styling of clickable form elements in iOS
*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

/*
* Consistent box sizing and appearance
*/
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  cursor: pointer;
}

input[type="search"] {
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

/*
* Remove inner padding and border in FF3/4
* www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/* Remove default vertical scrollbar in IE6/7/8/9 */
textarea {
  overflow: auto;
  vertical-align: top;
}

/* =============================================================================
  Tables
  ========================================================================== */

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

/* =============================================================================
  Buttons
  ========================================================================== */
.button em,
a em,
.whiteButton em {
  position: absolute;
  left: -1000em;
}

/* =============================================================================
  Primary styles
  Author:
  ========================================================================== */

/* =============================================================================
  Non-semantic helper classes
  Please define your styles before this section.
  ========================================================================== */

/* For image replacement */
.ir {
  background-repeat: no-repeat;
  direction: ltr;
  display: block;
  overflow: hidden;
  text-align: left;
  text-indent: -999em;
}

.ir br {
  display: none;
}

/* Hide for both screenreaders and browsers:
  css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden {
  display: none;
  visibility: hidden;
}

/* Hide only visually, but have it available for screenreaders: by Jon Neal.
 www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden */
.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: 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 screenreaders, but maintain layout */
.invisible {
  visibility: hidden;
}

.hideLeft {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  display: block;
  border: 0;
  height: 0;
}

.hideLeft a {
  position: absolute;
  left: -999em;
  top: 0;
}

.hideLeft a:focus {
  position: absolute;
  left: 0;
  width: 100%;
  display: block;
  outline: dashed;
}

/* Contain floats: nicolasgallagher.com/micro-clearfix-hack/ */
.clearFix:before,
.clearFix:after {
  content: "";
  display: table;
  height: 0;
  visibility: hidden;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 0;
}

.clearFix:after {
  clear: both;
}

.clearFix {
  display: inline-block;
  zoom: 1;
}

/* =============================================================================
  Print styles.
  Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
  ========================================================================== */
@media only screen and (-webkit-min-device-pixel-ratio:1.5), only screen and (-o-min-device-pixel-ratio:3/2), only screen and (min--moz-device-pixel-ratio:1.5), only screen and (min-device-pixel-ratio:1.5) {
}

@media print {
  * {
    background: transparent !important;
    color: black !important;
    text-shadow: none !important;
    filter: none !important;
    -ms-filter: none !important;
  }

  /* Black prints faster: sanbeiji.com/archives/953 */
  a,
  a:visited {
    color: #444 !important;
    text-decoration: underline;
  }

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

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

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

  /* Don't show links for images, or javascript/internal links */
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  /* css-discuss.incutio.com/wiki/Printing_Tables */
  tr,
  img {
    page-break-inside: avoid;
  }

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

  @page {
    margin: 0.5cm;
  }

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

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

}
