@charset "utf-8";
/* CSS Document */

ul, ol {
	padding: 12px 0 12px 40px;
	line-height: 20px;
}
	
h3 a {
	color: #330000;
}


.btt {
    padding-top: 0px;
    margin-top: -10px;
    margin-right: 6px;
}

.ulfloat {
    float:left;
    padding-right:38px; }


#for-people {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
	font-family: 'Open Sans', 'Segoe UI', 'Trebuchet MS', sans-serif;
}

#for-people .for-content {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	float: left;
	height: 100%;
	padding: 10px 0;
	width: 33%;
}

#for-people .for-content p.for-title {
	text-align: center;
	color: #691602;
	font-size: 14px;
	line-height: 40px;
	padding: 0;
	margin-bottom: 10px;
	text-transform: uppercase;
	font-weight: bold;
	background: #fbf1cf;
	border: 1px solid #d8d3bf;
}

#for-public.for-content p.for-title {
	-webkit-border-radius: 5px 0 0 5px;
	-moz-border-radius: 5px 0 0 5px;
	border-radius: 5px 0 0 5px;
	border-right-color: #d8d3bf;
}

#for-attorneys.for-content p.for-title {
	border-left-color: #fdf9e6;
	border-right-color: #d8d3bf;
}

#for-orgs.for-content p.for-title {
	-webkit-border-radius: 0 5px 5px 0;
	-moz-border-radius: 0 5px 5px 0;
	border-radius: 0 5px 5px 0;
	border-left-color: #fdf9e6;
}

.for-title span.icon {
	display: inline-block;
	*display: inline;
	zoom: 1;
	height: 18px;
	margin-right: 8px;
	vertical-align: text-bottom;
}

#for-public .for-title span.icon { background-image: url('../images/icon-public.png'); width: 26px; }
#for-attorneys .for-title span.icon { background-image: url('../images/icon-briefcase.png'); width: 19px; }
#for-orgs .for-title span.icon { background-image: url('../images/icon-scales.png'); width: 28px; }

.for-content p {
	font-size: 11px;
	line-height: 13px;
}

.for-content p,
.for-content ul {
	padding-left: 20px;
	padding-right: 5px;
}

.for-title span.for {
	text-transform: lowercase;
	font-style: italic;
	font-weight: normal;
}

.for-content ul {
	list-style: none;
	padding: 12px 0 0 0;
	margin: 0;
}

.for-content ul li {
	margin-bottom: 12px;
}

.for-content li a {
	display: block;
	padding-left: 20px;
	padding-bottom: 2px;
	font-size: 13px;
	line-height: 16px;
	position: relative;
	text-decoration: none;
}

.for-content li a:before {
	content: ' ';
	display: block;
	position: absolute;
	top: 5px;
	left: 8px;
	border-left: 4px solid #691602;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	width: 0;
	height: 0;
}

.for-content a {
	color: #691602;
}

.for-content a:hover {
	text-decoration: underline;
}

.for-content li span {
	display: block;
	font-size: 11px;
	line-height: 13px;
	padding-left: 20px;
	font-style: italic;
	
}

#ts-lace {
	width: 100%;
	height: 19px;
	background: url('http://lawyers.lawyerlegion.com/images/lace.png') no-repeat center top;
	border-top: 1px solid #EEE;
}

.home-section {
	margin-top: 20px;
}

#legion-content .home-section h2.section-title {
	background: #fbf1cf;
	border: 1px solid #d8d3bf;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding: 0 15px;
	font: 14px/40px 'Open Sans', 'Segoe UI', 'Trebuchet MS', sans-serif;
	color: #691602;
}

#legion-content .home-section h2.section-title:before {
	content: ' ';
	display: inline-block;
	height: 18px;
	margin-right: 10px;
	vertical-align: text-top;
}

#legion-content #find-lawyer h2.section-title:before { background-image: url('../images/icon-magnify.png'); width: 18px; }
#legion-content #legal-orgs h2.section-title:before { background-image: url('../images/icon-scales.png'); width: 28px; }
#legion-content #special-certs h2.section-title:before { background-image: url('../images/icon-ribbon.png'); width: 14px; height: 20px; vertical-align: top; margin-top: 10px; margin-bottom: 10px; }
#legion-content #recent-profiles h2.section-title:before { background-image: url('../images/icon-profile.png'); width: 18px; }
#legion-content #about-us h2.section-title:before { background-image: url('../images/icon-logo.png'); width: 19px; height: 25px; vertical-align: top; margin-top: 7px; margin-bottom: 8px; }

.org-slider .section-content {
	padding-top: 10px;
}

