/* CSS Stylesheet for Faith Preparatory School */
article, aside, figure, footer, header, nav, section {
    display: block;
}
html {
	background: url("../images/ricepaper.png") repeat;
	}
body {
	width: 100%;
	margin: 0 auto;
	color: #717374;
	font-family: "Century Gothic", sans-serif;
	}
	h1,h2,h3,h4 {
	font-family: 'Delius';
	}
p {
	font-size: 1em;
	}
a {
	text-decoration: none;
	color: #5087c0;
	}
header {
	width: 100%;
	text-align: center;
	}
#logowrapper {
	height: 220px;
	width: 100%;
	padding-bottom: 20px;
	margin: 0 auto;
	}
#logowrapper img {
	max-width: 100%;
	}
	
/* Set the width of the grid */
.frame {
	width: 98%;
  margin: 0 auto;
}

/* Clearfix */
.frame:after {
  content: "";
  display: table;
  clear: both;
}

/* Attribute selector */
[class*='bit-'] {
  float: left;
}

/* Floats last ".bit-" to the right */
[class*='bit-']:last-of-type {
  float: right;
}

/* Main Widths */
.bit-1  { width: 100%; }
.bit-2  { width: 50%; }
.bit-3  { width: 33.33%; }
.bit-4  { width: 20%; }
.bit-75 { width: 75%; }

#topbar {
	width: 82%;
	}
#payments {
	margin-top: 10px;
	padding: .4em;
	width:180px;
  color: #f6f2f0;
	background-color:  #70c170;
  border-bottom: 3px solid #145f3a;
  box-shadow: 0 250px 150px rgba(0,0,0,.2);
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(112,193,112)), to(rgb(32,122,22)));
  background-image: -webkit-linear-gradient(top, rgb(112,193,112), rgb(32,122,22));
  background-image: -moz-linear-gradient(top, rgb(112,193,112), rgb(32,122,22));
  background-image: -o-linear-gradient(top, rgb(112,193,112), rgb(32,122,22));
  background-image: -ms-linear-gradient(top, rgb(112,193,112), rgb(32,122,22));
  background-image: linear-gradient(top, rgb(112,193,112), rgb(32,122,22));
  filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#70c170', EndColorStr='#207a16');
  border-radius: 3px;
	-webkit-box-shadow: inset 0px 18px 12px -13px rgba(255,255,255,.5);
	-moz-box-shadow: inset 0px 18px 12px -13px rgba(255,255,255,.5);
	box-shadow: inset 0px 18px 12px -13px rgba(255,255,255,.5);
	float: left;
	}
#payments a {
	  color: #f6f2f0;
	  font-size: 1em;
	 font-family: 'Delius';
	}
#payments:hover {
	background: url("../images/bluebtn.jpg") no-repeat;
	background-size: cover;
	}
#license {
float: right;
text-align: right;
color: #5087c0;
font-family: 'Delius';
}
/* navigation menu
-------------------------------------------------------------- */
nav#nav-main ul {
	background-color: #70c170;
	width: 80%;
	font-family: 'Delius';
	margin: 0 auto;
  list-style: none;
  position: relative;
  z-index: 10;
  border-bottom: 3px solid #145f3a;
  box-shadow: 0 250px 150px rgba(0,0,0,.2);
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(112,193,112)), to(rgb(32,122,22)));
  background-image: -webkit-linear-gradient(top, rgb(112,193,112), rgb(32,122,22));
  background-image: -moz-linear-gradient(top, rgb(112,193,112), rgb(32,122,22));
  background-image: -o-linear-gradient(top, rgb(112,193,112), rgb(32,122,22));
  background-image: -ms-linear-gradient(top, rgb(112,193,112), rgb(32,122,22));
  background-image: linear-gradient(top, rgb(112,193,112), rgb(32,122,22));
  filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#70c170', EndColorStr='#207a16');
  border-radius: 3px;
	-webkit-box-shadow: inset 0px 18px 12px -13px rgba(255,255,255,.5);
	-moz-box-shadow: inset 0px 18px 12px -13px rgba(255,255,255,.5);
	box-shadow: inset 0px 18px 12px -13px rgba(255,255,255,.5);
  }
