/*
 * 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.
 */

::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
   ========================================================================== */

















/* ==========================================================================
   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,
       (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;
    }
}

body {
    background: url('/images/feralScan/page-elements/bg2.jpg') no-repeat top center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    font-family: 'Oswald', sans-serif;
    /*font-family: "HelveticaNeue-Condensed", "Helvetica Neue", Helvetica, sans-serif;*/
    /*font-stretch: condensed;*/
}

#contentTable {
    margin: 0 auto 0 auto;
    width: 1260px;
    border-collapse: collapse;
}

#common-caption {
    position: relative;
    z-index: 2;
    margin: -194px 0 0 0;
    padding: 0 0 8px 432px;
}

.slider {
    border: 1px solid #fdfdfd;
}

#feral-animal-icons-table {
    width: 1200px;
    margin: 15px auto 0 auto;
}

#feral-animal-icons-table img {
    width: 170px;
}

#caption-text-td {
    padding: 77px 0 0px 80px;
}

#caption-text-td p {
    font-size: 28px;
    margin: 0;
    line-height: 39px;
    font-weight: normal;
    letter-spacing: 0.7px;
}

#caption-text-td p:nth-of-type(1) {
    padding-left: 100px;
    color: #f4c64d;
}

#caption-text-td p:nth-of-type(2) {
    color: #f05423;
    /*font-style: italic;*/
}

#caption-text-td p:nth-of-type(3) {
    color: #f4c64d;
}

#caption-text-td p:nth-of-type(3) a {
    color: #f4c64d;
}

#feralscan-logo {
    margin: -260px 0 0 40px;
    z-index: 3;
    position: relative;
}

#main-headings-div {
    color: #ffffff;
    text-align: center;
}

#main-headings-div h3 {
    font-size: 19px;
    margin: 21px 0 10px 0;
    font-weight: normal;
    text-align: right;
    letter-spacing: 1px;
}

#main-headings-div h3 > span {
    color: #f05423;
    font-weight: bold;
}

#main-headings-div h4 {
    font-size: 12px;
    margin: -3px 0 0 0;
    font-weight: normal;
    text-align: right;
    font-family: helvetica;
}

#header-table {
    width: 100%;
    margin: 10px 0 10px 0;
}

#header-table td {
    /*width: 50%;*/
}

#social-icons-header-ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    float: right;
}

#social-icons-header-ul > li {
    display: inline-block;
    float: left;
    margin-right: 10px;
}

#social-icons-header-ul > li:last-of-type {
    margin-right: 0;
}

.faded-background {
    background: rgba(0,0,0,0.2);
}

.supporters-container 
{
    display: flex;
    align-items: stretch;
    flex-direction: row;
    text-align: center;
}

.supporters-item
{
    flex: 1;
}

.supporters-item > img
{
    height: 100%;
}

#supportersUl {
    background: #ffffff;
    padding: 5px 10px;
    margin: 0;
    list-style-type: none;
    height: 80px;
}

#supportersUl > li {
    display: inline-block;
    float: left;
    margin: 0;
    padding: 0;
    padding-right: 30px;
}

#supportersP1 {
    font-size: 12px;
    margin: 5px 0 5px 0;
    font-weight: normal;
    color: #ffffff;
    font-family: helvetica;
    text-transform: uppercase;
}

#footerP1 {
    color: #ffffff;
    font-size: 15px;
    text-align: right;
}

#footerP1 a {
    color: #ffffff;
}

.feral-animal-div {
    width: 150px;
    height: 150px;
    display: block;
}

.sprite {
    background-image: url('/images/species-spritesheet.png');
    width: 150px;
    height: 150px;
}

@media (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
    .sprite {
        background-image: url('/images/species-spritesheet.png');
        background-size: 2100px 600px;
    }
}

.sprite-camel-1 {
    width: 150px;
    height: 150px;
    background-position: 0 0;
}

.sprite-camel-2 {
    width: 150px;
    height: 150px;
    background-position: 0 -150px;
}

.sprite-cat-1 {
    width: 150px;
    height: 150px;
    background-position: -150px 0;
}

.sprite-cat-2 {
    width: 150px;
    height: 150px;
    background-position: -150px -150px;
}

.sprite-dog-1 {
    width: 150px;
    height: 150px;
    background-position: -300px 0;
}

.sprite-dog-2 {
    width: 150px;
    height: 150px;
    background-position: -300px -150px;
}

.sprite-fish-1 {
    width: 150px;
    height: 150px;
    background-position: -450px 0;
}

.sprite-fish-2 {
    width: 150px;
    height: 150px;
    background-position: -450px -150px;
}

.sprite-fox-1 {
    width: 150px;
    height: 150px;
    background-position: -600px 0;
}

.sprite-fox-2 {
    width: 150px;
    height: 150px;
    background-position: -600px -150px;
}

.sprite-goat-1 {
    width: 150px;
    height: 150px;
    background-position: -750px 0;
}

.sprite-goat-2 {
    width: 150px;
    height: 150px;
    background-position: -750px -150px;
}

.sprite-mouse-1 {
    width: 150px;
    height: 150px;
    background-position: -900px 0;
}

.sprite-mouse-2 {
    width: 150px;
    height: 150px;
    background-position: -900px -150px;
}

.sprite-myna-1 {
    width: 150px;
    height: 150px;
    background-position: -1050px 0;
}

.sprite-myna-2 {
    width: 150px;
    height: 150px;
    background-position: -1050px -150px;
}

.sprite-pig-1 {
    width: 150px;
    height: 150px;
    background-position: -1200px 0;
}

.sprite-pig-2 {
    width: 150px;
    height: 150px;
    background-position: -1200px -150px;
}

.sprite-rabbit-1 {
    width: 150px;
    height: 150px;
    background-position: -1350px 0;
}

.sprite-rabbit-2 {
    width: 150px;
    height: 150px;
    background-position: -1350px -150px;
}

.sprite-starling-1 {
    width: 150px;
    height: 150px;
    background-position: -1500px 0;
}

.sprite-starling-2 {
    width: 150px;
    height: 150px;
    background-position: -1500px -150px;
}

.sprite-toad-1 {
    width: 150px;
    height: 150px;
    background-position: -1650px 0;
}

.sprite-toad-2 {
    width: 150px;
    height: 150px;
    background-position: -1650px -150px;
}

.sprite-deer-1 {
    width: 150px;
    height: 150px;
    background-position: -1800px 0;
}

.sprite-deer-2 {
    width: 150px;
    height: 150px;
    background-position: -1800px -150px;
}

.sprite-newincursion-1 {
    width: 150px;
    height: 150px;
    /*background-position: -1950px 0;*/
    background-position: -1950px -300px;
}

.sprite-newincursion-2 {
    width: 150px;
    height: 150px;
    /*background-position: -1950px -150px;*/
    background-position: -1950px -450px;
}

#social-div-header {
    width: 100%;
    display: block;
    height: 25px;
}

.sssnext, .sssprev {
    display: none;
}

.animal-icon-text, .animal-icon-text:hover {
    text-decoration: none;
}

.animal-icon-text p, .coming-soon-animal-p {
    color: #ffffff;
    text-align: center;
    margin: 5px 0 10px 0;
    font-size: 20px;
    font-weight: normal;
    letter-spacing: 0.7px;
}


.animal-icon-text p > span, .coming-soon-animal-p > span {
    color: #f05423;
}

#feral-animals-table2 {
    margin: 0 auto;
}

#feral-animals-table2 td {
    padding: 0 9px;
}