.org-slider a.org-shift {
	display: block;
	float: left;
	height: 174px;
	width: 26px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: 1px solid #f1e5bd;
	background: #F6ECCB url('http://lawyers.lawyerlegion.com/images/grad-subs/org-shift.png') repeat-x left top;
	background: -moz-linear-gradient(top, #fdf9ec 0%, #f6eccb 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fdf9ec), color-stop(100%,#f6eccb));
	background: -webkit-linear-gradient(top, #fdf9ec 0%,#f6eccb 100%);
	background: -o-linear-gradient(top, #fdf9ec 0%,#f6eccb 100%);
	background: -ms-linear-gradient(top, #fdf9ec 0%,#f6eccb 100%);
	background: linear-gradient(top, #fdf9ec 0%,#f6eccb 100%);
	outline: none;
}

.org-slider a.org-shift.next{
	float: right;
	margin-top: -174px;
}

.org-slider a.org-shift:hover {
	background: #fffbef;
	background: -moz-linear-gradient(top, #fffbef 0%, #ede1bb 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fffbef), color-stop(100%,#ede1bb));
	background: -webkit-linear-gradient(top, #fffbef 0%,#ede1bb 100%);
	background: -o-linear-gradient(top, #fffbef 0%,#ede1bb 100%);
	background: -ms-linear-gradient(top, #fffbef 0%,#ede1bb 100%);
	background: linear-gradient(top, #fffbef 0%,#ede1bb 100%);
	border-color: #dbcd9e;
}

.org-shift span {
	display: block;
	width: 10px;
	height: 15px;
	margin: 79px auto 80px auto;
}

.org-shift.prev { margin-right: 10px; }
.org-shift.next { margin-left: 11px; }

.org-shift.prev span { background: url('http://lawyers.lawyerlegion.com/images/arrow-grey-carat-left.png') no-repeat center; }
.org-shift.next span { background: url('http://lawyers.lawyerlegion.com/images/arrow-grey-carat-right.png') no-repeat center; }

.org-window {
	/*width: 575px;*/
	height: 174px;
	overflow: hidden;
	position: relative;
	margin: 0 38px;
}

.orgs {
	position: absolute;
	left: 0;
	width: 2000px;
}

.org-window a.org {
	display: block;
	float: left;
	width: 136px;
	padding: 0 4px;
	text-align: center;
}

.org-window a.org img {
	display: block;
	width: 88%;
	height: auto;
	margin: 0 auto 6px auto;
}

.org-window a.org span {
	display: block;
	text-align: center;
	font-size: 11px;
	line-height: 16px;
}

#recent-profiles .section-content {
	padding-top: 10px;
}

#legion-content .home-section#recent-profiles .atty-img {
	float: left;
	margin: 0 14px 14px 0;
	width: 56px;
	height: 69px;
	border: 2px solid #999;
	background: #000;
}

#legion-content .home-section#recent-profiles .atty-img img {
	display: block;
	width: 54px;
	height: 67px;
	border: 1px solid #AAA;
}

#legion-content .home-section#recent-profiles .atty-img.last {
	margin-right: 0;
}


/*------------ Legal Association Pages --------*/

.assoc-listing-header {
	}
	
.assoc-listing-header p {
	margin:8px 0;}

.seal-float {
	width:24.5%;
	min-width: 115px;
	float:left;
	padding:9px 14px 10px 0; }
	
.assoc-float {
	width: 25%;
	min-width: 95px;
	float:left;
	padding:0 14px 0 0;
	margin:-1px 0 -3px 0; }
        
.logo-d {
    text-align:center;
    color: #555555;
    font-size: 11px;
    font-style: italic; }
	
.assoc-utility-links {
	
	height:30px;
	margin-bottom:8px; }
	
.assoc-utility-links ul {
	padding: 0;
	margin: 0;
	list-style: none; }
	
.assoc-utility-links li {
	border: 1px solid #CCC;
	height:30px;
	margin-bottom: 5px;
	float:left;
	margin-right:8px;
	border-radius:5px;
	-moz-border-radius:5px;
    -webkit-border-radius:5px; }
	
.assoc-utility-links li a {
	display: block;
	height: 30px;
	line-height: 30px;
	padding:0 8px 0 0;
	font-size: 12px;
}

.assoc-utility-links li a span {
	display: block;
	height:22px;
	width:18px;
	margin:4px;
	float:left;
	background-position:top;
	background-repeat: no-repeat;		
}

.assoc-utility-links li a:hover,
.assoc-utility-links li a:focus {
	background-color: #EEE;
	text-shadow: 0 1px 0 #FFF;
	text-decoration: none;
}

.assoc-utility-links li a:hover span,
.assoc-utility-links li a:focus span { 
	background-position: bottom;
}
	
.assoc-utility-links li.websiteLink a span { background-image: url('http://lawyers.lawyerlegion.com/images/util-web.png'); }
.assoc-utility-links li.memberLink a span { background-image: url('http://lawyers.lawyerlegion.com/images/util-pro.png'); }
.assoc-utility-links li.newsLink a span { background-image: url('http://lawyers.lawyerlegion.com/images/util-map.png'); }
.assoc-utility-links li.calLink a span { background-image: url('http://lawyers.lawyerlegion.com/images/util-contact.png'); }

#legion-content h3 {
	font-weight: normal;
	font-family: Lora, Georgia, 'Palatino Linotype', serif;
	font-size: 1.4em;
}
	
.assoc-page-item {
	padding:0; }	
	
.assoc-page-item h3 {
	margin-top:5px; }
	
.assoc-page-item p {
	margin-top: -2px; }
	
	
	
/*------------- SOCIAL SECTION STYLES -------------*/

.assoc-social-feeds {
	margin: 12px 0 0 0;
}

.assoc-social-feeds .site-feed {
	margin-bottom: 15px;
	width: 94.64%;
	min-width: 300px;
}

.site-feed a.feed-title {
	display: block;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, .4);
	-moz-box-shadow: 0 1px 0 rgba(0, 0, 0, .4);
	-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, .4);
	font-size: 18px;
	margin-bottom: 11px;
	background: #eb8b27;
	border: 1px solid #D37A29;
}

.site-feed a.feed-title:hover,
.site-feed a.feed-title:focus {
	text-decoration: none;
	outline: none;
	background: #F89F42;
}

.site-feed a.feed-title span {
	display: block;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-top: 1px solid #fbd3af;
	height: 33px;
	line-height: 32px;
	text-align: center;
	color: #FFF;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, .5);
	background: url('http://lawyers.lawyerlegion.com/images/soclink-icon-rss.png') no-repeat left top;
}

.site-feed .feed-content {
	background: #FFF;
	border: 1px solid #AAA;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	padding: 15px;
}

.site-feed .feed-item {
	margin-bottom: 1em;
	border-bottom: 1px solid #F0F0F0;
}

.site-feed p.entry-title {
	font-size: 16px;
	font-weight: bold;
}

.site-feed .entry-desc {
	line-height: 1.5em;
	max-height: 5.8em;
	overflow: hidden;
}

.site-feed .read-more {
	text-align: right;
	padding: 1em 40px 1em 0;
}

.assoc-social-feeds .social-item {
	width: 300px;
	margin-right: 18px;
	float: left;
	margin-bottom: 15px;
}

.assoc-social-feeds .social-item.flickr {
	margin-right: 0;
}

.social-item a.social-title {
	display: block;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, .4);
	-moz-box-shadow: 0 1px 0 rgba(0, 0, 0, .4);
	-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, .4);
	font-size: 18px;
	margin-bottom: 11px;
}

.social-item.twitter a.social-title {
	background: #2abfea;
	border: 1px solid #0c84bb;
}

.social-item.facebook a.social-title {
	background: #395ca5;
	border: 1px solid #214ca5;
}

.social-item.linkedin a.social-title {
	background: #0181B2;
	border: 1px solid #056b92;
}

.social-item.flickr a.social-title,
.social-item.youtube a.social-title {
	background: #DBDBDB;
	border: 1px solid #ACACAC;
}

.social-item a.social-title:hover,
.social-item a.social-title:focus {
	text-decoration: none;
	outline: none;
}

.social-item.twitter a.social-title:hover,
.social-item.twitter a.social-title:focus { background: #40d3fd; }
.social-item.facebook a.social-title:hover,
.social-item.facebook a.social-title:focus { background: #4776d7; }
.social-item.linkedin a.social-title:hover,
.social-item.linkedin a.social-title:focus { background: #14abd3; }
.social-item.flickr a.social-title:hover,
.social-item.flickr a.social-title:focus,
.social-item.youtube a.social-title:hover,
.social-item.youtube a.social-title:focus { background: #EEE; }

.social-item a.social-title span {
	display: block;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-top: 1px solid #EDEDED;
	height: 33px;
	line-height: 32px;
	text-align: center;
	color: #FFF;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, .5);
}

.social-item.twitter a.social-title span {
	border-top-color: #95dff5;
	background: url('http://lawyers.lawyerlegion.com/images/soclink-icon-twitter.png') no-repeat left top;
}

.social-item.facebook a.social-title span {
	border-top-color: #9caed2;
	background: url('http://lawyers.lawyerlegion.com/images/soclink-icon-facebook.png') no-repeat 4px top;
}

.social-item.linkedin a.social-title span {
	border-top-color: #a3daef;
	background: url('http://lawyers.lawyerlegion.com/images/soclink-icon-linkedin.png') no-repeat left top;
}

.social-item.flickr a.social-title span {
	color: #333;
	text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
	background: url('http://lawyers.lawyerlegion.com/images/soclink-icon-flickr.png') no-repeat left top;
}

.social-item.youtube a.social-title span {
	color: #333;
	text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
	background: url('http://lawyers.lawyerlegion.com/images/soclink-icon-youtube.png') no-repeat left top;
	line-height: 30px;
}

.social-item a.social-title span img {
	display: inline;
	vertical-align: baseline;
	margin-left: 1px;
}

.social-item.youtube a.social-title span img,
.social-item.linkedin a.social-title span img {
	vertical-align: text-bottom;
}

.social-item.flickr a.social-title span img,
.social-item.twitter a.social-title span img {
	position: relative;
	top: 1px;
}

.social-item ul#twitter_update_list {
	padding: 0;
	margin: 0;
	list-style: none;
}

.social-item ul#twitter_update_list li {
	background: #FFF;
	border: 1px solid #AAA;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	padding: 12px;
	position: relative;
	box-shadow: 0 1px 0 rgba(0, 0, 0, .15);
	-moz-box-shadow: 0 1px 0 rgba(0, 0, 0, .15);
	-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, .15);
	margin-bottom: 18px;
	font-size: 14px;
	line-height: 21px;
}

.social-item ul#twitter_update_list li .status:after {
	content: ' ';
	position: absolute;
	left: 6px;
	bottom: -14px;
	display: block;
	padding: 3px 0 0 16px;
	line-height: 11px;
	font-size: 10px !important;
	color: #CCC;
	background: url('http://lawyers.lawyerlegion.com/images/tweet-bubble-arrow.png') no-repeat left top;
	height: 11px;
}

/*.social-item ul#twitter_update_list li a{
	position: absolute;
	left: 6px;
	bottom: -14px;
	display: block;
	padding: 3px 0 0 16px;
	line-height: 11px;
	font-size: 10px !important;
	color: #CCC;
	background: url('http://lawyers.lawyerlegion.com/images/tweet-bubble-arrow.png') no-repeat left top;
	height: 11px;
}*/

.social-item ul#twitter_update_list li span a {
	position: static;
	display: inline;
	padding: 0;
	font-size: inherit !important;
	line-height: inherit;
	color: #197aac;
	background: none;
}

