/* Main defaults */

body {
	color: #000000;
	font: normal 16px 'Didact Gothic', Verdana, sans-serif;
}

@font-face {
	font-family: 'Didact Gothic';
	src: url('../fonts/Didact_Gothic/DidactGothic.ttf');
	font-weight: normal;
}

@font-face {
	font-family: 'Open Sans';
	src: url('../fonts/Open_Sans/OpenSans-Regular.ttf');
	font-weight: normal;
}

.blockCenter {
	padding: 5px 5px 2px 0;
}

div.global {
	margin: 20px auto;
	padding: 20px 0;
	border: 0;
	width: 100%;
}

#sectioncontainer, #menucontainer, #submenucontainer, #bannercontainer, #footercontainer, #logindetails {
	width: auto;
}

#sectioncontainer, #logindetails {
	margin: 0 auto;
	width: 1160px;
}

#logindetails {
	padding: 5px 15px 5px 5px;
	font-size: 90%;
}

/* Figure border */

figure {
	border: 1px #e8e8e8 solid;
}

div#searchSite {
	display: none;
}

div.swapper {
	overflow: hidden;
	text-align: center;
}

figure.swapper {
	margin: 0 auto;
	padding: 0;
	border: 0;
}

figure.swapper img {
	display: inline;
	margin: 10px;
	border-radius: 10px;
}

.fb_iframe_widget {
	padding-left: 10px;
}

.fb_iframe_widget iframe {
	border-radius: 10px;
	background-color: white;
}

/* Menu stuff */

#menucontainer {
	font-size: 110%;
	background-color: #009bdf;
	border-radius: 0;
	-webkit-border-radius: 0;
}

#submenucontainer {
	border-radius: 0;
	-webkit-border-radius: 0;
}

nav#submenucontainer.private {
	background-color: #999999;
}

#subMenuitems {
	background-color: #a2def8;
}

.activeMenu, .inactiveMenu {
	font-size: 110%;
	padding: 0;
	background-color: white;
}

.inactiveMenu a, .inactiveMenu a:link, .inactiveMenu a:visited {
	color: #ffffff;
	background-color: #009bdf;
}

.activeMenu a, .activeMenu a:link, .activeMenu a:visited, .inactiveMenu a, .inactiveMenu a:hover {
	color: #000000;
	background-color: #a2def8;
}

#subMenuitems div.activeMenu a, #subMenuitems div.inactiveMenu a:hover {
	background-color: #00d3de;
}

#subMenuitems div.inactiveMenu a {
	color: #000000;
	background-color: #a2def8;
}

.activeOptionsMenu, .inactiveOptionsMenu  {
	font-size: 100%;
}

.inactiveOptionsMenu a, .inactiveOptionsMenu a:link, .inactiveOptionsMenu a:visited {
	color: gray;
	border: 1px solid gray;
	background-color: white;
}

.activeOptionsMenu a, .activeOptionsMenu a:link, .activeOptionsMenu a:visited, .inactiveOptionsMenu a, .inactiveOptionsMenu a:hover {
	color: white;
	border: 1px solid gray;
	background-color: gray;
}

#subMenuitems div.activeMenu a.private, #subMenuitems div.inactiveMenu a.private:hover {
	background-color: gray;
}

#subMenuitems div.inactiveMenu a.private {
	color: white;
	background-color: #999999;
}

.activeMenu a.private:link, .activeMenu a.private:visited, .inactiveMenu a.private:hover {
	color: white;
	background-color: #999999;
}

/* General links */

a {
	color: #008bc7;
	text-decoration: none;
}

a.private {
	font-style: italic;
}

a:hover {
	color: black;
}

/* Commonly used classes for layout */

.subtitle {
	color: #909090;
	font-size: 60%;
}

/* Defining common elements */

p {
	font-family: 'Open Sans';
	line-height: 140%;
	font-size: 110%;
}

li, blockquote {
	font-family: 'Open Sans';
	font-size: 110%;
}

i {
	color: gray;
}

