/*============================================
 * Bootstrap Overrides
 * Project: Ayres Associates
 *
 *  #Page Header
 *	#Buttons
 *  #Blockquotes
 *  #Tabs
 *  #Carousel
 *	#Accordion
 *	#Tooltip
 * ==========================================*/

.container {
 	max-width: 1002px;
 }

 /*============================================
 * Page Header
 * ==========================================*/

.page-header {
	height: 120px;
	margin: 0;
	padding: 0;
	background-color: #003f72;
	border-bottom:none;
}

/* Search Input Group */

.page-header input[type=search] {
	background: #eeede9;
	border: 0;
	border-radius: 3px !important;
	border-top: 1px solid #bfbebb;
	overflow: hidden;
	position: relative;
}

.page-header .site-search {
	padding-right: 0;
}

.page-header input[type=search]:hover {
	box-shadow: inset 0 0 10px rgba(146, 143, 132, 0.2);
}

.page-header input[type=search]:active,
.page-header input[type=search]:focus {
	background: #fff;
	border-bottom: 1px solid #eeeeee;
	box-shadow: inset 0 0 10px #eeede9;
}

.page-header .input-group {
	width: 100%;
}

.page-header .input-group-addon {
	background: 0;
	border: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.page-header .input-group-addon a {
	color: #a19f96;
	margin-top: 3px;
}

.form-control:focus {
	border: 0;
	box-shadow: none;
}

#searchform input[type="submit"] {
	background: url('../images/icon-search.png') 50% 50% no-repeat;
	border: 0;
	height: 34px;
	outline: 0;
	position: absolute;
	right: 0;
	top: 0;
	width: 34px;
	/*filter: chroma(color=#0000aa);*/
}

#searchsubmit {
	text-indent: -9999px;
}

/*============================================
 * Buttons
 * ==========================================*/

.btn {
	border-radius: 3px;
	font-family: 'Factoria', serif;
	font-size: 19px;
	font-weight: normal;
	min-width: 235px;
	padding: 8px 20px;
}


.btn.sunglow {
	background: #FCD450;
	color: #000;
	box-shadow: 0 0 0px 0.5px #00000073;
    min-width: auto;
}

.btn.sunglow:hover {
	background: #0073CF;
}

.btn.sunglow:active {
	background: #003F72;
	color: #fff;
}

.btn.blue {
	background: #003f72;
	color: #fff;
}

.btn.blue:hover {
	background: #0073CF;
}

.btn.blue:active {
	background: #113a65;
}

.btn.orange {
	background: #E98300;
	color: #fff;
}

.btn.orange:hover {
	background: #db7337;
}

.btn.orange:active {
	background: #a54e1c;
}

.btn.white {
	background: #fff;
	box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.1);
	color: #63625c;
}

.btn.white:hover { background: #eae8e1; }
.btn.white:active { background: #bfbbb0; }

.btn.btn-sm {
	font-size: 12px;
}


/*============================================
 * Blockquotes
 * ==========================================*/

blockquote {
	border-left: 0;
	color: #4d4f53;
	padding: 0;
	text-align: left;
}

blockquote p {
	font-size: 0.875em;
	line-height: 22px;
}

blockquote small:before {
	display: none;
}

blockquote.testimonial .testimonial-content {
	background-color:#fff;
	background-position: right bottom ;
	border-radius: 3px;
	box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.1);
	padding: 25px;
	position: relative;
	margin-bottom: 10px;
}

blockquote.testimonial .testimonial-content:after {
	border-left: 15px solid transparent;
	border-right: 15px solid transparent;
	border-top: 15px solid #fff;
	content: "";
	height: 0;
	left: 45px;
	position: absolute;
	top: 100%;
	width: 0;
}

blockquote.bio p {
	background: #E0E1DD;
	background-position : calc(100% + 20px) 0;
	border-radius: 3px;
	box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.1);
	padding: 25px;
	margin-bottom: 10px;
	position: relative;
}

blockquote.bio p:after {
	border-left: 15px solid transparent;
	border-right: 15px solid transparent;
	border-top: 15px solid #E0E1DD;
	content: "";
	height: 0;
	left: 45px;
	position: absolute;
	top: 100%;
	width: 0;
}

blockquote.testimonial small,
blockquote.bio small {
	padding-top: 10px;
}

blockquote.testimonial a {
	color: #0073CF;
	font-style: italic;
}

blockquote.bio span {

	font-style: italic;
}


/*============================================
 * Tabs
 * ==========================================*/

