/*================================================
CSS Stylesheet for Edmonton Public Schools
Copyright 2012 
Written by Hugh Law on behalf of TERMINALFOUR
www.terminalfour.com

swatch colours - Defaults
------------------

Font sizing Calculation = target size / context

================================================*/

/* Eric Meyer's Reset CSS v2.0 */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
}

article {
  margin-bottom: 20px; 
}  

/* Generic classes
================================================*/

.mobile {display: none;}

.right {float: right}
.left {float: left}
.clear {clear: both}
.hidden {display:hidden}
.paperShadow {
    width:100%;
    background: url('/media/edmontonpublicschoolboard/highschoolsites/highschoolstyleassets/images/background/pageShadow.png') no-repeat left top;
    height:10px;
    background-size: 100%;
    margin-bottom: 10px;
}

/* YE added to remove empty li produced by Community Relationship data produced by PeopleSoft */

li:empty {
   display: none;
}

/* Grid Layout
================================================*/

.container_12 {width:100%; clear: left;}

.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%;
    margin-right: 1%;
    float:left;
}

.grid_1 {width: 6.33333%;}
.grid_2 {width: 14.66666%;}
.grid_3 {width: 23%;}
.grid_4 {width: 31.33333%;}
.grid_5 {width: 39.66666%;}
.grid_6 {width: 48%;}
.grid_7 {width: 56.33333%;}
.grid_8 {width: 64.66666%;}
.grid_9 {width: 73%;}
.grid_10 {width: 81.33333%;}
.grid_11 {width: 89.66666%;}
.grid_12 {width: 98%;}

.grid_1.alpha, .grid_2.alpha, .grid_3.alpha, .grid_4.alpha, .grid_5.alpha, .grid_6.alpha, .grid_7.alpha, .grid_8.alpha, .grid_9.alpha, .grid_10.alpha, .grid_11.alpha, .grid_12.alpha  {margin-left: 0;}
.grid_1.omega, .grid_2.omega, .grid_3.omega, .grid_4.omega, .grid_5.omega, .grid_6.omega, .grid_7.omega, .grid_8.omega, .grid_9.omega, .grid_10.omega, .grid_11.omega, .grid_12.omega  {margin-right: 0;}


