.clear-btn {
	border-radius: 5px;
	border: 1px solid white;
	padding: 10px 35px;
	background: transparent;
	color: white;
	margin: 40px 0 100px 0;
	text-transform: uppercase;
}
.page-header h1{
	margin-top: 0;
}
/* TOP BAR ON TEMPLATE */
.lead-masthead{
	background: #C33A32;
	font-weight: 400;
	color: white;
	line-height: 2.4;
	font-size: .75em;
	/* text-transform: uppercase; */
	position:relative;
}
.lead-masthead a{
	color: white;
}
#main-nav .container{
	position: relative; /* make sub elements respect container */
	z-index:1;
}
/* MAKE NAV ITEM STICK TO RIGHT */
.navbar-questions{
	float: none;
	position: absolute;
	right: 15px;
	top: 0;
}
.nav {
	display:block;
}
.nav.navbar-nav li > a{
	padding: 15px 20px;
	min-height: 116px;
}
.input-group .fa-search {
	position: absolute;
	top: 11px;
	left: 15px;
	z-index: 2;
	font-size: 2em;
	color:#a5a5a5;
}
.input-group .form-control {
	padding-left:50px;
}
time{
	font-family: 'Roboto Slab', serif;
	font-weight: 500;
}
#contract-nav{
	font-size: 1.15em;
	/*margin-bottom: 24px;*/
}
.related-portfolios {
	position: relative;
}
.related-portfolios .new-icon {
	position: absolute;
	top: 1px;
	right: 7px;
	display: block;
	width: 28px;
	height: 14px;
	z-index: 9999;
	background: url( /images/new-icon.png );
}
section {
	margin-bottom: 32px;
	position:relative;
}
section.youtube iframe {
	width: 100%;
	max-width: 560px;
	height: 315px;
	margin: 0 auto;	
}
section h2{ /* customize h2 inside a section tag */
	border-bottom: 1px solid #D8D9DA;
	padding-bottom: 8px;
	margin-bottom: 0px;
}
section h2 a {
	color:#C33A32;
}
.section-body{
	padding-top: 22px;
	overflow:visible;
}
.section-body h3:first-child{
	margin-top: 0;
}
.thumbnail{
	margin-bottom: 6px; 
}
.thumbnail + p{
	margin-bottom: 22px;
}
/* make the contractor logo bleed the edge and add shodows */
.thumbnail .contractor-logo,
.contractor.inactive .contractor-logo:hover{
	display: block;
	margin: 0px;
	background-color: #fff;
	padding: 10px;
	
	-webkit-box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.35);
	-moz-box-shadow:    0px 0px 4px 0px rgba(0, 0, 0, 0.35);
	box-shadow:         0px 0px 4px 0px rgba(0, 0, 0, 0.35);

	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	
	transition: box-shadow 200ms;
	
}
.thumbnail .contractor-logo:hover{

	-webkit-box-shadow: 0px 0px 8px 0px rgba(50, 108, 255, 0.6);
	-moz-box-shadow:    0px 0px 8px 0px rgba(50, 108, 255, 0.6);
	box-shadow:         0px 0px 8px 0px rgba(50, 108, 255, 0.6);
	
	transition: box-shadow 200ms;	
}
.thumbnail .caption a{
	color: #777;
}
.thumbnail .caption a:hover{
	color: #555;
}
.thumbnail .caption{
	font-size: 1.2em;
}
.thumbnail .contractor-meta{
	display: inline-table;
	padding: 6px 10px;
}
.thumbnail .contractor-meta:first-child{
	border-right: 1px solid #ddd;
}
/* OVERRIDE BASE LINK STYLES */
.contractor-link,
.contractor.inactive .contractor-link:hover{
	color: #b9b9b9;
}
.contractor-link:hover{
	color: #777;
}
a.contractor-link {
	white-space: normal;
}
/* INCACTIVE CONTRACTOR STYLES */
.contractor.inactive{
	opacity: .5;
	cursor: default;
}
.contractor.inactive a{
	cursor: default;
}
.contractor.inactive .contractor-meta:first-child{
	display: block;
	border: none;
}
.state-list {
	margin-top:15px;
}
.state-list li {
	border-color:transparent;
	border-radius:5px;
	-webkit-transition: all .25s ease;
	-o-transition: all .25s ease;
	transition: all .25s ease;
	cursor:pointer;
	color:#5A6F94;
}
.state-list li:hover {
	background:#D5DAE3;
}
.state-list li.active {
	background:#668bb5;
	color:white;
	border-color:transparent;
}

