/* Tabs *********************************************************************************/


#main #search #criteria #tabs .rich-tabhdr-side-border,
#main #administration #tabs .rich-tabhdr-side-border {
	border: 0;
	display: none;
}

#main #search #criteria #tabs .dr-bottom-line, 
#main #administration #tabs .dr-bottom-line {
	border-bottom: 0;
	margin: 0;
}

#main #search #criteria #tabs .rich-tabhdr-side-cell,
#main #administration #tabs .rich-tabhdr-side-cell {
	font-size: 12px;
	color: #000;
    background: url(../images/bg_tabs-li-idle.gif) no-repeat right top;
    border-top: none;
}

#main #search #criteria #tabs .dr-tbpnl-tbtopbrdr,
#main #administration #tabs .dr-tbpnl-tbtopbrdr {
	border: 0;
}

/* Disabling the border for this class on the content */
#main #search #criteria #tabs .dr-tbpnl-cntnt,
#main #administration #tabs .dr-tbpnl-cntnt {
	border: 0;
}

#main #search #criteria #tabs .rich-tabpanel-content,
#main #administration #tabs .rich-tabpanel-content {
	height: 1%;
	border-top: 1px solid #E6E6E6;
    padding: 10px;
    font-size: 12px;
    background: #fff url(../images/bg_tabs-content.gif) no-repeat left bottom; /* declare background color for container to avoid distorted fonts in IE while fading */
    border-bottom: none;
    border-left: none;
    border-right: none;
}

#main #search #criteria #tabs .rich-tab-bottom-line,
#main #administration #tabs .rich-tab-bottom-line {
    border-bottom: none;
}

#main #search #criteria #tabs .rich-tabhdr-cell-active,
#main #administration #tabs .rich-tabhdr-cell-active  {
	font-weight: bold;
	border: 0;
    color: #696969;
    display: block;
}   

#main #search #criteria #tabs .rich-tab-active,
#main #administration #tabs .rich-tab-active {
	padding-top: 0;
	padding-bottom: 0;
	margin-bottom: 0;
	cursor: hand;
	cursor: pointer;
	height: 32px;
	background: url(../images/bg_tabs-li-idle-span.gif) no-repeat left top;
    border: 0; 
    line-height: 32px;
}

#main #search #criteria #tabs .rich-tab-inactive,
#main #administration #tabs .rich-tab-inactive {
	background: url(../images/bg_tabs-li-idle-span.gif) no-repeat left top;
	border: 0;
	text-align: center;
	padding-bottom: 0px;
	padding: 0 10px;
    height: 32px;
    line-height: 32px;
    border: 0;
    cursor: hand;
    cursor: pointer;
}

#main #search #criteria #tabs .rich-tabhdr-cell-inactive,
#main #administration #tabs .rich-tabhdr-cell-inactive {
	color: #000;
	cursor: hand;
	cursor: pointer; 
}

#main #administration #tabs .rich-tabpanel {
	width: 771px;
}

/* Caution! Ensure accessibility in print and other media types... */
@media projection, screen { /* Use class for showing/hiding tab content, 
	so that visibility can be better controlled in different media types... */
    .ui-tabs-hide {
        display: none;
    }
}

/* Hide useless elements in print layouts... */
@media print {
    .ui-tabs-nav {
        display: none;
    }
}

.ui-tabs-nav, .ui-tabs-panel {}
.ui-tabs-nav {
    list-style: none;
    font-size: 12px;
}
.ui-tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
    display: block;
    clear: both;
    content: " ";
}
.ui-tabs-nav li {
    float: left;
    color: #000;
    background: url(../images/bg_tabs-li-idle.gif) no-repeat right top; 
}

.ui-tabs-nav a {
    padding: 0;
    text-decoration: none;
    white-space: nowrap; /* @ IE 6 */
    outline: 0; /* @ Firefox, prevent dotted border after click */   
}
.ui-tabs-nav a:link, .ui-tabs-nav a:visited {
    color: #696969;
}
.ui-tabs-nav .ui-tabs-selected {
    font-weight: bold;
    color: #696969;
    display: block;
    background: url(../images/bg_tabs-li-active.gif) no-repeat right top; 
}

.ui-tabs-nav a span {
	float: left;
	text-align: center;
	padding: 0 10px;
    height: 32px;
    line-height: 32px;
    background: url(../images/bg_tabs-li-idle-span.gif) no-repeat left top; 
}

.ui-tabs-nav .ui-tabs-selected a span {
	padding-top: 0;
    height: 32px;
    background: url(../images/bg_tabs-li-active-span.gif) no-repeat left top; 
    line-height: 32px;
}


.ui-tabs-nav .ui-tabs-selected a:link, .ui-tabs-nav .ui-tabs-selected a:visited,
.ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-tabs-disabled a:visited { /* @ Opera, use pseudo classes otherwise it confuses cursor... */
    cursor: text;
}
.ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active,
.ui-tabs-nav .ui-tabs-unselect a:hover, .ui-tabs-nav .ui-tabs-unselect a:focus, .ui-tabs-nav .ui-tabs-unselect a:active { /* @ Opera, we need to be explicit again here now... */
    cursor: pointer;
}


/* Content *********************************************************************/

.ui-tabs-panel:after {
   content: ".";
   display: block;
   height: 0;
   clear: both;
   visibility: hidden;
}
.ui-tabs-panel {
	height: 1%;
	border-top: 1px solid #E6E6E6;
    padding: 10px;
    background: #fff url(../images/bg_tabs-content.gif) no-repeat left bottom; /* declare background color for container to avoid distorted fonts in IE while fading */
}

/* Additional IE specific bug fixes... */
* html .ui-tabs-nav { /* auto clear @ IE 6 & IE 7 Quirks Mode */
    display: inline-block;
}
*:first-child+html .ui-tabs-nav  { /* auto clear @ IE 7 Standards Mode - do not group selectors, otherwise IE 6 will ignore complete rule (because of the unknown + combinator)... */
    display: inline-block;
}
