/* Search
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.searchbar {
	margin: 0px auto 72px;
	font-size: 18px;
	text-align: center;
}

@media (max-width: 580px) {
	.searchbar {
		margin-bottom: 42px;
	}
}

.searchbar select, .searchbar input, .searchbar div {
	display: inline-block;
	vertical-align: middle;

	appearance: none;
	-moz-appearance: none;
    -webkit-appearance: none;
}

.searchbar select {
	width: 148px;
	margin: 0px 10px 2px;
	padding: 6px 28px 7px 18px;
	border-radius: 20px;
	border: 0;
	font-size: 18px;
	line-height: 27px;
	box-shadow: 0 0 0 2px transparent;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 7'%3E%3Cpath d='M1.19,0,6,4.79,10.81,0l1.11,1.1L6,7,.08,1.1Z'/%3E%3C/svg%3E"), linear-gradient(#ececec, #ececec); /* 0.075 */
	background-size: 12px auto, 100%;
	background-position: top 17px right 13px, 0 0;
	background-repeat: no-repeat, repeat;
	transition: box-shadow 0.2s ease-in-out;
}

.searchbar select:focus {
	outline: none;
	box-shadow: 0 0 0 2px #bd0032;
}

.searchbar div {
	position: relative;
	width: 360px;
	margin-left: 10px;
}

@media (max-width: 460px) {
	.searchbar, .searchbar select {
		font-size: inherit;
	}

	.searchbar select {
		width: 130px;
		padding: 5px 16px 7px 16px;
		background-size: 11px 6px, 100%;
	}

	.searchbar div {
		display: block;
		width: 100%;
		margin-left: 0;
	}
}

.searchbar div.error {
	border-color: #bd0032;
	animation: shake 1s ease-in-out;
}

.searchbar input[type='text'] {
	width: 100%;
	margin: 8px 0 12px;
	padding: 10px 18px 12px;
	border: 2px solid rgba(0,0,0,0.1);
	border-radius: 25px;
	font-family: inherit;
	font-size: 20px;
	box-sizing: border-box;
	transition: border-color 0.2s ease-in-out;
}

.searchbar input[type='text']::placeholder {
	color: rgba(0,0,0,0.2);
}

.searchbar input[type='text']:focus {
	outline: none;
	border-color: #bd0032;
}

@keyframes shake {
	0%, 90%, 100% {
		transform: translate3d(0, 0, 0);
	}

	10%, 30%, 50%, 70% {
		transform: translate3d(-5px, 0, 0);
	}

	20%, 40%, 60%, 80% {
		transform: translate3d(5px, 0, 0);
	}
}

.searchbar input[type='submit'] {
	position: absolute;
	width: 30px;
	height: 30px;
	top: 18px;
	right: 10px;
	padding: 0;
	border: 0;
	border-radius: 100%;
	color: #fff;
	background-color: #bd0032;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cdefs%3E%3Cstyle%3E.z%7Bfill:%23fff;%7D%3C/style%3E%3C/defs%3E%3Cpath class='z' d='M21.83,20.41l-2.94-2.94a6,6,0,1,0-1.41,1.41l2.94,2.94ZM10,14a4,4,0,1,1,4,4A4,4,0,0,1,10,14Z'/%3E%3C/svg%3E");
	background-size: 30px auto;
	background-position: center;
	background-repeat: no-repeat;
	transition: background-color 0.2s ease-in-out;
}

.searchbar input[type='submit']:hover, .searchbar input[type='submit']:focus {
	outline: none;
	background-color: #990029;
}

.searchbar input[type='submit'].clear {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cdefs%3E%3Cstyle%3E.z%7Bfill:%23fff;%7D%3C/style%3E%3C/defs%3E%3Cpolygon class='z' points='20.83 10.59 19.41 9.17 15 13.59 10.59 9.17 9.17 10.59 13.59 15 9.17 19.41 10.59 20.83 15 16.41 19.41 20.83 20.83 19.41 16.41 15 20.83 10.59'/%3E%3C/svg%3E");
}

div.nothing {
	text-align: center;
}

div.nothing h2 {
	font-weight: 400;
	font-style: italic;
}