.social-item .social-box {
	background: #FFF;
	border: 1px solid #AAA;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	height: 212px;
}

.social-item.youtube .social-box {
	height: auto;
}

.social-item.youtube .youtube-item {
	padding: 0 10px 10px 10px;
}

.social-item.youtube p.yt-title {
	font-size: 14px;
	font-weight: bold;
	padding-bottom: 0 !important;
	margin-bottom: 0;
}

.social-item.linkedin .linkedin-content {
	font-size: 12px;
	padding: 4px 15px 0 15px !important;
}

.social-item.linkedin .linkedin-content a, .social-item.linkedin .linkedin-content a:visited, .social-item.linkedin .linkedin-content a:link {
	color: #006699 !important;
	font-weight: bold;
}



.social-item.linkedin .linkedin-content a.social-title {
	margin-top: 4px;
	margin-bottom: 0;
}

.social-item.linkedin .linkedin-content a.social-title span {
	background: transparent;
}

.social-item.youtube p.yt-desc {
	padding: 0 0 1em 0;
	border-bottom: 1px solid #F0F0F0;
	font-size: 12px;
}

.social-box .photos {
	padding: 19px 4px 8px 15px;
	width: 279px;
	overflow: hidden;
	height: 175px;
}

.social-box .photos .flickr-photo {
	width: 80px;
	height: 80px;
	border: 1px solid #AAA;
	float: left;
	margin: 0 11px 11px 0;
	overflow: hidden;
}

.social-box .photos .flickr-photo a {
	border: 1px solid #FFF;
	width: 78px;
	height: 78px;
	display: block;
	overflow: hidden;
	position: relative;
}

.flickr-photo a img {
	position: absolute;
	left: -40px;
	top: -30px;
}

.assoc-list li {
	padding: 6px 0;
}
	
.assoc-list {
	list-style-type: none;
}
	
address {
	padding: 6px 24px; 
	font-style: none;
	line-height: 18px;
}
	
.addr-float address {
	float: left;
}
	
#legion-content p {
	padding-right: 7px;
}

#legion-content hr {
	width: 98%;
}

.contact-form {
	margin: 15px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding: 10px;
	border: 1px solid #CCC;
	-webkit-box-shadow: 0 3px 4px -4px rgba(0, 0, 0, .6);
	-moz-box-shadow: 0 3px 4px -4px rgba(0, 0, 0, .6);
	box-shadow: 0 3px 4px -4px rgba(0, 0, 0, .6);
	position: relative;
	width: 50%;
	background: #F3F3F3;
}

.contact-form label {
	display: block;
	font-weight: bold;
	font-size: 12px;
}

.contact-form input.textfield,
.contact-form textarea,
.contact-form .form-submit {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	display: block;
	width: 100%;
}

.contact-form input.textfield {
	height: 27px;
	margin-bottom: 1em;
}

.contact-form a.form-submit {
	margin-top: 1em;
}

.contact-form input.phone,
.contact-form select.state {
	width: 175px;
}

.contact-form textarea {
	height: 68px;
	margin-bottom: 1em;
	resize: vertical;
	max-height: 40em;
}

.contact-form input.testfield {
	position: absolute;
	top: -9999px;
	left: -9999px;
}


/*--------------------- Research the Law -----------------------*/

.practice {
	margin-top:6px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: 1px solid #bbb;
	background: #F8F8F8;
	padding:8px 8px 0 8px; }
	
.practice .head .thumb {
	width:120px;
	height:80px;
	float:left;
	margin-right:14px;
	margin-bottom:8px;
	padding:1px;
	border: solid 1px #fff;  
    outline: solid 1px #bbb;      
 }
 
 .practice .list, .practice .list ul {
	 list-style-type:none; }
	 
.practice .list li ul {
	padding:0;
	list-style: none;
	overflow: hidden;
	background: #EEE;
}

.practice .list li ul li {
	font-size: 12px;
	line-height: 22px;
	width: 260px;
	float: left;
	background: transparent;
	text-indent: 0;
	padding: 0 0 0 20px;
	position: relative;
	border: none;
}

.practice .head h3 {
	padding-top:3px; }
	
.practice hr {
	padding:0;
	margin:0;
	height:1px; }
	
	
/*--------------------- For Associations -----------------------*/
.contact-form .oneLine{ display: inline; }
.contact-form.intake{ width: 70%; }
.contact-form.intake input.textfield.numeric{ width: 6em; }
.contact-form.intake input.textfield{ width: 70%; }
.contact-form.intake fieldset{ margin-bottom: 1em; }

.contact-form span.actionTitle{
	display: block;
	font-weight: bold;
	font-size: 12px;
	margin: 0.5em 0;
}

.contact-form.intake select{
	margin-bottom: 1em;
	width: 230px;
	display: block;
}

.contact-form.intake select.invalid{
	border-color: #D22;
	border-left-width: 4px;
}

#otherActionAnswer{
	width: 70%;
}

