/**
 * Tabs
 */

/* root element for tabs  */
.tabs { 
    list-style:none; 
    margin:0 !important; 
    padding:0;
    height:30px;
    border-bottom:1px solid #aaa;    
}

/* single tab */
.tabs li { 
    float:left;     
    text-indent:0;
    padding:0;
    margin:0 2px 0 0 !important;
    list-style-image:none !important;
    border-top: 1px solid #aaa;
    border-left: 1px solid #aaa;
    border-right: 1px solid #aaa;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -khtml-border-top-left-radius: 4px;
    -khtml-border-top-right-radius: 4px;
    -moz-border-radius: 4px 4px 0 0;
    border-radius: 4px 4px 0 0;
}

/* link inside the tab. uses a background image */
.tabs a {
    background: #ddd;
    background: -moz-linear-gradient(top,  #eee,  #ddd);
    background: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#ddd));
    -pie-background: linear-gradient(top,  #eee,  #ddd);
    border-bottom: 1px solid #aaa;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -moz-border-radius: 3px 3px 0 0;
    border-radius: 3px 3px 0 0;
    -moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.5);
    -webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.5);
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.5);
    font-size:11px;
    display:block;
    height: 29px;  
    line-height:30px;
    text-align:center;    
    text-decoration:none;
    color:#000;
    padding:0px 30px;
    margin:0px;    
    position:relative;
    text-shadow: 0 1px 0 #fff;
    top:0px;

    -webkit-background-clip: padding-box;
}

.tabs a:active {
    outline:none;        
}

/* when mouse enters the tab move the background image */
.tabs a:hover {
    background: #ddd;    
    -pie-background: #ddd;    
}

/* active tab uses a class name "current". it's highlight is also done by moving the background image. */
.tabs a.current, .tabs a.current:hover {
    border-bottom: 1px solid #fff;
    background: #fff;
    background: -webkit-gradient(linear, left top, left bottom, from(#e1e1e1), to(#fff));
    background: -moz-linear-gradient(top,  #e1e1e1,  #fff);
    -pie-background: linear-gradient(top,  #e1e1e1,  #fff);
    cursor:default !important; 
    color:#000 !important;
    text-shadow: 0 1px 0 #fff;
}

/* tab pane styling */
.panes {
    border:1px solid #aaa;
    border-top:0;
}
.panes div.paneltab {
    display:none;       
    padding:15px 10px;
    min-height:100px;
    background-color:#fff;
	width:980px;
}

/**
 * Sidebar Tabs
 */

.sidebar-tabbed-pane {
    padding: 0 !important;
}

/* root element for tabs  */
.sidebar-tabs { 
    list-style:none; 
    margin:1px 0 0 0 !important; 
    padding:0;
    float: left;
    width: 200px;
}

/* single tab */
.sidebar-tabs li { 
    display: block;
    text-indent:0;
    padding:0;
    list-style-image:none !important;
    border-top: 1px solid #aaa;
}

.sidebar-tabs li:first-child {
    border-top: none;
}

.sidebar-tabs li:last-child a {
    border-bottom: 1px solid #aaa;
}

/* link inside the tab. uses a background image */
.sidebar-tabs a {
    background: #ddd;
    background: -moz-linear-gradient(top,  #eee,  #ddd);
    background: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#ddd));
    -pie-background: linear-gradient(top,  #eee,  #ddd);
    -moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.5);
    -webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.5);
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.5);
    font-size:11px;
    display:block;
    line-height:36px;
    text-align:left;
    text-decoration:none;
    color:#000;
    padding:0px 20px;
    margin:0px;    
    position:relative;
    text-shadow: 0 1px 0 #fff;
    top:0px;

    -webkit-background-clip: padding-box;
}

.sidebar-tabs a:active {
    outline:none;        
}

/* when mouse enters the tab move the background image */
.sidebar-tabs a:hover {
    background: #ddd;    
    -pie-background: #ddd;    
}

/* active tab uses a class name "current". it's highlight is also done by moving the background image. */
.sidebar-tabs a.current, .sidebar-tabs a.current:hover {
    background: #fff;
    -pie-background: #fff;
    -moz-box-shadow: inset 1px 1px 1px #bbb;
    -webkit-box-shadow: inset 1px 1px 1px #bbb;
    -khtml-box-shadow: inset 1px 1px 1px #bbb;
    box-shadow: inset 1px 1px 1px #bbb;
    cursor:default !important; 
    color:#000 !important;
    font-weight: bold;
    text-shadow: 0 1px 0 #fff;
    margin-right: -1px;
}

/* tab pane styling */
.sidebar-tabs + .panes {
    border: none;
    border-left: 1px solid #aaa;
    margin-left: 200px;
    min-height: 200px;
}
.sidebar-tabs + .panes div.paneltab {
    background-color:#fff;
    -moz-border-radius: 0 0 5px 0;
    -webkit-border-bottom-right-radius: 5px;
    -khtml-border-bottom-right-radius: 5px;
    border-radius: 0 0 5px 0;
    display:none;       
    min-height:100px;
    padding:15px 20px;
}
