/* base CSS */
/* Common stylesheet - Used in every templates */ 
html {
    margin-left: -0.1px; /* -0.1 to avoid background alignment bug in FF */
    background: #ccc;
    color: #565656;
    font-size: 15px;
    font-family: "source_sans_proregular", Arial, Lucida Sans, Trebuchet MS, Helvetica, Verdana, sans-serif;
}
html, body, div, table, h1, h2, h3, h4, tr, th, td, img, ul, ol, li, form { margin: 0; padding: 0; }
a {       color: #44b0df; text-decoration: none; }
a:hover { color: #317E9F; text-decoration: none; }

img { vertical-align: middle; border: 0 none; }

fieldset { margin-bottom: 8px; border-radius: 4px; }

legend { padding: 0 5px; font-weight: bold; }

ul, ol { padding-left: 24px; }

li { margin-top: 4px; margin-bottom: 4px; }

table { border-spacing: 0; border-collapse: collapse; }

object, embed { vertical-align: top; }

iframe { border: 0 none; }

textarea { max-width: 100%; }

pre { margin: 8px 0; overflow: auto; max-width: 100%; }

p { margin: 8px 0; }

/* title */
h1, h2 {
    font-family: "lato"
} 
h3, h4, th {
    font-family: "lato"
}
h1 {
    font-weight: bold;
    font-size: 22px;
}
h2 {
    font-weight: bold;
    font-size: 18px;
}
h3 {
    margin: 0;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 16px;
    color: #444;
}
h3 a {
    color: #444;
}
h4 {
    margin-top: 6px;
    margin-bottom: 6px;
}
/* progress bar */
.progress-bar {
    height: 20px;
    position: relative;
    overflow: hidden;
    background: #ddd;
    border: 1px solid #888;
    border-radius: 3px;
}
.progress-level {
    width: 0%;
    height: 20px;
    background: #5bff5b;
    background: -moz-linear-gradient(top, #9fff9f, #5bff5b);
    background: -webkit-gradient(linear, left top, left bottom, from(#9fff9f), to(#5bff5b));
}
.red .progress-level {
    background: #ff5b5b;
    background: -moz-linear-gradient(top, #ff9f9f, #ff5b5b);
    background: -webkit-gradient(linear, left top, left bottom, from(#ff9f9f), to(#ff5b5b));
}
.progress-label {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
    text-align: center;
    font-size: 16px;
    line-height: 20px;
}
/* common display styles */
.left { display: block; float: left; }
.right { display: block; float: right; }
.float-container { overflow: hidden; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.block { display: block; }
.first { margin-top: 0; padding-top: 0; }
.no-margin { margin: 0; }
.no-padding { padding: 0; }
.marged { margin-left: 24px; }
.padded { padding-left: 24px; }
.margin-auto { margin: 0 auto; }
.margin-8 { margin: 8px; }
.margin-32 { margin: 32px; }
.column-2 { width: 50%; float: left; display: block; }
.column-3 { width: 33.3%; float: left; display: block; }
.column-32 { width: 66.6%; float: left; display: block; }
.top { vertical-align: top; }
.bottom { vertical-align: bottom; }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.align-left { text-align: left; }
.align-right { text-align: right; }
.full { width: 100%; }
.hidden { display: none; }
.relative { position: relative; }
.mono { font-family: monospace; }
.margin-fix {
    margin-bottom: -1px;
    display: block;
    height: 1px;
    width: 100%;
    clear: both;
}
.separator {
    display: block;
    width: 100%;
    height: 1px;
}
.section {
    margin-left: 24px;
    margin-right: 24px;
}
.paragraph {
    margin-left: 24px;
    margin-right: 24px;
    margin-top: 6px;
    margin-bottom: 12px;
}

/* page structure */
.media-main {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    overflow: auto;
    right: auto;
    width: 100%;
}
.media-top-bar {
    top: 0;
    right: 0;
    position: absolute;
    max-height: 100%;
    max-height: calc(100% - 60px);
    overflow: hidden;
    color: #fff;
}