/* Default Tabs */

.nav-tabs {
	border-bottom: 0;
	font-size: 16px;
	margin-top: -42px;
}

.nav-tabs:before {
	content: '';
	display: block;
}

.nav-tabs li {
	margin-right: 5px;
}

.nav-tabs > li > a {
	background: #003F72;
	color: #fff;
	font-family: 'Factoria', serif;
	font-size: 1.0em;
	margin: 0;
	position: relative;
}

.nav-tabs > li > a:hover {
	background: #003F72;
	border: 1px solid #003F72;
	color: #fff;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
	background: #E0E1DD;
	border-radius: 0;
	margin-top: 0;
}

.nav-tabs > li.active:before  {
	background: #E98300;
	bottom: 100%;
	content: '';
	height: 5px;
	position: absolute;
	width: 100%;
	z-index: 1;
}

/* Projects Tabs */

.projects .nav-tabs {
	border-bottom: 1px solid #f5f5f5;
}

.projects .nav-tabs > li.active > a,
.projects .nav-tabs > li.active > a:hover,
.projects .nav-tabs > li.active > a:focus {
	background: #fff;
	border-left: 1px solid #e1e1e1;
	border-right: 1px solid #e1e1e1;
}

.projects .tab-content {
	border-bottom: 1px solid #e1e1e1;
	border-left: 1px solid #e1e1e1;
	border-right: 1px solid #e1e1e1;
	padding: 30px;
}

/*============================================
 * Carousel
 * ==========================================*/

/* Homepage Carousel */

#carousel-home .carousel-inner > .item > img,
#carousel-home .carousel-inner > .item > a > img {
	height: auto;
	width: 100%;
}

#carousel-home .carousel-control {
	background: rgba(0, 0, 0, 0.5);
	height: 90px;
	margin-top: -45px;
	opacity: 1;
	top: 50%;
	width: 50px;
}

#carousel-home .glyphicon-chevron-right {
	margin-top: -10px;
	right: 35%;
	top: 50%;
}

#carousel-home .glyphicon-chevron-left {
	left: 35%;
	margin-top: -10px;
	top: 50%;
}

.indicator-container {
	background: url('../images/bg-careers.png');
}

.indicator-container .carousel-indicators {
	bottom: 0;
	margin-bottom: 0;
	position: relative;
}

.indicator-container .carousel-indicators li {
	background: #fff;
	border: 0;
}

.indicator-container .carousel-indicators .active {
	background: #ffc61f;
	height: 10px;
	margin: 1px;
	width: 10px;
}

/* Careers Carousel */

#carousel-careers .carousel-control.left,
#carousel-careers .carousel-control.right {
	top: 35%;
}



/* General Carousel */

.carousel-control.left,
.carousel-control.right {
	background: 0;
	height: 20px;
	margin-top: -10px;
	top: 50%;
	width: 20px;
}

.carousel-control .glyphicon-chevron-left {
	left: -30px;
	top: 0;
}

.carousel-control .glyphicon-chevron-right {
	right: -30px;
	top: 0;
}

/*============================================
 * Accordion
 * ==========================================*/

/* Default Accordion */

.panel {
	border: 0;
	box-shadow: none;
}

.panel-title a:hover {
	color: #003f72;
}


.panel-default > .panel-heading {
	background: 0;
	border: 0;
	border-bottom: 1px solid #d8d5ca;
	border-radius: 0;
	padding: 0;
}

.panel-default > .panel-heading + .panel-collapse .panel-body {
	border-top: 0;
}

/* Job Posting Accordion */

.job-postings h4 {
	font-size: 1.125em;
	margin: 0;
}

.job-postings small {
	color: #63625c;
	font-weight: normal;
}

.job-postings a {
	color: #63625c;
}

.page-footer .panel-group .panel, .page-footer .panel-group .panel-default {
	background: none;
}

/*============================================
 * Tooltip
 * ==========================================*/

.tooltip {
	left: 0;
}

.tooltip-inner {
	background: #63625c;
	height: 140px;
	padding: 30px;
	max-width: 380px;
	width: 380px;
}

.tooltip.in {
  opacity: 1.0;
  filter: alpha(opacity=100);
}

.tooltip.top {
	margin-left: 150px;
}

.tooltip.top .tooltip-arrow {
	left: 40px;
	margin-left: -5px;
  	border-top-color: #63625c;
  	border-width: 5px 5px 0;
}



/*============================================
 * LABELS
 * ==========================================*/
.label-orange {
	background: #E98300;
}
