/*******************************************************************************
MeyerWeb Reset
*******************************************************************************/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

ol, ul {
  list-style: none;
}

blockquote, q {
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a:focus {
  outline: none;
}

/*******************************************************************************
Theme Styles
*******************************************************************************/

body {
  box-sizing: border-box;
  color:#373737;
  background: #212121;
  font-size: 16px;
  font-family: 'Myriad Pro', Calibri, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-width: 720px;
}

h1, h2, h3, h4, h5, h6 {
  margin: 10px 0;
  font-weight: 700;
  color:#222222;
  font-family: 'Lucida Grande', 'Calibri', Helvetica, Arial, sans-serif;
  letter-spacing: -1px;
}

h1 {
  font-size: 36px;
  font-weight: 700;
}

h2 {
  font-size: 32px;
  color: #bbb;
  border-bottom: 2px dotted rgba(0,0,0,0.1);
  padding-bottom: 0;
  margin-bottom: 20px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 21px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
}

p {
  margin: 10px 0 15px 0;
}

footer p {
  color: #f2f2f2;
}

a {
  text-decoration: none;
  color: #007edf;
  text-shadow: none;

  transition: color 0.15s ease;
  transition: text-shadow 0.15s ease;
  -webkit-transition: color 0.15s ease;
  -webkit-transition: text-shadow 0.15s ease;
  -moz-transition: color 0.15s ease;
  -moz-transition: text-shadow 0.15s ease;
  -o-transition: color 0.15s ease;
  -o-transition: text-shadow 0.15s ease;
  -ms-transition: color 0.15s ease;
  -ms-transition: text-shadow 0.15s ease;
}

#main_content a:hover {
  color: #0069ba;
  text-shadow: #0090ff 0px 0px 2px;
}

footer a:hover {
  color: #43adff;
  text-shadow: #0090ff 0px 0px 2px;
}

em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

img {
  position: relative;
  margin: 0 auto;
  max-width: 739px;
  padding: 5px;
  margin: 10px 0 10px 0;
  border: 1px solid #ebebeb;
  background-color: whitesmoke;

  box-shadow: 0 0 5px #ebebeb;
  -webkit-box-shadow: 0 0 5px #ebebeb;
  -moz-box-shadow: 0 0 5px #ebebeb;
  -o-box-shadow: 0 0 5px #ebebeb;
  -ms-box-shadow: 0 0 5px #ebebeb;
}

iframe {
  padding: 5px;
  margin: 10px 0 10px 0;
  border: 1px solid #ebebeb;
  box-shadow: 0 0 5px #ebebeb;
  background: white;
}

pre, code {
  width: 100%;
  color: #222;
  background-color: #fff;

  font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
  font-size: 14px;

  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;



}

pre {
  width: 100%;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,.1);
  overflow: auto;
}

code {
  padding: 3px;
  margin: 0 3px;
  box-shadow: 0 0 10px rgba(0,0,0,.1);
}

pre code {
  display: block;
  box-shadow: none;
}

blockquote {
  color: #666;
  margin-bottom: 20px;
  padding: 0 0 0 20px;
  border-left: 3px solid #bbb;
  font-size: 16px;
  line-height: 1.3;
  font-family: Georgia, Times, serif;
  font-style: italic;
}

ul, ol, dl {
  margin-bottom: 15px
}

ul li {
  list-style: inside;
  padding-left: 20px;
}

ol li {
  list-style: decimal inside;
  padding-left: 20px;
}

dl dt {
  font-weight: bold;
}

dl dd {
  padding-left: 20px;
  font-style: italic;
}

dl p {
  padding-left: 20px;
  font-style: italic;
}

hr {
  height: 1px;
  margin-bottom: 5px;
  border: none;
  background: url('../images/bg_hr.png') repeat-x center;
}

table {
  border: 1px solid #373737;
  margin-bottom: 20px;
  text-align: left;
 }

th {
  font-family: 'Lucida Grande', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  padding: 10px;
  background: #373737;
  color: #fff;
 }

