


@font-face {
  font-family: 'maximus';
  src:  url('fonts/maximus.eot?9dfai9');
  src:  url('fonts/maximus.eot?9dfai9#iefix') format('embedded-opentype'),
    url('fonts/maximus.ttf?9dfai9') format('truetype'),
    url('fonts/maximus.woff?9dfai9') format('woff'),
    url('fonts/maximus.svg?9dfai9#maximus') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="maxi-"], [class*=" maxi-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'maximus' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@font-face {
  font-family: 'maximus';
  src:  url('../fonts/maximus.eot?9dfai9');
  src:  url('../fonts/maximus.eot?9dfai9#iefix') format('embedded-opentype'),
    url('../fonts/maximus.ttf?9dfai9') format('truetype'),
    url('../fonts/maximus.woff?9dfai9') format('woff'),
    url('../fonts/maximus.svg?9dfai9#maximus') format('svg');
  font-weight: normal;
  font-style: normal;
}












/* Windows Chrome ugly fix http://stackoverflow.com/questions/13674808/chrome-svg-font-rendering-breaks-layout/14345363#14345363 */
@media screen and (-webkit-min-device-pixel-ratio:0) {
	@font-face {
		font-family: 'maximus';
		src: url('../fonts/maximus.svg#icomoon') format('svg');
	};
}

.icon-keyholding, .icon-stewards, .icon-dogpatrols, .icon-cctv, .icon-doorstaff, .icon-protection, .icon-chauffering, .icon-security, .icon-alarms, .icon-consultancy {
	font-family: 'maximus';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
}

.icon-keyholding:before {
	content: "\e905";
}

.icon-stewards:before {
	content: "\e901";
}

.icon-dogpatrols:before {
	content: "\e903";
}

.icon-cctv:before {
	content: "\e904";
}

.icon-doorstaff:before {
	content: "\e902";
}

.icon-protection:before {
	content: "\e907";
}

.icon-chauffering:before {
	content: "\e900";
}

.icon-security:before {
	content: "\e908";
}

.icon-alarms:before {
	content: "\e906";
}

.icon-consultancy:before {
	content: "\e909";
}


.nav2 ul li a {
	line-height:1em;	
}




