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

}

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

}

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

}

html, body {
	height:100%;
/*	background: url(/img/bespoke/bryanstonhighschool/bg.png) repeat-x top center #032B72;*/
    background: #2e3a5a;
}

#wrapper {
	min-height:100%;
	position:relative;
	min-width: 960px;
        margin:0 auto;
        background: url(/img/bespoke/bryanstonhighschool/tile.png) repeat-y top center;
}

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

#header {
	position: relative;
	z-index: 3;
	width: 960px;
	margin: 0 auto;
	height: 277px;
	background: url(/img/bespoke/bryanstonhighschool/header.jpg) no-repeat center top;
}

/********fadein slideshow********/
.fadein-home { 
position:relative; 
width:960px; 
height:416px; 
margin:0 auto;
top:0px;
}
.fadein-home img { 
border: 3px solid white;
position:absolute; 
left:0; 
top:0; 
}

	#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: 0;
		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/bryanstonhighschool/ribbon.png) no-repeat;
	z-index: 1;
}

/*  Nav
    ===  */
#nav {
	
        height: 32px;
        margin: -40px auto 0;
        position: relative;
        width: 939px;
        padding:0 10px;
        z-index: 3;

}

#nav-mobile-tab {
        width:100%;
}

.nav-display-block {
        display:block !important;
        visibility:visible !important;
}

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

    #nav > ul > li {
        font-size: 16px;
    }

    #nav ul li ul li, #nav ul li ul ul li {
        font-size: 15px;
    }

		#nav ul li {
			position: relative;
			float: left;
			height: 100%;
			line-height: 40px;
			display: block;
			color: #0f2f84;
			
			z-index: 4;
                        font-family: 'Tinos', serif;
/*                        font-size:18px;*/
		}

		#nav ul li:last-child {
		}

			#nav ul li a {
				text-decoration: none;
				color: inherit;
				*color: #06438f;
				display: block;
				padding: 0 22px;
				z-index: 4;
				position: relative;
			}
                        
                        #nav ul li a:hover {
                                text-decoration: underline;
                        }

                        #nav > ul > li {
                                height: 32px;
                                line-height:32px !important;
                                background: url(/img/bespoke/bryanstonhighschool/m1.jpg) repeat-x right top;
                                margin-right:5px;
                                border-radius: 10px 10px 0 0;
                                -moz-border-radius: 10px 10px 0 0;
                                -webkit-border-radius: 10px 10px 0 0;
/*
                                -moz-box-shadow:    0 -3px 3px #555555;
                                -webkit-box-shadow: 0 -3px 3px #555555;
                                box-shadow:         0 -3px 3px #555555;
                                border-top: solid 1px #fff;
                                border-left: solid 1px #fff;
                                border-right: solid 1px #fff;
*/
                        }
                        
                        #nav > ul > li:hover,
                        #nav > ul > li.current-item{
                                background: url(/img/bespoke/bryanstonhighschool/m1-hover.jpg) repeat-x right top;
/*
                                border-top: solid 1px #646464;
                                border-left: solid 1px #646464;
                                border-right: solid 1px #646464;
*/
                        }
                        
                        #nav > ul > li > a {
                                
                        }
                        
                        /*
                        #nav > ul > li.current-item,
                        #nav > ul > li:hover {
                                background: url(/img/bespoke/bryanstonhighschool/menu-right.png) no-repeat right top;
                                color:#111;
                        }
                        
                        #nav > ul > li.current-item > a,
                        #nav > ul > li:hover > a{
                                background: url(/img/bespoke/bryanstonhighschool/menu-left.png) no-repeat left top;
                                color:#111;
                        }
                        */
				#nav ul.dropdown ul {
					position:absolute;
					width: 175px;
					display: none;
					height: auto;
					margin:0;
					background-image: none;
/*					background-color: #3b3dfc;*/
                        background-color: #2E3A5A;
					border: 1px solid #777;
                                        border-radius: 10px;
                                        -moz-border-radius: 10px;
                                        -webkit-border-radius: 10px;
				}

					#nav ul.dropdown ul li {
						display: block;
						float: none;
						margin: 0;
						border: none;
						background-image: none;
                                                color:#fff;
                                                border-radius: 10px;
                                                -moz-border-radius: 10px;
                                                -webkit-border-radius: 10px;
					}

                                        #nav ul.dropdown ul li:hover {
