/*
  style.css contains a reset, font normalization and some base styles.

  credit is left where credit is due.
  additionally, much inspiration was taken from these projects:
    yui.yahooapis.com/2.8.1/build/base/base.css
    camendesign.com/design/
    praegnanz.de/weblog/htmlcssjs-kickstart
*/

/*
  html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
  v1.4 2009-07-27 | Authors: Eric Meyer & Richard Clark
  html5doctor.com/html-5-reset-stylesheet/
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, figure, footer, header,
hgroup, menu, nav, section, menu,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}

article, aside, figure, footer, header,
hgroup, nav, section { display:block; }

nav ul { list-style:none; }

blockquote, q { quotes:none; }

blockquote:before, blockquote:after,
q:before, q:after { content:''; content:none; }

a { margin:0; padding:0; border:0; font-size:100%; vertical-align:baseline; background:transparent; }

ins { background-color:#ff9; color:#000; text-decoration:none; }

mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }

del { text-decoration: line-through; }

abbr[title], dfn[title] { border-bottom:1px dotted #000; cursor:help; }

/* tables still need cellspacing="0" in the markup */
table { border-collapse:collapse; border-spacing:0; }

hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }

input, select { vertical-align:middle; }
/* END RESET CSS */


/*
fonts.css from the YUI Library: developer.yahoo.com/yui/
          Please refer to developer.yahoo.com/yui/fonts/ for font sizing percentages

There are two custom edits:
 * make the line-height relative and unit-less
 * remove the pre,code styles as we use a recommendation from Eric Meyer instead
*/
body { font:13px arial,helvetica,"Nimbus Sans L", "Bitstream Vera Sans", sans-serif; *font-size:small; *font:x-small; line-height:1.22; }

table { font-size:inherit; font:100%; }

select, input, textarea { font:99% arial,helvetica,"Nimbus Sans L", "Bitstream Vera Sans", sans-serif; }


/* normalize monospace sizing
 * meyerweb.com/eric/thoughts/2010/02/12/fixed-monospace-sizing/
 */
code, pre { font-family: "Courier New", monospace, serif; font-size: 1em; }



/*
 * minimal base styles
 */


/* #444 looks better than black: twitter.com/H_FJ/statuses/11800719859 */
body, select, input, textarea { color:#444; }

/* Headers (h1,h2,etc) have no default font-size or margin,
   you'll want to define those yourself. */

/* www.aestheticallyloyal.com/public/optimize-legibility/ */
h1,h2,h3,h4,h5,h6 { font-weight: bold; text-rendering: optimizeLegibility; }

/* maxvoltar.com/archive/-webkit-font-smoothing */
html { -webkit-font-smoothing: antialiased; }


/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
a:active { outline: none; }
a:focus { outline: thin dotted; }

a, a:active, a:visited { color:#607890; }
a:hover { color:#036; }


ul { margin-left:30px; }
ol { margin-left:30px; list-style-type: decimal; }

small { font-size:85%; }
strong, th { font-weight: bold; }

td, td img { vertical-align:top; }

sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }

pre {
  padding: 15px;

  /* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
  white-space: pre; /* CSS2 */
  white-space: pre-wrap; /* CSS 2.1 */
  white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
  word-wrap: break-word; /* IE */
}

/* align checkboxes, radios, text inputs with their label
   by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css  */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; *vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }

/* hand cursor on clickable input elements */
label, input[type=button], input[type=submit], button { cursor: pointer; }


/* These selection declarations have to be separate.
   No text-shadow: twitter.com/miketaylr/status/12228805301
   Also: hot pink. */
::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
::selection { background:#FF5E99; color:#fff; text-shadow: none; }

/*  j.mp/webkit-tap-highlight-color */
a:link { -webkit-tap-highlight-color: #FF5E99; }


/* always force a scrollbar in non-IE */
html { overflow-y: scroll; }

/* make buttons play nice in IE:
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {  width: auto; overflow: visible; }

/* bicubic resizing for non-native sized IMG:
   code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
.ie7 img { -ms-interpolation-mode: bicubic; }



/*
 * Non-semantic helper classes
 */

/* for image replacement */
.ir { display:block; text-indent:-999px; overflow:hidden; background-repeat: none; }

/* Hide for both screenreaders and browsers
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display:none; visibility:hidden; }

/* Hide only visually, but have it available for screenreaders
   www.webaim.org/techniques/css/invisiblecontent/
   Solution from: j.mp/visuallyhidden - Thanks Jonathan Neal! */
.visuallyhidden { position:absolute !important;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px); }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* >> The Magnificent CLEARFIX << */
.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clearfix { display: inline-block; }
* html .clearfix { height: 1%; } /* Hides from IE-mac \*/
.clearfix { display: block; }


 /* Primary Styles
    Author:
 */

@font-face {
  font-family: Museo700;
  src: url('/static/fonts/museo700-regular-webfont.ttf');
}

body {
  color: #333;
  font-size: 86%;
  /*font-size: 14px;*/
  /*margin-left: 10px;
  margin-right: 10px;
  padding: 5px;
  */
  background-color: white;
}

body, select, input {
  font-family: arial, sans-serif;
}

header {
  text-align: right;
}

nav {
  clear: both;
  position:relative;
  height: 26px;
}

nav ul {
  float:left;
  list-style-image:none;
  list-style-position:outside;
  list-style-type:none;
  margin: 0 0 0 5px;
  padding: 0;
}

nav ul li {
  background-color: #E5ECF9;
  color: black;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
  -webkit-border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
  float: left;
  margin: 0 4px 0 0;
  padding: 0;
}

nav ul li a {
  background-position: right top;
  background-repeat: no-repeat;
  display: block;
  font-weight: bold;
  height: 26px;
  line-height: 27px;
  padding: 0 8px;
  vertical-align: middle;
  color: black !important;
  text-decoration: none;
}

nav ul li a:hover {
  background-color: #C3D9FF;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
  -webkit-border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
  color: black !important;
  text-decoration: none;
}

#sub-navigation {
  /*background-color: #ddeeff;*/
  background-color: #C3D9FF;
  color: #4272DB;
  /*border-top: 4px solid #6c98c4;*/
  /*border-top: 2px solid #36C;*/
  /*padding: 6px;*/
  padding: 5px 5px 5px 5px;
  text-align: left;
  min-height: 16px;
  height: 22px;
}

#sub-navigation ul {
  list-style-image:none;
  list-style-position:outside;
  list-style-type:none;
}

