#D3-extention-contents {
    font-family: "Helvetica", "Arial", "Liberation Sans", "FreeSans", sans-serif;
    font-size: 16px;
}

.D3-extention-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font-family: "Helvetica", "Arial", "Liberation Sans", "FreeSans", sans-serif;
    font-size: 14px;
    color: #777;
    background: #fff;
    z-index: 99999;
    top: 0;
}

.D3-extention-overlay a { border: none; }

.D3-extention-grid {
    margin: 80px 0;
    text-align: center;
    background: #fff;
}

.D3-extention-grid h2{
    margin: 25px 0 0;
	font-size: 20px;
}

.D3-extention-topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fafafa;
    padding: 3px;
    border-bottom: 1px solid #ddd;
    text-align: center;
    z-index: 999999;
	text-align: center;
}


.D3-extention-grid-image {
    width: 300px;
    height: 250px;
    display: inline-block;
    margin: 30px;
    border: 1px solid #eee;
    background-color: #f7f7f7;
    background-position: center;
    background-repeat: no-repeat;
	cursor: -webkit-zoom-in;
    position: relative;
	box-shadow: inset 1px 1px 7px #666;
}

.D3-extention-grid-image>div{
    position: absolute;
	left: 50%;
	margin-left: -60px;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	width: 120px;
	height: 25px;
	line-height: 25px;
	color: #ddd;
	border-radius: 10px 10px 0 0;
}

.D3-extention-grid-image:active>div{
    display: none;
}

.D3-extention-button  {
	display: inline-block;
    font-size: 100%; 
    padding: 0.2em 1em 0.25em;
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
	margin: 2px;
    color: #333;
    background-color: #E6E6E6;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80ffffff', endColorstr='#00ffffff', GradientType=0);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(255,255,255, 0.30)), color-stop(40%, rgba(255,255,255, 0.15)), to(transparent));
    background-image: -webkit-linear-gradient(rgba(255,255,255, 0.30), rgba(255,255,255, 0.15) 40%, transparent);
    background-image: -moz-linear-gradient(top, rgba(255,255,255, 0.30), rgba(255,255,255, 0.15) 40%, transparent);
    background-image: -ms-linear-gradient(rgba(255,255,255, 0.30), rgba(255,255,255, 0.15) 40%, transparent);
    background-image: -o-linear-gradient(rgba(255,255,255, 0.30), rgba(255,255,255, 0.15) 40%, transparent);
    background-image: linear-gradient(rgba(255,255,255, 0.30), rgba(255,255,255, 0.15) 40%, transparent);
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 0 0 1px rgba(0,0,0, 0.25) inset, 0 2px 0 rgba(255,255,255, 0.30) inset, 0 1px 2px rgba(0,0,0, 0.15);
}

.D3-extention-button:link  {
	display: inline-block;
    font-size: 100%; 
    padding: 0.2em 1em 0.25em;
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
	margin: 2px;
    color: #333;
    background-color: #E6E6E6;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80ffffff', endColorstr='#00ffffff', GradientType=0);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(255,255,255, 0.30)), color-stop(40%, rgba(255,255,255, 0.15)), to(transparent));
    background-image: -webkit-linear-gradient(rgba(255,255,255, 0.30), rgba(255,255,255, 0.15) 40%, transparent);
    background-image: -moz-linear-gradient(top, rgba(255,255,255, 0.30), rgba(255,255,255, 0.15) 40%, transparent);
    background-image: -ms-linear-gradient(rgba(255,255,255, 0.30), rgba(255,255,255, 0.15) 40%, transparent);
    background-image: -o-linear-gradient(rgba(255,255,255, 0.30), rgba(255,255,255, 0.15) 40%, transparent);
    background-image: linear-gradient(rgba(255,255,255, 0.30), rgba(255,255,255, 0.15) 40%, transparent);
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 0 0 1px rgba(0,0,0, 0.25) inset, 0 2px 0 rgba(255,255,255, 0.30) inset, 0 1px 2px rgba(0,0,0, 0.15);
}

.D3-extention-button:hover {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#26000000', GradientType=0);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(transparent), color-stop(40%, rgba(0,0,0, 0.05)), to(rgba(0,0,0, 0.15)));
    background-image: -webkit-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.15));
    background-image: -moz-linear-gradient(top, transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.15));
    background-image: -ms-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.15));
    background-image: -o-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.15));
    background-image: linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.15));
}

.D3-extention-button:active {
    border: inset 1px solid #999;  /*IE 6/7/8*/
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1A000000', endColorstr='#26000000', GradientType=0);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(0,0,0, 0.10)), to(rgba(0,0,0, 0.15)));
    background-image: -webkit-linear-gradient(rgba(0,0,0, 0.10), rgba(0,0,0, 0.15));
    background-image: -moz-linear-gradient(top, rgba(0,0,0, 0.10), rgba(0,0,0, 0.15));
    background-image: -ms-linear-gradient(rgba(0,0,0, 0.10), rgba(0,0,0, 0.15));
    background-image: -o-linear-gradient(rgba(0,0,0, 0.10), rgba(0,0,0, 0.15));
    background-image: linear-gradient(rgba(0,0,0, 0.10), rgba(0,0,0, 0.15));
    box-shadow: 0 0 0 1px rgba(0,0,0, 0.25) inset, 0 2px 4px rgba(0,0,0, 0.30) inset;
}

#D3-extention-topbar-logo {
    display: inline-block;
	width: 250px;
	height: 48px;
	font-size: 20px;
	text-decoration: none;
	color: #595959;
	line-height: 48px;
	padding-left: 30px;
}

#D3-extention-topbar-logo:hover {
    text-decoration:underline;
}

#D3-extention-excl {
    position: absolute;
	left: 5px;
    top: 18px;
    line-height: 18px;
}

#D3-extention-excl input{
    margin: 0 10px 0 25px;
	display: inline-block;
}

#close-button{
	position: absolute;
	top: 10px; right: 20px;
}

#send-all-button{
	position: absolute;
	top: 10px;
	right: 120px;
}