/*
    
    Express Solicitors NHS Payouts
    v1.0
    Author: Greg Meek, Stickyeyes

    COLORS ------------
    
    Black = 000
    Teal = 2faab0
    Light Teal = 8dcdd2
    Orange = e35640
    Yellow  = f7b565

    TYPOGRAPHY --------
    
    Headers = 'Oswald', sans-serif
    Copy = 'Lora', serif

*/

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

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations 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 images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/*
 * Core
 */

body {
    font: italic 1.25em/1.4em 'Lora', serif;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
}
h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    line-height: 1em;
    font-weight: normal;
    font-style: normal;
}
h2, h3 {
     font-weight: 300;
}
h1 {
    font-size: 1.9375em;
    line-height: 1.4em;
    text-transform: uppercase;
    color: #e35640;
    margin: 0 0 130px;
}
h1 strong {
    font-weight: normal;
    font-size: 1.25806452em;
    color: #000;
    display: block;
}
h2 {
    font-size: 2em;
    color: #000;
    margin: 0;
}
h3 {
    font-size: 0.9em;
    text-transform: uppercase;
    margin: 0 0 10px;
}
a {
    text-decoration: none;
}
ul {
    list-style: none;
}

/*
 * Generic
 */

.next {
    background: url(../img/arrow.png) no-repeat;
    background-position: center top;
    height: 50px;
    width: 50px;
    display: block;
    margin: 0 auto;
    -moz-transition: background-position 0.5s;
    -webkit-transition: background-position 0.5s;
    -o-transition: background-position 0.5s;
    transition: background-position 0.5s;
}
.next:hover {
    background-position: center 10px;
    -moz-transition: background-position 0.25s;
    -webkit-transition: background-position 0.25s;
    -o-transition: background-position 0.25s;
    transition: background-position 0.25s;
}
.no-transform {
    text-transform: none;
}

/*
 * Layout
 */

html {
    min-width: 960px;
}
body {
    background: #000 url(../img/bg.jpg) no-repeat center 250px;
    text-align: center;
}
.header, .summary {
    position: relative;
    z-index: 777;
}
.inner {
    width: 960px;
    margin: 0 auto;
    position: relative;
}

@media only screen and (max-device-width: 1024px) {

    body {
        background-image: url(../img/ipad-bg.jpg);
        background-size: 1024px 13895px;
    }

}

/*
 * Share
 */

.share {
    background: #e35640;
    position: absolute;
    top: 155px;
    left: 50%;
    margin-left: -447px; 
    z-index: 999;
    padding: 15px 25px;
    text-transform: uppercase;
    cursor: pointer;
    text-align: left;
    height: 26px;
    -moz-transition: height 0.25s 0.25s;
    -webkit-transition: height 0.25s 0.25s;
    -o-transition: height 0.25s 0.25s;
    transition: height 0.25s 0.25s;
}
.share.fixed  {
    position: fixed;
    top: 0;
}
.share.hover  {
    height: 130px;
    -moz-transition: height 0.25s;
    -webkit-transition: height 0.25s;
    -o-transition: height 0.25s;
    transition: height 0.25s;
}
.share h3 {
    font: 300 0.9em 'Oswald', sans-serif;
    background: url(../img/plus.png) no-repeat 90px center;
    padding: 0 40px 0 0;
    margin: 0;
}
.share ul {
    padding: 0;
    margin: 20px 0 5px;
    opacity: 0;
    position: absolute\9; /* IE8 and below */ 
    top: -9999px\9; /* IE8 and below */ 
    left: -999px\9; /* IE8 and below */ 
    -moz-transition: opacity 0.25s 0.25s, margin 0.25s;
    -webkit-transition: opacity 0.25s, margin 0.25s;
    -o-transition: opacity 0.25s, margin 0.25s;
    transition: opacity 0.25s, margin 0.25s;
}
.share.hover ul {
    margin: 15px 0 0;
    opacity: 1;
    position: absolute\9; /* IE8 and below */  
    top: 40px\9; /* IE8 and below */ 
    left: 20px\9; /* IE8 and below */ 
    -moz-transition: opacity 0.25s 0.15s, margin 0.25s 0.15s;
    -webkit-transition: opacity 0.25s 0.15s, margin 0.25s 0.15s;
    -o-transition: opacity 0.25s 0.15s, margin 0.25s 0.15s;
    transition: opacity 0.25s 0.15s, margin 0.25s 0.15s;
}
.share a {
    text-transform: none;
    font-size: 0.8em;
    color: #fff;
}
.share .fb-like  {
    margin-bottom: 10px;
}