a, li {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


/* Global CSS that are applied for all screen sizes */


.nav2 {
    width: 100%;
    height: auto;
    background-color: #231F20;
   text-align: left; 
    line-height: 30px;
	position:relative;
	z-index:2000;
}

.nav2 ul {
	max-width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 1em;
	font-weight:normal;
}



.nav2 li span {
	display: block;
}

.nav2 a {
	display: block;
	color: rgba(249, 249, 249, .9);
	text-decoration: none;
	-webkit-transition: color .5s, background .5s, height .5s;
	-moz-transition: color .5s, background .5s, height .5s;
	-o-transition: color .5s, background .5s, height .5s;
	-ms-transition: color .5s, background .5s, height .5s;
	transition: color .5s, background .5s, height .5s;
}

.nav2 i{
	/* Make the font smoother for Chrome */
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	-o-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

/* Remove the blue Webkit background when element is tapped */

a, button {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* Hover effect for the whole navigation to make the hovered item stand out */

.no-touch .nav2 ul:hover a {
	color: rgba(249, 249, 249, .5);
}

.no-touch .nav2 ul:hover a:hover {
	color: rgba(249, 249, 249, 0.99);
}

/* Adding some background color to the different menu items */



.nav2 li{
	background: rgb(22, 107, 162);
}



/* For screen bigger than 800px */
@media (min-width: 1200px) {

	/* Transforms the list into a horizontal navigation */
	.nav2 li {
		float: left;
		width: 10%;
		text-align: center;
		-webkit-transition: border .5s;
		-moz-transition: border .5s;
		-o-transition: border .5s;
		-ms-transition: border .5s;
		transition: border .5s;
		height: 110px;
	}

	.nav2 a {
		display: block;
		width: auto;
	}

	/* hover, focused and active effects that add a little colored border to the different items */


	.no-touch .nav2 li a:hover,
	.no-touch .nav2 li a:active,
	.no-touch .nav2 li a:focus {
		border-bottom: 0px solid rgb(16, 34, 44);
	}


	/* Placing the icon */
	
	.iconi {
		padding-top: 0em;
	}

	.iconi + span {
		margin-top: 0em;
		-webkit-transition: margin .5s;
		-moz-transition: margin .5s;
		-o-transition: margin .5s;
		-ms-transition: margin .5s;
		transition: margin .5s;
	}

	/* Animating the height of the element*/
	.nav2 a {
		padding-bottom:10px;
	}

	.no-touch .nav2 a:hover ,
	.nav2 a:active ,
	.nav2 a:focus {
		height: auto;
	}	
	
	
	.nav2 a:active {
		color:#000000!important;
	}	
	
	.nav2 .current {
		color:#27aae1!important;
	}	
	
	
	#c5fix nav ul li a:active {
				color:#000000!important;

	}

#c5fix nav ul li a:current {
			color:#000000!important;

	}

	/* Making the text follow the height animation */
	.no-touch .nav2 a:hover .iconi + span {
		margin-top: 0px;
		-webkit-transition: margin .5s;
		-moz-transition: margin .5s;
		-o-transition: margin .5s;
		-ms-transition: margin .5s;
		transition: margin .5s;
	}

	/* Positioning the icons and preparing for the animation*/
	.nav2 i {
		position: relative;
		/*display: inline-block;
		margin: 0 auto;
		padding: 0.1em;
		border-radius: 50%;*/
		font-size: 4em;
		/*box-shadow: 0 0 0 30px transparent;*/
		/*background: rgba(255,255,255,0.1);*/
		-webkit-transform: translate3d(0, 0, 0);
		-moz-transform: translate3d(0, 0, 0);
		-o-transform: translate3d(0, 0, 0);
		-ms-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
		-webkit-transition: box-shadow .6s ease-in-out;
		-moz-transition: box-shadow .6s ease-in-out;
		-o-transition: box-shadow .6s ease-in-out;
		-ms-transition: box-shadow .6s ease-in-out;
		transition: box-shadow .6s ease-in-out;
	}
	
	
	
		
	
	/* Animate the box-shadow to create the effect */
	.no-touch .nav2 a:hover i,
	.no-touch .nav2 a:active i,
	.no-touch .nav2 a:focus i {		
		box-shadow: 0 0 0 0 rgba(255,255,255,0.2);
		-webkit-transition: box-shadow .4s ease-in-out;
		-moz-transition: box-shadow .4s ease-in-out;
		-o-transition: box-shadow .4s ease-in-out;
		-ms-transition: box-shadow .4s ease-in-out;
		transition: box-shadow .4s ease-in-out;
	}
		
}

@media (max-width: 1200px) {

	/* Size and font adjustments to make it fit into the screen*/
	.nav2 ul {
	}

}

/* The "tablet" and "mobile" version */

@media (max-width: 1200px) {		
	
	/* Instead of adding a border, we transition the background color */


	.no-touch .nav2 li a:hover,
	.no-touch .nav2 li a:active,
	.no-touch .nav2 li a:focus {
		background: rgb(44, 168, 219);
	}


}

/* CSS specific to the 2x3 columns version */
@media(max-width: 1200px) {
	
	/* Creating the 2 column layout using floating elements once again */
	.nav2 li {
		display: block;
		float: left;
		width: 50%;
	}
	
	/* Adding some padding to make the elements look nicer*/
	.nav2 a {
		padding: 0.4em;		
	}

	/* Displaying the icons on the left, and the text on the right side using inlin-block*/
	.nav2 li span, 
	.nav2 li span.iconi {
		display: inline-block;
	}

	.nav2 li span.iconi {
		/*width: 50%;
*/	}

	.nav2 li .iconi + span {
		font-size: 1em;
	}

	.iconi + span {
		position: relative;
		top: -0.8em;
	}

	/* Adaptating to the icons to animate the size and border of the rounded background in a more discreet way */
	.nav2 li i {
		display: inline-block;
		padding: 1% 1%;
		border: 4px solid transparent;
		border-radius: 50%;
		font-size: 2.5em;
		background: none;
		-webkit-transition: border .5s;
		-moz-transition: border .5s;
		-o-transition: border .5s;
		-ms-transition: border .5s;
		transition: border .5s;
	}

	/* Transition effect on the border color */
	.no-touch .nav2 li:hover i,
	.no-touch .nav2 li:active i,
	.no-touch .nav2 li:focus i {
		border: 0px solid rgba(255,255,255,0.1);
	}
	
}

/* Adapting the font size and width for smaller screns*/
@media (max-width: 800px) {
	
	.nav2 li span.iconi {
		/*width: 50%;*/
	}

	.nav2 li .iconi + span {
		font-size: 0.9em;
	}
}

/* Styling the toggle menu link and hiding it */
.nav2 .navtoogle{
	display: none;	
	width: 100%;
	padding: 0.5em 0.5em 0.8em;
	font-family: 'Lato',Calibri,Arial,sans-serif;
	font-weight: normal;
	text-align: center;
	color: rgb(255, 255, 255);
	font-size: 1.2em;
	background: none;	
	border: none;
	border-bottom: 0px solid rgb(221, 221, 221);
	cursor: pointer;
	background-color:rgb(22, 107, 162);
}

.navtoogle i{
	z-index:-1;
}

.icon-menu {
	position: relative;
	top: 3px;
	line-height: 0;
	font-size: 1.6em;
}

@media (max-width: 800px) {

	/* Unhiding the styled menu link */
	.nav2 .navtoogle{
		margin: 0;
		display: block;
	}
	
	
#c5fix .nav2 button {
margin-bottom:0px;
	padding: 20px;
}
	
	.nav2 li i {
		display: inline-block;
		padding: 0% 0%;
		border: 0px solid transparent;
		border-radius: 0%;
		font-size: 2em;
		background: none;
		
	}
	
	.iconi + span {
		position: relative;
		top: -0.5em;
	}

	
	/* Animating the height of the navigation when the button is clicked */
	
	/* When JavaScript is disabled, we hide the menu */
	.no-js .nav2 ul {
		max-height: 30em;
		overflow: hidden;
	}
	
	/* When JavaScript is enabled, we hide the menu */
	.js .nav2 ul {
		max-height: 0em;
		overflow: hidden;
	}
	
	/* Displaying the menu when the user has clicked on the button*/
	.js .nav2 .active + ul {		
		max-height: 50em;
		overflow: hidden;
		-webkit-transition: max-height .4s;
		-moz-transition: max-height .4s;
		-o-transition: max-height .4s;
		-ms-transition: max-height .4s;
		transition: max-height .4s;
	}

	/* Adapting the layout of the menu for smaller screens : icon on the left and text on the right*/
	
	.nav2 li span {
		display: inline-block;
		height: 100%;
	}


	.nav2 a {
		padding: 0.5em;		
	}
	
	.iconi + span {
		margin-left: 0.8em;
		font-size: 1.3em;
	}
	
	.nav2 ul li a {
}
	
	/* Adding a left border of 8 px with a different color for each menu item*/
	
	.nav2 li {
		border-left: 0px solid rgb(10, 75, 117);
		width:100%;
		text-align:left;
	}

	

	/* make the nav bigger on touch screens */
	.touch .nav a {
		padding: 0.8em;
	}
}

