/* Layout
   ========================================================================== */

*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, 
p, blockquote, pre, a, abbr, acronym, address, em,
b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, 
table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas,
figure, figcaption, footer, header, hgroup, menu, nav, 
 section {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  outline: none;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;  
}

article, aside, details, figcaption, figure, footer, 
header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; }

blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
strong { font-weight: bold; } 

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

html {
  font: 100%/1.5 "Open Sans", sans-serif;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* 1rem = 16px and  37.5rem = 600px and  64rem = 1024px  */

@media (min-width: 37.5rem) {
  html { font-size: 110%; }
}

@media (min-width: 64rem) {
  html { font-size: 120%; }
}

a {
  text-decoration: none;
}    
/* Typography
   ========================================================================== */
/* 1rem = 16px, 40rem = 640px, 34.4375rem = 551px, 28.25rem = 452px and  64rem = 1024px */
h1, h2, h3, h4, h5 {
  font-weight: 400;
  font-family: 'justusoldstyle', serif;
  margin: 0;
}
h1 {
  font-size: 1.8rem;
  line-height: 2.3rem;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid #222;
  border-radius: 3px;
  text-align: center;
  width: 50%;
  min-width: 200px;
  max-width: 240px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: .5rem;
}
p {
  color: #999;
  margin: 0 auto;  
}
body {
  background-color: #fff;
  color: #333;
  position: relative;
  margin: 0;
  height: 100%;
}
.wrapper {
  height: 100% !important;
  height: 100%;
  margin: 0 auto; 
  overflow: hidden;
}
.main section .page_container {
  position: relative;
  margin: 0 auto 0;
  max-width: 100%;
  z-index: 3;
}
.main section  {
  overflow: hidden;
}
body.disabled-onepage-scroll .onepage-wrapper  section {
  min-height: 100%;
  height: auto;
}
body.disabled-onepage-scroll .main section .page_container {
  padding: 20px;
  margin-top: 12%; 
}
body.disabled-onepage-scroll .main section.page4 .page_container4 {
  padding: 0;
  margin: 0;
}   
body.disabled-onepage-scroll section .page_container h3 {
  text-align: center;
  width: 100%;
}


/* Section Background Color */
.main section.page1 { 
  background: url(../img/welcome.jpg) no-repeat center center; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/welcome.jpg', sizingMethod='scale');
  -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/welcome.jpg', sizingMethod='scale')";
}