﻿/*
   The colour scheme for the Harwood House web application
   is based on the colours of the main Harwood house website
   (http://www.harwoodhouse.c.uk) and the Let it Shine palette as
   found on ColourLovers (http://www.colourlovers.com/palette/2511040/Let_it_shine).
 */

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: local("Open Sans Bold"), local("OpenSans-Bold"), url(https://themes.googleusercontent.com/static/fonts/opensans/v6/k3k702ZOKiLJc3WVjuplzJ1r3JsPcQLi8jytr04NNhU.woff) format('woff');
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  src: local("Open Sans Light"), local("OpenSans-Light"), url(https://themes.googleusercontent.com/static/fonts/opensans/v6/DXI1ORHCpsQm3Vp6mXoaTZ1r3JsPcQLi8jytr04NNhU.woff) format('woff');
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 800;
  src: local("Open Sans Extrabold"), local("OpenSans-Extrabold"), url(https://themes.googleusercontent.com/static/fonts/opensans/v6/EInbV5DfGHOiMmvb1Xr-hp1r3JsPcQLi8jytr04NNhU.woff) format('woff');
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: local("Open Sans"), local("OpenSans"), url(https://themes.googleusercontent.com/static/fonts/opensans/v6/K88pR3goAWT7BTt32Z01mz8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}

a
{
	text-decoration: none;
}

a:hover
{
	text-decoration:underline;
}

body
{
	background-color: white;
	background-image: url('/Images/Bg-tile.png');
	background-repeat: repeat-x;
	font-family: 'open sans';
	font-size: 15.5px;
	margin: 0px;
}

h1
{
	font-size: 30px;
	font-weight: 300;
	color: #764321;
}

h2
{
	font-size: 22px;
	font-weight: 400;
	color: #666;
    position: relative;
}

    h2 .button.options {
        position: absolute;
        right: 0px;
    }

    h2 .button.right {
    position: absolute;
    right: 0px;
    }
h3
{
	font-weight: 400;
}

    h3 .button.right {
    position: absolute;
    right: 0px;
    }

hr {
  height: 0;
  border: none;
  border-top: solid 1px gray;
}

/* Element classes */
a.button, div.button
{
    font-family: "Open Sans";
	font-size: 15px;
	background-color: #ddd;
	border: solid 1px #aaa;
	display: inline-block;
	color: black;
	text-align: center;
	padding: 0.25em 0.75em 0.25em 0.75em;
	text-decoration:none;
    cursor: pointer;
}

	a.button:hover, div.button:hover
	{
	    background-color: #eee;
	}

    a.button.disabled, div.button.disabled {
        background-color: white;
        color: gray;
        border: gray;
    }

        a.button.disabled:hover, div.button.disabled:hover {
            background-color: white;
            color: gray;
            border: gray;
        }

    a.button.delete
    {
	    color: white;
	    background-color: #f44;
	    border: solid 1px #a00;
    }

        a.button.delete:hover
        {
	        color: white;
	        background-color: #f66;
	        border: solid 1px #a00;
	        text-decoration: none;
        }

.confirmation
{
	background-color: #E0FFE0;
	border: solid 1px #008000;
	padding: 0.5em;
	margin-bottom: 1em;
    color: #008000;
}

div.error
{
    background-color: #FEE8DD;
    border: solid 1px red;
    color: red;
	padding: 1em;
    margin-bottom: 0.5em;
}

.flash-message
{
	border: solid 1px #008000;
	background-color: #E0FFE0;
    color: #008000;
	left: 50%;
	margin: 2em auto 0px -200px;
	padding: 1em;
	position: fixed;
	text-align: center;
	top: 0px;
	width: 400px;
}

	.flash-message.bad
	{
		background-color: #FEE8DD;
		border: solid 1px red;
		color: red;
		text-align: center;
	}

.menu
{
	list-style: none;
	padding: 10px 0px 0px 0px;
}

.menu a
{
	color: #764321;
	text-decoration: none;
}

.menu a:hover
{
	color: #E6603A;
}

.menu > li
{
	color: #764321;
	display: inline-block;
	font-weight:300;
	padding: 2px 0.5em 2px 0.5em;
	margin-left: 0.5em;
}

.menu > li.selected
{
	color: #E6603A;
	font-weight: 400;
}

	.menu > li .moreMenu
	{
		border: solid 1px #aaa;
		background: white;
		font-size: 19px;
		font-weight: 400;
		padding: 1em;
		position: absolute;
		display: none;
	}

		.menu > li .moreMenu ul
		{
			list-style: none;
			padding: 0px 0px 0px 0px;
		}

			.menu > li .moreMenu ul li a
			{

			}

	.menu > li:hover
	{
		color: #E6603A;
	}

	.menu > li:hover .moreMenu
	{
		display: block;
        z-index:999;
	}

.options {
    position: relative;
    line-height: 2em;
}
.options .moreMenu
	{
		border: solid 1px #aaa;
		background: white;
        box-shadow: 0px 5px 5px #ccc;
		font-weight: 400;
		padding: 2px;
		position: absolute;
		display: none;
        text-align: left;
        right: -1px;
        z-index:0;
        width:180px;
        margin-top:4px;
	}

		.options .moreMenu ul
		{
			list-style: none;
			padding: 0px 0px 0px 0px;
            margin: 0px;
		}

            .options .moreMenu ul li a {
                width: 160px;
                padding:0px 10px 0px 10px;
                display: inline-block;
                color: black;
            }

			.options .moreMenu ul li:hover a
			{
                text-decoration: none;
		        background-color: #ADD6FF;
			}

	.options:hover .moreMenu
	{
		display: block;
	}

.simple-popup
{
	background-color: white;
	border: solid 1px #aaa;
	box-shadow: 0px 5px 5px #ccc;
    position:absolute;
	padding: 0.5em;
}

.simple-popup-overlay {
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
}

.smaller
{
	font-size: 0.9em;
}

div.wait-panel {
    height: 2em;
    line-height: 2em;
    margin-bottom: 1em;
    text-align: center;
}

.wait-screen
{
	background-color: white;
	border: solid 1px #aaa;
	box-shadow: 0px 5px 5px #ccc;
	height: 2em;
	line-height: 2em;
	margin: -3em auto 0px -200px;
	padding: 2em 1em 2em 1em;
	position: fixed;
	text-align: center;
	left: 50%;
	top: 50%;
	width: 400px;
}

.wait-screen img,
.wait-screen span,
.wait-panel img,
.wait-panel span
{
	vertical-align: middle;
}

/* Element identifiers */
#content, #header, .menu, #ribbon
{
	width: 945px;
	margin: 0px auto 0px auto;
}

#content
{
	width: 945px;
	padding: 1em 0em 0em 0em;
}

#header
{
	background-image: url('/Images/Title-new.png');
	background-position: 23px 22px;
	background-repeat: no-repeat;
	color: #764321;
	text-align: left;
	height: 134px;
    position: relative;
}

    #header.no-logo {
        background-image: none;
    }

    #header #logged-in {
        position: absolute;
        right: 0px;
        top: 60px;
    }

    #header #staging {
        display: inline-block;
        padding-top: 80px;
        padding-left: 0.5em;
        color: red;
	    font-size: 35px;
    }
#header .logo
{
	position: absolute;
	left: 0px;
	top: 8px;
}

#menu
{
    margin-top: 6px;
	background-image: url('/Images/Ribbon.png');
	background-repeat: repeat-x;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
    padding: 5px 0px 0px 0px;
    color: #F1E1CA;
}

    #menu.fixed {
        position: fixed;
        z-index: 100;
    }

#menu li
{
	font-size: 19px;
    padding: 0.5em 1em 0.5em 1em;
}

    #menu li a {
        color: #F1E1CA;
    }

#menu li.selected
{
    font-weight: bold;
	background-color: white;
	border-top-left-radius: 9px;
	border-top-right-radius: 9px;
}

    #menu li.selected a {
        color: #764321;
    }

#ribbon
{
    margin-top: 6px;
	background-image: url('/Images/Ribbon.png');
	background-repeat: repeat-x;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
    color: #F1E1CA;
}

#ribbon #body
{
	padding: 0.5em 1em 0.5em 1em;
	text-align: right; 
}

#submenu
{
    margin-top: 0px;
    background-color: #CEC0AE;
    background-image: url('/Images/Submenu-border.png');
    background-position: 0% 100%;
    background-repeat:repeat-x;
    border-top: solid 1px white;
    padding: 10px 0px 16px 0px;
}

    #submenu.fixed {
        position: fixed;
        z-index: 100;
    }

#submenu > li
{
    font-weight: 400;
	font-size: 19px;
}