/*
BASE (MOBILE) SIZE
	These are the mobile styles. It's what people see on their phones.
	Remember, keep it light: Speed is Important.
*/

body{
	color: #494949;
	font-family: 'Nunito', sans-serif;
	font-size: 1em;
	line-height: 3.4em;
	font-weight: normal;
	background-color: #FFFFFF;
	background-image: url(../images/headerBG.jpg);
	background-repeat: repeat-x;
}
#page-header h3 {
	text-align: center;
	/* [disabled]vertical-align: middle; */
	font-size: 1.1em;
}

h1, h2, h3, h4. h5{
	font-weight:normal;
	line-height:1.4em;
	margin:.45em 0;
	padding:0;
	color:#333;
} 


/* links */
a,
a:visited,
a:active {
	color: #993365;
	font-family: 'Mountains of Christmas', cursive;
	font-size: 1.8em;
	text-decoration: none;
	font-weight: 700;
}
a:hover{
	text-decoration:none;
	color: #66344D;
}


/* Box sizing. Awesome thing. Read about it here: http://www.w3schools.com/cssref/css3_pr_box-sizing.asp */
*{	box-sizing:border-box;
	-moz-box-sizing:border-box;}

  
/* structure */   
.wrapper{
	width: 92%;
	margin: 0 auto;
}
header{
	padding: 0;
}
#banner{
	margin-top: 15px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	float: none;
	text-align: center;
}

#banner img {
	border: none;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.wrapperHeader{
	width: 92%;
	margin-top: 0;
	margin-right: auto;
	margin-left: auto;
	background-color: #fff;
	padding-top: 0px;
	margin-bottom: 0px;
	padding-bottom: 0px;
}
#banner{
	text-align: center;
	margin-top: 15px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}

	
#hero,
#page-header{
	padding: 0 10px;
}
#hero h1{ 
	line-height:1.2em;
	margin-top:0px;
	margin-bottom:10px;}

.flexslider{
	display:none;
}

#content {
	margin-right: 0;
	margin-left: 0;
}

aside { 
	margin:40px 0;
}

p {
	margin: 0 0 1.5em;
	font-size: 1.1em;
	line-height: 1.4em;
	color: #494949;
	font-weight: 300;
}


/* RESPONSIVE IMAGES */
img {
	max-width: 100%;
	height: auto;
	border-radius: 0px;
}

.zoomContainer .zoomLens {
border: 1px solid rgb(155, 155, 155);
}
/*MAIN MENU*/
.menu-toggle{
	display: block;
	padding: 10px;
	margin: 20px 0 0;
	background-color: #5C98E0;
	color: #fff;
	cursor: pointer;
	text-transform: uppercase;
	font-size: 1.7em;
	text-align: center;
	font-weight: bold;
	font-family: 'Cabin', sans-serif;

}
.menu-toggle.toggled-on{
	background-color: #FFFFFF;
	color:#4062AD;
	border: 2px solid #5C98E0
}
.srt-menu{
	display:none;
}	
.srt-menu.toggled-on{
	display:block;
	position:relative;
	z-index:10;
}

.srt-menu{
	clear:both;
	margin-bottom:60px;
	
}
.srt-menu li a {
	background-color: #9FC3F7;
	color: #FFFFFF;
	display: block;
	margin: 1px 0;
	padding: 10px;
	text-decoration: none;
	font-family: 'Cabin', sans-serif;
	font-weight: bold;
	font-size: 1.3em;
}

#menu-main-navigation .cymraeg a {
	color: #FF0004;
	font-weight: normal;
}

.srt-menu li a:hover{
	background-color: #7EADF1;
	color: #fff;
}
.srt-menu li li a {
	background-color: #9FC3F7;
	padding-left: 40px;
	font-family: 'Nunito', sans-serif;
	color: #253C8A;
	font-size: 1.1em;
	font-weight: bold;
}
.srt-menu li li li a {
	background-color: #9FC3F7;
	padding-left: 80px;
}

