/* Iconfont made with icomoon.com */
@font-face {
	font-family: 'cgIcons';
  src:  url('../fonts/cgicons/cgIcons.eot?wxrtkt');
  src:  url('../fonts/cgicons/cgIcons.eot?wxrtkt#iefix') format('embedded-opentype'),
    url('../fonts/cgicons/cgIcons.ttf?wxrtkt') format('truetype'),
    url('../fonts/cgicons/cgIcons.woff?wxrtkt') format('woff'),
    url('../fonts/cgicons/cgIcons.svg?wxrtkt#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

/* reset  list style */
.cbp-tm-menu,
.cbp-tm-menu ul {
	list-style: none;
}

/* set menu position; change here to set to relative or float, etc. */
.cbp-tm-menu {
	display: block;
	position: relative;
	z-index: 1000;
	top: 0;
/*	width: 100%;*/
	text-align: right;
	padding: 0 1.5em;
	margin: 0;
	text-transform: capitalize;
}

/* first level menu items */
.cbp-tm-menu > li {
	display: inline-block;
	margin: 0 1em;
	position: relative;
}

.cbp-tm-menu-a {
	line-height: 6em;
	padding: 0 0.3em;
	font-size: 1em;
	display: block;
	color: #000;
    text-decoration: none;
}

.cbp-tm-menu-a-dark {
	line-height: 6em;
	padding: 0 0.3em;
	font-size: 1em;
	display: block;
	color: #fff;
    text-decoration: none;
}

.cbp-tm-menu-a:hover,
.cbp-tm-menu-a-dark:hover,
.cbp-tm-menu-a:active {
	color: #3b55e6;!important
}


.cbp-tm-menu-a-dark:hover {
	color: #66B2FF;!important
}

/* sumbenu with transitions */
.cbp-tm-submenu {
	position: absolute;
	display: block;
	visibility: hidden;
	opacity: 0;
	padding: 0;
	text-align: left;
	pointer-events: none;
	-webkit-transition: visibility 0s, opacity 0s;
	-moz-transition: visibility 0s, opacity 0s;
	transition: visibility 0s, opacity 0s;
}

.cbp-tm-show .cbp-tm-submenu {
	width: 16em;
	left: 50%;
	margin: 0 0 0 -8em;
	opacity: 0.9;
	visibility: visible;
	pointer-events: auto;
	-webkit-transition: visibility 0s, opacity 0.3s;
	-moz-transition: visibility 0s, opacity 0.3s;
	transition: visibility 0s, opacity 0.3s;
}

.cbp-tm-show-above .cbp-tm-submenu {
	bottom: 100%;
	padding-bottom: 10px;
}

.cbp-tm-show-below .cbp-tm-submenu {
	top: 100%;
	padding-top: 10px;
}

/* extreme cases: not enough space on the sides */
.cbp-tm-nospace-right .cbp-tm-submenu {
	right: 0;
	left: auto;
}

.cbp-tm-nospace-left .cbp-tm-submenu {
	left: 0;
}

/* last menu item has to fit on the screen */
.cbp-tm-menu > li:last-child .cbp-tm-submenu {
	right: 0;
}

/* 	
arrow: depending on where the menu will be shown, we set 
the right position for the arrow
*/

.cbp-tm-submenu:after {
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.cbp-tm-show-above .cbp-tm-submenu:after {
	top: 100%;
	margin-top: -10px;
}

.cbp-tm-show-below .cbp-tm-submenu:after {
	bottom: 100%;
	margin-bottom: -10px;
}

.cbp-tm-submenu:after {
	border-color: transparent;
	border-width: 16px;
	margin-left: -16px;
	left: 50%;
}

.cbp-tm-show-above .cbp-tm-submenu:after {
	border-top-color: #3b55e6;
}

.cbp-tm-show-below .cbp-tm-submenu:after {
	border-bottom-color: #3b55e6;
}

.cbp-tm-submenu > li {
	display: block;
	background: #3b55e6;
}

.cbp-tm-submenu-a {
	padding: 5px 2.3em 5px 0.6em; /* top/bottom paddings in 'em' cause a tiny "jump" in Chrome on Win */
	display: block;
	font-size: 1.1em;
    line-height: 2em;
	position: relative;
	color: #fff;
	border: 4px solid #3b55e6;
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	transition: all 0.2s;
    text-decoration: none;
}

.cbp-tm-submenu-a:hover,
.no-touch .cbp-tm-submenu > li > a:active {
	color: #fff;
	background: #66B2FF;
    text-decoration: none;
}

/* the icons (main level menu icon and sublevel icons) */
.cbp-tm-submenu li a:before,
.cbp-tm-menu > li > a:before {
	font-family: 'cgIcons';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	vertical-align: middle;
	margin-right: 0.6em;
	-webkit-font-smoothing: antialiased;
}

.cbp-tm-submenu li a:before {
	position: absolute;
	top: 50%;
	margin-top: -0.5em;
	right: 0.5em;
}

.cbp-tm-menu > li > a:not(:only-child):before {
	content: "\f0c9";
	font-size: 60%;
	opacity: 0.3;
}

.cbp-tm-icon-hair:before {
	content: "\e95a";
}

.cbp-tm-icon-resto:before {
	content: "\e018";
}

.cbp-tm-icon-food:before {
	content: "\e003";
}

.cbp-tm-icon-earth:before {
	content: "\e005";
}

.cbp-tm-icon-location:before {
	content: "\e006";
}

.cbp-tm-icon-mobile:before {
	content: "\e007";
}

.cbp-tm-icon-screen:before {
	content: "\e008";
}

.cbp-tm-icon-mail:before {
	content: "\e009";
}

.cbp-tm-icon-contract:before {
	content: "\e00a";
}

.cbp-tm-icon-pencil:before {
	content: "\e00b";
}

.cbp-tm-icon-article:before {
	content: "\e00c";
}

.cbp-tm-icon-clock:before {
	content: "\e00d";
}

.cbp-tm-icon-videos:before {
	content: "\e00e";
}

.cbp-tm-icon-pictures:before {
	content: "\e00f";
}

.cbp-tm-icon-link:before {
	content: "\e010";
}

.cbp-tm-icon-refresh:before {
	content: "\e011";
}

.cbp-tm-icon-help:before {
	content: "\e012";
}

/* Media Queries */
/* PHONES */
@media screen and (max-width: 600px) {

	.cbp-tm-menu {
		font-size: 100%;
		position: relative;
		text-align: center;
		padding: 0;
		top: auto;
        
	}

	.cbp-tm-menu > li {
		display: block;
		margin: 0;
        background-color: #303030;
		border-bottom: 2px solid #606060;
	}
    .cbp-tm-menu > li > a {
        line-height: 2em;
        padding: 0 0.3em;
        font-size: 1.1em;
        display: block;
        color: #fff;
    }

/*
	.cbp-tm-menu > li:first-child {
		border-top: 4px solid #505050;
	}
*/

	li.cbp-tm-show > a,
	.no-touch .cbp-tm-menu > li > a:hover,
	.no-touch .cbp-tm-menu > li > a:active {
		color: #000;
		background: #FF9933;
	}

	.cbp-tm-submenu {
		position: relative;
		display: none;
		width: 100%;
	}

	.cbp-tm-submenu > li {
		padding: 0;
	}

	.cbp-tm-submenu > li > a {
		padding: 0.6em 2.3em 0.6em 0.6em;
		border: none;
		border-bottom: 2px solid #404040;
	}

	.cbp-tm-submenu:after {
		display: none;
	}

	.cbp-tm-menu .cbp-tm-show .cbp-tm-submenu {
		display: block;
		width: 100%;
		left: 0;
		margin: 0;
		padding: 0;
	}

}

