* {
    padding: 0px;
    margin: 0px;
    font-family: Arial, sans-serif;
}

a img {
    border: none;
}

body {
    min-height: 100%;
    font-size: 11px;
}

#widget {
    background: #F9F9F9;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
}

.grey-border {
    border: 1px solid #999999;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

/*** Header ***/

#header {
    height: 24px;
    position: relative;
}

#header #logo {
    position: absolute;
    top: 1px;
    left: 0px;
    width: 98px;
    height: 20px;
}

#header #logo a {
    width: 98px;
    height: 20px;
}

#header #top-right-buttons {
    position: absolute;
    top: 4px;
    right: 6px;
    width: 45px;
    height: 16px;
	text-align: right;
}

#header #top-right-buttons a {
    width: 16px;
    height: 16px;
}

#header #top-right-buttons #data-to {
	margin-right: 5px;
}

/*** Body ***/

#body {
    background: #FFFFFF;
    border-left: none;
    border-right: none;
	overflow: hidden;
	width: 100%;
}

div.inner {
    padding: 5px 13px;
}

#data-on {
    color: #999999;
    background: url(../images/clock.png) no-repeat;
    padding-left: 20px;
    padding-top: 1px;
    height: 15px;
    margin-bottom: 10px;
}

div.bubble {
    color: #FFF;
    font-weight: bold;
    height: 23px;
    margin-bottom: 2px;
    cursor: pointer;
}

div.bubble.ticked {
    background: url(../images/bubble-tick.png) no-repeat;
    height: 25px;
    background-position: 7px 18px;   
}

div.bubble span.arrow {
    background: url(../images/down-arrow.png) no-repeat;
    display: inline-block;
    width: 10px;
    height: 8px;
    float: right;
    margin-top: 3px;
}

div.bubble.ticked span.arrow {
    background: url(../images/up-arrow.png) no-repeat;
    margin-top: 2px;
}

div.bubble .inner {
    height: 13px;
    background: #474747;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;  
    padding: 3px 5px;  
}

/*** Tabbed Panel ***/

div.tabbed-panel .tabs {
    border-bottom: 1px solid #999;
    height: 18px;
    margin-bottom: 8px;
}

div.tabbed-panel .tabs img.info {
    margin-left: 10px;
    cursor: pointer;
}

div.tabbed-panel .tabs .tab {
    -webkit-border-radius: 4px 4px 0px 0px;
    -moz-border-radius: 4px 4px 0px 0px;
    border-radius: 4px 4px 0px 0px;
    border: 1px solid #999;
    border-bottom: none;
    width: 60px;
    float: left;
    color: #333333;
    height: 17px;
    margin-right: 3px;
    background: #F3F3F3;
    cursor: pointer;
}

div.tabbed-panel .tabs .tab.selected {
    border-bottom: 1px solid #FFF;
    height: 17px;
    background-color: #FFF;
}

div.tabbed-panel .tabs .tab span {
    display: block;
    text-align: center;
    padding-top: 3px;    
}

div.data-toggle {
    margin-bottom: 10px;
    z-index: 0;
    position: relative;
}

div.data-toggle span {
    font-size: 0.75em;
    color: #666;
    text-transform: uppercase;
    margin-right: 5px;
}

div.data-toggle select {
    font-size: 0.9em;
    width: 70px;
}

div.tabbed-panel .content {
    margin-bottom: 5px;
}

/*** Data Table ***/

div.data table {
    width: 100%;
}

div.data table th {
    font-family: Helvetica;
    color: #000;
    font-weight: normal;
    text-align: left;
}

div.data table tr.data td {
    text-align: center;
    color: #FFF;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding: 5px 0px;
    font-family: Helvetica;
    font-size: 1.2em;
}

div.data table tr.data td.con {
    background: #2BA3D8;
}

div.data table tr.data td.lab {
    background: #FF3E14;
}

