@charset "UTF-8";

body{
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}
div#headerImage{
    background-color: #3D9AD1;
    text-align: center;
}
div#headerImage img{
    display:none;
}
div#headerImage a{
    line-height: 60px;
    height: 60px;
    font-weight: bold;
    text-shadow: 0 0 0.2em black, 0 0 0.02em black;
    color: #FFBB00;
    vertical-align: middle;
    font-size: 30pt;
    width: 100%;
    text-decoration:none;
}
a.button, div.posthdr div.controls > div > ul > li > a{
    text-align:center;
    background-color: #55C1FF;
    
    color: black;
    text-decoration: none;
    padding: 0.2em;
    display:block;
    
    min-height: 1em;
}
div.userbox > a.button{
    border: none;
}
div.userbox > form{
    opacity: 0;
    visibility: hidden;
    text-align: left;
    position:absolute;
    background-color: #55C1FF;
    margin-top: -2px;
    -webkit-transition: opacity 0.3s ease-out;
       -moz-transition: opacity 0.3s ease-out;
        -ms-transition: opacity 0.3s ease-out;
         -o-transition: opacity 0.3s ease-out;
            transition: opacity 0.3s ease-out;
    width: 90%;
    width: calc(100% - 0.4em);
    padding: 0.2em;
}
div.userbox > form > label > span{
    display: block;
    font-weight:bold;
    font-size: 10pt;
    padding: 0.3em;
    padding-left: 0;
}
div.userbox > form > a{
    color: #03436A;
}
div.userbox > form > label > input[type="text"], div.userbox > form > label > input[type="password"]{
    display: block;
    margin:0;
    width: 80%;
    width: calc(100% - 0.4em);
    font-size: 14pt;
}
div.userbox > ul > li > a.disabled{
    font-weight:normal;
}
div.controls > * > ul > li > a.disabled,
div.controls > a.disabled,
div.controls > * > a.disabled,
a.button.disabled{
    background-color: #AAA !important;
}
div.controls > div > ul > li > a{
    border-top: none;
}
a.dropdown{
    display:block;
}
a.dropdown:after{
    content: "▼";
    margin-left: 0.3em;
}
div.postcontent{
    padding-top: 1em;
    padding-bottom: 1em;
}
div.userblock{
    padding: 0.5em;
    background-color: #DDD;
}
div.userblock > a{
    display:inline-block;
    vertical-align: top;
}
div.userblock > a > span, div.userblock > a > img{
    display: inline-block;
    width: 2em;
    height: 2em;
    line-height: 2em;
    text-align:center;
    font-size: 27px;
    background-color: #888;
    text-transform: capitalize;
    color: white;
    color: rgba(255,255,255,0.8);
}
div.userblock{
    vertical-align:top;
}
div.userblock > div{
    display:inline-block;
    margin-left: 1em;
}

div.userbox > span{
    font-size: 8pt;
}
div.userbox{
    margin-bottom: 1em;
}
div.userbox span.warning{
    font-size: 9pt;
    font-weight:bold;
    color: red;
}
div.userbox > ul, div.controls{
    margin:0; padding:0;
    text-align:center;
    background-color: #55C1FF;
}
span.alert{
    display:inline-block;
    width: 1em;
    line-height: 1em;
    height: 1em;
    vertical-align: middle;
    color: white;
    border-radius: 0.2em;
    background-color: #03436A;
    text-align:center;
    margin-right: 0.5em;
}
div.controls ul{
        -webkit-transition: opacity 0.3s ease-out;
       -moz-transition: opacity 0.3s ease-out;
        -ms-transition: opacity 0.3s ease-out;
         -o-transition: opacity 0.3s ease-out;
            transition: opacity 0.3s ease-out;
}
div.userbox > ul > li > a,  div.controls > a, div.controls > div > a {
    color: black;
    text-decoration: none;
    border-left: 1px solid #3D9AD1;
    display:block;
    padding: 0.2em;
    padding-left: 1em;
    padding-right: 1em;
}
div.userbox > ul > li:last-child > a, div.controls > a:last-child{
    border-right: 1px solid #3D9AD1;
}
div.controls > div > ul,  div.controls > div > ul > li {
    display:block;
    margin:0;
    padding:0;
}
div.controls > a{
    display:inline-block;
}
div.userbox > ul{
    width: 100%;
}
div.userbox > ul > li:not(.disabled){
    display:inline-block !important;
}
div.userbox li.disabled a{
    border:none;
}
div.controls > div{
    display:inline-block;
}
div.controls > div > ul{
    position:absolute;
    opacity: 0;
    visibility: hidden;
}

