#textchat{
-webkit-user-select: text;
}
*, *::before, *::after{
box-sizing: content-box
}
.textchatcontainer .content{
line-height: 1.25em;
font-size: 1.05em;
word-wrap: break-word;
}
.clear{
height: 0px;
}
.flyout, .textchatcontainer .message .tstamp{
display: none;
}

.textchatcontainer .avatar{
position: absolute;
top: 4px;
left: 5px;
width: 28px;
}
.textchatcontainer .avatar img{
max-width: 28px;
max-height: 28px;
}

.textchatcontainer .message{
padding-left: 45px;
padding-right: 16px;
padding-bottom: 7px;
background-color: #f1f1f1;
position: relative;
}
.textchatcontainer .message .spacer{
background-color: #e1e1e1;
height: 2px;
margin-bottom: 7px;
margin-left: -45px;
margin-right: -12px;
}

.textchatcontainer .message.desc{
padding-left: 15px
}
.textchatcontainer .desc{
font-style: italic;
font-weight: bold;
text-align: center;
}
.textchatcontainer .message.desc .spacer{
margin-left: -15px;
}

.textchatcontainer .emote{
font-style: italic;
font-weight: bold;
text-align: center;
color: #653e10;
background-color: #f5e4d3;
}
.textchatcontainer .emote .spacer{
background-color: #f0c392;
}

.textchatcontainer .inlinerollresult{
background-color: #fef68e;
border: 2px solid #fef68e;
padding: 0px 3px 0px 3px;
font-weight: bold;
cursor: help;
font-size: 1.0em;
}

.textchatcontainer .message.private{
background-color: #f2f5d3;
}

.textchatcontainer .message.you{
background-color: #d3e5f5;
}
.textchatcontainer .message.you .spacer{
background-color: #b1d9fa;
}

#textchat table{
margin: 0px;
border-spacing: 0;
border-collapse: collapse;
}
caption{
background-color: black;
padding: 5px;
color: #777;
text-align: left;
}
.sheet-rolltemplate-default table, .sheet-rolltemplate-coc table, .sheet-rolltemplate-coc-1 table, .sheet-rolltemplate-coc-attack-1 table, .sheet-rolltemplate-coc-bomadness-rt table, .sheet-rolltemplate-coc-bomadness-summ table{
width: 100%;
border: 1px solid black;
color: black;
background: #ffffff;
}
.sheet-rolltemplate-default caption, .sheet-rolltemplate-coc caption, .sheet-rolltemplate-coc-1 caption, .sheet-rolltemplate-coc-attack-1 caption, .sheet-rolltemplate-coc-bomadness-rt caption, .sheet-rolltemplate-coc-bomadness-summ caption{
text-align: center;
background: black;
color: white;
font-weight: bold;
padding: 2px;
border: 1px solid black;
line-height: 1.6em;
}
.sheet-rolltemplate-default .inlinerollresult, .sheet-rolltemplate-coc .inlinerollresult, .sheet-rolltemplate-coc-1 .inlinerollresult, .sheet-rolltemplate-coc-attack-1 .inlinerollresult, .sheet-rolltemplate-coc-bomadness-rt .inlinerollresult, .sheet-rolltemplate-coc-bomadness-summ .inlinerollresult{
display: inline-block;
min-width: 1.5em;
text-align: center;
border: 2px solid black;
background: #BEBEBE;
}
.sheet-rolltemplate-default td.sheet-template_label, .sheet-rolltemplate-coc td.sheet-template_label, .sheet-rolltemplate-coc-1 td.sheet-template_label, .sheet-rolltemplate-coc-attack-1 td.sheet-template_label, .sheet-rolltemplate-coc-bomadness-rt td.sheet-template_label, .sheet-rolltemplate-coc-bomadness-summ td.sheet-template_label{
font-wight: bold;
}
.sheet-rolltemplate-default td, .sheet-rolltemplate-coc td, .sheet-rolltemplate-coc-1 td, .sheet-rolltemplate-attack-1 td, .sheet-rolltemplate-coc-bomadness-rt td, .sheet-rolltemplate-coc-bomadness-summ td{
padding: 2px;
border-bottom: 1px solid black;
}
.sheet-rolltemplate-default td.sheet-template_value, .sheet-rolltemplate-coc td.sheet-template_value, .sheet-rolltemplate-coc-1 td.sheet-template_value, .sheet-rolltemplate-coc-attack-1 td.sheet-template_value, .sheet-rolltemplate-coc-bomadness-rt td.sheet-template_value, .sheet-rolltemplate-coc-bomadness-summ td.sheet-template_value{
text-align: center;
}

.textchatcontainer .formula, .textchatcontainer .rolled{
display: inline;
padding: 4px;
background: white;
border-radius: 3px;
border: 1px solid #d1d1d1;
font-size: 1.2em;
line-height: 2em;
word-wrap: break-word;
}
.textchatcontainer .formattedformula{
display: block;
float: left;
padding: 0px 4px;
margin: 5px 0px;
}
b, strong{
font-weight: bold;
}
.textchatcontainer .rolled{
cursor: move;
font-weight: bold;
color: black;
font-size: 1.4em;
}
.textchatcontainer .dicegrouping{
display: inline;
}
.diceroll{
display: inline-block;
font-size: 1.2em;
}

.diceroll.critsuccess .didroll{
color: #247305;
font-weight: bold;
}
.diceroll.critfail .didroll{
color: #b31515
font-weight: bold;
}
.diceroll .dicon{
display: inline-block;
min-width: 30px;
text-align: center;
position: relative;
}
.diceroll.d20 .backing:after, .diceroll.d12 .backing:after, .diceroll.d10 .backing:after, .diceroll.d8 .backing:after, .diceroll.d6 .backing:after, .diceroll.d4 .backing:after{
content: "0";
}
.diceroll .didroll{
text-shadow: -1px -1px 1px #ffffff, 1px -1px 1px #ffffff, -1px 1px 1px #ffffff, 1px 1px 1px #ffffff;
z-index: 2;
position: relative;
color: black;
height: auto;
min-height: 29px;
margin-top: -3px;
top: 0px;
text-align: center;
}
.diceroll .backing{
font-family: "dicefontd6";
position: absolute;
top: -2px;
left: 0px;
width: 100%;
text-align: center;
font-size: 30px;
color: #8fb1d9;
text-shadow: 0px 0px 3px #8fb1d9;
opacity: 0.75;
pointer-events: none;
z-index: 1;
}

.textchatcontainer .inlinerollresult.fullcrit{
border: 2px solid #247305;
}
.textchatcontainer .inlinerollresult.fullfail{
border: 2px solid #b31515;
}
.textchatcontainer table .inlinerollresult.fullcrit
{
border: 2px solid #b31515;
}
.textchatcontainer table .inlinerollresult.fullfail
{
border: 2px solid #247305;
}

#textchat img{
max-width: 100%;
heigh: auto;
vertical-align: middle;
border: 0;
}
#textchat code{
color: #c7254e;
}

.textchatcontainer .message a{
    color: darkgray;
}

.textchatcontainer{
    overflow: hidden;
}