select, input {font-size: inherit;}
body, select, input {font-family: /*'PTSansRegular',*/ Helvetica, Arial, sans-serif; color: #333;}

#topContainer, .content, footer {line-height: 1.25em; /*padding-left:10px; padding-right: 10px;*/}

/* Headings
================================================*/
h1, h2, h3, h4, h5, h6 {margin-bottom: 15px; line-height: 1.1em;}
h1, h2, h3, h4, h5, h6, .noticeTitle {text-transform: uppercase;}
h1, .noticeTitle {font-size: 1.85714285em; line-height: 1em;} /* 26px/14px */
h2 {font-size: 1.4285714285em;} /* 20/14px */
h3 {font-size: 1.25em;}
h4 {font-size: 1.15em;}
h4.title {font-weight:bold;}
h5 {font-size: 1.1em;}
.whiteHeading{color:#FFF;}

/* General HTML elements
================================================*/

body {background: url(../images/background/backgroundTile.jpg) repeat #EEE; font-size: 16px !important;}

/*img {max-width:100%; height: auto;} Disabled: breaks contact us */


.generalImage{padding-right:2%;}

hr {
    background-color: #DDDDDD;
    border: medium none;
    height: 1px;
    clear: both;
}

.mobile hr {
    height: 2px;
    background: url('/media/edmontonpublicschoolboard/highschoolsites/highschoolstyleassets/images/background/m_dividerBg.gif') repeat-x #CCC;
    margin:10px 0;
}

strong {font-weight: bold;}
em {font-style: italic;}

table {
    width: 100%;
    margin-bottom: 15px;
    text-align: left;
}
th, td {
    padding: 5px;
}
tr {
    -moz-transition: background-color 0.3s ease 0s;
}
tr:hover {
    -moz-transition: background-color 0.3s ease 0s;
    background-color: #F6F6F6;
}
th {
    border-bottom: 1px solid #CCCCCC;
}
td {
    border-bottom: 1px solid #EEEEEE;
}
thead, th {
    font-weight: 700;
}
dl {margin-bottom: 15px;}
dt {font-weight: bold;}
dd {padding-left: 15px; border-left:1px solid #EEE;margin-bottom: 10px; margin-top: 5px;}

/* Lists
================================================*/

ul, ol {
    list-style-position: outside;
    margin-left: 20px;
    margin-bottom: 1.3em;
}
ul ul, ol ol, ul ol, ol ul {margin-bottom: inherit;}

ul li {list-style-type: disc;}
ul ul li {list-style-type: circle;}
ul ul ul li {list-style-type: square;}

ol {

}

ol li {list-style-type: decimal;}
ol ol li {list-style-type: lower-alpha;}
ol ol ol li {list-style-type: lower-roman;}

/*
article li {
    list-style-position: inside;
    text-indent: -1em;
    padding-left: 1em;    
} */ 

/* Forms
================================================*/

fieldset {border:1px solid #EEE;padding:15px;margin-bottom: 15px;}
legend {padding-left: 5px; padding-right: 5px; margin-left: -5px; color: #999; text-transform: uppercase;}
label {display: block;}
label.floatedLabel {
    display: inline-block;margin-bottom: 10px;
}
input[type=text], input[type=password], input[type=button] {
    width: 95%;
    margin-bottom: 10px;
    border:1px solid #CCC;
    height:30px;
    line-height: 30px;
    padding:0;
}
input[type=button] {
    background-color: #F3F3F3;
    border:1px solid #CCCCCC;
    text-transform: uppercase;
    height: 30px;
    line-height: 30px;
    padding:0;
}

fieldset input[type=text], fieldset input[type=password], fieldset input[type=submit] {width:100%;}

#contact-form-e form.contact-form div textarea{width:76%;}

/* Links
================================================*/

a:link.telLink, a:visited.telLink {color: inherit;}

a {text-decoration: none;}

/* Background images
================================================*/

#backgroundImage {
    position: absolute;
    top:35px;
    left:0;
    width: 100%;
    height: 1000px;
}

.darkTheme {
	background-position: left top; 
    background-repeat: no-repeat;
}  

/* Main content wrapper
================================================*/

.wrapper {
    width: 90%;
    max-width:1024px;
    margin:auto;
    position: relative;
}

#topContainer, .content {background-color: white;}
#home .content {background-color: transparent;}
#contentMain {background-color: white;}

.content {font-size: 0.875em; line-height: 1.3em;}

p {margin-bottom: 1em;}



/* Background / slideshow background
================================================*/
#slideshowWrapper {background-color: rgba(255, 255, 255, 0.5)}

/* Meta Nav
================================================*/

#metaNavBackground {
    height: 35px;
    background-color: #333;
    color: white;
    position: absolute;
    left:0;
    top:0;
    width:100%;
}

#metaNav {
    height: 35px;
    overflow: hidden;
}

#metaNav img {margin-top: 7px;}

#metaNav .styledSelect {
    background: url('/media/edmontonpublicschoolboard/highschoolsites/highschoolstyleassets/images/background/dropdownArrow.png') no-repeat 90% 50%;
    width:150px;
    overflow: hidden;
    height:35px;
    line-height: 35px;
}

#metaNav select {width:200px;}
#metaNav option {background-color: #333;}
#metaNav option:first-child {background-color: transparent;}

#metaNav select {
    background: none repeat scroll 0 0 transparent;
    border: medium none;
    color: white;
    font-size: 0.875em; /* 14px/16px */
    -webkit-appearance: none;
}

#metaNav input {
    border: none;
    background-color: white;
    color: #CCC;
    height: 25px;
    line-height: 25px;
    margin-top: 5px;
    padding:0 10px;
    width:200px;
    font-size: 0.8125em; /* 13px/16px */
}

#metaNav a.mobile {margin-right: 5px;}

#metaNav form.mobile {
    background-color: #333;
    padding:15px;
    position: absolute;
    z-index: 999;
    top:35px;
    right:0;
    width:50%;
}

#metaNav form.mobile input {
    width:96%;
    margin:0;
    padding:0;
    padding-left:2%;
    padding-right: 2%;
    height:30px;
    line-height: 30px;
    }
    
#metaNav form.mobile input[type=text] {margin-bottom: 10px;}
#metaNav form.mobile input[type=submit] {width:100%; background-color: #DDD; color: #333;border:1px solid #EEE;}

/* Background images
================================================*/

#backgroundImage {
    /*position: absolute;
    top:35px;
    left:0;
    width: 100%;
    height: 1135px; */
}