div.posthdr > div > div:first-child > span.counter:before{
    content: "#";
}
div.posthdr > div > div:first-child > span.counter:after{
    content: ",";
}
div.posthdr > div > div:first-child{
    color: #888;
    padding-left: 0.4em;
    background-color: #DDD;
}

div.copy{
    display:none;
}

/**
 * links
 */
div.breadcrumbs a {
    display: inline-block;
    margin-left: 0.3em;
}
div.breadcrumbs a:before {
    content: "/";
    display: inline-block;
    font-size: 140%;
    font-weight: 300;
    margin-right: 0.3em;
    vertical-align: middle;
}
a{
    -webkit-transition: color 0.3s ease-out;
       -moz-transition: color 0.3s ease-out;
        -ms-transition: color 0.3s ease-out;
         -o-transition: color 0.3s ease-out;
            transition: color 0.3s ease-out;
    color: #3D9AD1;
    text-decoration:none;
    font-weight:bold;
}
a:hover{
    color: #03436A;
}
a.disabled{
    pointer-events:none;
    color: gray;
}
a.plink{
    min-width: 2em;
}
a.plink[href="#"]:not(.disabled){
    background-color: #3D9AD1;
    color: white;
    pointer-events:none;
}

/*
 * ----------
 * Headers
 * ----------
 */
div.content > h1{
    margin:0;
    margin-top:0.6em;
    margin-bottom:0.6em;
    padding: 0.2em;
    padding-left: 0.5em;
    display:block;
    font-size: 20pt;
    color:white;
    background-color: #3D9AD1;
}
h1 > span{
    color: #888;
}
h3{
    margin:0;
    margin-top:0.3em;
    margin-bottom:0.3em;
    padding:0.2em;
    color:#03436A;
    font-size: 18pt;
}
/**
 * code
 */
ol.code {
    background-color: #3D9AD1;
    border-right: 0.5em solid #3D9AD1;
    counter-reset: codecounter;
    padding: 0;
}
ol.code li {
    background-color: white;
    border-bottom: 1px solid #3D9AD1;
    font-family: "Lucida Console", Monaco, monospace;
    font-size: 90%;
    line-height: 1.2em;
    list-style-type: none;
    margin: 0 0 0 2.5em;
    padding: 0 0 0 0.6em;
    white-space: pre-wrap;
}
ol.code li:first-child {
    border-top: 1px solid #3D9AD1;
}
ol.code li:nth-child(2n) {
    background-color: rgba(255,255,255, 0.93);
}
ol.code li:nth-child(6n) {
    background-color: rgba(255,255,255,0.85);
}
ol.code li:before {
    content: counter(codecounter, decimal);
    counter-increment: codecounter;
    display: inline-block;
    margin-left: -3em;
    min-width: 2em;
    padding-right: 0.5em;
    text-align: right;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
         -o-user-select: none;
            user-select: none;
    color:white;
}
ol.code li span {
    font-weight:bold;
}
ol.code li span.alt {
    color: #6461F3;
}
ol.code li span.functioncall{
    font-weight:normal;
    color: #87289C;
}
ol.code li span.array{
    font-weight:normal;
    color: #471A9C;
}
ol.code li span.member{
    font-weight:normal;
    color: #219C75;
}
ol.code li span.owner{
    font-weight:normal;
    color: #9C5024;
}
ol.code li span.comment{
    font-weight:normal;
    color: #888;
}
ol.code li span.string span, ol.code li span.string2 span, ol.code li span.comment span{
    color: inherit;
    font-weight: normal;
}
ol.code li span.string{
    font-weight:normal;
    color: #D44B72;
}
ol.code li span.string2{
    font-weight:normal;
    color: #CC609F;
}