#sub-navigation ul li {
  background-color: #C3D9FF;
  color: #4272DB;
  float:left;
  margin: 0;
  padding: 0;
}

#sub-navigation ul li a {
  color: #00C !important;
  display: inline;
  font-weight: normal;
  height: 22px;
  line-height: 23px;
  text-decoration: underline;
}

#sub-navigation ul li a:hover {
  background-color: #C3D9FF !important;
  color: #4272DB;
  font-weight: normal;
  text-decoration: underline;
}

#liner {
}

#intro {
  margin-bottom: 0.5em;
}

#actions {
  display: table;
}

#content {
  display: table;
}

#search{
  background-color: lightgray;
  -moz-border-radius-bottomleft: 5px;
  -moz-border-radius-bottomright: 5px;
  -webkit-border-bottom-left-radius: 5px;
  -webkit-border-bottom-right-radius: 5px;
  float: left;
  padding: 5px;
}

#yyy {
}

aside {
  display: table-cell;
  padding-left: .8em;
  padding-right: .8em;
  vertical-align: top;
  width: 350px;
  min-height: 480px;
}

aside#left {
  /*border-right: 2px solid #36C;*/
}

aside#right {
  float: right;
  border-left: 2px solid #36C;
  width: 300px;
}

#main-content {
  background-color: white;
  display: table-cell;
  padding-left: .8em;
  padding-right: .8em;
  width: 80%;
}

#about, #shortcuts {
  margin-top: 10px;
  text-align: center;
}

#about {
  font-size: 0.88em;
}

footer {
}

h1, h2, h3, h4, h5, h6 {
  padding-bottom:0;
  margin-bottom: 5px;
  letter-spacing: -0,018em;
}

h1 {
  color: #333;
  font-weight: bold;
  font-size: 1.6em;
  margin-top: 8px;
  text-transform: normal;
}

h2 {
  color: black;
  display: block;
  font-weight: bold;
  font-size: 1.375em;
}

h3 {
  color: #4272db;
  font-weight: bold;
  font-size: 1.25em;
  padding: 8px;
}

em {
  font-style:normal;
  font-weight:bold;
}

a {
  /*color: #4272db;*/
  color: #00C;
  text-decoration:underline;
}

a:focus, a:hover {
  color: #00C;
  text-decoration:underline;
}

a:visited {
  /*color: #4272db;*/
  color: #00C;
}

h3 a, h3 a:hover {
  text-decoration: none;
}

