/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
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;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

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

/* Remove margin, padding and border from everything
-----------------------------------------------------------------------------*/
* {
    margin: 0;
    padding: 0;
    border: 0;
}

/* Styles for layout
-----------------------------------------------------------------------------*/

.clear {
    clear: both;
}

.right {
    float: right;
}

.left {
    float: left;
}

.none {
    display: none;
}

/* Set up the document
-----------------------------------------------------------------------------*/

body {
    font: 62.5%/1.5 Georgia, "Times New Roman", Times, serif;
    background-color: #B2B9BB;
    color: #000000;
    text-align: center;
}

#wrapper {
    width: 780px; /* Set page width here - you can also use percentage */
    margin: 0 auto 0 auto;
    text-align: left;
    background: #FFFFFF url("img/mainsh.gif") repeat-y;
}

div#top {
    /*width: 780px;*/
    height: 35px;
    background: #004E7B url("img/headsh.jpg") no-repeat;
}

div#header {
    /* margin: 0 0; */
    background: #004E7B url("img/bgheader.jpg") repeat-x;
    height: 73px;
    position: relative;
}

div#topnav {
    /* width: 780px;*/
    margin-bottom: 40px;
}

a#logo h1 {
    display: block;
    position: absolute;
    left: 25px;
    top: -15px;
    color: #fff;
    text-indent: -999em;
    background: url(img/petrest-logo.gif) 0 0 no-repeat;
    width: 180px;
    height: 58px;
}

div#header strong {
    position: absolute;
    left: 195px;
    top: 15px;
    color: #fff;
    font-style: italic;
    font-weight: normal;
    font-size: 19px;
}

div#header p {
    position: absolute;
    top: -20px;
    right: 10px;
    text-align: right;
    color: #fff;
    font-size: 18px;
}

div#header p span {
    color: #CCCCCC;
}

div#content {
    padding: 0 5px;
    /*padding-top: 10px;*/
    /* margin: 5px 15px 0px 15px; */
    clear: both;
    overflow:hidden;
}

div#main {
    width: 50%;
    /*padding: 0 0 0 0;*/
    float: right;
}

div#main-imgs {
    width: 50%;
    text-align: center;
    /* padding: 10px 0px 0px 0px; */
}

div#main-imgs p, div#main-imgs ul, div#main-imgs li {
    /*text-align: left;*/
}

div#main-imgs p {

    /* margin-top: 15px; */
    font-size: 1.6em;
}

div#main-imgs ul {
    /* margin-left: 30px; */
    list-style: none;
}

div#main-imgs ul li {
    list-style: none;
    background: #fff url(img/tick.jpg) 0px 7px no-repeat;
    /* padding: 5px 0px 5px 25px; */
}

div#bot {
    width: 780px;
    height: 27px;
    background: url(img/footsh.gif) no-repeat;
}

div#footer {
    /*margin: -10px auto 15px auto; */
    clear:both;
    /*width: 780px;*/
    width:100%;
    text-align: center;
    font-size: 11px;
}

/* Typography
-----------------------------------------------------------------------------*/

h1 {
    margin: 0 0 15px 0;
    font-weight: normal;
    color: #004e7b;
    letter-spacing: -1.5px;
    font-size: 30px;
    font-family: Georgia, "Times New Roman", Times, serif;
    line-height: 30px;
}

h2 {
    font-size: 2.0em; /* Equivalent to 20pt */
}

h3 {
    margin: 0px 0 15px 0;
    font-weight: normal;
    color: #004e7b;
    letter-spacing: -0.5px;
    font-size: 22px;
    font-family: Georgia, "Times New Roman", Times, serif;
    line-height: 22px;
}

h4 {
    font-size: 1.6em; /* Equivalent to 18pt */
}

h5 {
    font-size: 1.4em; /* Equivalent to 14pt */
}

p, q, cite {
    font-size: 1.2em; /* Equivalent to 12pt */
}

#main p {
    line-height: 1.5;
    margin-bottom: 10px;
}

ul, ol, dl {
    list-style: none;
    font-size: 1.2em; /* Equivalent to 12pt */
}

li, dd, dt {
    font-size: 1.2em; /* Equivalent to 12pt */
}

/* Header
-----------------------------------------------------------------------------*/

/* Navigation
-----------------------------------------------------------------------------*/
.menu {
    /* padding: 0; */
    /* margin: 0 15px 0 15px; */
    list-style-type: none;
    white-space: nowrap;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
}

.menu li {
    float: left;
    width: 20%;
}

.menu a {
    position: relative;
    display: block;
    text-decoration: none;
    min-width: 100%;
    float: left;
    font-size: 13px;
}

* html .menu a {
    /* width: 150px; */
}

.menu a span {
    display: block;
    color: #fff;
    background: #6D6E71;
    border: 0px solid #454B4F;
    text-align: center;
    padding: 4px 5px;
    cursor: pointer;
}

* html .menu a span {
    /* width: 150px; */
    cursor: hand;
}

.menu a b {
    display: block;
    border-bottom: 2px solid #454B4F;

}

.menu a em {
    display: none;
}

.menu a:hover {
    background: #fff;
}

.menu a:hover span {
    color: #fff;
    background: #005281;
}

.menu a.currentpage span {
    color: #fff;
    background: #166D98;
}

.menu a:hover em, .menu a.currentpage em {
    display: block;
    overflow: hidden;
    border: 6px solid #454B4F;
    border-color: #454B4F #fff;
    border-width: 6px 6px 0 6px;
    position: absolute;
    left: 50%;
    margin-left: -6px;
    height: 6px;
}

/* Footer
-----------------------------------------------------------------------------*/

/* Homepage
-----------------------------------------------------------------------------*/

/* Your template
-----------------------------------------------------------------------------*/
a.email-us:link, a.email-us:focus, a.email-us:active, a.email-us:visited {
    background: #fff url(img/email.jpg) 0 50% no-repeat;
    display: block;
    padding: 8px 5px 5px 65px;
    height: 30px;
    font-size: 13px;
    border: 1px solid #dbdbdb;
    margin-bottom: 10px;
}

a.email-us:hover {
    border: 1px solid #005281;
}

/* Forms
-----------------------------------------------------------------------------*/

input.text {
    padding: 3px;
    border: 1px solid #999999;
}

/* Tables
-----------------------------------------------------------------------------*/

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

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

/* Clearfix
-----------------------------------------------------------------------------*/

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

/* End of 'Layout: Template' */

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

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.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 screen readers, 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;
}

/* ==========================================================================
   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,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important;
        /* Black prints faster:
                                          http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

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

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */
    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

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

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

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