/* css Zen Garden submission 218 - 'Apothecary', by Trent Walton, http: //www.trentwalton.com/ */
/* css released under Creative Commons License - http: //creativecommons.org/licenses/by-nc-sa/1.0/  */

/* TYPEKIT_KIT_ID: xtk3kmd */


@font-face {
  font-family: 'sears_towerregular';
  src: url('fonts/typewriter/Sears_Tower-webfont.eot');
  src: url('fonts/typewriter/Sears_Tower-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

@font-face {
    font-family: 'swashingtoncpregular';
    src: url('fonts/title/swashingtoncp-webfont.woff2') format('woff2'),
         url('fonts/title/swashingtoncp-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

html,body,div,span,object,h1,h2,h3,h4,h5,h6,p,a,abbr,acronym,em,img,ol,ul,li {border: 0;font-weight: inherit;font-style: inherit;font-size: 100%;font-family: inherit;vertical-align: baseline;margin: 0;padding: 0;}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  overflow-y: auto;
  background: #faf3e6;
  background-size: 22em;
  height: 100%
}

body {
  font: 112.5%/1.3 serif;
  color: #3f3d3a;
  height: 100%;
  padding: 1em;
}

body:before, body:after {
  content: '';
  display: block;
  width: 0;
  height: 0;
}

body::before {
  border-left: 5em solid #faf3e6;
  border-right: 5em solid #faf3e6;
  border-top: 5em solid transparent;
  background: #f7644d url('img-halftone.png') repeat;
  margin: 0 auto -4.75em;
}

body:after {
  border-left: 5em solid #faf3e6;
  border-right: 5em solid #faf3e6;
  border-bottom: 5em solid transparent;
  background: #ffb14d url('img-halftone.png') repeat;
  margin: -4.75em auto 0;
}

.page-wrapper {
  width: 99%;
  background:
    url('img-lg-vert-border.png') repeat-y top left,
    url('img-lg-vert-border.png') repeat-y right 100px;
  background-size: 0.75em;
  max-width: 1800px;
  position: relative;
  padding: 0 4%;
  min-height: 98%;
  }



.page-wrapper:before {
  content: "";
  height: 20px;
  background:	url('img-lg-horiz-border.png') repeat-x 0 -2px;
  background-size: 50em;
  margin: 0 -4%;
  display: block;
}

.page-wrapper::after {
  content: "";
  background: url('img-lg-horiz-border.png') repeat-x 0 -2px;
      background-size: auto;
  background-size: auto;
  background-size: 50em;
  height: 13px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 100;
  width: 100%;
}

h2, h3, h4, h5 {
  text-align: center;
  color: #272625;
  text-transform: uppercase;
}

a {
  color: #e5452c;
}

a:hover, a:focus {
  color: #3f3d3a;
}

p {
  margin-bottom: 0.15em;
}

.small {
  font-size: .65em;
}

/* -------INTRO SECTION------ */
.intro {
  clear: both;
  padding-top: 2em;
}

.intro p {
  margin: 0 auto 1em;
}



.summary p:nth-child(2) {
  font-style: italic;
}

.summary a {
  display: inline-block;
}



.intro h1 {
  font-family: "swashingtoncpregular",serif;
  font-style: normal;
  display: block;
  font-size: 2rem;
  letter-spacing: 0.1rem;
  font-weight: 700;
  background: url('img-sprite.png') no-repeat center 0.5em;
      background-size: auto;
  background-size: 68rem;
  margin: .25em auto 1em;
  text-align: center;
}

.intro h2 {
  font-family: "sears_towerregular", courier, sans-serif;
  font-size: 1em;
  font-weight: 700;
  margin:  3em auto 0;
  padding: 0;
  letter-spacing: 0.075rem;
  line-height: 1;
  color: #EA6E4D;
}



.summary {
  position: relative;
}

.intro .summary p {
  max-width: 30rem;
  font-family: "sears_towerregular", courier, sans-serif;
  font-size: 1em;
  margin: 0 auto;
}

.intro {
  padding: 12em .5em 3em;

  }

header:before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 100%;
  height: 100%;
  background: url('img/stipplescott-transparent.png') no-repeat center top;
  background-size: 10em;
}



footer:after {
  content: '';
  display: block;
  background: url('img/brain.png') no-repeat center top;
  background-size: auto;
  background-size: 6em;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 6em;
}


footer {
  text-align: center;
  font-family: "refrigerator-deluxe",sans-serif;
  font-size: 1.15em;
  text-transform: uppercase;
  text-align: center;
  padding-bottom: 8.5em;
}

footer a {
  text-decoration: none;
  background: #272625;
  padding: 0.15rem 0.5rem;
  color: #faf3e6;
  margin: 0 0.15em;
  letter-spacing: 0.05em;
}

footer a:hover, footer a:focus {
  background-color: #e5452c;
}


@media (min-width:600px) {
  body {
	font-size: 1.12em;
	line-height: 1.6;
  }

  .intro p,
  .preamble,
  .design-selection,
  .design-selection ul,
  .design-archives,
  .zen-resources ul,
  .participation p,
  .benefits h3,
  .benefits p {
	max-width: 30rem;
  }


  .explanation,
  .requirements {
	max-width: 30rem;
  }



  body:after {
	border-left: 6em solid #faf3e6;
	border-right: 6em solid #faf3e6;
	border-bottom: 8em solid transparent;
	margin: -8.5em auto 0;
	position:relative;
	z-index:-2;
  }

.intro h1 {
  font-size: 3.75rem;
}










}


@media (min-width:800px) {
  body {
	font-size: 1.188em;
  }

}

@media (min-width:1050px) {
  body {
	font-size: 1.25em;
  }

}


@media (min-width:1200px) {
  body {
	font-size: 1.315em;
  }

}


/* ------- OMG FLEXBOX ------ */
.page-wrapper {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -moz-box-orient: vertical;
  -webkit-box-orient: vertical;
  -ms-box-orient: vertical;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

.intro {
  -webkit-box-ordinal-group: 1;
  -moz-box-ordinal-group: 1;
  -ms-flex-order: 1;
  -webkit-order: 1;
  order: 1;
  align-self: flex-start;
  width: 100%;
}

.main {
  -webkit-box-ordinal-group: 3;
  -moz-box-ordinal-group: 3;
  -ms-flex-order: 3;
  -webkit-order: 3;
  order: 3;
  align-self: flex-start;
  width: 100%;
}

.sidebar {
  -webkit-box-ordinal-group: 2;
  -moz-box-ordinal-group: 2;
  -ms-flex-order: 2;
  -webkit-order: 2;
  order: 2;
}

