/* -------
 * Globals
   ------- */

* {
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0px;
}

tr.header {
    height: 25px;
    background-color: #ccc;
    background-image: -o-linear-gradient(top, #fff, #999);
    background-image: -ms-linear-gradient(top, #fff, #999);
    background-image: -moz-linear-gradient(top, #fff, #999);
    background-image: -webkit-linear-gradient(top, #fff, #999);
}

tr.highlight {
    height: 25px;
    cursor: pointer;
}

tr.highlight:hover {
    background-color: #ffffff;
}

tr.selected, tr.selected:hover {
    background-color: #99ccff;
    background-image: -webkit-linear-gradient(top, #99ccff, #3399cc);
    background-image: -moz-linear-gradient(top, #99ccff, #3399cc);
    background-image: -ms-linear-gradient(top, #99ccff, #3399cc);
    background-image: -o-linear-gradient(top, #99ccff, #3399cc);
}

hr {
    border:0px;
    border-bottom: dotted #999 1px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.transparent {
    opacity: 0.1;
}

.hand {
    cursor: pointer;
}

.hidden {
    display:none;
}

.centered {
    margin-left:auto;
    margin-right:auto;
}

.spin {
    -webkit-animation: spin 1.5s infinite linear;
    -moz-animation: spin 1.5s infinite linear;
    -ms-animation: spin 1.5s infinate linear;
    -o-animation: spin 1.5s infinate linear;
}

@-webkit-keyframes spin {
    0% {-webkit-transform: rotate(0deg); }
100% {-webkit-transform: rotate(-360deg); }
}

@-moz-keyframes spin {
    0% {-moz-transform: rotate(0deg);}
100% {-moz-transform: rotate(-360deg);}
}

@-ms-keyframes spin {
    0% {-webkit-transform: rotate(0deg); }
100% {-webkit-transform: rotate(-360deg); }
}

@-o-keyframes spin {
    0% {-webkit-transform: rotate(0deg); }
100% {-webkit-transform: rotate(-360deg); }
}

/* ------- *
 * Default *
 * ------- */

a, p, h1, h2, h3, h4, h5, h6, ol, ul, li {
    font-size: 10pt;
    font-family: "Arial", "Helvetica", sans-serif;
    color: #666;
    padding: 0;
    border: 0;
    margin: 0;
    text-decoration: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    position:relative;
    text-align: left;
    line-height: 14pt;
    list-style: none;
}

li {
    list-style-type: disc;
}

/* ---- *
 * Link *
 * ---- */

a {
    color: #3333ff;
    text-align: left;
    cursor: pointer;
}

a:hover {
    text-decoration: underline;
}

/* ----- *
 * Sizes *
 * ----- */

.s6 {
    font-size: 6pt;
    line-height: 8pt;
}

.s8 {
    font-size: 8pt;
    line-height: 10pt;
}

.s10 {
    font-size: 10pt;
    line-height: 12pt;
}

.s12 {
    font-size: 12pt;
    line-height: 14pt;
}

.s14 {
    font-size: 14pt;
    line-height: 16pt;
}

.s16 {
    font-size: 16pt;
    line-height: 18pt;
}

.s18 {
    font-size: 18pt;
    line-height: 20pt;
}

.s20 {
    font-size: 20pt;
    line-height: 22pt;
}

.s24 {
    font-size: 24pt;
    line-height: 26pt;
}

/* ------- *
 * Margins *
 * ------- */

.m0 {
    margin-left: 0px;
    margin-right: 0px;
}

.m5 {
    margin-left: 5px;
    margin-right: 5px;
}

.m10 {
    margin-left: 10px;
    margin-right: 10px;
}

.m15 {
    margin-left: 15px;
    margin-right: 15px;
}

.m20 {
    margin-left: 20px;
    margin-right: 20px;
}

.m25 {
    margin-left: 25px;
    margin-right: 25px;
}

.m30 {
    margin-left: 30px;
    margin-right: 30px;
}

.m35 {
    margin-left: 35px;
    margin-right: 35px;
}

.m40 {
    margin-left: 40px;
    margin-right: 40px;
}

.mt0 {
    margin-top: 0px;
}

.mt5 {
    margin-top: 5px;
}

.mt10 {
    margin-top: 10px;
}

.mt15 {
    margin-top: 15px;
}

.mt20 {
    margin-top: 20px;
}

.mt25 {
    margin-top: 25px;
}

.mt30 {
    margin-top: 30px;
}

.mt35 {
    margin-top: 35px;
}

.mt40 {
    margin-top: 40px;
}

.mt45 {
    margin-top: 45px;
}

.mt50 {
    margin-top: 50px;
}

.mb0 {
    margin-bottom: 0px;
}

.mb5 {
    margin-bottom: 5px;
}

.mb10 {
    margin-bottom: 10px;
}

.mb15 {
    margin-bottom: 15px;
}

.mb20 {
    margin-bottom: 20px;
}

.mb25 {
    margin-bottom: 25px;
}

.mb30 {
    margin-bottom: 30px;
}

.mb35 {
    margin-bottom: 35px;
}

.mb40 {
    margin-bottom: 40px;
}

.mb45 {
    margin-bottom: 45px;
}

.mb50 {
    margin-bottom: 50px;
}

.ml5 {
    margin-left: 5px;
}

.mr5 {
    margin-right: 5px;
}

/* ------ *
 * Colour *
 * ------ */

.red {
    color: #ff3300;
}

.blue {
    color: #0000cc;
}

.green {
    color: #009900;
}

.yellow {
    color: #ffff00;
}

.white {
    color: #ffffff;
}

.grey {
    color: #666666;
}

.orange {
    color: #ff9900;
}

.black {
    color: #000000;
}

.pink {
    color: #ff00ff;
}

/* ---------- *
 * Decoration *
 * ---------- */

.italic {
    font-style: italic;
}

.bold {
    font-weight: bold;
}

.underline {
    text-decoration: underline;
}

.strikethrough {
    text-decoration: line-through;
}

.hand {
    cursor: pointer;
}

.text-shadow {
    text-shadow: 0px 0px 5px #333333;
}

/* ----------- *
 * Positioning *
 * ----------- */

.left {
    text-align: left;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.top {
    vertical-align: top;
}

.bottom {
    vertical-align: bottom;
}

.inline {
    display:inline;
}

/* ----------- *
 * Font family *
 * ----------- */

.times {
    font-family: "Times New Roman", Times, serif;
}

.sans {
    font-family: Arial, Helvetica, sans-serif;
}

.console {
    font-family: "Lucida Console", Monaco, monospace;
}

/* ------------- *
 * Notifications *
 * ------------- */

.notification {
    padding: 5px;
    background-color: #ffffcc;
    border: 1px solid #ffff33;
}

/* ------ *
 * Images *
 * ------ */

img.table-icon{
    width: 20px;
    height: 20px;
    position: relative;
    top: 4px;
}

img.inline-icon {
    width: 24px;
    height: 24px;
    position: relative;
    top: 6px;
    margin-right: 3px;
}

img.form-icon {
    width: 30px;
    height: 30px;
    position: relative;
    top: 10px;
    margin-right: 3px;
}

/* ------------------ *
 * Background colours *
 * ------------------ */

.background-white {
    background-color: #ffffff;
    background-image: -o-linear-gradient(top, #ffffff, #eeeeee);
    background-image: -ms-linear-gradient(top, #ffffff, #eeeeee);
    background-image: -moz-linear-gradient(top, #ffffff, #eeeeee);
    background-image: -webkit-linear-gradient(top, #ffffff, #eeeeee);
}

.background-grey {
    background-color: #eeeeee;
    background-image: -o-linear-gradient(top, #eeeeee, #dddddd);
    background-image: -ms-linear-gradient(top, #eeeeee, #dddddd);
    background-image: -moz-linear-gradient(top, #eeeeee, #dddddd);
    background-image: -webkit-linear-gradient(top, #eeeeee, #dddddd);
}

.background-green {
    background-color: #ccffcc;
    background-image: -o-linear-gradient(top, #ccffcc, #33cc33);
    background-image: -ms-linear-gradient(top, #ccffcc, #33cc33);
    background-image: -moz-linear-gradient(top, #ccffcc, #33cc33);
    background-image: -webkit-linear-gradient(top, #ccffcc, #33cc33);
}

.background-red {
    background-color: #ffcccc;
    background-image: -o-linear-gradient(top, #ffcccc, #cc3333);
    background-image: -ms-linear-gradient(top, #ffcccc, #cc3333);
    background-image: -moz-linear-gradient(top, #ffcccc, #cc3333);
    background-image: -webkit-linear-gradient(top, #ffcccc, #cc3333);
}

.background-yellow {
    background-color: #ffffcc;
    background-image: -o-linear-gradient(top, #ffffcc, #cccc33);
    background-image: -ms-linear-gradient(top, #ffffcc, #cccc33);
    background-image: -moz-linear-gradient(top, #ffffcc, #cccc33);
    background-image: -webkit-linear-gradient(top, #ffffcc, #cccc33);
}

.background-blue {
    background-color: #ccccff;
    background-image: -o-linear-gradient(top, #ccccff, #3333cc);
    background-image: -ms-linear-gradient(top, #ccccff, #3333cc);
    background-image: -moz-linear-gradient(top, #ccccff, #3333cc);
    background-image: -webkit-linear-gradient(top, #ccccff, #3333cc);
}

.shadow {
    box-shadow: 0 2px 2px 2px #ccc;
}

.border {
    border: 1px solid #333;
}

.radius5 {
    border-radius: 5px;
}

.radius10 {
    border-radius: 10px;
}

.radius15 {
    border-radius: 15px;
}

/* ------- *
 * Buttons *
 * ------- */

div.container {
    border-radius: 5px;
    border: 1px solid #333;
    background-color: #eeeeee;
    background-image: -o-linear-gradient(top, #ffffff, #eeeeee);
    background-image: -ms-linear-gradient(top, #ffffff, #eeeeee);
    background-image: -moz-linear-gradient(top, #ffffff, #eeeeee);
    background-image: -webkit-linear-gradient(top, #ffffff, #eeeeee);
    padding: 10px;
}

div.button {
    width: 120px;
    height: 30px;
    border-radius: 5px;
    border: 1px solid #333;
    background-color: #eeeeee;
    background-image: -o-linear-gradient(top, #ffffff, #eeeeee);
    background-image: -ms-linear-gradient(top, #ffffff, #eeeeee);
    background-image: -moz-linear-gradient(top, #ffffff, #eeeeee);
    background-image: -webkit-linear-gradient(top, #ffffff, #eeeeee);
    cursor: pointer;
    text-align: center;
}

div.button:hover {
    background-color: #ffffff;
    background-image: -o-linear-gradient(top, #ffffff, #eeeeee);
    background-image: -ms-linear-gradient(top, #ffffff, #eeeeee);
    background-image: -moz-linear-gradient(top, #ffffff, #eeeeee);
    background-image: -webkit-linear-gradient(top, #ffffff, #eeeeee);
    box-shadow: 0 0 2px #333;
}

div.button:active {
    background-color: #dddddd;
    background-image: -o-linear-gradient(top, #eeeeee, #dddddd);
    background-image: -ms-linear-gradient(top, #eeeeee, #dddddd);
    background-image: -moz-linear-gradient(top, #eeeeee, #dddddd);
    background-image: -webkit-linear-gradient(top, #eeeeee, #dddddd);
    box-shadow: 0 0 2px #333;
}

div.dropdown-item {
    height: 30px;
    background-color: #eeeeee;
    background-image: -o-linear-gradient(top, #ffffff, #eeeeee);
    background-image: -ms-linear-gradient(top, #ffffff, #eeeeee);
    background-image: -moz-linear-gradient(top, #ffffff, #eeeeee);
    background-image: -webkit-linear-gradient(top, #ffffff, #eeeeee);
    padding: 5px;
    cursor: pointer;
}

div.dropdown-item:hover {
    background-color: #ffffff;
    background-image: -o-linear-gradient(top, #ffffff, #eeeeee);
    background-image: -ms-linear-gradient(top, #ffffff, #eeeeee);
    background-image: -moz-linear-gradient(top, #ffffff, #eeeeee);
    background-image: -webkit-linear-gradient(top, #ffffff, #eeeeee);
    box-shadow: 0 0 2px #333 inset;
}

div.dropdown-item:active {
    background-color: #dddddd;
    background-image: -o-linear-gradient(top, #eeeeee, #dddddd);
    background-image: -ms-linear-gradient(top, #eeeeee, #dddddd);
    background-image: -moz-linear-gradient(top, #eeeeee, #dddddd);
    background-image: -webkit-linear-gradient(top, #eeeeee, #dddddd);
    box-shadow: 0 0 2px #333 inset;
}

/* ------- *
 * Padding *
 * ------- */

.pad5 {
    padding: 5px;
}

.pad10 {
    padding: 10px;
}

.pad15 {
    padding: 15px;
}

.pad20 {
    padding: 20px;
}

.pad25 {
    padding: 25px;
}

.pad30 {
    padding: 30px;
}

/* ------ *
 * Images *
 * ------ */

img.loading {
    width: 24px;
    height: 24px;
    position: relative;
    top: 7px;
}

img.large-picture {
    width:200px;
    height:200px;
    border:1px solid #333;
    border-radius:5px 5px;
    box-shadow:0 0px 2px #333;
}

img.medium-picture {
    width:100px;
    height:100px;
    border:1px solid #333;
    border-radius:5px 5px;
    box-shadow:0 0px 2px #333;
}

img.small-picture {
    width:50px;
    height:50px;
    border:1px solid #333;
    border-radius:5px 5px;
    box-shadow:0 0px 2px #333;
}