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-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
sup { vertical-align: super; font-size: 0.6em; }
strong { font-weight: bold; }
a, a:hover, a:visited, a:active {
  text-decoration: none;
  color: #4ad;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
.center { text-align: center; }
body {
  line-height: 1;
  font-family: sans-serif;
  background: #eee url(/img/linebg.png) top left;
  color: #333;
  text-shadow: 1px 1px 1px #eee;
  max-width: 60em;
  margin: 0 auto;
  position: relative;
  padding: 0 1em;
}
body > header {
  position: relative;
  height: 200px;
  background: url(/img/headerbg.png) bottom left no-repeat;
}
body > header > h1 {
  font-size: 2em;
  margin-left: 250px;
  padding-top: 1em;
}
body > header > h3 {
  font-size: 1.8em;
  margin-left: 250px;
  margin-top: 10px;
}
body > header > h5 {
  font-size: 1.1em;
  margin-left: 250px;
  margin-top: 0.5em;
}
body > header > h4 {
  font-size: 1.4em;
  margin-left: 250px;
  margin-top: 0.8em;
  color: #4ad;
}
body > header > h3 > span {
  color: #3b3;
}
body > header > aside {
  position: absolute;
  top: 1em;
  right: 1em;
  font-size: 1.5em;
}
body > header > aside > ul {
  list-style: square inside url(/img/marker.png);
}
body > header > aside > ul > li {
  width: 100%;
  line-height: 1.5em;
  white-space: nowrap;
}
ol, ul {
	list-style: none;
}

#logo {
  text-align: center;
  background-color: #fafafa;
  height:110px;
  margin-bottom: -25px;
}
#logo > img { width: 90%; }

#testimonial {
  background-color: #333;
  color: #fafafa;
  text-shadow: 1px 1px 1px #555;
  width: 20em;
  float: left;
  padding: 1em
}
#testimonial > * {
  margin: 1em 0;
}

#testimonial > h2 {
  margin: 0.5em 0;
  font-size: 2em;
}

#contact {
  width: 22em;
  margin: 1em 0 0;
  overflow: hidden;
  text-align: center;
  float: left;
  clear: left;
}
#contact > p {
  font-size: 1.1em;
  margin: 5px auto;
  max-width: 14em;
}
#contact a {
  background-color: #666;
  border: 1px solid #ddd;
  outline: 1px solid #666;
  display: block;
  padding: 4px;
  width: 12em;
  margin: 0.8em auto;
  text-shadow: 1px 1px 1px #777;
}

#contact > p.phone {
  color: #3b3;
  font-size: 2.1em;
}

div#player {
  border: 1px solid black;
  max-width: 320px;
  height: 180px;
  overflow: hidden;
  position: relative;
  margin: 1em auto;
}
#player > a {
  display: block;
  width: 100%;
  height: 100%;
}

