
/*-------------------------- DEMO 3D BOX ----------------------------------*/
.demo_3dbox {
	position: relative;
	display: inline-block;
	z-index: 100;
}
.demo_3dbox > div {
	position: absolute;
	color: #ffffff;
	background: rgba(100, 100, 100, 0.6);
	border: 1px solid white;
}
.demo_3dbox > div:hover { background: #000000; }
.demo_3dbox > div a { color: #ffffff; text-decoration: none;}

/*-------------------------- DEMO CAROUSEL ----------------------------------*/
#demo_carousel {
	position: relative;
	display: block;
	margin-bottom: 1rem;
	height: 200px;
	vertical-align: middle;
}
#demo_carousel > div {
	position: absolute;
	display: inline-block;
	background: rgba(100, 100, 100, 1);
	color: #ffffff;
}
#demo_carousel > div button {
	margin: 2px;
	padding: 0px; padding-left: 0.3rem; padding-right: 0.3rem;
	font-size: 0.8rem;
}
#demo_carousel > div img { width: 8rem; height: 8rem; }

/*-------------------------- DEMO MENU ----------------------------------*/
#demo_menu, #demo_menu ul {
	position: absolute;
	display: block;
	box-sizing: border-box;
	margin: 0.2rem;
	padding: 0.2rem;
	white-space: nowrap;
	list-style: none;
	background: white;
}
#demo_menu:focus, #demo_menu ul:focus { outline: none; }

#demo_menu li {
	margin-top: 5px;
	text-align: center;
	font-size: 1.2rem; line-height: 2rem;
	white-space: nowrap;
	color: #111111;
	border: 1px solid rgba(225, 228, 255, 0.9);
	background: rgba(50, 120, 50, 0.3);
	box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.15);
}
#demo_menu li:last-child { margin-bottom: 0 !important; }
#demo_menu li > a, #demo_menu li > span {
	display: block;
	padding-left: 1.6rem; padding-right: 1.6rem;
	text-decoration: none;
}
#demo_menu li > a:hover {
	color: white !important;
	background: rgba(0, 0, 100, 0.8);
}
#demo_menu a > .sub {
	position: absolute;
	top: 0px; right: 7px;
	display:inline-block;
}
.demo_menu_link_active {
	color: white !important;
	background: rgba(0, 0, 100, 0.8);
}

