/*
    Document   : global styles
    Created on : 05-Jul-2011, 12:27:06
    Author     : Dominic da Costa
*/

body.has-output {
    margin-bottom: 2em;
}

pre {
    display: none;
    font-family: 'Courier New' ,Courier,monospace;
    margin: 1em 0;
}

code {
    display: block;
}

#output {
    height: auto;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
    padding: 0;
    margin: auto;
    overflow: hidden;
    z-index: 999999999;
    transition: all 150ms ease-in-out;
}

#output nav {
    background: rgba(44, 62, 80, 0.15);
    display: inline-block;
    border-radius: 0 6px 0 0;
}

#output a {
    position: relative;
    line-height: 1;
    padding: 0 0.5em 0 2em;
    display: inline-block;
    line-height: 2em;
    height: 2em;
    color: #fff;
    border: none;
    cursor: pointer;
    text-decoration: none;
    vertical-align: middle;
}

#output a.active {
    background: rgba(44, 62, 80, 0.95);
    border-radius: 6px 6px 0 0;
}

#output a:before {
    content: "";
    position: absolute;
    height: 0.75em;
    width: 0.75em;
    border-radius: 0.5em;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 0.5em;
}

#output a.notice:before {
    background: #2980b9;
}

#output a.error:before {
    background: #e74c3c;
}

#output .messages {
    padding: 0 0.5em;
    max-height: 10em;
    overflow: auto;
    clear: both;
    background: rgba(44, 62, 80, 0.95);
    margin: 0;
    display: block;
    height: 0;
}

#output pre {
    background: none !important;
    padding: 1em;
    margin: 0 0 0 1em;
    border-bottom: 1px solid #555;
    text-transform: uppercase;
    font-size: 0.875em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    word-wrap: break-word;
    display: none;
}

#output .messages:target {
    min-height: 20em;
    height: auto;
}

#output .messages:target pre {
    display: block;
}

#output pre:before {
    content: "";
    position: absolute;
    height: 0.75em;
    width: 0.75em;
    border-radius: 0.5em;
    top: 1.25em;
    margin: auto;
    left: -0.5em;
}

#output pre.notice:before {
    background: #2980b9;
}

#output pre.error:before {
    background: #e74c3c;
}