div.data table tr.data td.lib {
    background: #FFDF66;
    color: #000;
}

div.data table tr.data td.other {
    background: #EFEFEF;
    color: #000;
}

div.data table tr.data td.bak1 {
    background: #072A64;
}

div.data table tr.data td.bak2 {
    background: #29a2d7;
}

div.data table tr.data td.bak3 {
    background: #f2e83f;
    color: #000;
}

div.data table tr.data td.bak4 {
    background: #9900CC;
}

div.data table tr.data td.bak5 {
    background: #139900;
}


div.data table tr td.spacer {
    width: 3%;
}

div.data table tr.change {
    color: #666;
    text-align: center;
}

/*** Charts ***/

div.chart {
    height: 100px;
}

/*** Links ***/

#links {
	padding-top: 6px;
	border-top: 1px solid #CCC;
}

#links .inner {
    padding: 7px 5px;
}

#links .header {
    color: #666;
    font-weight: bold;
    border-bottom: 1px solid #000;
    padding-bottom: 7px;
    margin-bottom: 8px;
}

.link-list {
    height: 35px;
    overflow-y: auto;
    overflow-x: none;
}

.link-list ul, .link-list ul li {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

.link-list ul li {
    margin-bottom: 4px;
	border-bottom: 1px solid #DDD;
}

.link-list ul li a {
    color: #165B94;
    text-decoration: none;
    background: url(../images/link.png) no-repeat;
    padding-left: 15px;
}

/*** Footer ***/

#footer {
    height: 33px;
}

#footer .inner {
    padding-top: 4px;
}

#footer .join-button, .popup .copy-button-link, .popup .grab-button {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    
    background-color: #0F8EC4;
    background-image: linear-gradient(bottom, rgb(0,130,185) 0%, rgb(41,163,215) 100%);
    background-image: -o-linear-gradient(bottom, rgb(0,130,185) 0%, rgb(41,163,215) 100%);
    background-image: -moz-linear-gradient(bottom, rgb(0,130,185) 0%, rgb(41,163,215) 100%);
    background-image: -webkit-linear-gradient(bottom, rgb(0,130,185) 0%, rgb(41,163,215) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(0,130,185) 0%, rgb(41,163,215) 100%);

    background-image: -webkit-gradient(
    	linear,
    	left bottom,
    	left top,
    	color-stop(0, rgb(0,130,185)),
    	color-stop(1, rgb(41,163,215))
    );
    
    padding: 6px 12px;
    display: inline-block;
}

#footer .join-button {
    width: 115px;
    text-align: center;
    float: left;
    padding: 6px;
}

#footer .join-button a, #grab-popup .copy-button-link {
    color: #FFF;
    text-decoration: none;
}

#footer p.right {
    float: right;
    padding-top: 7px;
}

#footer p.right a {
    color: #12639c;
    text-decoration: none;
}

/** Text ***/

sup {
    vertical-align: top;
    padding: 0px 3px 0px 2px;
}

/*** Popup ***/

.popup {
    position: absolute;
    top: 25px;
    left: 0px;
    background: white;
    width: 100%;
    z-index: 98;
    overflow: auto;
}

.popup .close-button {
    position: absolute;
    right: 15px;
}

.popup .close-button img {
    border: none;
}

.popup h1 {
    font-size: 18px;
    margin-bottom: 8px;
    width: 90%;
}

.popup h2 {
    font-size: 14px;
    margin: 10px 0px 0px 0px;
}

.popup input[type=text], #grab-popup textarea {
    width: 100%;
    padding: 4px 0px;
    border: 1px solid #666;
    margin: 5px 0px;
	font-size: 11px;
}

.popup #referral-code {
    width: 33%;
    margin-right: 15px;
}

.popup textarea {
    height: 70px;
}

.popup .copy-button-link, .popup .grab-button {
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
    text-align: center;
}

