/*global*/

body {
	font-family: 'Droid Serif', sans-serif;
	font-weight: 100;
	font-size: 1.125em;
	color: #424242;
	background: #FAFAFA url('img/ticks.png') repeat;
	line-height: 130%;
}

a {
	color: #B40404;
	text-decoration: none;
}

a:hover  {
	color: #FF0000;
}

img, object {
	max-width: 100%;
}

/*typography*/

h1 {
	font-size: 1.750em;
	font-weight: 100;
	letter-spacing: -1.5px;
	line-height: 120%;
	color: #084B8A;
}

h2 {
	font-weight: 100;
	font-size: 1.500em;
	color: #084B8A;
}

h3 {
	font-weight: 100;
	font-size: 1.125em;
	color: #084B8A;
}

dt {
	font-weight: 120;
	font-size: 1.125em;
	color: #084B8A;
	line-height: 120%;
	letter-spacing: -1.5px;
}

dd {
	line-height: 120%;
	margin: 0 0px 15px 0px;
}

.mtn {
	margin-top: 0;
}

.mbn {
	margin-bottom: 0;
}

.mvn {
	margin-top: 0;
	margin-bottom: 0;
}

.text-underline {
	text-decoration: underline;
}

.cleaner-list {
	padding-left: 20px;
}

/*buttons*/
.btn {
	padding: 15px 30px;
	color: white;
	background-color: #0B4C5F;
	/*background: #4fb69f url('img/texture.png') no-repeat right top;*/
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	text-transform: uppercase;
}

.btn:hover {
	background-color: #0489B1;
	color: white;
}

.btn-small {
	padding: 10px 35px;
	font-size: .9em;
	background-color: #045FB4;
	/*background: #b22316 url('texture.png') no-repeat right bottom;*/
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	text-transform: uppercase;
	color: white;
}

.btn-small:hover {
	background-color: #0040FF;
	color: white;
}

/*Top header & contactinfo*/
.top-header {
	text-align: center;
	background: #0B3861	url('img/mooning4.jpg') repeat;
	border-bottom: 1px solid rgb(146, 146, 146);
	padding: 1% 0;
	margin: 0% 0;
	color: #BDBDBD;
}

.top-header a {
	color: white;
}

.top-header a:hover {
	text-decoration: underline;
}

.addressinfo {
	text-align: left;
	font-weight: 85;
	font-size: 0.7em;
	line-height: 80%;
	padding-left: 5%;
}

.contactinfo {
	text-align: right;
	font-weight: 85;
	font-size: 0.7em;
	line-height: 80%;

}

/*navigation*/
#navbar {
	background: #0B3861	url('img/mooning4.jpg') repeat;
	margin-bottom: 0px;
}

#navigation {
	margin-left: 5%;
	margin-bottom: 0px;
}

#navigation ul {
	padding-left: 0px;
	margin-left: 0px;
}

#nav{
    list-style:none;
    font-weight: ;
    margin:0% 0% 0 0%;
    /* Clear floats */
    float:;
    width:100%;
    position:relative;
    z-index:11;
    text-transform: uppercase;
    margin-bottom: 0px;
}
#nav li{
    float:left;
    margin-right:10px;
    position:relative;
    margin-bottom: 0px;
}

#nav a{
    display:block;
    padding: 10px;
    color: white;
    text-decoration:none;
    margin-bottom: 0px;
}

#nav a.active-link {
	background: gray;
}

.mobile-only {
	display: none;
}

/*--- DROPDOWN ---*/
#nav ul{
    background:#FAFAFA; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
    background:rgba(255,255,255,0); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
    list-style:none;
    position:absolute;
    left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none; left:-9999px) */
    padding-top: 0px;
    margin-top: 0px;
   
}

#nav ul li{
    padding-top:0px; 
    margin-top: 0px;
    margin-bottom: 0px;
    float:none;
    
}

#nav ul a{
    white-space:nowrap;
    color: white;
    background: #FAFAFA;
}

#nav li:hover ul{ 
    left:0px; 
    margin-left: 0px;
    padding-left: 0px;
}

#nav li:hover a{ 
    background:rgba(128, 128, 128, 0.85);
    text-decoration:none;
    text-shadow: 1px 1px 0px black;
}

