/* 
** VERSION CONTROL
**
** V01.06 - Changed teddy bear logo parameters.
** V02.00 - Major revisions to facilitate responsive web design, plus other changes not directly related to RWD.
**        - Navbar now 
**        - Started using rem rather than em and replaced use of px in many cases with rem.
**        - 
*/


/*
body { font-size: 100%;    }
h1   { font-size: 2.5em;   }
h2   { font-size: 1.875em; }
h3   { font-size: 1.25em;  }
p    { font-size: 0.875em; }
*/

/* Set font sizes based upon root (html) element size, which is assumed to be 
** the norm of 16px so 62.5% = 10px and other font sizes are based around this, 
** using 'rem' rather than 'em', which uses parent's size rather than root size.
** The specification of font-size as px then rem is to cater for older browsers
** that do not recognise rem units.
*/
html {box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}
html { font-size: 62.5%; }                   /* =10px */
body { font-size: 14px; font-size: 1.4rem; } /* =14px */
h1   { font-size: 24px; font-size: 2.4rem; } /* =24px */
h2   { font-size: 20px; font-size: 2.0rem; } /* =24px */
h3   { font-size: 16px; font-size: 1.6rem; } /* =24px */
h4   { font-size: 12px; font-size: 1.2rem; } /* =24px */


p.serif {
    font-family: "Times New Roman", Times, serif;
}

p.sansserif {
    font-family: Arial, Helvetica, sans-serif;
}

h1, h2, h3, h4 {
	/* Ignoring prejudices, Comic Sans is the customer-specified typeface. */
    font-family: "Comic Sans MS", cursive, sans-serif;
}


ul.toc {
    height:		2em;
    list-style:	none;
    margin:		0;
    padding:	0;
}

ul.toc li {
    float:		  left;
    margin:		  0 1px 0 0;
    padding-left: 10px;
}

ul.toc a {
    color:			#000;   /* black */
    display:		block;
    float:			left;
    height:			2em;
	width:			6em;
    line-height:	2em;
    padding-right:	10px;
    text-decoration: none;
}

ul.toc a:hover {
	font-weight: bold;
}

ul.toc li.home {
    background-color: #bdf; /* Light blue colour */
}

ul.toc li.info {
    background-color: #9f6; /* Light green colour */
}

ul.toc li.ofsted {
    background-color: #f66 /* Light red colour */
}

ul.toc li.gallery {
    background-color: #ff6; /* Light yellow colour */
}

ul.toc li.contact {
    background-color: #f9c; /* Light lilac colour */
}

ul.toc li.current a {
    color: #fff;   /* white */
    font-weight: bold;
}

.common_header {
    padding: 2.5rem 1rem 4.5rem 1rem ;
	background-color: #fff;  /* White, as requested by SB */
	border-style: none; 
		display:		  block;
		white-space:	  wrap;
}
/* 
.header {
  background-color: #9933cc;
  color: #ffffff;
  padding: 15px;
}
*/

.header_text {
	color:			  #000;  /* black */
	background-color: #fff;  /* white, as requested by SB */
    text-align:		  center;
	text-indent:	  -5rem;
	clear:			  left;
	display:		  inline;
	/* Ignoring prejudices, Comic Sans is the customer-specified typeface. */
    /* font-family: "Comic Sans MS", cursive, sans-serif; */
}

img.sbpsn_logo {
	float: 	 left;
	margin:  1rem;
	width:   9rem; 
	height:	 15rem;
}

.bar {
	width:		100%;
	overflow:	hidden;
	display:	inline-block;
}

.button {
	border:			  none;
	display:		  inline-block;
	padding:		  8px 16px;
	vertical-align:	  middle;
	overflow:		  hidden;
	text-decoration:  none;
	color:			  inherit;
	background-color: inherit;
	text-align:		  center;
	cursor:			  pointer;
	white-space:	  nowrap;
}