/*SECONDARY MENU*/
#secondary-navigation{
	margin-bottom:60px;
}
#secondary-navigation ul{
	margin:0;
	padding:0;
}
#secondary-navigation ul li a{
	background-color: #9FC3F7;
	display: block;
	margin: 5px 0;
	padding: 10px;
	text-decoration: none;
}
#secondary-navigation ul li a:hover,
#secondary-navigation ul li.current a{
	background-color: #9FC3F7;
	color: #fff;
}

/*SPACE GRID ELEMENTS VERTICALLY, SINCE THEY ARE ONE UNDER ANOTHER SO FAR*/
.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
	margin-bottom:10px;
}

/*FOOTER*/
footer{
	clear: both;
	font-size: 80%;
	padding-top: 10px;
	padding-right: 0;
	padding-left: 0;
	padding-bottom: 10px;
	color: #FFFFFF;
	background-color: #0370C5;
	text-align: center;
}
footer ul{
	margin:0;
	padding:0;
	margin:0 0 0 8%;

}

footer h2, footer h3, footer h4{ 
	color:#CCC; 
	margin-bottom:10px;
}
footer h1 {
	font-size: 4em;
	margin: 0.67em 0 0.5em;
	clear: both;
	color: #FFFFFF;
	line-height: 1em;
	font-family: 'Mountains of Christmas', cursive;
	text-align: center;
	font-weight: 400;
}

a.buttonlink{
	background: #0099ff;
	border-radius: 7px;
	color: #fff;
	display: block;
	float: left;
	margin-top: 10px;
	margin-right: 15px;
	margin-left: 0;
	margin-bottom: 20px;
	padding: 10px;
	text-decoration: none;
	font-size: 1em;
}
a.buttonlink:hover{
	background:#0074C1;
}


/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix {
	zoom: 1;
	clear: both;
}

.rightfloat{
	float:right;
}
.leftfloat{
	float:left;
}
#attribution {
}
#contentRounded {
	background-color: #FFFFFF;
	border-radius: 16px;
	margin-bottom: 40px;
	padding-top: 0.7em;
	padding-bottom: 2em;
}
#contentRounded h1, #contentRounded h2, #contentRounded h3, #contentRounded p, #contentRounded ul {
	margin-left: 50px;
	margin-right: 40px;
}
.links a {
	color: #FFFFFF;
	text-decoration: none;
	font-size: 1.3em;
	font-weight: normal;
	margin-left: 20px;
	margin-right: 20px;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
}
footer .grid_6 p {
	font-size: 1.4em;
	font-weight: normal;
	color: #FFFFFF;
}
.grid_6 .schoolName {
	font-size: 3em;
	line-height: 1em;
	margin-bottom: 0.3em;
	font-weight: bold;
}
#quoteBox {
	border-bottom: 2px solid #FFFFFF;
	margin-top: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
	line-height: 1.1em;
}
#welcome-msg p {
font-size: 3em;	
margin-bottom: 3px;
}
#welcome-msg a:link {
	font-family: Nuneto, sans-serif;
	font-size: 1em;	
}
.portals .grid_4 {
	text-align: center;
}
.grid_4 a img {
	border:none
}
.grid_3 #newsNav li {
	list-style-type: none;
	padding-left: 0px;
	margin-left: 0px;
}
.grid_3 #newsNav {
	margin-left: 0px;
	margin-top: 12px;
	margin-bottom: 30px;
	padding-left: 0px;
}
#newsNav li a {
	text-decoration: none;
	display: block;
	color: #FFFFFF;
	font-weight: bold;
	font-size: 1em;
	padding-top: 8px;
	padding-bottom: 8px;
	margin-bottom: 5px;
	line-height: 1.1em;
}
#newsNav li a:hover {
	color: #5C98E0;
}
.grid_6 p .doodleit {
	color: #FFFFFF;
}
form div label {
	font-size: medium;
	display: block;
	margin-bottom: 3px;
}
section #contentRounded #formMarginLeft {
	margin-left: 50px;
	margin-right: 40px;
}
#map {
	margin-left: 50px;
	margin-right: 40px;
	height: 400px;
	border-radius: 12px;
	border: 2px solid #5C98E0;
	margin-top: 12px;
	margin-bottom: 15px;
}