h1 {
	font-family: 'Didact Gothic';
	font-weight: normal;
	color: #009bdf;
	font-size: 175%;
}

h2 {
	font-family: 'Didact Gothic';
	font-weight: normal;
	color: #009bdf;
	font-size: 130%;
}

h3 {
	font-family: 'Didact Gothic';
	font-weight: normal;
	color: #009bdf;
	font-size: 110%;
}

p.small {
	font-size: 80%;
	padding: 2px 0;
}

input.submit, .inactiveOptionsMenu, .activeOptionsMenu {
	font-size: 90%;
	line-height: 100%;
}

img {
	margin: 5px;
	border-radius: 10px;
}

td.calmonthname img {
	border-radius: 0;
}

.gallery1 a img {
	border-radius: 5px;
}

div.lineItem img {
	border-radius: 0;
}

/* Banner stuff */

img#logo {
	display: block;
	margin: 0 auto;
	float: none;
}

/* Main sidebar formatting */

#sidebar {
	margin: 10px 0 0 10px;
	line-height: 130%;
	background-color: transparent;
	padding: 0;
	width: 310px;
}

/* Classes used with divs for screen layout */

.form {
	border: 1px solid gray;
	background-color: #fffffa;
	margin: 0 auto;
}

/* Highlight news and main newsitem module */

.newsDate {
	font-style: italic;
	font-size: 80%;
}

.newsTitle {
	font-weight: heavy;
}

.newsContent {
	font-size: 90%;
}

.item {
	border-bottom: 1px #e8e8e8 solid;
}

.newsitems p {
	line-height: 150%;
}

/* Used at top of listings */

.headerRecord, .headerRecord a {
	font-weight: bold;
	color: gray;
}

/* Greeting page formatting */

.welcomeText, .welcomeText p {
	font-size: 100%;
	line-height: 140%;
}

.welcomeText {
	overflow: visible;
}

div.homePage {
	display: flex;
}

/* ---------- Greeting sidebar ---------- */

#patchwork1 #sidebar {
	border-left: 0;
	line-height: 140%;
	width: auto;
    min-height: 160px;
	padding: 0;
    margin: 0;
}

#patchwork1 #sidebar div.thumbnail a img {
	display: none;
}

#patchwork1 .item {
	padding: 15px 5px;
    width: 32%;
    float: left;
}

/* -------- Gird for alternative home page -------- */

div.belfast-places-info {
	margin: 0 auto 20px;
	border-bottom: 1px dotted silver;
	overflow: hidden;
	padding: 20px 5px 15px;
}

div.belfast-places-info div.entry {
	margin: 0 10px;
	padding: 0;
	border: 0;
	width: 290px;
	float: left;
}

div.belfast-places-info div img {
	border: 0;
	padding: 1px;
}

div.belfast-places-info img.r_edge {
	vertical-align: top;
}

div.belfast-places-info div.place-name {
	margin: 0 10px;
	padding: 0;
	border: 0;
	text-align: center;
	float: right;
	width: 800px;
}

img#showcaseHolder.starter, div#showcaseSummary.starter {
	opacity: 0;
	transform: scale(0.95, 0.95);
}

img#showcaseHolder, div#showcaseSummary, img[id^="thumbnail"] {
	z-index: 10;
	opacity: 1;
	transition-timing-function: ease-in-out;
	transition-delay: 0;
	transition: all 0.75s;
}

img[id^="thumbnail"] {
	margin: 0;
}

div#showcaseSummary {
	text-align: left;
}

div#showcaseSummary a {
	display: none;
}

/* Staff blog */

div.blog1 .blockCenter {
	padding: 10px;
}

.blogArticle {
	border: 0;
	border-radius: 0;
	background-color: white;
}

/*  .blogContent {
	position: initial;
	height: auto;
	border-bottom: 1px solid #009bdf;
	border-radius: 0;
}  */

/* Footer stuff */

.footerContent {
	background-color: #009bdf;
	color: white;
	text-align: center;
	padding: 10px 0;
}
	
