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

/* set menu position; change here to set to relative or float, etc. */
.cbp-tm-menu {
	display: block;
	z-index: 1000;
	bottom: 0;
	width: 100%;
	font-family:Arial, Verdana, Tahoma, "Times New Roman";
	font-size:14px;
}

/* first level menu items */
.cbp-tm-menu > li {
	display: inline-block;
	position: relative;
	float:right;
}

.cbp-tm-menu > li > a {
	padding-left:10px;
	padding-right:10px;
	display: block;
	color: #fff;
	text-decoration:none;
	margin-left:3px;
	margin-right:3px;
	cursor:pointer;
}

.no-touch .cbp-tm-menu > li > a:hover,
.no-touch .cbp-tm-menu > li > a:active {
	color: #0d3f56;
	background:#fff;
	border-radius:0px;
}

/* 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 {
	left: 50%;
	margin: 0 0 0 -80px;
	opacity: 1;
	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: #fff;
}

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

.cbp-tm-submenu > li {
	display: block;
	background:rgba(255,255,255,0.9);
}

.cbp-tm-submenu > li > a {
	display: block;
	width:155px;
	padding-left:10px;
	font-size:14px;
	text-decoration:none;
	text-align:left;
	position: relative;
	color:#000;
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	transition: all 0.2s;
}

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

.cbp-tm-submenu li:hover :last-child{
	border-radius:0px 0px 6px 6px;
}
.cbp-tm-submenu li:last-child{
	border-radius:0px 0px 5px 5px;
}

