


/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.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,
button,
input,
select,
textarea {
    color: #222;
}

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * 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 images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */



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

@font-face {
    font-family: 'source_sans_prolight';
    src: url('../fonts/sourcesanspro-light-webfont.eot');
    src: url('../fonts/sourcesanspro-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/sourcesanspro-light-webfont.woff') format('woff'),
         url('../fonts/sourcesanspro-light-webfont.ttf') format('truetype'),
         url('../fonts/sourcesanspro-light-webfont.svg#source_sans_prolight') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'source_sans_proextralight';
    src: url('../fonts/sourcesanspro-extralight-webfont.eot');
    src: url('../fonts/sourcesanspro-extralight-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/sourcesanspro-extralight-webfont.woff') format('woff'),
         url('../fonts/sourcesanspro-extralight-webfont.ttf') format('truetype'),
         url('../fonts/sourcesanspro-extralight-webfont.svg#source_sans_proextralight') format('svg');
    font-weight: normal;
    font-style: normal;
}
body, html{

	background-color: #e8e8ea;
	height: 100%;

}


.bgbackground {
	width: 100%;
	height: 100%;
	background-position: center center;
	background-repeat: no-repeat;
	display: none;
}

#full {
	background-image: url(../img/full.jpg);
}

#middle {
	background-image: url(../img/middle.jpg);
}

#low {
	background-image: url(../img/low.jpg);
}

#content{ width:1400px; margin:auto; display:block;}
#content #cajon{ position:fixed; left:50%; top:0; z-index:0;}
#content #cajon img{ display:block; margin:auto; }
#content .text-wrapper{ width:516px; display:block; margin:auto; position:relative; z-index:1000; }
#content .text-wrapper img{ display:block; margin:0 auto 30px; }
#content .text-wrapper p{ font-family: 'source_sans_prolight'; color:#000; text-align:center; margin:0;}
#content .text-wrapper p.chico{ font-size:18px; line-height:22px; margin-bottom:23px; }
#content .text-wrapper p.grande{ font-size:29px; line-height:27px; margin-bottom:24px; }
#content .text-wrapper p.extra{ font-family: 'source_sans_proextralight'; font-size:15px; line-height:17px;  }

#content .text-wrapper a{ color:#000; text-decoration:underline; }





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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

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

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

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

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}



@media screen and (max-width: 3000px) and (min-width: 1041px) {

	#content{ width:1400px; }
	#content #cajon{ margin-left:-700px;}
	#content .text-wrapper{ width:516px; top:346px; margin-top:77px; }
}
@media screen and (max-width: 1400px) and (min-width: 1124px) {

	#content{ width:100%; }
	#content #cajon{ margin-left:-700px;}
	#content .text-wrapper{ width:516px; top:346px; margin-top:77px; }
}
@media screen and (max-width: 1123px) and (min-width: 584px) {

	#content{ width:100%; }
	#content #cajon{ width:1123px; margin-left:-562px;}
	#content #cajon img{ width:100%; max-width:1123px;}
	#content .text-wrapper{ width:400px; top:280px; margin-top:77px; }
}

@media screen and (max-width: 583px) and (min-width: 321px) {

	#content{ width:100%; }
	#content #cajon{ width:583px; margin-left:-292px;}
	#content #cajon img{ width:100%; max-width:583px;}
	#content .text-wrapper{ width:274px; top:144px; margin-top:77px; }
	#content .text-wrapper p.chico{ font-size:15px; line-height:18px; }
	#content .text-wrapper p.grande{ font-size:26px; line-height:24px;}
	#content .text-wrapper p.extra{ font-size:10px; line-height:12px;  }
}
@media screen and (max-width: 320px) {

	#content{ width:100%; }
	#content #cajon{ width:320px; margin-left:-160px;}
	#content #cajon img{ width:100%; max-width:320px;}
	#content .text-wrapper{ width:274px; top:144px; margin-top:77px; }
	#content .text-wrapper p.chico{ font-size:15px; line-height:18px; }
	#content .text-wrapper p.grande{ font-size:26px; line-height:24px;}
	#content .text-wrapper p.extra{ font-size:10px; line-height:12px;  }
}



@media screen and (min-width: 800px) and (max-width: 3000px) {
	#full {display: block;}
}
@media screen and (min-width: 401px) and (max-width: 800px) {
	#middle {display: block;}
}
@media screen and (min-width: 100px) and (max-width: 400px) {
	#low{ display: block; }
}



