﻿form {
  padding: 20px 0;
	float: right;
	position: absolute;
	right: -14%;
}

input.st-search-input {
  float:right;
  display: block;
  font-size: 1em;
  font-family: 'Lato';
  padding: 0 0 0 5px;
  height: 2em;
  width: calc(340px - 6em);
  color: #666;
  border: 1px solid #ff9e16;
  border-radius: 5px 0 0 5px;
  outline: none;
  background: #fff;
  border-right: none;
}

.st-result-path,
.st-result-body,
.st-result-header { line-height: 1em; }

.st-result-path {
	font-size: .7em;
	margin: 0;
	color: #004c93;
}

.st-result-body {
	font-size: .9em;
	line-height: 1.4em;
	margin:0;
	color: #595959;
}

.tags {
	font-size: .7em;
	color: #004c93;
	display: inline;
	padding: 3px 5px;
	margin-right: 5px;
	border: 1px solid #004c93;
	border-radius: 3px;
}

.st-results-num,
.st-number {
	color: #595959;
	font-size: 18pt;
	font-weight: normal;
	margin-bottom: 4px;
}

.st-number { color: #ff9e16; }

.st-page-number,
.st-page-number:hover { color: #595959; }

.st-result-header:link,
.st-result-link:link,
.st-result-header:visited,
.st-result-link:visited
{
	border-bottom: 1px transparent;
	transition: color .2s, border .2s;
	text-decoration: none;
}

.st-result-header:hover,
.st-result-link:hover,
.st-result-header:active,
.st-result-link:active
{
	border-color: #ff9e16;
	color: #ff9e16;
}
.st-page
{
	padding: 2px 8px;
	margin: 20px 5px;
	border: none;
}

.st-page:link,
.st-page:visited
{
	color: #3278C8;
	text-decoration: none;
	border: none;
	border-radius: 5px;
	transition: all .2s;
}

.st-page:hover,
.st-page:active
{
	background-color: #ff9e16;
	color: #fff;
}

.current,
.current:hover,
.current:active
{
	color: #ff9e16;
	border-color: #ff9e16;
	background-color: #fff;
}

.st-page-links
{
	margin: 1% 0;
}

form.home-search {
	display: block;
	padding: 0 15px;
	font-size: 18pt;
}

button.st-fav {
    background: #fff;
    border: 1px solid #ff9e16;
    border-radius: 0;
    color: #ff9e16;
    transition: all .2s;
    float: right;
    font-size: 1em;
    height: 2em;
    width: 3em;
    border-right: 0;
    transition: all .2s ease;
}

button.st-fav:after {
	content: '';
	position: absolute;
	height: 10px;
	width: 5px;
	border-width: 0 2px 2px 0;
	border-style: solid;
	border-color: #ff9e16;
	transform: rotate(45deg);
	top: 11px;
	right: calc(5px + 4% + 3em);
	transition: all .2s ease;
}

.checkHide:after {
    display: none;
}

select {
    width: 100%;
    display: block;
    font-size: 1em;
    color: #333;
    overflow: hidden;
    border: none;
}

option {
	color: #333;
	padding: 6px 5px;
    transition: all .2s ease;
}

option.indent {
    padding-left: 15px;
    font-size: .8em;
}

option:hover, .filterSelect {
    background-color: #ff9e16;
    color: #fff;
}

.select-filter {
	padding: 3px 0 !important;
	margin: 0;
	border-radius: 3px;
	background-color: #eceff1;
    transition: all .2s ease;
}

.select-filter select {
	padding: 5px 8px;
	width: 100%;
	border: none;
	background-color: transparent;
	background-image: none;
    font-size: 1em;
    transition: all .1s ease;
}

.select-filter:hover {
    background-color: #ff9e16;
    cursor: pointer;
}

.select-filter:hover select {
    color: #fff;
    cursor: pointer;
}

.notDefault { background-color: #ff9e16; }
.select-filter.notDefault select { color: #fff;}

.notDefault:hover { background-color: #e65100; }

button.st-submit {
	background: #ff9e16;
	border: 1px solid #ff9e16;
	border-radius: 0 5px 5px 0;
	color: #fff;
	transition: all .2s;
	float: right;
	font-size: 1em;
	height: 2em;
	width: 3em;
}

button.st-submit:hover {
    background: #e65100;
    border-color: #e65100;
    color: #fff;
    cursor: pointer;
}

button.st-fav:hover,
button.st-fav.active {
	background: #008fd2;
	border-color: #008fd2;
    color: #fff;
	cursor: pointer;
}

button.st-fav:hover:after,
button.st-fav.active:after {
	border-color: #fff;
}

#st-settings {
    display:none;
    position: absolute;
    right: 4%;
    margin-top: 32px;
    border-radius: 3px;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
	  z-index: 1;
}

#st-suggest {
    display:none;
    position: absolute;
    margin-top: 2em;
    border-radius: 3px;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    width: 100%;
	  z-index: 1;
}

#st-settings div{
    width: auto;
    padding: 5px;
    color: #555;
}

#st-settings div div {
	padding: 0 0 5px 0;
}

#st-suggest div {
    width: auto;
    padding: 0;
}

#st-suggest p {
    color: #555;
    opacity: .8;
    margin: 0;
    padding-top: 5px;
	  padding-left: 10px;
}

#st-suggest ul {
    padding: 0;
    margin-bottom: 0;
    margin-top: 5px;
}

