﻿
/* Create menu bar */
.menu {
	display: block;	
	position: relative;
	float: right;
	padding: 0;
	margin: 40px 0 0 0;
	height: 40px;
	z-index: 200;
}

/* Create menu bar divider (if needed) */
.menu .menu-divider {
	border-right:1px solid #555;
	margin:0;
	height:40px;
	margin-bottom:-20px;
	padding:0;
}

/* Strip the ul of padding and list styling */
.menu ul {
	list-style-type:none;
	margin:0;
	padding:0;
	position: relative;
}

/* Create a horizontal list with spacing */
.menu ul li {
	display:inline-block;	
	float: left;
}

/* Style for menu links */
.menu ul li a {
	display:block;
	/* min-width:140px;   Set to make all menul links the same width */
	height: 40px;
	line-height: 40px;
	padding-left: 40px;
	padding-right: 40px;
	text-align: center;
	font-family: verdana, arial, sans-serif;
	font-size: 1.1rem;	
	color: #000000;
	background: transparent;
	text-decoration: none;
	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;
	-ms-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
}

/* Set color for highlighted menu selection (if needed) */
.menu .highlighted>a {
	color: #ffffff;
}

/* Hover state for top level links */
.menu ul li a:hover {
	background-color: #356a98;
	color: #ffffff;
}

/* Hide dropdown links until they are needed */
.menu ul ul {
	position: absolute;
	opacity: 0;
	visibility: hidden;
	display: none;
	-webkit-transition: opacity 300ms ease-in-out;
	-moz-transition: opacity 300ms ease-in-out;
	-o-transition: opacity 300ms ease-in-out;
	-ms-transition: opacity 300ms ease-in-out;
	transition: opacity 300ms ease-in-out;
     border-style: solid;
	border-color: #222222;
	border-width: 1px 0 0 0;
}

/* Create 2nd level dropdown list */
.menu ul ul li {
	float: none; 
	position: relative;
}

/* Style for dropdown links */
.menu ul ul li a {
	background-color: rgba(235, 235, 235, 0.9);
	color: #4d4b4b;
	height: 40px;
	line-height: 40px;
	text-align: left;
     font-size: 1em;
}

/* Hover state for dropdown links */
.menu ul li:hover ul a:hover {
	background-color: rgba(11, 66, 138, 0.85);
	color: #fff;
}

/* Create 3rd level dropdown list */
.menu ul ul ul {
	position: absolute; 
	left: 100%;
	border-style: solid;
	border-color: #aaaaaa;
	border-top-width: 1px;
	top: -1px;
	margin-left: -1px;
}

/* Make dropdown links vertical */
.menu ul li ul li {
	display: block;
	float: none;
}

/* Prevent text wrapping */
.menu ul li ul li a {
	min-width: 100px;
	white-space: nowrap;
	padding: 0 20px;
	border-style: solid;
	border-color: #222222;
	border-width: 0 1px 1px 1px;
}
.menu ul li ul li ul li a {
	min-width: 100px;
	white-space: nowrap;
	padding: 0 20px;
	border-style: solid;
	border-color: #aaaaaa;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-right-width: 1px;
}

/* Display the dropdown on hover */
.menu ul li:hover > ul {
	opacity: 1;
	visibility: visible;
	display: block;
}

/* Style for arrows */
.menu ul li .arrow:after {
	content: "";
	float: right;
	text-align: right;
	width: 0; 
	height: 0; 
	display: block;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;	
	border-top: 4px solid #fff;
	top: 9px;
	margin: 15px 0 0 5px;
	position: relative;
}

/* Style for 2nd level arrows */
.menu ul ul li .arrow:after {
	content: "";
	float: right;
	text-align: right;
	width: 0; 
	height: 0; 
	display: block;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;	
	border-left: 4px solid #000;
	top: 6px;
	position: relative;
	margin: 15px 0 0 5px;
}

/* Style 'show menu' button and hide it by default */
.menu-button {
	text-decoration: none;
	color: #fff;
	background: #f15521;
	text-align: center;
	padding: 10px 0;
	display: none;	
	width: 90%;
	max-width: 940px;
	margin-top: 30px;
	margin-bottom: 0;
	margin-left: auto;
	margin-right: auto;
	cursor: pointer;
}


@media screen and (min-width : 1200px) and (max-width : 1300px){
     
.menu ul li a {
	padding-left: 20px;
	padding-right: 20px;
}     
     
}