/* CSS Document */
/* Standard Body Tags */
body,td,th {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: small;
	color: #151B64;
}
body {
	background-image: url(../img/site/summerPageBack.gif);
	background-color: #FFFFFF;
	background-repeat: no-repeat;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	padding-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	background-position: right bottom;
	min-width: 772px;
	background-attachment: fixed;
}div#sHeader {
	background-color: #FFFFFF;
	background-image: url(../img/site/sheaderback.gif);
	background-repeat: repeat-x;
	background-position: left top;
	text-align: left;
	vertical-align: top;
	min-width: 772px;
	padding-bottom: 0px;
	margin-bottom: 0px;
	border: none;
	height: 103px;
}
div#sMain {
	clear: both;
	background-image: url(../img/site/summerMainBack.gif);
	background-repeat: no-repeat;
	background-position: left top;
	padding-top: 2px;
	margin: 0px;
	border: none;
	min-height: 540px;
}
div#sBridge {
	clear: both;
	padding-left: 410px;
	margin: 0px;
	border: none;
}
div#Navigation {
	float: left;
	width: 185px;
	font-size:small;
	padding-left: 5px;
	background-color: #FFFFFF;
}
div#sHeadLeft {
	padding-top: 9px;
	padding-left: 18px;
	vertical-align: top;
	float: left;
}
div#sHeadRight {
	float: right;
	height: 103px;
	background-image: url(../img/site/summerBannerRight.gif);
	background-position: left bottom;
	background-repeat: no-repeat;
}
div#banner {
	border-right-width: 6px;
	border-right-style: solid;
	border-right-color: #FFFFFF;
	margin-left: 198px;
}
div#bannerStrip {
	background-image: url(../img/site/sbannerbackb.gif);
	background-repeat: no-repeat;
	background-position: left top;
}
div#bannerLeft {
	height: 196px;
	padding-left: 0px;
}
div#imageOverlay {
	background-image: url(../img/site/summerOverlay.gif);
	background-repeat: no-repeat;
	background-position: left top;
}
#menuSelect {
	width: 187px;
}
#menuSelect ul {
		list-style: none;
		margin: 0;
		padding: 0;
		border: none;
}	
div#centralContent {
	float: none;
	padding-top: 4px;
	padding-right: 198px;
}
div#sideAdverts {
	float: right;
	width: 164px;
	margin-right: 0px;
	margin-left: 18px;
	clear: right;
}
/* Main Menu */
#menuSelect li {
	margin-bottom: 2px;
}
#menuSelect li a {
	margin-bottom: 2px;
	font-weight: bold;
	display: block;
	color: #BD007A;
	text-decoration: none;
	padding-top: 2px;
	padding-right: 13px;
	padding-bottom: 2px;
	padding-left: 13px;
	border: 1px solid #BD007A;
	 width: 159px; 
	height: 16px;
	
}
html>body #menuSelect li a {
		width: auto;
		}
#menuSelect li a:hover {
	font-weight: bold;
	display: block;
	background-color: #BD007A;
	color:#FFFFFF;
	text-decoration: none;
	padding-top: 2px;
	padding-right: 13px;
	padding-bottom: 2px;
	padding-left: 13px;
	border: 1px solid #BD007A;
	width: 159px;
	height: 16px;
}
/* Sub Menu */
#subMenu {
background-image: url(../img/site/subMenuBack.gif);
	background-repeat: repeat-y;
	background-position: left top;
	margin-top: -2px;
	padding-top: 2px;
}
#subMenu li {
	background-image: url(../img/site/subMenuTab.gif);
	background-repeat: no-repeat;
	background-position: left top;
	margin-left: none;
	padding-left: none;
}
#subMenu li a {
	font-weight: bold;
	display: block;
	background-color: #151B64;
	color: #FFFFFF;
	text-decoration: none;
	padding-top: 2px;
	padding-right: 13px;
	padding-bottom: 2px;
	margin-left: 13px;
	border: 1px solid #151B64;
	 width: 146px; 
	height: 16px;
}
html>body #subMenu li a {
		width: auto;
		}
#subMenu li a:hover {
	font-weight: bold;
	display: block;
	background-color: #FFFFFF;
	color: #151B64;
	text-decoration: none;
	padding-top: 2px;
	padding-right: 13px;
	padding-bottom: 2px;
	padding-left: 13px;
	border: 1px solid #151B64;
	width: 146px;
	height: 16px;	
}
#endConnector {
	float: left;
}
/* End */
/* Sub Menu */
#subMenuEnd {
background-image: url(../img/site/subMenuBack.gif);
	background-repeat: repeat-y;
	background-position: left top;
	margin-top: -2px;
	padding-top: 2px;
}
#subMenuEnd li {
	background-image: url(../img/site/subMenuEnd.gif);
	background-repeat: no-repeat;
	background-position: left top;
	margin-left: none;
	padding-left: none;
}
#subMenuEnd li a {
	font-weight: bold;
	display: block;
	background-color: #151B64;
	color: #FFFFFF;
	text-decoration: none;
	padding-top: 2px;
	padding-right: 13px;
	padding-bottom: 2px;
	margin-left: 13px;
	border: 1px solid #151B64;
	 width: 146px; 
	height: 12px;
}
html>body #subMenuEnd li a {
		width: auto;
		}
