@media only screen and (min-width: 591px) {
    nav li {
        display: inline-block;
        margin: 0 10px;
    }
}
@media only screen and (max-width: 590px) {
    nav li {
        display: block;
    }
}

* {
    margin: 0;
    padding: 0;
}


@font-face {
  font-family: 'FontAwesome';
  src: url('fontawesome-webfont.eot?v=3.0.1');
  src: url('fontawesome-webfont.eot?#iefix&v=3.0.1') format('embedded-opentype'),
    url('fontawesome-webfont.woff?v=3.0.1') format('woff'),
    url('fontawesome-webfont.ttf?v=3.0.1') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
    font-family: 'Raleway';
    src: url('raleway_thin-webfont.eot');
    src: url('raleway_thin-webfont.eot?#iefix') format('embedded-opentype'),
         url('raleway_thin-webfont.woff') format('woff'),
         url('raleway_thin-webfont.ttf') format('truetype'),
         url('raleway_thin-webfont.svg#RalewayThin') format('svg');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'Junction';
    src: url('Junction-webfont.eot');
    src: url('Junction-webfont.eot?#iefix') format('embedded-opentype'),
         url('Junction-webfont.woff') format('woff'),
         url('Junction-webfont.ttf') format('truetype'),
         url('Junction-webfont.svg#junctionregularRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	display: inline-block;
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}

[class^="icon-"],
[class*=" icon-"] {
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  text-decoration: inherit;
  -webkit-font-smoothing: antialiased;

  /* sprites.less reset */
  display: inline;
  width: auto;
  height: auto;
  line-height: normal;
  vertical-align: baseline;
  background-image: none;
  background-position: 0% 0%;
  background-repeat: repeat;
  margin-top: 0;
}

.icon-envelope:before             { content: "\f003"; }
.icon-phone:before                { content: "\f095"; }




article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

body {
    background:  url(../img/wallpaper.png);
    text-shadow: 0px 1px 0px #fff;
    font-family: Arial, Helvetica, Tahoma, Verdana;
    
}

h2 { 
    font-size: 1em;
    margin-bottom: 0.5em;
}

time {
    color: #AAA;
    font-style: italic;
}

a {
    color: #87bbed;
    text-decoration: none;
    -moz-transition: color 0.3s;
    -webkit-transition: color 0.3s;
    -ms-transition: color 0.3s;
    -o-transition: color 0.3s;
    transition: color 0.3s;
}

a:hover {
    color: #437cb2;
}

p + p {
    margin-top: 1em;
}

p + address {
    margin-top: 1em;
}

p + h2 { 
    margin-top: 1.5em;
}

address + h2 {
	margin-top: 1.5em;
	border-top: 1px solid #eee;
	padding-top: 1.5em;
}

p.ageInfo {
	margin-top: -0.5em;
	color: #BBB;
	font-style: italic;
}

address {
    width: 275px;
    font-style: normal;
}

address + address {
    margin-top: 2em;
}

header {
    margin-top: 45px;
    text-align:center;
}

header h1 {
    font-family: Junction, Helvetica, Arial;
    font-size: 30px;
    font-weight: normal;
    color: #626262;
    letter-spacing: 0.025em;
    line-height: 30px;
    margin-top: 28px;
}

header h1 em {
    font-size: 17px;
    font-weight: normal;
    font-style: normal;
}

nav {
    margin: 45px auto 0;
    text-align: center;
    background: -moz-linear-gradient(left, rgba(187,187,187,0) 0%, rgba(187,187,187,1) 4%, rgba(187,187,187,1) 96%, rgba(187,187,187,0) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(187,187,187,0)), color-stop(4%,rgba(187,187,187,1)), color-stop(96%,rgba(187,187,187,1)), color-stop(100%,rgba(187,187,187,0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, rgba(187,187,187,0) 0%,rgba(187,187,187,1) 4%,rgba(187,187,187,1) 96%,rgba(187,187,187,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left, rgba(187,187,187,0) 0%,rgba(187,187,187,1) 4%,rgba(187,187,187,1) 96%,rgba(187,187,187,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left, rgba(187,187,187,0) 0%,rgba(187,187,187,1) 4%,rgba(187,187,187,1) 96%,rgba(187,187,187,0) 100%); /* IE10+ */
    background: linear-gradient(to right, rgba(187,187,187,0) 0%,rgba(187,187,187,1) 4%,rgba(187,187,187,1) 96%,rgba(187,187,187,0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00bbbbbb', endColorstr='#00bbbbbb',GradientType=1 ); /* IE6-9 */
    background-size: 100% 1px;
    background-position: left bottom ;
    background-repeat:no-repeat;
    border-bottom: 1px solid #fff;
    max-width: 715px;
}

nav ul li {
    cursor:pointer;
    color: #464646;
    font-family: Raleway, "Trebuchet MS", Arial;
    font-size: 22px;
    margin-bottom: 12px;
}

nav h1 {
    display: none
}

nav ul li a {
    color: inherit;
    text-decoration: none;
    padding: 0 15px;
    display:block;
    border: 1px solid rgba(234, 216, 64, 0);
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

nav ul li a.active {
    background: rgba(234, 216, 64, 1);
    border: 1px solid rgba(234, 216, 64, 1);
    text-shadow: none;
}


nav ul li a:hover {
    border: 1px solid rgba(234, 216, 64, 1);
    color: inherit;
}

/*div#content {
    margin: 0 auto;
    width: 635px;
    position: relative;
    height: 300px;
}*/

section {
    top: 0;
    left: 0;
    background: #fff;
    font-size: 14px;
    color: #888888;
    overflow: hidden;
    margin: 0 auto;
    max-width: 635px;
    -moz-transition: height 0.6s;
    -webkit-transition: height 0.6s;
    -ms-transition: height 0.6s;
    -o-transition: height 0.6s;
    transition: height 0.6s;
    
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -o-transform: translateZ(0);
    -ms-transform: translateZ(0);
    
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
    
    line-height: 1.4em;
}

section * {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -o-transform: translateZ(0);
    -ms-transform: translateZ(0);
    
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
}

section > div {
    padding: 25px 30px;
}

section.active {
    height: auto;
}

section h1 {
    display:none;
}

footer {
    max-width: 635px;
    margin: 30px auto 20px;
    font-family: Raleway, "Trebuchet MS", Arial;
    font-size: 42px;
    color: #888;
    text-align:center;
}

section footer {
    clear: both;
    margin: 2em 0 0;
    padding-top: 2em;
    font-size: 11px;
    width: auto;
    font-family: inherit;
    text-align: left;
    border-top: 1px solid #eee;
}




