textbox input[type="text"] { 
    width: 100%; 
    height: auto; 
    line-height : normal;
    padding: 0px; 
    font-family: inherit;
    border-bottom: 0px; 
    border-top: 0px
    border-left: 0px
    border-right: 0px;
    border-radius: 0;
    outline-style: none;
    -webkit-appearance: none;
    -moz-appearance: none; 
    appearance: none; }

table {
    width: 100%;
    border-top: 1px solid #444444;
    font-size: 1.00em;
}
th, td {
    border-bottom: 1px solid #444444;
    padding: 0px;
}
   
select {
    height: auto;
    line-height : normal;
    padding-left: 13px;
    border: 0px
    border-radius: 0px;
}

select,
div,
button,
textarea,
span,
input,
img,
label{box-sizing: border-box;}
div{margin: 0px;padding: 0px;}


/* inputs */
input{
    background-color: transparent;
    text-align:center;
    display: inline-block;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    font-family: '';
    font-size: 1.0em;
    color: rgb(85, 85, 85);
    border: none;
    border-radius: 0;
    box-shadow: none;
    resize:none;
}
input:focus, input:hover, textarea:focus, textarea:hover, select:hover, select:focus{
    background-color: #EFFBFB;
    outline: none;
}

input[type="number"]{text-align: center;}

select {
    width: auto;
    text-align: center;
    text-align-last:center;
    height: 1.3em;
    line-height: 1.0em;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-transform: capitalize;
    vertical-align: bottom;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    font-size: 1.0em;
    font-family: sans-serif;
    border: none;
    border-radius: 0;
    box-shadow: none;
    resize: none;
    background: transparent;
}
textarea.sheet-context{
    background-color: transparent !important;
    text-align:left;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    font-size: 1.0em;
    border: none;
    border-radius: 0;
    box-shadow: none;
    resize:none;
}
/* ===== PSEUDO TABS ===== */
div.sheet-tabmain,
div.sheet-tabadd,
div.sheet-tabadd2,
div.sheet-tabspell,
div.sheet-tabconf,
div.sheet-tabmain2,
div.sheet-tabadd3,
div.sheet-tabspell2,
div.sheet-tabconf2 {
    display: none !important;
    text-align: center !important;
    width: 100% !important;
    border-top: 1px solid black !important;
    padding-top: 4px !important;
}
input.sheet-tabmain:checked ~ div.sheet-tabmain{
    display: block !important;
}
input.sheet-tabmain2:checked ~ div.sheet-tabmain2{
    display: block !important;
}
input.sheet-tabadd:checked ~ div.sheet-tabadd{
    display: block !important;
}
input.sheet-tabadd2:checked ~ div.sheet-tabadd2{
    display: block !important;
}
input.sheet-tabadd3:checked ~ div.sheet-tabadd3{
    display: block !important;
}
input.sheet-tabspell:checked ~ div.sheet-tabspell{
    display: block !important;
}
input.sheet-tabspell2:checked ~ div.sheet-tabspell2{
    display: block !important;
}
input.sheet-tabconf:checked ~ div.sheet-tabconf{
    display: block !important;
}
input.sheet-tabconf2:checked ~ div.sheet-tabconf2{
    display: block !important;
}
input.sheet-tabmain,
input.sheet-tabadd,
input.sheet-tabadd2,
input.sheet-tabspell,
input.sheet-tabconf,
input.sheet-tabmain2,
input.sheet-tabadd3,
input.sheet-tabspell2,
input.sheet-tabconf2{
    margin: 0;
    margin-top: -4px;
    margin-bottom: -4px;
    padding: 0;
    display: inline-block;
    opacity: 0;
    width: 110px;
    height: 20px;
    z-index: 2;
}
input.sheet-tabmain + span,
input.sheet-tabadd + span,
input.sheet-tabadd2 + span,
input.sheet-tabspell + span,
input.sheet-tabconf + span,
input.sheet-tabmain2 + span,
input.sheet-tabadd3 + span,
input.sheet-tabspell2 + span,
input.sheet-tabconf2 + span{
    color: #666666;
    background-color: #BBBBBB;
    font-size: 0.85em;
    text-align:center;
    display: inline-block;
    width: 110px;
    height: 20px;
    margin: 0;
    margin-left: -110px;
    margin-right: -5px;
    padding:0;
    margin-bottom: -1px;
    text-transform: uppercase;
    border: 1px solid #666666;
    border-bottom-color: black;
    z-index: 1;
}
input.sheet-tabmain:checked + span,
input.sheet-tabadd:checked + span,
input.sheet-tabadd2:checked + span,
input.sheet-tabspell:checked + span,
input.sheet-tabconf:checked + span,
input.sheet-tabmain2:checked + span,
input.sheet-tabadd3:checked + span,
input.sheet-tabspell2:checked + span,
input.sheet-tabconf2:checked + span{
    font-weight: bold;
    color: black;
    background-color: white;
    border-left-color: black;
    border-top-color: black;
    border-right-color: black;
    border-bottom-color: white;
}

