
body {
	height:100%;
	background:#ffffff;
		background: url(/img/bespoke/parkhilljunior/background-top.png) repeat-x top center;
}


#wrapper {
	
	min-height:auto;
	margin-bottom: 0px;
	position: table;
	width: 100%;
}

#wrapper:before { 
	content:"";
	float:left;
	height:100%;
	margin-top:-999em;
}

#inner-wrapper {
	position: relative;
	z-index: 1;
	width: 963px;
	margin: 0 auto;
	border:1px solid lightgray;
}
#header {
	position: relative;
	z-index: 1;
	width: 963px;
	margin: 0 auto;
	height: 467px;
	background: url(/img/bespoke/parkhilljunior/header.png) no-repeat bottom center;
}

.page-Curriculum #header{
	background: url(/img/bespoke/parkhilljunior/header2.png) no-repeat bottom center;
}

.page-Key.Information #header{
	background: url(/img/bespoke/parkhilljunior/header3.png) no-repeat bottom center;
}

.Association #header{
	background: url(/img/bespoke/parkhilljunior/header4.png) no-repeat bottom center;
}

.page-Celebrating.Achievements #header{
	background: url(/img/bespoke/parkhilljunior/header5.png) no-repeat bottom center;
}

.page-Links #header{
	background: url(/img/bespoke/parkhilljunior/header7.png) no-repeat bottom center;
}
.page-Contact.Us #header{
	background: url(/img/bespoke/parkhilljunior/header6.png) no-repeat bottom center;
}

#nav {
	position: relative;
	width: 963px;
	margin: -1px auto 0;
	height: 46px;
	z-index: 3;
	
        text-align:center;
}


#nav-top {
        position: absolute;
       
        width: 960px;
        height: 20px;
			color: #ffffff;
        top:-5px;
		
}

	#nav ul {
		margin: 0;
		list-style: none;
		height: 46px;
		position: relative;
			color: #ffffff;
		z-index: 4;
                padding: 0 0px;
				width:auto;
            display: inline-block;    
	}

		#nav ul li {
			position: relative;
			float: left;
			height: 100%;
			line-height: 58px;
			display: block;
			color: #ffffff;
			font-size: 17px;
			border-right:1px solid #fab75f;
			font-weight: bold;
			background: #f8991c;
			z-index: 4;
		}

          #nav ul li:hover, #nav ul li.current-item{
          background:#198be3;
          }
           
                
	

			#nav ul li a {
				text-decoration: none;
				color: #ffffff;
				width:auto;
				display: block;
				padding: 0 17px;
				z-index: 4;
				position: relative;
			
			}

				#nav ul.dropdown ul {
					position:absolute;
					width: 175px;
					display: none;
					height: auto;
					margin:0;
					background: #198be3;
					margin-top: -1px;
					padding:0;
				}

					#nav ul.dropdown ul li {
						display: block;
						float: none;
						margin: 0;
						border: none;
						background: #198be3;
						border-top: 1px solid #ffffff;
						border-left: 1px solid #ffffff;
						text-align:center;
					}


#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:46px;
	position: relative;
}

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

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

#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 11px 0px 12px;
	

}



#nav ul.dropdown li li a {

	font-size:15px;
		line-height:25px;
				font-weight:bold;

}









											@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;
												}
											}
											
												
#nav-mobile {
	position: relative;
	width: auto;
	margin: 0 auto;
	height: 69px;
	z-index: 3;
        display:none;
        background:blue;
        -moz-border-radius:10px;
        -webkit-border-radius:10px;
        border-radius:10px;
        border: solid 1px #fff;
}

#nav-mobile #nav-more{
        font-size: 18px;
        color: #ffffff;
        width:auto;
        height:50px;
        padding:0 20px;
        line-height:50px;
        text-align:left;
        cursor:pointer;
    
        background: url(/img/bespoke/wykehamprimary/dropdown-white.png) no-repeat top right;
}

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

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

                        
		}

		#nav-mobile ul li:last-child {
			background: none;
		}

			#nav-mobile ul li a {
				text-decoration: none;
color:#ffffff !important;
				display: block;
				padding: 0 22px;
				z-index: 4;
				position: relative;
			}
                        
                        #nav-mobile > ul > li.current-item > a {
                                background: url(/img/bespoke/wykehamprimary/menu-hover3.png) no-repeat center center;
                        }
                        
                        #nav-mobile > ul > li > a {
                                height: 60px;
                        }

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

                                #nav-mobile ul.dropdown li.extra.more ul {
                                        margin-left:-90px;
                                }
                                
					#nav-mobile ul.dropdown ul li {
						display: block;
						float: none;
						margin: 0;
						border: none;
						background-image: none;

					}


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

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

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

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