a.disabled {
  color: #666;
}

label {
  float: right;
  margin-right: 15px;
}

input  {
  padding-left:1px;
  padding-right:1px;
}

img {
  float: left;
  display:block;
}

pre, code {
  font-family: monospace;
  font-size: 12px;
  margin: 15px;
}

th {
  padding-top: 3px;
  vertical-align: top;
}

div {
  display: block;
}

ul {
  list-style-type: none;
  margin-left: 0;
}

.sprite {
  background: url('/static/img/icons.png') no-repeat top left;
  display: block;
  float: left;
  margin-right: 6px;
  margin-top: 2px;
}

.closedtriangle { background-position: 0 0; width: 12px; height: 9px; }
.history { background-position: 0 -59px; width: 12px; height: 12px; }
.left_big { background-position: 0 -121px; width: 23px; height: 17px; }
.minus { background-position: 0 -188px; width: 12px; height: 12px; }
.no_history { background-position: 0 -250px; width: 12px; height: 12px; }
.note { background-position: 0 -312px; width: 10px; height: 12px; }
.pause { background-position: 0 -374px; width: 12px; height: 12px; }
.pause_disabled { background-position: 0 -436px; width: 12px; height: 12px; }
.plus { background-position: 0 -498px; width: 12px; height: 12px; }
.remove { background-position: 0 -560px; width: 12px; height: 12px; }
.remove_disabled { background-position: 0 -622px; width: 12px; height: 12px; }
.right_big { background-position: 0 -684px; width: 23px; height: 17px; }
.star { background-position: 0 -751px; width: 14px; height: 14px; }
.star_grey { background-position: 0 -815px; width: 14px; height: 14px; }
.start { background-position: 0 -879px; width: 12px; height: 12px; }
.start_disabled { background-position: 0 -941px; width: 12px; height: 12px; }
.stop { background-position: 0 -1003px; width: 12px; height: 12px; }
.stop_disabled { background-position: 0 -1065px; width: 12px; height: 12px; }
.timer { background-position: 0 -1127px; width: 11px; height: 11px; }
.timer_disabled { background-position: 0 -1188px; width: 11px; height: 11px; }


#logo {
  display: block;
  float: left;
  font-family: Museo700;
  font-size: 160%;
  font-weight: bold;
  margin: 40px 25px 10px 10px;
}

.popup {
  visibility: hidden;
  background: black;
  color: white;
  padding: 1em;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  opacity: 0.85;
  -moz-opacity: 0.85;
  -khtml-opacity: 0.85;
  filter: alpha(opacity=85);
  position: absolute;
  width: 30%;
  z-index: 1;
  overflow-x: hidden;
  overflow-y: auto;
}

.pagination {
  padding: 2px;
  margin-top: 3px;
  margin-bottom 3px;
  text-align:right;
}

.eg {
  color: #777;
  font-size: 90%;
}

/* Tables */

.default-list table,
.disabled-list table {
  width: 100%;
}

.default-list {
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
/*  background-color: #ebeff9;*/
  background-color: #E5ECF9;
  border: 2px solid #d2e6ff;
  margin-bottom: 10px;
  padding: 5px;
}

.default-list table .first {
  /*border-left: 1px solid #bad9ff;*/
}

.default table .last {
  /*border-right: 1px solid #bad9ff;*/
}

.default-list table th {
  background-color: #D4E6FC;
  border-bottom: 1px solid #c2cff1;
  padding-left: 3px;
  padding-right: 5px;
  padding-top: 8px;
  padding-bottom: 5px;
  font-weight: bold;
  text-align: left;
}

.default-list table tr {
  border-bottom: thin solid #e8eef7;
  background-color: #FBFBFB;
}

.default-list table .selected {
  background-color: #eaf1ff !important;
}

.default-list table td {
  background-color: #ffffff;
  padding: 3px;
}

.default-list .header {
  background-color: #e7efff;
  padding: 6px;
}

.default-list tr.alt td {
	background: #f4f8ff;
}

.default-list tr.over td {
	background: #fffdd2;
}

.disabled-list {
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
/*  background-color: #ebeff9;*/
  background-color: #EEEEEC;
  border: 2px solid lightgray;
  margin-bottom: 10px;
  padding: 5px;
}

.disabled-list table .first {
  /*border-left: 1px solid #bad9ff;*/
}

.disabled table .last {
  /*border-right: 1px solid #bad9ff;*/
}

