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

}

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

}

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

}

html, body {
	height:100%;
	background: url(/img/bespoke/stpeterscofepri/bg.png) #95c8f7 repeat-x center top;
}


#wrapper {
	background: url(/img/bespoke/stpeterscofepri/bg-image.png) no-repeat center top;
	min-height:100%;
	margin-bottom: -65px;
	position:table;
	width: 100%;
}

#wrapper:before { /* Opera and IE8 "redraw" bug fix */
	content:"";
	float:left;
	height:100%;
	margin-top:-999em;
}

#header {
	position: relative;
	z-index: 3;
	width: 980px;
	margin: 0 auto;
	height: 240px;
	background: url(/img/bespoke/stpeterscofepri/header.png) no-repeat center top;
}

	#header h1 {
		color: #164086;
		font-size: 3.0em;
		position: relative;
		top: 30px;
		margin-bottom: 16px;
		padding-left:10px;
	}

	#header p {
		color: #164086;
		font-size: 1.8em;
		position: relative;
		top: 35px;
		padding-left: 10px;
	}

	#header #search {
		position: absolute;
		bottom: 10px;
		right: 0;
		height: 28px;
		padding: 7px 8px;
                /*
		background: #ff3399;
		line-height: 28px;
		-webkit-border-top-left-radius: 8px;
		-webkit-border-radius-topleft: 8px;
		border-top-left-radius: 8px;
		-webkit-border-top-right-radius: 8px;
		-webkit-border-radius-topright: 8px;
		border-top-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;
		}
                
#filling {
	position: fixed;
	top: 0;
	width: 960px;
	left: 50%;
	margin-left: -480px;
	bottom: 0;
	background: #edecd1;
	z-index: 2;
}

#ribbon {
	position: absolute;
	top: 200px;
	width: 1040px;
	height: 96px;
	left: 50%;
	margin-left: -520px;
	background: url(/img/bespoke/stpeterscofepri/ribbon.png) no-repeat;
	z-index: 1;
}

/*  Nav
    ===  */
#nav {
	position: relative;
	width: 960px;
	margin: 0 auto;
	height: 29px;
	z-index: 3;

}

	#nav ul {
		margin: 0;
		list-style: none;
		height: 29px;
		position: relative;
		z-index: 4;
	}

		#nav ul li {
			position: relative;
			float: left;
			height: 100%;
			line-height: 58px;
			display: block;
			color: #111111;
			font-size: 15px;
			text-shadow: 1px 1px 0 #eee;
			font-weight: bold;
			background: url(/img/bespoke/stpeterscofepri/seperator.png) right repeat-y;
			z-index: 4;
		}

		#nav ul li:last-child {
		}

			#nav ul li a {
				text-decoration: none;
				color: inherit;
				*color: #111;
				display: block;
				padding: 0 22px;
				z-index: 4;
				position: relative;
			}
                        
                        #nav > ul > li {
                                background: url(/img/bespoke/stpeterscofepri/menu-right.png) no-repeat right top;
                        }

                        #nav > ul > li > a {
                                background: url(/img/bespoke/stpeterscofepri/menu-left.png) no-repeat left top;
                                color:#111111;
                                height: 30px;
                                line-height:30px;
                        }

				#nav ul.dropdown ul {
					position:absolute;
					width: 175px;
					display: none;
					height: auto;
					margin:0;
					background-image: none;
					background-color: #f5cb1c;
					border: 1px solid #eea30e;
					margin-top: -1px;
				}

					#nav ul.dropdown ul li {
						display: block;
						float: none;
						margin: 0;
						border: none;
						background-image: none;

					}


#nav ul.dropdown ul ul {
	left: 100%;
	top: 0;
}

#nav ul.dropdown ul ul.left, #nav ul.dropdown ul ul.left ul {
	left: -100%;
}

#nav ul.dropdown li {
	display: inline-block;
	line-height:56px;
	position: relative;
}

#nav ul.dropdown li.more {
	padding-right: 36px;
}

#nav ul.dropdown li.more span {
	display: block;
	padding-top: 46px;
	height: 0;
	width: 56px;
	position: absolute;
	right: 0;
	top: 0;
	overflow: hidden;
	cursor: pointer;
	background: url(/img/bespoke/stpeterscofepri/dropdown.png) no-repeat 15px -13px;
}

#nav ul.dropdown li li.more span {
	background-position: 15px -66px;
}

#nav ul.dropdown li li {
	clear: both;
	display: block;
	line-height: 40px;
}

#nav ul.dropdown li a {
	display:block;
	padding: 0 10px;

}

#nav ul.dropdown li li a {
	font-weight: normal;

}




