/*
Theme Name: Edwards Kirby
Theme URI: http://edwardskirby.com
Author: French West Vaughan | Laurel Streng
Author URI: http://fwv-us.com
Description: Custom Wordpress theme build for the Edwards Kirby lawfirm.
Version: 1.0
Text Domain: Foundation
*/

/* -------------------------------------------------- 
   Table of Contents
-----------------------------------------------------
:: Shared Styles
:: Typography
:: Images
:: Header
:: Navigation
:: Footer
:: Home Page
:: Portfolio
:: Blog & Blog Posts
:: Sidebar
:: Media Queries

*/

html, body {
	color:#333;
	font-family:"Lato", "Helvetica", Arial, sans-serif;
	background-color:#132e63;
}
#loader {
	width:100%;
	height:100%;
	background:#c2deec url(./img/status.gif) no-repeat;
	background-position-x:center;
	background-position-y:100px;
}
h1, h2, h3, h4, h5, h6 {
	font-weight:300;
	font-family:"Lato", "Helvetica", Arial, sans-serif;
}
h1 {
	margin:0;
	color:#132e63;
	font-size:1.5em;
	font-weight:bold;
	text-transform:uppercase;
}
.home h1.alert {
	margin-bottom:.25em;
	font-size:2.3em;
	line-height:1.15em;
}
h2 {
	margin:0 0 .5em 0;
	color:#006db3;
	font-size:1.5em;
	font-weight:bold;
	text-transform:uppercase;
}
p, ul, ul li ul {
	font-size:.9em;
}
a, a:hover {

}
a {
	transition:all 0.25s ease-in-out;
	-moz-transition:all 0.25s ease-in-out;
	-webkit-transition:all 0.25s ease-in-out;
}
ul {
	margin-left:3rem;
}

.content {
	padding:1.5em .25em;
	background:#fff;
}
.wrapper {
	background:#ededed url(img/background.png) repeat-x 0px 14px;
}
.checkers-background {
	background:url(img/checkers.jpg);
}
.margintop {
	margin-top:3.5em;
	background:#fff;
}
.has-tip, .has-tip:hover {
	border-bottom:none;
	max-width:100px;
}

/* Header */
header {
	border-bottom:1px solid #132e63;
	box-shadow:0px 5px 5px rgba(0,0,0,0.2);
	-moz-box-shadow:0px 5px 5px rgba(0,0,0,0.2);
	-webkit-box-shadow:0px 5px 5px rgba(0,0,0,0.2);
}
.call-us.button {
	padding:.75em 1.5em;
	font-size:.85em;
	text-transform:uppercase;
	border-top:none;
	border-bottom:1px solid #fba057;
	border-left:1px solid #fba057;
	border-right:1px solid #fba057;
	width:200px;
	position:absolute;
	top:0;
	right:15%;
}

/* Navigation */
.top-bar .name {
	margin:0 auto;
	width:210px;
	height:120px;
	text-indent:-9999px;
	background:url(img/logo.png) no-repeat;
	position:relative;
	z-index:100;
}
.top-bar .name a {
	width:100%;
	height:100%;
	display:block;
}

.top-bar {
	height:100%;
	background:transparent;
}
.top-bar .title-area {
	float:none;
	margin:0 auto;
	position:relative;
	width:220px;
}
.top-bar .name h1 {
	line-height:120px;
}
.top-bar .name h1 a {
	color:#333;
}
.top-bar-section {
	margin-top:-4.5em;
}
.top-bar-section ul {
	margin: 0 auto;
	display: table;
	background:transparent;
}
.top-bar-section ul li {
	margin:0 .5em;
	padding:0;
	text-transform:uppercase;
	display: table-cell;
}
.top-bar-section li:not(.has-form) a:not(.button) {
	font-size:.9em;
	font-weight:500;
	color:#132e63;
	background:transparent;
}
.top-bar-section li:not(.has-form) a:not(.button):hover {
	color:#fff;
	background:#132e63;
}
.no-js .top-bar-section ul li:hover>a {
	background:#132e63;
}
.n1, .n2 {
	right:30%;
	position:relative;
}
.n3, .n4 {
	left:30%;
	position:relative;
}
.top-bar .toggle-topbar.menu-icon a {
	color:#333;
}
.top-bar .toggle-topbar.menu-icon a::after {
	box-shadow:0 10px 0 1px #333,0 16px 0 1px #333,0 22px 0 1px #333;
	-webkit-box-shadow:0 10px 0 1px #333,0 16px 0 1px #333,0 22px 0 1px #333;
}
.top-bar-section .dropdown {
	background:#eee;
}
.top-bar-section .dropdown li {
	margin:0;
	padding:0;
}
.top-bar-section .dropdown li:not(.has-form) a:not(.button) {
	color:#333;
	text-transform:none;
	background:transparent;
}
.top-bar-section .dropdown li:not(.has-form) a:not(.button):hover {
	background: #ddd;
}