/*                                                background:#04058B;*/
                                                background: #283046;
                                        }
                                        

#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:50px;
	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/bryanstonhighschool/dropdown.png) no-repeat 15px 0;
}

#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 16px;
/*    width: 90px;*/
    
    text-align: left;

}

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

}

											@media (max-width: 960px) {
												#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
    ===  */
#nav-mobile {
	float: left;
	width: 178px;
	padding: 10px 21px;
    position: relative;
    top: -10px;
    display:none;
}

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

		#nav-mobile ul li {
			line-height: 31px;
			margin-bottom: 20px;
			font-size:1.2em;
			color: #111;
		}

			#nav-mobile ul li a {
				background: url(/img/bryanstonhighschool/m1.png) no-repeat;
				color: inherit;
				*color: #111;
				display: block;
				padding-left: 16px;
				position: relative;
				z-index: 2;
				height:31px;
				line-height: 31px;
			}

				#nav-mobile ul li ul {
					background: #fff;
					padding: 12px 0;
					border-bottom-left-radius: 10px;
					border-bottom-right-radius: 10px;
					position: relative;
					top: -10px;
					padding-top: 18px;
					z-index: 1;
				}

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

						#nav-mobile ul li ul li a {
							background: none !important;
							color: #111 !important;
						}

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

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

		#nav-mobile ul li.item2 a,
		#nav-mobile ul li.item8 a,
		#nav-mobile ul li.item14 a,
		#nav-mobile ul li.item20 a,
		#nav-mobile ul li.item26 a {
			background: url(/img/bryanstonhighschool/m2.png) no-repeat;
			color: #f2f2f2;
		}

		#nav-mobile ul li.item3 a,
		#nav-mobile ul li.item9 a,
		#nav-mobile ul li.item15 a,
		#nav-mobile ul li.item21 a,
		#nav-mobile ul li.item27 a {
			background: url(/img/bryanstonhighschool/m3.png) no-repeat;
		}

		#nav-mobile ul li.item4 a,
		#nav-mobile ul li.item10 a,
		#nav-mobile ul li.item16 a,
		#nav-mobile ul li.item22 a,
		#nav-mobile ul li.item28 a {
			background: url(/img/bryanstonhighschool/m4.png) no-repeat;
		}

		#nav-mobile ul li.item5 a,
		#nav-mobile ul li.item11 a,
		#nav-mobile ul li.item17 a,
		#nav-mobile ul li.item23 a,
		#nav-mobile ul li.item29 a {
			background: url(/img/bryanstonhighschool/m5.png) no-repeat;
		}

		#nav-mobile ul li.item6 a,
		#nav-mobile ul li.item12 a,
		#nav-mobile ul li.item17 a,
		#nav-mobile ul li.item24 a,
		#nav-mobile ul li.item30 a {
			background: url(/img/bryanstonhighschool/m6.png) no-repeat;
		}
                                                                                        
#content-wrapper {
/*        background:#fff;*/
        height: auto;
        margin: 0 auto;
        padding: 25px 0 40px;
        width: 960px;
/*        box-shadow: 0 0 15px #111;*/
        min-height:370px;
}

.page-home #content-wrapper {
        background:none;
        box-shadow:none;
        padding-bottom:0;
}

.page-home .column-1col {
/*    background: none repeat scroll 0 0 #FFFFFF;*/
    margin-bottom: 0;
/*    padding: 10px 10px 30px;*/
/*    width: 910px;*/
/*    box-shadow:0 0 10px #333;*/
}

#content-top {
        background: url("/img/bryanstonhighschool/content-top.png") no-repeat scroll;
        width:960px;
        height:266px;
        display:none;
        margin:0 auto;
        box-shadow:0 0 10px #333;
}

.page-home #content-top {
        display:block;
}

#content {
	margin: 0 auto;
/*	width:931px;*/
    width: 960px;
/*	padding:0 10px;*/
	position: relative;
	z-index: 2;
}

#dots {
        width: 279px;
    margin: 0 auto;
    height: 5px;
    padding-top: 10px;
    border-bottom: 3px dotted #2e3a5a;
}