/* Header
================================================*/

#headerBackground {
    width:100%;

}

#header {
}

#header address.desktop {
    text-align: right;
    margin-top: 35px;
    font-size: 1.125em; /* 18px/16px */
}

#header address.mobile {clear: both;}

#header span.mobile.right {text-align: right;}

#logo {float: left; width: 50%;}


/* Primary Navigation
==================================================*/

.primaryNav {margin-bottom: 10px; margin-top:10px;}

.primaryNav ul {
    margin:0;
    padding:0;
}

.primaryNav li {
    position: relative;
    list-style: none;
    float: left;
    text-transform: uppercase;
    font-size: 0.875em;
    line-height: 1em;
}

.primaryNav ul ul {
    display:none;
    position:absolute;
    z-index:999;
}

.primaryNav ul ul ul {
    display:none;
}
.primaryNav ul ul ul li{
    display:none;
}
.primaryNav ul ul ul ul{
    display:none;
}
.primaryNav ul ul ul ul{
    display:none;
}
.primaryNav ul ul li {
    clear: left;
    display: block;
    float: left;
    font-size: 1em;
    width: 100%;
      
}

.primaryNav li:hover {
    background-color: white;
}

.primaryNav > ul > li > a:hover {background-color: #FAFAFA;}

.primaryNav li:hover > ul {
    display:block;
    background-color:#FAFAFA;;
    /*border: 1px solid #EEE;*/
}

.content .primaryNav li {font-size: inherit;}

.primaryNav a {
    -moz-transition: color 0.2s ease-in;
    -webkit-transition: color 1s ease-in;
    -o-transition: color 1s ease-in;
    transition: color 0.1s ease-in;
    white-space: nowrap;
}
.primaryNav a:link {
    color: #333333;
    display: block;
    height: 40px;
    line-height: 40px;
    padding-left: 15px;
    padding-right: 15px;
}

.primaryNav a:visited {
    color: #333;
}
.primaryNav a:hover {
    background-color: #EEE;
}
.primaryNav a:active {
    
}

#mobileNavigation {
    background: url('/media/edmontonpublicschoolboard/highschoolsites/highschoolstyleassets/images/background/m_dropdownArrow.png') no-repeat right center white;
    border:1px solid #CCC;
    height:35px;
    line-height: 35px;
    text-transform: uppercase;
    margin-top: 20px;
    margin-bottom: 20px;
}

#mobileNavigation a {display:block; color: #333; margin-left: 10px;}

.primaryNav.mobile {position: relative; top:-20px;}
.primaryNav.mobile li, #mobileSecondaryNav li {
    display: block;
    float: none;
    background-color: #FAFAFA;
    height: 40px;
    line-height: 40px;
    margin:0;
    border:1px solid #EEE;
    border-bottom: 1px solid #EEE;
    border-top: 1px solid white;
}

.primaryNav.mobile a {padding-left:10px; padding-right: 10px; display: block;}
.primaryNav.mobile a:hover {border: none;}

/* Secondary Navigation
==================================================*/

#secondaryNav ul {
    margin:0;
    padding:0;
    list-style:none;
}

#secondaryNav ul ul {background-color:#d0d0d0;}
#secondaryNav ul ul ul {background-color:#e0e0e0;}
#secondaryNav ul ul ul ul {background-color:#e9e9e9;}
#secondaryNav ul ul ul ul ul{background-color:#f3f3f3;}
#secondaryNav ul ul ul ul ul ul{background-color:#fefefe;}

#secondaryNav ul li span.currentbranch0 a{font-weight:bold;}
#secondaryNav ul li ul li span.currentbranch1 a{font-weight:bold;}
#secondaryNav ul li ul li ul li span.currentbranch2 a{font-weight:bold;}

#secondaryNav li {
    list-style:none;
    min-height:20px;
    margin-top:2px;
    margin-bottom:2px;
}

#secondaryNav a {display: block;}

#secondaryNav ul ul li a {
    padding-left:5%;
}

#secondaryNav ul ul ul li a {
    padding-left:8%;
}

#secondaryNav ul ul ul ul li a {
    padding-left:11%;
}

#secondaryNav ul ul ul ul ul li a {
    padding-left:14%;
}

#secondaryNav ul ul ul ul ul ul li a {
    padding-left:17%;
}

#mobileSecondaryNav ul {
    margin-left: 0;
}

