/*
Theme Name: Smith Ip Services,P.C.
Theme URI: http://smithipservices.com
Description: A custom HTML5 wordpress theme for Smith Ip Services, P.C.
Version: 1.0
Author: Brandon Wright
Author URI: http://bnwcreative.com/
Tags: clean, firm, corporate, html5
*/

/* Browser Reset */
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;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, 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;
}

/* IE CSS HTML 5 Fix */
header, footer, section, article, aside, nav {
	display: block;
}



/* ***************************************************
 * 						LAYOUT
 * ***************************************************/

/* General */
html{

}

body {
	margin: 0 auto;
	font: 12px/18px "helvetica";
	background: url(images/tile.png) repeat-x center 165px;
	color:#333;
}

/* Header */
body>header {
	background: #fff;
	padding: 0px;
	color: #333;
	border-top: 1px solid #e1e1e1;
	margin-top:5px;
}

body>header>section{
	width: 960px;
	margin: 0 auto;
}

body>header .wrapper >aside{
	margin-top: -120px;
	width: 370px;
	overflow: visible;
}

/* Search */
#search{
	float: right;
	clear: both;
}

header input[type="submit"]{
	width: 20px;
	height: 20px;
	background: url(images/search.png) no-repeat;
	border: none;
	text-indent: -999px;
	cursor: pointer;
	position: relative;
	right: 28px;
	top:-2px;
}

label[for=s] {
	display: none;
}

input[name=s] {
	padding: 5px;
	border-bottom: 2px solid #efefef;
	border-left: 2px solid #efefef;
	border-right: 2px solid #efefef;
	border-top:none;
	line-height: 16px;
	width: 150px;
	color: #777;
	font-size: 14px;
}

input[name=s]:focus {
	border:none;
}

#info{
	float: left;
	clear: both;
	margin: 15px 0 0 65px;
	width: 100%;
}

#info strong{
	color: #858585;
}

#info>section {
	border-left: #e5e5e5 solid 1px;
	float: left;
	padding: 0 15px;
	margin-left:5px;

}

#info img{
	margin-right: 8px;
}

/* Logo */
body>header h1 {
	margin: 0;
	width: 364px;
}

body>header h1 a:link, body>header h1 a:visited {
	text-decoration: none;
	color: #ddd;
}
	
body>header h1 a:hover, body>header h1 a:active {
	text-decoration: none;
	color: #fff;
}

/* Content */
body>div.wrapper>section {
	padding: 25px;	
	width:500px;
	float:left;
		clear: both;

}

body.home>div.wrapper>section {
	padding: 25px;	
	width:100%;
	float:none;
}

/* Sidebar */
aside {
	margin-top: 50px;
	overflow: hidden;
	width: 300px;
	float: right;
	clear: none;
}

aside li {
	list-style: none;
}

aside li ul li {
	list-style: disc outside;
}

/* Footer */
body .wrapper>footer {
	padding-top: 20px;
	text-align: center;
	overflow: hidden;
	width: 100%;
	margin: 15px 0;
	clear: both!important;
	border-top: 1px solid #e2e2e2;
}

/* Posts */
article[id*=post-] {
	padding: 10px 0;
}

article>header p, 
article>footer p {
	font-style: italic;
}

article+nav {
	font-weight: bold;
}
	
section>h1 {
	padding-top: 10px;
}

/* Comments */
article[id*=comment-] {
	margin: 15px 0;
	padding: 10px;
}

article[id*=comment-] h4 {
	margin: 0;
}

.alt {
	border: 1px solid #ddd;
	background: #eee;
}



/* ***************************************************
 * 						ELEMENTS
 * ***************************************************/	
	
/* LINKS */
a:link {
	text-decoration: underline;
	color: #000000;
}

a:visited {
text-decoration:underline;
color:#666666;
}
a:hover, a:active {
	text-decoration: underline;
	color: #000000;
}

hr{
	}

p{margin-bottom:10px;}

/* Classes */
.fl { float: left; }
.fr { float: right; }
.wrapper { margin: 0 auto; width: 960px; }
.center {text-align:center!important;}
.clear{clear:both;}

/* Columns */
.one-half { width: 48%; }
.one-third { width: 30.66%; }
.two-third { width: 65.33%; }
.one-fourth { width: 21%; }
.three-fourth { width: 74%; }
.one-fifth { width: 16.8%; }
.two-fifth { width: 37.6%; }
.three-fifth { width: 58.4%; }
.four-fifth { width: 67.2%; }
.one-sixth { width: 13.33%; }
.five-sixth { width: 82.67%; }