/* Flexslider */
.flexslider-row {
	background: #2a2a2a;
}
.flexslider-row  .row {
	max-width: 1400px;
}
.flexslider {
	margin: 0;
	border: none;
	box-shadow: none;
	-o-box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	border-top: 1px solid #132e63;
}

/* Home Page */
.h1-small {
	margin-bottom:.5em;
}
#home-results {
	margin:0;
	text-align:center;
}
#home-results li {
	margin:0 0 1em 0;
	padding: .5em 1em;
	background-color: #fff;
	background-image: linear-gradient(#ffffff, #e2e2e2);
	background-image: -o-linear-gradient(#ffffff, #e2e2e2);
	background-image: -moz-linear-gradient(#ffffff, #e2e2e2);
	background-image: -webkit-linear-gradient(#ffffff, #e2e2e2);
	border: 1px solid #e2e2e2;
}
#home-results p, #home-results a {
	font-size:.75em;
}
#home-results li .title {
	color: #9e9e9e;
	line-height:2em;
	text-transform: uppercase;
	text-decoration: underline;
}
#home-results li .amount {
	color:#006db3;
	font-weight:bold;
	text-transform:uppercase;
}
#home-results p {
	margin:0;
}
#home-results li a {
	color:#f78b34;
	text-transform:uppercase;
}

.home-sidebar form, .sidebar form {
	margin:0;
}
.home-sidebar h2 {
	padding:.35em 0;
	color:#fff;
	background-color:#173266;
	font-size:1em;
	font-weight:bold;
	text-align:center;
	text-transform:uppercase;
}
.home-sidebar #gform_widget-2 {
	background-color:#c2dced;
}
.home-sidebar .gform_wrapper {
	margin:0 10px;
}
.home-sidebar .gform_wrapper span.gform_description {
	color:#656565;
	font-size:.8em;
	font-weight:300;
}
.home-sidebar .gform_wrapper .top_label .gfield_label {
	margin:0;
}
.home-sidebar .gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium {
	width:100%;
}
.home-sidebar .gform_wrapper .gfield_required {
	display: none;
}
.home-sidebar textarea {
	margin:0;
}
.home-sidebar .gform_wrapper .gform_footer input.button, .home-sidebar .gform_wrapper .gform_footer input[type=submit], .sidebar .gform_wrapper .gform_footer input.button, .sidebar .gform_wrapper .gform_footer input[type=submit] {
	padding:1em 1.5em;
	font-size:.85em;
	width:50%;
	margin:0 auto;
	display:block;
	text-transform:uppercase;
}
.home-sidebar .gform_wrapper .gform_footer input.button, .home-sidebar .gform_wrapper .gform_footer input[type=submit], .sidebar .gform_wrapper .gform_footer input.button, .sidebar .gform_wrapper .gform_footer input[type=submit], .call-us.button {
	background-color:#f48832;
	background-image:linear-gradient(#f48832, #e37923);
	background-image:-o-linear-gradient(#f48832, #e37923);
	background-image:-moz-linear-gradient(#f48832, #e37923);
	background-image:-webkit-linear-gradient(#f48832, #e37923);
	border:1px solid #fba057;
}
.home-sidebar .gform_wrapper .gform_footer {
	padding:0 0 10px 0;
	margin:0;
}
.home-sidebar .textwidget, .sidebar .textwidget {
	padding:.5em 1em 2em;
	color:#656565;
	background-color:#c2dced;
	font-size:.75em;
	line-height:1.3em;
}
#badges {
	background-color:#ebebeb;
}
#badges ul {
	margin:2em 0;
}
#badges ul li {
	padding:0;
	text-align:center;
}
/*#badges img{
	-webkit-filter: grayscale(100%);
	-webkit-transition-duration: 0.5s;
	-moz-transition-duration: 0.5s;
	-o-transition-duration: 0.5s;
	-ms-transition-duration: 0.5s;
}

#badges img:hover{
	-webkit-filter: grayscale(0%);
	-webkit-transition-duration: 0.5s;
	-moz-transition-duration: 0.5s;
	-o-transition-duration: 0.5s;
	-ms-transition-duration: 0.5s;
	z-index: 2px;
	cursor:pointer;
}*/

/* New Interior Page */
.sidebar h2 {
	padding:.35em 0;
	color:#fff;
	background-color:#173266;
	font-size:1em;
	font-weight:bold;
	text-align:center;
	text-transform:uppercase;
}
.sidebar .gform_widget {
	background-color:#c2dced;
}
.sidebar .gform_wrapper {
	margin:0 10px;
}
.sidebar .gform_wrapper span.gform_description {
	color:#656565;
	font-size:.8em;
	font-weight:300;
}
.sidebar .gform_wrapper .top_label .gfield_label {
	margin:0;
}
.sidebar .gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium {
	width:100%;
}
.sidebar .gform_wrapper .gfield_required {
	display: none;
}
.sidebar textarea {
	margin:0;
}
.sidebar .gform_wrapper .gform_footer {
	padding:0 0 10px 0;
	margin:0;
}
.home-sidebar #gforms_confirmation_message, .sidebar #gforms_confirmation_message {
	padding:0 1em 1em;
	font-size:.85em;
}
/*.sidebar .textwidget {
	color:#656565;
	font-size:.75em;
	line-height:1.3em;
}*/