.sj_element_news ul, .sj_element_news ul li{
    padding: 5px 5px 5px 5px;
    font-family: 'Tinos';
    color: #2e3a5a;
    font-size: 14px;
    
}



.sj_element_news ul {
    position: relative;
}

.sj_element_news ul li a, .sj_element_news > a {
    color:  #2e3a5a;
        font-weight: bold;
    font-size: 16px;
}

.sj_element_news > a  {
    display: none;
}

.element-text dd, .element-text dt, .element-text label, .element-text li, .element-text p, .sj_element_marquee dd, .sj_element_marquee dt, .sj_element_marquee label, .sj_element_marquee li, .sj_element_marquee p {
    color: #dcdcd5;
    font-size: 14px;
   font-family: 'Tinos', serif;
}

#content .element-events {
        
        margin-top: 10px;
        overflow: visible;
/*
        padding: 0 8px 12px;
      
*/
        background: white;
        color: #2e3a5a;
}

#content .element-events h3,
#content .element-events p small,
#content .element-events li {
        color:#fff;
}

#content .element-events a {
        color:#ffff00;
}

#content .sj_element_events  > h3, #content .sj_element_news > h3, #content .sj_element_newsletters > h3,
#content .sj_element_events  > h2, #content .sj_element_news > h2, #content .sj_element_newsletters > h2,
#content .sj_element_calendar > h3, #content .sj_element_calendar > h2{
    position: relative;
    padding-left: 55px;
        border-bottom: 15px solid #2e3a5a;
    
}



#content .sj_element_events  > h3:before, #content .sj_element_events >h2:before,  #content .sj_element_calendar > h3:before, #content .sj_element_calendar > h2:before {
        background: url("/img/bryanstonhighschool/events-before.jpg") no-repeat scroll 5px 5px;
        content: "";
        display: inline-block;
        position: absolute;
        text-align: center;
        width: 50px;
        top: 0;
        left: 5px;
        height: 36px;
}

#content .sj_element_newsletters  > h3:before {
    background: url("/img/bryanstonhighschool/newsletters-before.jpg") no-repeat scroll 5px 5px;
        
        content: "";
        display: inline-block;
        position: absolute;
        text-align: center;
        width: 50px;
        top: 3px;
        left: 7px;
        height: 36px;
}

#content .sj_element_news > h3:before {
        background: url("/img/bryanstonhighschool/news-before.jpg") no-repeat scroll 5px 5px;
        content: "";
        display: inline-block;
        position: absolute;
        top: 0;
        left: 5px;
        text-align: center;
        width: 50px;
        height: 36px;
}

#content .element-calendar {
    margin-top: 10px;
}

#content .element-news, #content .element-newsletters {
      
        margin-top: 10px;
        overflow: visible;
/*        padding: 0 8px 12px;*/
        
        background:#fff;
    color: #2e3a5a;
    font-family: 'Tinos', sans-serif;
        
}

.column {
    margin-right: 19px !important;
}


.column-1col{
    width: 100%;
/*    margin:0 1%;*/
}
.column-3col-1, .column-3col-2, .column-3col-3, .column-right2col-1, .column-left2col-2 {
    width: 33%;
/*    margin:0 1%;*/
    margin-right: 0 !important;
}

.column-right2col-2, .column-left2col-1 {
    width: 65%;
/*     margin:0 1%;*/
   
}

.column-2col-2, .column-2col-1{
    width: 48%;
/*    margin:0 1%;*/
}



.element {
    margin-bottom: 20px;
}

.sj_element_calendar  .fc-header-title > h2 {
    font-size: 14px !important;
}



#content .element-news p small,
#content .element-news li {
        color:#2e3a5a;
}

.sj_element_news > h3, .sj_element_news > h2, .sj_element_events > h2, .sj_element_events > h3, .sj_element_calendar> h2, .sj_element_calendar > h3, .sj_element_newsletters > h3, .sj_element_newsletters > h2 {
    background: #3561bd;
    color: white;
}

/*
#content .element-news a {
        color:#ffff00;
}
*/



/*home text block 3rd column*/

