/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    font-family: "helvetica neue", helvetica, sans-serif;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

@font-face {
 font-family: 'apexRoundedBold';
 src: url('../fonts/ApexRounded-Bold.eot');
 src: url('../fonts/ApexRounded-Bold.eot?#iefix') format('embedded-opentype'),
 url('../fonts/ApexRounded-Bold.woff') format('woff'),
 url('../fonts/ApexRounded-Bold.svg#ApexRounded-Bold') format('svg');
 font-weight: normal;
 font-style: normal;
}

@font-face {
 font-family: 'apexRoundedBook';
 src: url('../fonts/ApexRounded-Book.eot');
 src: url('../fonts/ApexRounded-Book.eot?#iefix') format('embedded-opentype'),
 url('../fonts/ApexRounded-Book.woff') format('woff'),
 url('../fonts/ApexRounded-Book.svg#ApexRounded-Book') format('svg');
 font-weight: normal;
 font-style: normal;
}

html {
    background: #eee;
}

body {
    line-height: 1.5;
    font-weight: 300;
    font-size: 16px;
    margin: 0 auto;
    max-width: 1350px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    background: #fff;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
    max-width: 100%;
}

#landing-header{
    height: 368px;
    background-image: url(../img/landing-header.jpg);
    background-size: cover;
    background-position: center center;
    padding-top: 100px;
    margin-top: 100px;
    overflow: hidden;
    position: relative;
}

#landing-header img{
    position: absolute;
    bottom: 0;
}

#landing-header img.mobile-header{
  display: none;
}

#strapline{
    text-align: center;
    font-family: apexRoundedBold, sans-serif;
    padding: 10px 0;
    color: #fff;
    z-index: 1000;
}

#strapline p{
    float: left;
    width: 33%;
    text-align: center;
    color: #bbb;
    line-height: 50px;
    font-size: 32px;
}

#strapline p span{
    font-family: apexRoundedBook, sans-serif;
    display: block;
    margin: 10px;
    line-height: 70px;
}

#strapline a{
    display: none;
    background-size: 32px auto;
    background-repeat: no-repeat;
    background-color: rgba(255,255,255,0.2);
    border-radius: 10px;
    margin: 30px 0 0;
    transition: background-color 0.28s;
    font-size: 18px;
    font-family: apexRoundedBook, sans-serif;
    font-weight: bold;
    background-position: 15px 15px;
    border: 3px solid rgba(0,0,0,0.2);
    box-shadow: 0 5px 0 rgba(0,0,0,0.3);
    position: relative;
    color: #fff;
    text-decoration: none;
    padding:  0 30px 0 64px;
    line-height: 50px;
}

#strapline a.contact{
    background-color: #f38243;
    background-image: url(../img/contact_icon.png);
    background-size: 32px;
}

#strapline a.apply{
    background-color: #f38243;
    background-image: url(../img/apply_icon.png);
    background-position: 15px 10px;
}

#locations{
    overflow-y: hidden;
}

#locations section{
    width: 50%;
    float: left;
}

#locations .intro{
    width: 90%;
    margin: 0 auto;
}

#locations section .container{
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

#locations section .container h1{
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
}

.callsToAction{
    overflow: hidden;
    position: fixed;
    max-width: 1350px;
    background: #eee;
    top: 0;
    width: 100%;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    z-index: 1000;
}

a.cta{
    background: #4697d2;
    border-bottom-width: 10px;
    border-style: solid;
    border-color: #3377a8;
    display: block;
    color: #fff;
    width: 50%;
    float: left;
    text-decoration: none;
    box-sizing: border-box;
    font-size: 16px;
    text-align: center;
}

.cta-button {
    display: inline-block;
    background-color: #4596d1;
    padding: 0;
    border-radius: 10px;
    margin: 10px 0 12px;
    font-size: 24px;
    font-family: apexRoundedBook, sans-serif;
    font-weight: bold;
    background-position: right 10px;
    border: 2px solid #0b3e63;
    box-shadow: 0 5px 0 #0b3e63;
    position: relative;
    line-height: 60px;
}

.cta-button:active{
    top: 5px;
    box-shadow: 0 0 0 rgba(0,0,0,0.5);
}

.cta-button:hover{
    background-color: rgba(0,0,0,0.1);
    font-family: apexRoundedBook, sans-serif;
}