/*
 * Trolley
 */

.trolley {
    position: absolute;
    top: 570px;
    left: 50%;
    background: url(../img/trolley.png) no-repeat -371px 0;
    width: 180px;
    height: 570px;
    margin: 0 0 0 -87px;
    z-index: 99;
}
.trolley.fixed {
    position: fixed;
    top: 230px;
    left: 50%;
}

/*
 * Header
 */

.header {
    background: url(../img/shadow-top.png) repeat-x center top;

}
.header .inner {
    background: url(../img/intro.png) no-repeat;
    width: 510px;
    height: 600px;
    margin: 10px auto 595px;
    padding: 120px;
}
.header p {
    font-size: 1.1em;
}
.header .next {
    margin-top: 60px;
} 

/*
 * Facts
 */

.facts {
    width: 960px;
    margin: 0 auto;
    position: relative;
    z-index: 777;
}
.fact {
    margin: 1145px 0 0;
    position: relative;
}
.fact13 {
    margin: 0;
}
.fact .next {
    background: rgba(255, 255, 255, 0.3) url(../img/arrow.png) no-repeat center -240px;
    background-image: url(../img/ie-arrow.png)\9; /* IE8 and below */  
    background-color: none\9; /* IE8 and below */  
    background-position: center top\9; /* IE8 and below */  
    height: 115px;
    width: 115px;
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    border-radius: 60px;
    border: none\9; /* IE8 and below */  
    position: absolute;
    top: 230px;
    left: 150px;
    -moz-transition: background 0.5s;
    -webkit-transition: background 0.5s;
    -o-transition: background 0.5s;
    transition: background 0.5s;
}
.fact .next:hover {
    background-color: rgba(255, 255, 255, 0.5);
    background-position: center -230px;
    background-image: url(../img/ie-arrow.png)\9; /* IE8 and below */  
    background-color: none\9; /* IE8 and below */  
    background-position: center top\9; /* IE8 and below */  
    -moz-transition: background 0.25s;
    -webkit-transition: background 0.25s;
    -o-transition: background 0.25s;
    transition: background 0.25s;
}

@media only screen and (min-height: 700px) {

    .fact .next {
        top: 310px;
    }

}

/*
 * Panel
 */

.fact article {
    background: #52c03c ;
    width: 340px;
    padding: 0 0 30px;
    position: absolute;
    left: 620px;
    top: 100px;
    -webkit-box-shadow: 0px 5px 30px rgba(50, 50, 50, 0.75);
    -moz-box-shadow:    0px 5px 30px rgba(50, 50, 50, 0.75);
    box-shadow:         0px 5px 30px rgba(50, 50, 50, 0.75);
    opacity: 1;
    -webkit-transition: opacity 0.5s ease-in-out, top 0.5s;
    -moz-transition: opacity 0.5s ease-in-out, top 0.5s;
    -o-transition: opacity 0.5s ease-in-out, top 0.5s;
    transition: opacity 0.5s ease-in-out, top 0.5s;
}
.fact .hide {
    opacity: 0;
    top: 220px;
    -webkit-transition: opacity 0.5s ease-in-out, top 0.5s;
    -moz-transition: opacity 0.5s ease-in-out, top 0.5s;
    -o-transition: opacity 0.5s ease-in-out, top 0.5s;
    transition: opacity 0.5s ease-in-out, top 0.5s;
}
.fact h2 {
    background: url(../img/fact-quote.png) no-repeat left bottom;
    margin-left: -64px;
    padding-left: 64px;
}
.fact h2 span {
    display: block;
    background: #fff;
    padding: 30px;
}
.fact12 h2 span {
    padding: 12px 30px;
}
.fact12 h2 em {
    font-size: 0.5em;
    font-style: normal;
    display: block;
}
.fact .location {
    background: url(../img/map-uk.png) no-repeat center top;
    display: block;
    width: 100px;
    height: 100px;
    margin: 33px auto;
}
.fact .south-east {
    background-position: center -1074px;
}
.fact .yorkshire {
    background-position: center -537px;
}
.fact .north-east {
    background-position: center -269px;
}
.fact .west-mids {
    background-position: center -806px;
}
.fact .london {
    background-position: center -1208px;
}
.fact p {
    padding: 10px 30px 0;
    margin: 30px 0;
    font-size: 0.9em;
}
.fact article a {
    font: normal 0.8em 'Oswald', sans-serif;
    text-transform: uppercase;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    display: inline-block;
    margin: 0 auto;
    padding: 2px 20px;
    color: #e35640;
    background: #ac4130;
    -moz-transition: background 0.5s;
    -webkit-transition: background 0.5s;
    -o-transition: background 0.5s;
    transition: background 0.5s;
}
.fact article a:hover {
    background: #872718;
    -moz-transition: background 0.25s;
    -webkit-transition: background 0.25s;
    -o-transition: background 0.25s;
    transition: background 0.25s;
}