#formMarginLeft div input[type=text], #formMarginLeft div input[type=text] div textarea {
	width: 100%;
}
.emailAddress a {
	display: block;
	padding-top: 6px;
	padding-right: 0px;
	padding-bottom: 6px;
	padding-left: 0px;
	font-weight: bold;
	font-size: 1.1em;
	text-shadow: 2px 2px 2px #9FC3F7;
	text-decoration: none;
	text-transform: none;
}
.img_left {
	margin-top: 12px;
	margin-bottom: 12px;
	margin-right: 14px;
	float: left;
}

.img_right {
	margin-top: 12px;
	margin-bottom: 12px;
	margin-left: 14px;
	float: right;
}

.style_a {
	margin-top: 12px;
	margin-bottom: 12px;
	clear:both;

}
#main #quoteBox p {
	font-weight: 300;
	text-align: center;
	color: #123853;
}
body footer p {
	text-align: center;
	color: #FFFFFF;
}
footer p a:link, footer p a:visited, footer p a:active {
	color: #FFFFFF;
	margin-left: 20px;
	margin-right: 20px;
	font-weight: 700;
}
footer p a:hover {
	color: #cccccc;
}
#quoteBox p a:link {
	margin-left: 20px;
	margin-right: 20px;

}
#welcome-msg {
	padding-left: 30px;
	padding-right: 30px;
}

#welcome-msg p {
	font-size: 1.8em;
	margin-top: 7px;
}
body #welcome-msg h6  {
	margin-top: -15px;
}











































/*
LARGER MOBILE DEVICES
This is for mobile devices with a bit larger screens.
*/
@media only screen and (min-width: 481px) {
#banner{
	float: none;
	text-align: center;
}
} 

/*
TABLET & SMALLER LAPTOPS
The average viewing window and preferred media query for those is 768px.
But I think that some more breathing space is good:)
*/
@media only screen and (min-width: 800px) {

.wrapper{
	max-width: 1200px;
	margin-top: 0em;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 0.em;
}
#navigationHolder {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	border-top: 2px solid #FFFFFF;
	margin-top: 1em;
	margin-bottom: 0px;
}
footer {
	text-align: left;	
}
#banner{
	float: none;
	text-align: center;
	margin-bottom: 0px;
	margin-top: 0px;
}
header{
	padding:0;
}
#content {
	float:left;
	width: 63.3333%;
}
#content.wide-content{
	width:100%;
}

.flexslider{
	display: block;
	margin-top: 0;
	margin-right: 0;
	margin-left: 0;
	margin-bottom: 20px;
	background-color: #9FC3F7;
	border: 2px solid #fff;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-o-border-radius: 4px;
	border-radius: 30px;
	box-shadow: 0 1px 4px rgba(0,0,0,.2);
	-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 4px rgba(0,0,0,.2);
	-o-box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.flexslider img {
	border-radius: 30px;
	
}

aside {
	float:right;
	width:30%;
}

/*** MAIN MENU - ESSENTIAL STYLES ***/
.menu-toggle{display:none;}
#menu-main-navigation{
	display: block;
}

.srt-menu, .srt-menu * {
	margin:			0;
	padding:		0;
	list-style:		none;
}

.srt-menu ul {
	position:		absolute;
	display:none;
	width:			12em; /* left offset of submenus need to match (see below) */
}
.srt-menu ul li {
	width:			100%;
}
.srt-menu li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
.srt-menu li {
	float:			left;
	position:		relative;
	margin-left:1px;
}
.srt-menu li li {
	margin-left:0px;
}
.srt-menu a {
	display:		block;
	position:		relative;
}
.srt-menu li:hover ul,
.srt-menu li.sfHover ul {
	display:block;
	left:			0;
	top:			45px; /* match top ul list item height */
	z-index:		99;
	-webkit-box-shadow:  2px 3px 2px 0px rgba(00, 00, 00, .3);
    box-shadow:  2px 3px 2px 0px rgba(00, 00, 00, .3);
}
ul.srt-menu li:hover li ul,
ul.srt-menu li.sfHover li ul {
	top:			-999em;
}
ul.srt-menu li li:hover ul,
ul.srt-menu li li.sfHover ul {
	left:			12em; /* match ul width */
	top:			0;
}
ul.srt-menu li li:hover li ul,
ul.srt-menu li li.sfHover li ul {
	top:			-999em;
}
ul.srt-menu li li li:hover ul,
ul.srt-menu li li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}

