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


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

	html, body {
		margin:  0px;
		padding: 0px;
		height: 100%;
		background-color: #FFFFFF;	
	}
	

	header, section, footer, aside, nav, article, figure { 
		display: block; 
	}


	#page_wrapper {
		width: 100%;
		min-height: 100%;
		height: auto !important;
		height: 100%;
		margin: 0px 0px -46px 0px;
	}



	#centering_wrapper {
		width: 100%;
		padding: 0px 0px 46px 0px;		
	}




	header#logo{
		width:  100%;	
		text-align: center;
	}
	
	
	header#logo img {
		margin:  15px auto 0 auto;
	}
	
	
	
	article#site_description h1 {
		font-family: 'Quicksand', sans-serif;
		font-weight: 500;
		font-size: 1.19em;
		letter-spacing: -0.025em;
		text-align: justify;
	}

	article#site_description {
		margin: 20px auto 30px auto;
		text-align: center;
	}	
	
		
	nav#site_links{
		width:	100%;
	}
		
	nav#site_links ul#buttons {
		margin: 0 auto 10px auto;
		padding: 0;
		text-align: center;
	}

	
	nav#site_links ul#buttons li {
		text-align: center;
		margin: 1px auto;
		display: inline-block;
		border: 6px solid #FFFFFF;
	}

		
	nav#site_links ul#buttons li img {
		width: 100%;
	}
	
		
	nav#site_links ul#buttons li:hover {
		border: 6px solid #E0A341;
	}
	
	footer#sticky {
	    width: 100%;
	    background-color: #390000;
		text-align: center;
	}
	
	footer#sticky h2 {
		margin: 14px auto;
		display: inline-block;
		width: 100%;
		color: #FFFFFF;
		font-family: 'Quicksand', sans-serif;
		font-weight: 600;
		text-transform: uppercase;
	}
	
	footer#sticky h2 a:link,
	footer#sticky h2 a:visited {
		text-decoration: none;
	}
	
	footer#sticky h2 a:hover {
		color: #E0A341;
	}
	
	footer#sticky a.address,
	footer#sticky a.spamspan {
		color: #FFFFFF;
	}
	
	footer#sticky a.author {
		padding-left: 15px;
		color: #B29276;
	}
	

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


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


	article#site_description h1 {
		margin:  0 auto;
		width: 695px;
	}
		

	nav#site_links ul#buttons li {
		width: 220px;
	}

		
	footer#sticky {
		height: 46px;

	}
	
	footer#sticky h2 {
		font-size: 0.79em;
	}


}


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

	
	article#site_description {
		width: 83%;
	}	
	
	article#site_description h1 {
		margin:  0 auto;
	}
	

	nav#site_links ul#buttons li {
		width: 26%;
	}

		
	footer#sticky {
		height: 46px;
	}
	
	footer#sticky h2 {
		margin: 17px auto;
		font-size: 0.535em;
	}


}



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


	#page_wrapper {
		margin: 0px 0px -74px 0px;
	}


	#centering_wrapper {
		padding: 0px 0px 74px 0px;		
	}
	
	
	article#site_description h1 {
		margin:  0 40px;
	}
	
	
	nav#site_links ul#buttons li {
		width: 240px;
		display: block;
	}


	footer#sticky {
	    height: 74px;
	}
	
	footer#sticky h2 {
		font-size: 0.7em;
		width: 260px;
	}
	
}



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