* {
	box-sizing: border-box;
}

body {
	margin: 0;
	line-height: 1.7;
	font-family: 'Roboto';
	background-color: #fafafa;
}

.finder {
	position: fixed;
	top: -50px;
	right: 0;
	left: 200px;
	z-index: 999;
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	height: 50px;
	background: #fff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	border-bottom: 1px solid #e5e5e5;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	padding: 5px;
	transition: top 0.15s ease-out;
}

	.finder::before {
		content: "Search this Page:";
		margin-top:10px;
	}

.finder.active {
	top: 0;
}

#finderClose i, #finderNext i, #finderPrev i{
	display: none;
}



#finderClose::after{
	content:"X";
}

#finderNext::after{
	content:"Next";
}
#finderPrev::after {
	content: "Prev";
}

#finderNext, #finderPrev{
	display:none;
}

.finder-input {
	flex-grow: 1;
	width: 0;
	height: 40px;
	border: none;
	padding: 8px;
	outline: none !important;
}

.finder-input.not-found {
	color: #e7353f;
}

.btn-finder {
	width: 40px;
	height: 40px;
	text-align: center;
	padding: 0;
}

.finder-input,
.btn-finder:not(:last-child) {
	margin-right: 5px;
}

.finder-count {
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: #888;
	border-right: 1px solid #e5e5e5;
	margin-right: 5px;
	padding-right: 20px;
	white-space: nowrap;
}

.btn-finder,
.finder-count {
	flex-shrink: 0;
	flex-grow: 0;
}

.highlight {
	background: yellow;
	border: 4px solid red;
	animation-name: highlightanim1;
	animation-duration: 1.2s;
	
	animation-iteration-count: infinite;
}

@keyframes highlightanim1 {
	0% {
		opacity:0.5;
	}

	55% {
		opacity: 1.5;
		border:4px dotted black;
	}




	100% {
		opacity: 1.5;
	}
}

.highlight.active {
	background: #ffd71b;
}
