@import "fonts.css";
@import url(http://weloveiconfonts.com/api/?family=entypo);

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

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

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

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

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

html, body {
  height: 100%;
  min-width: 320px;
  font-family: 'OpenSansLight', Helvetica, sans-serif;
  font-size: 62.5%;
  text-shadow: 0 1px 1px rgba(255, 255, 255, .7);
}

/* entypo */
[class*="entypo-"]:before {
  font-family: 'entypo', sans-serif;
  font-size: 1.1em;
  padding-right: .4em;
  color: #000;
}

[class*="entypo-"]:hover:before {
  color: #ffcc00;
  cursor: pointer;
}


/* position the canvas in the centre of the browser window */
.canvas-wrap {
	width: 80%;
  min-width: 300px;
  max-width: 800px;
	height: auto;
	margin: 0 auto;
	position: relative;
  text-align: center;
}

/* fabulous sticky-footer thanks to http://www.sticky-footer.com */
.sticky-wrap {
  min-height: 100%;
  background-color: #ffcc00;
	background: -moz-linear-gradient(bottom, #febc11 30%, #ffd54c 100%) #ffcc00; /* FF3.6+ */
	background: -webkit-linear-gradient(bottom, #febc11 30%, #ffd54c 100%) #ffcc00; /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(bottom, #febc11 30%, #ffd54c 100%) #ffcc00; /* Opera 11.10+ */
	background: -ms-linear-gradient(bottom, #febc11 30%, #ffd54c 100%) #ffcc00; /* IE10+ */
	background: linear-gradient(bottom, #febc11 30%, #ffd54c 100%) #ffcc00; /* W3C */;
}

.main {
  padding-bottom: 500px;
  overflow: auto;
}

.footer {
  margin-top: -500px;
  height: 300px;
  clear: both;
  position: relative;
}
.footer.black {
  margin-top: 0;
  height: 300px;
  text-shadow:none!important;
}

/*Opera Fix*/
body:before {
	content:"";
	height:100%;
	float:left;
	width:0;
	margin-top:-32767px;/
}
/* ---------------------- end stick-footer code */

.top-strip {
  width: 100%;
  position: relative;
  color: #4c3d00;
  font-size: 35px; font-size: 3.5rem;
}
.top-strip img {
  padding: 7% 0 0;
  width: 80%;
  max-width: 360px;
}

.middle-strip {
  background-color: #fff;
/*     -moz-box-shadow: 0 0 35px rgba(0, 0, 0, 0.21);
  -webkit-box-shadow: 0 0 35px rgba(0, 0, 0, 0.21);
          box-shadow: 0 0 35px rgba(0, 0, 0, 0.21);*/
  
}
.middle-strip .canvas-wrap {
  height: 100%;
  padding: 90px 0 20px 0;
}

.folio.entypo-picture {
  margin:0;
  font-size: 210px; font-size: 21rem;
  line-height: 30px; line-height: 3rem;
}

.folio.entypo-picture:before {
  padding-right: 0.1em;
}

.title-huge, 
.folio.entypo-picture .title-huge {
  font-size: 84px; font-size: 8.4rem;
  color: #666;
  letter-spacing: -30px; letter-spacing: -0.3rem;
}

.folio.entypo-picture .title-huge.heavy { vertical-align:bottom; }

/* 
.explain {
	width: 100%;
	margin: 0;
	padding: 0 0 10%;
  font-size: 10px; font-size: 1rem;
  color: #999;
  position: relative;
}

.explain .brackets {
	width: 10%;
  font-size: 42px; font-size: 4rem;
  position: absolute;
	top: -10px;
  left: 0;
  text-align: right;
  color: #ccc;
}

.explain .brackets.right {
	left: auto;
	right: 0;
	text-align: left;
} */

.footer {
  background: url(../img/satinweave.png) repeat #e2e2e2;
  z-index: 3;
     -moz-box-shadow: rgba(0, 0, 0, 0.35) 0 35px 35px -35px inset;
  -webkit-box-shadow: rgba(0, 0, 0, 0.35) 0 35px 35px -35px inset;
          box-shadow: rgba(0, 0, 0, 0.35) 0 35px 35px -35px inset;
  font-size: 16px; font-size: 1.6rem;
}

.footer.black { background-color: #000000; z-index:4; background-image:none; }

.footer .canvas-wrap {
  height: 210px;
  padding: 40px 0 0;
  position: relative;
  z-index: 3;
  color: #666;
}
.footer.black .canvas-wrap { padding:90px 0 0; }

.footer .title-huge {
	line-height: 21px; line-height: 2.1rem;
	color: #333;
}
.footer.black .tag-line {
	line-height: 2.1em; line-height: 4rem;
	color: #666;
}
.footer.black .norm { color: #666!important; }

p {
  margin: .5em 0;
}

a {
  color:inherit;
  text-decoration:none !important;
}

.knocked { color: #4c3d00 !important; }
.no-wrap { white-space: nowrap; }

.bold { font-family: 'OpenSansSemiBold', Helvetica, sans-serif; }
.heavy { 
  font-family: 'OpenSansBold', Helvetica, sans-serif;
  letter-spacing: -.5px; letter-spacing: -.05rem;
}

.tag-line {
  font-size: 2em; line-height: 1em;
}
.detected {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity="50")"; /* IE 8 */
	filter: Alpha(Opacity=50); /* IE 5-7 */ 
	opacity: 0.5;
	zoom: 1;
	padding-top: 40px;
  font-size: .8em;
}
.device:after {
  content: "large screen";
}








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

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses 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 only screen and (min-width: 571px) and (max-width: 1024px) {

  .tag-line .no-wrap { white-space: normal; }
	.device:after {
		content: "laptop";
	}
  .touch .device:after {
    content: "mobile tablet";
  }
}

@media only screen and (max-width: 570px) {

  .top-strip {
     font-size: 28px; font-size: 2.8rem;
  } 
  .tag-line .no-wrap { white-space: normal; }
	.device:after {
		content: "laptop";
	}
  .touch .device:after {
    content: "mobile phone";
  }
  
  .folio.entypo-picture {
		margin:0;
		font-size: 180px; font-size: 18rem;
		line-height: 30px; line-height: 3rem;
	}

	.title-huge, 
	.folio.entypo-picture .title-huge {
		font-size: 63px; font-size: 6.3rem;
	}
}


@media only screen and (max-width: 340px) {

	.folio.entypo-picture {
  	line-height: 20px; line-height: 2rem;
	}
	.title-huge, 
	.folio.entypo-picture .title-huge {
  	font-size: 49px; font-size: 4.9rem;
		letter-spacing: -20px; letter-spacing: -0.2rem;
	}
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

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