
@font-face {
    font-family: 'poohregular';
    src: url('/fonts/j4/pooh-webfont.eot');
    src: url('/fonts/j4/pooh-webfont.eot?#iefix') format('embedded-opentype'),
         url('/fonts/j4/pooh-webfont.woff') format('woff'),
         url('/fonts/j4/pooh-webfont.ttf') format('truetype'),
         url('/fonts/j4/pooh-webfont.svg#poohregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

html, body {
	height:100%;
}

body {
	background:#9d1a18;
        color:#fff;
}

#wrapper {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	min-height:100%;
        background: url(/img/bespoke/grimesdyke/wrapper.png) repeat-y center top;
}

/*  Header
    ======  */
#header {
	width: 950px;
	padding:0px 0 0 0;
	height: 270px;
        margin:0 auto;
	background: url(/img/bespoke/grimesdyke/header.png) no-repeat 0 0;
	position: relative;
}

	#header h1 {
		margin: 0 0 0 18px;
		line-height: 1.35em;
		font-size: 2.6em;
		color: #fff;
		text-shadow: 2px 2px 2px #444;
	}

	#header p {
		margin:5px 0 0 20px;
		font-size: 1.5em;
		color: #eee;

	}

	#header #search {
			position: absolute;
			top: 20px;
			right: 20px;
			height: 28px;
			padding: 7px 8px;
			background: #b80202;
			-webkit-border-bottom-left-radius: 8px;
			-webkit-border-radius-bottomleft: 8px;
			border-bottom-left-radius: 8px;
			-webkit-border-bottom-right-radius: 8px;
			-webkit-border-radius-bottomright: 8px;
			border-bottom-right-radius: 8px;
			-webkit-box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.1);
			-moz-box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.1);
			box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.1);
		}

        #header #search form {
            padding: 0;
            margin: 0;
        }

		#header #search input {
			-webkit-border-top-right-radius: 0;
			-webkit-border-radius-topright: 0;
			border-top-right-radius: 0;
			-webkit-border-bottom-right-radius: 0;
			-webkit-border-radius-bottomright: 0;
			border-bottom-right-radius: 0;
			-webkit-border-top-left-radius: 5px;
			-webkit-border-radius-topleft: 5px;
			border-top-left-radius: 5px;
			-webkit-border-bottom-left-radius: 5px;
			-webkit-border-radius-bottomleft: 5px;
			border-bottom-left-radius: 5px;
		}

		#header #search .btn {
			padding-left: 15px;
			padding-right: 15px;
			-webkit-border-top-left-radius: 0;
			-webkit-border-radius-topleft: 0;
			border-top-left-radius: 0;
			-webkit-border-bottom-left-radius: 0;
			-webkit-border-radius-bottomleft: 0;
			border-bottom-left-radius: 0;
			-webkit-border-top-right-radius: 5px;
			-webkit-border-radius-topright: 5px;
			border-top-right-radius: 5px;
			-webkit-border-bottom-right-radius: 5px;
			-webkit-border-radius-bottomright: 5px;
			border-bottom-right-radius: 5px;
            margin: 0;
            height: 28px;
		}

		
		#content a {
    color: #AFEEEE !important;
 
}
/*  Nav
    ===  */