/* Sidebar Submenu */
.sidebar-menu h2 {
	margin-bottom:0;
	padding-left:.5em;
	background-color:#4f90c1;
	text-align:left;
	font-weight:500;
	border-left:1px solid #dcdcdc;
	border-right:1px solid #dcdcdc;
	border-top:1px solid #dcdcdc;
}
.submenu {
	margin:0;
	list-style-type:none;
	background-color:#f2f2f2;
	border-left:1px solid #dcdcdc;
	border-right:1px solid #dcdcdc;
	border-bottom:1px solid #dcdcdc;
}
.submenu li {
	padding:.5em;
	font-size:.75em;
	border-bottom:1px solid #dcdcdc;
}
.submenu li a {
	color:#7d7d7d;
}
.submenu li a:hover {
	color:#173266;
}
.submenu li.active {
	background-color:#173266;
}
.submenu li.active a {
	color:#fff;
}
.submenu li.active a:before {
	content:url(img/navigation-arrow.png);
}

/* Practice Areas */
.sub-banner h3 {
	margin:0;
	color:#fff;
	font-weight:bold;
	text-transform: uppercase;
	position:absolute;
	top:4em;
	left:2.25em;
	display: block;
}
.sub-banner span {
	margin:0;
	color:#fff;
	font-size:.85em;
	font-weight:300;
	text-transform:none;
	display:block;
}

/* Team Members Pages */
.our-team img {
	width:100%;
}
.our-team h1 {
	padding:.5em 0;
	font-size:1em;
	font-weight:normal;
	text-align:center;
	text-transform:none;
	color:#fff;
	background-color:#132e63;
}
.our-team li {
	margin:0 2em 2em 0;
	width:25%;
}
.team-photo {
	margin-bottom:1em;
}
.bar-admissions, .court-admissions {
	margin:0 0 1.25em 1.5em;
	list-style-type:square;
}
.team-member-badge {
	max-width:80px;
}




/* Content */
#primary {
/*	margin-bottom: 4em;
*/	padding: 1em 1.5em 2em;
	background-color: #fff;
}

.team {
	text-transform:none;
}
.team-title {
	color:#176eb1;
	font-size:1.25em;
	font-weight:normal;
	text-transform:uppercase;
}
.case-disclaimer {
	padding:1.5em 1em 1em;
	color:#888;
	font-style:italic;
	font-weight:300;
	border-top:1px solid #eee;
}

/* Sidebar */
.sidebar {
	padding:1em 1.5em 2em;
}
button, html input[type="button"], input[type="reset"], input[type="submit"] {
	margin:0;
	display:inline-block;
}
#searchsubmit {
	background-color:#ddd;
	border-color:#ccc;
}

