﻿/* =========================================================
 This rule resets a core set of elements so that they will appear consistent across browsers. Without this rule, content styled with an h1 tag, for example, 
 would appear in different places in Firefox and Internet Explorer because each browser has a different top margin default value. By resetting these values to 0, 
 the elements will initially be rendered in an identical fashion and their properties can be easily defined by the designer in any subsequent rule. 
 ==========================================================*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6 {
	margin: 0px;
	padding: 0px;
	border: 0px;
	outline: 0px;
	font-size: 100%;
}
a {
	outline: 0;
}
/* ======================================================
 The body is the outermost layout component and contains the visible page content. Setting properties for the body element will help to create consistent styling of 
 the page content and more manageable CSS. Besides using the body element to set global properties, it is common to use the body element to set the background color of the 
 page and create a centered container for the page content to display. 
 =======================================================*/
body {
	text-align: center; /* Centers the page content container in IE 5 browsers. */;
	padding: 0px 0px 0px 0px;
	background-color: #336067;
	line-height: 1.2em;
	font-size: 1em;
	color: #2d2e2e;
	font-family: Arial, Helvetica, sans-serif;
	margin: 0px 0px 0px 0px;
	background-image: url('https://www.kingbeard.co.uk/images/eoswb1.gif');
}
body img {
	border: 0px;
	text-decoration: none;
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}
#borderContainer {
	background: url('https://www.kingbeard.co.uk/images/eoswb1b.gif');
	width: 80%;
	margin: 25px auto;
	padding: 25px;
	border: 1px #000000 solid;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	max-width: 1300px;
}
/* =====================================
Commonly used to style page titles. 
========================================*/
h1, h2, h3 {
	color: #1C140E;
	margin: 5px 0px 5px 10px;
	font-family: "Palatino Linotype", Georgia, "Times New Roman", Times, serif;
}
h1 {
	font-size: 1.7em;
}
h2 {
	font-size: 1.3em;
}
h3 {
	font-size: 1.1em;
}
/*================================
Link Styles unless specified separately
=================================*/
a, a:link {
	color: #009999;
	text-decoration: underline;
}
a:visited {
	color: #003300;
}
a:hover {
	color: #996633;
}
a:focus {
	color: #2170bd;
}
a:active {
	color: #2170bd;
}
/* =============================================
 This is a container for the page content. It is common to use the container to constrain the width of the page content and allow for browser chrome to avoid the need for 
 horizontal scrolling. For fixed layouts you may specify a container width and use auto for the left and right margin to center the container on the page. IE 5 browser require the 
 use of text-align: center defined by the body element to center the container. For liquid layouts you may simply set the left and right margins to center the container on the page. 
 ===============================================*/
#outerWrapper {
	background-color: #fff;
	width: 100%;
	text-align: left; /* Redefines the text alignment defined by the body element. */;
	margin: 0px auto 0px auto;
	border: 1px solid #3B595E;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-moz-box-shadow: 0 0 20px #453823;
	-webkit-box-shadow: 0 0 20px #453823;
	box-shadow: 0 0 20px #453823;
}
/*===================================
Masthaead Styles
====================================*/
#outerWrapper #header {
	background: #1C140E url('https://www.kingbeard.co.uk/images/eoswb1a.gif') repeat bottom;
	padding: 10px 10px 10px 10px;
	font-weight: bold;
	min-height: 100px;
	border-radius: 8px 8px 0px 0px;
	-webkit-border-radius: 8px 8px 0px 0px;
	-moz-border-radius: 8px 8px 0px 0px;
}
#outerWrapper #header .sitename {
	font-family: "Palatino Linotype", Georgia, "Times New Roman", Times, serif;
	font-size: 1.7em;
	font-weight: bold;
	color: #FFFFFF;
	margin-top: 30px;
	margin-left: 25px;
	letter-spacing: .1em;
	line-height: 1em;
}
.tagline {
	font-size: small;
}

