/*! 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: #424141;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}

html {
    font-size: 12px;
    line-height: 1.4;
}

body {
	background: #C27030 url(../images/main/wood-back.jpg) repeat 0 0;
}

/* heading styles */
h1 { font-family: "Gill Sans", "Gill Sans MT", Arial, Helvetica, sans-serif; text-transform: uppercase; font-weight: bold; font-size: 15px; margin: 0; color: #0095CF; }
h2 { font-weight: bold; font-size: 13px; color: #0196cd; }
h3 { font-weight: bold; font-size: 13px; }
h4 { font-weight: normal; font-size: 13px; font-style: italic; }
h5 { font-weight: normal; font-size: 12px; padding: 16px 20px; background: #EBEBEC; border-top: 1px solid #C2C2C4; }

/* link styles */
a { text-decoration: none; color: #006BD1; }
a:hover { text-decoration: underline; color: #004384; }

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

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

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
  
/* wrapper */
#wrapper { width: 960px; width: 1224px; margin: 0 auto; }

/* header */
header { display: block; width: 960px; margin: 0 132px; height: 123px; }
#logo { float: left; width: 160px; height: 123px; background: url(../images/main/dla-piper.png) no-repeat 2px 19px; }
#handbook-title { position: relative; float: left; width: 345px; height: 80px; }
#handbook-title h1 { position: absolute; left: 0; bottom: 0; color: white; font-size: 16px; font-weight: bold; text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.75); }
/* header buttons */
header .buttons { margin-left: 505px; padding-top: 34px; }
a.download-pdf-button { display: block; float: left; width: 181px; height: 58px; font-size: 12px; color: white; background: url(../images/buttons/download-current.png) no-repeat 0 0; text-shadow: 0px -1px 1px rgba(208, 47, 0, 0.8); margin-right: 11px; }
a.download-pdf-button:hover { background-position: 0 -58px; text-decoration: none; }
a.download-pdf-button span, a.download-pdf-button em { display: block; margin-left: 53px; line-height: 1; }
a.download-pdf-button span { font-size: 17px; line-height: 1; margin-top: 11px; }
a.download-full-button { width: 186px; background-image: url(../images/buttons/download-full.png); }
a.download-full-button span, a.download-full-button em { margin-left: 56px; }
a.back-to-library { display: block; float: left; width: 63px; height: 58px; background: url(../images/buttons/back-to-library2.png) no-repeat 0 0; text-indent: -99999px; }
a.back-to-library:hover { background-position: 0 -58px; }

a.visit-blog-button { display: block; float: left; width: 120px; height: 59px; font-size: 12px; color: white; background: url(../images/buttons/blog-button.png) no-repeat 0 0; text-shadow: 0px -1px 1px rgba(208, 47, 0, 0.8); margin-right: -60px; }
a.visit-blog-button:hover { background-position: 0 -59px; text-decoration: none; }
a.visit-blog-button span, a.visit-blog-button em { display: block; margin-left: 53px; line-height: 1; }
a.visit-blog-button span { font-size: 17px; line-height: 1; margin-top: 11px; }

/* footer */
footer { display: block; width: 960px; margin: 17px 132px; color: #E2BF98; text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.75); }
footer a { color: #E2BF98; }
footer a:hover { color: white; }
footer h1, footer h2 { color: #E2BF98; }
footer .blog-notice a { font-weight: bold; }
.js #footer-text .expanding-text { overflow: hidden; height: 0; opacity: 0; }
.js #footer-text .expanding-text.expanded { height: auto; padding-top: 16px; opacity: 1; }

/* book */
#book-outer { position: relative; }
#book-outer ul.book-tabs { position: absolute; top: 71px; z-index: 1000; list-style: none; padding: 0; margin: 0; }
#book-outer ul.book-tabs li { width: 152px; height: 35px; line-height: 35px; background: url(../images/buttons/left-tab.png) no-repeat 0 0; margin: 6px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#book-outer ul.book-tabs li:first-child { background-image: url(../images/buttons/world-map-tab.png); }
#book-outer ul.book-tabs li:hover { background-position: 0 -35px; }
#book-outer ul.book-tabs li a { display: block; padding: 0 8px; text-decoration: none; color: white; }
#book-outer ul.book-tabs li a:hover { text-decoration: none; }
#book-outer ul.right-tabs { position: absolute; right: 0; }
#book-outer ul.right-tabs li { background-image: url(../images/buttons/right-tab.png); }
#book-outer ul.book-tabs a.world-map-tab { background: url(../images/icons/world-map.png) no-repeat 8px center; padding-left: 31px; text-transform: uppercase; }
#book-outer ul.book-tabs a.contacts-tab { background: url(../images/icons/contacts.png) no-repeat 8px center; padding-left: 31px; text-transform: uppercase; }
#book { position: relative; width: 960px; height: 764px; width: 940px; height: 755px; padding: 9px 0 0 20px; margin: 0 132px; overflow: hidden; background: url(../images/elements/book-back2.png) no-repeat 0 0; -webkit-box-shadow: 0px 0px 25px 1px rgba(50, 50, 50, 0.5); box-shadow: 0px 0px 25px 1px rgba(50, 50, 50, 0.5); }
.wowbook-page-content { background: white; }

/* first page */
#first-page { position: absolute; left: 20px; top: 9px; width: 437px; height: 726px; z-index: 1; overflow: hidden; }
#first-page-header { position: absolute; left: 43px; top: 29px; z-index: 1; width: 386px; height: 85px; height: 83px; padding: 1px 32px 1px 19px; background: url(../images/elements/gradient-top-left.png) no-repeat 0 0; }

/* pages */
.page-content { width: 408px; height: 545px; padding: 12px 0; overflow: auto; }
.page-content .please-select-country-text { padding: 200px 95px 10px; height: 218px; text-align: center; color: #868585; background: url(../images/elements/please-select.png) no-repeat center top; }
.page-header .country-flag { float: left; width: 16px; margin: 34px 9px 0 0; }
.page-header h2.country-name { display: block; float: left; width: 125px; margin-top: 32px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #3F5165; }
.page-header select.country-select { width: 230px; padding: 2px 2px; margin-top: 30px; background: white; border: 1px solid #7C90A8; }
.left-page { padding: 20px 0 0 23px; }
.left-page .page-header { height: 85px; height: 83px; padding: 1px 32px 1px 19px; background: url(../images/elements/gradient-top-left.png) no-repeat 0 0; }
.left-page .page-footer { height: 45px; padding: 10px 0 0 13px; background: url(../images/elements/gradient-bottom-left.png) no-repeat 0 0; }
/* right page */
.right-page { padding: 20px 23px 0 0; }
.right-page .page-header { height: 85px; height: 83px; padding: 1px 22px 1px 29px; background: url(../images/elements/gradient-top-right.png) no-repeat 0 0; }
.right-page .page-content { margin-left: 29px; }
.right-page .page-footer { height: 45px; padding: 10px 13px 0 0; background: url(../images/elements/gradient-bottom-right.png) no-repeat 0 0; }
/* previous and next buttons */
a.prev-page-button { display: block; float: left; height: 36px; line-height: 36px; padding-left: 66px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; background: url(../images/buttons/prev-page.png) no-repeat 0 0; color: #5F5E5D; }
a.prev-page-button:hover { background-position: 0 -36px; color: #434242; }
a.next-page-button { display: block; float: right; height: 36px; line-height: 36px; padding-right: 66px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; background: url(../images/buttons/next-page.png) no-repeat right 0; color: #5F5E5D; }
a.next-page-button:hover { background-position: right -36px; color: #434242; }
/* static page */
.static-text-page .page-content { height: 630px; }

/* map */
.vmap-outer { position: absolute; left: 23px; top: 150px; width: 460px; width: 437px; height: 746px; height: 500px; /*z-index: 1;*/ overflow: hidden; background: url(../images/elements/map-back.jpg) no-repeat 0 0; }
.vmap-outer2 { position: absolute; left: 0; top: 150px; width: 460px; width: 436px; height: 746px; height: 500px; overflow: hidden; background: url(../images/elements/map-back.jpg) no-repeat right top; }
#vmap { position: absolute; left: 0; top: 10px; }
#vmap2 { position: absolute; left: -437px; top: 146px; top: 10px; }
/* map legend */
#map-legend { position: absolute; left: 50px; top: 377px; width: 239px; height: 120px; background: url(../images/elements/map-legend.png) no-repeat 0 0; z-index: 1; }
#map-legend div { position: absolute; font-size: 12px; line-height: 1.1; text-transform: uppercase; color: white; font-family: "Gill Sans", "Gill Sans MT", Arial, Helvetica, sans-serif; text-shadow: 1px 1px 2px rgba(20, 20, 20, 0.75); }
#map-legend div.rating-1 { left: 174px; top: 85px; width: 55px; }
#map-legend div.rating-2 { left: 124px; top: 34px; width: 68px; }
#map-legend div.rating-3 { left: 62px; top: 34px; width: 56px; }
#map-legend div.rating-4 { left: 20px; top: 85px; width: 52px; }
#map-legend div.map-label { left: 80px; top: 85px; width: 78px; text-align: center; font-size: 10px; line-height: 1.05; color: #2A2B2D; }

.vmap-outer3 { position: absolute; left: 43px; top: 169px; left: -1000px; width: 870px; height: 450px; z-index: 10; }

/* topic preview page */
.topic-text { width: 400px; margin: 5px; }

/* banner images */
.country-banner { width: 397px; height: 117px; padding: 14px 0 0 14px; margin: 4px 0 0 -6px; background: url(../images/elements/banner-back.png) no-repeat 0 0; }

/* ajax loader */
.ajax-loading { padding-left: 24px; background: url(../images/icons/ajax-loader.gif) no-repeat left center; }

/* client testimonials */
.client-testimonials { margin: 9px 0 16px; height: 150px; overflow: hidden; }
.client-testimonial { display: none; font-size: 12px; padding: 16px 20px; background: #EBEBEC; border-top: 1px solid #C2C2C4; }
.client-testimonial:first-child { display: block; }
.client-testimonial-text { font-style: italic; }
.client-testimonial-name { margin-top: 12px; }
.client-testimonial-company { font-weight: bold; }

/* key contacts */
.key-contacts .partner-company { margin: 9px 0; }
.key-contacts .partner-company .company-name { font-weight: bold; }
.key-contacts .key-contact { margin: 9px 0; }
.key-contacts .key-contact .contact-thumbnail { float: left; width: 81px; }
.key-contacts .key-contact .has-thumbnail { margin-left: 83px; }
.key-contacts .key-contact .contact-name { font-weight: bold; color: #0075C1; }
.key-contacts .key-contact .contact-email a { color: #464748; text-decoration: none; }

/* general contacts */
.general-key-contacts .row { margin: 18px 0; }
.general-key-contacts .key-contact .contact-thumbnail { float: left; width: 81px; }
.general-key-contacts .key-contact .has-thumbnail { margin-left: 83px; }
.general-key-contacts .key-contact .contact-name { font-weight: bold; }
.general-key-contacts .key-contact .contact-email a { }
/*
.general-key-contacts .key-contact-col-1 { float: left; width: 45%; }
.general-key-contacts .key-contact-col-2 { width: 45%; margin-left: 55%; }
*/

/* custom qtip colours */
.qtip-rating-1 { background: #10582F; }
.qtip-rating-2 { background: #8CAE34; }
.qtip-rating-3 { background: #FCB200; }
.qtip-rating-4 { background: #F26A1E; }
.qtip-rating-5 { background: #C30000; }


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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
}

.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-b4-loaded,
.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;
}

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

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

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