.otherInput span{ 
	font-weight: bold;
	color: #D22;
	font-style: italic;
	font-size: 12px;
}





/*---------------------- Specialist Directory Gradebook Styles ----------------------*/

table.directory-grades {
    width: 100%;
    margin: 10px 0;
}

.directory-grades th {
    padding: 1em;
    text-align: left;
    border-bottom: 1px solid #CCC;
}

.directory-grades th.grade {
    text-align: center;
}

.directory-grades tr:nth-child(2n) {
    background: #EEE;
}

.directory-grades .org {
    width: 75%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.directory-grades .state,
.directory-grades .grade {
    width: 12.5%;
}

#legion-content .directory-grades td a,
#legion-content .directory-grades td a:link,
#legion-content .directory-grades td a:visited {
    display: block;
    padding: 1em;
    color: #333;
    line-height: 1em;
}

#legion-content .directory-grades td a:hover,
#legion-content .directory-grades td a:focus {
    text-decoration: none;
}

#legion-content .directory-grades tbody tr:hover {
    background: #DDD;
    color: #222;
}

#legion-content .directory-grades td.grade a {
    padding: .25em;
}

.grade-circle {
    display: block;
    width: 2em;
    height: 2em;
    line-height: 2em;
    text-align: center;
    margin: auto;
    border-radius: 2em;
    color: #FFF;
    font-weight: bold;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    box-sizing: border-box;
    position: relative;
}