#nav li:hover ul a{
    text-decoration:none;
}
/*width of dropdown menu*/
#nav li:hover ul li {
	width: 400px;
}

#nav li:hover ul li a:hover{    
	background:#AFAFAF;
	text-shadow: 1px 1px 1px black;
}

/*header*/
#header {
	width: 100%;
	height: 500px;
	position: relative;
	overflow: hidden;
	color: white;
	text-align: center;
}

#intro-img {
	width: 100%;
    height: 100;
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
	background-color: #FAFAFA;
	padding: 0px;
	margin: 0% 0 5% 0;
	-webkit-box-shadow: 0 0px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0 0px 0px rgba(0,0,0,0.75);
	box-shadow: 0 0px 0px rgba(0,0,0,0.75);
}

#intro {
	width: 97%;
    height: 100%;
    position: absolute;
    top: 40%;
    left: 0;
	text-align: center;    
	padding-top: 0px;
	z-index: 10;
	margin: 0 0 0% 0;
	
}

#header2 {
	width: 100%;
	height: 10px;
	position: relative;
	overflow: hidden;
	color: #CC6600;
}
	
#icon-img {
	width: 100%;
    height: 100;
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
	background-color: #0B4C5F;
	padding: 0px;
	margin: 0 0 5% 0;
	-webkit-box-shadow: 0 0px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0 0px 0px rgba(0,0,0,0.75);
	box-shadow: 0 0px 0px rgba(0,0,0,0.75);

}

.tagline1 {
	font-family: 'Trocchi', serif;
	font-size: 2.5em;
	color: white;
	line-height: %;
	text-shadow: black 0.1em 0.1em 0.2em;
}

.tagline2 {
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: 100;
	font-size: 1.5em;
	color: white;
	line-height: 10%;
	text-shadow: black 0.2em 0.2em 0.3em;
}

/*footer*/
#footer {
	text-align: center;
	background: #0B3861	url('img/mooning4.jpg') repeat;
	border-top: 1px solid #2a0400;
	padding: 2% 0;
	margin: 0% 0;
	color: #BDBDBD;
}

#footer a {
	color: white;
}

#footer a:hover {
	text-decoration: underline;
}

#footer h3 {
	color: #BDBDBD;
}

.footerinfo {
	text-align: left;
	font-weight: 85;
	font-size: 0.7em;
	line-height: 1.2;
	padding-left: 5%;
}

.social-links {
	padding-left: 0px;
	font-size: 1.2em;
}

.social-links li {
	list-style: none;
	display: inline-block;
	margin-right: 10px;
}

#copyright {
	text-align: right;
}

/*content*/
#overview {
	margin-top: 3%;
}

#overview img {
	background-color: white;
	padding: 0px;
	margin: 0 0 0% 0;
	vertical-align: top;
}

#featured-home img {
	box-sizing: border-box;
	background-color: #0B4C5F;
	padding: 0px;
	margin: 0 0 5% 0;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.75);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.75);
	box-shadow: 0 1px 2px rgba(0,0,0,0.75);
}

#contact {
	margin-left: 0%;
	padding: 5%;
}

#copyright {
	font-weight: 85;
	font-size: 0.7em;
	line-height: 1.6;

}

/*#wufoo-zomupp20ix1sie {
	padding: 10px;
}

#wufoo-m1jgdaqu0o96d2l {
}
*/

.wufoo-form {
	padding: 10px;
}

.wufoo-contactpage {
	padding: 10px 0px;
	margin-left: -5px;
}

#contactbox {
	margin-top: 3%;
	margin-bottom: 4%;
	padding-top:0px;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.75);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.75);
	box-shadow: 0 1px 2px rgba(0,0,0,0.75);
}

#contact li {
	text-transform: uppercase;
	margin-left: 5%;
	list-style: none;
	font-size: 1.2em;
	line-height: 140%;
}

#office {
	font-size: 1.2em;
	line-height: 140%;
}

.google-map {
	border: 1px solid white;
}

/*media queries*/

