/*! normalize.css */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
main {
  display: block;
}
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}
h2 {
    font-size: 1.5em;
}
h3 {
    font-size: 1.3em;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}
a {
  background-color: transparent;
  color: #0000FF;
}
a:visited {
    color: #800080;
}
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}
b, strong {
  font-weight: bolder;
}
code, kbd, samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
img {
  border-style: none;
}
button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}
button, input {
  overflow: visible;
}
button, select {
  text-transform: none;
}
button, [type="button"], [type="reset"], [type="submit"] {
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
textarea {
  overflow: auto;
}
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
details {
  display: block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none;
}
::-webkit-input-placeholder {
    color:#888;
}
::-moz-placeholder {
    color:#888;
}
::-ms-placeholder {
    color:#888;
}
::placeholder {
    color:#888;
}

/* our css */
body {
   font: 14px Arial, Verdana, Geneva, Helvetica, sans-serif;
   line-height: 1.6em;
   color : #333;
   background-color: #ffffff;
}
html, body {
    width: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: visible !important;
}
h1, h2 {
    margin: 1em 0 .75em 0;
    font-family: Arial, Verdana, Geneva, Helvetica, sans-serif;
    line-height: 1.4em;
    font-weight: normal;
    color: #333;
    clear: both;
    text-transform: capitalize;
}
h1 {
    margin-top: 0;
}
h3 {
    margin: -10px 0 1em 0;
    font-family: Arial, Verdana, Geneva, Helvetica, sans-serif;
    line-height: 1.2em;
    font-weight: normal;
    color: #333;
    clear: both;
    text-transform: capitalize;
    border-bottom: solid 1px #ccc;
}
p {
    margin: 0px 5px 10px 0px;
}
.top_container {
    width: 97.5%;
    padding-left: 2.5%;
    border-bottom: solid 1px #ccc;
    background-color: #eee;
}
.breadcrumbs {
    font-size: 12px;
    margin: 5px 0 0 0;
    padding-bottom: 0;
}
.breadcrumbs .crumbs {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.footer {
    clear: both;
    width: 97.5%;
    padding-left: 2.5%;
    padding-top: 30px;
    padding-bottom: 20px;
    margin-top: 30px;
    border-top: solid 1px #ccc;
    background-color: #eee;
}
.footer p {
    text-align: center;
    font-size: 1em;
}
img.logo {
    width: 200px;
    height: 50px;
}
.container {
    position: relative;
    margin: 0 auto;
    width: 95%;
    text-align: left;
    background-color: #fff;
    border:none;
}
/* login & menu */
.login {
    position: absolute;
    right:2.5%;
    top: 15px;
}
.login a {
    font-size: 16px;
}
.dropdown {
    display: inline-block;
    list-style:none;
    margin:0;
    padding:0;
}
.dropdown li ul {
    list-style:none;
    padding: 10px 0 100px 20px;
    background-color: #fff;
    display:none;
    height:auto;
    position:absolute;
    z-index:200;
    width: 100px;
}
.dropdown li a {
    text-decoration: none;
    font-size:16px;
}
.dropdown li a:hover {
    text-decoration: underline;
}
.dropdown li:hover ul {
    display:block;
}
.dropdown li li {
    display:block;
    float:none;
}
.dropdown li ul a,
.dropdown li ul span {
    display:block;
    font-size:16px;
    font-style:normal;
    padding:12px 0;
    text-align:left;
}
i.arrow.down {
    border: solid #333;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2px;
    margin-bottom: 3px;
    transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}
input[type="checkbox"] {
    -ms-transform: scale(2); /* IE 9 */
    -webkit-transform: scale(2); /* Chrome, Safari, Opera */
    transform: scale(2);
}
.button-container {
    width: 30%;
    margin: 0 1% 30px 0;
    float: left;
}
.button,
.button:visited {
    display:inline-block;
    font-size: 24px;
    text-decoration:none;
    width: 100%;
    margin: 0;
    padding: 50px 0;
    text-align: center;
    background-color: #222;
    color: #fff;
    border-radius:5px;
    box-shadow:0 1px 3px rgba(0,0,0,0.5);
    text-shadow:0 -1px 1px rgba(0,0,0,0.25);
    border-bottom:0;
    border-left:none;
    border-right:0;
    border-top:0;
    position:relative;
    cursor:pointer;
    white-space: nowrap;
    overflow: hidden;
}
.button:hover {
    background-color: #444;
}
.submit,
.submit:visited {
    display:inline-block;
    font-size: 24px;
    text-decoration:none;
    margin: 10px 0;
    padding: 5px 10px;
    text-align: center;
    background-color: #222;
    color: #fff;
    border-radius:5px;
    box-shadow:0 1px 3px rgba(0,0,0,0.5);
    text-shadow:0 -1px 1px rgba(0,0,0,0.25);
    border: solid 1px #333;
    position:relative;
    cursor:pointer;
    overflow:visible;
}
.submit:hover {
    background-color: #444;
}
.input {
    margin: 10px 0;
    font-size: 24px;
    border-radius: 5px;
    padding: 5px 10px;
    color: #333;
    border: solid 1px #333;
}
.break {
    border-top: solid 1px #ccc;
    margin-bottom: 20px;
    clear: both;
}
.tip {
    color: #999;
}
.error {
    color: red;
    font-size: 24px;
}
.success {
    color: #0176d5;
    font-size: 24px;
}
.event-number {
    font-size: .8em;
}
.chart {
    width: 95%;
    max-width: 1200px;
    height: 350px;
    margin: 0 0 40px 0;
    background-color: #eee;
    padding: 10px;
    border-radius: 5px;
}
span.subheader {
    font-style: italic;
    font-size: 14px;
}
table.events {
    border-collapse: collapse;
}
table.events tr:hover {
    background-color: #ddd;
}
table.events td {
    font-size: 1.2em;
    padding: 3px 15px 3px 0;
}
table.events .event_success {
    color: #5cb85c;
    font-weight: bold;
    text-transform: capitalize;
}
table.events .event_fail {
    color: #af3519;
    font-weight: bold;
    text-transform: capitalize;
}
table.events .event_none {
    color: #333;
    font-weight: bold;
    text-transform: capitalize;
}
table.events td.modify {
    font-size: 1.2em;
    padding-left: 20px;
}
table.events th.modify {
    padding-left: 20px;
}
table.events td.modify a {
    padding-right: 5px;
    text-decoration: none;
}
table.events .spoken {
    display: none; /* debug */
}
table.events td.note {
    font-style: italic;
}
table.events td.note .coach {
    color: red;
}
@media screen and (max-width:850px) {
    .tip {
        display: block;
    }
    .button-container {
        width: 100%;
    }
}
@media screen and (max-width:800px) {
    h1 {
        font-size: 20px;
    }
    h1 a {
        display: block;
    }
}
@media screen and (max-width:600px) {
    form.js-modify-event input,
    form.js-modify-event select {
        display: block;
        margin: 5px 0;
    }
    table.events td {
        font-size: 1em;
        padding: 3px 5px 3px 0;
    }
}
@media screen and (max-width:500px) {
    .input {
        font-size: 18px;
        padding: 5px;
    }
    table.events tr.header,
    table.events tr.details {
        width: 100%;
        display: inline-block;
        margin-bottom: 20px;
    }
    table.events td,
    table.events th {
        padding-right: 10px;
    }
    table.events td.note {
        display: block;
        width: 100%;
    }
    table.events td.note .coach {
        display: block;
    }
    table.events th.note {
        display: none;
    }
}
@media screen and (max-width:480px) {
    .portrait-hidden {
        display: none;
    }
    h1 a {
        font-size: 16px;
    }

}
@media screen and (max-width:440px) {
    img.logo {
        margin-top: 20px;
    }
    .login {
        top: 5px;
    }
}