/*========================================
Top Navigation
=========================================*/

#topNavigation {
    list-style:none;
    width:90%;
    margin:30px auto 0px auto;
    height:43px;
    padding:0px 20px 0px 20px;
 
    /* Rounded Corners */
     
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
 
    /* Background color and gradients */
     
    background: #3B595E;
    background: -moz-linear-gradient(top, #3B595E, #013953);
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#3B595E), to(#013953));
     
    /* Borders */
     
    border: 1px solid #002232;
 
    -moz-box-shadow:inset 0px 0px 1px #edf9ff;
    -webkit-box-shadow:inset 0px 0px 1px #edf9ff;
    box-shadow:inset 0px 0px 1px #edf9ff;
}
 
#topNavigation li {
    float:left;
    text-align:center;
    position:relative;
    padding: 4px 10px 4px 10px;
    margin-right:30px;
    margin-top:7px;
    border:none;
}
#topNavigation li:hover {
    border: 1px solid #777777;
    padding: 4px 9px 4px 9px;
     
    /* Background color and gradients */
     
    background: #F4F4F4;
    background: -moz-linear-gradient(top, #F4F4F4, #EEEEEE);
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#F4F4F4), to(#EEEEEE));
     
    /* Rounded corners */
     
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
}
#topNavigation li a {
    font-family:Arial, Helvetica, sans-serif;
    font-size:14px; 
    color: #EEEEEE;
    display:block;
    outline:0;
    text-decoration:none;
    text-shadow: 1px 1px 1px #000;
}
#topNavigation li:hover a {
    color:#161616;
    text-shadow: 1px 1px 1px #FFFFFF;
}
#topNavigation li .drop {
    padding-right:21px;
    background:url('https://www.kingbeard.co.uk/images/drop.png') no-repeat right 8px;
    /* Rounded corners */
     
    -moz-border-radius: 5px 5px 0px 0px;
    -webkit-border-radius: 5px 5px 0px 0px;
    border-radius: 5px 5px 0px 0px;
}
#topNavigation li:hover .drop {
    background:url('https://www.kingbeard.co.uk/images/drop.png') no-repeat right 7px;
    /* Rounded corners */
     
    -moz-border-radius: 5px 5px 0px 0px;
    -webkit-border-radius: 5px 5px 0px 0px;
    border-radius: 5px 5px 0px 0px;
}
 
/* Drop Down */
 
.dropdown_1column, 
.dropdown_2columns, 
.dropdown_3columns, 
.dropdown_4columns,
.dropdown_5columns {
    margin:4px auto;
    float:left;
    position:absolute;
    left:-999em; /* Hides the drop down */
    text-align:left;
    padding:10px 5px 10px 5px;
    border:1px solid #777777;
    border-top:none;
     
    /* Gradient background */
    background:#F4F4F4;
    background: -moz-linear-gradient(top, #EEEEEE, #BBBBBB);
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#EEEEEE), to(#BBBBBB));
 
    /* Rounded Corners */
    -moz-border-radius: 0px 5px 5px 5px;
    -webkit-border-radius: 0px 5px 5px 5px;
    border-radius: 0px 5px 5px 5px;
}
 
.dropdown_1column {width: 140px;}
.dropdown_2columns {width: 280px;}
.dropdown_3columns {width: 420px;}
.dropdown_4columns {width: 560px;}
.dropdown_5columns {width: 700px;}
 
#topNavigation li:hover .dropdown_1column, 
#topNavigation li:hover .dropdown_2columns, 
#topNavigation li:hover .dropdown_3columns,
#topNavigation li:hover .dropdown_4columns,
#topNavigation li:hover .dropdown_5columns {
    left:-1px;
    top:auto;
}
 
/* Columns */
 
