.ui-wrapper { border: 1px solid #003366; /* #50A029; */ }
.ui-wrapper input, .ui-wrapper textarea { border: 0; }

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

/* Skin */
.ui-tabs-nav, .ui-tabs-panel {
    font-family: "Trebuchet MS", Trebuchet, Verdana, Helvetica, Arial, sans-serif;
    font-size: 12px;
}
.ui-tabs-nav{
    list-style: none;
    margin: 0;
    padding: 0 0 0 57px;
}
.ui-tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
    display: block;
    clear: both;
	}
.ui-tabs-nav li {
    float: left;
    font-weight: normal;
	text-align:center;
	height:27px; 
	line-height:27px;
	padding:0;
	margin-right:2px
	
}
.ui-tabs-nav li#Blog{background:url(../images/index/tab_eventosruta_deselect.gif) no-repeat top; width:90px; text-align:center; float:left; color:#FFFFFF;}
.ui-tabs-nav li#Casos{ background:url(../images/index/tab_otros_deselect.gif)  no-repeat top; width:90px;text-align:center; float:left; color:#FFFFFF;}
.ui-tabs-nav li#Anunciese{ background:url(../images/index/tab_anunciese_deselect.gif)  no-repeat top; width:90px;text-align:center; float:left; color:#FFFFFF;}

.ui-tabs-nav a, .ui-tabs-nav a span {
    float: left; /* fixes dir=ltr problem and other quirks IE */
    padding: 0;
	
}
.ui-tabs-nav a {
    margin: 0; /* position: relative makes opacity fail for disabled tab in IE */
    padding: 0;
    background-position: 100% 0;
    text-decoration: none;
    white-space: nowrap; /* @ IE 6 */
    outline: 0;
	color: #CCCCCC; /* @ Firefox, prevent dotted border after click */    
}
.ui-tabs-nav li#Blog a:link, .ui-tabs-nav li#Blog a:visited {
    text-align:center; width:90px;
	
}
.ui-tabs-nav li#Casos a:link, .ui-tabs-nav li#Casos a:visited {
    text-align:center; width:90px;}

.ui-tabs-nav li#Anunciese a:link, .ui-tabs-nav li#Anunciese a:visited {
    text-align:center; width:90px;}

.ui-tabs-nav .ui-tabs-selected a {
    position: relative;
    top:0;
    z-index: 2;
    margin-top: 0;
    background-position: 100% -23px; 
}
.ui-tabs-nav .ui-tabs-selected#Blog{
background:url(../images/index/tab_eventosruta.gif) no-repeat top; width:90px; height:27px; line-height:27px; text-align:center; float:left; color:#FFFFFF; font-weight: bold;  }
.ui-tabs-nav .ui-tabs-selected#Casos{
background:url(../images/index/tab_otros.gif) no-repeat top; width:90px; height:27px; line-height:27px; text-align:center; float:left; color:#FFFFFF; font-weight: bold;  }
.ui-tabs-nav .ui-tabs-selected#Anunciese{
background:url(../images/index/tab_anunciese.gif) no-repeat top; width:90px; height:27px; line-height:27px; text-align:center; float:left; color:#FFFFFF; font-weight: bold;  }

.ui-tabs-nav a span {
    padding-top:0;
    padding-right: 0;
    height: 20px;
    line-height: 20px;
}
.ui-tabs-nav .ui-tabs-selected a span {
    padding-top: 0;
    height: 27px;
    background-position: 0 -23px;
    line-height: 27px;
}

.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: pointer; color: #FFFFFF; width:78px;
}
.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; color:#FFFFFF;  height:27px; line-height:27px; text-align:center;}
	
#Blog a:hover, #Blog a:focus, #Blog a:active, #Blog .ui-tabs-unselect a:hover, #Blog .ui-tabs-unselect a:focus, #Blog .ui-tabs-unselect a:active {
background:url(../images/index/tab_eventosruta_hover.gif) no-repeat top; width:78px;}
#Casos a:hover, #Casos a:focus, #Casos a:active, #Casos .ui-tabs-unselect a:hover, #Casos .ui-tabs-unselect a:focus, #Casos .ui-tabs-unselect a:active {
background:url(../images/index/tab_otros_hover.gif) no-repeat top; width:78px; }
#Anunciese a:hover, #Anunciese a:focus, #Anunciese a:active, #Anunciese .ui-tabs-unselect a:hover, #Anunciese .ui-tabs-unselect a:focus, #Anunciese .ui-tabs-unselect a:active {
background:url(../images/index/tab_anunciese_hover.gif) no-repeat top; width:78px; }

/*#Blog a:focus, #Blog a:active, #Blog .ui-tabs-unselect a:hover, #Blog .ui-tabs-unselect a:focus, #Blog .ui-tabs-unselect a:active {
background:url(../images/index/tab_blog.jpg) no-repeat top; width:78px;}
#Casos a:focus, #Casos a:active, #Casos .ui-tabs-unselect a:hover, #Casos .ui-tabs-unselect a:focus, #Casos .ui-tabs-unselect a:active{
background:url(../images/index/tab_casos.jpg) no-repeat top; width:120px;}

*/

/*.ui-tabs-disabled {
    opacity: .4;
    filter: alpha(opacity=40);
}*/
.ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-tabs-disabled a:visited {
    color: #000;
}
.ui-tabs-panel {
width:300px; height:115px;
clear:both;
 
	/* declare background color for container to avoid distorted fonts in IE while fading */
}
/*.ui-tabs-loading em {
    padding: 0 0 0 20px;
    background: url(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  { /* 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;
}