.disabled-list table th {
  background-color: #d4d4d2;
  border-bottom: 1px solid #f7f7f7;
  padding-left: 3px;
  padding-right: 5px;
  padding-top: 8px;
  padding-bottom: 5px;
  font-weight: bold;
  text-align: left;
}

.disabled-list table tr {
  border-bottom: thin solid #f7f7f7;
  background-color: #FBFBFB;
}

.disabled-list table .selected {
  background-color: #eaf1ff !important;
}

.disabled-list table td {
  background-color: #ffffff;
  padding: 3px;
}

.disabled-list .header {
  background-color: #e7efff;
  padding: 6px;
}

.disabled-list tr.alt td {
	background: #f4f8ff;
}

.disabled-list tr.over td {
	background: #fffdd2;
}

.disabled-list span.details {
  /*margin-left: 10em;*/
  font-size: 90%;
}

.timer-list {
background-color: #E5ECF9;
border: 2px solid #D2E6FF;
border-bottom-left-radius: 5px 5px;
border-bottom-right-radius: 5px 5px;
border-top-left-radius: 5px 5px;
border-top-right-radius: 5px 5px;
margin-bottom: 10px;
padding: 5px;
}

.timer-list table {
  width: 100%;
}

.timer-list table tr {
  border-bottom: thin solid #f7f7f7;
  background-color: #FBFBFB;
}

.timer-list tr.over td {
	background: #fffdd2;
}

.timer-list table td {
  background-color: #ffffff;
  font-size: 89%;
  padding: 2px;
}

.timer-list table span {
  cursor: pointer;
}

/* Message box */

.wrapper, .message-box {
  /*height: 500px;*/
  height: 50px;
  width: 600px;
  z-index: 1;
}
.wrapper {
  /*bottom: 50%;*/
  top: 10em;
  right: 50%;
  position: absolute;
}
.message-box {
  font-weight: bold;
  left: 50%;
  position: relative;
  /*top: 50%;*/
  text-align: center;
}

.message-box ul {
  background-color: #FFF1A8;
  padding: 0.6em;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}

.message-box a {
  text-decoration: underline;
}

/* Module boxes */

.module {
  margin-bottom: 5px;
}

.module .header {
  background: #DDD;
  color: #333;
  cursor: pointer;
  margin-bottom: 0;
}

.module .header#green {
  background-color: #a5c1a5;;
}

.module .header#blue {
  background-color: #b1d0fa;
  color: black;
}

.module .header a {
  color: #333;
}

.module .header a:hover {
  color: #4272db;
  text-decoration: none;
}

.module .body {
  background: #EEE;
  display: block;
  overflow: hidden;
  /*padding: 4px 8px;*/
  padding: 10px 15px 10px 15px;
}

.module .body#green {
  background-color: #D2E6D2;
}

.module .body#blue {
  background-color: #e6effb;
}

/* Cards */

.card {
  border-color: #BBB;
  border-bottom-left-radius: 5px 5px;
  border-bottom-right-radius: 5px 5px;
  border-style: solid;
  border-width: 1px;
  border-top-left-radius: 5px 5px;
  border-top-right-radius: 5px 5px;
  overflow: hidden;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -webkit-box-shadow: #E3E5EB 0px 1px 1px;
}

.card-common {
  background-color: white;
  margin: 0px 10px;
  zoom: 1;
}

.card-bottom {
  background-color: #F3F5FC;
  /*color: #24B;*/
  color: #666;
  direction: ltr;
  font-size: 90%;
  padding: 4px 13px 7px;
}

.entry {
  position: relative;
  zoom: 1;
  padding: 5px 0px;
}

.entry .entry-title {
  padding: 0;
}

.entry .entry-content {
  padding-bottom: 1em;
  padding-top: 1em;
}

.entry .entry-main {
  margin-left: 30px;
  margin-right: 10px;
  zoom: 1;
}

.entry .entry-body {
  padding-top: 1em;
  /*ax-width: 650px;*/
}

.entry .entry-icons {
  left: 20px;
  top: 20px;
  position: absolute;
    /*
left: 2px;
position: absolute;
top: 2px;
width: 18px;
*/
  vertical-align: top;
}

.entry .entry-date {
  color: #666;
  font-size: 90%;
  text-decoration: none;
}

.entry .entry-date {
  float: right;
}

/* Timeline */

.timeline-list {
  background-color: #C3D9FF;
}

