/* 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;
    }
}

#Tab1Content 
{
    z-index:100000;
}

#HomePanel {
	height:380px;
	width:720px;
	margin:0 0 0px 0;
	overflow:hidden;
	position:relative;
}

ul#Tabs {
	position:absolute;
	float:right;
	width:240px;
	padding:0px;
	margin:0;
	z-index:1000;
	top:60px;
	left:500px;
}

#PanelContent {
	width:580px;
	height:380px;
	z-index:800;
	position:absolute;
	top:0px;
}

#PanelContent a {
	width:580px;
	height:380px;
}


*html #PanelContent {
	width:580px;
	height:380px;
}

*:first-child+html #PanelContent {
	width:580px;
	height:380px;
}


/* Skin */
.ui-tabs-nav, .ui-tabs-panel {
}
.ui-tabs-nav {
    list-style: none;
    margin: 0;
    padding: 0 0 0 0;
}

.ui-tabs-nav li {
	min-height:35px;
	height:auto !important;
	height:35px;
	margin:0 0 10px 0;
}
.ui-tabs-nav a {
    margin: 0 0 0 0; /* position: relative makes opacity fail for disabled tab in IE */
    padding: 0 0 0 0;
	background-color:#ccc;
	display:block;
	padding:7px 0 0 10px;
	min-height:33px;
	height:auto !important;
	height:33px;
    color: #333;
    font-weight: normal;
	font-style:italic;
    text-align: left;
    text-decoration: none !important;
    white-space: nowrap; /* required in IE 6 */    
    outline: 0; /* prevent dotted border in Firefox */
	font-size:24px;
}

.Mag7TabGroup a:hover {
    background:#ffffff;
}

.ui-tabs-nav .ui-tabs-selected a {
    position: relative;
    top: 0px;
    z-index: 2;
    margin-top: 0;
    color: #fff;
	background-color:#d32f5c;
}

.ui-tabs-nav .ui-tabs-selected a, .ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active {
    background-position: 100% -150px;
}
.ui-tabs-nav a, .ui-tabs-nav .ui-tabs-disabled a:hover, .ui-tabs-nav .ui-tabs-disabled a:focus, .ui-tabs-nav .ui-tabs-disabled a:active {
    background-position: 100% -100px;
}

.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;
}
.ui-tabs-disabled {
    opacity: .4;
    filter: alpha(opacity=40);
}
.ui-tabs-panel {
    padding: 0px 0 0 15px;
	height:380px;
    background: #7f7f7f; /* declare background color for container to avoid distorted fonts in IE while fading */
}

.ui-tabs-panel a {
	height:380px;
	width:520px;
	display:block;
	text-decoration:none;
}

.ui-tabs-panel a span {
	position:relative;
	top:330px;
	margin:0px !important; 
	color:#27537a;
	font-size:13px;
	color:#FFFFFF;
}

.HomePanelHeader {
	font-size:32px !important;
}

#tours {
	background-image:url(../images/HomePanel_Tours1.jpg);
	background-repeat:no-repeat;
}

#galleries {
	background-image:url(../images/HomePanel_Galleries.jpg);
	background-repeat:no-repeat;
}

#exhibitions {
	background-image:url(../images/HomePanel_Exhibitions1.jpg);
	background-repeat:no-repeat;
}

/* 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;
}