/* Dropdowns */
.sheet-hidden {display: none;}
.sheet-hider:not(:checked) + div,
.sheet-hider2:not(:checked) + div {display: none;}
.sheet-hider2:checked + div {display: inline-block;}
/* Dropdowns end */
/*-----sheet-normal radio boxes-----*/
    /* -----Hide actual radio----- */
input.sheet-normal[type="radio"] {
    opacity: 0;
    width: 12px;
    height: 12px;
    position: relative;
    top: 5px;
    left: 6px;
    margin: -10px;
    cursor: pointer;
    z-index: 1;
}

    /* -----Fake radio----- */
input.sheet-normal[type="radio"] + span::before {
    margin-right: 4px;
    line-height: 15px;
    text-align: left;
    display: inline-block;
    vertical-align: middle;
    border: 1px solid black;    
    background:#444444;
    content: "";
    width: 4px;
    height: 15px;
    font-size: 3em;
}  

    /* -----Remove dot from all radios _after_ selected one----- */
input.sheet-normal[type="radio"]:checked ~ input.sheet-normal[type="radio"] + span::before {    
    content: "";
    background: white;
}

    /*------------empty traits-----------*/
input.sheet-zip[type="radio"]:checked + span::before {opacity: 0;}
input.sheet-zip[type="radio"]:hover + span::before {opacity: 1;}
input.sheet-zip[type="radio"] + span::before {
    color:black;
    font-size: 1em;
    content: "✖";
    opacity: 0.25;
    background:white;
}

/* buttons */
[data-groupname=repeating_class-ability] > button.btn.repcontrol_add::after {
    content: "Add";
    background-color:#666666;
    margin-left:-30px;
}

[data-groupname=repeating_class-ability] > button.btn.repcontrol_edit::after {
    content: "Edit";
    background-color:#666666;
    margin-left:-36px;
}

.charsheet .repcontrol_add,
.charsheet .repcontrol_edit,
.charsheet .repcontrol_del {
    display: block;
    background: #666666;
    color: white;
    box-shadow:none;
    font-size:0.9em;
    height:2.2em;
}

/* divs */
div.sheet-col1third{
    display: inline-block;
    vertical-align: top;
    width: 200px;
    max-width: 24%;
    margin: 1px;
    text-align: center;
}

div.sheet-colloislt{
    display: inline-block;
    vertical-align: top;
    width: 525px;
    max-width: 63%;
    margin: 1px;
    text-align: center;
}

div.sheet-colloisrt{
    display: inline-block;
    vertical-align: top;
    width: 300px;
    max-width: 35%;
    margin: 1px;
}

/* rolls */
button[type="roll"].sheet-secroll {
    text-align: center;
    text-decoration: none;
    background:none;
    background-image:none;
    border: none;
    box-shadow: none;
    text-shadow: none;
    padding: inherit;
    margin: inherit;
    color: inherit;
    font-family: inherit;
    font-size: 1em !important;
    line-height: 1em !important;
    font-weight: bold;
    text-transform: inherit;
    text-align: inherit;
    vertical-align: inherit;
    border-radius: none;
}
button[type="compendium"].sheet-secroll:hover,
button[type="roll"].sheet-secroll:hover{
    color: #BE202E;
}
button[type="roll"].sheet-secroll:before{
    content: none !important;
}

/* roll templates */