#nav-mobile 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/wykehamprimary/dropdown-white.png) no-repeat 15px 0;
}

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

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

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

}

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

}

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

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

												}

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

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

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

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

												#nav-mobile .extra {
													cursor: pointer;
												}

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

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


.page-home #content {
	width: 930px;

}
.page-home #links {
	display: none;
}

#content {
	margin: 0 auto;
	width:690px;
	padding: 18px 16px 90px;
	position: relative;
	z-index: 2;
    
    min-height: 600px;
    float: left;
}
.page-home .column-1col{
width:930px;
padding-left:5px;

}

#links{
float: right;
width:219px;
height:530px;
border:1px solid lightgray;
padding-top: 10px;
padding-left: 9px;
margin-right: 10px;
margin-top: 10px;
}
#link1{
display:inline-block;
width:200px;
height:162px;
padding:5px;
 background: url(/img/bespoke/parkhilljunior/block1.png)  no-repeat top center;
}
#link2{
display:inline-block;
width:200px;
height:162px;;
padding:5px;
 background: url(/img/bespoke/parkhilljunior/block2.png)  no-repeat top center;
}
#link3{
display:inline-block;
width:200px;
height:162px;
padding:5px;
 background: url(/img/bespoke/parkhilljunior/block3.png)  no-repeat top center;
}


#footer {

	height: auto;
	font-size: 13px;
	text-align: center;
	font-weight:bold;
	color:  white;
	position:relative;
	z-index: 2;
	min-width: auto;
	padding-top:20px;
	  background:#198be3;
}

#footer small {
        font-size:12px;
}

#footer a {
	color: inherit;
}


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


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

	.page-home #content {
		width: auto;
	}

	.js-marquee-wrapper{
        width:100% !important;
     
        margin-left:0px !important;
        }

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

	#header {
		height: 310px;
		padding-bottom: 0;
                background-position: bottom center;
				background-size:100% !important;
				
	}

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

	#header p {
		top: 0;
	}

        #header #search {
                right:10px;
        }
        
	#content {
		background: #fff;
		min-height: 280px;
		padding:0px;
		margin:0px;
	}
	.element{
	padding:10px;
	margin:10p;x
	}

	#footer {
                min-width: 0;
           
                height: auto;
	}

   	#nav{
	display:none;
	}
     #nav-mobile {
	
                display:block;
        }
        
	#nav-mobile {
		height: auto;
                margin:10px;
	}

	#nav-mobile > ul {
		display:none;
		width: auto;
		float: none;
		height: auto;
		position: relative;
                padding:0;
                
	}

	#nav-mobile ul ul {
		position: relative;
		width: auto;
		margin: 0 !important;
		border-top:0;
	}

	#nav-mobile ul ul ul {
		border: none;
                
	}

	#nav-mobile ul li {
		display:block;
		width: auto;
		float: none;
		height: auto;
		margin:0;
                background:none;
	}

	#nav-mobile > ul > li {
                border-bottom: solid 1px #fff
	}
        
        #nav-mobile ul ul li {
                text-indent:20px;
                color:#FEDD7A;
        }
        
        #nav-mobile ul ul ul li {
                text-indent:40px;
        }
        
        #nav-mobile ul ul ul ul li {
                text-indent:60px;
        }
		
			#content  {
		padding-bottom:0px;
                width:auto;
	}

          #content .column {
                width: auto;
        }
        
        #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;
        }
        
        #content img {
                height: auto;
                width: 100% !important;
        }
        
        #content .element object {
                width: auto !important;
        }
        
        #content .element object embed {
                width: 320px !important;
        }
        #content table{
        width:100% !important}
       #content td{
        width:auto !important}
        #content tr{
        width:auto !important}
        
        #links{
        height:auto;
        width:auto;
        }
        #link1, #link2, #link3{
        width:auto;
        display:block;
        background-size:100%;}
}


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



@media (max-width: 320px) {
        #header {
                height: 80px;
        }
}


.footer-details {
    width: 71%;
    float: left;
    vertical-align: top;
    padding-bottom: 10px;
}

.ceop {
    width: 26%;
    float: right;
    vertical-align: top;
    text-align: left;
}

.copyright-details {
    width: 100%;
    display: block;
    clear: both;
}

.footer-inner {
    width: 860px;
    max-width: 860px;
    margin: 0 auto;
}

@media(max-width: 983px) {
    .footer-inner {
        width: 100%;
        max-width: 100%;
    }
    
    
    
    .footer-details {
        display: block;
        width: 100%;
        float: none;
    }
    
    .ceop {
        width: 100%;
        display: block;
        float: none;
        text-align: center;
    }
}
		