/*************************/
.mobile { 
	position:relative; 
	display:block;
/*	width:100%!important; */
	text-align:center;
	} 
	
.bar-item.w3-mobile {
        text-align: center
    }

/*	
.w3-dropdown-hover.w3-mobile .w3-dropdown-content,.w3-dropdown-click.w3-mobile .w3-dropdown-content{position:relative}
.w3-hide-small{display:none!important}.w3-mobile{display:block;width:100%!important}.w3-bar-item.w3-mobile,.w3-dropdown-hover.w3-mobile,.w3-dropdown-click.w3-mobile{text-align:center}
.w3-dropdown-hover.w3-mobile,.w3-dropdown-hover.w3-mobile .w3-btn,.w3-dropdown-hover.w3-mobile .w3-button,.w3-dropdown-click.w3-mobile,.w3-dropdown-click.w3-mobile .w3-btn,
.w3-dropdown-click.w3-mobile .w3-button{width:100%}}
*/

/*************************/

/* any bar-item inside a bar */
.bar .bar-item {
	padding:8px 16px;
	float:left;
	width:auto;
	border:none;
	display:block;
	outline:0;
}

.navbar {
	border: 		0px;
/*    padding:		0rem 1rem 0rem 1rem; */
    padding:		0rem 0rem 0rem 0rem;
	margin: 		0px;
	overflow:		auto;
	/* width: 100%; */
	/* vertical-align:	text-top; */
	text-align:		center;
}

.nav-border {
/*	border-bottom:	5px solid;  */
	border-bottom:	0px solid;
	margin-bottom:	-0.5rem;	
 }

/* Ensure navbar stays pinned at top of screen when content 
** is scrolled up (the title area will scroll off-screen). */
#sticky-nav {
  position: -webkit-sticky;  /* for Safari (from v6.1) */
  position: sticky;
  top: 0;
}

/* Solid dividing line */
hr.solid {
  border-bottom: 0.5rem solid #c180ff;
  position: -webkit-sticky;  /* for Safari (from v6.1) */
  position: sticky;
  /* top: 0; */
      width: 98%;
  height: 1rem;
  margin-center: 1;
}


.fixed-bottom {
  position: fixed;
  bottom: 10px;
  border: 3px solid #8AC007;
} 

.content {
    border-style:	solid; 
/*	border-width:	0rem 0.5rem 0.5rem 0.5rem; */
	border-width:	0rem 0rem 0rem 0rem; 
    padding:		1rem;
	margin:			0rem 1rem 1rem 1rem;
	overflow:		auto;
	/* border-radius: 0.4rem; */
	/* width: 100%; */
	vertical-align:	text-top;
}

.indent_para_10 {
	margin:  0rem 0rem 0rem 1rem;
	padding: 0rem 0rem 0rem 0rem;
}

.indent_para_25 {
	margin:  0px 0px 0px 2.5rem;
	padding: 0rem 0rem 0rem 0rem;
}

.reduced_indent{
	padding: 0rem 0rem 0rem 2.5rem;
}

/* 
** RWD STUFF 
*/
* {
  box-sizing: border-box;
}

/* Default - for mobile phones: */
[class*="col-"] {
  width: 100%;
}

/* For tablets/landscape phones */
@media only screen and (min-width: 600px) {
  /* For tablets: */
  .col-m-01 {width: 8.33%;}
  .col-m-02 {width: 16.66%;}
  .col-m-03 {width: 25%;}
  .col-m-04 {width: 33.33%;}
  .col-m-05 {width: 41.66%;}
  .col-m-06 {width: 50%;}
  .col-m-07 {width: 58.33%;}
  .col-m-08 {width: 66.66%;}
  .col-m-09 {width: 75%;}
  .col-m-10 {width: 83.33%;}
  .col-m-11 {width: 91.66%;}
  .col-m-12 {width: 100%;}
}