/*** Active Styles ***/

#topnav {
text-align: center;
float:right;
position:relative;
left:-50%;
text-align:left;

}
.srt-menu {
float: none;
position:relative;
left:50%;
}
.srt-menu a {
	text-decoration:none;
}
.srt-menu li {
	float: left;
}
.srt-menu li a {
	background-color: #9FC3F7;
	margin: 0;
	padding: 9px 20px 10px;
	height: 45px;
}
.srt-menu a, .srt-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color: #FFFFFF;
}
.srt-menu li li a {
	font-size:..9em;
	font-weight:normal;
	padding-top:2px;
	padding-bottom:2px;
	border-top: 1px solid rgba(255,255,255,.2);
	background: #333; /*fallback for old IE*/
	background-color: #9FC3F7;
	color: #253C8A;
	padding-left: 20px;
	height: auto;
}
.srt-menu li li a:visited{
	color: #253C8A;
}
.srt-menu li li li a,
.srt-menu li.current * li a{
	padding-left:20px;
	background:rgba(0,0,0,.6);
}

.srt-menu li:hover > a,
.srt-menu li.current a{
	color: #fff;
	background-color: #9FC3F7;
}

/* 2nd level hover background colour */
.srt-menu li li:hover > a{
	color: #162555;
	background-color: #5C98E0;
}



/*GRID*/
/*
 & Columns : 12 

 */
.grid_1 { width: 5%; }
.grid_2 { width: 13.333333333333%; }
.grid_3 { width: 21.666666666667%; }
.grid_4 { width: 30%; }
.grid_5 { width: 38.333333333333%; }
.grid_6 {
	font-family: 'Nunito', sans-serif;
	width: 46.666666666667%;
	text-align: center;
}
.grid_7 { width: 55%; }
.grid_8 { width: 63.333333333333%; }
.grid_9 { width: 71.666666666667%; }
.grid_10 { width: 80%; }
.grid_11 {
	width: 88.333333333333%;
	margin-left: auto;
	margin-right: auto;
}
.grid_12 {
	width: 96.666666666667%;
}

.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
	margin-left: 1.6666666666667%;
	margin-right: 1.6666666666667%;
	float: left;
	display: block;
}

.alpha{margin-left:0px;}
.omega{margin-right:0px;}
.rightfloat{float:right;}

.img_left {
	margin-top: 14px;
	margin-bottom: 14px;
	margin-right: 15px;
	border: 2px solid #FFFFFF;
	border-radius: 12px;
	text-shadow: 2px 2px 2px #ABABAB;
}

.img_right {
	margin-top: 14px;
	margin-bottom: 14px;
	margin-left: 15px;
	border: 2px solid #FFFFFF;
	border-radius: 12px;
	text-shadow: 2px 2px 2px #ABABAB;
}

.style_a {
	clear:both
	margin-top: 14px;
	margin-bottom: 14px;
	border: 2px solid #FFFFFF;
	border-radius: 12px;
	text-shadow: 2px 2px 2px #ABABAB;
}


/* @
 * tinyfluidgrid.com
 & girlfriendnyc.com
 */

}

/*
DESKTOP
This is the average viewing window. So Desktops, Laptops, and
in general anyone not viewing on a mobile device. Here's where
you can add resource intensive styles.
*/
@media only screen and (min-width: 1030px) {

} 

/*
LARGE VIEWING SIZE
This is for the larger monitors and possibly full screen viewers.
*/
@media only screen and (min-width: 1200px) {

} 

/*
RETINA (2x RESOLUTION DEVICES)
This applies to the retina iPhone (4s) and iPad (2,3) along with
other displays with a 2x resolution.
*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min--moz-device-pixel-ratio: 1.5),
       only screen and (min-device-pixel-ratio: 1.5) {


} 

/*
iPHONE 5 MEDIA QUERY
iPhone 5 or iPod Touch 5th generation styles (you can include your own file if you want)
*/
@media (device-height: 568px) and (-webkit-min-device-pixel-ratio: 2) { 

  
}

/*
PRINT STYLESHEET
*/
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
#colophon {
	background-color: #2461BA;
}