#nav {
	float: left;
	width: 216px;
	padding: 10px 21px;
    position: relative;
    top: -10px;
}

	#nav ul {
		list-style: none;
		margin: 0;
	}

		#nav ul li {
			line-height: 42px;
			margin-bottom:5px;
			font-size:1.2em;
			color: #fff;
		}

			#nav ul li a {
				background: url(/img/bespoke/grimesdyke/m1.png) no-repeat;
				color: #a73939;
				*color: #a73939;
				display: block;
				position: relative;
				z-index: 2;
				height:42px;
				line-height: 15px;
                                text-indent:0px;
                                font-family:poohregular;
                                padding-top:8px;
                                text-align:center;
			}
                        
                        /*
                        #nav > ul > li > a {
                                filter: shadow(color=#000000,direction=135,strength=5);
                                -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(color=#000000,direction=135,strength=5)";
                                text-shadow: 0.1em 0.1em 0.05em #000000;
                        }          
                        */
				#nav ul li ul {
					padding: 2px 0;
					border-bottom-left-radius: 10px;
					border-bottom-right-radius: 10px;
					position: relative;
					top: -10px;
					padding-top: 18px;
					z-index: 1;
				}


					#nav ul li ul li {
						line-height: 2em;
						font-size: 14px;
						position: relative;
						margin: 0;
					}

						#nav ul li ul li a {
							background: none !important;
							color: #111 !important;
                                                        text-shadow:0em 0em 0em;
						}

						#nav ul li li li a { text-indent: 16px; background: url(/img/bespoke/grimesdyke/arrow.png) no-repeat 16px 8px !important; }
						#nav ul li li li li a { text-indent: 32px; background: url(/img/bespoke/grimesdyke/arrow.png) no-repeat 32px 8px !important; }
						#nav ul li li li li li a { text-indent: 48px; background: url(/img/bespoke/grimesdyke/arrow.png) no-repeat 48px 8px !important; }

							#nav ul li ul li ul {
								padding: 0;
								top: 0;
								margin: 0;
								border-radius: none;
							}


#contentwrapper {
    width:950px;
     margin:0 auto;
     padding-top:20px;
}

/*  Content
    =======  */
#content {
	float: left;
	width:690px;
}

/*  Footer
    ======  */
#footer {
	color: #ff;
	padding: 0px 0;
	font-size: 1.2em;
	text-align: center;
        background: url(/img/bespoke/grimesdyke/footer.png) no-repeat 0 0;
        width:950px;
        height:50px;
        padding-top:150px;
        margin: 0 auto;
}

	#footer a {
		color: inherit;
	}

/*  Text Styles
    ===========  */

#content .row {
	margin-left:-50px;
}

#content .span4 {
	margin-left: 50px;
}

#content .page-header {
	border-bottom: 1px solid #444;
	margin: 0;
    margin-bottom: 8px;
}

#content .page-header h2 {
	margin: 2px 0 0px;
	font-size: 2.1em;
	color: #333;
    padding-bottom: 10px;
}

#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
	color: #005e11;
	font-size: 1.5em;
}

#content h1 { font-size: 1.5em; margin: .5em 0; }
#content h2 { font-size: 1.4em; margin: .5em 0; }
#content h3 { font-size: 1.3em; margin: .5em 0; }
#content h4 { font-size: 1.2em; margin: .5em 0; }
#content h5 { font-size: 1.1em; margin: .5em 0; }
#content h6 { font-size: 1.0em; margin: .5em 0; }

#content, #content p, #content li, #content dt, #content dd, #content label {
	font-size: 15px;
	line-height: 21px;
	color:white;
}

#content dd {
	margin: 0 0 9px 0;
}

#content #calendar .fc-content {
        color:#111;
}

/*  Events
    ======  */
dl.events {
	padding-left: 60px;
}

	dl.events dt {
		position: relative;
	}

		dl.events dt small {
			position: absolute;
			left: -60px;
			top: 4px;
			width: 48px;
			height: 48px;
			background: #fff;
			box-shadow: 0 0 5px #bbb;
			border: 1px solid #ccc\9;      /* IE8 and below */
		}

			dl.events dt small .day {
				position: absolute;
				top: 18px;
				height: 30px;
				line-height: 30px;
				text-align: center;
				left: 0;
				width: 48px;
				background: #f4f4f4;
				font-weight: bold;
				font-size: 23px;
				color: #444;
			}

			dl.events dt small .month {
				color: #fff;
				background: #b00;
				position: absolute;
				top: 0;
				left: 0;
				line-height: 18px;
				height: 18px;
				width: 48px;
				text-align: center;
				font-weight: bold;
			}

			dl.events dt small .year {
				display: none;
			}

/* Mobile theme
   ============ */

@media (min-width: 768px) {
	#nav ul {
		display: block !important;
	}
}