#st-suggest a {
    text-decoration: none;
    color: #008fd2;
    display: block;
    padding: 5px 0 5px 10px;
}

#st-suggest li {
    margin: 0;
    padding: 0;
    transition: all .2s ease;
    display: inline-block;
    width: 100%;
}

#st-suggest li:nth-of-type(1n+7){ display: none; }

#st-suggest li:hover { background-color: #ff9e16; }

#st-suggest li:hover a,
#st-suggest a:hover { color: #fff; }

#st-suggest ul li:last-child { border-radius: 0 0 3px 3px; }

button.home {
	width: 10%;
}

input.home,
input.home::placeholder {
	font-size: 18pt;
	color: #555;
}

input.home {
    width: 90%;
    padding: 0 0 0 15px;
    position: static;
    margin: auto;
    border: 1px solid #ff9e16;
    border-radius: 4px 0 0 4px;
	background: #fff;
	border-right: none;
	float: left;
}

input.home::placeholder {
	line-height: 80%;
	vertical-align: middle;
}

form .nocontent { float: initial; }

.st-form-container {
	margin: auto;
	width: 80%;
}

.st-pages-container { padding: 0 4% 0 0; }

/*Autocomplete*/

.swiftype-widget .autocomplete {
  background-color: #fff;
  display: block;
  list-style-type: none;
  list-style-image: none;
  margin: 0;
  padding: 0;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  position: absolute;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
  border-radius: 2px;
  text-align: left;
  margin-top: calc(3em + 4px);
	width: 21em;
}

.home-auto {left: 112px !important;}

.swiftype-widget .autocomplete ul {
  background-color: #fff;
  display: block;
  list-style-type: none;
  margin: 0;
  padding: 0;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  text-align: left;
}

.swiftype-widget .autocomplete li {
  cursor: pointer;
  padding: 10px 8px;
  font-size: 13px;
  list-style-image: none;
  background-image: none;
  margin: 0;
  list-style-type: none;
}

.swiftype-widget .autocomplete li:first-child {
  -webkit-border-radius: 2px 2px 0 0;
  -moz-border-radius: 2px 2px 0 0;
  -ms-border-radius: 2px 2px 0 0;
  -o-border-radius: 2px 2px 0 0;
  border-radius: 2px 2px 0 0;
}

.swiftype-widget .autocomplete li:last-child {
  -webkit-border-radius: 0 0 2px 2px;
  -moz-border-radius: 0 0 2px 2px;
  -ms-border-radius: 0 0 2px 2px;
  -o-border-radius: 0 0 2px 2px;
  border-radius: 0 0 2px 2px;
}

.swiftype-widget .autocomplete li.active {
  background-color: rgba(248,151,40,0.9);
}

.swiftype-widget .autocomplete li p {
  font-size: 13px;
  line-height: 16px;
  margin: 0;
  padding: 0;
}

.swiftype-widget .autocomplete li p.title {
  color: #2d82dc;
}

.swiftype-widget .autocomplete li p.title em {
  color: #2d82dc;
  font-style: normal;
}

.swiftype-widget .autocomplete li.active p.title {
  color: #fff;
}

.swiftype-widget .autocomplete li.active p.title em {
  color: #fff;
  font-style: normal;
}

.swiftype-widget .autocomplete li .sections {
  color: #999;
  font-size: 11px;
}

.swiftype-widget .autocomplete li .sections em {
  color: #666;
  font-style: normal;
}

.swiftype-widget .autocomplete li .sections .section {
  display: inline;
}

.swiftype-widget .autocomplete li.active .sections {
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
  color: #a9d7f1;
}

.swiftype-widget .autocomplete li.active .sections em {
  color: #a9d7f1;
  font-style: normal;
}

/* Custom Autocomplete Styling */
.home-auto {
	width: 35em;
	margin-top: -1px !important;
}

.pages-auto {
	top: 2.6em;
	width: 19.89em;
	background-color: #fcfcfc;
	margin-left: -1% !important;
}

.swiftype-widget .pages-auto li { background-color: #fcfcfc; }

/*Homepage Styles*/
#st-home-container > form {
    padding: 0 15px;
    display: block;
    font-size: 18pt;
		float: none;
	  width: 80%;
	  position: static;
	  margin-left: 10%;
}

#st-home-container > form > div {
    margin: auto;
    width: 80%;
}

#main-body .swiftype-widget .autocomplete {
	top: calc(330px + 20px + 3em + 6px);
	margin: 0;
}

#st-home-container .st-submit,
#st-home-container .st-fav {
	width: 10%;
	border: none;
}

#st-home-container .st-fav { color: #ee7426; }

#st-home-container .st-fav:hover,
#st-home-container .st-fav.active
{
	background: #993d03;
	color: #fff;
}

#st-home-container .st-submit {	background: #F2A90B; }
#st-home-container .st-submit:hover { background: #993d03; color: #fff; }

#st-home-container #st-search-input {
	width: 80%;
	padding-left: 15px;
	border: none;
}

#st-home-container #st-suggest {
	right: auto;
	text-align: left;
	font-size: 13pt;
	margin: calc(3em - 5px) 0 0 0;
	z-index: 1;
	width: 20%;
}

#st-home-container #st-settings {
    right: 18%;
    margin-top: 3em;
    z-index: 1;
    font-size: 12pt;
}

#st-home-container #st-settings > div { margin: 10px 0; }

#st-home-container #st-settings > div > label { font-weight:normal; }

/*End Homepage Styles*/