/**********************
Stylesheet for Law Website

Site created by: Bryan Hufford
Connect with me @ www.bryanhufford.com

This template can be edited and used freely for both commercial and
non-commercial purposes; however, you MUST attribute credit to me by
keeping my info above intact in the CSS file AND by placing a link to
my site in the footer of each page you publish.
**********************/

/**********************
General Styles
**********************/

body {
	font-family: 'Roboto Condensed', sans-serif, Helvetica;
	background: #999;
}

p {
	font-size: 1.1em;
	line-height: 1.5;
}

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

h1 {
	text-align: center;
	color: #000;
	font-size: 2em;
}

h2 {
	text-align: center;
	color: #000044;
	font-size: 1.5em;
}

h3 {
	color: #000;
	font-size: 1.2em;
}

img {
	max-width: 100%;
}

#container {
	max-width: 880px;
	margin: 0 auto;
	padding: 5px;
	background-color: #F0F0F0;
}

/**********************
Header/Logo Styles
**********************/

#header {
	padding-bottom: 5px;
	background-color: #000044;
	color: #fff;
}

#logo {
	text-align: center;
	padding-top: 10px;
	font-family: 'PT Serif', serif, Helvetica;
	font-size: 3em;
}

#logo h1 {
	color: #fff;
}

/**********************
Nav Styles
**********************/

#nav {
	margin-top: 20px;
	color: #fff;
	padding-bottom: 5px;
}

#nav ul {
	margin: 0;
	padding: 0;
	text-align: center;
}

#nav ul li {
	list-style-type: none;
	display: inline-block;
	font-size: 1.3em;
	margin: 0px 15px;
}

#nav ul li a {
	text-decoration: none;
	color: #fff;
}

#nav ul li:hover {
	border-bottom: 3px solid #CC6600;
}

.current-link {
	border-bottom: 3px solid #CC6600;
}

.nav-a {
	color: #fff;
	text-decoration: none;
}

/**********************
Main Styles
**********************/

#main {
	max-width: 780px;
	margin: 0 auto;
	padding: 5px;
}

#gmap_canvas {
	width: 250px;
	height: 250px;
	display: block;
	margin: 20px auto;
}

.photo img {
	display: block;
	margin: 0 auto;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

.attorney-pic {
	display: block;
	margin: 0 auto;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

.main-btn {
	text-align: center;
	margin: 20px 0px;
}

.main-btn button {
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	background-color: #000044;
	padding: 5px;
}

.main-btn h3 {
	color: #fff;
	text-decoration: none;
}

.main-btn a {
	color: #fff;
}

.text-wrap {
	float: left;
	margin: 10px 10px 10px 0px;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

/**********************
Contact Form
**********************/

form {
	max-width: 500px;
	margin: 10px auto;
	padding: 20px;
	border: 2px solid #444;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

label {
	display: block;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
	height: auto;
	margin: 0;
	width: 100%;
	margin-bottom: 10px;
}

.form-button {
	background-color: #000044;
	color: #fff;
	font-size: 1.2em;
	font-family: 'Roboto', sans-serif;
	width: 100%;
	height: 50px;
}

/**********************
Footer Styles
**********************/

#footer {
	text-align: center;
	padding: 10px;
	background-color: #444;
	color: #fff;
	font-size: 0.8em;
}

#footer ul {
	margin: 0;
	padding: 0;
}

#footer ul li {
	list-style-type: none;
	display: inline-block;
	margin: 0px 10px;
	font-size: 1.5em;
}

#footer a {
	text-decoration: none;
	color: #CC6600;
}

#footer h2, h3 {
	color: #fff;
	text-decoration: underline;
}

/**********************
Media Queries
**********************/

@media only screen and (max-width: 480px) {
	p {
		font-size: 1em;
	}
	
	#nav ul li {
		display: block;
		margin-top: 8px;
		font-size: 1.1em;
		border: 1px solid #fff;
		padding: 5px;
	}
	
	#nav ul li:hover {
		border-bottom: 1px solid #fff;
	}
	
	#logo {
		font-size: 1.8em;
	}
	
	#footer ul li {
		list-style-type: none;
		display: block;
		font-size: 1.2em;
		margin: 5px 0px;
	}
	
	#copyright {
		border-top: 1px solid #fff;
		margin-top: 10px;
	}
	
	#main h1 {
		font-size: 1.8em;
	}
	
	.main-btn {
		display: block;
	}
	
	.main-btn h3 {
		color: #fff;
		text-decoration: none;
		font-size: 1em;
	}
	
	.text-wrap {
		float: left;
		margin: 5px;
		border-radius: 10px;
		-moz-border-radius: 10px;
		-webkit-border-radius: 10px;
	}
	
	.current-link {
		background-color: #CC6600;
	}
}

@media only screen and (min-width: 481px) and (max-width: 768px) {
	#nav ul li {
		display: block;
		margin-top: 8px;
		font-size: 1.2em;
		border: 1px solid #fff;
		padding: 5px;
	}
	
	#nav ul li:hover {
		border-bottom: 1px solid #fff;
	}
	
	#logo {
		font-size: 2.5em;
	}
	
	#footer ul li {
		list-style-type: none;
		display: block;
		font-size: 1.2em;
		margin: 5px 0px;
	}
	
	#copyright {
		border-top: 1px solid #fff;
		margin-top: 10px;
	}
	
	.main-btn {
		display: block;
	}
	
	.current-link {
		background-color: #CC6600;
	}
}