/* written by q66 <quaker66@gmail.com>
 */

@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700);

html {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -ms-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-image: url("background.png");
    background-attachment: fixed;
    height: 100%;
    color: #EEEEEE;
}

body {
    font-family: Source Sans Pro, Droid Sans, Open Sans, DejaVu Sans, sans-serif;
    font-size: 10pt;
    margin: 0;
    padding: 0;
    border: none;
    height: 100%;
}

#main {
    line-height: 1.5;
    margin: 0;
    padding-left: 1.5em;
    padding-right: 1.5em;
    padding-top: 1.5em;
    margin-left: 17em;
    margin-right: 2em;
    margin-top: 1.5em;
    background: #101010;
    opacity: 0.9;
    outline-style: solid;
    outline-color: #303030;
    outline-width: thin;
    -webkit-box-shadow: 0 0 6px 6px #222222;
    -moz-box-shadow:    0 0 6px 6px #222222;
    -ms-box-shadow:     0 0 6px 6px #222222;
    -o-box-shadow:      0 0 6px 6px #222222;
    box-shadow:         0 0 6px 6px #222222;
}
#main h1 {
    margin: 0;
}

.box {
    text-align: left;
    padding-left: 2em;
    padding-right: 2em;
    padding-top: 1em;
    padding-bottom: 1em;
    background: #202020;
    opacity: 0.9;
    outline-style: solid;
    outline-color: #303030;
    outline-width: thin;
    -webkit-box-shadow: 0 0 6px 6px #222222;
    -moz-box-shadow:    0 0 6px 6px #222222;
    -ms-box-shadow:     0 0 6px 6px #222222;
    -o-box-shadow:      0 0 6px 6px #222222;
    box-shadow:         0 0 6px 6px #222222;
}

.side_box {
    margin: 0.5em;
    margin-top: 1em;
    width: 15em;
    display: inline-block;
    background: #202020;
    outline-style: solid;
    outline-color: #303030;
    outline-width: thin;
    -webkit-box-shadow: 0 0 3px 3px #222222;
    -moz-box-shadow:    0 0 3px 3px #222222;
    -ms-box-shadow:     0 0 3px 3px #222222;
    -o-box-shadow:      0 0 3px 3px #222222;
    box-shadow:         0 0 3px 3px #222222;
}

.side_box .header {
    text-align: center;
    font-weight: bold;
    background: #101010;
    opacity: 0.9;
    outline-style: solid;
    outline-color: #303030;
    outline-width: thin;
}

.side_box .body {
    padding: 0.2em;
    text-align: center;
}

.sep {
    clear: both;
    visibility: hidden;
}

#logo {
    clear: both;
    float: left;
    text-align: center;
    font-weight: bold;
    width: 17em;
    color: #EEEEEE;
    line-height: 3em;
    position: absolute;
}
#logo img {
    width: 15em;
    margin-top: 1em;
}

#menu {
    clear: both;
    float: left;
    text-align: right;
    width: 17em;
    line-height: 1.5;
    position: absolute;
    margin-top: 5em;
}
#menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#menu a {
    text-decoration: none;
    font-weight: bold;
    color: #EEEEEE;
}
#menu a:hover, #menu a:active {
    text-decoration: none;
    color: #76a6c9;
}

#menu_items {
    margin: 0.5em;
    width: 15em;
    display: inline-block;
}

#menu_items .item {
    display: block;
    margin-bottom: 0.3em;
    padding: 0.2em;
    text-align: center;
    background: #101010;
    opacity: 0.9;
    outline-style: solid;
    outline-color: #303030;
    outline-width: thin;
    -webkit-box-shadow: 0 0 3px 3px #222222;
    -moz-box-shadow:    0 0 3px 3px #222222;
    -ms-box-shadow:     0 0 3px 3px #222222;
    -o-box-shadow:      0 0 3px 3px #222222;
    box-shadow:         0 0 3px 3px #222222;
}
#menu_items .item:hover, .item:active, .item_active {
    background: #202020 !important;
    color: #76a6c9 !important;
}

#menu_sidebar {
}

#menu_sidebar #bottom {
    height: 1em;
}

#menu_toggle {
    display: none;
}

#wrapper {
    margin-left: auto;
    margin-right: auto;
    max-width: 1350px;
    position: relative;
}

