/* Search icon by IcoMoon, made with http://icomoon.io/app/ */
@font-face {
	font-family: 'icomoon';
	src:url('../../cms/fonts/icomoon/icomoon.eot');
	src:url('../../cms/fonts/icomoon/icomoon.eot?#iefix') format('embedded-opentype'),
		url('../../cms/fonts/icomoon/icomoon.woff') format('woff'),
		url('../../cms/fonts/icomoon/icomoon.ttf') format('truetype'),
		url('../../cms/fonts/icomoon/icomoon.svg#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}
.sb-search {
	height: 100%;
	position: absolute;
	right: 0;
	overflow: hidden;
	transition: width 0.3s;
	outline: 1px solid white;
	width: 100%;
	cursor: text;
}
.sb-search:focus-within{
	outline: 2px solid #3c739a;
}
.sb-search-input {
	text-indent: 5px;
	position: absolute;
	border: none;
	outline: none;
	height: 100%;
	width: 100%;
	right: 0;
	font-size: 13pt;
	font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif;
	color:var(--secondary-color);
	/* Used to stop rounded search bar for IOS */
	-webkit-border-radius: 0px;
	border-radius: 0px;
	-webkit-appearance: none;
}
.sb-search-input::-ms-clear {
	display: none;
}
.sb-search-input::-webkit-search-cancel-button {
	display: none;
}
.sb-search-input::-webkit-input-placeholder {
	color: #4e4e4e;
}
.sb-search-input:-moz-placeholder {
	color: #4e4e4e;
}
.sb-search-input::-moz-placeholder {
	color: #4e4e4e;
}
.sb-search-input:-ms-input-placeholder {
	color: #4e4e4e;
}
.sb-icon-search {
	color: var(--primary-color);
	background-color: white;
	transition: background-color 0.3s;
	font-size: 20pt;
	font-family: 'icomoon';
}
.sb-icon-search:hover {
	background-color: gray;
}
.sb-icon-search:before {
	content: "\e986";
}
.sb-search-submit {
	background: #fff; /* IE needs this */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; /* IE 8 */
	filter: alpha(opacity=0); /* IE 5-7 */
	opacity: 0;
	color: transparent;
	border: none;
	outline: none;
}
.sb-icon-search, .sb-search-submit  {
	width: 45px;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	position: absolute;
	right: 0;
	cursor: pointer;
	padding: 0;
}
.errorIcon {
	pointer-events: none;
}
/* Open state */
.sb-search.sb-search-open {
	width: 400px;
}
.pageLinksContainer {
	display: flex;
	justify-content: center;
}
/* Hides a CMS class for the photo gallery when those results are displayed in the search results page */
.searchResults .captionButton {
	display: none;
}
/*********** RESPONSIVE ***********/   
@media only screen and 
(min-width : 0px) and 
(max-width : 1366px) 
{
	.sb-icon-search {
		background-color: white;
	}
	.sb-search.sb-search-open {
		width: 350px;
	}
}
@media only screen and 
(min-width : 0) and 
(max-width : 640px)
{
	.sb-search.sb-search-open {
		width: 300px;
	}
	.sb-icon-search, .sb-search-submit  {
		width: 40px;
	}
}
@media only screen and 
(min-width : 0px) and 
(max-width : 1366px)
and (orientation : portrait)
{
	.sb-search.sb-search-open {
		width: 300px;
	}
}
@media only screen and 
(min-width : 0px) and 
(max-width : 640px)
and (orientation : portrait)
{
	.sb-search.sb-search-open {
		width: 200px;
	}
	.sb-search-input {
		font-size: 8pt;
	}
}