/* popover styles */
.jr-popover {
	background:white;
	padding:15px;
	border:1px solid #AAAAAB;
	border-radius:8px;
	color:#AAAAAB;
	/*opacity:0;*/
	-webkit-transition:opacity .25s ease;
	-o-transition:opacity .25s ease;
	transition:opacity .25s ease;
	position:absolute;
	box-shadow:2px 2px 2px rgba(0,0,0,.25);
}

.jr-popover.show-me {
	/*opacity:1;*/
}

.jr-popover.top:after, .jr-popover.top:before {
	top:100%;
	left:50%;
	border: solid transparent;
	content: " ";
	height:0;
	width:0;
	position:absolute;
	pointer-events: none;
}

.jr-popover.top.arrow-right:after, .jr-popover.top.arrow-right:before {
	left:initial;
	right:10px;
}

.jr-popover.top:after {
	border-color:rgba(136,183,213,0);
	border-top-color:white;
	border-width:9px;
	margin-left:-9px;
}

.jr-popover.top:before {
	border-color:rgba(194,225,245,0);
	border-top-color:#b1b3b8;
	border-width:10px;
	margin-left:-10px;
}

.animate-me {
	-webkit-transition:all .25s ease;
	-o-transition:all .25s ease;
	transition:all .25s ease;
}

.animate-me.ng-hide-remove-active, 
.animate-me.ng-hide-add {
	opacity:1;
}
.animate-me.ng-hide-add-active,
.animate-me.ng-hide-remove {
	opacity:0;
}

.contact-info {
	list-style-type:none;
	padding:15px 5px;
}
.contact-info li {
	margin-bottom:5px;
}

.contact-info i {
	color:inherit;
	margin-right:8px;
	width:15px;
}

.single-logo {
	box-shadow: 0 0 10px rgba(0,0,0,.25);
	margin-top: 15px;
}
.single-logo img {
	padding:15px;
	width:100%;
}

.navbar-brand {
	padding:5px;
	margin-left:20px !important;
	height:100px;
}

.navbar-brand img {
	max-width: 253px;
	margin-top: 10px;
}

/* TEMPLATE FOOTER STYLES */
footer{
	padding-top: 32px;
	font-size: .9em;
	margin-bottom: 100px;
	color: #808189;
}
footer h2,
footer h4,
footer h4 a{
	margin-top: 0;
	color: #586D93;
}
footer a{
	color: #808189;
	display: block;
	margin-bottom: 8px;
}
footer a:hover{
	color: #668BB5;
}

/* modals */
.modal-body input {
	/*margin-bottom:15px;*/
}

.list-unstyled {
	overflow:auto;
}

.social-float {
	position:fixed;
	top:40%;
	right:15px;
	z-index:10000;
	background-color: #002855;
	padding:5px;
	opacity:0.5;

	-o-transition: opacity .2s ease-in;
	-ms-transition: opacity .2s ease-in;
	-moz-transition: opacity .2s ease-in;
	-webkit-transition: opacity .2s ease-in;

	transition: opacity .2s ease-in;
}
.social-float:hover {
	opacity:1;
}

.social {
	height: 28px;
	width: 28px;
	opacity: 0.6;

	-o-transition: opacity .5s ease-in;
	-ms-transition: opacity .5s ease-in;
	-moz-transition: opacity .5s ease-in;
	-webkit-transition: opacity .5s ease-in;

	transition: opacity .5s ease-in;

}

.social:hover{
	opacity: 1;
}

.navbar {
	margin-bottom: 0px !important;
}

/* adding for hamburger nav on mobile */
.navbar-collapse {
	margin-left: 100px !important;
}