.grade-circle.grade-a { background: #070; border-bottom-color: #020; }
.grade-circle.grade-b { background: #4a0; border-bottom-color: #470; }
.grade-circle.grade-c { background: #cc0; border-bottom-color: #990; }
.grade-circle.grade-d { background: #a40; border-bottom-color: #740; }
.grade-circle.grade-f { background: #700; border-bottom-color: #200; }

.grade-circle .minus,
.grade-circle .plus {
    position: absolute;
    display: block;
    right: -.75em;
    top: 20%;
    width: 1em;
    height: 1em;
    line-height: .8em;
    text-align: center;
    border-radius: 1em;
    border: 2px solid #FFF;
}

.grade-circle.grade-a .minus { background: #270; }
.grade-circle.grade-b .minus { background: #590; }
.grade-circle.grade-c .minus { background: #da0; }
.grade-circle.grade-d .minus { background: #910; }
.grade-circle.grade-f .minus { background: #900; }

.grade-circle.grade-a .plus { background: #090; }
.grade-circle.grade-b .plus { background: #270; }
.grade-circle.grade-c .plus { background: #590; }
.grade-circle.grade-d .plus { background: #da0; }
.grade-circle.grade-f .plus { background: #910; }

#legion-content .directory-grades tr:nth-child(2n) td.grade .grade-circle .minus,
#legion-content .directory-grades tr:nth-child(2n) td.grade .grade-circle .plus { border-color: #EEE; }

#legion-content .directory-grades tr:hover td.grade .grade-circle .minus,
#legion-content .directory-grades tr:hover td.grade .grade-circle .plus { border-color: #DDD; }

#legion-content .large-grade .grade-circle .minus,
#legion-content .large-grade .grade-circle .plus { border-color: #F8F8F8; }

.gradebook-header {
    margin-bottom: 1em;
    position: relative;
    background: url(http://www.lawyerlegion.com/images/specialist-directory-gradebook-header.jpg);
    background-size: cover;
    box-shadow: 0 0 15px rgba(255, 255, 255, .5) inset, 0 -20px 20px rgba(255, 255, 255, .85) inset;
}

#legion-content .gradebook-header .gradebook-headline-text {
    width: 85%;
    margin: 0 auto;
    text-align: center;
    padding: .625em 0;
    font-size: 24px;
    line-height: 1em;

}

#legion-content .gradebook-header .gradebook-title-lead {
    font-family: 'Open Sans', sans-serif;
    display: block;
    line-height: 1em;
    letter-spacing: -.05em;
}

#legion-content .gradebook-header .gradebook-title {
    font-weight: bold;
    font-size: 2.5em;
    line-height: 1em;
    text-transform: uppercase;
    display: block;
}

#legion-content .gradebook-header .tagline {
    display: block;
    text-align: center;
    font-size: 1.25em;
    font-weight: bold;
    line-height: 3em;
    background: rgba(255, 255, 255, .5);
}

h1 .subtitle {
    display: block;
    font-size: .75em;
    font-family: 'Open Sans', sans-serif;
    padding-left: 1em;
    line-height: 1em;
    border-bottom: 1px solid #CCC;
    padding-bottom: .5em;
}

.back-to-list {
    padding: .5em;
    text-align: right;
    display: block;
    margin-bottom: 1em;
}

#legion-content .large-grade {
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    background: #eee;
    padding: .75em 1em;
    position: relative;
}

.large-grade .grade-circle {
    display: inline-block;
    border-bottom-width: 3px;
    margin-left: 5px;
}

#legion-content .large-grade img {
    position: absolute;
    right: 5%;
    width: 25%;
    height: auto;
    background: #FFF;
    border: 5px solid #FFF;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, .25), 0 0 0 1px rgba(0, 0, 0, .1);
}

#legion-content .large-grade + p {
    margin: 0 0 2em 0;
    padding: .75em 1.9em;
    background: #F8F8F8;
}

.org-grade-images {
    width: 25%;
    margin-top: 1em;
    max-width: 160px;
    float: left;
}

.org-grade-images {
	width: 100%;
	height: auto;
}

.org-grade-info {
  margin: 2em 0 4em 30%;
}

.grade-info-item {
  margin-bottom: 1em;
}

.grade-info-item .item-name {
  font-weight: bold;
  line-height: 1.4em;
}

table.grade-breakdown {
    width: 100%;
    margin: 10px 0 2em 0;
}

.grade-breakdown th {
    padding: 1em;
    text-align: left;
    border-bottom: 1px solid #CCC;
    background: #F8F8F8;
}

.grade-breakdown th.result {
    text-align: center;
}

.grade-breakdown tr:nth-child(2n) {
    background: #EEE;
}

.grade-breakdown .criterion {
    width: 75%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.grade-breakdown .result {
  width 25%;
  text-align: center;
}

.grade-breakdown tbody td {
  padding: .5em 1em;
}

.grade-breakdown tbody .result {
  font-size: 1.4em;
}

.grade-breakdown .fa-circle,
.rubric-breakdown .fa-circle,
.rubric-legend .fa-circle { color: #070; }
.grade-breakdown .fa-circle-o,
.rubric-breakdown .fa-circle-o,
.rubric-legend .fa-circle-o { color: #CC0; }
.grade-breakdown .fa-ban,
.rubric-breakdown .fa-ban,
.rubric-legend .fa-ban { color: #700; }


.rubric-legend {
    margin: 2em 0 .5em 0;
    background: #FFF;
    padding: .25em 0 .75em 0;
    border: 1px solid #CCC;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, .125);
}

.rubric-legend .legend-title {
    display: block;
    font-weight: bold;
    margin-bottom: .75em;
    line-height: 2em;
    padding: 0 1.5em;
    background: #F8F8F8;
}

.rubric-legend .legend-item {
    display: inline-block;
    margin: 0 1.25em;
}

.rubric-legend .legend-item i {
    margin-right: 5px;
}

table.rubric-breakdown {
    width: 100%;
    margin: .25em 0 2em 0;
}

.rubric-breakdown th {
    font-size: 1.125em;
    font-weight: bold;
    width: 100%;
    background: #EEE;
    border: 1px solid #E3E3E3;
    border-bottom: 1px solid #CCC;
    padding: .75em 1.5em;
    text-align: left;
}

.rubric-breakdown td {
    padding: 1em;
    line-height: 1.5em;
    vertical-align: middle;
}

.rubric-breakdown tr:nth-child(2n+1) {
    background: #F8F8F8;
    border-bottom: 1px solid #DDD;
    border-top: 1px solid #DDD;
}

.rubric-breakdown td.result { width: 10%; text-align: center; padding: 0; }
.rubric-breakdown td.description { width: 90%; padding-left: 0; }





/*---------------------- Internet LAVA Portfolio Page styles ----------------------*/

/* Base CTA styles pulled from directory legion.css */

#main aside.cta-sections .side-section {
    width: 32.6667%;
    margin: 0;
    float: left;
}

#main aside.cta-sections .side-section + .side-section {
	margin-left: 1%;
}

#wrapper.portfolio-page,
#wrapper.portfolio-page #main,
#wrapper.portfolio-page #main #container,
#wrapper.portfolio-page div#legion-content {
	width: 100%;
	max-width: 1200px;
}

.portfolio-page #main aside.cta-sections .claim-cta .claim-content a.btn {
    width: 95%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.portfolio-page .lava-cta-section {
	position: relative;
	background: #650914;
	background-image: url(../images/lava-ad-bg.jpg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left bottom;
	border-radius: 5px;
	border: 1px solid #170c10;
	color: #FFF;
	padding: 1em;
	margin-top: 1em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.portfolio-page .lava-cta-section.stuck {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	margin: 0;
	border-radius: 0;
	z-index: 10;
	border-bottom: 1px solid #FFF;
	box-shadow: 0 5px 10px -5px rgba(0, 0, 0, .75);
}

.portfolio-page .lava-cta-section.stuck .lava-ad-text { display: none; }
#wrapper.portfolio-page .lava-cta-section.stuck a.lava-ad   { width: 15%; position: absolute; bottom: 0; left: 0; height: 100%; }
.portfolio-page .lava-cta-section.stuck .lava-logo  { width: 100%; }
.portfolio-page .lava-cta-section.stuck .lava-form  { width: 85%; }


#wrapper.portfolio-page .lava-cta-section a.lava-ad {
	float: left;
	width: 50%;
	padding-right: 2em;
	color: #FFF;
	text-decoration: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.portfolio-page .lava-cta-section .lava-logo {
	display: block;
	position: absolute;
	bottom: 0;
	left: .5%;
	width: 18%;
	max-width: 216px;
	z-index: 1;
}

.portfolio-page .lava-ad-text {
	display: block;
	background: rgba(0, 0, 0, .5);
	text-shadow: .0625em .0625em .25em rgba(0, 0, 0, .5);
	padding: 1.75em 1em;
	margin-left: 40%;
	text-align: center;
	position: relative;
	z-index: 2;
}

.portfolio-page .lava-ad-text .lava-ad-telnum {
	display: block;
	font-size: 1.75em;
	font-weight: 300;
}

.portfolio-page .lava-ad-text .lava-ad-siteurl {
	display: block;
	font-size: 1.125em;
	font-weight: bold;
	max-width: 15em;
	padding-bottom: .5em;
	border-bottom: 1px dotted #FFF;
	margin: 0 auto .5em;
}

.portfolio-page .lava-ad-text .lava-ad-tagline {
	display: block;
	font-style: italic;
}

.portfolio-page .lava-ad-text .soft-break {
	display: block;
}


.portfolio-page .lava-form {
	width: 50%;
	float: right;
}

.portfolio-page .lava-form .form-title {
	display: block;
	font-size: 1.25em;
	line-height: 1.2;
	padding: .25em .5em;
	margin-bottom: .25em;
	border-left: .25em solid #FFF;
	font-style: italic;
}

.portfolio-page .lava-form .inputs {
	padding-right: 6em;
	position: relative;
}

.portfolio-page .lava-form label {
	display: block;
	color: #FFF;
	background: rgba(0, 0, 0, .75);
	padding: .25em;
	font-size: .875em;
	margin: 0;
}

.portfolio-page .lava-form input,
.portfolio-page .lava-form textarea {
	border-radius: 0;
	width: 100%;
	padding: .25em;
	height: 2.25em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.portfolio-page .lava-form textarea {
	min-height: 2.25em;
	max-height: 6.75em;
	min-width: 0;
}

.portfolio-page .lava-form .input-container {
	float: left;
}

.portfolio-page .lava-form .input-container.name,
.portfolio-page .lava-form .input-container.phone,
.portfolio-page .lava-form .input-container.email {
	margin-bottom: .5em;
}

.portfolio-page .lava-form .input-container.phone,
.portfolio-page .lava-form .input-container.email,
.portfolio-page .lava-form .input-container.message {
	margin-left: 1%;
}

.portfolio-page .lava-form .input-container.name	{ width: 33%; }
.portfolio-page .lava-form .input-container.phone	{ width: 28%; }
.portfolio-page .lava-form .input-container.email	{ width: 37%; }
.portfolio-page .lava-form .input-container.website	{ width: 36%; }
.portfolio-page .lava-form .input-container.message	{ width: 63%; }

.portfolio-page .lava-form .lava-form-submit {
	display: block;
	position: absolute;
	right: 0;
	top: 0;
	width: 5em;
	height: 100%;
	background: #ED2024;
	color: #FFF;
	text-align: center;
	font-family: 'Open Sans', Arial, Verdana, sans-serif;
	font-weight: bold;
	line-height: 1.2;
	text-transform: uppercase;
	border: none;
	border-bottom: .25em solid #8E1518;
	cursor: pointer;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.portfolio-page .lava-form .lava-form-submit .text {
	display: block;
	position: absolute;
	left: 0;
	top: 50%;
	width: 100%;
	height: 1.2em;
	margin-top: -.6em;
}

.portfolio-page .lava-form .lava-form-submit:hover,
.portfolio-page .lava-form .lava-form-submit:active {
	background: #900;
	border-bottom-color: #900;
}



.portfolio-page .portfolio {
	margin: 1em 0;
}

.portfolio-page .portfolio .portfolio-header {
	padding: .75em 1.5em;
	margin-bottom: .75em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, .75);
	background: rgba(0, 0, 0, .0625);
	border-left: .5em solid #5A0606;
	box-shadow: inset 0 -.125em 0 rgba(0, 0, 0, .25);
}

.portfolio-page .portfolio .portfolio-header::before,
.portfolio-page .portfolio .portfolio-header::after { content: ''; display: table; }
.portfolio-page .portfolio .portfolio-header::after { clear: both; }

#wrapper.portfolio-page .portfolio-header h1 {
	font-size: 2em;
	font-weight: normal;
	font-style: italic;
	color: #5A0606;
	float: left;
	width: 9.75em;
}

.portfolio-page .portfolio-header .portfolio-header-description {
	display: block;
	width: 60%;
	float: left;
	border-left: 1px dotted rgba(0, 0, 0, .5);
	padding-left: 1.5em;
	margin-left: 1.5em;
	font-style: italic;
	line-height: 1.4;
	font-size: 1.125em;
}

.portfolio-page .project {
	border-bottom: 1px dotted rgba(0, 0, 0, .75);
	padding-bottom: 1em;
	max-width: 960px;
	margin: 0 auto 1em;
}

.portfolio-page .project::before,
.portfolio-page .project::after {
	content: '';
	display: table;
}

.portfolio-page .project::after {
	clear: both;
}

.portfolio-page .screenshot-container {
	position: relative;
	margin: auto;
    transition: all .5s ease;
}

.portfolio-page .screenshot-container.desktop {
	max-width: 960px;
}

.portfolio-page .screenshot-container.tablet {
	max-width: 427.75px;
}

.portfolio-page .screenshot-container.mobile {
	max-width: 331.27px;
}

.portfolio-page .screenshot-container::before,
.portfolio-page .screenshot-container::after {
	content: '';
	display: block;
	width: 122px;
	height: 450px;
	position: absolute;
	bottom: 0;
	pointer-events: none;
}

.portfolio-page .screenshot-container::before {
	background: url(../images/portfolio-laurel-left.png) no-repeat bottom right;
	right: 100%;
}

.portfolio-page .screenshot-container::after {
	background: url(../images/portfolio-laurel-right.png) no-repeat bottom left;
	left: 100%;
}

.portfolio-page .screenshot-display {
	display: block;
	border-radius: 3px;
	background: #181818;
	box-shadow: inset 0 -5px 10px -3px rgba(255, 255, 255, .5);
	padding: 5em 20px 60px;
	position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    transition: all .5s ease;
}

.portfolio-page .toggles {
	font-size: .875em;
	width: 100%;
	padding: .5em;
	position: absolute;
	left: 0;
	top: 0;
	margin-bottom: .5em;
	text-align: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.portfolio-page .toggles .toggles-label {
	display: block;
	padding: .25em;
	color: #FFF;
	font-family: Lora, Georgia, 'Palatino Linotype', serif;
	font-style: italic;
	text-align: center;
	text-shadow: 0 1px 0 rgba(0, 0, 0, .5);
}

.portfolio-page .toggles button.toggle {
	display: inline-block;
	padding: .5em 1em;
	font-family: 'Open Sans', Arial, Verdana, sans-serif;
	text-transform: uppercase;
	color: #FFF;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, .5);
	line-height: 1.2em;
	background: rgba(255, 255, 255, .25);
	border: 1px solid #444;
	border-bottom-width: 2px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 5px 10px -5px rgba(255, 255, 255, .5), inset 0 -5px 10px -5px rgba(0, 0, 0, .5);
	border-radius: 2px;
	cursor: pointer;
	outline: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.portfolio-page .toggles button.toggle .text {
	display: inline-block;
	text-align: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    transition: all .5s ease;
}

.portfolio-page .toggles button.toggle.active,
.portfolio-page .toggles button.toggle.active:hover,
.portfolio-page .toggles button.toggle.active:active {
	background: #000;
	box-shadow: inset 0 0 2px 1px rgba(0, 0, 0, .75), inset 0 0 10px 0 rgba(255, 255, 255, .5);
	cursor: default;
}

.portfolio-page .toggles button.toggle:hover,
.portfolio-page .toggles button.toggle:active {
	background: rgba(255, 255, 255, .5);
	text-shadow: 0 -1px 0 rgba(0, 0, 0, .95);
}

.portfolio-page .toggles button.toggle::before {
	font-family: FontAwesome;
	display: inline-block;
	margin-right: .5em;
}

.portfolio-page .toggles button.toggle.desktop::before { content: '\f108'; }
.portfolio-page .toggles button.toggle.mobile::before { content: '\f10b'; }
.portfolio-page .toggles button.toggle.tablet::before { content: '\f10a'; }

.portfolio-page .screenshot-display .screenshot-image {
	display: block;
	opacity: 0;
	position: relative;
	overflow: hidden;
	padding: 0;
	width: 100%;
	height: 0;
    transition: all .5s ease;
}

.portfolio-page .screenshot-container.desktop .screenshot-image.desktop,
.portfolio-page .screenshot-container.tablet .screenshot-image.tablet,
.portfolio-page .screenshot-container.mobile .screenshot-image.mobile {
	opacity: 1;
	height: 517px;
}

.portfolio-page .screenshot-display .screenshot-image img {
	display: block;
	width: auto;
	height: 517px;
	position: absolute;
	bottom: 0;
}

.portfolio-page .screenshot-display::after {
	content: '';
	display: block;
	border-radius: 50px;
	height: 30px;
	width: 30px;
	background: #555;
	box-shadow: inset 0 -5px 10px -5px rgba(255, 255, 255, .875);
	border: 2px solid rgba(0, 0, 0, .75);
	border-top-width: 4px;
	position: absolute;
	bottom: 15px;
	left: 50%;
	margin-left: -15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    transition: all .25s ease;
}

.portfolio-page .screenshot-container.desktop .screenshot-display::after  {
	width: 160px;
	height: 10px;
	bottom: 25px;
	margin-left: -80px;
	box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0);
	border: 0px solid rgba(0, 0, 0, 0);
}

#wrapper.portfolio-page #main .screenshot-site-link {
	display: block;
	font-size: 1.5em;
	margin: .5em auto;
	background: #EEE;
	color: #333;
	text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
	border-left: .5em solid #5A0606;
	box-shadow: inset 0 -.125em 0 rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .75);
	position: relative;
	text-decoration: none;
    transition: all .25s ease;
}

.portfolio-page .screenshot-site-link::before,
.portfolio-page .screenshot-site-link::after {
	content: '';
	display: table;
}

.portfolio-page .screenshot-site-link::after {
	clear: both;
}

.portfolio-page .screenshot-site-link .site-description {
	display: block;
	font-family: Lora, Georgia, 'Palatino Linotype', serif;
	font-style: italic;
	font-size: 1.125em;
	line-height: 1.2em;
	padding: .75em 10em .75em 1em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.portfolio-page .screenshot-site-link .site-description span::before {
	content: '\2014';
	margin: 0 .25em 0 0;
}

.portfolio-page .screenshot-site-link .site-link-button {
	display: block;
	position: absolute;
	right: 0;
	top: 0;
	width: 10em;
	height: 100%;
	font-size: 1em;
	font-weight: bold;
	line-height: 1.2;
	text-align: center;
	padding: .375em .75em;
	background-color: rgba(0, 0, 0, .25);
	background-image: linear-gradient(to right, #5A0606 0%, #5A0606 50%, rgba(90, 6, 6, 0) 50%, rgba(90, 6, 6, 0) 100%);
	background-size: 20em 100%;
	background-position: -10em center;
	background-repeat: no-repeat;
	color: #333;
	border-left: 1px solid rgba(0, 0, 0, .5);
	box-shadow: inset .5em 0 .5em -.5em rgba(0, 0, 0, .5);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    transition: all .25s ease;
}

.portfolio-page .screenshot-site-link .site-link-button .text {
	display: block;
	position: absolute;
	width: 100%;
	top: 50%;
	left: 0;
	margin-top: -.6em;
}

.portfolio-page .screenshot-site-link .site-link-button .text::after {
	content: '\f08e';
	font-family: FontAwesome;
	display: inline-block;
	margin-left: .5em;
}

#wrapper.portfolio-page #main .screenshot-site-link:hover,
#wrapper.portfolio-page #main .screenshot-site-link:active {
	border-left-width: .75em;
	background: #E3E3E3;
}

.portfolio-page .screenshot-site-link:hover .site-link-button,
.portfolio-page .screenshot-site-link:active .site-link-button {
	background-color: rgba(0, 0, 0, .125);
	background-position: 0em center;
	color: #FFF;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, .5);
}


.portfolio-page .project .law-firm {
	padding: 1em;
	background: url(../images/portfolio-attorneys-bg.png);
	box-shadow: inset 0 0 2em -.5em rgba(0, 0, 0, .375);
	border: 1px solid #CCC;
}

.portfolio-page .project .law-firm::before,
.portfolio-page .project .law-firm::after { content: ''; display: table; }
.portfolio-page .project .law-firm::after { clear: both; }

.portfolio-page .project .firm-info {
	width: 48%;
	background: rgba(255, 255, 255, .25);
	float: left;
	font-size: 1.25em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.portfolio-page .project .firm-info .firm-name {
	display: block;
	font-weight: bold;
	border-left: .25em solid rgba(0, 0, 0, .5);
	background: rgba(0, 0, 0, .125);
	padding: .3125em 1em;
	margin-bottom: .25em;
}

.portfolio-page .project .firm-info .phone {
	display: block;
	padding: .5em;
	margin: .25em 0;
	background: #5A0606;
	color: #FFF;
	font-size: 1.25em;
	font-weight: bold;
	text-align: center;
	width: 10em;
}

.portfolio-page .project .firm-info .adr {
	line-height: 1.4;
	padding: .5em 1em;
	border-left: .25em solid #CCC;
}

.portfolio-page .project .firm-info .street-address {
	display: block;
}

.portfolio-page .project .attorneys {
	width: 50%;
	float: right;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.portfolio-page .project .attorneys::before,
.portfolio-page .project .attorneys::after { content: ''; display: table; }
.portfolio-page .project .attorneys::after { clear: both; }

.portfolio-page .project .attorneys .attorneys-title {
	display: block;
	font-size: 1em;
	border-left: .25em solid rgba(0, 0, 0, .5);
	background: rgba(0, 0, 0, .125);
	padding: .5em 1em;
	margin-bottom: .5em;
}

.portfolio-page .project .attorneys .attorney {
	display: block;
	float: left;
	width: 24.25%;
	max-width: 108px;
	position: relative;
	border: 2px solid #FFF;
	border-bottom-width: 4px;
	background: #000;
	padding-bottom: 2.25em;
	box-shadow: 0 0 2px 0px rgba(0, 0, 0, .5);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    transition: all .25s ease;
}

.portfolio-page .project .attorneys .attorney:hover,
.portfolio-page .project .attorneys .attorney:active {
	border-color: #EEE;
	border-bottom-color: #ED2024;
	box-shadow: 0 0 3px 1px rgba(0, 0, 0, .625);
}

.portfolio-page .project .attorneys .attorney + .attorney {
	margin-left: 1%;
}

.portfolio-page .project .attorneys .attorney img {
	display: block;
	width: 100%;
	height: auto;
	position: relative;
	z-index: 1;
}

.portfolio-page .project .attorneys .attorney .attorney-name {
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: .75em .5em;
	background: #333;
	background: rgba(0, 0, 0, .75);
	color: #FFF;
	font-size: .875em;
	text-align: center;
	z-index: 2;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    transition: all .25s ease;
}

.portfolio-page .project .attorneys .attorney:hover .attorney-name,
.portfolio-page .project .attorneys .attorney:active .attorney-name {
	background: rgba(0, 0, 0, .95);
}




@media screen and (max-width: 1200px) {

	html, body, #wrapper.portfolio-page {
		overflow-x: hidden;
	}

	#wrapper.portfolio-page #main {
		width: 95%;
	}

}




@media screen and (max-width: 960px) {

	.portfolio-page .screenshot-container.desktop .screenshot-image.desktop,
	.portfolio-page .screenshot-container.tablet .screenshot-image.tablet,
	.portfolio-page .screenshot-container.mobile .screenshot-image.mobile {
		height: auto;
	}

	.portfolio-page .screenshot-display .screenshot-image img {
		height: auto;
		position: relative;
	}

}




@media screen and (max-width: 920px) {

	.portfolio-page #main aside.cta-sections .claim-cta .claim-title {
		font-size: 15px;
	}

	.portfolio-page #main aside .claim-cta .claim-content ul li {
		font-size: 11px;
		line-height: 2em;
		background-position: 16px 4px;
	}

}




@media screen and (max-width: 920px) {

	#wrapper.portfolio-page .portfolio-header h1 {
		float: none;
		width: 100%;
	}

	.portfolio-page .portfolio-header .portfolio-header-description {
		width: 100%;
		float: none;
		border-left: none;
		border-top: 1px dotted rgba(0, 0, 0, .5);
		padding-left: 0;
		margin-left: 0;
		margin-top: .75em;
		padding-top: .75em;
	}

}




@media screen and (max-width: 800px) {

	#wrapper.portfolio-page .lava-cta-section a.lava-ad	{ width: 40%; }
	.portfolio-page .lava-form							{ width: 60%; }

	.portfolio-page .lava-ad-text {
		margin-left: 0;
		padding: .5em 1em;
	}

	.portfolio-page .lava-cta-section .lava-logo {
		width: 216px;
	}

	.portfolio-page .lava-ad-text .lava-ad-siteurl {
		border-bottom: none;
		padding-bottom: 0;
	}

	.portfolio-page .lava-ad-text .lava-ad-tagline {
		display: none;
	}

}




@media screen and (min-width: 760px) {

	.portfolio-page .lava-cta-section.stuck .lava-form .input-container.name	{ width: 16%; }
	.portfolio-page .lava-cta-section.stuck .lava-form .input-container.phone	{ width: 16%; margin-left: 1%; }
	.portfolio-page .lava-cta-section.stuck .lava-form .input-container.email	{ width: 17%; margin-left: 1%; }
	.portfolio-page .lava-cta-section.stuck .lava-form .input-container.website	{ width: 17%; margin-left: 1%; }
	.portfolio-page .lava-cta-section.stuck .lava-form .input-container.message	{ width: 30%; margin-left: 1%; }

}



@media screen and (max-width: 760px) and (orientation: landscape) {

	.portfolio-page .lava-cta-section {
		padding: .5em 1em;
	}

	.portfolio-page .lava-form .form-title {
		font-size: 1em;
	}

	.portfolio-page .lava-cta-section.stuck .lava-form .input-container.website,
	.portfolio-page .lava-cta-section.stuck .lava-form .input-container.message	{
		height: 0;
		overflow: hidden;
		transition: all .25s ease;
	}

	.portfolio-page .lava-cta-section.stuck .lava-form.focused .input-container.website,
	.portfolio-page .lava-cta-section.stuck .lava-form.focused .input-container.message {
		height: 3.5em;
	}

}




@media screen and (max-width: 760px) {

	#main aside.cta-sections .side-section {
	    width: 49%;
	}

	#main aside.cta-sections .side-section:nth-child(3) {
		margin-left: 25%;
		margin-top: .667em;
	}

}




@media screen and (max-width: 640px) {

	#wrapper.portfolio-page .lava-cta-section a.lava-ad {
		width: 27%;
		position: absolute;
		left: 0;
		bottom: 0;
		height: 100%;
	}

	.portfolio-page .lava-form { width: 70%; }

	.portfolio-page .lava-cta-section .lava-logo { width: 100%; }

	.portfolio-page .lava-ad-text { display: none; }



	#wrapper.portfolio-page #main .screenshot-site-link {
		font-size: 1.125em;
	}

	.portfolio-page .screenshot-site-link .site-link-button {
		width: 100%;
		height: auto;
		position: relative;
		border-left: none;
		border-top: 1px solid rgba(0, 0, 0, .5);
		box-shadow: inset 0 .5em .5em -.5em rgba(0, 0, 0, .5);
		padding: .75em;
		background-size: 80em 100%;
		background-position: -40em center;
	}

	.portfolio-page .screenshot-site-link .site-link-button .text {
		position: static;
		margin-top: 0;
	}

	.portfolio-page .screenshot-site-link .site-description {
		padding-right: 1em;
	}

	.portfolio-page .project .firm-info,
	.portfolio-page .project .attorneys {
		width: 100%;
		float: none;
	}

}




@media screen and (max-width: 600px) {

	#wrapper.portfolio-page .lava-cta-section a.lava-ad {
		width: 100%;
		z-index: 1;
	}

	#wrapper.portfolio-page .lava-cta-section .lava-logo,
	#wrapper.portfolio-page .lava-cta-section.stuck .lava-logo { width: 150px; }

	#wrapper.portfolio-page .lava-cta-section .lava-form {
		float: none;
		width: 100%;
		position: relative;
		z-index: 3;
	}

	.portfolio-page .lava-form .inputs {
		padding-right: 0;
		padding-bottom: 4em;
	}

	.portfolio-page .lava-form .lava-form-submit {
		top: auto;
		bottom: 0;
		height: 3em;
		width: 7.5em;
	}

}




@media screen and (max-width: 600px) and (orientation: landscape) {

	.portfolio-page .lava-form .inputs {
		padding-bottom: 3em;
	}

	.portfolio-page .lava-form .lava-form-submit {
		height: 2.5em;
	}

}




@media screen and (max-width: 500px) {

	#main aside.cta-sections .side-section {
	    width: 98%;
	    margin: .333em 1%;
	    float: none;
	}

	#main aside.cta-sections .side-section:nth-child(3) {
		margin-left: 1%;
		margin-top: .333em;
	}

	.portfolio-page #main aside.cta-sections .claim-cta .claim-title {
		font-size: 13px;
		padding: .25em;
	}

	.portfolio-page #main aside .claim-cta .claim-content ul::before,
	.portfolio-page #main aside .claim-cta .claim-content ul::after {
		content: '';
		display: table;
	}

	.portfolio-page #main aside .claim-cta .claim-content ul::after {
		clear: both;
	}

	.portfolio-page #main aside .claim-cta .claim-content ul li {
		font-size: 10px;
		width: 50%;
		padding: .25em 1em .25em 1.25%;
		background: none;
		float: left;
		line-height: 1.375em;
	    -webkit-box-sizing: border-box;
	    -moz-box-sizing: border-box;
	    box-sizing: border-box;
	}

	.portfolio-page #main aside .claim-cta .claim-content ul li::before {
		font-family: FontAwesome;
		content: '\f00c';
		color: #107B0D;
		margin-right: .5em;
	}

	.portfolio-page #main aside.cta-sections .claim-cta .claim-content a.btn {
		padding: .333em;
	}

	.portfolio-page .portfolio-header .portfolio-header-description {
		font-size: .9375em;
	}

}