.popup a {
    color: #666;
    text-decoration: none;
}

.popup .grab-button {
    margin: 10px 0px;
}

.popup .grab-button a, .popup .copy-button-container {
    color: #FFF;
}

#loader-popup {
    opacity: 0.75;
}

.popup .loader {
    text-align: center;
    padding-top: 10%;
}

.popup .loader h2 {
    margin-bottom: 20px;
}

/*** No Data Message ***/

.no-data {
    padding: 10px 0px;
}

.no-data p {
    margin-bottom: 10px;
}

/*** iPhone Popup ***/

#iphone-popup {
    position: absolute;
    bottom: 10px;
    left: 10%;
    width: 80%;
}

#iphone-popup .header {
    background: #f5f5f5;
    border-radius: 3px 3px 0px 0px;
    -webkit-border-radius: 3px 3px 0px 0px;
    -moz-border-radius: 3px 3px 0px 0px;
    border: 1px solid #000000;
    border-bottom: 0px;
}

#iphone-popup .header .inner {
    padding: 5px;
    height: 16px;
    font-size: 14px;
    padding-left: 11px;
}

#iphone-popup .header .inner img {
    float: right;
    cursor: pointer;
}

#iphone-popup .body {
    border-radius: 0px 0px 3px 3px;
    -webkit-border-radius: 0px 0px 3px 3px;
    -moz-border-radius: 0px 0px 3px 3px;
    border: 1px solid #000000;
    border-top: 0px;  
    background: #474747;
    margin-bottom: 5px;
}

#iphone-popup .body .inner {
    padding: 5px;
    height: 87px;
}

#iphone-popup .body .icon {
    float: left;
    margin-right: 5px;
    background: url(../images/popup-icon.png);
    width: 83px;
    height: 81px;
}

#iphone-popup .body p {
    font-size: 11px;
    margin-top: 10px;
    color: #FFF;
}

#iphone-popup .tick {
    position: absolute;
    bottom: -12px;
    left: 50%;
    margin-left: -15px;
}

#popup-background {
    background: #FFF;
    opacity: 0.5;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

/*** Retina display ***/

@media only screen and (-webkit-min-device-pixel-ratio: 2) {
    #logo a img {
        display: none;
    }
    
    #logo a {
        background: url(../images/logo_retina.png);
        background-size: 92px 14px;
        background-repeat: no-repeat;
        display: block;
        width: 92px;
        height: 14px;
        margin-top: 5px;
        margin-left: 7px;
    }
    
    #iphone-popup .body .icon {
        background: url(../images/popup-icon-retina.png);
        background-size: 83px 81px;
    }
}


/***** SCROLL PANE *****/


.jScrollPaneContainer {
	position: relative;
	overflow: hidden;
}

.jScrollPaneTrack {
	position: absolute;
	cursor: pointer;
	right: 0;
	top: 0;
	height: 100%;
	background: #E1E1E1;
}
.jScrollPaneDrag {
	background: #898989;
	position: absolute;
	cursor: pointer;
	overflow: hidden;
}
.jScrollPaneDragTop {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
}
.jScrollPaneDragBottom {
	position: absolute;
	bottom: 0;
	left: 0;
	overflow: hidden;
}
a.jScrollArrowUp {
	display: block;
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;
	text-indent: -2000px;
	overflow: hidden;
	/*background-color: #666;*/
	height: 9px;
}
a.jScrollArrowUp:hover {
	/*background-color: #f60;*/
}

a.jScrollArrowDown {
	display: block;
	position: absolute;
	z-index: 1;
	bottom: 0;
	right: 0;
	text-indent: -2000px;
	overflow: hidden;
	/*background-color: #666;*/
	height: 9px;
}
a.jScrollArrowDown:hover {
	/*background-color: #f60;*/
}
a.jScrollActiveArrowButton, a.jScrollActiveArrowButton:hover {
	/*background-color: #f00;*/
}