/* Customize the label (the container) */
.tableStyle th label{
    display: inline-block;
    position: relative;
    margin-top:5px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/* Hide the browser's default checkbox */
.tableStyle th label input{
    position: relative;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}


/* Create a custom checkbox */
.tableStyle>thead>tr>th>label span{
    position: absolute;
    margin-left:-10px;
    height: 20px;
    width: 20px;
    background-color: #eee;
}


/* On mouse-over, add a grey background color */
.tableStyle>thead>tr>th>label:hover input ~ span{
    background-color: #ccc;
}


/* When the checkbox is checked, add a blue background */
.tableStyle>thead>tr>th>label input:checked ~ span{
    background-color: #c01f24;
}


/* Create the checkmark/indicator (hidden when not checked) */
.tableStyle>thead>tr>th>label span:after{
    content: "";
    position: absolute;
    display: none;
}


/* Show the checkmark when checked */
.tableStyle>thead>tr>th>label input:checked ~ span:after{
    display: block;
}


/* Style the checkmark/indicator */
.tableStyle>thead>tr>th>label span:after{
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
















/* Customize the label (the container) */
label.LitzTable{
    display: inline-block;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/* Hide the browser's default checkbox */
label.LitzTable input{
    position: relative;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}


/* Create a custom checkbox */
label.LitzTable span{
    position: absolute;
    left:-35px;
}


/* On mouse-over, add a grey background color */
label.LitzTable:hover input ~ span:after{
    background-color: #ccc;
}


/* Create the checkmark/indicator (hidden when not checked) */
label.LitzTable span:after{
    position: absolute;
    display: block;
    height:20px;
    padding:0 3px 0 3px;
    content: "<<Expand>>";
    background-color: #eee;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size:11px;
}


/* Show the checkmark when checked */
label.LitzTable input:checked ~ span:after{
    content: ">>Shrink<<";
    background-color: #c01f24;
    color:white;
}

label.LitzTableIT span:after{
    position: absolute;
    display: block;
    height:20px;
    padding:0 3px 0 3px;
    content: "<<Espandi>>";
    background-color: #eee;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size:11px;
}


/* Show the checkmark when checked */
label.LitzTableIT input:checked ~ span:after{
    content: ">>Riduci<<";
    background-color: #c01f24;
    color:white;
}

label.LitzTableZH span:after{
    position: absolute;
    display: block;
    height:20px;width:80px;
    padding:0 3px 0 3px;
    content: "<<展开>>";
    background-color: #eee;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size:11px;
}


/* Show the checkmark when checked */
label.LitzTableZH input:checked ~ span:after{
    content: ">>折叠<<";
    background-color: #c01f24;
    color:white;
}