.main_tabs {
position: relative;
min-height: 200px;
clear: both;
margin: 25px 0;
}
.tabber {
float: left;
}
.tabber label {
background-color: #999999;
padding: 10px;
border: 1px solid #999999;
margin-left: -1px;
position: relative;
left: 1px;
}
.tabber:hover label {
background-color: #CCCCCC;
}
.tabber [type=radio] {
display: none;
}
.tab_content {
position: absolute;
top: 28px;
left: 0;
background-color: #FFFFFF;
right: 0;
bottom: 0;
padding: 20px;
border: 1px solid #999999;
}
[type=radio]:checked ~ label {
background-color: #FFFFFF;
border-bottom: 1px solid #FFFFFF;
z-index: 2;
}
[type=radio]:checked ~ label:hover {
font-weight: bold;
color: #000099;
}
[type=radio]:checked ~ label ~ .tab_content {
z-index: 1;
}