/* Footer */
footer {
	padding:2em 0;
}
footer, footer a {
	color:#fff;
	background:#132e63;
	text-transform:uppercase;
}
footer ul {
	margin:0;
	font-size:.75em;
	list-style-type:none;
}
footer p {
	margin:0;
	font-size:.85em;
	font-weight:100;
	line-height:1.25em;
}
.phone p {
	margin-top:1em;
	padding:.5em;
	background:#1a3e84;
	font-weight:500;
}
.phone a {
	background:#1a3e84;
}
#copyright {
	margin:5em 0 0;
	text-transform:none;
}

footer.entry-meta, footer .edit-link a {
	color:#999;
	background:transparent;
}


/* -----------------------------------------
   Media Queries
----------------------------------------- */
/* Small screens */
@media only screen {

} /* Define mobile styles */

@media only screen and (max-width: 40em) {
	.margintop {
		margin-top:0;
	}
	.call-us.button {
		margin:0;
		padding:.75em 1.5em;
		font-size:1em;
		text-transform:uppercase;
		background-color:#132e63;
		position:relative;
		right:auto;
		width:100%;
	}

	.top-bar {
		height:120px;
		background:url(img/checkers.jpg);
	}
	.top-bar .title-area {
		margin:0;
		float:none;
		width:auto;
	}
	.top-bar.expanded .title-area, .top-bar-section {
		background:#1c1e25;
	}
	.top-bar .name-small {
		margin:0 auto;
		height:125px;
		text-indent:-9999px;
		background:#fff url(img/logo2.png) no-repeat;
		background-size:85%;
		background-position-x:center;
		background-position-y:center;
		position:relative;
	}
	.top-bar .name-small h1 {
		line-height:120px;
	}
	.top-bar .name-small h1 a {
		color:#333;
	}
	.top-bar .toggle-topbar.menu-icon {
		width:40px;
		right:0;
		padding-left:0;
	}
	.top-bar .toggle-topbar.menu-icon a {
		padding-right:0;
		width:40px;
	}
	.top-bar .toggle-topbar.menu-icon a::after {
		margin:0 auto;
		position:relative;
	}
	.top-bar-section {
		margin-top:auto;
	}
	.top-bar-section ul li {
		display:block;
	}
	.top-bar-section li:not(.has-form) a:not(.button) {
		color:#fff;
		text-align:center;
	}
	.top-bar .name {
		min-height:100px;
	}

	/* Mobile Navigation */
	.n1, .n2, .n3, .n4 {
		float:none;
	}
	.n1 {
		left:0;
	}
	.n2 {
		left:0;
	}
	.n3 {
		left:0;
	}
	.n4 {
		left:0;
	}

	/* Home Page */
	.proven-results {
		margin:0;
		padding:1em;
	}

	/* Footer navigation */
	footer #menu-footer-menu, footer .addresses {
		margin-bottom:1.5em;
		text-align:center;
	}
} /* max-width 640px, mobile-only styles, use when QAing mobile issues */

/* Medium screens */
@media only screen and (min-width: 40.063em) {

} /* min-width 641px, medium screens */

@media only screen and (min-width: 40.063em) and (max-width: 64em) {
	header {
		max-height:165px;
	}
	.call-us.button {
		right:4%;
		z-index:100;
	}
	.top-bar {
		background:#eee;
	}
	.top-bar .title-area {
		margin:0 auto;
		float:none;
	}
	.top-bar-section {
		margin-top:0;
		width:100%;
		background:#132e63;
		display: inline-block;
	}
	.top-bar-section ul {
		margin:0 auto;
	}
	.top-bar-section ul li {
		margin:0;
		font-size:.8em;
	}
	.top-bar-section li:not(.has-form) a:not(.button) {
		color:#fff;
	}
	.n1, .n2, .n3, .n4 {
		left:0;
	}
	footer #menu-footer-menu, footer .addresses {
		margin-bottom:1.5em;
		text-align:center;
	}
} /* min-width 641px and max-width 1024px, use when QAing tablet-only issues */

/* Large screens */
@media only screen and (min-width: 64.063em) {

} /* min-width 1025px, large screens */

@media only screen and (min-width: 64.063em) and (max-width: 90em) {

} /* min-width 1024px and max-width 1440px, use when QAing large screen-only issues */

/* XLarge screens */
@media only screen and (min-width: 90.063em) {

} /* min-width 1441px, xlarge screens */

@media only screen and (min-width: 90.063em) and (max-width: 120em) {

} /* min-width 1441px and max-width 1920px, use when QAing xlarge screen-only issues */

/* XXLarge screens */
@media only screen and (min-width: 120.063em) {

} /* min-width 1921px, xlarge screens 