nav#nav-main li {
	margin: 0;
	padding-top: .8em;
	padding-bottom: .8em;
	font-size: 1.2em;
	text-align: center; 
	border-right: 1px solid #145f3a;
	display: inline-block;
  text-decoration: none; 
  }
nav#nav-main li:last-child {  
  border-right: 0;  
	}
nav#nav-main a {
	padding: 1.6em;
  color: #f6f2f0;
	font-weight: 400;
  text-decoration: none;
  }
nav#nav-main a:hover {

  }
#home:hover {
	background: url("../images/bluebtn.jpg") no-repeat;
	background-size: cover;
  }
#about:hover {
	background: url("../images/yellowbtn.jpg") no-repeat;
	background-size: cover;
	}
#svc:hover {
	background: url("../images/greenbtn.jpg") no-repeat;
	background-size: cover;
	}
#wp:hover {
	background: url("../images/purplebtn.jpg") no-repeat;
	background-size: cover;
	}
#news:hover {
	background: url("../images/redbtn.jpg") no-repeat;
	background-size: cover;
	}
#faq:hover {
	background: url("../images/bluebtn.jpg") no-repeat;
	background-size: cover;
	}
#contact:hover {
	background: url("../images/ltgreenbtn.jpg") no-repeat;
	background-size: cover;
	}
/*------hides the mobile nav menu----------*/
 #nav-trigger {
  display: none;
  text-align: center; 
  }
nav#nav-mobile {
  position: relative;
  display: none; 
  }
nav#nav-mobile:hover {
	display: block;
	}
#banner {
	position: absolute;
	top: 315px;
	overflow: hidden;
	text-align: center;
	z-index: -10;
	float: left;
	width: 100%;
	margin: 0 auto;
	}
#banner img {
	width: 2000px;
	height: 620px;
	}
#mainwrapper.home {
	top: 380px;
	}
#mainwrapper {
	position: relative;
	top: 20px;
	margin: 0 auto;
	width: 82%;
	}
main {
	margin: 0 auto;
	width: 100%;
	}
.outer {
	-webkit-border-top-right-radius: 2px;
	-moz-border-radius-topright: 2px;
	border-top-right-radius: 2px;
  -webkit-border-top-left-radius: 2px;
  -moz-border-radius-topleft: 2px;
  border-top-left-radius: 2px;
  -webkit-box-shadow: 0px 0px 2px 3px rgba(0,0,0,0.7);
	-moz-box-shadow: 0px 0px 2px 3px rgba(0,0,0,0.7);
	box-shadow: 0px 0px 2px 3px rgba(0,0,0,0.7);
  background-color: white;
  }
.inner {
  background-color: rgba(255, 255, 255, 0);
  background-image: -webkit-gradient(linear,0 0,0 100%,from(rgba(248,245,242, 0)),color-stop(50%,rgba(248,245,242, 0.8)),to rgb(248,245,242));
  background-image: -webkit-linear-gradient(rgba(248,245,242, 0),rgba(248,245,242, 0.8) 50%,rgb(248,245,242));
  background-image: -moz-linear-gradient(top,rgba(248,245,242, 0),rgba(248,245,242, 0.8) 50%,rgb(248,245,242));
  background-image: -o-linear-gradient(rgba(248,245,242, 0),rgba(248,245,242, 0.8) 50%,rgb(248,245,242));
  background-image: linear-gradient(rgba(248,245,242, 0),rgba(248,245,242, 0.8) 50%,rgb(248,245,242));
  background-repeat: no-repeat;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#00ffffff', GradientType=0);
  position: relative;
  right: -6px;
  bottom: -10px;
  margin-left:-12px;
  padding-left:12px;
  padding-right: 12px;
	}
.tabs {
		border-right: dotted 1px #717374;
		}
.tabs li {
	list-style: none;
	display: block;
	text-align: right;
	padding-right: 4em;
	}
.tabs a {
	display: inline-block;
	text-decoration: none;
	}
.mainimg {
	float: right;
	max-width: 100%;
	margin: 2em;
	-ms-transform: rotate(3deg); /* IE 9 */
    -webkit-transform: rotate(3deg); /* Chrome, Safari, Opera */
    transform: rotate(3deg);
    -webkit-box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.75);
box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.75);
	}
