﻿/* DefaultBD style */

.ThreeStateCheckBox_Default
{
    cursor: default;
    padding: 0;
    margin: 0;
}

.ThreeStateCheckBox_Default a,
.ThreeStateCheckBox_Default a:active,
.ThreeStateCheckBox_Default a:hover,
.ThreeStateCheckBox_Default a:visited
{
    background-position: center left;
    background-repeat: no-repeat;
    display:inline-block;
    line-height:13px;
    text-decoration: none;
    outline: none;
    color:black;
}

span.ThreeStateCheckBox_Default a {
    background-color: #fafafa;
    border: 1px solid #5C5C5C;
    width: 12px;
    height: 12px;
    border-radius: 0;
    display: inline-block;
    position: relative;
    margin: 0 5px 0 0;
    cursor: pointer;
}

span.ThreeStateCheckBox_Default a:hover {
    box-shadow: 0 0 2px #5C5C5C;
}

span.ThreeStateCheckBox_Default.State1 a:after {
    content: '';
    position: absolute;
    width: 8px;
    height: 4px;
    display: block;
    border-left: 2px solid #D6002A;
    border-bottom: 2px solid #D6002A;
    transform: rotate(-45deg);
    top: 2px;
    left: 1px;
}

span.ThreeStateCheckBox_Default.State2 a:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    display: block;
    background: #D6002A;
    top: 1px;
    left: 1px;
}

/* Compact BD style */

.ThreeStateCheckBox_Toggle
{
    cursor: default;
    display: block;
    float: left;
    height: 22px;
    width: 113px;
    margin-right: 5px;
    padding: 0 24px;
    border-radius: 2px;
}

.ThreeStateCheckBox_Toggle a,
.ThreeStateCheckBox_Toggle a:active,
.ThreeStateCheckBox_Toggle a:hover,
.ThreeStateCheckBox_Toggle a:visited
{
    display: block;
    line-height: 22px;
    font-size: 1em;
    font-family: Arial;
    font-weight: bold;
    text-decoration: none;
}

span.ThreeStateCheckBox_Toggle.State0
{
    /*background: url("ThreeStateCheckBox/State0_span.png") no-repeat scroll right top transparent;*/
    background: gray;
    text-align:center;
}

span.ThreeStateCheckBox_Toggle.State1
{
    background: #006D89;
    text-align:center;
}

span.ThreeStateCheckBox_Toggle.State0 a, 
span.ThreeStateCheckBox_Toggle.State0 a:hover
{
    color: white;
    padding: 0 24px;
}

span.ThreeStateCheckBox_Toggle.State1 a, 
span.ThreeStateCheckBox_Toggle.State1 a:hover
{
    background: #006D89;
    color: white;
    padding-left: 8px;
    padding-right: 8px;
}



