@font-face { font-family: HamburgHand; src: url(/assets/HamburgHand-Regular.otf); }

body, html { font-family: arial; font-size: 12px; }
body { margin: 0; padding: 0; background: #f5f7f6; }

#loading { position: fixed; top: 0; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.7); z-index: 1000; }
#loading img { position: absolute; top: 50%; left: 50%; margin-top: -8px; margin-left: -8px; }

#loginSplash { position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 0; background: #19193D; }
#loginSplash .welcome { margin-top: 262px; margin-left: 135px; width: 670px; }
#loginSplash .welcome h1 { display: block; font-family: HamburgHand; font-size: 60px; line-height: 75px; color: #ffffff; }
#loginSplash .welcome a { display: block; margin-top: 24px; background: #635ff6; width: 320px; font-size: 16px; line-height: 20px; padding: 15px 0; text-align: center; text-decoration: none; color: #ffffff; }
#loginSplash .welcome img { margin-top: 90px; width: 200px; }
#loginSplash .elements { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: -1; }
#loginSplash .elements img { position: absolute; bottom: 0; right: 0; z-index: 10; }
#loginSplash .elements .line1 { position: absolute; right: 353px; height: 100%; border-left: 2px dashed #F69B2A; }
#loginSplash .elements .line2 { position: absolute; right: 81px; height: 100%; border-left: 2px dashed #F69B2A; }
#loginSplash .elements .line3 { position: absolute; right: 0; top: 187px; width: 353px; border-top: 2px dashed #F69B2A; }
#loginSplash .elements .line4 { position: absolute; bottom: 158px; width: 100%; border-top: 2px dashed #F69B2A; }

#loginHeader { height: 20px; line-height: 20px; padding: 5px 10px; background: #393939; color: #ffffff; }
#loginHeader .links { float: left; }
#loginHeader .links a { margin-right: 10px; }
#loginHeader .login { float: right; }
#loginHeader .login a { margin-left: 10px; }
#loginHeader a { color: inherit; text-decoration: none; }
#loginHeader a:hover { text-decoration: underline; }
#loginHeader a.account { margin-right: 15px; }
#loginHeader img { display: inline-block; height: 20px; margin-right: 10px; vertical-align: top; }

#userDashes { margin: 10px; }
#userDashes .header { margin-bottom: 10px; }
#userDashes .header .set_preferred { float: left; }
#userDashes .header:after { content: ''; display: block; clear: both; }
#userDashes .header h1 { margin: 0; }
#userDashes a { padding: 2px 5px; display: block; text-decoration: none; }
#userDashes a:hover { background: lightgreen; }
#userDashes .preferred { float: left; margin-right: 50px; font-size: 1.2em; }
#userDashes .other { float: left; font-size: 0.8em; display: flex; flex-direction: column; flex-wrap: wrap; max-height: 500px; }
#userDashes .other > div { margin-right: 15px; }
#userDashes .archived { clear: both; padding-top: 20px; }
#userDashes .archived > div { font-size: 0.8em; opacity: 0.7; }
#userDashes .archived:before { content: 'Archived'; display: block; margin-bottom: 5px; }
#userDashes.highlight_set_preferred .header .set_preferred { background: yellow; padding: 5px 10px; float: left; }
#userDashes:after { content: ''; display: block; clear: both; }

#header { min-height: 70px; background: #ffffff; }
#header .client_logo { max-height: 50px; float: left; padding: 10px 20px; margin: 0; }
#header .fm_logo { max-height: 50px; float: right; margin: 10px 20px; }
#header .tabs { float: left; }
#header:after { content: ''; display: block; clear: both; }

.section { margin: 10px 20px; }

.tabs { margin: 10px 20px; }
.tabs > div { display: inline-block; margin-right: 10px; vertical-align: middle; font-size: 1.5em; }
.tabs ul { display: inline-block; vertical-align: middle; list-style: none; margin: 0 0 -10px 0; padding: 0; }
.tabs ul li { float: left; margin: 0 10px 10px 0; }
.tabs ul li a, .tabs ul li div { display: block; padding: 5px 10px; border: 2px solid #00568F; border-radius: 20px 20px 20px 20px; -moz-border-radius: 20px 20px 20px 20px; -webkit-border-radius: 20px 20px 20px 20px; color: #333333; }
.tabs ul a { text-decoration: none; }
.tabs ul a:hover { background: #5088c5; color: #ffffff; }
.tabs ul .current div, .tabs ul .current a { background: #00568F; color: #ffffff; }

.tabs ul.aggregation:before { content: ''; display: block; background: url('images/calendar.png') no-repeat; width: 23px; height: 21px; float: left; margin-right: 20px; }
.tabs ul.aggregation li { margin-right: 20px; }
.tabs ul.aggregation li a, .tabs ul.aggregation li div { border-width: 0; border-radius: 0; -moz-border-radius: 0; -webkit-border-radius: 0; padding: 0 0 4px 0; }
.tabs ul.aggregation a:hover { border-bottom: 3px solid #5088c5; background: none; color: inherit; }
.tabs ul.aggregation .current div { border-bottom: 3px solid #00568F; background: none; color: inherit; }

.data { margin: 10px 20px; }
td { text-align: center; padding: 10px; border-right: 1px solid #949594; color: #333333; max-width: 160px; }
td:last-child { border-right: 0; }
table { border-collapse: collapse; }
.title { font-weight: bold; vertical-align: bottom; text-transform: uppercase; }
.title .make_graph:hover { cursor: pointer; }
.title .make_graph.selected { background: blue; color: white; }
tr:nth-child(even) { background: #e1e1e1; }
tr:nth-child(odd) { /* transparent */ }
tr.title { background: none !important; }
tr.currentrow { background: #90ee90; }
tr.row td { white-space: nowrap; }
.row.total { font-weight: bold; background: lightblue; }

/* for correct odd/even rows */
tr.hide td { font-size: 0; padding: 0; border: 0; }

table td.borderR { border-right: 2px solid #949594; }
table td.borderL { border-left: 2px solid #949594; }
table .borderB td { border-bottom: 2px solid #949594; }
table .borderT td { border-top: 2px solid #949594; }
table td.borderB  { border-bottom: 2px solid #949594; }

.clear { clear: both; }

.dateselect { margin: 10px 20px; }
form .datepicker { width: 80px; text-align: center; margin-left: 5px; margin-right: 10px; }

form.dow { margin: 10px 20px; }
form.dow input[type="submit"] { margin-left: 10px; }

#graph { position: relative; margin: 10px 20px; }
#graph canvas { }
#graph .helpers { position: absolute; top: 0; left: 0; z-index: 1; height: 100%; width: 100%; }
#graph .helper { position: absolute; height: 10px; width: 10px; margin-left: -7px; margin-top: -7px; border-radius: 20px; border: 2px solid transparent; }
#graph .helper:hover { border-color: blue; background: rgba(255,255,255,0.5); }
#graph .helper.bar { margin: 0; border: 0; border-radius: 0; }
#graph .helper .tooltip { display: none; position: absolute; left: 12px; top: 12px; background: white; padding: 5px; border: 1px solid #ccc; white-space: nowrap; text-align: center; }
#graph .helper .tooltip .x { margin-bottom: 2px; }
#graph .helper .tooltip .y { font-size: 1.2em; }
#graph .helper:hover .tooltip { display: block; }
#graph .y-zero-toggle { position: absolute; top: 5px; left: 5px; z-index: 2; }
#graph .y-zero-toggle:before { content: 'Y'; display: block; height: 20px; width: 20px; line-height: 20px; text-align: center; cursor: pointer; }
#graph .y-zero-toggle.from-zero:before { background: lightblue; }

table.sortable tr td.sort:before { content: '\25bc '; }
table.sortable tr td.sort { cursor: pointer; }

td.hide { font-size: 0; padding: 10px 1px; }
td.grouped { background: rgba(100,100,255,0.15); }
td.expand { cursor: pointer; }
td.expand:after { content: '+'; margin-left: 10px; }

.error { font-size: 1.5em; margin-bottom: 10px; font-weight: 600; color: red; }
