/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * 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: opinionated defaults
   ========================================================================== */

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

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

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

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

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

@font-face {
    font-family: 'cartogothic_stdregular';
    src: url('CartoGothicStd-Book-webfont.eot');
    src: url('CartoGothicStd-Book-webfont.eot?#iefix') format('embedded-opentype'),
         url('CartoGothicStd-Book-webfont.woff') format('woff'),
         url('CartoGothicStd-Book-webfont.ttf') format('truetype'),
         url('CartoGothicStd-Book-webfont.svg#cartogothic_stdregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'cartogothic_stdbold';
    src: url('CartoGothicStd-Bold-webfont.eot');
    src: url('CartoGothicStd-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('CartoGothicStd-Bold-webfont.woff') format('woff'),
         url('CartoGothicStd-Bold-webfont.ttf') format('truetype'),
         url('CartoGothicStd-Bold-webfont.svg#cartogothic_stdbold') format('svg');
    font-weight: normal;
    font-style: normal;

}

body {
    background: #e7e8e9;
    font-family: arial;
    font-size: 13.5px;
}

a {
    color: #6d6e71;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#container {
    background: #ffffff;
    margin: 0 auto;
    padding: 16px 24px 25px;
    width: 960px;
}

header {
    font-family: 'cartogothic_stdregular';
    position: relative;
}

header #logo {
    float: left;
    margin: 0 0 15px;
}

header ul.contact-nav {
    float: right;
    font-size: 13px;
    line-height: 13px;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

header ul.contact-nav li {
    color: #6d6e71;
    float: left;
    padding-left: 25px;
}

header ul.contact-nav li.email-address {
    background: url('../images/header-link-divider.png') no-repeat 10px 2px;
}


nav {
    bottom: 0;
    float: right;
    position: absolute;
    right: 0;
}

#content {
    clear: left;
    margin: 0 0 35px;
    position: relative;
}

/* homepage */

.cycle-slideshow {
    height: 460px;
    margin-bottom: 24px;
    overflow: hidden;
    position: relative;
    width: 960px;
}

.cycle-slideshow .slide {
    background-position: 0 0;
    background-repeat: no-repeat;
    color: #ffffff;
    font-size: 16px;
    height: 410px;
    padding: 45px 465px 0 55px;
    width: 445px;
}

#content .cycle-slideshow .slide h1 {
    font-family: 'cartogothic_stdregular';
    font-size: 40px;
    font-weight: normal;
    margin: 0;
}

.cycle-slideshow .slide p {
    margin: 3px 0 15px;
}

.cycle-slideshow div .slide-link {
    background: url('../images/link-arrow-white.png') no-repeat right 3px;
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    padding-right: 19px;
}

.cycle-pager {
    text-align: center;
    width: 100%;
    z-index: 500;
    position: absolute;
    bottom: 32px;
    overflow: hidden;
}

.cycle-pager span {
    background: url('../images/pager.png') no-repeat 0 0;
    cursor: pointer;
    display: inline-block;
    height: 15px;
    margin: 0 4px;
    text-align: left;
    text-indent: -9999px;
    width: 15px;
}

.cycle-pager span.cycle-pager-active { background-position: 0 -15px; }

.home-box {
    border-top: 3px solid #009049;
    float: left;
    font-size: 13px;
    margin: 0 30px 0 0;
    padding: 0 0 25px;
    width: 300px;
}

.home-box.first {
    border-color: #b03020;
}

.home-box.last {
    border-color: #0071ba;
    margin-right: 0;
}

#content .home-box h2 {
    color: #000000;
    font-family: 'cartogothic_stdregular';
    font-size: 27px;
    font-weight: normal;
    margin: 10px 0 15px;
}

.home-box a.find-out-more {
    background: url('../images/link-arrow.png') no-repeat 0 2px;
    bottom: 0;
    color: #6d6e71;
    font-weight: bold;
    padding-left: 16px;
    position: absolute;
}

/* services */

.inner-page #content {
    border-top: 3px solid #b03020;
    padding: 20px 30px 0px;
}

.vertical-nav {
    float: left;
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 210px;
}

.vertical-nav li {
    border-bottom: 1px solid #000000;
    font-size: 13.5px;
    padding: 10px 0;
}

