﻿#labels
{
	display: none;
}

#search-bar
{
	z-index: 9;
	position: fixed;
	top: calc(55px - 62px);
	left: 0px;
	right: 0px;
	color: #eee;
    background-color: #1f3e49;
	transition: top 0.2s, z-index 0.1s;
}

#search-bar .inner
{
	margin: 0px auto;
	padding: 10px;
	width: calc(100% - 20px);
	max-width: 880px;
}

#search-bar.opened
{
	top: 60px;
    z-index: 100;
}

#search-bar .left
{
	margin-right: 40px;
}

#search-bar .button
{
	color: #1f3e49;
	cursor: pointer;
	float: right;
	width: 40px;
	height: 40px;
	margin-top: 1px;
	text-align: center;
	line-height: 40px;
	font-weight: bold;
	background-color: #ebebeb;
	border-radius: 20px;
	border: none;
}

#search-bar input[type=text]
{
	padding: 5px;
	width: calc(100% - 20px);
	height: 30px;
	font-size: 16px;
	background-color: #ebebeb;
	border: 1px solid #b4b4b4;
	border-radius: 7px;
}

.search-header
{
	height: 50px;
	background: url('../../images/template/search-header.png');
	background-repeat: no-repeat;
	background-size: 100% auto;
	border-bottom: 2px solid #b9bbbd;
}

.search-title
{
	height: 34px;
	color: #1F3E49;
	margin-bottom: 0px;
    padding-left: 2%;
	text-align: left;
	font-size: 20px;
	font-weight: bold;
	line-height: 55px;
	display:inline-block;
}

#result-switcher 
{
	background-color: rgba(55, 106, 124, 0.85);
	max-width: 100%;
	width: 100%;
	text-align: center;
	padding: 15px 10px;
	box-sizing: border-box;
	position: relative;
}

#result-switcher td span
{
	padding: 5px 10px;
    border-radius: 30px;
	cursor: pointer;
	font-weight:bold;
	white-space:nowrap;
	opacity: 0.5;
}

#result-switcher td span.active
{
	opacity: 1;
    background-color: rgb(200,192,76);
	color: #356A7C;
}

#pointer
{
	background: url('../../images/template/pointer.svg');
	background-repeat: no-repeat;
	background-size: 20px 20px;
	
	height: 20px;
	width: 20px;
	filter: brightness(5);
	position: absolute;
	bottom: -5px;
}



span[data-selection="all"]
{
	background-color: white;
}

span[data-selection="procedure"] {
	background-color: rgb(200,192,76);
	color: #356A7C;
}

span[data-selection="general-info"]
{
	background-color: rgb(31,62,73);
	color: #C8C04C;
}

span[data-selection="unknown"] 
{
	background-color:rgb(64,64,65);
	color: white;
}

#result-switcher span {
    background-color: rgb(31,62,73);
	color: #fff;
}

#result-info {
	margin-top: 20px;
	display: inline-block;
	display: none; /*This is here temporarily until it's decided if this bit of the result is staying.*/
	color: white;
	float: right;
}

#results #result-info
{
	font-weight: bold;
	margin: 0px auto;
	margin-bottom: 20px;
	max-width: 880px;
	display: none; /*This is here temporarily until it's decided if this bit of the result is staying.*/
	
}

#results
{
	padding: 20px;
	background-color: #f4f4f4;
	min-height: calc(100vh - 154px);
}

#results .red
{
	color: red;
}

#results .highlight
{
	/*background-color: #ff0;*/
}

#results .result
{
	display: table;
	width: calc(100% - 60px);
	padding: 10px 20px;
	color: #1f3e49;
	margin-left:0px;
	margin-right:0px;
	margin-bottom: 10px;
	text-decoration: none;
    font-size: 1.1em;
    line-height: 1.4em;
	position:relative;
}

#results .result .solid-bar
{
	height: 100%;
    width: 8px;
    position: absolute;
    top: 0;
    left: 0;
}

#results .result.procedure
{
    background-color: rgba(104,136,146,0.25);
}

#results .result.procedure .solid-bar
{
	background-color: #c8c04c;
}

#results .result.general-info
{
    background-color: rgba(104,136,146,0.25);
}

#results .result.general-info .solid-bar
{
	background-color: #1f3e49; 
}

#results .result.unknown
{
    background-color: rgba(104,136,146,0.25);
}

#results .result.unknown .solid-bar
{
	background-color: #6a8892;
}

#results .result .icon
{
	display: table-cell;
	width: 50px;
	background-size: 100% auto !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
}

#results .result .icon.glossary
{
	background-image: url('../../images/menu/menu_glossary.svg');
}

#results .result .icon.feature
{
	background-image: url('../../images/template/search-feature.svg');
}

#results .result .icon.procedure
{
	background-image: url('../../images/template/search-procedure.svg');
}

#results .result .icon.informative
{
	background-image: url('../../images/template/search-informative.svg');
}

#results .result .content
{
	display: table-cell;
    padding: 2px 5px 2px 14px;
}

#results .result-title
{
	display: block;
    font-size: 1.1em;
	font-weight: bold;
	margin-bottom: 5px;
	text-decoration: none;
    color: #404041;
}


@media screen and (max-width: 500px)
{
	#result-switcher td span
	{
		font-size: 11px;
	}

	#pointer.all
	{
		left: 7%;
	}

	#pointer.procedure
	{
		left: 29%;
	}

	#pointer.general-info
	{
		left: 59.5%;
	}

	#pointer.unknown
	{
		left: 84.5%;
	}
}

@media screen and (min-width: 700px)
{
	#result-switcher td span
	{
		padding: 5px 20px;
	}

	#pointer.all
	{
		left: 7.5%;
	}

	#pointer.procedure
	{
		left: 30%;
	}

	#pointer.general-info
	{
		left: 61.5%;
	}

	#pointer.unknown
	{
		left: 87.5%;
	}
}

@media screen and (max-width: 700px)
{
	#results .result
	{
		width: calc(100% - 20px);

		padding: 10px 8px 10px 8px;
	}

	#results .result-title
	{
		font-size: 0.9em;
	}

	.result-body
	{
		font-size: 0.8em;
        line-height: 1.2em;
	}

	#results .result .icon
	{
		width: 40px;
		background-size: 105% auto !important;
	}

	#pointer.all
	{
		left: 6.5%;
	}

	#pointer.procedure
	{
		left: 28%;
	}

	#pointer.general-info
	{
		left: 59%;
	}

	#pointer.unknown
	{
		left: 84%;
	}
}


@media screen and (max-width: 700px)
{
	#search-bar
	{
		top: calc(55px - 82px);
	}

	#search-bar.opened
	{
		top: 60px;
	}
}