/******************************COPYRIGHT************************
 * (C) Crown copyright Met Office. All rights reserved. 
 * For further details please refer to the file COPYRIGHT.txt 
 * which you should have received as part of UM code 
 * ****************************COPYRIGHT************************/

/* Major Positional elements */
/*****************************/
html,body {
	margin:0;
	padding:0;
	height:100%; /* needed for container min-height */
        background: #eee ;
	font-family: sans-serif;
	color:#000;
}

div#container { 
    min-width:35em; 
    max-width:60em; 
    background:#fff;
    position:relative; /* needed for footer positioning*/
    margin:0 auto; /* center, not in IE5 */
    height:auto !important; /* real browsers */
    height:100%; /* IE6: treaded as min-height*/
    min-height:100%; /* real browsers */
    text-align:left;
    border-left: thin solid #333;
    border-right: thin solid #333;
}

div#pageHeadBar {
    width:100%;
    /* background: #000000; */
    background: linear-gradient(to right, #333, #111);
    /* background:transparent; */
    border-bottom: thin solid #333;
    height:4em;
}

div#mainPageWrap {
	padding:0 1em 6em 1em; /* bottom padding for footer */
}

div#pageFootBar {
	position:absolute;
	width:100%;
	bottom:0; /* stick to bottom */
	background:transparent;
        clear: both;
        border-top: thin solid #333;
}

/* Header bar contents */
/***********************/
div#pageHeadBar #name-icon{
    background-image:url(../images/NAME_banner-100x350_colour.png);
    background-position:0px;
    background-repeat: no-repeat;
    background-size: auto 100%;
    display:block;
    width:50%;
    height:4em;
    position:absolute;
}

div#pageHeadBar #name-version{
    height:inherit;
    padding-left: 19.0em;
    font-size: 0.75em;
    font-weight: bold;
    display:table-cell;
    vertical-align:bottom;
    white-space:nowrap;
    text-decoration:none;
}

div#pageHeadBar .menu{
    float:right;
    width:50%;
    height:4em;
}

div#pageHeadBar .menu-item{
    float:right;
    height:1em;
    padding: 0.2em;
    padding-right: 1em;
    font-size: 0.75em;
    font-weight: bold;
    text-align: center;
}

div#pageHeadBar .menu-item a{
    text-decoration: none;
}

/* Footer bar contents */
/***********************/
#name-disclaimer {
    padding: 0.5em;
    font-size: x-small;
    font-weight: bold;
    background: linear-gradient(#111, #222);
    display:block;
}

.mologo {
    height:2em; 
    padding-top:0.3em; 
    padding-right:0.3em; 
    float:left;
}

/* Tutorial Contents lists and page navigation */
/***********************************************/
#content {
    clear:both ;
}

#content li,
#main-content li {
    list-style: none;
}

dl, li, pre {
    padding : 0.2em;
}

.collapse-expand {
    opacity: 0.25;
}

.collapse-expand:hover {
    opacity: 1;
}

.collapse-expand {
    vertical-align: bottom;
    margin: 0.25em;
}

.sectionlink {
    display: none;
}

:hover > .sectionlink {
    display: inline;
}

.page-link-next, .page-link-prev {
    width:30%; 
    display:block; 
    font-size:x-small; 
    font-weight:bold;
    padding:0.2em;
}

.page-link-next {
    float:right; 
    text-align:right; 
}

/* Code Examples */
/*****************/
.shell-prompt{
    background: none;
    border: none;
    font-weight: bold;
    float: left;
    border-radius: 0;
    margin: 0;
    margin-right: 0.5em;
}

/* UMDP Table */
/**************/
table.umdp_list {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

table.umdp_list td.title{
    text-align: left;
    width: 70%;
}

table.umdp_list th {
    text-align: center;
}

table.umdp_list td, table.umdp_list th {
    border-bottom: thin solid #ddd;
    margin: 0;
    padding: 0.2em 0.5em;
}

table.umdp_list tr:hover {
    background: #ddd;
}

table.umdp_list tr:target {
    background: #bbb;
    font-size:1.2em;
}

table.umdp_list tr.error {
    background: #d00;
    color: #eee;
}

table.umdp_list tr.error a {
    color: #000;
}

table.umdp_list tr.error a:hover {
    color: #eee;
}

/* Misc Elements and shared Colours */
/************************************/
#mainPageWrap img{
    border: thin solid #aaa;
}

.rule {
    width: 100%; 
    border-bottom: thin solid #ddd; 
    padding:0.2em;
}

/* Main "UM Blue" colour */
a, 
h1, 
#name-disclaimer, 
.sectionlink:link, 
.sectionlink:visited, 
table.umdp_list tr:target,
div#pageHeadBar .menu-item { 
    color: #0090c9;
}

/* Lighter version of "UM Blue" colour */
a:hover,
.sectionlink:active,
.sectionlink:hover { 
    color: #33c3fc; 
}


/* "Met Office lime green" colour */
div#pageHeadBar #name-version { 
    color: #ccff33; 
}


h1 {
    font-size: 1.5em;
    background: #bbb;
    text-align: center;
    padding: 0.1em;
}

h2 {
    border-bottom: thin solid #ddd;
}

h3 {
    font-size: 100%;
}

h2, h3, h4, h5 {
    padding: 0.2em;
}

p, pre {
    margin-left: 1em;
    margin-right: 1em;
}

pre {
    background: #eee;
    border: thin solid #ddd;
    overflow: auto;
    font-size: small;
}