.vertical-nav li.list-heading {
    border-bottom: 3px solid #000000;
    font-family: 'cartogothic_stdregular';
    font-size: 30px;
    padding: 0 0 5px;
}

.vertical-nav li.list-heading.secondary {
    margin-top: 28px;
}

.vertical-nav li.current a { color: #000000; }

.right-col {
    float: right;
    width: 660px;
}

#content h1 {
    font-family: 'cartogothic_stdregular';
    font-size: 35px;
    font-weight: normal;
    margin: -3px 0 0;
}

#content h2 {
    font-family: 'cartogothic_stdregular';
    font-size: 30px;
    font-weight: normal;
    margin: -3px 0 0;
}

.left-col ul, .right-col ul {
    margin: 0;
    padding: 0 0 0 15px;
}

.left-col ul li, .right-col ul li {
    padding-bottom: 5px;
}

/* case studies */

#intro-box {
    border: 1px solid #c7c8ca;
    margin: 20px 0 0 -30px;
    padding: 20px 29px;
    width: 900px;
}

#intro-box ul {
    float: left;
    list-style-type: none;
    margin: 0 25px 0 0;
    padding: 0;
    width: 200px;
}

#intro-box ul li { padding-bottom: 8px; }

.case-study {
    border-bottom: 1px solid #c7c8ca;
    padding: 27px 0;
}

.case-study.last {
    border-bottom: 0;
    padding-bottom: 0;
}

.case-study img {
    float: right;
    width: 300px;
}

.case-study-text {
    float: left;
    width: 570px;
}

.case-study-text p {
    margin-top: 0;
}

/* about us */

#content.about-us h2 {
    margin: 40px 0 -10px;
}

.team-member {
    border: 1px solid #c7c8ca;
    margin: 30px 0 0 -30px;
    min-height: 305px;
    padding: 20px 359px 20px 29px;
    position: relative;
    width: 570px;
}

.team-member h3 {
    font-family: 'cartogothic_stdbold';
    font-size: 24px;
    font-weight: normal;
    margin: 5px 0 2px;
}

.team-member img {
    bottom: 0;
    position: absolute;
    right: 0;
}

/* contact us */

.contact-text {
    float: left;
    padding: 0 0 35px;
    width: 340px;
}

.contact-text p:first-child {
    font-size: 18px;
    margin-top: 10px;
}

.contact-map {
    float: right;
    padding: 0 0 35px;
    width: 450px;
}

.contact-map div {
    height: 300px;
    width: 450px;
}

.contact-map a { font-size: 11px; }

#enquiry-box {
    border: 1px solid #c7c8ca;
    clear: both;
    margin: 0 0 0 -30px;
    padding: 30px 29px 40px;
    width: 900px;
}

#enquiry-box h2 {
    font-family: 'cartogothic_stdbold';
    font-size: 24px;
    font-weight: normal;
    margin: 5px 0 2px;
}

.small { font-size: 11px; }

.red { color: #af3020; } 

.wpcf7 p { margin: 0; }

.left-contact, .right-contact {
    float: left;
    margin: 30px 0 0;
    width: 398px;
}

.right-contact { padding-left: 50px; }

.submit-row { clear: both; } 

.wpcf7-text, .wpcf7-textarea {
    border: 1px solid #c7c8ca;
    margin: 10px 0 40px;
    padding: 8px;
    width: 380px;
}

.wpcf7-textarea { height: 119px; }

.wpcf7-submit {
    background: #af3020;
    border: 0;
    color: #ffffff;
    font-family: 'cartogothic_stdregular';
    font-size: 18px;
    font-weight: normal;
    padding: 10px 40px;
    text-transform: uppercase;
}

/* business rates */

.left-col {
    float: left;
    width: 660px;
}

.footer-page .right-col {
    float: right;
    width: 210px;
}

.footer-page .right-col img {
    border-top: 3px solid #000000;
    margin-top: 31px;
    padding-top: 6px;
}

/* footer page */

#content.footer-page h2, #content.footer-page h3, #content.footer-page h4, #content.footer-page h5, #content.footer-page h6 {
    font-family: 'cartogothic_stdregular';
    font-size: 30px;
    font-weight: normal;
    line-height: 34px;
    margin: 30px 0 0;
}