.col_1,
.col_2,
.col_3,
.col_4,
.col_5 {
    display:inline;
    float: left;
    position: relative;
    margin-left: 5px;
    margin-right: 5px;
}
.col_1 {width:130px;}
.col_2 {width:270px;}
.col_3 {width:410px;}
.col_4 {width:550px;}
.col_5 {width:690px;}
 
/* Right alignment */
 
#topNavigation .menu_right {
    float:right;
    margin-right:0px;
}
#topNavigation li .align_right {
    /* Rounded Corners */
    -moz-border-radius: 5px 0px 5px 5px;
    -webkit-border-radius: 5px 0px 5px 5px;
    border-radius: 5px 0px 5px 5px;
}
#topNavigation li:hover .align_right {
    left:auto;
    right:-1px;
    top:auto;
}
 
/* Drop Down Content Stylings */
 
#topNavigation p, #topNavigation h2, #topNavigation h3, #topNavigation ul li {
    font-family:Arial, Helvetica, sans-serif;
    line-height:21px;
    font-size:12px;
    text-align:left;
    text-shadow: 1px 1px 1px #FFFFFF;
}
#topNavigation h2 {
    font-size:21px;
    font-weight:400;
    letter-spacing:-1px;
    margin:7px 0 14px 0;
    padding-bottom:14px;
    border-bottom:1px solid #666666;
}
#topNavigation h3 {
    font-size:14px;
    margin:7px 0 14px 0;
    padding-bottom:7px;
    border-bottom:1px solid #888888;
}
#topNavigation p {
    line-height:18px;
    margin:0 0 10px 0;
}
 
#topNavigation li:hover div a {
    font-size:12px;
    color:#015b86;
}
#topNavigation li:hover div a:hover {
    color:#029feb;
}
.strong {
    font-weight:bold;
}
.italic {
    font-style:italic;
}
.imgshadow {
    background:#FFFFFF;
    padding:4px;
    border:1px solid #777777;
    margin-top:5px;
    -moz-box-shadow:0px 0px 5px #666666;
    -webkit-box-shadow:0px 0px 5px #666666;
    box-shadow:0px 0px 5px #666666;
}
.img_left { /* Image sticks to the left */
    width:auto;
    float:left;
    margin:5px 15px 5px 5px;
}
#topNavigation li .black_box {
    background-color:#333333;
    color: #eeeeee;
    text-shadow: 1px 1px 1px #000;
    padding:4px 6px 4px 6px;
 
    /* Rounded Corners */
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
 
    /* Shadow */
    -webkit-box-shadow:inset 0 0 3px #000000;
    -moz-box-shadow:inset 0 0 3px #000000;
    box-shadow:inset 0 0 3px #000000;
}
#topNavigation li ul {
    list-style:none;
    padding:0;
    margin:0 0 12px 0;
}
#topNavigation li ul li {
    font-size:12px;
    line-height:24px;
    position:relative;
    text-shadow: 1px 1px 1px #ffffff;
    padding:0;
    margin:0;
    float:none;
    text-align:left;
    width:130px;
}
#topNavigation li ul li:hover {
    background:none;
    border:none;
    padding:0;
    margin:0;
}
#topNavigation li .greybox li {
    background:#F4F4F4;
    border:1px solid #bbbbbb;
    margin:0px 0px 4px 0px;
    padding:4px 6px 4px 6px;
    width:116px;
 
    /* Rounded Corners */
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
#topNavigation li .greybox li:hover {
    background:#ffffff;
    border:1px solid #aaaaaa;
    padding:4px 6px 4px 6px;
    margin:0px 0px 4px 0px;
} 
 
