/********** Header **********/
header {
	width: 100%;
	height: 75px;
	top: 0;
	left: 0;
	overflow: visible;
    position: fixed;
    z-index: 1000;
    background: rgba(77,77,77,0.7);
}
.header-flex {
	display: flex;
	justify-content: space-between;
}
.toggle-nav {
	display: none;
}
nav {
	margin: 0;
	padding: 0;
	height: 90px;
	flex: 0 1 auto;
}
.menu ul {
	display: inline-block;
	margin: 0;
	list-style: none;
}
.menu li {
    float: left;
    margin: 33px 20px 0 0;
    font-size: 18px;
    font-family: RobotoCondensed;
}
.menu li:last-child {
	margin-right: 0px;
}
.menu li>a:link, #panic-button > a:link { 
	color: #f5f1ec;
	text-decoration: none;  
}
.menu li>a:visited, #panic-button > a:visited { 
	color: #f5f1ec;
	text-decoration: none; 
}
.menu li>a:hover, #panic-button > a:hover { 
	color: #f5f1ec;
}
.menu li>a:active, #panic-button > a:active { 
	color: #f5f1ec; 
	text-decoration: none;
}
#logo {
	margin: 7px 20px 0 -40px;
	width: 50px;
	height: 60px;
	background: url('../../img/tm_logo.png');
	font-size: 32px;
	color: #f5f1ec;
	text-align: center;
	line-height: 83px;
}
#logo a:link {
	color: rgba(0,0,0,0);
}
#logo a:hover {
    border-bottom: none;
}
#registration-button {
	position: relative;
	text-align: center;
	color: #fff;
}
#registration-button > img {
	transform: rotate(30deg);
	height: 105px;
	margin-top: -40px;
}
.center-link {
	position: absolute;
	top: -7px;
	left: 50%;
	transform: translate(-50%,-50%);
	color: #247288;
}
#header-right-section {
	flex: 0 1 auto;
	display: flex;
	justify-content: flex-end;
}
.search-form {
	display: inline-block;
	margin-top: 30px;
	text-align: right;
	flex: 0 1 auto;
}
.search-form input {
	width: 200px;
	height: 25px;
	float: left;
	border-radius: 5px 0 0 5px;
	padding: 5px;
	font-family: Open Sans;
	font-size: 13px;
	font-weight: 300;
	outline: none;
}
.search-form-disambig input {
    height: 13px;
}
.search-form button {
	margin: 0;
	height: 25px;
	float: right;
	border-radius: 0 5px 5px 0;
	font-family: Open Sans;
	font-size: 14px;
	font-weight: 600;
	color: #f5f1ec;
}
#search_inv {
	font-family: RobotoRegular, sans-serif;
    font-size: 11px;
    color: #f5f1ec;
    text-decoration: underline;
}
#session-login {
	flex: 0 1 auto;
	margin: 25px -75px 0 35px;
	height: 40px;
	font-size: 11px;
	color: #fff;
}
#session-login > p {
	margin: 0;
	padding: 0;
}

/********** Panic button **********/
#panic-button {
	margin-top: 32px;
	margin-right: 30px;
	color: #f5f1ec;
	font-size: 1.8em;
}
#panic-button p {
	font-size: 0.5em;
}
#panic-button .info-tooltip .tooltiptext {
	position: absolute;
    z-index: 1;
    top: 5px;
    left: 100%;
}

/********** Footer **********/
footer {
    background: rgba(245,245,245,0.9);
    position: fixed;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 48px;
    padding-bottom: 10px;
}
footer div.wrapper {
	padding: 0 5px;
}
footer .flex {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	width: 100%;
	margin: 0 auto;
}
.footer-col {
	flex: 0 1 14%;
	line-height: 1.2em;
	font-family: RobotoLight;
	font-size: 0.9em;
	text-align: center;
	padding-top: 10px;
}
.footer-col-extra {
	flex: 0 1 16.6%;
	line-height: 1.2em;
	font-family: RobotoLight;
	font-size: 0.9em;
	text-align: center;
	padding-top: 10px;
}
#latestupdate {
	
}
.social > i {
	color: #4d4d4d;
	padding: 0 5px;
}
img#kul-logo {
	width: 88px;
}