#footer {
    text-align: center;
    margin-left: 17em;
    margin-right: 2em;
    padding: 1em;
    position: relative;
    bottom: 0;
    width: auto;
    color: #EEEEEE;
    background: #151515;
    opacity: 0.9;
    outline-style: solid;
    outline-color: #303030;
    outline-width: thin;
}

#box_git {
    max-height: 400px;
    overflow-y: scroll;
}

#box_git .item {
    text-align: left;
    padding-left: 0.5em;
    padding-right: 0.5em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    background: #303030;
}
#box_git .line {
    height: 1px;
    background: #404040;
}

p {
    margin: 0 0 0 0;
}

dl {
    margin: 0;
    padding: 0;
}
dt {
    font-weight: bold;
    margin: 0;
    padding: 0;
}
dt .date {
    float: right;
    color: #808080;
}
dd .comments {
    float: right;
    color: #808080;
}
dt a {
    text-decoration: none;
    font-weight: bold;
}
dt a:hover, #menu a:active {
    text-decoration: none;
}
dd {
    margin: 0.5em 0 0 2em;
    padding: 0;
}

#box_git dd {
    margin: 0;
}


a:link {
    text-decoration: none;
    color: #76a6c9;
}
a:visited {
    text-decoration: none;
    color: #688294;
}
a:hover, a:active {
    text-decoration: underline;
    color: #009966;
}

h1, h2, h3 {
    font-weight: bold;
    text-align: left;
}
h1 {
    font-size: 200%;
}
h2 {
    font-size: 150%;
}
h3 {
    font-size: 125%;
}

@media (max-width: 720px) {
    #main {
        margin-left: 1.5em;
        margin-right: 1.5em;
        margin-top: 1em;
    }
    #logo {
        float: none;
        clear: none;
        text-align: center;
        font-weight: bold;
        width: 17em;
        color: #EEEEEE;
        position: static;
        margin-top: 1em;
    }
    #logo img {
        width: 150%;
        margin: 0;
        margin-left: 2em;
    }
    #menu {
        overflow-y: hidden;
        width: auto;
        position: static;
        float: none;
        clear: none;
        text-align: left;
        padding: 0em;
        margin: 0;
        margin-left: 1.5em;
        margin-right: 1.5em;
        background: #101010;
        opacity: 0.9;
        outline-style: solid;
        outline-color: #303030;
        outline-width: thin;
        -webkit-box-shadow: 0 0 6px 6px #222222;
        -moz-box-shadow:    0 0 6px 6px #222222;
        -ms-box-shadow:     0 0 6px 6px #222222;
        -o-box-shadow:      0 0 6px 6px #222222;
        box-shadow:         0 0 6px 6px #222222;

        -webkit-transition: max-height 0.5s ease-in;
        -moz-transition: max-height 0.5s ease-in;
        -ms-transition: max-height 0.5s ease-in;
        -o-transition: max-height 0.5s ease-in;
        transition: max-height 0.5s ease-in;
    }
    #menu_items {
        margin: 0;
        display: inline;
        width: auto;
    }
    #menu_items .item {
        margin: 0.5em;
        background: #202020;
        outline-color: #303030;
        -webkit-box-shadow: 0 0 6px 6px #222222;
        -moz-box-shadow:    0 0 6px 6px #222222;
        -ms-box-shadow:     0 0 6px 6px #222222;
        -o-box-shadow:      0 0 6px 6px #222222;
        box-shadow:         0 0 6px 6px #222222;
    }
    #menu_items .item:hover, .item:active, .item_active {
        background: #303030 !important;
    }
    #menu_toggle {
        cursor: pointer;
        display: block;
        padding: 0.2em;
        text-align: center;
        text-decoration: none;
        font-weight: bold;
        color: #EEEEEE;
        background: #202020;
        opacity: 0.9;
        outline-style: solid;
        outline-color: #303030;
        outline-width: thin;
        -webkit-box-shadow: 0 0 6px 6px #222222;
        -moz-box-shadow:    0 0 6px 6px #222222;
        -ms-box-shadow:     0 0 6px 6px #222222;
        -o-box-shadow:      0 0 6px 6px #222222;
        box-shadow:         0 0 6px 6px #222222;
    }
    #menu_toggle:hover {
        background: #303030;
        color: #76a6c9;
    }
    #menu_toggle.closed {
    }
    #footer {
        position: static;
        width: auto;
        margin: 0;
    }
    #footersize {
        height: 0;
    }
    .side_box {
        vertical-align: top;
    }
}