/*=======================================
Wrapper for the content columns
========================================*/
#contentWrapper {
	clear: both;
	background: #FFFFFF;
	overflow: hidden;
	background-image: url('https://www.kingbeard.co.uk/images/content-bg3.jpg');
	background-repeat: repeat-y;
}
/*==================================
Left sidebar
===================================*/
#leftColumn1 {
	float: left;
	width: 145px;
	padding: 10px 10px 10px 10px;
}
/*================================
Left sidebar navigation menu
==================================*/
#leftColumn1 .menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	margin-bottom: 4px;
}
#leftColumn1 .menu li {
	list-style: none;
	padding: 2px 0;
}
#leftColumn1 .menu ul li a {
	margin-top: 3px;
	display: block;
	color: #ffffff;
	background-color: #3B595E;
	border: 1px solid #3B595E;
	text-decoration: none;
	padding: 8px;
	font-size: .9em;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-box-shadow: 0px 0px 15px #5D574C;
	box-shadow: 0px 0px 15px #5D574C;
}
#leftColumn1 .menu a:hover {
	color: #000000;
	background-color: #9DA8AA;
	border: 1px solid #475F63;
}
.sectionTitle {
	color: #000000;
	font-weight: bold;
	padding: 4px;
	font-size: 1.2em;
	margin-top: 0px;
}
/*===================================================
Contains the main page content. When using a mutliple column layout the margins will be set to account for the floated columns' width, margins, and padding. 
=====================================================*/
#content {
	padding: 10px 20px 10px 20px;
	margin: 0px 0px 0px 230px;
}
/* ===============================================
Using floated elements and a clear float class is a common method to accomplish multiple column tableless layouts. If floated elements are used without being 
cleared the elements following will wrap around the floated element. This class should be applied to an element after the last floated element and before the 
close of the container with floated elements. 
==================================================*/
.clearFloat {
	display: block;
	clear: left;
}
/*=================================================
Footer Styles 
==================================================*/
#outerWrapper #footer {
	background-color: #1C140E;
	padding: 10px 10px 10px 10px;
	border-radius: 0px 0px 8px 8px;
	-webkit-border-radius: 0px 0px 8px 8px;
	-moz-border-radius: 0px 0px 8px 8px;
	color: #ffffff;
	background-image: url('https://www.kingbeard.co.uk/images/eoswb1a.gif');
}
#outerWrapper #footer p {
	margin-top: 0px;
	margin-bottom: 0px;
	text-align: center;
	font-size: .85em;
}
#outerWrapper #footer a:link {
	color: #ffffff;
}
#outerWrapper #footer a:visited {
	color: #CCCCCC;
}
#outerWrapper #footer a:hover, #outerWrapper #footer a:focus {
	color: #FFFFFF;
}
#outerWrapper #footer a:active {
	color: #999999;
}
/*============================================
Floating images left, right or centered on page
=============================================*/
.imglft {
	padding: 5px 10px 5px 0px;
	float: left;
}
.imgrgt {
	padding: 5px 0px 5px 10px;
	float: right;
}
.imgctr {
	display: block;
	margin: 0px auto;
}
/*=====================================
Misc Typographic styles
======================================*/
.ctr {
	text-align: center;
}
.smltxt {
	font-size: small;
}
/*=============
form styles 
==============*/
form fieldset {
	padding: 1em;
	font: 80%/1 sans-serif;
	border: 2px solid #000000;
	width: 300px;
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	box-shadow: 3px 3px 6px #dddddd;
	-moz-box-shadow: 3px 3px 6px #dddddd;
	-webkit-box-shadow: 3px 3px 6px #dddddd;
}
form fieldset label {
	width: 15%;
	margin-right: 0.5em;
	padding-top: 0.2em;
	text-align: right;
	font-weight: bold;
}
form fieldset legend {
	padding: 0.2em 0.5em;
	color: #000000;
	font-size: 90%;
	text-align: right;
	font-variant: small-caps;
}
.cf {
	border: 1px #353c48 solid;
	background-image: url('https://www.kingbeard.co.uk/images/form-bg.jpg');
	background-repeat: repeat;
}
.button {
	font: normal 90% Verdana, serif;
	height: 22px;
	border: 1px solid #CDBB99;
	background-color: #4A3527;
	color: #ffffff;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
}
input:focus {
	border: 2px solid #993300;
}