@media only screen and (min-height: 700px) {

    .fact article {
        top: 180px;
    }
    .fact h2 {
        background-position: left top;
    }
    .fact p {
        font-size: 1.111em;
    }

}

/*
 * Signs
 */

.fact ul {
   
    height: 54px;
    margin: 0;
    padding: 0 37px;
}
.fact li {
    display: block;
    float: left;
}
.fact li a, .fact li span {
    height: 54px;
    display: block;
    float: left;
  
}
.fact li:first-child a, .fact li:first-child span {
    width: 125px;
}
.fact li:first-child a {
    background-position: left top;
}
.fact li:first-child a:hover, .fact li:first-child span {
    background-position: left bottom;
}
.fact li:nth-child(2) a, .fact li:nth-child(2) span {
    width: 75px;
}
.fact li:nth-child(2) a {
    background-position: -125px top;
}
.fact li:nth-child(2) a:hover, .fact li:nth-child(2) span {
    background-position: -125px bottom;
}
.fact li:nth-child(3) a, .fact li:nth-child(3) span {
    width: 70px;
}
.fact li:nth-child(3) a {
    background-position: -200px top;
}
.fact li:nth-child(3) a:hover, .fact li:nth-child(3) span {
    background-position: -200px bottom;
}
.fact li:nth-child(4) a, .fact li:nth-child(4) span {
    width: 75px;
}
.fact li:nth-child(4) a {
    background-position: -270px top;
}
.fact li:nth-child(4) a:hover, .fact li:nth-child(4) span {
    background-position: -270px bottom;
}
.fact li:nth-child(5) a, .fact li:nth-child(5) span {
    width: 80px;
}
.fact li:nth-child(5) a {
    background-position: -345px top;
}
.fact li:nth-child(5) a:hover, .fact li:nth-child(5) span {
    background-position: -345px bottom;
}
.fact li:nth-child(6) a, .fact li:nth-child(6) span {
    width: 80px;
}
.fact li:nth-child(6) a {
    background-position: -430px top;
}
.fact li:nth-child(6) a:hover, .fact li:nth-child(6) span {
    background-position: -430px bottom;
}
.fact li:nth-child(7) a, .fact li:nth-child(7) span {
    width: 75px;
}
.fact li:nth-child(7) a {
    background-position: -510px top;
}
.fact li:nth-child(7) a:hover, .fact li:nth-child(7) span {
    background-position: -510px bottom;
}
.fact li:nth-child(8) a, .fact li:nth-child(8) span {
    width: 80px;
}
.fact li:nth-child(8) a {
    background-position: -585px top;
}
.fact li:nth-child(8) a:hover, .fact li:nth-child(8) span {
    background-position: -585px bottom;
}
.fact li:nth-child(9) a, .fact li:nth-child(9) span {
    width: 83px;
}
.fact li:nth-child(9) a {
    background-position: -665px top;
}
.fact li:nth-child(9) a:hover, .fact li:nth-child(9) span {
    background-position: -665px bottom;
}
.fact li:last-child a, .fact li:last-child span {
    width: 138px;
}
.fact li:last-child a {
    background-position: -748px top;
}
.fact li:last-child a:hover, .fact li:last-child span {
    background-position: -748px bottom;
}

/*
 * Summary
 */