#mobileSecondaryNav a {padding-left: 7px; text-transform: uppercase; display: block;}

/* Slideshow
==================================================*/

#slideshowWrapper {
    display:table;
    width: 100%;
}

#slideshow, #slideshowLinks {padding-top:20px; padding-bottom:20px}

#slideshow {width:60%; padding-left:1%; padding-right: 1%;}

div.full #slideshow {width:98%; padding-left:1%; padding-right: 1%;}

#slideshow ul {
    margin: 0;
    padding: 0;
}

#slideshow li {
    list-style: none;
}

#slideshowNavPrev, #slideshowNavNext {
    width:50px;
    height:44px;
    position: absolute;
}

.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }

.rslides li {
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  max-height:350px;
  float: right;
  width: 100%;
  border: 0;
  }
  
.rslides1_nav {
    background: url('/media/edmontonpublicschoolboard/highschoolsites/highschoolstyleassets/images/background/slideshowLeftArrow.png') no-repeat scroll center center black;
    height: 50px;
    left: 0;
    margin-top: -25px;
    overflow: hidden;
    position: absolute;
    text-decoration: none;
    text-indent: -9999px;
    top: 50%;
    width: 44px;
}

.rslides1_nav.next {
    background-image: url('/media/edmontonpublicschoolboard/highschoolsites/highschoolstyleassets/images/background/slideshowRightArrow.png');
    left: auto;
    right: 0;
}

/* Slideshow Links
==================================================*/

#slideshowLinks {
    width:35%;
}

div.full #slideshowLinks {
    width:100%;
    margin: 0;
}


div.full #slideshowLinks a {
    margin: 0 18px 0 3px;
}

#slideshowLinks span {
    display: block;
    line-height: 35px;
    /*width: 26%; */
    padding-left: 4%;
    padding-right: 30px;
    margin-bottom: 15px;
    background-image: url('/media/edmontonpublicschoolboard/highschoolsites/highschoolstyleassets/images/background/hs_slideshowLinkArrow.png');
    background-repeat: no-repeat;
    background-position: right center;
}

#slideshowLinks a {
    color: white;
    text-transform: uppercase;
    font-size: 1.42857em;
    display:block;
}
#slideshow .caption {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0.8);
    bottom: 0;
    color: #FFFFFF;
    display: block;
    font-size: 20px;
    left: 0;
    margin: 0;
    max-width: none;
    padding: 10px 20px;
    position: absolute;
    right: 0;
    text-shadow: none;
    z-index: 2;
}


/* Main Content Area
==================================================*/

.content {padding-bottom: 20px;}
#rightColumn, aside {margin-top: 20px;}

#rightColumn {float: right;}
#rightColumnAside {float: right;}
div.grid_12 div.grid_4 div.module h2.colorOne{color:#FFFFFF;padding: 5px;}

/* Asides
=================================================*/

aside div {
    clear: both;
    margin-bottom: 15px;
}

aside h2 {
    height:35px;
    line-height: 35px;
    padding-left: 4%;
    margin-left: -4%;
}

aside img {
    float: left;
    height: auto;
    margin-bottom: 3%;
    margin-right: 3%;
    width: 45%;
}


/* yoav added in support of general content for columns YE */
aside .generalContentColumns img {
 	width: 100%; 
}

.darkTheme aside h2 {
    color: white;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.35);
}

.lightTheme aside h2 {
    color: #333;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.35);
}

/* Right Column
=================================================*/

#rightColumn{
    float:right;
}


/* Footer
=================================================*/

footer {
    padding-top: 20px;
    padding-bottom: 20px;
    color: white;
    font-size: 0.8125em; /*13px/16px */
}

footer h4 {
    font-size: 1.23076923em; /* 16px/13px */
    text-transform: none;
}

footer a:link, footer a:visited {
    color: white;
}

footer a:before {
    content:'\203A\00a0'; /* Have to use ISO code, this is a › plus a space - see http://www.evotech.net/blog/2007/04/named-html-entities-in-numeric-order/ for more info */
}

footer #footerAddress a:before {content:"";}

#footerAddress .label {display:block; width:25%; float: left; clear: both;}

#footerAddress .telephone, #footerAddress .fax, #footerAddress .website {width:73%; float: right;}

/* Social Media icons
=================================================*/