#subMenuEnd li a:hover {
	font-weight: bold;
	display: block;
	background-color: #FFFFFF;
	color: #151B64;
	text-decoration: none;
	padding-top: 2px;
	padding-right: 13px;
	padding-bottom: 2px;
	padding-left: 13px;
	border: 1px solid #151B64;
	width: 146px;
	height: 16px;	
}
/* End */
#contentFlower {
	text-align: right;
	padding-right: 185px;
}
div#homeWide {
	background-repeat: repeat-y;
	background-position: left top;
	
}
div#bannerRight {
	float: right;
	padding-left: 8px;
	height: 196px;
	width: 208px;
}
.smisbyFont {
	font-weight: bold;
	color: #BD007A;
}
.dayFont {
	color: #1E236A;
	font-weight: bold;
	text-decoration: none;
}
.dateFont {
	font-style: italic;
}
.sideAdButt {
	padding-top: 4px;
}
.baseInfo {
	clear: both;
	float: none;
	padding-top: 24px;
	padding-right: 12px;
	padding-bottom: 12px;
}
.articleImage {
	border: 2px solid #BD007A;
	margin-bottom: 4px;
	margin-left: 4px;
}
.staff_noncare {
	color: #BD007A;
	background-color: #CCCCCC;
	text-align: center;
	vertical-align: top;
	padding: 1px;
	margin-right: 2px;
	margin-left: 2px;
	border: 1px solid #151B64;
}
.staff_unqualified {
	color: #BD007A;
	background-color: #CC9966;
	text-align: center;
	vertical-align: top;
	padding: 1px;
	margin-right: 2px;
	margin-left: 2px;
	border: 1px solid #151B64;
}
.staff_level2studying {
	color: #BD007A;
	background-color: #99FFFF;
	text-align: center;
	vertical-align: top;
	padding: 1px;
	margin-right: 2px;
	margin-left: 2px;
	border: 1px solid #151B64;
}
.staff_level2qualified {
	color: #BD007A;
	background-color: #99CCFF;
	text-align: center;
	vertical-align: top;
	padding: 1px;
	margin-right: 2px;
	margin-left: 2px;
	border: 1px solid #151B64;
}
.staff_level3studying {
	color: #BD007A;
	background-color: #99FFCC;
	text-align: center;
	vertical-align: top;
	padding: 1px;
	margin-right: 2px;
	margin-left: 2px;
	border: 1px solid #151B64;
}
.staff_level3qualified {
	color: #BD007A;
	background-color: #33CC99;
	text-align: center;
	vertical-align: top;
	padding: 1px;
	border: 1px solid #151B64;
	margin-right: 2px;
	margin-left: 2px;
}
.staff_level5studying {
	color: #BD007A;
	background-color: #FFCCFF;
	text-align: center;
	vertical-align: top;
	padding: 1px;
	margin-right: 2px;
	margin-left: 2px;
	border: 1px solid #151B64;
}
.staff_level5qualified {
	color: #BD0075;
	background-color: #FF99FF;
	text-align: center;
	vertical-align: top;
	padding: 1px;
	margin-right: 1px;
	margin-left: 1px;
	border: 1px solid #151B64;
}
.staff_graduatestudying {
	color: #BD007A;
	background-color: #FFFFCC;
	text-align: center;
	vertical-align: top;
	padding: 1px;
	margin-right: 2px;
	margin-left: 2px;
	border: 1px solid #151B64;
}
.staff_graduatequalified {
	color: #BD007A;
	background-color: #FFFF33;
	text-align: center;
	vertical-align: top;
	padding: 1px;
	margin-right: 2px;
	margin-left: 2px;
	border: 1px solid #151B64;
}
.staff_room {
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
	padding: 4px;
	border: 1px solid #1E236A;
}
.staff_infoa {
	font-weight: bold;
	text-align: right;
	vertical-align: top;
}
.staff_infob {
	text-align: left;
	vertical-align: top;
}
.ofstedQuote {
	font-size: small;
	color: #BD007A;
}
.article2ndImage {
	border: 2px solid #BD007A;
	margin-bottom: 4px;
	margin-right: 4px;
}
.feedback {
	color: #BD007A;
}
td a {
display: block; 
width: 100%;
text-decoration:none;
padding:2px;
}
.role {
	color: #BD007A;
	text-decoration:none;
}
/* Existing smisby_summer.css content here */

/* --- Mobile-friendly adjustments --- */
@media (max-width: 768px) {
    /* Background images: scale & center */
    body {
        background-size: cover;
        background-position: center center;
    }

    /* Remove min-width so layout can shrink */
    body, #sHeader, #sMain {
        min-width: 0;
        width: 100%;
    }

    /* Navigation: stack vertically */
    #menuSelect ul {
        display: flex;
        flex-direction: column;
        gap: 0.5em;
    }
    #menuSelect li, #menuSelect li a {
        width: auto !important;
    }

    /* Main content: full width with padding */
    #centralContent {
        padding-right: 1em;
        padding-left: 1em;
    }

    /* Make all images responsive */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Side adverts move below content */
    #sideAdverts {
        float: none;
        margin: 1em auto;
        text-align: center;
    }
}