#writeup {
  max-width: 38em;
  background-color: #fafafa;
  color: #333;
  text-shadow: 1px 1px 1px #fff;
  margin: 0 0 0 22em;
  padding: 1em;
  padding-top: 2px;
  min-height:52.5rem;
  position: relative;
}
#writeup > *,
#writeup p {
  margin: 1em;
  font-size: 1.1em;
}
#writeup > ul {

}
#writeup > ul > li {
  margin: 1em;
  text-indent: -1em;
}
footer {
  display: block;
  font-size: 0.9em;
  padding-bottom: 1em;
}
#pt_banner {
  background-color: #444;
  min-height: 185px;
  box-sizing: border-box;
  padding: 1.2em;
  color: #fafafa;
  font-size: 1.4em;
  line-height: 2em;
  text-shadow: 1px 1px 1px #555;
}
#pt_banner > a { display: block; }
#pt_banner > a > * { display: inline-block; vertical-align: middle;}
#pt_banner > a > img { max-width: 350px; }
#pt_banner > a > p { width: 270px; margin: 10px; color: #fafafa; }
#pt_banner > a > p.center { width: 230px; font-size: 1.5em; }
footer strong {
  font-size: 1.1em;
  color: #3b3;
}
#pt_banner span.button {
	font-family: 'Rokkitt', Arial; 
	font-weight:normal;
	text-transform:none;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px
	text-align:center;
  padding: 8px 30px;;
	color: #ffffff;
	background: -moz-linear-gradient(
		top,
		#137fcb 0%,
		#11639d);
	background: -webkit-gradient(
		linear, left top, left bottom, 
		from(#137fcb),
		to(#11639d));
	border: 1px solid #11639d;
	-moz-box-shadow:
		0px 0px 3px rgba(000,000,000,0.5),
		inset 0px 0px 2px rgba(255,255,255,0.7);
	-webkit-box-shadow:
		0px 0px 3px rgba(000,000,000,0.5),
		inset 0px 0px 2px rgba(255,255,255,0.7);
	box-shadow:
		0px 0px 3px rgba(000,000,000,0.5),
		inset 0px 0px 2px rgba(255,255,255,0.7);
	text-shadow:
		1px 2px 0px rgba(000,000,000,0.4),
		0px 1px 0px rgba(255,255,255,0.3);
}
#pt_banner span.button:hover {
	background: -moz-linear-gradient(
		top,
		#11639d 0%,
		#137fcb );
	background: -webkit-gradient(
		linear, left top, left bottom, 
		from(#11639d),
		to(#137fcb));
}
footer > p {
  line-height: 1.2em;
  margin: 0.5em
  clear: both;
}

aside.overlay {
  background-color: rgba(0,0,0,0.5);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 100;
}

aside.overlay > div h4 {
  font-size: 1.1em;
  color: #027102;
  font-weight: bold;
}

aside.overlay > div ul {
  list-style: square;
  padding-left: 1em;
}
aside.overlay > div em {
  color: #0781a6;
  font-weight: bold;
  font-style: italic;
  font-size: 1.1em;
}

div.parentkit {
  background-color: #333;
  margin: 1em 1em 1em 0;
  border: 1px solid #fefefe;
  outline: 1px solid #333;
  color: #eee;
  text-shadow: 1px 1px 1px #555;
  padding: 1em;
}  

aside.overlay > div,
aside.overlay > form > div {
  position: absolute;
  width: 800px;
  min-height: 400px;
  max-height: 900px;
  background-color: #fafafa;
  text-shadow: 1px 1px 1px #fff;
  left: 50%;
  margin-left: -400px;
  top: 50px;
  bottom: 50px;
  overflow-y: scroll;
  padding: 1em;
}
aside.overlay > form > div {
  width:250px;
}
aside.overlay p {
  margin-top: 1em;
}

aside.overlay h5 {
  background-color: #333;
  color: #fafafa;
  padding: 1em;
  margin-top: -1em;
  margin-left: -1em;
  margin-right: -1em;
  text-shadow: 1px 1px 1px #555;
  position: fixed;
  width: 800px;
  z-index: 10;
}
aside.overlay form h5 {
  width: 250px;
}
aside.overlay h5 a {
  padding: 5px 8px;
  color: #fafafa;
  border: 2px solid white;
  border-radius: 20px;
  font-weight: bold;
  position: absolute;
  top: 8px;
  right: 4px;
}

.successbox {
  width: 425px;
  padding: 1em 1em 1em 60px;
  background: #DCECC6 url('/img/success.png') no-repeat 19px 19px;
  border: 1px solid #b5e4a0;
}
.successbox p { margin: 1em 0; }
.rightbar {
  position: absolute;
  top: 55px;
  right: 0;
  width: 300px;
}
p.banner {
  border: 1px solid white;
  outline: 1px solid #4ad;
  background-color: #4ad;
  color: white;
  text-shadow: 1px 1px 1px #5be;
  font-size: 1.6em !important;
  padding: 0.5em;
  margin: 0;
  position: relative;
}
p.banner > a {
  background-color: #eee;
  border: 1px solid #4ad;
  outline: 1px solid #eee;
  padding: 0 0.5em;
  text-shadow: 1px 1px 1px #fff;
  position: absolute;
  right: 1em;
  top:0.75em;
  font-size: 0.8em;
}

p.footnote {
  color:#333;
  background-color:#ccc;
  font-size: 0.8em;
  text-shadow: 1px 1px 1px #ddd;
  padding: 0.2em;
}
#testimonial > p.footnote {
  margin-left: -1.25em;
  margin-right: -1.25em;
  margin-bottom: -1.25em;
}
#filler { height: 250px; }

body > header > aside > nav {
  font-size: 1rem;
  padding: 2rem 0;
}
#pagelinks > ul > li > a { color:white; }
#pagelinks > ul > li > a:hover { color:white; }
.page { display: none; }
.page.selected { display:block; }
.pagelink {
    display: inline-block;
    background-color: #44AADD;
    color: white;
    text-shadow: 1px 1px 1px #54BAED;
    padding: 2rem 1rem;
    border-radius: 5px;
}
.pagelink.selected {
    background-color: #047AAD;
    text-shadow: 1px 1px 1px #147ABD;
    position: relative;
}
.pagelink.selected:after {
    content: "";
    position: absolute;
    top: 6.2rem;
    left: 1em;
    color: #333;
    text-shadow: 1px 1px 1px #fff;
    font-family: FontAwesome;
    font-size: 1.5rem;
}
#pagelink_home {
  position: absolute;
  top: -0.5rem;
  margin: 0;
  padding: 0.5rem;
  right: 0;
}
#pagelink_home.selected:after {
  content: "";
}
#pagelink_home.selected:before {
  position: absolute;
  top: 0.2rem;
  left: -1.7rem;
  color: #333;
  text-shadow: 1px 1px 1px #fff;
  font-size: 1.5rem;
  font-family: "FontAwesome";
  content: "";
}
#pagelinks { margin-bottom: 2em; text-align: right; }
#pagelinks li {
    display: inline-block;
}
.page h2 { font-size: 2em; font-weight: bold; }

@media only screen and (max-width: 767px) {
  #testimonial { float: none; margin: 0; width: auto; }
  #contact { float: none; width: auto; }
  #logo { margin-left: 0; }
  #writeup { margin-left: 0; max-width: 100%; }
  body > header > aside { font-size: 1em; top: 14em; }
  #filler { display:none; }
}
@media only screen and (max-width: 527px) {
  body > header > h1 { font-size: 1.5em; }
  body > header > h3 { font-size: 1.5em; }
}
@media only screen and (max-width: 430px) {
  #logo { border-left: 1em; }
  body > header > aside { right: 0.2em; }
}
@media only screen and (max-width: 380px) {
  body > header {
    height: 360px;
    background-position: top left;
  }
  body > header > h1 { margin-left: 10px; padding-top: 205px; }
  body > header > h3 { margin-left: 10px; }
  body > header > h4 { margin-left: 10px; width: 6em; font-size: 1.1em; margin-top: 5px; }
  body > header > aside {  left: 7em; top: 270px; font-size: 1em; }
  #intro > .slide.right > img {
    left: 130px;
  }
  #contact { width: 100%; }
  #contact a { width: auto; }
  body #intro #testimonials { width: 100%; }
}
