/*
 * Copyright (c) 2012. Orchid Technology K.K.
 */

body {
	font-family: sans-serif;
}

.l {
	text-align: left;
}
.c {
	text-align: center;
}
.r {
	text-align: right;
}

.list table {
	width: 100%;
}
.list table thead {
	background-color: #b3ceff;
}

.orchid .spinner {
    display: block;
    width: 10px;
    height: 10px;

    border: 2px solid #888;
    border-right-color: transparent;
    border-radius: 50%;

    -webkit-animation: orchid-spin 1s infinite linear;
    -moz-animation: orchid-spin 1s infinite linear;
    -ms-animation: orchid-spin 1s infinite linear;
    -o-animation: orchid-spin 1s infinite linear;
    animation: orchid-spin 1s infinite linear;
}
@-webkit-keyframes orchid-spin {
    to { -webkit-transform: rotate(360deg); }
}
@-moz-keyframes orchid-spin {
    to { -moz-transform: rotate(360deg); }
}
@-ms-keyframes orchid-spin {
    to { -ms-transform: rotate(360deg); }
}
@-o-keyframes orchid-spin {
    to { -o-transform: rotate(360deg); }
}
@keyframes orchid-spin {
    to { transform: rotate(360deg); }
}

.orchid .negative {
    color: #00a;
}
.orchid .positive {
    color: #a00;
}
/*
.orchid .button {
    display: inline-block;
    padding: 0.2em;
    margin: 0.2em;
    border: #aaa solid 1px;
    background-color: #ddd;
    color: #222;
    vertical-align: bottom;
    cursor: pointer;
    font-size: 14px;
}
.orchid .button:hover {
    background-color: #bbb;
}
*/
.orchid .button {
	display: inline-block;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #050505;
	padding: 5px 10px;
	margin: 0.2em;
	cursor: default;
	background: -moz-linear-gradient(
		top,
		#ffffff 0%,
		#ebebeb 50%,
		#dbdbdb 50%,
		#b5b5b5);
	background: -webkit-gradient(
		linear, left top, left bottom, 
		from(#ffffff),
		color-stop(0.50, #ebebeb),
		color-stop(0.50, #dbdbdb),
		to(#b5b5b5));
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	border: 1px solid #949494;
	-moz-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 2px rgba(255,255,255,1);
	-webkit-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 2px rgba(255,255,255,1);
	box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 2px rgba(255,255,255,1);
	text-shadow:
		0px -1px 0px rgba(000,000,000,0.2),
		0px 1px 0px rgba(255,255,255,1); 
}

.orchid .disclaimer {
    padding: 0.5em;
    white-space: pre-wrap;
    font-size: 12px;
    background-color: #fdf8e4;
    color: #664400;
}

.orchid div.chart {
    position: relative;
    width: 640px;
    height: 380px;
    background-color: #000;
}
.orchid .chart .spinner {
    position: absolute;
    top: 150px;
    left: 270px;
    width: 80px;
    height: 80px;
    border-width: 5px;
    border-left-color: transparent;
}
.orchid .chart img {
    position: absolute;
    top: 0;
    left: 0;
    height: 380px;
    width: 640px;
}

.orchid .details .header {
    padding: 0.5em;
    margin-left: -9px;
    background-color: #222;
}
.orchid .details .header .title {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}
.orchid .details .header .button {
    float: right;
}
.details table td.value {
	text-align: right;
	min-width: 8em;
}

div.m {
	margin-top: 4px;
	margin-bottom: 4px;
}


.orchid.stocksearch {
    display: inline-block;
	width: 640px;
    margin: 1em;
    padding: 0.5em;
    border: #aaa solid 1px;
    border-radius: 2px;
    box-shadow: 0 0 16px 2px #ddd;
	background-color: #e0f0ff;
}

.orchid.stocksearch .controls {
    position: relative;
}

.orchid .list tr:not(.header) {
    cursor: pointer;
}
.orchid .list tbody tr:hover {
    background-color: #9fd3d3;
}
.orchid.stocksearch .list tr:not(.default) {
    opacity: 0.7;
}

.orchid.stocksearch .details .exchanges .exchange {
    padding: 0.1em;
    margin: 0.5em;
}
.orchid.stocksearch .details .exchanges .exchange.default {
    font-weight: bold;
}
.orchid.stocksearch .details .exchanges .exchange.active {
    border: #444 solid 1px;
}
