@charset "UTF-8";

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
	text-decoration:none;
}

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

body {
	line-height: 1;
	font-family: 'Quicksand', sans-serif;
	background-color:rgb(238,238,238);
	-webkit-text-size-adjust: 100%;
}

ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

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

/*end of meyer reset*/





#pagewrapper {
	font-family:"Quicksand";
	width:960px;
	margin:0 auto;
}

.mainheader {
	background-color: rgb(255,255,254);
	margin-top:20px;
	overflow:hidden;
	padding:10px;
	text-align:center;
	height:auto;
	background-image:none;
	height:100%;
}


.nav a {
		color: rgb(108,108,108);
		font-size:20px;
}


.nav a:hover {
	color: rgb(213,17,22);
}




.nav ul {
	height:30px;	
}

.nav ul li {
	float:left;
	background:#FFF;
	width:152px;
	list-style:none;
	padding:20px;
	text-align:center;
	margin-top:20px;
}



.nav ul li:hover {
	background: rgb(249,249,249);
	color: rgb(213,17,22);
}



.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
}

.rslides li {
  -webkit-backface-visibility: hidden;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  margin-top:20px;
}

.rslides li:first-child {
  display: block;
  float: left;
}

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
  }

.content {
	margin-top:20px;
	padding:60px 140px 0 40px;
	text-align:left;
	color: rgb(108,108,108);
	background-color:rgb(255,255,254);
	font-size:18px;
	line-height:31px;

}

small{
	display:none;
	
	}

h2 {
	font-size:30px;	
	color:rgb(213,17,22);
}

.mainfooter {
	height:150px;
	background-color:rgb(213,17,22);
	margin-top:20px;
	margin-bottom:20px;	
	text-align:left;
	padding:40px;
	line-height: 2;
	color: rgb(255,172,163);
}

mainfooter a {
	color:rgb(255,172,163);
}

.mainfooter h3 {
	font-size:25px;
	
}

.mainfooter a:hover {
	color:#fff;
}
	

.footerleft {	
	height:150px;
	width:270px;
	float:left;
	border-right:1px solid;
	border-color:rgb(255,172,163);

}

.footerleft a {
	list-style:none;
	color:rgb(255,172,163);
}


.footermiddle {	
	height:150px;
	float:left;
	padding-left:30px;
	width:270px;
	border-right:1px solid;
	border-color:rgb(255,172,163);	
	color:rgb(255,172,163);
}


.footermiddle a {
	list-style:none;
	color: rgb(255,172,163);
}




.footerright {
	padding-left:30px;
	height:150px;
	float:left;
	width:270px;
}

.footerright p {
	line-height:2;	
}

.clear {
	clear:both;
	}


@media only screen and (max-width:760px) 
{

#pagewrapper {
	width:600px;	
}


.mainheader {
	background-color: rgb(255,255,254);
	overflow:hidden;
	height:80%;
}

.nav a {
	font-size:15px;
}

.nav ul li {
	width:100px;
	padding:10px;
	
}

.content {
	margin-top:20px;
	padding-top: 30px;
	padding-right:70px;
	text-align:left;
	line-height:1.8;
	color: rgb(108,108,108);
	background-color:rgb(255,255,254);
	font-size:16px;
}

.fotojust {
	width:60%;
	}
	
h2 {
	font-size:28px;	
	color:rgb(213,17,22);
}

.mainfooter {
	height:100px;
	padding:20px;
	font-size:12px;
	line-height: 1.8;
}

.mainfooter h3 {
	font-size:15px;
}

.footerleft {
	width:160px;	
	height:100px;
}


.footermiddle {
	padding-left:20px;
	height:100px;
	width:160px;	
}

.footerright {
	padding-left:20px;
	height:100px;
	float:left;
	width:190px;
}

.footerright p {
	line-height:1;
	float:left;
}

.shadow {
	width:100%;
	}

	
}

@media only screen and (max-width:479px) {
	
#pagewrapper {
	width:300px;	
}

.mainheader {
	margin-top:10px;
	overflow:hidden;
	height:80px;
	background-image:url(../img/bg-image.png);
	
}

.mainheader img {
	display:none;
}

.nav {
	padding-top:10px;
	height:170px;
	text-align:center;
}

.nav a {
	font-size:14px;
	
}


.nav ul li {
	float:none;
	background:#FFF;
	padding:10px 0 10px 0;
	margin-top:0;
	width:100%;
}

.content {
	margin-top:25px;
	padding-top: 30px;
	padding-right:40px;
	padding-left:30px;
	font-size:13px;
}

.fotojust {
	width:70%;
	}

h2 {
	font-size:16px;	
	color:rgb(213,17,22);
}

.mainfooter {
	height:260px;
	padding:20px 20px 20px 30px;
	font-size:12px;
}

.mainfooter h3 {
	font-size:15px;
}

.footerleft {
	width:auto;
	float:none;
	border-right:none;
	border-bottom:1px solid;
	height:auto;
	padding-bottom:5px;
}

.footermiddle {
	padding-left:0;
	padding-top:4px;
	height:auto;
	width:auto;	
	border-right:none;
	padding-bottom:5px;
}

.footerright {
	padding-left:0;
	height:auto;
	float:left;
	width:240px;
	border-top:1px solid;
}

.footerright p {
	line-height:1.2;
	float:left;
}

.footerright img {
	float:left;
	padding-right:3px;
	padding-top:20px;
}

.rslides {
	display:none;
}

	
	
}