/**
* Head
*/
.default .head {
    background: #005486;
    color: #fff;
    height: 44px;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #00649f;
    -webkit-box-shadow: 0 2px 0 0 rgba(0, 0, 0, .2);
       -moz-box-shadow: 0 2px 0 0 rgba(0, 0, 0, .2);
            box-shadow: 0 2px 0 0 rgba(0, 0, 0, .2);
    position: relative;
}

.default .head > div {
    max-width: 1025px;
    margin: 0 auto;
    position: relative;
}

.default .head .logo {
    display: block;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 7px;
    left: 14px;
    cursor: pointer;
    font-family: 'Raleway', 'Open sans', sans-serif;
}
.default .head .logo label {
    position: absolute;
    font-size: 30px;
    line-height: 30px;
    color: rgba(255, 255, 255, 1);
    cursor: pointer;
}
.default .head ul                 { margin: 0; padding: 0; right: 0; top: 0; position: absolute; }
.default .head ul li              { margin: 0; padding: 0; border-left: 1px solid #004476; display: inline-block; }
.default .head ul li:first-child  { border: 0; }
.default .head ul li a {
    text-decoration: none;
    font-size: 12px;
    line-height: 40px;
    display: block;
    color: #fff;
    background: #005486;
    text-indent: -9999px;
    padding: 0 8px;
    margin: 0;
}
.default .head ul li a:hover {
    text-decoration: none;
    color: #fff;
    background: #158bd2;
}

.default .head ul li a[name='random'] {
    background: url("//reposti.com/images/glyphicons_w/glyphicons_083_random.png") no-repeat;
}
.default .head ul li a[name='hot'] {
    background: url("//reposti.com/images/glyphicons_w/glyphicons_022_fire.png") no-repeat;
}
.default .head ul li a[name='new'] {
    background: url("//reposti.com/images/glyphicons_w/glyphicons_282_cardio.png") no-repeat;
}
.default .head ul li a[name='top'] {
    background: url("//reposti.com/images/glyphicons_w/glyphicons_049_star.png") no-repeat;
}
.default .head ul li a[name='submission'] {
    background: url("//reposti.com/images/glyphicons_w/glyphicons_201_upload.png") no-repeat;
}
.default .head ul li a[name='logout'] {
    background: url("//reposti.com/images/glyphicons_w/glyphicons_388_exit.png") no-repeat;
}
.default .head ul li a[name='login'] {
    background: url("//reposti.com/images/glyphicons_w/glyphicons_386_log_in.png") no-repeat;
}
.default .head ul li a[name='create'] {
    background: url("//reposti.com/images/glyphicons_w/glyphicons_006_user_add.png") no-repeat;
}
.default .head ul li a[name='account'] {
    background: url("//reposti.com/images/glyphicons_w/glyphicons_003_user.png") no-repeat;
}

.default .head ul li a[name='random'],
.default .head ul li a[name='hot'],
.default .head ul li a[name='new'],
.default .head ul li a[name='top'],
.default .head ul li a[name='submission'],
.default .head ul li a[name='logout'],
.default .head ul li a[name='login'],
.default .head ul li a[name='create'],
.default .head ul li a[name='account'] {
    background-position: center;
    width: 45px;
    opacity: .55;
}

.default .head ul li a[name='random'].active,
.default .head ul li a[name='hot'].active,
.default .head ul li a[name='new'].active,
.default .head ul li a[name='top'].active,
.default .head ul li a[name='submission'].active,
.default .head ul li a[name='logout'].active,
.default .head ul li a[name='login'].active,
.default .head ul li a[name='create'].active,
.default .head ul li a[name='account'].active {
    opacity: 1;
}

.default .head ul li a[name='random']:hover,
.default .head ul li a[name='hot']:hover,
.default .head ul li a[name='new']:hover,
.default .head ul li a[name='top']:hover,
.default .head ul li a[name='submission']:hover,
.default .head ul li a[name='logout']:hover,
.default .head ul li a[name='login']:hover,
.default .head ul li a[name='create']:hover,
.default .head ul li a[name='account']:hover {
    opacity: 1;
}

.default .head form[name='search'] {
    display: block;
    height: 35px;
    padding: 4px 0 0 0;
}
    .default .head form[name='search'] input[name='query'] {
        min-width: 210px;
        margin: 0 400px 0 130px;
        width: 400px;
        width: calc(100% - 605px);
        font-size: 20px;
        line-height: 26px;
        display: block;
        border: 1px solid #00649f;
        outline: none;
        box-shadow: none;
        color: #000;
    }

[tooltip] {
    position: relative;
}
[tooltip]:before {
    content: '';
    display: none;
    border: 5px solid rgba(0, 0, 0, .9);
    position: absolute;
    z-index: 8;
    font-size: 0;
    line-height: 0;
    width: 0;
    height: 0;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: #1a1a1a;
    border-left-color:  transparent;
    top: 31px;
    left: 26px;
}
[tooltip]:after {
    text-indent: 0;
    display: none;
    content: attr(tooltip);
    position: absolute;
    padding: 5px 8px;
    background: rgba(0, 0, 0, .9);
    color: #fff;
    z-index: 9;
    font-size: 11px;
    line-height: 17px;
    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
            border-radius: 3px;
    top: 41px;
    left: -10px;
    width: 70px;
    text-align: center;
}
[tooltip]:hover:before,
[tooltip]:hover:after {
    display: block;
}


/**
* Main
*/
.default .main {
    background: #f2f2f2;
    padding: 10px 0 30px 0;
    margin: 0;
    min-height: 400px;
    position: relative;
}

    /* Headline */
    .default .main .headline {
        margin: 0 10px;
        background: #f1f5ff;
        border: 1px solid #c0d4de;
        -webkit-border-radius: 4px;
           -moz-border-radius: 4px;
                border-radius: 4px;

        -webkit-box-shadow: inset 0 -2px 0 0 #c0d4de;
           -moz-box-shadow: inset 0 -2px 0 0 #c0d4de;
                box-shadow: inset 0 -2px 0 0 #c0d4de;

        padding: 4px 10px 6px 10px;
        font-size: 14px;
        line-height: 18px;
        color: #005486;
        font-weight: bold;
    }
    .default .main .headline a       { text-decoration: none; color: #005486; }
    .default .main .headline a:hover { text-decoration: underline; }
    .default .main .headline ul      { margin: 0; padding: 0; }
    .default .main .headline ul li   { margin: 0 5px 0 0; padding: 0 10px 0 0; display: inline-block; border-right: 1px solid #bed0d9; }
    .default .main .headline ul li:last-child { border: 0; }
    .default .main .content {
        margin: 5px;
        background: #f9f9f9;
        border: 1px solid #eee;
        -webkit-border-radius: 4px;
           -moz-border-radius: 4px;
                border-radius: 4px;
    }
    .default .main .content .inner {
        padding: 10px;
    }
    .default .main .content .inner p {
        padding: 3px 0;
    }

    /*
    * Sidebar
    */
    .default .main .sidebar {
        width: 200px;
        display: block;
        float: left;
        margin: 10px 0 0 10px;
    }
        .default .main .sidebar ul {
            margin: 10px;
            padding: 0;
        }
        .default .main .sidebar ul li a {
            text-decoration: none;
            font-weight: bold;
        }
        .default .main .sidebar ul li a:hover {
            text-decoration: underline;
        }

        .default .main .sidebar + div {
            margin: 10px 10px 0 225px;
        }

    /*
    * Nav
    */
    .default .main .nav {
        font-size: 14px;
        line-height: 18px;
        margin: 0 0 10px 0;
        border: 1px solid #ddd;

        background: #eaeaea;
        padding: 2px 2px 3px 3px;
        -webkit-box-shadow: 0 -1px 0 rgba(0, 0, 0, .2), 0 2px 0 rgba(255, 255, 255, .7), inset 0 0 3px rgba(0, 0, 0, .15);
           -moz-box-shadow: 0 -1px 0 rgba(0, 0, 0, .2), 0 2px 0 rgba(255, 255, 255, .7), inset 0 0 3px rgba(0, 0, 0, .15);
                box-shadow: 0 -1px 0 rgba(0, 0, 0, .2), 0 2px 0 rgba(255, 255, 255, .7), inset 0 0 3px rgba(0, 0, 0, .15);
        -webkit-border-radius: 5px;
           -moz-border-radius: 5px;
                border-radius: 5px;
    }
        .default .main .nav button {
            -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
               -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
                    box-shadow: 0 1px 3px rgba(0, 0, 0, .25);

        }


/**
* Foot
*/
footer {
    background: transparent;
    color: #888;
    text-align: center;
    margin: 0;
    padding: 35px 0;
    border-top: 1px solid #ccc;
}

/**
* Messages
*/
.message {
    padding: 7px 8px 8px 8px;
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
    font-size: 12px;
    line-height: 16px;
    margin: 0;
    font-weight: bold;
    border: 1px solid #c0d4de;
    -webkit-box-shadow: inset 0 -2px 0 0 #c0d4de;
       -moz-box-shadow: inset 0 -2px 0 0 #c0d4de;
            box-shadow: inset 0 -2px 0 0 #c0d4de;
    background: #f1f5ff;
    color: #005486;
}
.message.standalone {
    margin: 10px;
}
.message.good {
    border: 1px solid #cdedba;
    -webkit-box-shadow: inset 0 -2px 0 0 #cdedba;
       -moz-box-shadow: inset 0 -2px 0 0 #cdedba;
            box-shadow: inset 0 -2px 0 0 #cdedba;
    background: #f0faee;
    color: #0d9c14;
}
.message.info {
    border: 1px solid #ccc;
    -webkit-box-shadow: inset 0 -2px 0 0 #ccc;
       -moz-box-shadow: inset 0 -2px 0 0 #ccc;
            box-shadow: inset 0 -2px 0 0 #ccc;
    background: #fff;
    color: #666;
}
.message.error {
    border: 1px solid #efc0c0;
    -webkit-box-shadow: inset 0 -2px 0 0 #efc0c0;
       -moz-box-shadow: inset 0 -2px 0 0 #efc0c0;
            box-shadow: inset 0 -2px 0 0 #efc0c0;
    background: #faeeee;
    color: #c71010;
}
.message.alert {
    border: 1px solid #edd7bf;
    -webkit-box-shadow: inset 0 -2px 0 0 #edd7bf;
       -moz-box-shadow: inset 0 -2px 0 0 #edd7bf;
            box-shadow: inset 0 -2px 0 0 #edd7bf;
    background: #faf4ee;
    color: #cf7b0a;
}

/**
* Boxes
*/
.box {
    border: 1px solid #c2c2c2;
    padding: 1px;
    background: #fff;
    border-radius: 4px;
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.05), 0 0 4px rgba(0, 0, 0, 0.15);
       -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.05), 0 0 4px rgba(0, 0, 0, 0.15);
            box-shadow: 0 0 4px rgba(0, 0, 0, 0.05), 0 0 4px rgba(0, 0, 0, 0.15);
}
.box.standalone {
    margin: 10px;
}
    /* regular */
    .box .regular-head {
        background: #f0f0f0;
        border: 1px solid #eaeaea;
        border-radius: 4px 4px 0 0;
        text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
        font-size: 14px;
        font-weight: bold;
        line-height: 20px;
        padding: 7px 8px;
        margin: 0;
        color: #666;
    }
    .box .regular-body {
        background: #fff;
        border: 1px solid #f4f4f4;
        font-size: 12px;
        line-height: 16px;
        padding: 2px 8px;
        margin: 1px 0;
        color: #333;
    }
    .box .regular-foot {
        background: #f0f0f0;
        border: 1px solid #eaeaea;
        border-radius: 0 0 4px 4px;
        font-size: 12px;
        line-height: 16px;
        padding: 3px 8px 2px 8px;
        margin: 0;
        color: #555;
    }

    /* table */
    .box .table-head {
        background: #ffffff;
        background: -moz-linear-gradient(top,  #ffffff 0%, #f2f2f2 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f2f2f2));
        background: -webkit-linear-gradient(top,  #ffffff 0%,#f2f2f2 100%);
        background: -o-linear-gradient(top,  #ffffff 0%,#f2f2f2 100%);
        background: -ms-linear-gradient(top,  #ffffff 0%,#f2f2f2 100%);
        background: linear-gradient(to bottom,  #ffffff 0%,#f2f2f2 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f2f2f2',GradientType=0 );
        border-radius: 4px 4px 0 0;
        border-bottom: 1px solid #c2c2c2;
        line-height: 40px;
        font-family: 'Open Sans';
        text-shadow: 0 1px #fff;
        font-size: 14px;
        padding: 0 8px;
        margin: 0;
        color: #555;
        font-weight: 700;
    }
    .box .table-body {
        background: #fafafa;
        font-size: 12px;
        line-height: 16px;
        color: #333;
    }
    .box .table-foot {
        background: #f2f2f2;
        background: -moz-linear-gradient(top,  #f2f2f2 0%, #ffffff 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#ffffff));
        background: -webkit-linear-gradient(top,  #f2f2f2 0%,#ffffff 100%);
        background: -o-linear-gradient(top,  #f2f2f2 0%,#ffffff 100%);
        background: -ms-linear-gradient(top,  #f2f2f2 0%,#ffffff 100%);
        background: linear-gradient(to bottom,  #f2f2f2 0%,#ffffff 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#ffffff',GradientType=0 );
        border-radius: 0 0 4px 4px;
        border-top: 1px solid #ddd;
        font-family: 'Open Sans';
        text-shadow: 0 1px #fff;
        line-height: 40px;
        font-size: 14px;
        padding: 0 8px;
        margin: 1px 0 0 0;
        color: #555;
        font-weight: 700;
    }
        .box .table-foot .padded {
            margin: 0 0 5px 0;
        }

    /* lists */
    .box .table-body ul { margin: 0; padding: 0; }
    .box .table-body ul li {
        padding: 3px 8px;
        margin: 0;
        border-bottom: 1px solid #eae9e7;
    }
    .box .table-body ul li:last-child { border-bottom: 0; }
    .box .table-body ul li:hover:nth-child(odd),
    .box .table-body ul li:hover:nth-child(even)       { background: #fff; }
    .box .table-body ul li:nth-child(odd) {
        border-top: 1px solid #fff;
        background: #f4f4f5;
    }
    .box .table-body ul li:nth-child(even) {
        border-top: 1px solid #f5f6fa;
        background: #f8f8f7;
    }

    /* Messages */
    .box .regular-body .padded {
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        padding: 14px 10px;
        margin: 8px;
        font-weight: bold;
    }
        .box .regular-body .padded.good {
            color: #121d35;
            border: 1px solid #d7e1f0;
            background: #eef1f6;

            -webkit-box-shadow: inset 0 -1px 0 0 #d7e1f0;
            -moz-box-shadow: inset 0 -1px 0 0 #d7e1f0;
            box-shadow: inset 0 -1px 0 0 #d7e1f0;
        }

        .box .regular-body .padded.error {
            color: #c20000;
            border: 1px solid #f0c0c0;
            background: #fae2e2;

            -webkit-box-shadow: inset 0 -1px 0 0 rgba(213, 103, 103, .3);
            -moz-box-shadow: inset 0 -1px 0 0 rgba(213, 103, 103, .3);
            box-shadow: inset 0 -1px 0 0 rgba(213, 103, 103, .3);

        }

        .box .regular-body .padded.info {
            color: #121d35;
            border: 1px solid #d7e1f0;
            background: #eef1f6;

            -webkit-box-shadow: inset 0 -1px 0 0 #d7e1f0;
            -moz-box-shadow: inset 0 -1px 0 0 #d7e1f0;
            box-shadow: inset 0 -1px 0 0 #d7e1f0;
        }

        .box .regular-body .padded.alert {
            color: #cf7b0a;
            border: 1px solid #edd7bf;
            background: #faf4ee;

            -webkit-box-shadow: inset 0 -2px 0 0 #edd7bf;
            -moz-box-shadow: inset 0 -2px 0 0 #edd7bf;
            box-shadow: inset 0 -2px 0 0 #edd7bf;
        }


/**
* Box Buttons
*/
.box .regular-body a.button {
    text-decoration: none;
    display: inline-block;
    color: #444;
    vertical-align: middle;
    padding: 4px;
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
}
.box .regular-body a.button:hover {
    text-decoration: none;
    background: #ddd;
    border: 1px solid #ccc;
    padding: 3px;
    -webkit-box-shadow: inset 2px 2px 2px rgba(0, 0, 0, .05);
       -moz-box-shadow: inset 2px 2px 2px rgba(0, 0, 0, .05);
            box-shadow: inset 2px 2px 2px rgba(0, 0, 0, .05);
}
.box .regular-body a.button:active {
    text-decoration: none;
    background: #ccc;
    border: 1px solid #bababa;
    padding: 3px;
    -webkit-box-shadow: inset 2px 2px 2px rgba(0, 0, 0, .1);
       -moz-box-shadow: inset 2px 2px 2px rgba(0, 0, 0, .1);
            box-shadow: inset 2px 2px 2px rgba(0, 0, 0, .1);
}

.box .regular-foot a.button {
    text-decoration: none;
    display: inline-block;
    color: #444;
    vertical-align: middle;
    padding: 5px;
    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
            border-radius: 3px;
}
.box .regular-foot a.button:hover {
    text-decoration: none;
    background: #ddd;
    border: 1px solid #ccc;
    padding: 4px;
    -webkit-box-shadow: inset 2px 2px 2px rgba(0, 0, 0, .05);
       -moz-box-shadow: inset 2px 2px 2px rgba(0, 0, 0, .05);
            box-shadow: inset 2px 2px 2px rgba(0, 0, 0, .05);
}
.box .regular-foot a.button:active {
    text-decoration: none;
    background: #ccc;
    border: 1px solid #bababa;
    padding: 4px;
    -webkit-box-shadow: inset 2px 2px 2px rgba(0, 0, 0, .1);
       -moz-box-shadow: inset 2px 2px 2px rgba(0, 0, 0, .1);
            box-shadow: inset 2px 2px 2px rgba(0, 0, 0, .1);
}

h3.header {
    color: #555;
    margin: 0 auto;
    max-width: 990px;
    background: #ececec;
    padding: 7px 14px;
    -webkit-box-shadow: 0 -1px 0 rgba(0, 0, 0, .2), 0 1px 0 rgba(255, 255, 255, .7), inset 0 0 1px rgba(0, 0, 0, .15);
       -moz-box-shadow: 0 -1px 0 rgba(0, 0, 0, .2), 0 1px 0 rgba(255, 255, 255, .7), inset 0 0 1px rgba(0, 0, 0, .15);
            box-shadow: 0 -1px 0 rgba(0, 0, 0, .2), 0 1px 0 rgba(255, 255, 255, .7), inset 0 0 1px rgba(0, 0, 0, .15);

    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
}

.inside .counts {
    margin: 0 0 10px 0;
    color: #777;
}

.inside {
    margin-top: 10px;
}

/**
 * Markdown
 */
div.markdown{ }

    div.markdown h1, div.markdown h2, div.markdown h3, div.markdown h4, div.markdown h5, div.markdown h6 {
        font-weight: bold;
        margin: 5px 0 !important;
        padding: 5px 0 !important;
        line-height: 1.25em !important;
    }

    div.markdown h1 {
        color: #000;
        font-size: 22px;
        line-height: 1.25em;
        border-bottom: 2px solid #ccc;
    }

    div.markdown h2 {
        border-bottom: 1px solid #ccc;
        color: #000;
        font-size: 20px;
    }

    div.markdown h3 {
        font-size: 18px;
    }

    div.markdown h4 {
        font-size: 16px;
    }

    div.markdown h5 {
        font-size: 14px;
    }

    div.markdown h6 {
        color: #777;
        background-color: inherit;
        font-size: 14px;
    }

    div.markdown hr {
        height: 0.2em;
        border: 0;
        color: #ccc;
        background-color: #ccc;
    }

    div.markdown p, div.markdown blockquote, div.markdown ul, div.markdown ol,
    div.markdown dl, div.markdown table, div.markdown pre {
        margin: 10px 0;
    }

    div.markdown ol,
    div.markdown ul {
        margin-left: 1.35em;
    }
        div.markdown ol li,
        div.markdown ul li {
            margin: 3px 0;
        }

    div.markdown code,
    div.markdown pre {
        border-radius: 4px;
        background-color: #f8f8f8;
        color: inherit;
    }

    div.markdown code {
        border: 1px solid #eaeaea;
        margin: 0 2px;
        padding: 0 5px;
    }

    div.markdown pre {
        border: 1px solid #ccc;
        padding: 6px 10px;
        font-family: Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif;
        max-height: 600px;
        font-size: 16px;
        line-height: 18px;
        margin: 5px 0 10px 0;
        display: block;
        overflow: auto;
        word-wrap: normal;
    }

    div.markdown pre code {
        white-space: pre;
        overflow: auto;
    }

    div.markdown pre > code {
        border: 0;
        margin: 0;
        padding: 0;
    }

    div.markdown blockquote {
        padding-left: 8px;
        margin-left: 8px;
        border-left: 2px solid #ccc;
    }