.mainimg2 {
	float: left;
	max-width: 100%;
	margin: 2em;
	-ms-transform: rotate(-3deg); /* IE 9 */
    -webkit-transform: rotate(-3deg); /* Chrome, Safari, Opera */
    transform: rotate(-3deg);
    -webkit-box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.75);
box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.75);
	}
.centered {
	margin: 2em;
	max-width: 100%;
  -webkit-box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.75);
	box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.75);
	}
#maracas {
	float: right;
	max-width: 100%;
	margin-right: 4em;
	-ms-transform: rotate(-20deg); /* IE 9 */
    -webkit-transform: rotate(-20deg); /* Chrome, Safari, Opera */
    transform: rotate(-20deg);
    }
.previewbox{
	height: 100px;
	padding: .8em;
	color: #f6f2f0;
	background-color: #70c170;
  border-bottom: 3px solid #145f3a;
  box-shadow: 0 250px 150px rgba(0,0,0,.2);
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(112,193,112)), to(rgb(32,122,22)));
  background-image: -webkit-linear-gradient(top, rgb(112,193,112), rgb(32,122,22));
  background-image: -moz-linear-gradient(top, rgb(112,193,112), rgb(32,122,22));
  background-image: -o-linear-gradient(top, rgb(112,193,112), rgb(32,122,22));
  background-image: -ms-linear-gradient(top, rgb(112,193,112), rgb(32,122,22));
  background-image: linear-gradient(top, rgb(112,193,112), rgb(32,122,22));
  filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#70c170', EndColorStr='#207a16');
  border-radius: 5px;
	-webkit-box-shadow: inset 0px 18px 12px -13px rgba(255,255,255,.5);
	-moz-box-shadow: inset 0px 18px 12px -13px rgba(255,255,255,.5);
	box-shadow: inset 0px 18px 12px -13px rgba(255,255,255,.5);
  }
.previewbox a {
	color: #f6f2f0;
	}
#box3, #box2 {
	margin-left: 1.5em;
	}
	/* contact form
-------------------------------------------*/
form {
  margin: 0;
  margin-bottom: 40px;
  width: 300px;
	}
label {
  display:block;
  margin-top: 1.2em;
  margin-bottom: .2em;
	}
input {
	width:400px;
	height:25px;
	background:#ffffff;
	border:1px solid rgb(204,204,204);
	padding:.25em;
	}
textarea {
  width:400px;
  height:55px;
  background:#ffffff;
  border:1px solid rgb(204,204,204);
  padding:.25em;
	}
input:focus, textarea:focus {
  border:1px solid #97d6eb;
	}
#submit {
  width:120px;
  height:30px;
  color: #f6f2f0;
	background-color:  #70c170;
  border-bottom: 3px solid #145f3a;
  box-shadow: 0 250px 150px rgba(0,0,0,.2);
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(112,193,112)), to(rgb(32,122,22)));
  background-image: -webkit-linear-gradient(top, rgb(112,193,112), rgb(32,122,22));
  background-image: -moz-linear-gradient(top, rgb(112,193,112), rgb(32,122,22));
  background-image: -o-linear-gradient(top, rgb(112,193,112), rgb(32,122,22));
  background-image: -ms-linear-gradient(top, rgb(112,193,112), rgb(32,122,22));
  background-image: linear-gradient(top, rgb(112,193,112), rgb(32,122,22));
  filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#70c170', EndColorStr='#207a16');
  border-radius: 3px;
	-webkit-box-shadow: inset 0px 18px 12px -13px rgba(255,255,255,.5);
	-moz-box-shadow: inset 0px 18px 12px -13px rgba(255,255,255,.5);
	box-shadow: inset 0px 18px 12px -13px rgba(255,255,255,.5);
  margin-top:1.5em;
  cursor:pointer;
  -webkit-appearance: none;
	}
#submit:hover {
	box-shadow: none;
	}
	/* footer
-------------------------------------------*/
footer.home {
	top: 420px;
	}
footer {
top: 20px;
	position: relative;
	clear: both;
	width: 100%;
	min-height: 420px;
	text-align: center;
	background: url("../images/faithprepfooter.png") no-repeat;
	background-size: 100%;
	background-position: center bottom;
	}
footer p {
	padding-top: 305px;
	font-size: .8em;
	}

