/*
	Search results
*/

.search-results-wrap{
	position: relative;
	-webkit-box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, .5);
	-moz-box-shadow:    0px 5px 5px 0px rgba(0, 0, 0, .5);
	box-shadow:         0px 5px 5px 0px rgba(0, 0, 0, .5);
	}

	.search-loader:before{
		font-family: 'FontAwesome';
		content: '\f021';
		padding: 20px;
		display: block;
		text-align: center;
		font-size: 18px;
		-webkit-animation: rotating 1s linear infinite;
		-moz-animation: rotating 1s linear infinite;
  		-ms-animation: rotating 1s linear infinite;
  		-o-animation: rotating 1s linear infinite;
  		animation: rotating 1s linear infinite;
	}

	.no-results{
		text-align: center;
		font-size: 24px;
		background: #fff;
		color: #000;
		padding: 20px;
		width: 100%;
		display: block;
	}

.search-results{

	display: block;
	background: #fff;
	max-height: 300px;
	overflow: scroll;
	z-index: 9999;

	/*position: absolute;
	top: 0;
	width: 100%; */

	}

	.search-results .search-result{

	display: block;
	color: #000;

	}

	.search-results .search-result.visible{

		display: block;

	}

	.search-results .search-result .row{

		display: flex;
		align-items: center;
		padding: 10px 20px;
		margin: 0 !important;

	}

	.search-results .search-result:nth-child(odd) .row{
		background: #f5f5f5;
	}

	.search-results .search-result .result-category{
		display: inline-block;
		background: #eee;
		padding: 5px 15px;
		font-size: 14px;
		border-radius: 100px;
	}

form input.error{
	border-color: #f00 !important;
	margin-bottom: 0;
}
form span.error{
	font-size: 14px;
	font-family: 'Oswald';
	text-transform: uppercase;
	color: #f00;
	margin-bottom: 15px;
	margin-top: 2px;
	display: block;
}

/*
	User registration form
*/

form#user-registration input#subscriber,
form#user-registration input#organisation{
	display: none;
}

form#user-registration input:checked + label{
	background: #f5f5f5;
}

form#user-registration label.tab-button{
	display: inline-block;
	padding: 20px;
	margin: 0;
	background: #ddd;
	font-size: 16px;
	margin-right: -4px;
}

form#user-registration label.tab-button:hover{
	cursor: pointer;
}

/*
	Front page applied filters
*/

.filter-sector.applied-filters{

	margin-top: 0;
	margin-bottom: 1rem;

	}

	.filter-sector.applied-filters .button.filter-sector:hover{

		background: none;
		color: #000;

		}

		.filter-sector.applied-filters .button.filter-sector:after{

			font-weight: bold;
			line-height: .5em;
			font-size: 1.7rem;
			content: '✕';

		}


/*
	Gravity forms style
*/

.gform_body ul{

	padding: 0;
	margin: 0;
	list-style: none;

}

.gform_body .textarea{
	padding: 0.9875em !important;
}

.gfield_error input, .gfield_error textarea{
	margin-bottom: 0;
}

.gfield_error .validation_message{
	color: #f00;
	font-size: 13px;
	text-transform: uppercase;
	font-family: 'Oswald';
	margin-bottom: 15px;
	margin-top: 2px;
	display: block;
}

/*
	Rotating animation keyframe
*/

@-webkit-keyframes rotating /* Safari and Chrome */ {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