#content.footer-page h4 {
    font-family: arial;
    font-size: 13.5px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 15px;
}

.footer-page .right-col ul {
    border-top: 3px solid #000000;
    list-style-type: none;
    margin: 31px 0 0;
    padding: 7px 0 0;
}

.footer-page .right-col ul li {
    font-weight: bold;
}

.footer-page .right-col ul li a {
    font-weight: normal;
}

/* tabular data */

.footer-page table { border-collapse:collapse; margin: 30px 0; width: 100%; }
.footer-page table tr { border-bottom: 1px solid black; }
.footer-page table td, .footer-page table th { padding: 10px 20px 10px 0; text-align: left; vertical-align: top; }

footer {
    border-top: 1px solid #aeafb2;
    color: #939598;
    font-size: 11px;
    padding: 15px 0 0;
}

footer ul {
    float: left;
    line-height: 18px;
    list-style-type: none;
    margin: 0;
    padding: 0 60px 0 0;
}

footer a {
    color: #939598;
}

footer span {
    float: right;
}

/*** DROPDOWN ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
    margin: 0;
    padding: 0;
    list-style: none;
}
.sf-menu li {
    position: relative;
}
.sf-menu ul {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    z-index: 999;
}
.sf-menu > li {
    float: left;
}
.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
    display: block;
}

.sf-menu a {
    display: block;
    position: relative;
}
.sf-menu ul ul {
    top: 0;
    left: 100%;
}

/*** DEMO SKIN ***/
.sf-menu {
    float: left;
}
.sf-menu ul {
    min-width: 12em; /* allow long menu items to determine submenu width */
    *width: 12em; /* no auto sub width for IE7, see white-space comment below */
}
.sf-menu a {
    border: 1px solid #ffffff;
    background: #ffffff url('../images/nav-separator.png') no-repeat 0 7px;
    color: #000000;
    padding: 5px 20px 11px;
    text-decoration: none;
    zoom: 1; /* IE7 */
}

.sf-menu li#nav-home {
    background: #ffffff url('../images/nav-separator.png') no-repeat right 7px;
}

.sf-menu li#nav-home a {
    background: url('../images/home-icon.png') no-repeat center 7px;
    text-indent: -9999px;
    width: 17px;
}

.sf-menu li#nav-home a:hover {
    background-position: center -26px;
}

.sf-menu li#nav-services a {
    background-image: none;
}

.sf-menu li#nav-contact a {
    padding-right: 0;
}

.sf-menu a:hover {
    color: #6d6e71;
}
.sf-menu li {
    font-family: 'cartogothic_stdregular';
    font-size: 14px;
    text-transform: uppercase;
    white-space: nowrap; /* no need for Supersubs plugin */
    *white-space: normal; /* ...unless you support IE7 (let it wrap) */
}
.sf-menu ul li {
    background: #ffffff;
    font-family: arial, sans-serif;
    font-size: 12px;
    text-transform: none;
}

.sf-menu ul li.heading {
    font-weight: bold;
    padding: 15px 20px 5px;
    text-transform: uppercase;
}

.sf-menu ul li a {
    background: none;
    color: #000000;
    padding-bottom: 3px;
    padding-top: 3px;
}

.sf-menu ul li a:hover {
    text-decoration: underline;
}

.sf-menu ul {
    background: #ffffff;
    border: 1px solid #c7c8ca;
    margin-top: -1px;
    padding-bottom: 10px;
}

.sf-menu li:hover,
.sf-menu li.sfHover {
    /* only transition out, not in */
    -webkit-transition: none;
    transition: none;
}

.sf-menu li.sfHover a {
    border: 1px solid #c7c8ca;
    border-bottom: 1px solid #ffffff;
    color: #6d6e71;
    z-index: 9999;
}

.sf-menu li ul li a { border: none; }

.sf-menu li.sfHover ul li a {
    border: none;
    color: #000000;
}

.sf-with-ul:hover {
    border: 1px solid #c7c8ca;
    border-bottom: 1px solid #ffffff;
}

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

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {

    body {
        background: #ffffff;
        min-width: 1008px;
    }

    #container {
        background: #ffffff;
        min-height: 1180px;
    }

}

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