html, body {
	height:100%;
}

body {
	background: url(/img/bespoke/stjohnscatholicps/bg.png) #a7c7db repeat-x fixed;
        color:#03426d;
}

#wrapper {
	width: 972px;
	margin-left: auto;
	margin-right: auto;
        padding-top:10px;
	background: #e7eaf1;
	min-height: 100%;
	box-shadow: 0 0 16px #444;
}

#header {
	width: 950px;
	height: 124px;
        margin:0 auto;
	padding-top: 10px;
	background: url(/img/bespoke/stjohnscatholicps/header.png) no-repeat;
	position: relative;
}

#header h1 {
	margin: 0 20px 0 0;
	font-size: 2.7em;
	color: #fff;
	text-align: right;
	text-shadow: 2px 2px 2px #444;
}

#header p {
	font-size: 1.8em;
	color: #fff;
	text-align: right;
	margin-right: 20px;
	line-height: 56px;
	text-shadow: 1px 1px 1px #444;
	font-style: italic;
}

#header #search {
		position: absolute;
		top: 476px;
		right: 10px;
		height: 28px;
		padding: 3px 5px;
		background: #333;
		line-height: 28px;
		-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;
		}

#search {
position: absolute;
top: 4px;
right: 40px;
height: 28px;
padding: 0px 5px;
line-height: 28px;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;

}

table td {
padding:0;
}

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

#search input {
border-radius:0px;
}

#search input.site-search {
font-size: 12px;
height: 18px;
padding: 0 5px;
width: 130px;
}

#search .btn {
padding:0;
border-radius:0px;
margin:0;
height: 23px;
width:30px;
border:none;
text-indent: -9999px;
box-shadow:none;
background: url(/img/bespoke/YourThemeName/search-icon.png) no-repeat top center;
filter:none !important; 
}



#nav {
	float: left;
	width: 182px;
	padding: 10px 9px;
	position: relative;
}

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

#nav ul li {

	line-height: 21px;
	margin-bottom: 2px;
	font-size:1.1em;
	color: #111;
        background:#03426d;
        min-height:35px;
        height:auto !important;
        height:35px;
}

#nav ul li a {
	background:#03426d;;
	color: #fff;
	display: block;
	padding-left: 16px;
	position: relative;
	z-index: 2;
	height:21px;
	line-height:21px;
	*color:#fff;
        font-family:arial;
}

#nav ul li ul {
	background: #fff;
	padding:0;
	position: relative;
	z-index: 1;
}

	#nav ul li ul li {
		line-height: 2em;
		font-size: 14px;
		position: relative;
		margin: 0;
                background:#fff;
                border-bottom:1px solid #688ea7;
	}

		#nav ul li ul li a {
			background: none !important;
			color: #005893 !important;
                        text-indent:15px !important;
		}

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

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

#content {
	float: left;
	width:760px;
	padding: 0 5px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

.has-side-menu .column-1col {
    width:760px;
    margin-top: 63px;
}

table th, table td {
padding:0;
}

#content h1, h2, h3, h4, h5, h6 {
        color:#03426d;
}

#footer {
	color: #333;
	padding: 20px 0;
	font-size: 1.2em;
	text-align: center;
	padding-left: 220px;
}

#footer a {
	color: inherit;
}

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

@media (max-width: 767px) {
	#wrapper, #header, #nav, #footer, #title, #content {
		width: auto;
		margin: 10px;
	}

	#wrapper, #header, #title {
		margin-top :0;
	}

	#wrapper {
		background: #b5e1c8;
		margin: 0;
	}

	#header {
		padding-top: 60px;
		height: auto;
		margin: 0;
		padding-bottom: 1px;
		max-height:183px;
		overflow: hidden;
	}

	#header h1 {
		line-height:42px;
	}

	#title {
		margin:0;
		padding: 0 10px;
	}

	#title h2 {
		padding: 0;
	}

	#content {
		background: #fff;
		float: none;
	}

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

	}

	#nav {
		top: 0;
		float: none;
		width: auto;
		margin: 10px;
		background: #fff;
		border-radius: 10px;
		margin-bottom: 0;
		padding:10px;
		cursor: pointer;
		margin-top:0;
		-webkit-transform: translate3d(0, 0, 0);   /* Smoother animations on mobile */
	}

	#nav > ul {
		display: none;
		padding:0px;
		padding-top:0;
		margin: 0;
		margin-left:-10px;
		margin-right:-10px;
		margin-bottom:-10px;
		margin-top:10px;
		padding-left: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;
	}

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

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


	#footer {
		padding-left: 0;
		padding-top:10px;
	}
}

#slideshow1 {
    width:758px;
    height:330px;
    display:none;
}

.page-home #slideshow1 {
    display:block;
}