.footerContent a {
	color: white;
}

.footerContent a:hover {
	color: black;
}

/* Table for listing stuff */

table {
	border-spacing: 0;
	border-collapse: collapse;
	margin: 5px;
}

table.layout th, table.layout td {
	border: 1px #3399cc solid;
	border-collapse: collapse;
	padding: 5px;
}

table.layout th {
	color: #3399cc;
}

table.team tr {
	margin: 0;
	padding: 0;
}

table.team td {
	vertical-align: top;
	margin: 0;
	padding: 2px 10px;
}

/* Temporary for About us, After School and Facilities sections */

div.rooms a, div.after_school a, div.about_section a {
	font-size: 110%;
}

div.about_section_details {
	display: none;
}

div.room_details {
	display: none;
}

div.as_details {
	display: none;
	border-collapse: collapse;
}

table {
	border-spacing: 0;
	border-collapse: collapse;
}

div.room_details table.entry table.layout th, div.room_details table.entry table.layout td {
	border: 1px #3399cc solid;
	border-collapse: collapse;
	padding: 5px;
}

div.room_details table.entry {
	border-spacing: 0;
}

/* Holidays */

#events2 #dayEventsDetails {
	display: none;
	visibility: hidden;
}

/* Different devices */

/* min-width: 0 to max-width: 480px ----------- */

@media only screen and (min-width: 0) and (max-width: 480px) {
	img#logo {width: 75%;}
	div.belfast-places-info div.entry {text-align: center; width: 100%; margin: 20px auto;}
	div.belfast-places-info div.place-name {width: 90%; float: none; margin: 0 auto;}
	img.r_edge {width: 100%;}
	#sidebar {width: 100%;}
	figure.swapper img {width: 80%; display: block; margin: 10px auto;}
}

/* min-width: 0 to max-width: 960px ----------- */

@media only screen and (min-width: 0) and (max-width: 960px) {
	div.global {padding: 10px 0;}
	#sectioncontainer {width: 90%;}
}

/* min-width: 0 and max-width: 319px ----------- */

@media only screen and (min-width: 0) and (max-width: 319px) {
	body {font: normal 10px 'Didact Gothic', Verdana, sans-serif;}
	.generic5 figure.swapper img {display: block; width: 250px;}
}

/* Smartphones (portrait and landscape) ----------- */

@media only screen and (min-width: 320px) and (max-width: 480px) {

	body {font: normal 11px 'Didact Gothic', Verdana, sans-serif;}
	.generic5 figure.swapper img {display: block; width: 250px;}
}

/* Larger smartphones/smaller tablets (portrait and landscape) ----------- */

@media only screen and (min-width: 481px) and (max-width: 768px) {

	body {font: normal 12px 'Didact Gothic', Verdana, sans-serif;}
	#sidebar img {width: 95%;}
	#sidebar {width: 220px;}
	.greeting1 #sidebar {width: 310px;}
	.activeMenu a, .inactiveMenu a {padding: 4px 12px;}
	div.belfast-places-info div.entry {display: none;}
	div.belfast-places-info div.place-name {width: 90%; float: none; margin: 0 auto;}
	img.r_edge {width: 100%;}
	#patchwork1 .item {padding: 0; width: 50%;}
}

/* ----  min-width: 769px and max-width: 960px  ---- */

@media only screen and (min-width: 769px) and (max-width: 960px) {

	div.global, #logindetails {width: 98%;}
	#logo {margin-top: 20px;}
	div.belfast-places-info div.place-name {width: 50%;}
	img.r_edge {width: 100%;}
}

/* ----  min-width: 961px and max-width: 1170px  ---- */

@media only screen and (min-width: 961px) and (max-width: 1170px) {

	div.global, #logindetails {width: 98%;}
	#sectioncontainer {width: 90%;}
	#logo {margin-top: 20px;}
	div.belfast-places-info div.place-name {width: 55%;}
	img.r_edge {width: 100%;}
}

/* -------- */