#socialMedia {margin-bottom: 15px;; height:31px;}
#socialMedia img {
    margin-right: 5px;
    margin-bottom: 5px;
    width:30px !important;
    height:30px !important;
    }

/* Notice warning note
=================================================*/

.notice {
    padding:10px;
    background-color: #FFB81C;
}

.notice p {
    margin-bottom: 15px;
}

.notice hr {background-color: #E5E88E;}


/* Media Queries
=================================================*/

@media screen and (max-width:980px) {
    .primaryNav li a:link {padding-right:7px; padding-left: 7px;}
    .wrapper {width:99%;}
    #header img {height: 85px; width: auto;}
    #header address. desktop {font-size: 0.875em; /* 14px/16px */}
    #slideshow {width:98%;float: none;}
    #slideshowLinks {display: block; width: 98%; margin: 0 1%; margin-top: 5px !important;}
}

@media screen and (max-width:480px) {
    .container_12 {width:94%; margin:0 3%;}
    .grid_1, .grid_2, .grid_3, .grid_4, .grid_5, .grid_6, .grid_7, .grid_8, .grid_9, .grid_10, .grid_11, .grid_12 {display:block; margin:0; float: none; width:98%; padding:0 1%;}
    .mobile {display: inherit;}
    .desktop {display: none;}
    body {background: url('/media/edmontonpublicschoolboard/highschoolsites/highschoolstyleassets/images/background/m_backgroundTile.png') repeat white;}
    #headerBackground {background: none !important; padding-bottom: 0;}
    h1 {font-size: 1.285714em;}
    h2 {font-size: 1.25em}
    h3 {font-size: 1.2em}
    h4 {font-size: 1.15em}
    .notice {font-size: 0.857142em;line-height: 1.3em;}
    .noticeTitle {font-size: 1.5em;}
    #header {margin-top: 10px; margin-bottom: 10px; padding:0 1%; font-size: 0.875em;}
    #logo {display:block; width:100%; text-align: center;margin-bottom: 10px;}
    #topContainer, .content {background: none;}
    #topContainer {margin-bottom: 0; padding-bottom: 0;}
    #slideshow, div.full #slideshow {padding:0;}
    .slideText, .slideCaption, .rslides img {width:100%; display: block;}
    .rslides1_nav {left:0;}
    .slideText {margin-top: 10px;}
    p.slideCaption {text-transform: uppercase;margin-bottom: 5px;font-size: 0.875em;}
    p.slideSubtext {font-style: italic; font-size: 0.875em;}
    .rslides_nav {top:25px;}
    #rightColumn {margin-bottom: 10px;}
    #socialMedia {text-align: center;padding-top: 10px;}
    #socialMedia img {float: none;}
    aside h2 {margin-left: 0;}
    footer.container_12 {margin:0; width:96%; padding:3%;}
    footer .mobile hr {height:1px; background:none rgba(255,255,255,0.2) !important;}
    #secondaryNav li {margin-top:5px;margin-bottom: 5px;}
    #slideshowLinks {padding-left: 1%;}
}



/* News
=================================================*/

.latestNews h2{
    color:#fff;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35);
    height:auto;
    line-height:35px;
    padding-left: 3%;

}

.newsdate{
    font-size:12px;
    color:#686868;

}

.datetab{width:60px; height:56px; color:#d0d0d0; font-weight:700;float:right;margin-left:5px;position:relative;}
.datetab .month{width:100%; text-align:left; position:relative; top:5px; padding-left:5px; font-size:16px;}
.datetab .day{width:100%; text-align:left; position:relative; top:12px; font-size:28px;padding-left:5px;}
.year{ 
    position:absolute;
    text-indent: -1000em;   
    background-image:url(/media/edmontonpublicschoolboard/highschoolsites/highschoolstyleassets/images/background/years.png);background-repeat:no-repeat;
    top: 2px; 
    right: 5px; 
    width: 15px; 
    height: 46px;
}

.y-07{ background-position: 0 -853px;} 
.y-08{ background-position: 0 -804px;} 
.y-09{ background-position: 0 -755px;} 
.y-10{ background-position: 0 -706px;} 
.y-11{ background-position: 0 -657px;} 
.y-12{ background-position: 0 -608px;} 
.y-13{ background-position: 0 -559px;} 
.y-14{ background-position: 0 -510px;} 
.y-15{ background-position: 0 -461px;} 
.y-16{ background-position: 0 -412px;} 
.y-17{ background-position: 0 -363px;} 
.y-18{ background-position: 0 -314px;} 
.y-19{ background-position: 0 -265px;} 
.y-20{ background-position: 0 -216px;} 
.y-2021{ background-position: 0 -167px;} 
.y-22{ background-position: 0 -118px;} 
.y-23{ background-position: 0 -69px;} 
.y-24{ background-position: 0 -20px;} 

ul.latestnews-clean li {
    border-bottom: 1px dashed #97969B;
    display: block;
    line-height: 17px;
    list-style: none outside none;
    margin: 0;
    padding: 15px 0 20px;
}

ul.latestnews-clean li a:link {
    font-weight: bold;
}
ul.latestnews-clean li a.readon:link, .w33 a.readon:link, ul.latestnews-clean li a.readon:visited, .w33 a.readon:visited {
    float: right;
    font-weight: normal;
    margin-top: -10px;
}

#rightColumn.grid_9 li.latestnews-clean{
  
    list-style:none;
    border-bottom: 1px dashed grey;
    margin-bottom: 25px;

}

.fullNewsImg{
	float:left;
	max-width:800px;
	padding-right:2%;
	padding-bottom:2%;
	
	}

.thumbnailImage{max-width:150px}

#paginationLinks a{
  		padding: 3px;
   		border: 1px solid #c7c7c7;
    }