@media screen and (max-width: 400px) {

	.portfolio-page .toggles button.toggle {
		font-size: inherit;
	}



}






































/**********************RESPONSIVE STYLES*************************/

/*===============Home===============*/
/*
	Break for people into 2 lines
*/
@media screen and (max-width: 600px){
	#for-people .for-content{ width: 50%; }
	#for-people .for-content#for-orgs { width: 100%; }
	
	#for-attorneys.for-content p.for-title {
		-webkit-border-radius: 0 5px 5px 0;
		-moz-border-radius: 0 5px 5px 0;
		border-radius: 0 5px 5px 0;
	}
	
	#for-orgs.for-content p.for-title{
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		border-left: 1px solid #d8d3bf;
	}
}

/*
	Stack for people
*/
@media screen and (max-width: 400px){
	#for-people .for-content{ 
		width: 100%;
		float: none;
	}
	
	#for-public.for-content p.for-title,
	#for-attorneys.for-content p.for-title{
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		border-left: 1px solid #d8d3bf;
	}
}

/*===============Legal Associations Pages===============*/
/*
	Drop button links below logo
*/
@media screen and (max-width: 550px){
	.assoc-utility-links{ clear: both; }
}

/*===============Research the Law===============*/
/*
	Reduce size of thumbnail
*/
@media screen and (max-width: 400px){
	.practice .head .thumb{
		width: 77px;
		height: auto;
	}
	
	#legion-content h3 {
		font-size: 1.2em;
	}
}

/*===============General Styles===============*/
@media screen and (max-width: 750px){
	.contact-form{
		width: 250px;
		margin: 15px auto;
	}
	
	.contact-form textarea{
		height: 20em;
		max-height: 20em;
		resize: none;
	}
}

@media screen and (max-width: 550px){
	@font-face {
	   font-family: 'IconicFill';
		src: url('../fonts/iconic_fill.eot');
		src: url('../fonts/iconic_fill.eot?#iefix') format('embedded-opentype'),
			 url('../fonts/iconic_fill.woff') format('woff'),
			 url('../fonts/iconic_fill.ttf') format('truetype'),
			 url('../fonts/iconic_fill.svg#iconic') format('svg');
		font-style: normal;
		font-weight: normal;
	}
	
	#mobile-menu [data-icon]:before {
		font-family: IconicFill;
		content: '\e055';
		margin-right: .5em;
		font-weight: normal;
	}
}

@media screen and (max-width: 400px){
	.contact-form.intake{ width: 250px; }
	.contact-form.intake input.textfield ,
	.contact-form.intake select{ width: 100%; }
	
}