td {
  padding: 10px;
  border: 1px solid #373737;
 }

form {
  background: #f2f2f2;
  padding: 20px;
}

img {
  width: 100%;
  max-width: 100%;
}

sup {
  font-size: 60%;
  vertical-align: top;
  line-height: 1;
}

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

/*******************************************************************************
Full-Width Styles
*******************************************************************************/

.outer {
  width: 100%;
}

.inner {
  position: relative;
  max-width: 700px;
  padding: 20px 10px;
  margin: 0 auto;
}

#header_wrap {
  background-color: #212121;
  background-image: url('../images/banner2.jpg');
  background-repeat: no-repeat;
  background-position: center;
  height: 210px;
  /*
  background: -moz-linear-gradient(top, #373737, #212121);
  background: -webkit-linear-gradient(top, #373737, #212121);
  background: -ms-linear-gradient(top, #373737, #212121);
  background: -o-linear-gradient(top, #373737, #212121);
  background: linear-gradient(top, #373737, #212121);*/
}
#header_wrap.background_1 {
  background-image: url('../images/banner.jpg');
}
#header_wrap.background_2 {
  background-image: url('../images/banner2.jpg');
}
#header_wrap.background_3 {
  background-image: url('../images/banner3.jpg');
}
#header_wrap.background_4 {
  background-image: url('../images/banner4.jpg');
}
#header_wrap.background_5 {
  background-image: url('../images/banner5.jpg');
}
#header_wrap.background_6 {
  background-image: url('../images/banner6.jpg');
}
#header_wrap.background_7 {
  background-image: url('../images/banner7.jpg');
}


#header_wrap .inner {
  padding: 40px 10px 30px 10px;
}

header h1 {
  margin: 0;
  color: #f6f6f6;
  font-weight: 700;
  text-shadow: 0px 0px 10px #111;
  background: url('../images/logo.png') no-repeat;
  background-position: 0 0;
  padding: 13px 0 0 143px;
  height: 126px;
  min-width: 280px;
  line-height: 45px;
}
header h1 .top_line{
  font-size: 45px;
}
header h1 .bottom_line{
  font-size: 48px;
}

#main_content {
  background: #f2f2f2;
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
  min-height: 600px;
}

#main_content nav {
  border-bottom: 2px dotted rgba(0,0,0,0.1);
  line-height: 1;
  margin-bottom: 15px;
}
#main_content nav a{
  padding: 0 20px 0 0;
  font-size: 20px;
  font-weight: 600;
}
#main_content nav a.donate{
  padding: 0;
  float: right;
}

#main_content section{
  padding: 0 0 25px;
}

#footer_wrap {
  background-color: #212121;
  background-image: url('../images/banner2.jpg');
  background-repeat: no-repeat;
  background-position: center 5px;
}

/**
Sections
**/
#mission img{
  width: 280px;
  float: left;
  margin-right: 15px;
}
#mission .mini_mission{
  font-size: 18px;
}
#team .members img{
  width: 100px;
  height: 100px;
  float: left;
  margin-right: 15px;
}
#team .member > img{
  width: 150px;
  height: 150px;
  float: left;
  margin-right: 15px;
}
#team .member blockquote{
  width: 75%;
  margin-left: 50px;
}
#team .member img.einstein_cartoon{
  float: right;
  width: 160px;
  height: auto;
  margin: -5px 0px 0 10px;
}


/*******************************************************************************
Small Device Styles
*******************************************************************************/

@media screen and (max-width: 480px) {
  body {
    font-size:14px;
  }

  #downloads {
    display: none;
  }

  .inner {
    min-width: 320px;
    max-width: 480px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 21px;
  }

  h4 {
    font-size: 18px;
  }

  h5 {
    font-size: 14px;
  }

  h6 {
    font-size: 12px;
  }

  code, pre {
    min-width: 320px;
    max-width: 480px;
    font-size: 11px;
  }

}
