/***** html5 support for older browsers ***/
header, nav, section, article, aside, footer, address, canvas, figure, figcaption, hgroup {
   display:block;
}

/***** reset css ****/

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, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline; }

:focus {
  outline: 0; }

body {
  line-height: 1;
 }

ol, ul {
  list-style: none; }

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

caption, th, td {
  text-align: left;
  font-weight: normal; }

blockquote:before, blockquote:after {
  content: ""; }

q:before, q:after {
  content: ""; }

blockquote, q {
  quotes: "" ""; }
  
/****** clearfix ****/
.clearfix:before,
.clearfix:after {
  content: '.';
  display: block;
  overflow: hidden;
  visibility: hidden;
  font-size: 0;
  line-height: 0;
  width: 0;
  height: 0;
}

.clearfix:after {
  clear: both;
}

.social-icons {
	float:right;
}

/******* format homepage *****/

body {
	margin:0;
	padding:0;
	height:100%; /* needed for wrapper min-height */
	background-color:#fff;
	font:13px Helvetica, Arial, sans-serif;
	color:#444
}

a:link, a:visited {
	color:#631636;
	text-decoration:none;
}

a:hover {
	color:#c12a69;
}

img {
	border:none
}

body.page-home #wrapper {
	left: 0;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1024px;
    min-height: 675px;
    min-width: 750px;
    padding: 0;
    position: relative;
    top: 20px;
    width: 90%;
    z-index: 1;
	background: white url(../images/bkgd_pattern.jpg) repeat-y;
	 -webkit-box-shadow: 0px 6px 10px 6px #c9c8c8;
	box-shadow: 0px 6px 10px 6px #c9c8c8;
}

#header {
	position:relative;
	width:90%;
	z-index:2;
	margin:0 0 0 42px;
	padding:30px 0;
}

#secondary-nav ul {
	list-style-type:none;
}
#secondary-nav li {
	padding:0 0 12px 0
}

#secondary-nav a {
	text-decoration:none;
	color:#000;
	background-image:url(../images/square.png);
	background-repeat:no-repeat;
	padding:0 0 0 30px;
	letter-spacing:1.5px;
	font-family: 'Michroma', sans-serif;
	font-size:11.5px;
	text-transform:uppercase;
}

#secondary-nav {
	margin: 20px 0 0 249px;
    position: relative;
    width: 200px;
    z-index: 5;
}

#secondary-nav li.space {
	padding:0 0 155px 0
}


#main-nav {
    margin-left: 0;
    max-width: 1024px;
    min-width: 693px;
    padding: 5px 0;
    position: absolute;
    top: 269px;
    width: 100%;
    z-index: 6;
background: -moz-linear-gradient(left,  rgba(255,255,255,0) 0%, rgba(244,244,244,0.5) 60%, rgba(244,244,244,1) 99%, rgba(244,244,244,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(60%,rgba(244,244,244,0.5)), color-stop(99%,rgba(244,244,244,1)), color-stop(100%,rgba(244,244,244,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left,  rgba(255,255,255,0) 0%,rgba(244,244,244,0.5) 60%,rgba(244,244,244,1) 99%,rgba(244,244,244,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left,  rgba(255,255,255,0) 0%,rgba(244,244,244,0.5) 60%,rgba(244,244,244,1) 99%,rgba(244,244,244,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left,  rgba(255,255,255,0) 0%,rgba(244,244,244,0.5) 60%,rgba(244,244,244,1) 99%,rgba(244,244,244,1) 100%); /* IE10+ */
background: linear-gradient(to right,  rgba(255,255,255,0) 0%,rgba(244,244,244,0.5) 60%,rgba(244,244,244,1) 99%,rgba(244,244,244,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#f4f4f4',GradientType=1 ); /* IE6-9 */

}

#main-nav ul {
	list-style-type:none;
	padding:0;
	margin:0;
}

#main-nav li {
   	display: block;
    float: left;
   	width:20%;
}

#main-nav a {
	display:inline-block;
	text-decoration:none;
}

#main-nav h1, #secondary-nav h1 {
	display:none;
}

#main-nav span.menu-info {
   position: absolute !important;
   top: -9999px !important;
   left: -9999px !important;
}

#main-nav img {
	width:100%;
	max-width:188px;
}

#selector {
  top: 0;
	background-image : url(../images/selector.png);
	background-repeat: no-repeat;
	position: absolute;
	top:140px;
	left:40px;
	z-index: 4;
}

/*format content box*/

#logo {
	background: transparent url(../images/logo.png) no-repeat scroll 0% 0%;
    width: 188px;
    height: 80px;
    text-indent: -3333px;
    border: 0;
    margin: 0;
    float:left;
}
#logo a {
   position:relative;
   display:block;
   width:188px;
   height:80px; 
}

#footer {
	font-size:1em;
    position: absolute;
    bottom: 0;
    width: 98%;
    padding:20px 0;
    vertical-align:bottom right;
}

#footer ul {
	list-style-type:none;
}

#footer li {
	float:right;
	padding-left:5px;
}

#footer a {
	color:#631636;
}

#footer a:hover {
	color:#535252;
}