.cta-button span {
    display: block;
    float: left;
}
.cta-button span.img {
    width: 60px;
    height: 60px;

    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.cta-button span.img img {
    display: block;
    width: 60px;
    height: 60px;
}

.cta-button span.text {
    padding: 0 30px;
}

a.london .cta-button span.img {
    background: #6aabda;
}

a.dublin{
    background-color: #a1cd3a;
    border-color: #87ab33;
}

a.dublin div{
    background-color: #a1cd3a;
    border-color: #648419;
    box-shadow: 0 5px 0 #648419;
}

a.dublin span.img {
    background: #b4d761;
}


.intro-block {
    font-size: 0;
    letter-spacing: -4px;
    overflow-y: hidden;
    display: none;
    margin-top: 20px;
}

.intro-block .blue{ background: #4097db; }
.intro-block .blue a.expand-link{ color: #4097db; }

.intro-block .red{ background: #d2232a; }
.intro-block .red a.expand-link{ color: #d2232a; }

.intro-block .green{ background: #a1cd3a; }
.intro-block .green a.expand-link{ color: #a1cd3a; }

.intro-block .pink{ background: #385988; }
.intro-block .pink a.expand-link{ color: #385988; }

.intro-block .article {
    font-size: 16px;
    letter-spacing: 0;
    display: inline-block;
    vertical-align: top;
    width: 23%;
    margin: 1%;
    box-sizing: border-box;
    padding: 3% 2%;
    color: #fff;
    position: relative;
}

.intro-block .article h2 {
    text-align: center;
    font-weight: bold;
    font-size: 30px;
    line-height: 30px;
    margin: 0;
    font-family: "apexRoundedBook",Arial,Helvetica,sans-serif;
}

.intro-block .article p {
    display: none;
    margin: 15px 2% 0;
    height: 290px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: "apexRoundedBook",Arial,Helvetica,sans-serif;
}


#locations section .container.location-intro{
    margin-bottom: 40px;
}

#locations section img.location-image{
    margin: 0 auto 40px;
}

#locations section div.statistic-carousel{
    background: #eee;
    padding: 40px 0;
}

#locations section div.statistic-carousel ul{
    width: 50%;
    margin: 0 auto;
}

#locations section .container .the-facts{
    background: #f3f3f3;
    margin: 40px 0;
    box-sizing: border-box;
    padding: 0;
    text-align: left;
}

#locations section .container .the-facts .map{
    background: #444;
    height: 250px;
    display: block;
}

#locations section .container .the-facts h2, #locations section .container .the-facts ul {
    margin: 0 40px;
}

#locations section .container .the-facts h2{
    font-size: 24px;
}

#locations section .container .the-facts ul{
    color: #4696d2;
    list-style: disc;
    margin-left: 60px;
}

#locations section .container .the-facts ul li{
    margin: 10px 0;
}

#locations section .container .the-facts ul li span{
    color: #444;
}

#london .cta, #dublin .cta {
    background: none;
    border: 0;
    float: none;
    position: relative;
    width: 100%;
    padding: 0 8%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#london .cta .cta-button {
    position: absolute;
    top: 10%;
    left: 14%;
}
#dublin .cta .cta-button {
    position: absolute;
    top: 10%;
    right: 14%;
}

#london .cta .cta-button:hover {
    background: #3f88bd;
}
#dublin .cta .cta-button:hover {
    background: #91b834;
}

footer{
    background: #000;
    color: #fff;
    overflow: hidden;
}
footer p{
    line-height: 24px;
    margin: 20px 0;
    font-family: "apexRoundedBook",Arial,Helvetica,sans-serif;
}
footer p#copyright-info{
    float: left;
}
footer p#link-love{
    float: right;
}
footer .container{
    width: 95%;
    margin: 0 auto;
}
footer p#link-love a{
    display: inline-block;
    float: right;
    width: 71px;
    margin: 0 0 0 10px;
}
footer p#link-love img{
    display: block;
}
/** Revised footer menu **/

.footer-top {
    padding-top:20px;
    padding-bottom:20px;
    height:60px;
    background-color: #000;
}
.footer-top li {
    list-style-type: none;
}
.footer-top ul {
    margin-left: 0px;
    padding-left:0px;
}
.footer-left {
    float:left;
    width:65%;
}
.footer-left h2, .footer-right h2 {
    margin-bottom: 20px;
    font-size:22px;
    color:#ff8038;
}
.footer-left li {
    padding-bottom: 5px;
}
.footer-right {
    float:right;
    width:30%;
    border-left: 2px solid #343434;
    padding-left:40px;
}
.footer-right li {
    line-height: 20px;
    margin-bottom:2px;
    height:auto;
}
.footer-right ul {
    padding-left:0px;
    margin-left: 0px;
}
.footer-right h4 {
    margin-bottom: 10px;
}
.footer-right span img {
    height:20px;
    margin-right: 10px;
}
.footer-left .block {
    margin-bottom: 20px;
    display:inline-block;
    width:100%;
}
.footer-right .block {
    margin-bottom: 10px;
}
.footer-left-column {
    width:30%;
    float:left;
}
.reduced-width {
    width: 22% !important;
}

.footer-left li a, .footer-right li a {
    color: #fff;
    text-decoration: none;
}

.footer-left li a:hover, .footer-right li a:hover {
    text-decoration: underline;
}

.clear {
    clear:both;
}

