div#details1, div#reports1, div#pa1 {
    width: 1000px;
    padding: 45px 10px;
    box-shadow: 0px 0px 12px 1px #888;    
    background: white;
}

div#reports-thereport.insist.jsgrid {
    position: relative;
    height: 700px !important;
}
div#divjccdetails { 
    width: 100%; 
    border: 0px solid silver;
    border-collapse: separate;
    border-spacing: 2px 15px;
}

div#details1title h2 {
    font-size: 34px;
    margin: 0 10px 10px 10px;
}

div.datatable table { clear: both; font-family: 'Droid Sans Mono'; }
div.datatable table tr td { border: 1px solid silver; }
div.datatable tr th,
div.datatable tr td { border: 1px solid gray; }

div.datatable tr th { height: 44px; vertical-align: bottom; background: aliceblue; font-family: 'Droid Sans'; font-size: 14px; }
.right { text-align: right !important;}
.left { text-align: left !important; }

/* jsgrid customize 
*/
div#reports1 div.jsgrid-grid-body {
    height: 500px !important;
}
.jsgrid { font-size: 14px; }
.jsgrid-cell {
    font-family: 'Droid Sans Mono'; font-size: 11px;    
}
.jsgrid-header-row > .jsgrid-header-cell { 
    vertical-align: bottom;
    height: 45px; 
}

.jsgrid-align-left { text-align: left !important; }

.jsgrid-header-row .jsgrid-align-right {
    text-align: right;
}
.jsgrid-header-cell { 
    color: #888; 
    font-weight: normal !important;
}
.jsgrid-cell {
    padding: 0.2em 0.5em;
    vertical-align: top;
    font-weight: normal !important;
}

.jsgrid-header-row .jsgrid-header-sort {
    /* background: #888; */
}
.jsgrid-header-sort:before {
    content:" ";
    display: block;
    float: left;
    width: 0;
    height: 0;
    border-style: solid
}
.jsgrid-header-sort-asc:before {
    position: absolute;
    top: 10px;
    border-width:0 5px 5px;
    border-color: transparent transparent #888;
}
.jsgrid-header-sort-desc:before {
    position: absolute;
    top: 10px;
    border-width: 5px 5px 0;
    border-color: #888 transparent transparent;
}

/* 
jsgrid customize */

div#detailsnav, div#divjccdetails, div#smallcharts {
    margin: 25px 0 0 0;
}


div.smallchart {
    position: relative;
    float: left;
    height: 220px;
    width: 300px;
    background: #eaeaea;
    padding: 10px;
    margin: 0 15px 0 0;
}

button.alikebutton, a.alikebutton {
    padding: 6px;
    border-radius: 4px;
    background: orange;
    color: white;
    text-decoration: none;
    font-weight: bold;
}
button.alikebutton:hover, a.alikebutton:hover {
    background: gray;
}
button.alikebutton.butsel, a.alikebutton.selected, button.alikebutton.selected {
    background: black;
}


/* mini charts */
g.tick text, svg.svgbar text {
    font-family: 'Droid Sans';
    fill: #888;
}
svg.svgbar text { font-size: 14px; fill: #888;}
svg.svgbar text.tooltip { font-size: 12px; fill: white; }
g.tick text { font-size: 12px; }
g.axis path {
    fill: none;
    stroke: #888;
    stroke-width: 4px;
    
}  

/* Miscellaneous panels */

div.divcpanel {
    background: #eaeaea;
    float: left;
    width: 45%;
    margin: 0px 10px 10px 0;
    padding: 10px;
    border-radius: 4px;
}

div#documents {
    max-height: 400px;
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
}

table#cpanelcontactstable tr td, table#cpaneldocumentstable tr td {
    border: none;
    border-left:  1px solid white;
    vertical-align: top;
    padding: 2px 14px 2px 6px;
    
}

/* admin features */

span.role {
    display: inline-block;
    width: 65px;
    color: white;
    padding: 4px;
    border-radius: 4px;
    background: silver;
}
span.role.Editor, span.access.counties.Editor, span.access.buildings.Editor, span.access.regionsa.Editor {
    color: white;
    background: purple;
}
span.role.Admin, span.access.counties.Admin, span.access.buildings.Admin, span.access.regionsa.Admin {
    color: white;
    background: indianred;
}

span.access.regions, span.access.counties, span.access.buildings {
    display: inline-block;
    width: 95px;
    color: gray;
    padding: 4px;
    border-radius: 6px;
    background: #eaeaea;
    margin: 1px;
}

span.role.upload.result.Ok {
    background: seagreen;
}