/* For laptops/desktops */
@media only screen and (min-width: 768px) {
  /* For desktop: */
  .col-l-01 {width: 8.33%;}
  .col-l-02 {width: 16.66%;}
  .col-l-03 {width: 25%;}
  .col-l-04 {width: 33.33%;}
  .col-l-05 {width: 41.66%;}
  .col-l-06 {width: 50%;}
  .col-l-07 {width: 58.33%;}
  .col-l-08 {width: 66.66%;}
  .col-l-09 {width: 75%;}
  .col-l-10 {width: 83.33%;}
  .col-l-11 {width: 91.66%;}
  .col-l-12 {width: 100%;}
}
	

.nav-button-home { background-color:#dab3ff; }	/* pale lilac 85% */
.nav-button-selected-home, .nav-button-home:hover { 
	color:#fff !important; 
	font-weight: bold; 
	letter-spacing: 0.05rem; 
	text-shadow: 1px 1px #000; 
	background-color:#c180ff !important;		/* light lilac 75% */
}

.nav-button-info { background-color:#99c9ff; }	/* pale blue 80% */
.nav-button-selected-info, .nav-button-info:hover { 
	color:#fff !important; 
	font-weight: bold; 
	letter-spacing: 0.05rem; 
	text-shadow: 1px 1px #000;
	background-color:#4da0ff !important;		/* light blue 65% */
	
}

.nav-button-ofsted { background-color:#83e283; }/* pale green 70% */
.nav-button-selected-ofsted, .nav-button-ofsted:hover { 
	color:#fff !important; 
	font-weight: bold; 
	letter-spacing: 0.05rem; 
	text-shadow: 1px 1px #000; 
	background-color:#45d345 !important;		/* light green 55% */
}

.nav-button-gallery { background-color:#ffe680; }/* pale yellow 75% */
.nav-button-selected-gallery, .nav-button-gallery:hover { 
	color:#fff !important; 
	font-weight: bold; 
	letter-spacing: 0.05rem; 
	text-shadow: 1px 1px #000; 
	background-color:#ffcc00 !important;		/* yellow 50% */

}

.nav-button-contact { background-color:#ff9999; }/* pale red 80% */
.nav-button-selected-contact, .nav-button-contact:hover { 
	color:#fff !important; 
	font-weight: bold; 
	letter-spacing: 0.05rem; 
	text-shadow: 1px 1px #000; 
	background-color:#ff4d4d !important;		/* red 65% */
}



/* Snaffled from W3.CSS for the styles used in the tabbed topnav */

/*
.w3-button{border:none;display:inline-block;padding:8px 16px;vertical-align:middle;overflow:hidden;text-decoration:none;color:inherit;background-color:inherit;text-align:center;cursor:pointer;white-space:nowrap}

.w3-dropdown-hover.w3-mobile .w3-dropdown-content,.w3-dropdown-click.w3-mobile .w3-dropdown-content{position:relative}	
.w3-hide-small{display:none!important}.w3-mobile{display:block;width:100%!important}.w3-bar-item.w3-mobile,.w3-dropdown-hover.w3-mobile,.w3-dropdown-click.w3-mobile{text-align:center}
.w3-dropdown-hover.w3-mobile,.w3-dropdown-hover.w3-mobile .w3-btn,.w3-dropdown-hover.w3-mobile .w3-button,.w3-dropdown-click.w3-mobile,.w3-dropdown-click.w3-mobile .w3-btn,.w3-dropdown-click.w3-mobile .w3-button{width:100%}}

.w3-bar-item{padding:8px 16px;float:left;width:auto;border:none;display:block;outline:0}
.w3-bar-block .w3-bar-item{width:100%;display:block;padding:8px 16px;text-align:left;border:none;white-space:normal;float:none;outline:0}
*/

.mobile-first { display:block; width:100%; }
.bar {
	width:	  100%;
	overflow: hidden
}

.bar .bar-item {
    padding: 8px 16px;
    float:	 left;
    width:	 auto;
    border:	 none;
    display: block;
    outline: 0
}

.center .bar {
    display: inline-block;
    width: auto
}

.bar .button {
    white-space: normal
}

.bar:before,.bar:after {
    content: "";
    display: table;
    clear:	 both
}

.button {
    border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: inherit;
    text-align: center;
    cursor: pointer;
    white-space: nowrap
}

.button {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.button:hover {
    color:			  #000!important;
    background-color: #ccc!important
}

.button:disabled {
    cursor:	 not-allowed;
    opacity: 0.3
}

/*
** @media section
*/

@media (min-width: 601px) {
    .col.m1					{width:	 8.33333%;}
    .col.m2					{width:	16.66666%;}
    .col.m3, .quarter		{width:	24.99999%;}
    .col.m4, .third			{width:	33.33333%;}
    .col.m5					{width:	41.66666%;}
    .col.m6, .half			{width:	49.99999%;}
    .col.m7					{width:	58.33333%;}
    .col.m8, .twothird		{width:	66.66666%;}
    .col.m9, .threequarter	{width:	74.99999%;}
    .col.m10				{width:	83.33333%;}
    .col.m11				{width:	91.66666%;}
    .col.m12				{width:	99.99999%;}
}

@media (min-width: 993px) {
    .col.l1					{width:	 8.33333%;}
    .col.l2					{width:	16.66666%;}
    .col.l3					{width:	24.99999%;}
    .col.l4					{width:	33.33333%;}
    .col.l5					{width:	41.66666%;}
    .col.l6					{width:	49.99999%;}
    .col.l7					{width:	58.33333%;}
    .col.l8					{width:	66.66666%;}
    .col.l9					{width:	74.99999%;}
    .col.l10				{width:	83.33333%;}
    .col.l11				{width:	91.66666%;}
    .col.l12				{width:	99.99999%;}
}


@media (max-width: 1205px) {
    .auto {
        max-width:95%
    }
}

@media (max-width: 600px) {
    .modal-content {
        margin:	0 10px;
        width:	auto!important
    }

    .modal {
        padding-top: 30px
    }

    .dropdown-hover.mobile .dropdown-content,.dropdown-click.mobile .dropdown-content {
        position: relative
    }

    .hide-small {
        display: none!important
    }

    .mobile {
        display: block;
        width:	 100%!important
    }

    .bar-item.mobile,.dropdown-hover.mobile,.dropdown-click.mobile {
        text-align: center
    }

    .dropdown-hover.mobile, .dropdown-hover.mobile .btn, .dropdown-hover.mobile, .dropdown-click.mobile, .dropdown-click.mobile .btn, .dropdown-click.mobile .button {
        width: 100%
    }
}

@media (max-width: 768px) {
    .modal-content {
        width:	500px
    }

    .modal {
        padding-top: 50px
    }
}

@media (min-width: 993px) {
    .modal-content {
        width:	900px
    }

    .hide-large {
        display: none!important
    }

    .sidebar.collapse {
        display: block!important
    }
}

@media (max-width: 992px) and (min-width:601px) {
    .hide-medium {
        display:	none!important
    }
}

@media (max-width: 992px) {
    .sidebar.collapse {
        display:	none
    }

    .main {
        margin-left:  0!important;
        margin-right: 0!important
    }

    .auto {
        max-width: 100%
    }
}


.rest {
    overflow: hidden
}

.stretch {
    margin-left: -16px;
    margin-right: -16px
}

.content, .auto {
    margin-left: auto;
    margin-right: auto
}

.content {
    max-width: 980px
}

.auto {
    max-width: 1140px
}

.cell-row {
    display: table;
    width: 100%
}

.cell {
    display: table-cell
}

.cell-top {
    vertical-align: top
}

.cell-middle {
    vertical-align: middle
}

.cell-bottom {
    vertical-align: bottom
}

.hide {
    display: none!important
}

.show-block, .show {
    display: block!important
}

.show-inline-block {
    display: inline-block!important
}
