div#tabs_top {
    background: #e0e0e0;
}

/* ul#tabs :focus { outline: none; } */

ul#tabs {
    list-style: none;
    margin: 0;
    border-bottom: 1px solid #e0e0e0;  /* line between tabs and content below */
    padding: 10px 0 0 5px;
    height: 23px;
    position: relative;
}

ul#tabs li {
    float: left;
    margin: 0 0.4% 0 0;
    bottom: 0;
    text-align: center;
    width: 16.16%;
    background: transparent url("../images/tab_01.png") no-repeat scroll top left;
}

ul#tabs li > div {
    background: transparent url("../images/tab_03.png") no-repeat scroll top right;
}

ul#tabs li > div > div {
    background: transparent url("../images/tab_02.png") repeat-x scroll center;
    margin: 0 8px 0 8px;
    height: 23px;
}

ul#tabs a {
    display: block;
    height: 100%;
    text-decoration: none;
    font-weight: bold;
    color: white;
}

ul#tabs li:hover,
body#home li#tab_home,
body#classes li#tab_classes,
body#club li#tab_club,
body#links li#tab_links,
body#contacts li#tab_contacts,
body#members li#tab_members {
    background: transparent url("../images/tab-hover_01.png") no-repeat scroll top left;
}

ul#tabs li:hover > div,
body#home li#tab_home > div,
body#classes li#tab_classes > div,
body#club li#tab_club > div,
body#links li#tab_links > div,
body#contacts li#tab_contacts > div,
body#members li#tab_members > div {
    background: transparent url("../images/tab-hover_03.png") no-repeat scroll top right;
}

ul#tabs li:hover > div > div,
body#home li#tab_home > div > div,
body#classes li#tab_classes > div > div,
body#club li#tab_club > div > div,
body#links li#tab_links > div > div,
body#contacts li#tab_contacts > div > div,
body#members li#tab_members > div > div {
    background: transparent url("../images/tab-hover_02.png") repeat-x scroll top center;
}

ul#tabs a:hover,
body#home li#tab_home a,
body#classes li#tab_classes a,
body#club li#tab_club a,
body#links li#tab_links a,
body#contacts li#tab_contacts a,
body#members li#tab_members a {
    color: black;
}

ul#tabs a:focus {
    outline-style: none;
}

ul#tabs span {
    display: block;
    padding: 5px 0 0 0;
}