.social-icon a  {
    width: 20px;
    float:left;
    padding: 9px 0;
    position: relative;
    line-height: 20px;
}
.left-social li {
    width:20px;
    float:left;
}
.footer-top img {
    max-width: 100%;
}


/* MEDIA QUERIES */


@media (max-width: 1000px){
    #landing-header{
        height: 250px;
    }
}

@media(max-width: 960px){
    #locations section div.statistic-carousel ul{
        width: 60%;
    }
    .footer-left {
        width:100%;
        word-wrap: break-word;
    }
    .footer-right h2 {
        width:100%;
    }
    .footer-right {
        width:100%;
    }
    .footer-right .block {
        width:48%;
        float:left;
    }
}

@media(max-width: 900px){
    #locations section div.statistic-carousel ul{
        width: 65%;
    }
}

@media (max-width: 850px){
    #landing-header{
        height: 200px;
    }

    #locations section .container .the-facts h2{
        font-size: 21px;
    }
}

@media(max-width: 800px){
    #locations section div.statistic-carousel ul{
        width: 70%;
    }
}

@media (max-width: 700px){
    #locations section{
        width: 100%;
        float: left;
    }

    #locations section .container h1 {
        height: auto;
        margin: 30px 0 20px;
        font-size: 48px;
        font-family: apexRoundedBold, sans-serif;
        color: #777;
    }
    .footer-left-column{
        width:100%;
    }
    .footer-right .block {
        width:100%;
    }

    #landing-logo img{
        display: none;
    }

    #landing-logo img.mobile-header{
        display: block;
    }

    #strapline a{
    display: inline-block;
    }


    #london{
        border-bottom: 10px solid #eee;
    }

    footer p{
        float: none!important;
        text-align: center;
    }

    footer p#link-love a{
        display: block;
        float: none;
        margin: 0 auto;
    }

    #locations section div.statistic-carousel ul{
        width: 50%;
    }

    .intro-block {
        display: block;
    }
}

@media (max-width: 700px){
    #locations .intro, #locations section .container .the-facts ul li, footer{
        font-size: 14px;
    }

    .callsToAction a.cta div{
        font-size: 18px;
    }
}

@media (max-width: 500px){
    #locations section div.statistic-carousel ul{
        width: 70%;
    }

    #london .cta .cta-button, #dublin .cta .cta-button {
        font-size: 20px;

    }
    #london .cta .cta-button span.text, #dublin .cta .cta-button span.text {
        padding: 0 15px;
    }
}

@media (max-width: 490px){
    .callsToAction a.cta span.text{
        padding: 0 20px;
    }
}

@media (max-width: 450px){
    .callsToAction a.cta span.text{
        padding: 0 10px;
    }
}

@media (max-width: 410px){
    .callsToAction a.cta span.text{
        font-size: 16px;
    }
}

@media (max-width: 400px){
    #landing-header{
        margin-top: 75px;
    }

    .callsToAction a.cta{
        border-bottom-width: 0;
        border-top-width: 5px;
    }

    .callsToAction a.cta div{
        font-size: 16px;
        line-height: 20px;
        margin: 10px;
    }

    .callsToAction a.cta div span.text {
        padding: 10px 20px;
    }
    .callsToAction a.cta div span.img {
        display: none;
    }

    #locations section div.statistic-carousel ul{
        width: 80%;
    }
}

@media (max-width: 360px){
    .callsToAction a.cta span.text{
        font-size: 14px;
    }
}

@media only screen and (max-width: 1010px){
    .intro-block .article{
        width: 48%
    }
}

@media only screen and (max-width: 500px){
    .intro-block .article{
        width: 98%;
    }
    .intro-block .article p {
        height: auto;
    }
}

.video-banner {
    display: block;
    padding: 180px 0;
    height: 100px;
    background: top left no-repeat;
    background-size: cover;
    box-sizing: content-box;
    position: relative;
    overflow: hidden;
    margin-top: 100px;
}

.video-banner .play {
    width: 100px;
    height: 100px;
    background: center center no-repeat url(../img/icons/video-play.png);
    background-size: contain;

    position: relative;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    z-index: 5;
}

.video-banner:hover .play {
    background-image: url(../img/icons/video-play-hover.png);
}

.video-banner .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}

.video-banner .background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    z-index: 3;
}

@media screen and (max-width: 850px) {
    .video-banner .background-video {
        display: none;
    }
}
.header-tagline {
    background-color:#eee;
    width:100%;
    padding-top:20px;
    padding-bottom:20px;
}
.header-tagline-intro {
    width:50%;
    margin:0 auto;
    background-color: #fa8748;
    height:60px;
    color:#fff;
    text-align: center;
    padding-top: 10px;
    padding-bottom:10px;
}
.header-tagline-intro h1 {
    font-weight: bold;
    font-size: 43px;
}

.video-underbanner {
    background-color: #fa8748;
}

.video-underbanner p {
    padding: 30px 0;
    text-align: center;
    font-size: 30px;
    color: #fff;
}