
.tool-container {
	border-radius: 3px;
	box-shadow: 0px 0px 5px 0 rgba(0,0,0,.2);
	position: absolute;			
}

.tool-container.tool-top, .tool-container.tool-bottom {
	height: 34px;
	border-bottom: 1px solid #beb8b8 ; /* #B1A9A9 */
}

.tool-items {
	height: 100%;	
}

.tool-top .tool-item, .tool-bottom .tool-item {
	float: left;
	border-right: 1px solid #e2dfdf;
	border-left: 1px solid #9f9898;
}

.tool-left .tool-item, .tool-right .tool-item {
	height: 34px;
	border-top: 1px solid #e2dfdf;
	border-bottom: 1px solid #9f9898;
}


.tool-item {
	height: 100%;
	display: block;				
	width: 44px;
	text-align: center;
	background:#ccc;
	background-image: linear-gradient(top, #ccc, #aaa);
	background-image: -moz-linear-gradient(top, #ccc, #aaa);
	background-image: -webkit-linear-gradient(top, #ccc, #aaa);
	background-image: -o-linear-gradient(top, #ccc, #aaa);
	background-image: -ms-linear-gradient(top, #ccc, #aaa);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cccccc', endColorstr='#aaaaaa', GradientType=0); 
	zoom:1;
}
.tool-item:hover {
	background:#fff;
}
.tool-container .tool-items .tool-item i {
	margin-top:8px;
}

.tool-container .tool-items .tool-item:first-child {
	border-left: none;
	border-radius:3px 3px 0 0;
	border-top:none;
}
.tool-container .tool-items .tool-item:last-child {
	border-radius:0 0 3px 3px;
}

.tool-left .tool-item:first-child, .tool-right .tool-item:first-child {
	border-top: 1px solid transparent;
}

.tool-item:last-child {
	border-right: none;
	border-bottom: none;
}

.tool-top .tool-item:last-child:hover, .tool-bottom .tool-item:last-child:hover {
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}

.tool-top  .tool-item:first-child:hover, .tool-bottom  .tool-item:first-child:hover {
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}

.tool-left .tool-item:last-child:hover, .tool-right .tool-item:last-child:hover {
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
}

.tool-left .tool-item:first-child:hover, .tool-right .tool-item:first-child:hover {
	border-top-right-radius: 4px;
	border-top-left-radius: 4px;
}

.tool-container .arrow {
	width:0;
	height:0;
	position: absolute;	
	border-width:7px;
	border-style:solid;
}

.tool-container.tool-top .arrow {
	border-color: #000 transparent transparent; 
	left: 50%;  
	bottom: -14px;
	margin-left: -7px;
}

.tool-container.tool-bottom .arrow {
	border-color: transparent transparent #e9e5e5; 
	left: 50%;  
	top: -14px;
	margin-left: -7px;
}

.tool-container.tool-left .arrow {
	border-color: transparent transparent transparent #E9E5E5;
	top: 50%;
	right: -14px;
	margin-top: -7px;
}

.tool-container.tool-right .arrow {
	border-color: transparent #000 transparent transparent;
	top: 50%;
	left: -14px;
	margin-top: -2px;
}

.demo-link {
	color: #89CDE4;
	text-decoration: underline;
	cursor: pointer;
	margin-left: 30px;
}

.demo-link:hover {
	text-decoration: none;
	cursor: pointer;
}