.sheet-rolltemplate-dx3rdb .sheet-contop {
    width: 235px;
    background-image: url(https://i.imgur.com/PDBIEAy.png);
    background-size: cover; 
    z-index: 7;
}
.sheet-rolltemplate-dx3rdb .sheet-conmid {
    width: 235px;
    background-image: url(https://i.imgur.com/1yNV1E4.png);
    z-index: 6;
}
.sheet-rolltemplate-dx3rdb .sheet-conbottom {
    display: block;
    width: 235px;
    height: 33px;
    margin-top: -15px;
    background-image: url(https://i.imgur.com/kXs8pkE.png);
    background-size: cover;
    z-index: 7;
}
.sheet-rolltemplate-dx3rdb .sheet-rolldivid {
    width: 87%;
    display: block;
    background-image: url(https://i.imgur.com/9Txeo3I.jpg);
    background-repeat: repeat-x; 
    background-position: top center; 
    height: 1px;
    margin: 2px 30px 2px 10px;
}
.sheet-rolltemplate-dx3rdb .sheet-bigname{
    padding: 2px 0px 0px 0px;
    color: black;
    text-align: center;
    vertical-align: center;
    height: 32px;
    border: none;
    font-weight: bold;
    font-size: 1.2em;
}
.sheet-rolltemplate-dx3rdb .sheet-smname {
    font-weight: bold;
    font-size: 0.8em;
    height: 1.0em;
    padding: 18px 0px 3px 0px;
    color: black;
    text-align: center;
}
.sheet-rolltemplate-dx3rdb .sheet-midlt {
    display: inline-block;
    width: 90px;
    height: 1.0em;
    padding: 0px 0px 0px 15px;
    color: black;
    text-align: left;
}
.sheet-rolltemplate-dx3rdb .sheet-midrt {
    display: inline-block;
    width: 110px;
    height: 1.0em;
    padding: 0px 0px 0px 0px;
    color: black;
    text-align: left;
}
.sheet-rolltemplate-dx3rdb .sheet-midcent {
    display: inline-block;
    width: 200px;
    padding: 0px 30px 0px 15px;
    color: black;
    text-align: left;
}

.sheet-rolltemplate-dx3rdb .sheet-ltcat {
    font-size: 0.9em;
    font-weight: normal;
    z-index: 8;
}

.sheet-rolltemplate-dx3rd .inlinerollresult,
.sheet-rolltemplate-dx3rdb .inlinerollresult,
.sheet-rolltemplate-dx3crc .inlinerollresult{
    background-color: transparent;
    border: none;
    padding: 0px 0px;
    font-weight: bold;
    cursor: help;
    font-size: 1.0em;
    padding: 2px;
}
.sheet-rolltemplate-dx3rd .inlinerollresult,
.sheet-rolltemplate-dx3rdb .inlinerollresult,
.sheet-rolltemplate-dx3crc .inlinerollresult {color: #182C4A;}

.sheet-rolltemplate-dx3rd .sheet-resright .inlinerollresult,
.sheet-rolltemplate-dx3crc .sheet-resright .inlinerollresult{
    font-size: 1.6em;
    line-height: 1.45em;
}

.sheet-rolltemplate-dx3rd .sheet-container,
.sheet-rolltemplate-dx3crc .sheet-container{
    width: 200px;
    background-color: #ffffff;
    border: 1px solid;
    padding: 0px;
}


.sheet-rolltemplate-dx3rd .sheet-blacklabel.sheet-top
.sheet-rolltemplate-dx3crc .sheet-blacklabel.sheet-top{
    vertical-align: center;
}

.sheet-rolltemplate-dx3rd .sheet-blacklabel.sheet-top img.sheet-brdright {
    width: 26px;
    height: 36px;
}

.sheet-rolltemplate-dx3rd img.sheet-brdright {
    display: inline-block;
    position: absolute;
    vertical-align: top;
    top: 0px;
}
.sheet-rolltemplate-dx3rd img.sheet-brdright {right: 0px;}

.sheet-rolltemplate-dx3rd .sheet-blacklabel,
.sheet-rolltemplate-dx3crc .sheet-blacklabel{
    display: inline-block;
    vertical-align: top;
    border: none;
    position: relative;
    font-size: 1em;
}
.sheet-rolltemplate-dx3rd .sheet-blacklabel,
.sheet-rolltemplate-dx3crc .sheet-blacklabel{
    background-color: black;
    color: white;
    font-weight: bold;
}

.sheet-rolltemplate-dx3rd div,
.sheet-rolltemplate-dx3crc div {padding: 0px;}
 
.sheet-rolltemplate-dx3rd .sheet-vtop,
.sheet-rolltemplate-dx3crc .sheet-vtop {vertical-align: top;}

.sheet-rolltemplate-dx3rd .sheet-resright {
    display: inline;
    float: right;
    margin-right: 3px;
    clear: both;
	font-size: 1.3em;
	text-transform: uppercase;
	line-height: 1.0em;

} 

.sheet-rolltemplate-dx3rd span,
.sheet-rolltemplate-dx3rdb span,
.sheet-rolltemplate-dx3crc span,
.sheet-rolltemplate-gotemp2 span{
    color: black;
    font-size: 0.9em;
    font-variant: small-caps;
    line-height: 1.3em;
    padding-left: 5px;
    text-align: left;
}
 
.sheet-rolltemplate-dx3rd .sheet-subheader {
    color: #000;
    font-size: 1em;
}
 
.sheet-rolltemplate-dx3rd .sheet-arrow-right,
.sheet-rolltemplate-dx3crc .sheet-arrow-right{
    border-bottom: 2px solid transparent;
    border-left: 180px solid black;
    border-top: 2px solid transparent;
}
 
.sheet-rolltemplate-dx3rd .sheet-tcat,
.sheet-rolltemplate-dx3rdb .sheet-tcat,
.sheet-rolltemplate-dx3crc .sheet-tcat, {
    font-size: 0.9em;
    font-weight: bold;
    z-index: 8;
}
 
.sheet-rolltemplate-dx3rd .inlinerollresult,
.sheet-rolltemplate-dx3rdb .inlinerollresult,
.sheet-rolltemplate-dx3crc .inlinerollresult {
    background-color: transparent;
    border: none;
}
 
.sheet-rolltemplate-dx3rd .inlinerollresult.fullcrit,
.sheet-rolltemplate-dx3rdb .inlinerollresult.fullcrit,
.sheet-rolltemplate-dx3crc .inlinerollresult.fullcrit,
.sheet-rolltemplate-gotemp2 .inlinerollresult.fullcrit {
    color: #3FB315;
    border: none;
}
 
.sheet-rolltemplate-dx3rd .inlinerollresult.fullfail,
.sheet-rolltemplate-dx3rdb .inlinerollresult.fullfail,
.sheet-rolltemplate-dx3crc .inlinerollresult.fullfail,
.sheet-rolltemplate-gotemp2 .inlinerollresult.fullfail {
    color: #B31515;
    border: none;
}
 
.sheet-rolltemplate-dx3rd .inlinerollresult.importandivoll,
.sheet-rolltemplate-dx3rdb .inlinerollresult.importandivoll,
.sheet-rolltemplate-dx3crc .inlinerollresult.importandivoll,
.sheet-rolltemplate-gotemp2 .inlinerollresult.importandivoll{
    color: #4A57ED;
    border: none;
}

.sheet-rolltemplate-gotemp .inlinerollresult,
.sheet-rolltemplate-gotemp2 .inlinerollresult{
    background-color: transparent;
    border: none;
    padding: 0px 0px;
    font-weight: bold;
    cursor: help;
    font-size: 1.0em;
    line-height: 1.0em;
}
.sheet-rolltemplate-gotemp .inlinerollresult,
.sheet-rolltemplate-gotemp2 .inlinerollresult{
    background-color: transparent;
    color: #182C4A;}

.sheet-rolltemplate-gotemp .sheet-resright .inlinerollresult,
.sheet-rolltemplate-gotemp2 .sheet-resright .inlinerollresult{
    font-size: 1.6em;
    line-height: 1.45em;
}

.sheet-rolltemplate-gotemp .sheet-container,
.sheet-rolltemplate-gotemp2 .sheet-container{
    background-color: #ffffff;
    width: 200px;
    border: 1px solid;
    padding: 0px;
}

.sheet-rolltemplate-gotemp .sheet-container h1,
.sheet-rolltemplate-gotemp2 .sheet-container h1{
    background-color: black;
    color: #ffffff;
    font-size: 1.2em;
    line-height: 20px;
}

.sheet-rolltemplate-gotemp .sheet-blacklabel.sheet-top,
.sheet-rolltemplate-gotemp2 .sheet-blacklabel.sheet-top{
    height: 36px;
    width: 85%;
    max-width: 85%;
    vertical-align: center;
    padding-right: 27px;
    padding-left: 5px;
}

.sheet-rolltemplate-gotemp .sheet-blacklabel,
.sheet-rolltemplate-gotemp2 .sheet-blacklabel{
    display: inline-block;
    vertical-align: top;
    border: none;
    position: relative;
    font-size: 1em;
    background-color: black;
    color: white;
    font-weight: bold;
}

.sheet-rolltemplate-gotemp .sheet-vtop,
.sheet-rolltemplate-gotemp2 .sheet-vtop {vertical-align: middle;}

.sheet-rolltemplate-gotemp .sheet-resright,
.sheet-rolltemplate-gotemp2 .sheet-resright{
    display: inline;
    float: right;
    margin-right: 3px;
    clear: both;
	font-size: 1.3em;
	text-transform: uppercase;
	line-height: 1.0em;
} 
.sheet-rolltemplate-gotemp .sheet-blacklabel.sheet-top img.sheet-brdright,
.sheet-rolltemplate-gotemp2 .sheet-blacklabel.sheet-top img.sheet-brdright{
    width: 26px;
    height: 36px;
}

.sheet-rolltemplate-gotemp img.sheet-brdright,
.sheet-rolltemplate-gotemp2 img.sheet-brdright{
    display: inline-block;
    position: absolute;
    vertical-align: top;
    top: 0px;
    right: 0px;
}