/*
 * --------
 * Tags
 * --------
 */

div.tag {
    border: 1px solid #666666;
    display: inline-block;
    font-size: 10pt;
    font-weight: bold;
    margin-bottom: 0.2em;
    padding: 0.25em 0.5em;
}
span.tag {
    font-size: 12pt;
    font-weight: bold;
    display:inline-block;
    margin-right: 1em;
    text-shadow: 1px 1px 0px white;
}
span.admintag {
    color: #69A669;
}
div.admintag {
    background: -webkit-linear-gradient(top, white -85%, #4A894A 80%);
    background:    -moz-linear-gradient(top, white -85%, #4A894A 80%);
    background:     -ms-linear-gradient(top, white -85%, #4A894A 80%);
    background:      -o-linear-gradient(top, white -85%, #4A894A 80%);
    background:         linear-gradient(top, white -85%, #4A894A 80%);
    background-color: #4A894A;
    border-color: #356630;
    color: white;
    text-shadow: 0 0 0.15em black;
}
table.half div.tag {
    font-size: 60%;
}
span.modtag {
    color: #6196D1;
}
div.modtag {
    background: -webkit-linear-gradient(top, white -85%, #3A74B9 80%);
    background:    -moz-linear-gradient(top, white -85%, #3A74B9 80%);
    background:     -ms-linear-gradient(top, white -85%, #3A74B9 80%);
    background:      -o-linear-gradient(top, white -85%, #3A74B9 80%);
    background:         linear-gradient(top, white -85%, #3A74B9 80%);
    background-color: #3A74B9;
    border-color: #313566;
    color: white;
    text-shadow: 0 0 0.15em black;
}
span.globmodtag {
    color: #697FFF;
}
div.globmodtag {
    background: -webkit-linear-gradient(top, white -85%, #2747FF 80%);
    background:    -moz-linear-gradient(top, white -85%, #2747FF 80%);
    background:     -ms-linear-gradient(top, white -85%, #2747FF 80%);
    background:      -o-linear-gradient(top, white -85%, #2747FF 80%);
    background:         linear-gradient(top, white -85%, #2747FF 80%);
    background-color: #2747FF;
    color: white;
    border-color: #312D66;
    text-shadow: 0 0 0.15em black;
}
span.trustedtag {
    color: #FFCD4D;
}
div.trustedtag {
    background: -webkit-linear-gradient(top, white -85%, #FFCD4D 80%);
    background:    -moz-linear-gradient(top, white -85%, #FFCD4D 80%);
    background:     -ms-linear-gradient(top, white -85%, #FFCD4D 80%);
    background:      -o-linear-gradient(top, white -85%, #FFCD4D 80%);
    background:         linear-gradient(top, white -85%, #FFCD4D 80%);
    background-color: #FFCD4D;
    border-color: #66632E;
    color: black;
    text-shadow: 0 0 0.15em white;
}
span.bannedtag {
    color: #AA1C1C;
}
div.bannedtag {
    background: -webkit-linear-gradient(top, white -85%, #AA1C1C 80%);
    background:    -moz-linear-gradient(top, white -85%, #AA1C1C 80%);
    background:     -ms-linear-gradient(top, white -85%, #AA1C1C 80%);
    background:      -o-linear-gradient(top, white -85%, #AA1C1C 80%);
    background:         linear-gradient(top, white -85%, #AA1C1C 80%);
    background-color: #AA1C1C;
    border-color: #662222;
    color: white;
    text-shadow: 0 0 0.15em black;
}
/*
 * -------------
 * Topic lists
 * -------------
 */
a.topic {
    color: black;
    display: block;
    padding: 0.5em;
    text-decoration: none;
    -webkit-transition: background-color 0.3s ease-out;
       -moz-transition: background-color 0.3s ease-out;
        -ms-transition: background-color 0.3s ease-out;
         -o-transition: background-color 0.3s ease-out;
            transition: background-color 0.3s ease-out;
}
a.topic:nth-child(2n-1){
    background-color: #EEE;
}
a.topic:hover {
    background-color: #FFBB00;
    text-decoration: none;
}
a.topic > span {
    display: block;
    font-weight:normal;
}
a.topic > span + span{
    text-align:right;
}
a.topic > span + span > span {
    font-size: 80%;
    font-weight: normal;
    margin-right: 1em;
    opacity: 0.7;
}
a.topic > span:last-child {
    text-align:left;
}
a.topic > span:first-child {
    font-weight: bold;
    color: black;
}
a.topic > span[data-prefixes]:before{
    padding: 0.3em;
    margin-right: 0.2em;
    font-weight:bold;
    display:inline-block;
    color: #3D9AD1;
    content: attr(data-prefixes);
}


/* 
 * ------------
 * Editor
 * ------------
 */
div.CodeEditorContainer{
    position:relative;
    z-index: 0;
    padding: 2px;
    border: 1px solid #999;
    background-color: #FFF;
}

div.CodeEditorContainer > textarea, div.CodeEditorContainer > div{
    font-family: Monaco, monospace;
    font-size: 10pt;
    line-height: 1.2em;
    word-break:break-all;
    vertical-align: baseline;
}
div.CodeEditorContainer > textarea{
    resize:none;
    border:none;
    margin: 0;
    padding: 0;
    overflow-y:scroll;
    display:block;
    opacity: 1;
    color:transparent;
    background-color:transparent;
}
div.CodeEditorContainer > textarea:focus{
    outline: 0;
}
div.CodeEditorContainer > div{
    pointer-events:none;
    margin-top: 2px;
    opacity:1;
    padding: 0;
    position:absolute;
    top:0px;
    overflow: hidden;
    white-space: pre-wrap;
}
div.CodeEditorContainer > div span.url{
    color:#AE05D3;
}
div.CodeEditorContainer > div span.codeContent{
    color:#8B7C0C;
}
div.CodeEditorContainer > div span.matched.hl{
    color: #C675FF ;
}
div.CodeEditorContainer > div span.warning{
    color: #FF5C5C;
    font-weight:bold;
}
div.CodeEditorContainer > div span.matched{
    color: #2694FA;
    font-weight:bold;
}
div.CodeEditorContainer > div span.unmatched{
    color: #00C292;
    font-weight:bold;
}
div.CodeEditorContainer > div span.caret{
    width:0;
    height: 1.2em;
    display:inline-block;
    position:absolute;
    border-left: 1px solid transparent;
}
div.CodeEditorContainer > textarea:focus + div span.caret{
    border-left: 1px solid #555;
}

/*
 * -------------
 * User posts
 * -------------
 */
div.postcontent{
    width: 100%;
    overflow-x: auto;
}
div.postcontent a[href] {
    color: #FF8C00;
    font-weight: normal;
}
div.postcontent a[href]:hover{
    color: #FFA940;
    text-decoration: underline;
}
div.postcontent img {
    max-width: 100%;
}
div.postcontent div.quote {
    border: 1px solid #3D9AD1;
    margin: 1em;
    max-width: 100%;
    overflow: auto;
}
div.postcontent div.quote > div {
    padding: 0.3em;
}
div.postcontent div.quote > div.loc {
    background-color: #3D9AD1;
    color: #FFF;
    font-weight: bold;
}
div.post div.userblock + div.postcontent span.warning{
    font-size: 9pt;
    font-weight:bold;
    color: red;
    display:inline-block;
    padding: 0.2em;
    border: 1px solid red;
}
div.postcontent span.failedimg{
    background: -webkit-linear-gradient(top, white -125%, #AA1C1C 170%);
    background:    -moz-linear-gradient(top, white -125%, #AA1C1C 170%);
    background:     -ms-linear-gradient(top, white -125%, #AA1C1C 170%);
    background:      -o-linear-gradient(top, white -125%, #AA1C1C 170%);
    background:         linear-gradient(top, white -125%, #AA1C1C 170%);
;
    display:inline-block;
    padding: 1em;
    border: 2px solid #AA1C1C;
    font-weight:bold;
    font-size: 80%;
    color:white;
}
div.postcontent span.failedimg > a, div.postcontent span.failedimg > a:hover{
    display:block;
    color:white;
    margin-top: 0.3em;
}
/**
 * smileys
 */
.r90l, .r90r {
    -webkit-transform-origin: 50% 50%;
       -moz-transform-origin: 50% 50%;
        -ms-transform-origin: 50% 50%;
         -o-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
}
.r90r{
    -webkit-transform: rotate(-90deg);
       -moz-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
         -o-transform: rotate(-90deg);
            transform: rotate(-90deg);
}
.r90l{
    -webkit-transform: rotate(90deg);
       -moz-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
         -o-transform: rotate(90deg);
            transform: rotate(90deg);
}
span.smiley span{
    display:inline-block;
    width:1.3em;
    height:1.3em;
}
span.smiley{
    color: #3D9AD1;
    margin-left: 0;
    margin-right:0;
    margin-top:-0.15em;
    height: 1.15em;
    vertical-align:top;
    text-align:center;
    font-size: 110%;
    display:inline-block;
}
/**
 * Tables
 */
div.postcontent table{
    border-collapse: collapse;
    margin: 0.5em;
}
div.postcontent table > thead > tr{
    background-color: #3D9AD1;
    color: white;
}
div.postcontent table td, div.postcontent table th{
    padding: 0.3em;
    border-left: 1px solid #3D9AD1;
    border-top: 1px solid #3D9AD1;
}
div.postcontent table td:last-child, div.postcontent table th:last-child{
    border-right: 1px solid #3D9AD1;
}
div.postcontent table tbody tr:last-child td{
    border-bottom: 1px solid #3D9AD1;
}
/*
 * --------- 
 * Poll
 * ---------
 */
div.poll{
    padding-left:5px;
    padding-right:5px;
}
div.pollBox{
    border:1px solid #3D9AD1; 
    padding:0;
    margin:0;
    background-color: #EEE;  
    height:20px;
}
div.pollBar{
    background-color:#3D9AD1;
    height:20px;
    padding:0;
    margin:0;
    background: -webkit-linear-gradient(top, #55C1FF 0%, #3D9AD1 60%, #3D9AD1 100%);
    background:    -moz-linear-gradient(top, #55C1FF 0%, #3D9AD1 60%, #3D9AD1 100%);
    background:     -ms-linear-gradient(top, #55C1FF 0%, #3D9AD1 60%, #3D9AD1 100%);
    background:      -o-linear-gradient(top, #55C1FF 0%, #3D9AD1 60%, #3D9AD1 100%);
    background:         linear-gradient(top, #55C1FF 0%, #3D9AD1 60%, #3D9AD1 100%);
}
/*
 * ---------------
 * Search Results
 * ---------------
 */
div.searchResult{
    padding: 0.6em;
}
div.searchResult:nth-child(2n){
    background-color: #EEE;
}
div.searchResult > a{
    display: inline-block;
    margin-right: 2em;
}
div.searchResult > span{
    display:block;
    text-align:right;
    font-size: 80%;
}
div.searchResult > span > a{
    font-weight: normal;
}
div.searchResult > div{
    font-size: 80%;
    overflow-x: auto;
}
div.searchResult > div > span{
    color: blue;
}