@media (max-width: 767px) {
	#wrapper {
		width: auto;
	}

	#header {
		width: 100%;
		padding: 0;
		padding-top: 205px;
		height: auto;
                background: url(/img/bespoke/grimesdyke/header-m.png) no-repeat 0 0;
	}

	#header #search {
		right: 10px;
	}

	#nav:before {
		content: 'Menu';
		font-size: 20px;
		font-weight: normal;
		height: 31px;
		line-height: 31px;

	}

	#nav {
		float: none;
		width: auto;
		margin: 10px;
		background: #ffffff url(/img/bespoke/grimesdyke/show_menu.png) no-repeat right 23px;
		border-radius: 10px;
		margin-bottom: 0;
		padding:10px;
		cursor: pointer;
        top: 0;
		-webkit-transform: translate3d(0, 0, 0);   /* Smoother animations on mobile */
	}

	#nav > ul {
		display: none;
		padding:10px;
		padding-top:0;
		margin: 0;
		margin-left:-10px;
		margin-right:-10px;
		margin-bottom:-10px;
		margin-top:10px;
	}

	#nav ul {
		width: auto;
		border-radius: 0 !important;
		clear:both;
	}

	#nav ul li {
		margin: 0;
		line-height: 31px;
		width: auto;
		padding: 0;
	}

	#nav ul li a {
		width: auto;
		line-height: 31px;
		height: 31px;
		padding: 0;
		background: none;
		color: #000 !important;
		font-size: 16px !important;
                text-align:left;
	}

	#nav ul li ul {
		padding: 0;
		top: 0;
		background:#EBF9D2;
	}

	#nav ul li.item1 a,#nav ul li.item2 a,#nav ul li.item3 a,#nav ul li.item4 a,#nav ul li.item5 a,
	#nav ul li.item6 a,#nav ul li.item7 a,#nav ul li.item8 a,#nav ul li.item9 a,#nav ul li.item10 a,
	#nav ul li.item11 a,#nav ul li.item12 a,#nav ul li.item13 a,#nav ul li.item14 a,#nav ul li.item15 a,
	#nav ul li.item16 a,#nav ul li.item17 a,#nav ul li.item18 a,#nav ul li.item19 a,#nav ul li.item20 a,
	#nav ul li.item21 a,#nav ul li.item22 a,#nav ul li.item23 a,#nav ul li.item24 a,#nav ul li.item25 a,
	#nav ul li.item26 a,#nav ul li.item27 a,#nav ul li.item28 a,#nav ul li.item29 a,#nav ul li.item30 a {
		background: none;
	}

	#nav ul li ul li a { text-indent: 16px; background: url(/img/bespoke/grimesdyke/arrow.png) no-repeat 0px 8px !important; }
	#nav ul li li li a { text-indent: 32px; background: url(/img/bespoke/grimesdyke/arrow.png) no-repeat 16px 8px !important; }
	#nav ul li li li li a { text-indent: 48px; background: url(/img/bespoke/grimesdyke/arrow.png) no-repeat 32px 8px !important; }
	#nav ul li li li li li a { text-indent: 64px; background: url(/img/bespoke/grimesdyke/arrow.png) no-repeat 48px 8px !important; }

        #nav:before {
            color:#9d1a18;
        }

	#contentwrapper {
		width: auto;
		padding: 10px;
		margin: 10px;
        min-height: 0;
        background:none;
	}

	#content {
		width: auto;
		padding: 10px;
		margin: 10px;
                min-height: 0;
                -webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	}

	#footer {
		width: 100%;
                padding-top:152px;
                background: url(/img/bespoke/grimesdyke/footer-m.png) no-repeat 0 0;
	}

	.span4 {
		width: auto;
	}

}

.bs3-has-error .bs3-help-block,
.bs3-has-error .bs3-control-label,
.bs3-has-error .bs3-radio,
.bs3-has-error .bs3-checkbox,
.bs3-has-error .bs3-radio-inline,
.bs3-has-error .bs3-checkbox-inline {
    color: #a94442 !important;
}

.bs3-alert-danger p {
    color: #a94442 !important;
}

.bs3-popover-content,
.element-calendar{
    color: #222222;   
}


.sj-table-background-light {
    background-color: transparent;
}

.theme-green .bs3-table>thead>tr>th{
	background:none;
	border:initial;
    color:inherit;
}
