html { height: 100%; }
* { margin: 0; padding: 0; }
body { font: normal .78em arial, sans-serif; background: #bbbbbb; color: #555;}
p { padding: 0 0 16px 0; line-height: 1.7em; }
button {padding: 0 5px 0 5px; margin: 4px; };
img { border: 0; }

h1, h2, h3, h4, h5, h6 { 
	font: normal 175% 'century gothic', arial, sans-serif;
	color: #111;
	margin: 0 0 15px 0;
	padding: 15px 0 5px 0;
}

h2, h3 { 
	font: normal 135% 'century gothic', arial, sans-serif;
	color: #444;
}

h4, h5, h6 { 
	margin: 0;
	padding: 0 0 5px 0;
	font: normal 120% arial, sans-serif;
	color: #555;
}

h5, h6 { 
	font: italic 95% arial, sans-serif;
	padding: 0 0 15px 0;
	color: #000;
}

h6 { 
	color: #888;
}

a, a:hover { 
	outline: none;
	color: #111;
	text-decoration: underline;
}

a:hover { 
	text-decoration: none;
}

blockquote { 
	margin: 20px 0 20px 0; 
	padding: 10px 20px 0 20px;
	border: 1px solid #E5E5DB;
	background: #F5F5F1;
}

ul { 
	margin: 2px 0 22px 17px;
}

ul li { 
	list-style-type: circle;
	margin: 0 0 6px 0; 
	padding: 0 0 4px 5px;
}

ol { 
	margin: 8px 0 22px 20px;
}

ol li { 
	margin: 0 0 11px 0;
}

#main, #site_content, #footer { 
	margin-left: auto; 
	margin-right: auto;
}

#main {
	width: 100%;
	max-width: 1024px;
}

#site_content { 
	width: 100%;
	overflow: hidden;
	background: #F8F8F8;
} 

#content { 
	text-align: left;
	box-sizing: border-box;  /* width padding & margin don exceed parent div */
/*	width:calc(100% - 220px);  Subtract width of sidebar and paddings*/
	float: left;
	padding: 15px 10px 15px 20px;
	overflow-x: auto;
}

/* --------------------------- MENU WIDE ------------------------- */
.toggle,
[id^=drop] {
	display: none;
}

/* Giving a background-color to the nav container. */
nav { 
	margin:0;
	padding: 0;
	background-color:#505050;
	line-height: 28px;
}

/* Since we'll have the "ul li" "float:left" we need to add a clear after the container. */
nav:after {
	content:"";
	display:table;
	clear:both;
}

/* Removing padding, margin and "list-style" from the "ul", and adding "position:reltive" */
nav ul {
	float: left;
	padding:0;
	margin:0;
	list-style: none;
	position: relative;
	}
	
/* Positioning the navigation items inline */
nav ul li {
	margin: 0px;
	padding:0;
	display:inline-block;
	float: left;
	background-color:#505050;
	list-style-type: none;
	}

/* Styling the links */
nav a {
	display:block;
	padding:0px 15px;
	color:#FFF;
	font-size:14px;
	text-decoration:none;
	text-transform: uppercase;
}

nav a.selected {
	color: #111;
	background-color:#F8F8F8;
}

/* Background color change on Hover */
nav a:hover { 
      background-color:#e5b82e;
}

/* Hide Dropdowns by Default and giving it a position of absolute */
nav ul ul {
	display: none;
	position: absolute; 
	/* has to be the same number as the "line-height" of "nav a" */
	top: 26px; 
}


/* Display Dropdowns on Hover */
nav ul li:hover > ul {
	display:inherit;
}
	
/* First Tier Dropdown */
nav ul ul li {
	width:210px;
	float:none;
	display:list-item;
	position: relative;
	background-color:#757575; 
}

/* Second, Third and more Tiers. We move the 2nd and 3rd etc tier dropdowns to the left
   by the amount of the width of the first tier.*/
nav ul ul ul li {
	position: relative;
	top:-26px;
	/* has to be the same number as the "width" of "nav ul ul li" */ 
	left:210px; 
}
	