article.hideDisplayDate div.datetab {
 	display: none; 
}  


/* T4 Additions
=================================================*/

/* Teams image rollover display */

  #screenshot{
	position:absolute;
	border:0px solid #;
	padding:0px;
	display:none;
	
	}


/* Alternating row colours on tables */

.stripeMe tbody tr.odd{background-color:#C1C1C1}  
.stripeMe tbody tr.even{background-color:#E2E2E2}  


/* Responsive iframe/youtube video fix */

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Body image max size */
 article p img, #schoolAssessmentKicker img{
  max-width:100%;
  height: auto;
  width: auto\9; /* ie8 */
}

/* Body image general content selected image */
article p img.generalImage{max-width:200px}

/* Team & Roster player pop up */
.playerpopup{max-width:300px}


/* Content links */
a[href$='.zip'], a[href$='.rar'], a[href$='.gzip'] {
	background:transparent url('/media/edmontonpublicschoolboard/highschoolsites/highschoolstyleassets/images/background/zip.png') center left no-repeat;
	display:inline-block;
	padding-left:20px;
	line-height:18px;
}
a[href$='.doc'],a[href$='.docx']{
	background:transparent url('/media/edmontonpublicschoolboard/highschoolsites/highschoolstyleassets/images/background/word.png') center left no-repeat;
	display:inline-block;
	padding-left:20px;
	line-height:18px;
}
a[href$='.xls'],a[href$='.xlsx']{
	background:transparent url('/media/edmontonpublicschoolboard/highschoolsites/highschoolstyleassets/images/background/excel.png') center left no-repeat;
	display:inline-block;
	padding-left:20px;
	line-height:18px;
}
a[href$='.mpeg'],a[href$='.mp3']{
	background:transparent url('/media/edmontonpublicschoolboard/highschoolsites/highschoolstyleassets/images/background/audio.png') center left no-repeat;
	display:inline-block;
	padding-left:20px;
	line-height:18px;
}
a[href$='.pdf']{
	background:transparent url('/media/edmontonpublicschoolboard/highschoolsites/highschoolstyleassets/images/background/pdf.png') center left no-repeat;
	display:inline-block;
	padding-left:20px;
	line-height:18px;
}

/*add an hand icon for images in article content*/
article p img.fancyboximage{cursor: pointer;cursor: hand;}

.news-thumbnail{
	max-width:150px;
	float: left;
  	padding-right: 15px;
}

/*IE fix for gallery*/
#GalleryContainer div#gallery.ad-gallery div.ad-nav div.ad-thumbs ul.ad-thumb-list li{list-style:none}

/*News fixes*/
.latestNewsItem{clear:both; margin-bottom:25px;}
a.readon{float:right; padding-right:1%}


/* Left Nav header fix */
.leftNavHeader{padding-left:5px; margin-left: -9px;}

/* header address multiple outputs */
.campusaddress{clear:right}

/* generic hide class */
.hidden{display:none}

/* direct edit link */
div.deditpage a, div.dedit a.t4Edit-page{font-weight:normal;font-size: 12px; font-weight: normal !important;}

/* Google Calendar fix -left col */
.darkTheme div.wrapper div.content aside.grid_3 div.google-cal-container iframe{width:99% !important; height:250px !important }
/* Google Calendar fix -right col */
html body.darkTheme div.wrapper div.content aside#rightColumnAside.grid_3 div.google-cal-container{width:99% !important; height:250px !important }

/**********************************************************
							! fancyBox v2.1.0 fancyapps.com | fancyapps.com/fancybox/#license 
***************************************************************/
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}
.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}
.fancybox-skin {
	position: relative;
	background: #f9f9f9;
	color: #444;
	text-shadow: none;
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	        border-radius: 4px;
}
.fancybox-opened {
	z-index: 8030;
}
.fancybox-opened .fancybox-skin {
	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	   -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.fancybox-outer, .fancybox-inner {
	position: relative;
}
.fancybox-inner {
	overflow: hidden;
}
.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}
.fancybox-error {
	color: #444;
	font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	margin: 0;
	padding: 15px;
	white-space: nowrap;
}
.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
}
.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
	background-image: url('/media/edmontonpublicschoolboard/ejh/elementarystyleassets/images/background/fancybox_sprite.png');
}
#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
}
#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: url('/media/edmontonpublicschoolboard/ejh/elementarystyleassets/images/background/fancybox_loading.gif') center center no-repeat;
}
.fancybox-close {
	position: absolute;
	top: -18px;
	right: -18px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 8040;
}
.fancybox-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('/media/edmontonpublicschoolboard/ejh/elementarystyleassets/images/background/blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}
.fancybox-prev {
	left: 0;
}
.fancybox-next {
	right: 0;
}
.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 36px;
	height: 34px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
	visibility: hidden;
}
.fancybox-prev span {
	left: 10px;
	background-position: 0 -36px;
}
.fancybox-next span {
	right: 10px;
	background-position: 0 -72px;
}
.fancybox-nav:hover span {
	visibility: visible;
}
.fancybox-tmp {
	position: absolute;
	top: -9999px;
	left: -9999px;
	visibility: hidden;
}
/* Overlay helper */
.fancybox-lock {
	overflow: hidden;
}
.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	background: url('/media/edmontonpublicschoolboard/ejh/elementarystyleassets/images/background/fancybox_overlay.png');
}
.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}
.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}
/* Title helper */
.fancybox-title {
	visibility: hidden;
	font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	position: relative;
	text-shadow: none;
	z-index: 8050;
}
.fancybox-opened .fancybox-title {
	visibility: visible;
}
.fancybox-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 50%;
	margin-bottom: -35px;
	z-index: 8050;
	text-align: center;
}
.fancybox-title-float-wrap .child {
	display: inline-block;
	margin-right: -100%;
	padding: 2px 20px;
	background: transparent; /* Fallback for web browsers that doesn't support RGBa */
	background: rgba(0, 0, 0, 0.8);
	-webkit-border-radius: 15px;
	   -moz-border-radius: 15px;
	        border-radius: 15px;
	text-shadow: 0 1px 2px #222;
	color: #FFF;
	font-weight: bold;
	line-height: 24px;
	white-space: nowrap;
}
.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}
.fancybox-title-inside-wrap {
	padding-top: 10px;
}
.fancybox-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #000;
	background: rgba(0, 0, 0, .8);
}


/*Fix images added by tinyMCE will conform to the same resizing as the image element
.fancyboximage {
    height: auto !important;
    width: 40% !important;
}
YE change
*/

@media screen and (max-width: 500px) {
  .fancyboximage {
      height: auto !important;
      width: 100% !important;
  }
}

/* search styling */
#SearchFrom input[type="radio"]{display:inline-block; width:30px; width:11px\9; float:left;background:none;}
#SearchFrom label{position:absolute; left:-9999px;float:left; color:#fff;}
#SearchFrom label.radio-label{position:static; float:left; margin-top:10px;}
#SearchFrom.mobile label.radio-label{margin:8px 5px 15px 6px;  height:auto;padding-top:5px; padding-bottom:5px;}
#SearchFrom.mobile input[type="radio"]{display:inline-block; width:30px; float:left; height:auto; margin-top:15px;}
#SearchFrom {font-size:0.875em;}
#metaNav form.mobile input{width:213px;}

#SearchFrom input[type="text"]
{
    color:#000;
}