/********** Media queries **********/
@media screen and (min-width: 1051px) {
	.search-form input {
		width: 160px;
	}
	.social > i {
		padding: 0 5px;
	}
}
@media screen and (max-width: 1050px) {
	.search-form input {
		width: 140px;
	}
	.social > i {
		padding: 0 5px;
	}
}
@media screen and (max-width: 990px) {
	nav {
		margin-left: 20px;
	}
	.menu li {
		margin: 33px 10px 0 0;
		font-size: 13px;
	}
    #pagetitle {
		font-size: 13px;
	}
	.social > i {
		padding: 0 5px;
	}
}
@media screen and (max-width: 790px) {
	.menu {
		position: relative;
		display: inline-block;
	}
	.menu ul.active {
		display: none;
	}
	.menu ul {
		width: 130px;
		position: absolute;
		top: 80%;
		left: 0;
		padding: 10px 18px;
		box-shadow: 0 1 1 rgba(0,0,0,0.15);
		border-radius: 3px;
	}
	.menu ul:after {
		width: 0;
		height: 0;
		position: absolute;
		top: 0%;
		left: 10px;
		content: '';
		transform:translate(0%, -100%);
		border-left: 7px solid transparent;
		border-right: 7px solid transparent;
	}
	.menu li {
		margin: 5px 0 5px 0;
		float: none;
		display: block;
	}
	.menu a {
		display: block;
	}
	.menu li>a:link { 
		color: #f5f1ec;
		text-decoration: none;  
	}
	.menu li>a:visited { 
		color: #f5f1ec;
		text-decoration: none; 
	}
	.menu li>a:hover { 
		font-size: 20px;
		font-style: bold;
	}
	.menu li>a:active { 
		color: #f5f1ec; 
		text-decoration: none; 
	}
	#pagetitle {
		margin-left: 0;
	}
	#pagetitle>a:link {
		color: #fff!important;
		font-family: RobotoCondensed;
	}
	#pagetitle>a:visited {
		color: #fff!important;
		font-family: RobotoCondensed;
	}
	#pagetitle>a:hover {
		color: #fff!important;
		font-family: RobotoCondensed;
	}
	#pagetitle>a:active {
		color: #fff!important;
		font-family: RobotoCondensed;
	}
	.toggle-nav:link {
		margin: 27px 5px 0 5px;
		padding: 5px;
		float: left;
		display: inline-block;
		text-decoration: none;
		border-radius: 3px;
		transition: color linear 0.15s;
	}
	.toggle-nav:hover, .toggle-nav:active, .toggle-nav:visited {
		text-decoration: none;
		border-radius: 3px;
	}
	#logo, #registration-button {
		background: none;
		margin: 5px 0 5px 0;
		font-size: 13px;
		text-align: initial;
		height: 25px;
		width: 100%;
		line-height: 1.6em;
		color: #f5f1ec;
	}
	#logo a:link {
		color: #f5f1ec;
	}
	#registration-button > img {
		display: none;
	}
	.center-link {
		position: static;
		color: #f5f1ec;
	}
	.search-form {
		vertical-align: middle;
		
	}
	.search-form input {
		box-shadow: -1px 1px 2px rgba(0,0,0,0.1);
	}
	footer {
    	position: static;
    }
    footer .flex {
    	flex-wrap: nowrap;
    }
    .footer-col {
    	font-size: 0.8em;
    	line-height: 1.5;
    	padding-left: 12px;
    	padding-right: 12px;
    }
    .social > i {
		padding: 0 5px;
	}
}
@media screen and (max-width: 655px) {
	#session-login {
		margin: 25px -55px 0 15px;
		line-height: 1.4em;
	}
	.footer-col {
	  	margin: 1px auto;
	  	padding: 1px;
	}
	.social > i {
		padding: 0 3px;
	}
}