.one-half,
.one-third,
.two-third,
.three-fourth,
.one-fourth,
.one-fifth,
.two-fifth,
.three-fifth,
.four-fifth,
.one-sixth,
.five-sixth {
	position: relative;
	margin-right: 4%;
	margin-bottom: 20px;
	float: left;
}

.column-last {
	margin-right: 0!important;
	clear: right;
}

/* Forms */
body>div.wrapper>section form{
	background: #d7d9db url(images/form-bg.jpg) repeat-x;
	padding: 30px;
	border: 1px solid #cfdede;
	-moz-box-shadow: 0px 0px 15px #d6d8db;
	-webkit-box-shadow: 0px 0px 15px #d6d8db;
	box-shadow: 0px 0px 15px #d6d8db;
	position: relative;
}

body>div.wrapper>section form h2{
	background: #2369af;
	color: white;
	text-transform: uppercase;
	font-size: 12px;
	padding:5px 25px;
	line-height: 12px;
	position: absolute;
	top:-2px;
	text-shadow: 1px 1px 1px #134d86;
	font-weight: bold;
	font-family: Arial;
	letter-spacing: -.075em;
}

body>div.wrapper>section form input[type=text],body>div.wrapper>section form textarea{
	background: #f3f7fc;
	-moz-box-shadow: inset 0 0 2px #e5eaf0;
	-webkit-box-shadow: inset 0 0 2px#e5eaf0;
	box-shadow: inset 0 0 2px #e5eaf0;
	border: 1px solid #dce1e7;
	padding: 10px;
	width: 100%;
	color: #777777;
}

body>div.wrapper>section form textarea{
	min-height: 50px;
}

body>div.wrapper>section form p{
	margin: 0 0 10px 0;
}

form label{
	color: #333;
	font-size: 10px;
	font-weight: bold;
}

form[method=post] label {
	display: block;
}

form[method=post] input {
	margin: 2px 0 12px 0;
	display: block;
}

body>div.wrapper>section form input[type=submit] {
	color:#2a72aa;
	background-image: -webkit-gradient(
	    linear,
	    left bottom,
	    left top,
	    color-stop(0.04, rgb(214,214,214)),
	    color-stop(0.76, rgb(255,255,255))
	);
	background-image: -moz-linear-gradient(
	    center bottom,
	    rgb(214,214,214) 4%,
	    rgb(255,255,255) 76%
	);
	border:2px solid #2a72aa;
	font-size:12px;
	padding: 5px 10px;
	font-weight: bold;
	text-transform:uppercase;
	-moz-border-radius: 15px;
	border-radius: 15px;
	cursor:pointer;
	text-align:center;
	-moz-box-shadow: 0px 1px 2px #949597;
	-webkit-box-shadow: 0px 1px 2px #949597;
	box-shadow: 0px 1px 2px #949597;
	
}

