fieldset {
    display: inline-block;
    margin: -5px 3px 0;
}

table.periodic {
    font-family: sans-serif;
    margin-bottom: 20px;
    border-collapse: separate;
    border-spacing: 2px;
}

table.periodic caption {
    text-align:center;
    text-transform: capitalize;
}

table.periodic caption span {
    position: relative;
    top: 28px;
    padding: 0.5em;
    font-size: 14px;
    font-weight:bold;
    background-color:#e0e0e0;
    box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.5);
}

table.periodic td {
    text-align: center;
    width: 45px;
    height: 46px;
    vertical-align: top;
    opacity: 0.5;
    cursor: default;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
}

table.periodic td.clickable {
    border: 1px solid #333;
    opacity: 1.0;
    box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.5);
    font-size: 14px;
}

table.periodic td a {
    color: #003;
    display:block;
    width:100%;
    height:100%;
    text-decoration:none;
}

table.periodic td.clickable:hover {
    color: black;
    box-shadow: none;
}

table.periodic td.clickable:active {
    color: black;
    box-shadow: inset 1px 1px 1px 0px rgba(0,0,0,0.5);
}

table.periodic td.blank {
    visibility: hidden;
    height: 20px;
}

table.periodic a .symbol {
    font-weight: bold;
    display: block;
}

table.periodic .symbol {
    padding-top: 12px;
    padding-bottom: 1px;
    display: block;
}

table.periodic .clickable .symbol {
    padding-top: 10px;
    padding-bottom: 0;
}

table.periodic .atomic-number {
    font-size: 11px;
}

table.periodic td.clickable .atomic-number {
    font-size: 12px;
}

.ALKALI_METAL {
    background-color: #f97;
}

.ALKALINE_EARTH_METAL {
    
    background-color: #ffdead;
}

.TRANSITION_METAL {
    background-color: #ffc0c0;
}

.LANTHANIDE {
    background-color: #ffbfff;
}

.ACTINIDE {
    background-color: #f8b;
}

.POOR_METAL {
    background-color: #ccc;
}

.NON_METAL {
    background-color: #a0ffa0;
}

.HALOGEN {
    background-color: #ff9;
}

.NOBLE_GAS {
    background-color: #baf;
}

.UNKNOWN {
    background-color: #e8e8e8;
}

table.yield {
    font-family: sans-serif;
    font-size: 11px;
    margin: 10px 0 20px;
}

table.yield tr.ui-datatable-odd td {
    background-color: #f6f6f6;
}

table.yield tr:hover td {
    background-color: #e9e9e9;
}

table.yield a.element {
    color:black;
    display:block;
    text-align: center;
    width:3em;
    height:1.7em;
    border:1px solid #333;
    text-decoration: none;
    box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.5);
}

table.yield a.element:hover {
    box-shadow: none;
}

table.yield a.element:active {
    box-shadow: inset 1px 1px 1px 0px rgba(0,0,0,0.5);
}

acronym {
    border-bottom: 1px dotted #333;
    cursor: help;
}

.errorLine {
    font-family: monospace;
    font-size: 11pt;
    background-color: #e9f9ff;
    border: 1px solid #aaa;
    margin: 4px 2px;
    padding: 2px;
    white-space: nowrap;
    display:inline-block;
}

table.errors caption {
    font-weight:bold;
}

table.errors .ERROR {
    font-weight:bold;
    background-color: #fee;
    color: #600;
}

table.errors .WARNING {
    font-weight:bold;
    background-color: #ffc;
    color: #630;
}

table.errors {
    margin: 1em 0;
    border-collapse: collapse;
    background-color: white;
}

table.errors tr {
    overflow:visible;
    border-bottom: 1px solid #666;
}

table.errors tr:last-child {
    border-bottom: none;
}

table.errors td {
    vertical-align: top;
    overflow:visible;
    padding:4px;
}

table.errors td.line-number {
    padding-top: 12px;
}

table.errors td.message ul {
    padding: 2px 0;
}

p.errorInfo, p.warningInfo, p.okInfo {
    border-radius: 4px;
    padding: 4px;
    margin: 1em;
    font-size: 14px;
}

p.errorInfo {
    background-color: #fee;
    border: 1px solid #933;
}

p.warningInfo {
    background-color: #ffc;
    border: 1px solid #cc3;
}

p.okInfo {
    background-color: #efe;
    border: 1px solid #ded;
}