p small {
	color: #000000;
}

											@media (max-width: 767px) {
												#nav ul.dropdown, #nav ul.dropdown ul {
													width:100%;
													position: relative;
												}

												#nav ul.dropdown li {
													width: 100%;
													padding-right: 0 !important;
													position: relative;

												}

												#nav ul.dropdown ul {
													left: 0 !important;
													text-indent: 14px;
												}

												#nav ul.dropdown ul { text-indent:20px; }
												#nav ul.dropdown ul ul { text-indent:40px; }
												#nav ul.dropdown ul ul ul { text-indent:60px; }
												#nav ul.dropdown ul ul ul ul { text-indent:80px; }

												#nav ul.dropdown ul li.more span {
													background-position: 4px -64px !important;
													width:45px;
													padding-top: 40px;
													z-index: 5;
													border-left: 1px solid #EEA30E;
												}

												#nav ul.dropdown ul li.down > span {
													background-position: 4px -8px !important;
												}

												#nav .extra {
													cursor: pointer;
												}

												#nav .extra > a {
													display:none !important;
												}

												#nav .extra:before {
													content: 'Menu';
													padding-left:10px;
												}
											}


#home-slideshow {
        background: url(/img/bespoke/stpeterscofepri/home-slideshow.png) no-repeat;
        width:980px;
        height:278px;
        margin: 0 auto;
}
                                                                                        
#content {
	margin: 0 auto;
	width:930px;
	padding: 15px;
	padding-bottom:90px;
	position: relative;
	z-index: 2;
        background:#fff;
}

.page-home #content {
        background: none;
}

.page-home #column-3blocks {
        float: left;
        margin-bottom: 2em;
        margin-right: 0px;
        padding: 0;
}


.home-news {
        width:300px;
        height:auto;
        
        margin-bottom:2em;
        float:left;
        margin-right:15px;
}

.home-news-top {
        height:71px;
        margin:0 auto;
        width:300px;
        background: url(/img/bespoke/stpeterscofepri/home-news-top.png) no-repeat top center;
}

.home-news-content {
        min-height:158px;
        height:auto;
        margin:0px;
        padding:0 5px;
        background: url(/img/bespoke/stpeterscofepri/home-news-tile.png) repeat-y top center;
        width:290px;
}

.home-news-bot {
        width:300px;
        height:104px;
        margin:0 auto;
        background: url(/img/bespoke/stpeterscofepri/home-news-bot.png) no-repeat top center;
}

.home-events {
        width:300px;
        height:auto;
        margin-bottom:2em;
        float:left;
        margin-right:15px;
}

.home-events-top {
        height:71px;
        margin:0 auto;
        width:300px;
        background: url(/img/bespoke/stpeterscofepri/home-events-top.png) no-repeat top center;
}

.home-events-content {
        min-height:158px;
        height:auto;
        margin:0px;
        padding:0 5px;
        width:290px;
        background: url(/img/bespoke/stpeterscofepri/home-news-tile.png) repeat-y top center;
}

.home-events-bot {
        width:300px;
        height:104px;
        margin:0 auto;
        background: url(/img/bespoke/stpeterscofepri/home-news-bot.png) no-repeat top center;
}

.home-gallery {
        width:300px;
        height:auto;
        margin-bottom:2em;
        float:left;
}

.home-gallery-top {
        height:71px;
        margin:0 auto;
        width:300px;
        background: url(/img/bespoke/stpeterscofepri/home-gallery-top.png) no-repeat top center;
}

.home-gallery-content {
        min-height:158px;
        height:auto;
        margin:0px;
        padding:0 5px;
        width:290px;
        background: url(/img/bespoke/stpeterscofepri/home-news-tile.png) repeat-y top center;
}

.home-gallery-bot {
        width:300px;
        height:104px;
        margin:0 auto;
        background: url(/img/bespoke/stpeterscofepri/home-news-bot.png) no-repeat top center;
}


#footer {
	background: url(/img/bespoke/stpeterscofepri/footer.png) repeat-x top center;
	padding: 40px 10px;
	min-height: 30px;
	font-size: 1.2em;
	text-align: center;
	color: #eee;
	position:relative;
	z-index: 2;
	min-width: 940px;
}

#footer a {
	color: inherit;
}

@media (max-width: 767px) {
	#filling {
		display: none;
	}

	#wrapper, #header, #content, #nav, #footer {
		width: auto;
	}

	#wrapper {
		margin: 10px;
		background-image: none;
		min-height:0;
	}

	#header {
		background-size: 100% auto;
                height: 200px;
	}

	#header h1 {
		top: 0;
		line-height:1.2em;
		font-size: 2.7em;
	}

	#header p {
		top: 0;
	}

        #home-slideshow {
                width: auto;
                background-size: 100%;
                height:200px;
        }
        
	#content {
		background: #edecd1;
		min-height: 280px;
	}

        #content .column {
                width:auto;
        }
        
	#footer {
		min-width: 0;
	}

	#nav {
		height: auto;
	}

	#nav ul.dropdown {
		display:block;
		width: auto;
		float: none;
		height: auto;
		position: relative;
	}

        #nav > ul > li {
                background: #F5CB1C;
        }
        
	#nav ul.dropdown ul {
		position: relative;
		width: auto;
		display: none;
		margin: 0;
		border-top:0;
	}
        
        #nav ul.dropdown li.more span {
                background-position: 15px 0px;
        }

	#nav ul.dropdown ul ul {
		border: none;
	}

	#nav ul.dropdown li {
		display:block;
		width: auto;
		float: none;
		height: auto;
		margin:0;
	}

	#nav ul.dropdown ul li {
		border-top: 1px solid #EEA30E;
	}
}