#content .column-3col-3 .element-text {
        background: url("/img/bryanstonhighschool/block-bg.png") repeat scroll;
        margin-top: 10px;
        overflow: visible;
        padding: 0 8px 12px;
        border-radius: 15px;
        -moz-border-radius: 15px;
        -webkit-border-radius: 15px;
        color:#fff;
        border: 2px solid #FFFFFF;
        
        box-shadow: 0 0 10px #111;
}

#content .column-3col-3 .element-text h3,
#content .column-3col-3 .element-text h4,
#content .column-3col-3 .element-text p small,
#content .column-3col-3 .element-text li {
        color:#fff;
}

#content .column-3col-3 .element-text a {
        color:#ffff00;
}

/*
#content .column-3col-3 .element-text:before {
        background: url("/img/bryanstonhighschool/icon-gallery.png") no-repeat scroll 5px 5px;
        color: #1B55B7;
        content: "";
        display: inline-block;
        font-size: 21px;
        font-weight: bold;
        height: 60px;
        left: -8px;
        line-height: 55px;
        position: relative;
        text-align: center;
        top: -10px;
        width: 50px;
        border-radius: 15px 15px 0 0;
        -moz-border-radius: 15px 15px 0 0;
        -webkit-border-radius: 15px 15px 0 0;
}
*/


#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
       
    font-family: 'Tinos', serif;
    font-weight: bold;
    color: white;
}

p small {
        color:#111;
}

#footer {
/*        background: url("/img/bespoke/bryanstonhighschool/footer.png") repeat-x scroll center top transparent;*/
    background: #3561bd;
        bottom: 0;
        color: #FFFFFF;
        font-size: 14px;
        height: auto;
        margin: 0 auto;
/*        min-width: 960px;*/
    width: 960px;
    
        padding: 20px 0 10px;
        position: relative;
        text-align: center;
        z-index: 2;
    margin-bottom: 13px;
}

#footer a {
	color: inherit;
}

@media (max-width: 995px) {
    .fadein-home, .fadein-home img {
        width: 100%;
        max-width: 100%;
        border: none;
    }
    
    #search {
        display: none;
    }
}

@media (max-width: 960px) {
	#filling {
		display: none;
	}
    
    
    
    #header {
        background: url(/img/bespoke/bryanstonhighschool/header-mb.jpg) no-repeat center top;
    }
    
    
    
    .column {
        margin-right: 0 !important;
        margin: 0 !important;
    }
    
    
    
    .column-1col, .column-3col-1, .column-3col-2, .column-3col-3, .column-right2col-1, .column-left2col-2, .column-right2col-2, .column-left2col-1,
.column-2col-2, .column-2col-1  {
    width: 98%;
    margin:0 1%;
}
    
    #content .sj_element_calendar  > h3:before, 
    #content .sj_element_newsletters  > h3:before,
    #content .sj_element_news > h3:before {
        display: none;
    }
    
    #content .sj_element_calendar  > h3
    #content .sj_element_newsletters  > h3,
    #content .sj_element_news > h3,
     #content .sj_element_calendar  > h2
    #content .sj_element_newsletters  > h2,
    #content .sj_element_news > h2 {
        padding-left: 0px;
    }

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

	#wrapper {
		margin: 0px;
		
		min-height:0;
                padding:0;
                min-width:0;
	}

        #content-wrapper {
                width: auto;
                padding:0;
        }
        
        .page-home #content-top {
                display:none;
        }
        
	#header {
		background-size: 106% auto;
                height: 200px;
	}

        .fadein {
                top:220px;
                width:auto;
                height: auto;
        }
        
        .fadein img {
                width:100%;
        }
        
	#header h1 {
		top: 0;
		line-height:1.2em;
		font-size: 2.7em;
	}

	#header p {
		top: 0;
	}


	#content {
		background-size:100%;
		min-height: 280px;
                padding:10px;
	}
        
        #content .column {
                width: 100%;
        }
        
        #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 {
                widht: 320px !important;
        }

	#footer {
		  padding: 20px 5px 10px;
                left: 0;
                min-width: 0;
                position: relative;
	}

	#nav {
		height: auto;
                background:#648572;
                display:none;
	}

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

        #nav > ul > li:hover {
                background: none;
        }

        #nav > ul > li:hover > a{
                background: none;
        }
        
	#nav ul.dropdown ul {
		position: relative;
		width: auto;
		display: none;
		margin: 0;
		border: 1px solid #fff;
	}

	#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 #fff;
	}
        
        #nav-mobile:before {
		content: 'Menu';
		font-size: 20px;
		font-weight: normal;
		height: 31px;
		line-height: 31px;

	}

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

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

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

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

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

	#nav-mobile ul li ul {
		padding: 0;
		top: 0;
		background:#89B6F7;
	}

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

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

}


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

        .fadein {
                top:144px;
                width:auto;
        }
        
        .fadein img {
                width:100%;
        }
}


