/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

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

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

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
		text-align: center;
}


/* ==========================================================================
   Rescue Foundation's styles
   ========================================================================== */

/*** Wrapper ***/
.wrapper { width: 986px; margin: 20px auto; padding: 0 25px; }

/*** General ***/
a { color: #51a089; text-decoration: none; }
a:hover { color: #808080; }
body { font-family: 'ProximaNova-Regular', Helvetica, Arial, sans-serif; }
p { padding: 0; margin: 0 0 25px 0; }
strong { font-family: 'ProximaNova-Bold', Helvetica, Arial, sans-serif; font-weight: 100; font-style: inherit; }
em { font-style: italic; font-weight: inherit; }

/*** Header ***/
.logo { float: left; width: 291px; display: block; }
#header { padding-bottom: 30px; }
#header-right { float: right; text-align: right; }
#header-right .connect { font-size: 11px; text-transform: uppercase; padding: 10px 0 51px 500px; }
#header-right .connect span { float: left; display: block; margin: 7px 15px 0; color: #4b4a4a; letter-spacing: 1px; }
#header-right .connect a { display: block; height: 28px; background-image: url('../img/social-media-icons.png'); float: left; }
#header-right .connect a span { position: absolute; top: -999em; }
#sm_fb 				{ width: 20px; }
#sm_fb:hover 	{ background-position: 0 -28px; }
#sm_tw 				{ width: 40px; background-position: -20px 0; }
#sm_tw:hover 	{  background-position: -20px -28px; }

/*** Nav ***/
#nav { float: right; width: 560px; }
#nav ul { padding-left: 0; }
#nav ul li { float: left; margin-right: 15px; padding-right: 15px; border-right: 1px solid #e0f1ee; list-style: none; text-transform: uppercase; font-size: 16px; letter-spacing: 1px; font-weight: 100; }
#nav ul li a { color: #000; }
#nav ul li a:hover { color: #808080; }
#nav ul li.current_page a { color: #51a089; }

/*** Body ***/
#body { clear: both; background: url('../img/body_bg.png') repeat-y; margin: 15px 0 60px; font-family: 'ProximaNova-Light', sans-serif; font-size: 18px; line-height: 1.2; color: #3b3c3c; }
#body.home { background: none; margin: 0; }
#main img { -webkit-box-shadow:  0px 0px 5px 1px #cdcdcd; box-shadow:  0px 0px 5px 1px #cdcdcd; padding: 9px; }
#main { width: 615px; float: left; }
#sidebar { width: 230px; float: right; padding: 38px; }

/*** Sidebar ***/
#sidebar { color: #3b3c3c; }
#sidebar p { margin-bottom: 5px; }
#sidebar img { border: 1px solid #b0b1b1; margin: 5px 0; }
#sidebar .widget { border-bottom: 1px solid #eceded; margin-bottom: 25px; padding-bottom: 20px; }
#sidebar .view-more { text-transform: uppercase; font-weight: 100; font-family: 'ProximaNova-Bold', sans-serif; font-size: 13px; color: #51a089; }
#sidebar .view-more:hover { color: #000; }
#sidebar .widget-title-bullet { margin: -2px 5px 0 0; border: 0; }

/*** Footer ***/
#footer { border-top: 1px solid #d3e7e1; padding-top: 5px; font-size: 10px; text-transform: uppercase; }
#footer .copyright { float: left; }
#footer .credit { float: right; }

/*** Classes ***/
.clearf { clear: both; }
.homepage-tagline { clear: both; font-size: 27px; font-weight: normal; text-align: center; line-height: 1.4; padding: 27px 20px 17px; font-family: 'ProximaNova-Light', sans-serif; }
.pageTitle, h1 { padding: 0; margin: 0 0 7px; color: #51a089; font-size: 32px; font-weight: 100; text-transform: uppercase; letter-spacing: 1px; }
.subtitle, h2 { font-family: 'ProximaNova-Regular', sans-serif; color: #3b3c3c; font-size: 23px; line-height: 1.2; font-weight: 100; padding: 0; margin: 0 0 5px; }
.widgetTitle, h3 { font-family: 'ProximaNova-Regular', sans-serif; color: #3b3c3c; font-size: 18px; text-transform: uppercase; font-weight: 100; padding: 0; margin: 0 0 5px; letter-spacing: 1px; }
.caption { font-size: 13px; color: #51a089; text-transform: uppercase; font-family: 'ProximaNova-Regular', sans-serif; display: block; padding: 15px 0; }

/*** Buttons ***/
.donate-button { padding-top: 5px; display: block; }
.donate-button span {
	font-size: 13px;
	color: #ffffff;
	padding: 6px 17px 5px 17px;
	background: #70bdac;
	background: -moz-linear-gradient(
		top,
		#9cdbcd 0%,
		#70bdac);
	background: -webkit-gradient(
		linear, left top, left bottom, 
		from(#9cdbcd),
		to(#70bdac));
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius: 20px;
	text-transform: uppercase;
	font-family: 'ProximaNova-Bold', sans-serif;
	letter-spacing: 1px;
}
.donate-button:hover span {
	background: #333;
	background: -moz-linear-gradient(
		top,
		#666 0%,
		#333);
	background: -webkit-gradient(
		linear, left top, left bottom, 
		from(#666),
		to(#333));
}

/*** IE8 Fixes ***/
.lt-ie9 .tn3a-gallery { border: 1px solid #dedede; }
.lt-ie9 #main img { border: 1px solid #dedede; }

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@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;
    }
}