/* TEACHING SCOTLAND ONLINE CSS - HOME PAGE */

@import url("main-red.css"); /* Change colour stylesheet import */

#midcol {
	float:left;
	width:530px;
	margin:0px;
	padding:0px 10px;
}

#midcol h1 {
	line-height:1.0;  
        margin-top:0px;
        margin-bottom:8px;
        padding:0px;
}

#midcol p {
	margin:0px;
}

#leftcol-content {
	width:158px;
	padding:10px 10px;
}

#leftcol-content .teaser {
        font-size:90%;
}

#featurebox-home-wrap {
        float:left;
        width:530px;
        height:58px;
        background:url(/web/multimediafiles/feature-home-bkgd.jpg) top center no-repeat;
        margin-top:10px;
}

#featurebox-home {
        float:left;
        width:300px;
        height:45px;
        padding:7px 220px 10px 10px;
        font-size:80%;
}


/* TAB FEATURE STYLING */

@media projection, screen { /* showing/hiding tab content to ensure accessibility in print and other media types */
.ui-tabs-hide {
	display: none;
}
}
@media print { /* Hide in print layouts */
.ui-tabs-nav {
	display: none;
}
}

.ui-tabs-nav {
    font-size:80%;
}

.ui-tabs-panel {
    font-size:85%;
	line-height:1.4;
}

.ui-tabs-panel h1 {
	line-height:1.0;
	margin:0px;
}

.ui-tabs-nav {
    list-style:none;
    margin:0px;
    padding:0px 0px 0px 4px;
}

.ui-tabs-nav:after { /* clearing without presentational markup, IE */
    display:block;
    clear:both;
    content: " ";
}

.ui-tabs-nav li {
    float:left;
    margin:0px 0px 0px 1px;
    min-width:84px; /* Opera */
}

.ui-tabs-nav a, .ui-tabs-nav a span {
    display:block;
	width:100px;
    padding:0px 5px;
    font-weight:bold;
    background:url(/web/templates/home_files/tab.jpg) no-repeat;	
}

.ui-tabs-nav a {
    margin:1px 0px 0px; /* position: relative makes opacity fail for disabled tab in IE */
    padding-left:0px;
    color:#474747;
    font-weight:normal;
    line-height:1.2;
    text-align:center;
    text-decoration:none;
    white-space:nowrap; /* required in IE 6 */    
    outline:0px; /* prevent dotted border in Firefox */
}

.ui-tabs-nav .ui-tabs-selected a {
    position:relative;
    top:1px;
    z-index:2;
    margin-top:0px;
    color:#000;
    font-weight:bold;
	background:url(/web/templates/home_files/tab-active.jpg) no-repeat;
}

.ui-tabs-nav a span {
    width:64px; /* IE 6 treats width as min-width */
    min-width:64px;
    height:18px; /* IE 6 treats height as min-height */
    min-height:18px;
    padding-top:6px;
    padding-right:0px;
}

*>.ui-tabs-nav a span { /* hide from IE 6 */
    width:auto;
    height:auto;
}
.ui-tabs-nav .ui-tabs-selected a span {
    padding-bottom:1px;
    font-weight:bold;
	background:url(/web/templates/home_files/tab-active.jpg) no-repeat;
}

.ui-tabs-nav .ui-tabs-selected a, .ui-tabs-nav a:focus, .ui-tabs-nav a:active {
    background-position:100% -150px;
	background:url(/web/templates/home_files/tab-active.jpg) no-repeat;
}

.ui-tabs-nav a:hover {
	background:url(/web/templates/home_files/tab-hover.jpg) no-repeat;
}

.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 span, .ui-tabs-nav a:hover span, .ui-tabs-nav a:focus span, .ui-tabs-nav a:active span {
    background-position:0 -50px;
}

.ui-tabs-nav a span, .ui-tabs-nav .ui-tabs-disabled a:hover span, .ui-tabs-nav .ui-tabs-disabled a:focus span, .ui-tabs-nav .ui-tabs-disabled a:active span {
    background-position:0px 0px;
}
.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 */
    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 */
    cursor:pointer;
}

.ui-tabs-disabled {
    opacity:.4;
    filter:alpha(opacity=40);
}

.ui-tabs-panel {
    border:1px solid #C7C7C7;
    padding:1em 8px;
    background:#fff; /* declare background color for container to avoid distorted fonts in IE while fading */
}

.ui-tabs-loading em {
    padding:0px 0px 0px 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  { /* @ IE 7 Standards Mode - do not group selectors, otherwise IE 6 will ignore complete rule */
    display:inline-block;
}





