div.select-box {
    border: 1px dotted rgb(0,0,0);
    width: 0;
    height: 0;
    position: absolute;
    cursor:	url(http://wikicards.net/static/css/select.cur) 5 6, crosshair;
    top: 0;
    left: 0;
    z-index: 1000;
}

.drag-wrap {
    padding: 50px;
    cursor: url(http://wikicards.net/static/css/closedhand.cur), auto;
    border: 1px solid red;
    z-index: 1000;
}


.drag-wrap * {
    z-index: 1002;
}

.grabber {
    cursor: url(http://wikicards.net/static/css/openhand.cur), auto;
}

#page.grabbing * {
    cursor: url(http://wikicards.net/static/css/closedhand.cur), auto;
}

ul.drag-helper {
	font-size: 0.9em;
    height: auto;
    min-height: 0;
    border: 1px solid rgb(120,120,120);
    background:  rgb(255,238,193);
    padding: 5px;
    color: black;
    -webkit-box-shadow: 3px 3px 4px rgb(120,120,120);
    -moz-box-shadow: 3px 3px 4px rgb(120,120,120);
    box-shadow: 3px 3px 4px rgb(120,120,120);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    z-index: 490;
}

ul.drag-helper li {
    padding: 0;
    margin: 0;
    height: auto;
    min-height:0;
    width:auto;
    white-space: nowrap;
    display: block;
}

#drop-options {
	position: fixed;
	width: 640px;
	min-height: 70px;
    opacity: 0;
	padding: 10px;
	border: 3px solid rgb(198,129,0);
	bottom: 50px;
	left: 50%;
	margin-left: -320px;
	z-index: 1000;
	background: #FEFEEE;
	background:-webkit-gradient(linear, left top, left bottom, from(#FEFEEE), to(#FFD890));
	background:-moz-linear-gradient(top, #FEFEEE, #FFD890);
	background:-o-linear-gradient(top, #FEFEEE, #FFD890);
	background:linear-gradient(top, #FEFEEE, #FFD890);		
	-webkit-border-radius: 1em;
	-moz-border-radius: 1em;
	border-radius: 1em;		
	-webkit-box-shadow: 0.0em 0.0em 4.0em #000;
	-moz-box-shadow: 0.0em 0.0em 4.0em #000;
	box-shadow: 0.0em 0.0em 4.0em #000;
	color: rgb(51,51,51);
    -webkit-transform: scale(0.01);
    -webkit-transition: all 0.5s ease;
    -moz-transform: scale(0.01);
    -moz-transition: all 0.5s ease;
    -o-transform: scale(0.01);
    -o-transition: all 0.5s ease;
    transform: scale(0.01);
    transition: all 0.5s ease;
	}

    #drop-options.on {
        -webkit-transform: scale(1.0);
        -moz-transform: scale(1.0);
        -o-transform: scale(1.0);
        transform: scale(1.0);
        opacity: 1.0;
    }
	
	#drop-options ul {
		overflow: hidden;
	}

	#drop-options li {
		float: left;
		display: block;
	}
	
	.drop-icon {
		z-index:  1000;
		background-repeat: no-repeat;
		background-position: center 10px;
		display: block;
		width: 80px;
		height: 30px;
		padding-top: 40px;
		color: rgb(198,129,0);
		text-align: center;
		font-size: 0.9em;
		font-weight: bold;
		font-family: "Trebuchet MS";
		-webkit-border-radius: 1em;
		-moz-border-radius: 1em;
		border-radius: 1em;		
		text-shadow: 1px 1px 3px rgba(255,255,255,1);
		}	
		
		.drop-icon:hover,.drop-icon.hover {
			background-color: rgb(255,204,108);
			text-shadow: 1px 1px 3px rgba(255,255,255,1);
			color: rgb(148,79,0);
		}
		
.context-menu {
	border: 1px solid rgb(51,51,51);
	background: rgb(245,245,245);
	-webkit-border-radius: 0.4em;
	-moz-border-radius: 0.4em;
	border-radius: 0.4em;
	position: absolute;
	z-index: 5000;
	font-size: 0.8em;
	-webkit-box-shadow: 2px 2px 6px #666;
	-moz-box-shadow: 2px 2px 6px #666;
	box-shadow: 2px 2px 6px #666;
	}
	
	.context-menu > ul {
		min-width: 10em;
		padding: 5px;
		-webkit-box-shadow: -1px -1px 2px #FFF,1px 1px 2px #666;
		-moz-box-shadow: -1px -1px 2px #FFF,1px 1px 2px #666;
		box-shadow: -1px -1px 2px #FFF,1px 1px 2px #666;
		border-radius: 0.4em;
	}
	
	.context-menu ul li {
		position: relative;	
		width: 100%;
		height: 1.7em;
		line-height: 1.6em;
	}

	.context-menu li.separator {
		position: relative;	
		display: block;
		height: 5px;
		border-bottom: 1px dotted rgb(151,151,151);
		margin-bottom: 5px;
	}

	.context-menu li a {
		padding: 1px 5px 1px 5px;
		display: block;
		color:  black;
		-webkit-border-radius: 0.4em;
		-moz-border-radius: 0.4em;
		border-radius: 0.4em;
		white-space: nowrap;
		background-repeat: no-repeat;
		background-position: 2px center;	
	}

    .context-menu li a.disabled,.context-menu li a.disabled:hover {
		color: rgb(151,151,151);
	}
	
	.context-menu li.parent:after {
		content: 'x';
		position: absolute;
		top: 5px;
		right: 5px;
		background: url(img/ctx-arrow.png) no-repeat;
		width: 12px;
		padding-top: 11px;
		height: 0px;
		overflow: hidden;
	}

	
	.context-menu li a:hover,.context-menu li a.upload-hover {
		background-color: rgb(203,227,243);
	}

	.context-menu li a.context-on {
		background-image: url(icons/silk/bullet.png);
	}
	
	.context-menu ul ul {
		position: absolute;
		top: -5px;
		left: 100%;
		min-width: 120px;
		border: 1px solid rgb(221,221,221);
		background: rgb(245,245,245);
		-webkit-border-radius: 0.4em;
		-moz-border-radius: 0.4em;
		border-radius: 0.4em;
		position: absolute;
		z-index: 5000;
		-webkit-box-shadow: 2px 2px 6px #666;
		-moz-box-shadow: 2px 2px 6px #666;
		box-shadow: 2px 2px 6px #666;		
		padding: 5px;
	}

	.tooltip {
		position: absolute;
		top: 0px;
		left: 0px;
		width: 150px;
		height: auto;
		font-size: 0.8em;                          
		border: 1px solid #BDD6FD;
		-webkit-border-radius: 1em;
		-moz-border-radius: 1em;
		border-radius: 1em;		
		-webkit-box-shadow: 2px 2px 6px #666;
		-moz-box-shadow: 2px 2px 6px #666;
		box-shadow: 2px 2px 6px #666;		
		padding: 10px;
		background: white;
		background:-webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#E0EFEF));
		background:-moz-linear-gradient(top, #FFFFFF, #E0EFEF);
		background:-o-linear-gradient(100% 100% 90deg, #FFFFFF, #E0EFEF);
		background:linear-gradient(100% 100% 90deg, #FFFFFF, #E0EFEF);
        z-index: 5000;
        display: none;
	}
	
	.tooltip:after {
		content: '';
		display: block;
		position: absolute;
		bottom: -16px;
		left: 50%;
		margin-left: -11px;
		width: 27px;
		height: 16px;
		background: url(img/tooltip.png) no-repeat;
	}
	

div.selector {
	color: rgb(51,51,51);
	border: 2px solid rgb(127,157,185);
	-webkit-border-radius: 2em;
	-moz-border-radius: 2em;
	border-radius: 2em;
	line-height: 2em;
	min-height: 2em;	
	max-width: 18em;
	float: left;
	padding: 0px 25px 0px 10px;
    background: #FFF;
	box-shadow: -1px -1px 4px #888,1px 1px 4px #FFF;
	background:-webkit-gradient(linear, left top, left bottom, from(#F0F0F0), to(#FFFFFF));
	background:-moz-linear-gradient(top, #F0F0F0, #FFFFFF);
	background:-o-linear-gradient(100% 100% 90deg, #F0F0F0, #FFFFFF);
	background:linear-gradient(100% 100% 90deg, #F0F0F0, #FFFFFF);			
	-webkit-box-shadow: -1px -1px 2px #888,1px 1px 2px #FFF;
	-moz-box-shadow: -1px -1px 2px #888,1px 1px 2px #FFF;
	box-shadow: -1px -1px 2px #888,1px 1px 2px #FFF;
	position: relative;
	cursor: pointer;
	white-space: normal;
	margin-bottom: 0.7em;
	}

    ul.selector.ajax-options {
        z-index: 5000;
        max-width: none;
        position: absolute;
        visibility: visible;
    }
	
	div.selector:after {
		content: 'x';
		position: absolute;
		top: 7px;
		right: 8px;
		background: url(img/dropdown-arrow.png) no-repeat;
		width: 11px;
		padding-top: 12px;
		height: 0px;
		overflow: hidden;	
	}

	div.selector ul,ul.selector {
		visibility: hidden;
		border: 1px solid rgb(51,51,51);
		background: rgb(245,245,245);
		-webkit-border-radius: 0.4em;
		-moz-border-radius: 0.4em;
		border-radius: 0.4em;
		position: absolute;
		-webkit-box-shadow: 2px 2px 6px #666;
		-moz-box-shadow: 2px 2px 6px #666;
		box-shadow: 2px 2px 6px #666;		
		width: 100%;
		top: 100%;
		left: -0.5em;
		margin-top: 2px;
		overflow: auto;
		max-height: 50em;
		z-index: 5000;
		font-size: 0.9em;
		padding: 5px;
		max-width: 15em;
	}
	
	div.selector ul li,ul.selector li {
		padding: 0;
		float: none;
		width:  auto;
		height: auto;
		display: block;
		min-height: 1.7em;
		line-height: 1.7em;
		white-space: normal;
	}

	ul.selector.timezone {
        width: 23em;
        max-width: 23em;
        padding-right: 0;
        font-family: monospace;
    }

	ul.selector.timezone li {
		float: left;
		width:  6.5em;
        margin-right: 1em;
	}
	
	div.selector li a,ul.selector li a {
		height: auto;
		padding: 1px 5px 1px 5px;
		border: none;
		display: block;
		float: none;
		width: auto;
		min-height: 1.7em;
		color:  black;
		-webkit-border-radius: 0.4em;
		-moz-border-radius: 0.4em;
		border-radius: 0.4em;
		background-repeat: no-repeat;
		background-position: 2px 2px;	
		color: rgb(51,51,51);
		white-space: nowrap;

	}

	div.selector li a:hover,ul.selector li a:hover {
		border: none;
		color: black;
		background-color: rgb(203,227,243);
	}

ul.tabbed {
	position: relative;
	margin-top: 2em;
	}
	
	ul.tabbed ul.tabholder {
		position: absolute;
		left: 20px;
		top: -2em;
		font-size: 0.9em;
		z-index: 50;
		width: auto;
		overflow:hidden;
		background: white;
		width: 100%;
		padding: 5px;
		-webkit-border-radius: 0.5em;
		-moz-border-radius: 0.5em;
		border-radius: 0.5em;			
		}
		
		ul.tabbed ul.tabholder > li {
				float: left;
				margin-right: 5px;
				display: block;
				height: 1.8em;
				-webkit-box-shadow: 2px -2px 4px #666;
				overflow:hidden;
				border-radius: 0.4em;	
			}
			
			ul.tabbed ul.tabholder > li.selected {
				overflow: hidden;
				margin-top: 0px;
				margin-bottom: -2px;
				position: relative;
				max-height: 1.9em;
				height: 1.9em;
				overflow: show;
				}
	
				ul.tabbed ul.tabholder > li.selected a {
					line-height: 1.8em;
				}
				
			ul.tabbed ul.tabholder > li a {
				background:-webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#F0F0F0));
				background:-moz-linear-gradient(top, #FFFFFF, #F0F0F0);
				background:-o-linear-gradient(100% 100% 90deg, #FFFFFF, #F0F0F0);
				background:linear-gradient(100% 100% 90deg, #FFFFFF, #F0F0F0);		
				display: block;
				-webkit-border-radius: 0.3em;
				-moz-border-radius: 0.3em;
				border-radius: 0.3em;	
				border-top: 1px solid rgb(255,255,255);
				border-left: 1px solid rgb(255,255,255);
				border-right: 1px solid rgb(181,181,181);
				padding: 0px 5px 0px 5px;
				height: 100%;
				line-height: 1.5em;
				te xt-shadow: 1px 1px 2px #FFF;
				font-weight: normal;
				color: rgb(51,51,51);
				white-space: nowrap;
				}
				
				ul.tabbed ul.tabholder > li a:hover {
					background: #E0E0E0;
				}
		
	ul.tabbed > li {
		padding: 1em;
	}
	
.upload-progress {
	border: 1px solid rgb(51,51,51);
	width: auto;
	height: 0.5em;
	background: #0094FF url(img/progress-bg.png) no-repeat 0px top;
	-webkit-border-radius: 0.3em;
	-moz-border-radius: 0.3em;
	border-radius: 0.3em;	
	margin: 0.5em 0em;	
}

#fileUploader {
    display: block;
    width: 500px;
    height: 100px;
    position: absolute;
    top: -150px;
    left: -450px;
    overflow: hidden;
    opacity: 0.01;
    z-index: 20000;
    }

    #fileUploader input {
        display: block;
        width: 100%;
        height: 500px;
        font-size: 500px;
        line-height: 500px;
        position: absolute;
        top: -20px;
        right: 0px;
    }

.tip {
    position: absolute;
    background: white;
    border: 1px solid black;
    border-radius: 5px;
    padding: 1px 5px;
    font-size: 10px;
    white-space: nowrap;
}