/* 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!important;
    }
}

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

/* Skin */
#container-4 { /* the whole container with all elements of the tabbed section */
	margin: 20px 0 20px 0!important;
	height:250px!important; /* defines a static height to the tabed section and avoids "jumping" - part 1 of 2 */
}

.ui-tabs-panel { /* the main content-section of the tabbed area NOT the tabs themselfes */
width:auto;
}

#gallerytab1 a, #gallerytab2 a {
	color:#444 !important;
}

/* the "fragments" which are the single tab areas. each tab is defined by a fragment. 
you can add as many as you want following the scheme "#fragment-x" */
#fragment-1, #fragment-2, #fragment-3, #fragment-4, #fragment-5, #fragment-6, #fragment-7, #fragment-8, #fragment-9 {
	height:auto; !important; /* defines a static height to the tabed section and avoids "jumping" - part 2 of 2 */
}

.ui-tabs-panel .title { /* for the headlines in the tabbed section */
	font:1.8em Georgia, "Times New Roman", Times, serif!important;
	line-height:100%!important;
	display:block!important;
	padding-bottom:7px!important;
	color: #840000!important;
	text-transform:none!important;
	letter-spacing:normal!important;

}

.ui-tabs-nav { /* the whole area of the tabs navigation above the tabbed-content */
    list-style:none!important;
   

	list-style-item:none outside none;
	
}

.ui-tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
    display: block!important;
    clear: both!important;
    content: " "!important;
}
3.ui-tabs-nav li {
    float: left!important;
    /*margin:0 1px 0 0!important;*/
    min-width: 55px!important; /* be nice to Opera */
}
.ui-tabs-nav .ui-tabs {
    display:block!important;
    padding:5px!important;
    background:#E6E3D3!important;
	margin:1px 0 0 0!important; /* position: relative makes opacity fail for disabled tab in IE */
	position: relative!important;
    top:1px!important;
    z-index:30!important;
    color: #333!important;
    font-weight:bold!important;
    line-height:1.2!important;
    text-align:center!important;
    text-decoration:none!important;
	border:1px solid #ccc!important;
    white-space:nowrap!important; /* required in IE 6 */    
    outline:0!important; /* prevent dotted border in Firefox */
}


.ui-tabs-nav .ui-tabs:hover { /* here´s to define the hover effect of the tabs */
    background:#333!important;
	color:#fff!important;
}


.ui-tabs-selected .ui-tabs { /* the effects of the currently selected tab */
	background-color:#fff!important;
    color:#333!important;
	border-bottom:1px solid #fff!important;
}

.ui-tabs-selected {
	text-decoration: none;
padding: 12px;
border: 1px solid #ddd;
border-bottom: none;
border-radius: 5px 5px 0 0;
	background: #b4bac6;
}


.ui-tabs-nav .ui-tabs-selected .ui-tabs, 
.ui-tabs-nav .ui-tabs a:hover, 
.ui-tabs-nav .ui-tabs a:active {
    background-position: 100% -150px!important;
}

.ui-tabs-nav .ui-tabs, 
.ui-tabs-nav .ui-tabs-disabled .ui-tabs a:hover, 
.ui-tabs-nav .ui-tabs-disabled .ui-tabs a:active {
    background-position: 100% -100px!important;
}

.ui-tabs-nav .ui-tabs-selected .ui-tabs a:link, 
.ui-tabs-nav .ui-tabs-selected .ui-tabs a:visited, 
.ui-tabs-nav .ui-tabs-disabled .ui-tabs a:link, 
.ui-tabs-nav .ui-tabs-disabled .ui-tabs a:visited { /* @ Opera, use pseudo classes otherwise it confuses cursor... */
    cursor: text!important;
}

.ui-tabs-nav .ui-tabs a:hover, 
.ui-tabs-nav .ui-tabs a:active,
.ui-tabs-nav .ui-tabs-unselect .ui-tabs a:hover, 
.ui-tabs-nav .ui-tabs-unselect .ui-tabs a:active { /* @ Opera, we need to be explicit again here now... */
    cursor: pointer!important; 
	background-color:#333!important;
	color:#fff!important;
}

.ui-tabs-disabled {
    opacity: .4!important;
    filter: alpha(opacity=40)!important;
}

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

.ui-tabs { position: relative; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
.ui-tabs .ui-tabs-nav { margin: 0; padding:0; }
.ui-tabs .ui-tabs-nav li a { display:block; height:20px;text-align:center;padding:5px 5px 0px 5px;}
.ui-tabs .ui-tabs-nav li {list-style: none; float: left; position: relative; top: 1px; margin:0; border-bottom: 0 !important; padding: 0; white-space: nowrap; opacity:0.7; }
.ui-tabs .ui-tabs-nav li:hover {opacity:0.8;}
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; opacity:1; }
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ 
/*.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; height:196px !important; overflow:hidden; } */
.ui-tabs .ui-tabs-hide { display: none !important; }