/* Larger ----------- */
@media screen and (max-width: 1024px) {

	#header {
		height: 400px;
	}

	#intro {
		width: 97%; 
	    top: 10%;
	}

	#intro-img {
		/*add this later "display: none;" if needed */
	}

	#intro h1 {
		margin:  0 0 5% 0;
	}

	#nav {
		width: 100%;
	}

	#nav ul {
		margin: 0;
		padding-left: 0px;
	}


	#nav ul li {
		float: left;
		margin: 5% 0 0 0;
		padding-top:0px; 
	    margin-top: 0px;
	    margin-bottom: 0px;
	}
		
	#nav ul li.link {
			width: 20%;
	}

	.footerinfo {
		padding: 0 2%;

	}

}

/* Largerless ----------- */
@media screen and (max-width: 1024px) {
	#intro p {
		display: ;
	}

	.tagline1 {
		font-family: 'Trocchi', serif;
		font-size: 2em;
		color: white;
		line-height: %;
		text-shadow: black 0.1em 0.1em 0.2em;
	}

	.tagline2 {
		font-family: 'Source Sans Pro', sans-serif;
		font-weight: 100;
		font-size: 1em;
		color: white;
		line-height: 10%;
		text-shadow: black 0.2em 0.2em 0.3em;
	}

	#navigation {
		margin-left: 1%;
	}

	#nav {
		width: 100%;
	}

	#nav ul {
		margin: 0;
		padding-left: 0px;
		z-index: 1;
	}

	#nav ul li {
		float: left;
		margin: 5% 0 0 0;
		padding-top:0px; 
	  margin-top: 0px;
	  margin-bottom: 0px;
	}

	#nav li{
	    float:left;
	    margin-right:1px;
	}

	#nav ul li.link {
			width: 20%;
	}

}

@media screen and (max-width : 820px) {
	#navigation {
		margin: 0px 6%;
	}

	#nav li.link {
			width: 200px;
			text-align: center;
			font-size: 1em;
			margin-left: 0px;
	}
}

/* Smaller ----------- */
@media screen and (max-width : 670px) {

	.grid_1,
	.grid_2,
	.grid_3,
	.grid_4,
	.grid_5,
	.grid_6,
	.grid_7,
	.grid_8,
	.grid_9,
	.grid_10,
	.grid_11,
	.grid_12 {
		width:100%;
	}

	p {
		text-align: left;
	}

	#header {
		height: 200px;
	}

	.addressinfo {
		padding-left: 0px;
	}

	.addressinfo h3 {
		text-align: center;
	}

	.addressinfo p {
		text-align: center;
	}


	.contactinfo p {
		text-align: center;
	}

	.google-map {
		width: 250px;
	}

	#logo {
		width: 100%;
		text-align: center;
	}

	#logo object {
		max-width: 90%;
	}

	#navigation {
		margin-left: 0px;
		padding-left: 0px;
	}

	#nav a{
	    background:none;
	}

	#nav ul {
		margin: 0;
		padding-left: 0px;
	}

	#nav ul li {
		padding-top:0px; 
	  margin-top: 0px;
	  margin-bottom: 0px;
	}

	#nav ul li:active {
		position:relative;
	}

	#nav li.link {
			width: 100%;
			text-align: center;
			font-size: 1em;
			margin-left: 0px;
	}

	#nav li:hover ul li {
		/*word-wrap: break-word;*/
		text-align: left;
		border-bottom: 1px solid white;
		background-color: gray;
		width: 100%;
	}

	.mobile-only {
	display: block;
	}
		
	#intro, #featured-home {
		display: ;
	}

	#intro p {
		display: ;
		text-align: center;
		margin-top: 5px;
	}

	#intro-img object {
		height: 300px;
	}

	.tagline1 {
		font-family: 'Trocchi', serif;
		font-size: 1.5em;
		color: white;
		line-height: 105%;
		text-shadow: black 0.1em 0.1em 0.2em;
	}

	.tagline2 {
		font-family: 'Source Sans Pro', sans-serif;
		font-weight: 100;
		font-size: .7em;
		color: white;
		line-height: 10%;
		text-shadow: black 0.2em 0.2em 0.3em;
	}

	#overview img {
		display: none;
	}

	#contact li {
		margin-left: 20%;
	}

	#profiles_intro {
		margin-left: 5%;
	}

	#footer {
		padding: 0 3%;
	}

	.footerinfo {
		padding-left: 0px;
	}

	.social-links {
		text-align: center;
	}

}