/* 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;
    }
}
#toggler{position: relative;}
.layout-regForm #toggler{top: 40px; border: 4px solid #c5ddf6;}
/* Skin */
.ui-tabs-nav {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    height: 35px;
    position: absolute;
    top: -36px;
    left: -4px;
    z-index: 5000;
}
.ui-tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
    display: block;
    clear: both;
    content: " ";
}
.ui-tabs-nav li {
    float: left;
    margin: 0 !important;
    width: 155px; /* be nice to Opera */
    height: 35px;
    font-size: 1.26em;
    overflow: hidden;
    clear: none;
    padding-bottom: 0;
}
.ui-tabs-nav li.tab1 {
    background-image: url(/images/tab1-red.png);
}
.ui-tabs-nav li.tab2 {
    background-image: url(/images/tab2-red.png);
}
.ui-tabs-nav a {
    display: block;
    width: 155px;
    height: 26px;
    margin: 0; /* position: relative makes opacity fail for disabled tab in IE */
    padding-top: 9px;
    color: #000;
    font-family: "Trebuchet MS",arial,verdana,sans-serif !important;
    font-weight: bold;
    text-align: center;
    font-size: 0.7em;
    text-decoration: none;
    white-space: nowrap; /* required in IE 6 */    
    outline: 0; /* prevent dotted border in Firefox */
}
.ui-tabs-nav li.tab1 a{background-image: url(/images/tab1-grey.png);}
.ui-tabs-nav li.tab2 a{background-image: url(/images/tab2-grey.png);}
.ui-tabs-nav .ui-tabs-selected{
    color: #fff;
    background-image: none;
}
.ui-tabs-nav li a:hover,
.ui-tabs-nav .ui-tabs-selected a{
    background-image: none !important;
    color: #fff !important;
}
}
.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-deselectable a:hover, .ui-tabs-nav .ui-tabs-deselectable a:focus, .ui-tabs-nav .ui-tabs-deselectable a:active { /* @ Opera, we need to be explicit again here now... */
    cursor: pointer;
    color: #fff;
}
.ui-tabs-disabled {
}
.ui-tabs-panel {
    padding: 0 0 1em 0;
    background: transparent; /* declare background color for container to avoid distorted fonts in IE while fading */
}
.ui-tabs-loading em {
    padding: 0 0 0 20px;
    background: url(/images/loading.gif) no-repeat 0 50%;
}
/* 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  { /* @ IE 7 Standards Mode - do not group selectors, otherwise IE 6 will ignore complete rule (because of the unknown + combinator)... */
    display: inline-block;
}
