html, body {
	height:100%;
}

body {
	background: #2458aa;
}

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

/*  Header
    ======  */
#header {
	width: 995px;
	height: 215px;
	background: url(/img/bespoke/normantoncommon/header.png) no-repeat top center;
	position: relative;
}

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

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

	}

	#header #search {
			bottom: 0;
                        height: 28px;
                        padding: 7px 8px;
                        position: absolute;
                        right: 100px;
                        /*
			background: #006738;
			-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;
		}

/*  Nav
    ===  */
#nav {
	float: left;
        padding: 10px 10px 10px 26px;
        position: relative;
        width: 175px;
}

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

		#nav ul li {
			line-height: 31px;
			margin-bottom: 5px;
			font-size:1.2em;
			color: #111;
                        position:relative;
                        background: url(/img/bespoke/normantoncommon/m1.png) no-repeat;
                        z-index:555;
		}
                
                #nav ul li.item2,
		#nav ul li.item21,
		#nav ul li.item38 {
			background: url(/img/bespoke/normantoncommon/m2.png) no-repeat;
		}

		#nav ul li.item3,
		#nav ul li.item22,
		#nav ul li.item39{
			background: url(/img/bespoke/normantoncommon/m3.png) no-repeat;
		}

		#nav ul li.item4,
		#nav ul li.item23,
		#nav ul li.item40 {
			background: url(/img/bespoke/normantoncommon/m8.png) no-repeat;
		}
                
                #nav ul li.item5,
		#nav ul li.item24,
		#nav ul li.item41 {
			background: url(/img/bespoke/normantoncommon/m5.png) no-repeat;
		}
                
                #nav ul li.item6,
		#nav ul li.item25,
		#nav ul li.item42 {
			background: url(/img/bespoke/normantoncommon/m6.png) no-repeat;
		}
                
                #nav ul li.item7,
		#nav ul li.item26,
		#nav ul li.item43 {
			background: url(/img/bespoke/normantoncommon/m7.png) no-repeat;
		}
                
                #nav ul li.item8,
		#nav ul li.item27,
		#nav ul li.item44 {
			background: url(/img/bespoke/normantoncommon/m4.png) no-repeat;
		}
                
                #nav ul li.item9,
		#nav ul li.item28,
		#nav ul li.item45 {
			background: url(/img/bespoke/normantoncommon/m9.png) no-repeat;
		}
                
                #nav ul li.item10,
		#nav ul li.item29,
		#nav ul li.item46 {
			background: url(/img/bespoke/normantoncommon/m10.png) no-repeat;
		}
                
                #nav ul li.item11,
		#nav ul li.item30,
		#nav ul li.item47 {
			background: url(/img/bespoke/normantoncommon/m11.png) no-repeat;
		}
                
                #nav ul li.item12,
		#nav ul li.item31,
		#nav ul li.item48 {
			background: url(/img/bespoke/normantoncommon/m12.png) no-repeat;
		}
                
                #nav ul li.item13,
		#nav ul li.item32,
		#nav ul li.item49 {
			background: url(/img/bespoke/normantoncommon/m13.png) no-repeat;
		}
                
                #nav ul li.item14,
		#nav ul li.item33,
		#nav ul li.item50 {
			background: url(/img/bespoke/normantoncommon/m14.png) no-repeat;
		}
                
                #nav ul li.item15,
		#nav ul li.item34,
		#nav ul li.item51 {
			background: url(/img/bespoke/normantoncommon/m15.png) no-repeat;
		}
        #nav ul li.item15 a {
        	font-size: 0px;
		}


                #nav ul li.item16,
		#nav ul li.item35,
		#nav ul li.item52 {
			background: url(/img/bespoke/normantoncommon/m16.png) no-repeat;
		}
                
                #nav ul li.item17,
		#nav ul li.item37,
		#nav ul li.item53 {
			background: url(/img/bespoke/normantoncommon/m17.png) no-repeat;
		}
                
                #nav ul li.item18,
		#nav ul li.item38,
		#nav ul li.item54 {
			background: url(/img/bespoke/normantoncommon/m18.png) no-repeat;
		}
		
		    #nav ul li.item19,
		#nav ul li.item38,
		#nav ul li.item54 {
			background: url(/img/bespoke/normantoncommon/m19.png) no-repeat;
		}
                


			#nav ul li a {
				color: inherit;
				*color: #111;
				display: block;
				padding-left: 16px;
				position: relative;
				z-index: 2;
				min-height:31px;
				line-height: 31px;
                                font-family: comic sans ms, arial;
			}
                        
                        #nav > ul > li > a {
                                font-size: 15px;
                                font-weight: bold;
                                height: 43px;
                                line-height: 43px;
                                padding-right: 8px;
                                text-align: right;
                                
                                text-shadow: 1px 1px 1px #fff,
                                             1px -1px 1px #fff,
                                             -1px 1px 1px #fff,
                                             -1px -1px 1px #fff,
                                             2px 2px 1px #fff,
                                             2px -2px 1px #fff,
                                             -2px 2px 1px #fff,
                                             -2px -2px 1px #fff;
                                
                               
                                /*
                                filter:glow(color=#ffffff,strength=5),
                                       DropShadow(Color=#000000, OffX=1, OffY=1),
                                       progid:DXImageTransform.Microsoft.Shadow(Strength=5, Direction=135, Color='#ffffff'),
                                       progid:DXImageTransform.Microsoft.Blur(pixelradius=1);
                                
                                
                                filter: DropShadow(Color=#ffffff, OffX=1, OffY=1),
                                        DropShadow(Color=#ffffff, OffX=-1, OffY=1),
                                        DropShadow(Color=#ffffff, OffX=1, OffY=-1),
                                        DropShadow(Color=#ffffff, OffX=-1, OffY=-1);
                                */
                        }

				#nav ul li ul {
					background: #fff;
					padding: 12px 0;
					border-radius: 10px;
                                        -moz-border-radius: 10px;
                                        -webkit-border-radius: 10px;
					
					z-index: 1;
				}
                                
                                #nav ul li ul {
                                        width: 175px;
                                        left:174px;
                                        top:0;
                                        position: absolute;
                                        display:none;
                                        
                                        border-top: 1px solid #f4f4f4;
                                        border-left: 1px solid #f4f4f4;
                                        border-right: 1px solid #909090;
                                        border-bottom: 1px solid #909090;
                                }

					#nav ul li ul li {
						line-height: 2em;
						font-size: 14px;
						position: relative;
						margin: 0;
                                                background: none !important;
                                                
                                                border-bottom:1px solid #d1d3ff;
					}
                                        
                                        #nav ul li ul li.last {
                                                border-bottom: none;
                                        }

						#nav ul li ul li a {
							background: none;
							color: #111 !important;
						}
                                                
                                                #nav ul ul li a:hover {
                                                        background-color:#eee;
                                                }
                                                /*
						#nav ul li li li a { text-indent: 16px; background: url(/img/bespoke/normantoncommon/arrow.png) no-repeat 16px 8px !important; }
						#nav ul li li li li a { text-indent: 32px; background: url(/img/bespoke/normantoncommon/arrow.png) no-repeat 32px 8px !important; }
						#nav ul li li li li li a { text-indent: 48px; background: url(/img/bespoke/normantoncommon/arrow.png) no-repeat 48px 8px !important; }
                                                */
							#nav ul li ul li ul {
								/*padding: 0;*/
								top: -10px;
								margin: 0;
								border-radius: none;
                                                                left:173px;
							}


