/*! 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
   ========================================================================== */
/*** Body ***/
body
{
    width: 1350px;
    margin: 0 auto;
    font-family: 'arial';
}
/*** Header ***/
header
{
    width: 100%;
    margin: 0 auto;
    max-width: 1280px;
}

header .logo
{
    /*float: left;*/
    padding-left: 30px;
    padding-top: 30px;
    padding-right: 15px;
	display: block;
}

header .title
{
    text-transform: uppercase;
    color: #1f357a;
    /*display: inline-block;*/
    line-height: 0;
    margin-top: 10px;
}

header .title p:first-child
{
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 6px;
    font-stretch: condensed;
}

header .title p:last-child
{
    font-size: 25px;
    margin-top: -10px;
}

header .border-orange
{
    border-color: #ee6e26!important;
}

header p .title-support
{
	font-stretch: condensed;
	font-weight: bold;
}

header .border-blue
{
    border-color: #1f357a!important;
}

/*** Home ***/

/*** Menu ***/

.menu
{
    margin-top: 10px;
    margin-left: 60px;
}
.main-menu
{
    list-style-type: none;
    margin: 0;
    padding: 10px;
    overflow: hidden;
}

.main-menu li
{
    float: left;
    margin-right: 17px;
    width: 145px;
    border-top: 6.25px solid transparent;
    padding: 12.5px 0px;
    line-height: 1.9em;
}

.main-menu li img
{
    width: 150px;
}
.main-menu li a
{
    display: inline-block;
    color: white;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    box-shadow: 5px 6px 4px #888888;
}

.main-menu li:nth-child(1) a
{
    font-size: 30px;
    background-color: #1f357a;
    padding: 19.3px 27.5px;
}

.main-menu li:nth-child(2) a
{
    font-size: 24px;
    padding: 4.3px 9px;
    background-color: #ee6e26;
}

.main-menu li:nth-child(3) a
{
    font-size: 24px;
    padding: 4.3px 12px;
    background-color: #1f357a;
}

.main-menu li:nth-child(4) a
{
    font-size: 20px;
    padding: 1.3px 16px;
    background-color: #ee6e26;
    line-height: 1.1em;
}

.main-menu li:nth-child(5) a
{
    font-size: 30px;
    padding: 19.3px 12.49px;
    background-color: #1f357a;
}

.main-menu li:nth-child(6) a
{
    font-size: 30px;
    padding: 19.3px 27.5px;
    background-color: #ee6e26;
}

.main-menu li:nth-child(7) a
{
    font-size: 24px;
    padding: 4.3px 14px;
    background-color: #1f357a;
}

/*** Banner ***/
.banner
{
    margin-top: 30px;
}
.banner > img
{
    width: 100%;
}

.banner .donate
{
    text-align: center;
    margin-top: -40px;
    max-width: 100%;
    height: auto;
}

/*** Welcome ***/
div.welcome>.title, 
.contact-us>.title
{
    font-size: 34px;
    font-weight: bold;
    text-align: center;
	color: #263a7b; 
}

div.welcome p:not(:first-child),
.contact-us p:not(:first-child)
{
    text-align: center;
    vertical-align: middle;
	color: #263a7b;
}

.welcome>p:not(:first-child),
.contact-us p:not(:first-child)
{
    font-size: 24px;
}

.welcome>p:nth-child(2)
{
    margin-bottom: 0;
}

.welcome>p:nth-child(3)
{
    margin-top: 0;
}

.welcome .charity_number
{
	color: #263a7b;
}

.orange
{
color: #ee6e26;
}

.social
{
    text-align: center;
}

.social a:link, .social a:visited, .support-us a
{
    text-decoration: none;
}

.social p
{
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    color: #263a7b;
}

.charity_number
{
    font-size: 18px;
    text-align: center;
    color: ;
}

/*** Hope Block***/

.hope .hope-border
{
    height: 34px;
    margin-left: 1px;
}

.hope .top
{
    background-color: #ee6e26;
}
.hope .bottom
{
    background-color: #1f357a;
}

.hope_images
{
    overflow: auto;
}


.hope_images .first-block
{
    background-image: url(../img/hope1.png);
    height: 370px;
    background-repeat: no-repeat;
    width: 534px;
    float: left;
}

.hope_images .second-block
{
    background-image: url(../img/hope2.png);
    height: 370px;
    background-repeat: no-repeat;
    width: 339px;
    float: left;
}

.hope_images .third-block
{
    background-image: url(../img/hope3.png);
    height: 370px;
    background-repeat: no-repeat;
    width: 477px;
    float: left;
}

/*** Volunteers ***/
.volunteers
{
    color: #ee6e26;
}

.volunteers .title
{
    font-size: 32px;
    text-align: center;
    font-weight: bold;
}

.volunteers>p:nth-child(2)
{
    padding: 0px 150px;
    font-size: 26px;
    text-align: center;
}

/*** About ***/

.about>.title,
.what-we-offer>.title,
.support-us>.title
{
    font-size: 34px;
    font-weight: bold;
}

.about>p
{
    font-size: 24px;
    color: #263a7b; 
    padding: 0px 100px;
    text-align: justify;
}

/*** Contact-Us ***/
.contact-us p:nth-child(2),
.contact-us p:nth-child(3),
.contact-us p:nth-child(4),
.contact-us p:nth-child(5),
.contact-us p:nth-child(6)
{
    margin-bottom: 0;
}
.contact-us p:nth-child(2),
.contact-us p:nth-child(3),
.contact-us p:nth-child(5),
.contact-us p:nth-child(6),
.contact-us p:nth-child(7)
{
    margin-top: 0;
}

.contact-us p:nth-child(3) a
{
	text-decoration: none;
}

.contact-us.page p:nth-child(4) a
{
    text-decoration: none;
}

.map
{
    margin-top: 15px;
    margin-bottom: 15px;
}
/*** What we Offer***/

.what-we-offer, .support-us
{
    padding: 0px 100px;
    text-align: justify;
}

.what-we-offer p, .support-us p
{
    margin-top: 0;
    color: #263a7b;
}

.what-we-offer p:not(:first-child), .support-us p:not(:first-child)
{
    font-size:  21px;
}

.what-we-offer .sub-title, .support-us .sub-title
{
    color: #ee6e26;
    margin-bottom: 0;
}

.what-we-offer .befriending-images,
.complementary-therapies-images,
.art_group-image
{
    text-align: center;
    margin: 10px 0px;
}

.orange a
{
    text-decoration: none;
    color: #ee6e26;

}


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