.summary {
    background: url(../img/shadow-bottom.png) repeat-x center top;
    margin: 700px 0 0;
    padding: 700px 0 0;
}
.summary .inner {
    background: url(../img/summary.png) no-repeat;
    width: 650px;
    padding: 64px 50px;
}
.summary .further-payouts {
    height: 366px;
}
.summary h2 {
    font-size: 2.75em;
    text-transform: uppercase;
    padding: 45px 0;
    margin: 0 0 50px;
}
.summary .further-payouts p {
    font-size: 1.1em;
    padding: 0 30px;
}
.summary .highlights {
    margin: 0 0 50px;
}
.summary .highlights h3 {
    margin: 20px 0;
}
.summary .highlights ul {
    padding: 0;
    font: 300 0.8em 'Oswald', sans-serif;
}
.summary .highlights li {
    float: left;
    display: inline-block;
    width: 285px;
    height: 183px;
    padding: 0 20px;
}
.summary .highlights li h4 {
    float: left;
    display: inline-block;
    font-weight: 300;
    width: 100px;
    margin: 0 14px;
    text-transform: uppercase;
}
.summary .highlights li h4 em {
    font: italic 2.5em/1em 'Lora', serif;
    text-transform: none;
    display: block;
}
.summary .highlights li p {
    color: #000;
    float: left;
    display: inline-block;
    width: 145px;
    margin: 0 0 0 10px;
    font-size: 1.125em;
}
.summary .highlights li:first-child h4 {
    margin-top: 60px;
}
.summary .highlights li:first-child p {
    margin-top: 65px;
}
.summary .highlights li:nth-child(2) h4 {
    margin-top: 50px;
    margin-left: 16px;
}
.summary .highlights li:nth-child(2) p {
    margin-top: 50px;
}
.summary .highlights li:nth-child(3) h4 {
    margin-top: 45px;
}
.summary .highlights li:nth-child(3) p {
    margin-top: 50px;
}
.summary .highlights li:nth-child(4) h4 {
    margin-top: 72px;
    margin-left: 16px;
}
.summary .highlights li:nth-child(4) p {
    margin-top: 50px;
}
.summary .highlights li:nth-child(5) h4 {
    margin-top: 40px;
    font-size: 0.9em;
}
.summary .highlights li:nth-child(5) p {
    margin-top: 40px;
}
.summary .highlights li:last-child h4 {
    margin-top: 60px;
    margin-left: 16px;
}
.summary .highlights li:last-child p {
    margin-top: 60px;
}
.summary .highlights a {
    font: normal 0.8em 'Oswald', sans-serif;
    text-transform: uppercase;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    display: inline-block;
    margin: 0 auto;
    padding: 2px 20px;
    color: #e35640;
    background: #ac4130;
    -moz-transition: background 0.5s;
    -webkit-transition: background 0.5s;
    -o-transition: background 0.5s;
    transition: background 0.5s;
}
.summary .highlights a:hover {
    background: #872718;
    -moz-transition: background 0.25s;
    -webkit-transition: background 0.25s;
    -o-transition: background 0.25s;
    transition: background 0.25s;
}
.summary .back-to-top {
    font: normal 0.8em 'Oswald', sans-serif;
    color: #595959;
    text-transform: uppercase;
    margin: 0 auto;
    display: inline-block;
    -moz-transition: color 0.25s;
    -webkit-transition: color 0.25s;
    -o-transition: color 0.25s;
    transition: color 0.25s;
}
.summary .back-to-top:hover {
    color: #bfbfbf;
    -moz-transition: color 0.25s;
    -webkit-transition: color 0.25s;
    -o-transition: color 0.25s;
    transition: color 0.25s;
}
.summary .back-to-top span {
    background: rgba(255, 255, 255, 0.3) url(../img/arrow.png) no-repeat center -530px;
    background-image: url(../img/ie-arrow.png)\9; /* IE8 and below */  
    background-color: none\9; /* IE8 and below */  
    background-position: center bottom\9; /* IE8 and below */  
    font: normal 0.8em 'Oswald', sans-serif;
    color: #595959;
    text-transform: uppercase;
    height: 115px;
    width: 115px;
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    border-radius: 60px;
    display: block;
    margin: 0 0 10px;
    -moz-transition: background 0.25s;
    -webkit-transition: background 0.25s;
    -o-transition: background 0.25s;
    transition: background 0.25s;
}
.summary .back-to-top:hover span {
    background: rgba(255, 255, 255, 0.5) url(../img/arrow.png) no-repeat center -540px;
    background-image: url(../img/ie-arrow.png)\9; /* IE8 and below */  
    background-color: none\9; /* IE8 and below */  
    background-position: center bottom\9; /* IE8 and below */  
    -moz-transition: background 0.25s;
    -webkit-transition: background 0.25s;
    -o-transition: background 0.25s;
    transition: background 0.25s;
}

/*
 * Flicker
 */

.flicker {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15000px;
    background: rgba(0, 0, 0, 0.4);
    z-index: 888;
}
.flicker.show {
    display: block;
}


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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

.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;
}

/*
 * 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

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

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

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    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;
    }
}