/* --------------------------- MENU SMALL ------------------------- */
@media all and (max-width : 720px) {
	nav {
		margin: 0;
	}

	/* Hide the navigation menu by default. Also hide the  */
	.toggle + a,
	.menu {
		display: none;
	}

	/* Style the toggle label */
	.toggle {
		display: block;
		background-color:#505050;
		padding:0px 15px;	
		color:#FFF;
		font-size:14px;
		text-decoration:none;
		border:none;
		text-transform: uppercase;
	}

	.toggle:hover {
		background-color:#e5b82e;
		color:#000000;
	}

	/* Display Dropdown when clicked on Parent Lable */
	[id^=drop]:checked + ul {
		display: block;
	}

	/* Change menu item's width to 100% */
	nav ul li {
		display: block;
		width: 100%;
		}

	nav ul ul .toggle,
	nav ul ul a {
		padding: 0 40px;
	}

	nav ul ul ul a {
		padding: 0 80px; 
	}

	nav ul li ul li .toggle,
	nav ul ul a,
        nav ul ul ul a{
		padding:0px 50px;	
		color:#FFF;
		background-color:#757575; 
	}

        nav ul ul ul a{
		padding:0px 80px;	
	}

	/* Hide Dropdowns by Default */
	nav ul ul {
		float: none;
		position:static;
		color: #ffffff;
		/* has to be the same number as the "line-height" of "nav a" */
	}
		
	/* Hide menus on hover */
	nav ul ul li:hover > ul,
	nav ul li:hover > ul {
		display: none;
	}
		
	/* Fisrt Tier Dropdown */
	nav ul ul li {
		display: block;
		width: 100%;
	}

	nav ul ul ul li {
		position: static;
		/* has to be the same number as the "width" of "nav ul ul li" */ 

	}

/* Change ' +' in order to change the Dropdown symbol */
li > a:after { content:  ' +'; }
li > a:only-child:after { content: ''; }

}
/* --------------------------- END MENU ------------------------- */

#footer { 
/*width: 1024px;*/
width: 100%;
height: 20px;
padding: 10px 0 4px 0;
text-align: center; 
background: #555;
color: #AAA;
border-top: 1px solid #FFF;
letter-spacing: 0.2em;
text-transform: uppercase;
font-size: 80%;
}

#footer a { 
color: #FFF;
text-decoration: none;
}

#footer a:hover { 
color: #FFF;
text-decoration: none;
}

#colours { 
height: 0px;
text-align: right;
padding: 66px 16px 0px 300px;}
  
.form_settings { 
margin: 15px 0 0 0;
font: bold 12px/150% Arial, Helvetica, sans-serif;
}

.form_settings p { 
padding: 0 0 4px 0;
}

.form_settings span { 
float: left; 
width: 160px; 
padding-left:50px;
text-align: left;
}
  
.form_settings input, .form_settings textarea { 
padding: 5px; 
width: 350px; 
font: 100% arial; 
border: 1px solid #E5E5E5; 
background: #FFF; 
color: #555;
}
  
.form_settings .submit { 
text-align: center;
font: 100% arial; 
border: 1px solid; 
width: 90px; 
margin: 15px 1px 15px 1px; 
height: 26px;
padding: 2px 0 3px 0;
cursor: pointer; 
background: #555; 
color: #FFF;
}

.form_settings textarea, .form_settings select { 
font: 100% arial; 
width: 350px;
}

.form_settings select { 
width: 310px;
}

.form_settings input[type="checkbox"] {
width: 14px;
margin: 4px 0px;
background:none;
}

/* SIDEBAR CONTENT */
.sidebar {
	float: right;
	width: 178px;
	background: #cccccc;
	min-height:400px;
	padding: 6px 6px 6px 6px;
	padding-bottom:9000px; /*Trick to let the sidebar scale with the content*/ 
	margin-bottom:-9000px; /*Trick to let the sidebar scale with the content*/
}
/*
.sidebar ul {
	width: 158px;
	padding: 4px 0 0 0;
	margin: 4px 0 30px 0;
}
.sidebar li {
	list-style: none;
	padding: 0 0 4px 0;
}
.sidebar li a, .sidebar li a:hover {
	padding: 0 0 0 25px;
	display: block;
	background: transparent url(../icons/link.png) no-repeat left center;
}
.sidebar li a.selected {
	color: #444;
	text-decoration: none;
}
*/
.sidebar-widget {
        width:165px;
        margin:0 0 10px 0;
        padding:5px 5px 5px 5px;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
}

.sidebar-widget-nofill {
        border:solid 1px #999;
}

.sidebar-widget-filled {
	border:solid 1px rgb(190,190,190); 
	background:#EEE; 
}

.sidebar-widget-nofill .sidebar-widget-title {
	font: bold 120% 'century gothic', arial, sans-serif;
	color: #555;
	padding:1px 10px 2px 10px; 
	margin:-5px -5px 6px -5px; 
}

.sidebar-widget-filled .sidebar-widget-title { 
	font: bold 120% 'century gothic', arial, sans-serif;
	color: #555;
	padding:1px 10px 2px 10px; 
	margin:-5px -5px 6px -5px; 
	background: #999; 
	-webkit-border-radius: 2px 2px 0 0; 
	-moz-border-radius: 2px 2px 0 0; 
	border-radius: 2px 2px 0 0;
}

.sidebar-widget p {margin:0 5px 0.5em 5px; color:rgb(80,80,80); line-height:1em; font-size:100%; }
.sidebar-widget h1 { margin:0 5px 1em 5px; padding: 5px 0 5px 0; color:rgb(80,80,80); line-height:1em; font-size:140%; font-weight: bold; }
.sidebar-widget label {margin:0 10px 0.5em 5px; color:rgb(80,80,80); line-height:1em; font-size:100%; }
.sidebar-widget input {margin:0 10px 0.5em 5px; color:rgb(80,80,80); line-height:1em; font-size:100%; }