.timeline-list h4 {
border-top: 1px solid #BBB;
font-size: 100%;
font-weight: normal;
line-height: 160%;
margin: 0px;
padding: 0px 0px 0px 1em;
padding-left: 1em;
padding-left: 1em;
}

ul.timeline li {
  background-color: white;
  border-top: 1px solid #BBB;
  border-left: 1px solid #C3D9FF;
  border-right: 1px solid #C3D9FF;
  clear: both;
  margin: 0px;
  /*padding: 0,375em 0px;*/
  padding: 0.3em 0px 0.2em 0.4em;
  z-index: 0;
}

ul.timeline span.expand {
  padding-right: 2em;
}

ul.timeline span.date {
background-position: 5px 50%;
background-repeat: no-repeat;
color: #5F5F5F;
float: left;
padding-right: 1em;
text-align: right;
width: 10.5em;
}

ul.timeline span.details {
}

ul.timeline div.details {
  color: #5F5F5F;
  border-left: 0.3em solid #C3D9FF;
  margin: 0.2em 0 0.2em 12.7em;
  padding: 0.5em;
}

/* Calendar */

.calendar {
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  background-color: #E5ECF9;
  border: 2px solid #d2e6ff;
  margin-bottom: 10px;
  padding: 5px;
}

.calendar a {
  text-decoration: none;
}

.calendar .pagination {
  background-color: #e7efff;
  padding:3px;
  text-align:right;
}

.calendar table th, .calendar table td {
  padding: 0.5em;
}

.calendar table th {
  font-weight: bold;
  /*background-color: lightgray;*/
  border-right: 1px solid lightgray;
  border-top: 1px solid lightgray;
  padding: 5px 8px 5px 8px;
}

.calendar table th.header {
  background-color: #e7efff;
  text-align: center;
}

.calendar table tr {
  border-bottom: thin solid lightgray;
  background-color: #EEEEEC;
}

.calendar table td {
  background-color: #FFFFFF;
  text-align: center;
}

.calendar table td.invalid {
  color: #CCCCCC;
}

.calendar table td.current {
  /*background-color: #b9ccf0;*/
  background: #FFF7D7;
  /*border: 1px solid #FAD163;*/
}

.calendar table td.selected {
  background-color: #d3e3ff;
}

/* Help */

div#help {
  position: fixed;
  right: 4%;
  left: 4%;
  top: 5%;
  opacity: 0.85;
  -moz-opacity: 0.75;
  -khtml-opacity: 0.75;
  filter: alpha(opacity=75);
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  background: black;
  color: white;
  font-weight: bold;
  padding: 1em;
  z-index: 1;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: arial, sans-serif;
}

div#help th {
  border: 0;
  background: black;
  color: #fffff;
  text-align: left;
  font-weight: bold;
}

div#help td {
  background: black;
  font-weight: normal;
}

div#help th {
  margin-bottom: 10px;
  margin-top: 10px;
}

td.shortcut {
  text-align: right;
}

span.letter {
  color: #5989e2;
  font-weight: bold;
  font-family: 'courier new', monospace;
}

.extra {
  color: #777;
}

/* Autocomplete */

.ac_results li {
  font: inherit !important;
  font-size: 98%;
}

.ac_odd {
  background-color: white !important;
}

.ac_over {
  background-color: #fffdd2 !important;
  color: black !important;
}

.ac_loading {
  background: white url('/static/autocomplete/indicator.gif') right center no-repeat !important;
}


/*
 * print styles
 * inlined to avoid required HTTP connection www.phpied.com/delay-loading-your-print-css/
 */
@media print {
  * { background: transparent !important; color: #444 !important; text-shadow: none; }

  a, a:visited { color: #444 !important; text-decoration: underline; }

  a:after { content: " (" attr(href) ")"; }

  abbr:after { content: " (" attr(title) ")"; }

  .ir a:after { content: ""; }  /* Don't show links for images */

  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }

  img { page-break-inside: avoid; }

  @page { margin: 0.5cm; }

  p, h2, h3 { orphans: 3; widows: 3; }

  h2, h3{ page-break-after: avoid; }
}



/*
 * Media queries for responsive design
 */

@media all and (orientation:portrait) {
  /* Style adjustments for portrait mode goes here */

}

@media all and (orientation:landscape) {
  /* Style adjustments for landscape mode goes here */

}

/* Grade-A Mobile Browsers (Opera Mobile, iPhone Safari, Android Chrome)
   Consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */
@media screen and (max-device-width: 480px) {


  /* Prevent iOS, WinMobile from adjusting font size */
  html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; }
}