body>div.wrapper>section form input[type=submit]:hover {
	background:white;
}
.required {color: #3ec1c1;}
.full { width: 95%; }
.half { width: 45%; }

/*Contact Form 7 Styles*/
div.wpcf7-response-output{
	position:absolute;
	bottom:0px;
	left:5px;
	background: #2369af;
	color: white;
	font-size: 12px;
	padding:5px 25px;
	font-family: Arial;
}

span.wpcf7-not-valid-tip{
	background:blue;
}


/* Typography */
h1,h2,h3,h4,h5,h6{
	font-family: "Georgia";
	color: #444;
	margin-bottom:10px;
}

h1 { font-size: 28px; line-height: 42px; }
h2 { font-size: 22px; line-height: 36px; }
h3 { font-size: 18px; line-height: 26px; }
h4 { font-size: 16px; line-height: 22px; color: #525252; }

/* ***************************************************
 * 						NAVIGATION
 * ***************************************************/

/* Main Menu  */
nav.main-menu {
	text-align: center;
	clear: both;
	background: #2a70b5;
	height: 42px;
	position: relative;
}

nav.main-menu ul {
	text-align: left;
	width: 960px;
	margin: 0 auto;
	font-family: Georgia;
	font-size: 13px;
	text-transform: uppercase;
}

nav.main-menu li {
	margin-right: -2px;
	padding:0 18px;
	font-weight: bold;
	display: block;
	float: left;
	letter-spacing: -.1em;
  	border-left: 1px solid #1d64aa;
  	border-right: 1px solid #3980c5;
}

nav.main-menu li:hover{
	background: url(images/nav-hover.png) center center no-repeat;
}

nav.main-menu li.current-menu-item{
	background: url(images/nav-hover.png) center center no-repeat;
}

nav.main-menu li a:link, body>nav li a:visited {
	color: #f0f8ff;
	text-shadow: #245d94 1px 1px 5px;
	text-decoration: none;
	display: block;
	padding: 12px 10px 12px 25px;
	background: url(images/nav-bullet.png) no-repeat left center;
	height: 100%;
	width: 100%;
	float: left;
}

nav.main-menu li a:hover{
	color: white;
}

/* Sub Menus 2nd level */
nav.main-menu ul ul ul{ 
	width: 200px;
	display: block;
	position: absolute;
	top: 42px;
	background: #174573;
	-moz-border-radius-bottomright: 50px;
	border-bottom-right-radius: 50px;
	-moz-box-shadow: 5px 5px 5px #dddfe1;
	-webkit-box-shadow: 5px 5px 5px #dddfe1;
	box-shadow: 5px 5px 5px #dddfe1;
	font-size: 11px;
	z-index: 1;
}

nav.main-menu ul ul ul li{ 
	display: block;
	border: none;
}

nav.main-menu ul ul ul li:hover{ 
	background: url(images/nav-hover.png) center center no-repeat;
}




/* ***************************************************
 * 					NIVO SLIDER
 * ***************************************************/	
/* The Nivo Slider styles */
.nivoSlider {
	position:relative;
}
.nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
}
/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	border:0;
	padding:0;
	margin:0;
	z-index:6;
	display:none;
}
/* The slices and boxes in the Slider */
.nivo-slice {
	display:block;
	position:absolute;
	z-index:5;
	height:100%;
}
.nivo-box {
	display:block;
	position:absolute;
	z-index:5;
}
/* Caption styles */
.nivo-caption {
	position:absolute;
	left:0px;
	bottom:-50px;
	background: none;
	color:#333333;
	opacity:0.8; /* Overridden by captionOpacity setting */
	width:100%;
	z-index:8;
}
.nivo-caption p {
	padding:5px;
	margin:0;
}
.nivo-caption a {
	display:inline !important;
	color: #58b3c9!important;
}
.nivo-html-caption {
    display:none;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
	position:absolute;
	top:45%;
	z-index:9;
	cursor:pointer;
}
.nivo-prevNav {
	left:0px;
}
.nivo-nextNav {
	right:0px;
}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav a {
	position:relative;
	z-index:9;
	cursor:pointer;
}
.nivo-controlNav a.active {
	font-weight:bold;
}

/* Custom slider styles */
#slider-wrapper {
    background: url(images/.png) no-repeat;
    width:390px;
    height:340px;
    margin:0 auto;
    margin-left: -10px;
    margin-top:10px;
}

#slider {
	position:relative;
    width:390px;
    height:160px;
	background:url(images/loading.gif) no-repeat 50% 50%;
	-moz-box-shadow:1px 1px 5px #ccd0d6;
    -webkit-box-shadow:1px 1px 5px #ccd0d6;
    box-shadow:1px 1px 5px #ccd0d6;
    -moz-border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #cccccc;
}
#slider img {
	position:absolute;
	top:0px;
	left:0px;
	display:none;
}
#slider a {
	border:0;
	display:block;
}

#slider .nivo-controlNav {
    position:relative;
    left:0px;
    bottom:-235px;
    background: url(images/rule-small.jpg) no-repeat;
    padding: 25px;
    width: 90%;
    text-align: center;
}
#slider .nivo-controlNav a {
    display:inline;
}
#slider .nivo-controlNav img {
    display:inline;
    position:relative;
    margin-right:15px;
    -moz-box-shadow:1px 1px 5px #333;
    -webkit-box-shadow:1px 1px 5px #333;
    box-shadow:1px 1px 5px #333;
    height: 40px; 
    width: 40px;
}
#slider .nivo-controlNav a.active img {
    border:1px solid #555;
}

.nivo-controlNav a.active {
	background-position:0 -22px;
}

.nivo-directionNav a {
	display:block;
	width:30px;
	height:30px;
	background:url(images/arrows.png) no-repeat;
	text-indent:-9999px;
	border:0;
}
a.nivo-nextNav {
	background-position:-30px 0;
	right:15px;
}
a.nivo-prevNav {
	left:15px;
}

.nivo-caption {
    text-shadow:none;
    font-family: Helvetica, Arial, sans-serif;
    
}
.nivo-caption a { 
    color:#efe9d1;
    text-decoration:underline;
}


/* ***************************************************
 * 					PAGE SPECIFIC
 * ***************************************************/	
/*HOME*/
body.home>div.wrapper>section {
	background: url(images/home-bg.jpg)no-repeat -20px top;
	min-height: 450px; 	
}

body.home>div.wrapper>section form{
	width: 315px;
	min-height: 250px;
	margin:25px;
}

.service{
	font-size:11px;
	color:#666666;
	}
.service footer{
	margin-top:10px;
}