#content .element-text strong, #content .element-text td, #content .element-text td strong {
    color: white !important;
}

.sj_element_embed .tintup {
    width: 100% !important;
}

.page-home .newsletter-img {
    background: white;
    margin-bottom: 0px;
}

.page-home .newsletter-divs {
    margin-bottom: 0px !important;
}

#content .element-text span {
    color: white !important;
}

#content label {
    color: white;
}


#search {
position: absolute;
bottom: 54px;
right: -8px;
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: 17px;
padding: 0 6px;
width: 130px;
}

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

#footer .theme-copyright, #footer .theme-created-by {
    font-size: 12px;
    font-weight: normal;
}

#footer {
    font-family: 'Arial';
    font-size: 15px;
    font-weight: bold;
}

.sj_element_news .fa-stack {
    display: none;
}

#news-footer {
    text-align: center;
    font-weight: bold;
    color:  #2e3a5a;
        font-weight: bold;
    padding: 15px 0px;
    font-size: 18px;
}

#news-footer img {
    padding-left: 12px;
    position: absolute;
    bottom: 13px;
    width: auto !important;
}

@media (min-width: 895px) and (max-width: 960px) {
    #header{ 
        height: 223px;
    }
    
    
}

@media (max-width: 900px) {
    .fadein-home {
        height: 390px;
    }
}

@media (min-width: 745px) and (max-width: 815px) {
    #header {
        height: 183px;
    }
    
    .fadein-home {
        height: 350px;
    }
}

@media (min-width: 640px ) and (max-width: 744px) {
    #header { 
        height: 170px;
    }
    
    .fadein-home {
        height: 310px;
    }
}

@media (max-width: 530px) {
    #news-footer {
        display: none;
    }
}

@media (min-width: 530px ) and (max-width: 639px) {
    #header { 
        height: 145px;
    }
    
    .fadein-home {
        height: 265px;
    }
}

@media (max-width: 529px) {
    #header { 
        height: 120px;
    }
    
    .fadein-home {
        height: 215px;
    }
}

@media (max-width: 430px) {
    #header {
        height: 95px;
    }
    
    .fadein-home {
        height: 170px;
    }
}

.page-educators-1-1 #content .element-text p, .page-educators-1-1 #content .element-text td, .page-educators-1-1 #content .element-text li, .page-educators-1-1 #content .element-text, .page-educators-1-1 #content .element-text span, .page-educators-1-1 #content .element-text span strong, .page-educators-1-1 #content .element-text p strong {
    color: black !important;
}

.page-educators-1-2 #content .element-text p, .page-educators-1-2 #content .element-text td, .page-educators-1-2 #content .element-text li, .page-educators-1-2 #content .element-text, .page-educators-1-2 #content .element-text span, .page-educators-1-2 #content .element-text span strong, .page-educators-1-2 #content .element-text p strong {
    color: black !important;
}

.page-educators-1-3 #content .element-text p, .page-educators-1-3 #content .element-text td, .page-educators-1-3 #content .element-text li, .page-educators-1-3 #content .element-text, .page-educators-1-3 #content .element-text span, .page-educators-1-3 #content .element-text span strong, .page-educators-1-3 #content .element-text p strong {
    color: black !important;
}

.page-educators-1 #content .element-text p, .page-educators-1 #content .element-text td, .page-educators-1 #content .element-text li, .page-educators-1 #content .element-text, .page-educators-1 #content .element-text span, .page-educators-1 #content .element-text span strong, .page-educators-1 #content .element-text p strong {
    color: black !important;
}