/*  Content
    =======  */
#content {
	float: left;
	width:690px;
	padding: 25px 15px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
        min-height:300px;
        
        font-family: comic sans ms, arial;
}

/*  Footer
    ======  */
#footer {
	background: url("/img/bespoke/normantoncommon/footer.png") repeat-y scroll center top #E9F5FC;
        color: #fff;
        font-size: 1.2em;
        padding: 18px 20px 10px;
        text-align: center;
}

	#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: #111;
	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;
}

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

/*  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;
	}
}

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

	#header {
		background-size: 104% auto;
                width: 100%;
                background-position: center top;
                height:192px;
	}

	#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: #BFE0F0 url(/img/bespoke/normantoncommon/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;
                background:none !important;
	}

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

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

        #nav ul li ul {
                width: auto;
                left:0;
                
                position: relative;
                display:block !important;

                border:none;
        }
        
        #nav ul li ul li {
                border-bottom:none;
        }
        
        #nav ul li ul li ul {
                left:0;
                top:0;
        }
        
	#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/normantoncommon/arrow.png) no-repeat 0px 8px !important; }
	#nav ul li li li a { text-indent: 32px; background: url(/img/bespoke/normantoncommon/arrow.png) no-repeat 16px 8px !important; }
	#nav ul li li li li a { text-indent: 48px; background: url(/img/bespoke/normantoncommon/arrow.png) no-repeat 32px 8px !important; }
	#nav ul li li li li li a { text-indent: 64px; background: url(/img/bespoke/normantoncommon/arrow.png) no-repeat 48px 8px !important; }


	#content {
		width: 100%;
		padding: 0px;
		margin: 0px;
        min-height: 200px;
	}

        #content .column {
                width: auto;
        }
		
		#content .element {
                padding: 0 10px;
        }
        
        #content .element-slideshow .slideshow img {
                width:100% !important;
                height:auto !important;
        }
        
        #content .element-slideshow .slideshow {
                width:100% !important;
        }

        #content .element-image img {
                width:100% !important;
                height:auto;
        }
        
	#footer {
		background-position: center top;
                background-size: 104% auto;
                width: 100%;
                padding-left:0;
                padding-right:0;
	}

	.span4 {
		width: auto;
	}

}

@media (max-width: 480px) {
        #header {
                height:142px;
        }
}