/*  =======================================

   Theme Name: Te Kura o Matapihi
   Version: 2.8
   Last modified: 21 June 2018
   Author: Charlotte Ivey
   Author contact: charlotte@etime.co.nz
   Author URI: http://www.etime.co.nz
   ========================================================= */

/*-------------------------------------------------------------------------------
	THEMES
Data-theme 0 - LIGHT
Data-theme 1 - DARK

#ffde00 - yellow
#015a8d - blue for links
#c81149 - red for links hover
#000 - text
#dcdcdc - grey wash
----------------------------------------------------------------------------------*/

/*DARK BGS IN PUBLISHED AND  EDIT MODE*/
[data-theme="1"] .u2-paragraph,  [data-theme="1"] .Paragraph,
[data-theme="1"] .iFrame, [data-theme="1"] .Content, [data-theme="1"] .NewsCentreBanner,   [data-theme="1"] .NewsCentreCards, [data-theme="1"] .IconLinks, [data-theme="1"] .u2-heading, [data-theme="1"] .Heading,  [data-theme="1"] #edtHeading,
[data-theme="1"] .ContentWithLinks, ContentWithLinks[data-theme="1"] .ContentWithLinks .Text, 
[data-theme="1"] .Divider{
background-color:#ffde00;
width:100%;
color:#000;
padding-bottom:0em;
}

/*DARK BG NEWS CARDS - LIGHT BOXES*/
[data-theme="1"] .u2-news-card .u2-more,
[data-theme="1"] .u2-news-card .u2-content,
[data-theme="1"] .u2-description p {
background-color:#fff;
width:100%;
color:#000;
}

.IconLinks .col .u2_icon_title{
font-size:11px;
font-weight:normal;
}

/*LIGHT BG NEWS CARDS - DARK BOXES*/
[data-theme="0"] .u2-news-card .u2-more,
[data-theme="0"] .u2-news-card .u2-content,
[data-theme="0"] .u2-description p {
background-color:#ffde00;
width:100%;
color:#000;
}

[data-theme="0"] .u2-news-card .u2-link a, [data-theme="1"] .u2-news-card .u2-link a{
color:#015a8d;
}

[data-theme="0"] .u2-news-card .u2-link a:hover, [data-theme="1"] .u2-news-card .u2-link a:hover{
color:#c81149;
}

/*DARK BG HEADINGS*/
[data-theme="1"][data-u2-module="Heading"]{
background:#ffde00 !important;
padding-bottom: .2em; 
text-align:center;
color:#fff;
border-left:none !important;
} 

/*ALL MODULES ALIGNED TO CENTRE */
[data-theme="1"] .u2-content, [data-theme="0"] .u2-content, 
[data-theme="1"] .u2-paragraph, [data-theme="0"] .u2-paragraph, [data-theme="1"] .Paragraph, [data-theme="0"] .Paragraph, /*paragraphs*/
[data-theme="1"] .u2-heading, [data-theme="0"] .u2-heading, /*headings*/
[data-theme="1"] .u2-find-more, [data-theme="0"] .u2-find-more, 
[data-theme="1"] .u2-description p, [data-theme="0"] .u2-description p{
text-align:center;
}

/*LINKS*/
[data-theme="1"] .u2-paragraph a /*dark BG*/{
color:#015a8d;
}

[data-theme="1"] .u2-paragraph a:hover /*dark BG*/{
color:#c81149;
}

[data-theme="1"][data-u2-module="Paragraph"]{
background:#ffde00 !important;
color:#000;
}

[data-theme="1"][data-u2-module="Page_iframe"]{
background:#ffde00 !important;
color:#000;
}

[data-theme="1"][data-u2-module="Content"]{background:#ffde00 !important; color:#000;}
[data-theme="1"][data-u2-module="ContentWithLinks"]{background:#ffde00 !important; color:#000;}
[data-theme="1"][data-u2-module="NewsCentreCards"]{background:#ffde00 !important; }
[data-theme="1"][data-u2-module="IconLinks"]{background:#ffde00 !important; }
[data-theme="1"][data-u2-module="Divider"]{background:#ffde00 !important; }


[data-theme="1"] .card-text{
background-color:#fff; 
color:#000;
}


[data-theme="0"] .u2-content, [data-theme="0"] .u2-paragraph, [data-theme="0"] .u2-heading, [data-theme="0"] .ContentWithLinks .Text, [data-theme="0"] .card-text, [data-theme="0"] .u2-find-more{color:#000;}
[data-theme="0"] .card-text{}


[data-theme="0"] .u2-paragraph{
text-align:center;
color:#000;
padding-bottom:0em;
}

[data-theme="0"] .u2-heading {
text-align:center;
padding-bottom:0em;
background:none;
}

[data-theme="0"] .ContentWithLinks .Text {
color:#000;
padding-bottom:2em;
}


/*--------------------------------------------------------------------------------
	BRANDING & BANNER
-----------------------------------------------------------------------------------*/

/* School logo */
.u2-menu-outer .navbar-brand img {
width: 314px;
height:69px;
}

.u2-menu-outer .u2-menu-block {
background:#000;
border-bottom:#ffde00 solid 10px;
}

/*banner area*/
.u2-menu-outer:not(.stuck) .u2-menu-block, .u2-menu-outer.stuck .u2-menu-block, .u2-menu-outer .u2-menu-block {
	padding: 25px 10px 15px 20px;
  	position:static !important;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  body .u2-menu-outer.stuck{
    	position:static !important;
  } 
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .u2-menu-outer.stuck {
      position:static !important;
    }
}

/*logged in view- moving banner to sit below toolbar*/
.u2-menu-outer[data-authenticated="1"].stuck, .u2-menu-outer[data-authenticated="1"]:not(.stuck) {
  top: 32px;
}

/*------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
///////////////////////////////////////////////////////////////////////////// BODY STYLING ////////////////////////////////////////////////////////////////////////////////
/*-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/


/*--------------------------------------------------------------------------------
	EDIT MODE AND PAGE CONTENT DISPLAY
-----------------------------------------------------------------------------------*/
#PageHTML_Content, #WikiPages, #Categories, .tab-content, main .Paragraph, main .Text, .outer > .inner li[data-lock='1'] div.Text, /*.Paragraph*/ .u2-content, .u2-news-item p, body {
font-size:14px;
color:#282828;
}

/*--------------------------------------------------------------------------------
	HEADINGS
-----------------------------------------------------------------------------------*/
/* Heading - pages */
main .u2-heading{
	color: #282828;
	text-align: left;
	margin-bottom:30px; 
}


h3.u2-heading[data-size='3'], h3.u2-heading[data-size='4'], h3.u2-heading[data-size='5'] {
	font-size:38px;
 	 font-weight:600;
}

h3.u2-heading[data-size='1'] {
	color:inherit;
   	font-weight:600;
}

/* Heading - homepage */
.container.Heading {
	margin:0px;
	width:100%;
	padding:0px;
}


/*--------------------------------------------------------------------------------
	BREADCRUMBS NAV BAR
-----------------------------------------------------------------------------------*/
/* Breadcrumbs nav bar */
.breadcrumb {
text-shadow: none;
padding: 9px 43px !important;
font-size:11px;
min-height:0px !important;
display:none;
background-color:#cd1f26;
}

.col-md-12{ /*Hack to remove 1px min height when breadcrumb bar hidden*/
min-height:0px;
}

.breadcrumb a {
color: #bfcce4;
/*display:none;*/
}

.breadcrumb > li + li:before {
color:#bfcce4;
 /*display:none;*/
} /*slash*/

.breadcrumb > .active {
color: #f6f6f6;
  /*display:none;*/
}

.page-head {
	background-color: #203966;
	margin-bottom:60px;
}

.page-head .header-wrapper {
padding-bottom: 0px;
padding-top: 0px;
border: none;
background-color: #d9d9d9;
}

#header-wrapper .row :before, #header-wrapper .row :after{
/*display:none;*/
}

.ParentAccessIndicator{
color:#fff;
padding:12px 10px;
}/*Lock icon*/

.ParentAccessIndicator .PageTools_ParentToolTip{
color:#868686;
}

/*--------------------------------------------------------------------------------
	HYPERLINKS
-----------------------------------------------------------------------------------*/
/*hyperlinks*/
a {
color:#015a8d;
}

a:hover, a:focus{
  color:#c81149;
}

/*--------------------------------------------------------------------------------
	PAGES
-----------------------------------------------------------------------------------*/
/* main content */
body {
background: /*#f6f6f6*/ #fff;
}

 main.container-fluid, main.container  {
background:none;
}

.Page_p li {
margin:8px 0px;
 } /* list line height override*/

/* Background */
main {
padding: 0;
}

main.container-fluid, main.container {
padding: 0;
}

/* Text wrapping */
main .u2-heading, main #PageHTML_Content, main #WikiPages, main .Text, main .Paragraph {
-ms-word-break: break-word;
word-break: break-word;
 }

sub{
color:#777;
}

/*--------------------------------------------------------------------------------
	MENU
-----------------------------------------------------------------------------------*/
/* Menu offsets */

@media (min-width: 769px) {
	.u2-menu-outer[data-authenticated='1'] .u2-menu-block .u2-nav-links {max-width: calc(100%  350px); }
	.u2-menu-outer[data-authenticated='0'] .u2-menu-block .u2-nav-links { max-width: calc(100%  350px); }
}

@media (min-width: 769px) {
	/*Set this to max-width: calc(100% - ({logo width} + 65px)) for best results */
	.u2-menu-outer[data-authenticated='1'] .u2-menu-block .u2-nav-links {max-width: calc(100% - 350px); }
	.u2-menu-outer[data-authenticated='0'] .u2-menu-block .u2-nav-links { max-width: calc(100% - 350px); }
}

.u2-menu-outer .navbar-collapse /*gap between brand and mobile dropdown*/ {
	padding-top:40px;
}

.navbar-collapse{
  	border-top:none !important;
  	webkit-box-shadow: none;
	box-shadow: none;
}

.u2-menu-outer .navbar-nav a { /*Burger menu on desktop*/
  	color:#dcdcdc;
  	font-size:14px;
  	font-weight:600;
}

.u2-menu-outer .navbar-nav a:hover{
  	color:#fff;
}

.u2-menu-outer .navbar-toggle .icon-bar { /*Burger menu on mobile*/
	background-color: #fff !important;
}

.u2-menu-outer .navbar-nav a[href]:hover{
	color:#c81149;
	background-color:#eeeeee;
}

.u2-menu-outer .navbar-nav .dropdown-menu a{
	color:#000;
  	line-height:25px;
}

.nav .open>a, .nav .open>a:focus, .nav .open>a:hover{
	background:#fff;
	color:#015a8d;
}

.ParentAccessIndicator:hover .PageTools_ParentToolTip /*access info on lock icon hover*/ {
	background-color:#f2f2f2;
	border:none;
	color:#2f2f2f;
}

.u2-menu-outer .navbar-nav li.no-hover a{
	text-align:left;
}

.navbar-nav>li>a{
	padding-top:10px;
	padding-bottom:10px;
}

.dropdown-menu{ /*increasing width of second level menu*/
	min-width:190px;
}

/*------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
//////////////////////////////////////////////////////////////////////////////// PAGES STYLING //////////////////////////////////////////////////////////////////////
/*-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

/*--------------------------------------------------------------------------------
	MODULES  - GENERAL
-----------------------------------------------------------------------------------*/
/* Around each module */
main .module {
	margin-bottom: 16px;
}

/*Module  background*/ /*News centre notices newsletters background*/
.list-group, .NC_Base {
	background-color:#fff;
	padding:15px 0!important;
	border:none;
	font-size:12px;
}

.list-group a, .NC_NewsBySection_Outer,  .NC_NewsBySection_Outer:before{
	color:#015a8d;
}/*item*/

.NC_PDFExport:before{
	color:#fff;
}

.panel-default {
	border:none;
}

main .module .module_caption { /* Module title */
color: #282828;
font-size: 13px;
line-height: 2em;
margin-bottom: 0px;
background-color:#ffd200;
padding: 6px 15px;
font-weight:600;
}

.u2-control-menu .u2-edit { /*Module dropdown arrow*/
color: #282828;
}

.u2-control-menu .u2-edit:hover {
background-color:#fff;
color: #c81149;
}

/* Panel Titles */
.panel-title, .NC_Base .panel-default > .panel-heading .panel-title a, .NC_NewsBySection_Title  { /*resource subheading, news centre category heading*/
background:#e2e2e2;
color:#015a8d;
border:none;
font-size:12px;
font-weight:inherit;
} 

.NC_Base .panel-default > .panel-heading .panel-title a, .NC_NewsBySection_Title{
  margin-top:0px;
}

.panel-title  a:hover, .panel-title  a:focus { /*panel title resource heading link hover*/
color:#ab1e30; 
text-decoration:none;
} 

.panel-title .controls a { /*icon in resource subheading*/
color:#015a8d;
margin-right:5px;
} 

.panel-group .panel-heading+.panel-collapse>.list-group{
border:none;
}

/*Item*/
.list-group-item{
font-size:12px;
color:#015a8d;
}

.list-group-item:hover{
background: inherit;
}

.list-group a:hover {/*item*/
color:#c81149;
} 

.panel-group{ /*no resources found text*/
font-size:12px;
} 

/* Page view  - HOMEPAGE ONLY
section[data-u2-module={}] {}
li[data-id={module id}] > section {} */


/*--------------------------------------------------------------------------------
	MODULE - MEDIA GALLERY
-----------------------------------------------------------------------------------*/
/*Media Gallery*/
#ImgGallery .Album .Item{
background-color:#fff;
}

#ImgGallery .Album .Item:hover .Slides{ 
background-color:#000;
opacity: 0.7; 
}

#ImgGallery {
  font-size:11px; 
}

#ImgGallery .Item:hover {/*correcting resize upon hover from contain*/
  background-size:cover;
} 

/*Remove margin around thumbnail*/
#ImgGallery .Album .Item { 
  margin:0px; 
}

.panel-default > .panel-heading .panel-title a, .NC_NewsBySection_Title {
padding: 10px 15px;
font-weight:600;
}

/*Gap between resource headings*/
.panel-group .panel+.panel { margin:0px 0px; border:none;}


/*-------------------------------------------------------------------------------
	MODULE - CONTENT ALL PAGES
-----------------------------------------------------------------------------------*/
.card-text {
font-size:15px;
font-weight:300;
}/*Links title*/ /*Homepage colours specified above*/

.card .card-block p{
padding:20px 30px;
background:#dfdfdf;
} 

.card { /*links card*/
border:none;
} 


/*--------------------------------------------------------------------------------
	MODULE - PAGE CONTENT
-----------------------------------------------------------------------------------*/
/* Telerik Editor content */
main #PageHTML_Content {
}


/*--------------------------------------------------------------------------------
	MODULE - PARAGRAPH
-----------------------------------------------------------------------------------*/
/* Paragraphs */
main .Paragraph, main .Text {
}


/*--------------------------------------------------------------------------------
	MODULE - RESOURCES
-----------------------------------------------------------------------------------*/
.list-group-item i.fa, .list-group-item:hover .controls a{ 
color:#015a8d;
}
.list-group-item:hover .controls a:hover, .list-group-item i.fa:hover{
color:#ab1e30;
}


/*--------------------------------------------------------------------------------
	MODULE - SUBPAGE
-----------------------------------------------------------------------------------*/
/* Sub Pages */
main #SubPages .list-group {
} /* grey box */

main #SubPages .list-group-item {
 } /* normal */

main #SubPages .list-group-item:hover {
color:#c81149;
} /* hover */

main #SubPages .list-group-item i {
color:#015a8d;
 } /* link icon */


/*--------------------------------------------------------------------------------
	MODULE - WIKI
-----------------------------------------------------------------------------------*/
/* Wiki */
main #WikiPages {}


/*------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
//////////////////////////////////////////////////////////////////////////////// HOMEPAGE STYLING //////////////////////////////////////////////////////////////////////
/*-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

/*--------------------------------------------------------------------------------
	MODULE - CONTENT RESOURCE CARD
-----------------------------------------------------------------------------------*/
.card .list-group{
border-top:none;
background:#fbfbfb;
}

.card .list-group > a{
font-size:12px;
color:#2a6fbc;
}

.card .list-group > a:hover{
  color:#c81149;
}

/*--------------------------------------------------------------------------------
	MODULE - IMAGES
-----------------------------------------------------------------------------------*/
.IconLinks > .row {
text-align:center;
}

.IconLinks > .row > .col {
display:inline-block;
float:none;
vertical-align:top;
}

/*--------------------------------------------------------------------------------
	MODULE - NEWS CENTRE
-----------------------------------------------------------------------------------*/
/*News Centre plugin homepage*/
.container.NewsCentreCards {
width:100%;
}

.u2-news-card {
border:none;
margin-bottom:15px;
}

.u2-news-card .u2-description { 
height:110px; 
border-bottom:none;
}

.u2-news-card .u2-find-more p {
display:none; 
}

/*News Centre photo thumbnail*/
.u2-news-card .u2-thumb { 
height:250px; 
background-position:center center;
}

/*News Centre more  list*/
.u2-news-card .u2-more {
height:442px;
border-top:none;
}

.u2-news-card .u2-more > a {
color:#2a6fbc;
 font-size:16px;
 }


/*--------------------------------------------------------------------------------
	MODULE - SLIDESHOW
-----------------------------------------------------------------------------------*/
/*Slideshow*/
.slide{
height:78% !important;
}

.carousel-control .icon-prev:before, .carousel-control .icon-next:before {
color:#fedc32;
}

.NewsCentreBanner .carousel[data-authenticated='1'] .slide, .carousel[data-authenticated='0'] .slide{
min-height:340px;
 filter: brightness(80%);
}

.NewsCentreBanner .carousel-caption{
/*flloat:left;*/
  /*top:0;*/
 bottom:5%;
margin:0 auto;
  /*max-width:300px;
  background: rgb(0,0,0);
background: rgba(0, 0, 0, 0.4);*/
  padding:15px;

}

.NewsCentreBanner .carousel-caption h1 {
color:#fff;
font-size: 33px;
padding:7px;
/*background: rgb(0,0,0);
background: rgba(0, 0, 0, 0.6);*/
text-align:center;
  margin:0 auto;
  font-weight:400;
}

 .NewsCentreBanner .carousel-caption p { 
font-size:12px;
padding:7px;
color:#fff;
max-width:260px;
background: rgb(0,0,0); 
background: rgba(0, 0, 0, 0.4);
outline: 1px #e2e2e2 solid;
outline-offset: 0px;
text-align:center;
margin:7px auto;
   text-transform:uppercase;
}

.NewsCentreBanner .carousel-caption p a {
color:#fff;
}

.carousel-caption, .carousel-control.right, .carousel-control.left/*Shading*/{
background-image:none;
  text-shadow:none;
}

.carousel-caption{
/*padding-top:0px;
  margin:0 auto;*/
}

.carousel-indicators{
display:none;
}


/*------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
//////////////////////////// NEWS CENTRE STYLING ////////////////////////////
/*-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/


/*--------------------------------------------------------------------------------
	NEWS CENTRE PAGE
-----------------------------------------------------------------------------------*/

.news-showcase {
min-height: calc(100vh - 500px);
}

.nav-pills li{
border:none;
}

.nav-pills li a, .nav-pills li i {
color:#015a8d;
font-weight:400;
font-size:11px;
}

.nav-pills li a{
padding:5px 0px 5px 15px;
}

.nav-pills>li>a{
border-radius:3px;
color:#015a8d;
}/*correcting corner radius error*/

.nav-pills li.active {
background-color:#000;
 }

.nav>li>a:focus, .nav>li>a:hover{
background:none;
}

.nav>li>a:focus, .nav>li>a:hover{
background:none;
}

/*.nav>li>a{
padding:10px 13px;
}*/

.nav-pills li:hover a, .nav-pills li i:hover{
text-decoration:none;
} /*Also background surrounding buttons on topics*/

.nav-pills li:hover a{
color:#015a8d;
}

.nav-pills li i:hover{
color:#a61f31;
}

.NC_TitleBase .nav-pills li a{
background:none !important;
}

.nav-pills li i{
padding:5px 15px 5px 10px;
}

.NC_Base .tab-pane{
padding:0px;
}

/*.NC_NewsBySection_Title, .u2-news-heading {
color:#169338;
} */

.news-showcase h6 {
color:#015a8d;
font-weight:600;
}

.ExtraNewsItem, .ExtraNewsItem i{
color:#7e1d2a;
}

.u2-MoreNews .ExtraNewsItem, .u2-MoreNews .ExtraNewsItem i , .u2-archives .ExtraNewsItem, .u2-archives .ExtraNewsItem i {
color:#015a8d;
}

.ExtraNewsItem:hover, .ExtraNewsItem i:hover{
color:#c81149;
}

.u2-news-heading h3{
color:#000;
}

.NewsTile {
background-color:#f3f3f3;
margin-top:15px;
border: solid 1px #ddd !important; 
}/*area surrounding featured articles*/

.u2-SocialMedia{
margin-bottom:-50px;
background-color:#ffde00;
color:#fff;
} /*removing footer top margin*/

.u2-SocialMedia h4{
display:none;
}

.u2-MoreNews h4{
font-size:20px;
}

.fa-twitter:before, .fa-facebook:before{
/*display:none;*/
}

.NC_NewsBySection_Outer:hover{
background:inherit;
border:none;
}

.panel-body{
padding:5px;
}

.u2-SocialMedia h6{
color:#282828;
  margin-top:30px;
  margin-bottom:10px;
  font-size:20px;
}

.u2-MoreNews, .u2-archives{/*must be different colour to footer*/
 background: #f6f6f6;
}

.u2-archives{
margin-bottom:-50px;
}

.u2-MoreNews h4{
}

.news-showcase{
padding:0px 0px 40px 0px;
}

.news-showcase p{
color:#000;
}

.NC_TitleBase{
background-color:#ffd200;
border:none;
padding:6px 15px;
height:35px;
}/*Notices section list box heading*/

.NC_TitleBase_Text{
color: #3f3f3f;
font-size: 13px;
font-weight:600;
}

.news-showcase h6{
}

.NC_NewsBySection{
padding-bottom:30px;
}

.NC_NewsBySection_body{
/*color:#fff;*/
}

.NC_NewsBySection_Title{
	margin-bottom:15px;
}

.NC_NewsBySection_NoData, .NC_NoData{
	color:#555;
}


/*--------------------------------------------------------------------------------
	FOOTERS
-----------------------------------------------------------------------------------*/
/* Footer */
footer {
	background-color:#000;
	margin-top:50px;
}

footer .col a {
	color:#fff;
}

footer .col li a {
	color:#fff !important; 
}

.footer-nav {
	background-color:#000;
	margin-top:50px;
}

.footer-nav li a{
	color:#afafaf;
	font-size:10px;
	padding-top:15px;
}

/* Page outer border for fixed width display */
footer, header, main, .u2-menu-block, .footer-nav { 
	border-top: none;
	border-bottom: none; 
}


/*--------------------------------------------------------------------------------
	TOOLBAR
-----------------------------------------------------------------------------------*/
/* Toolbar Light style */
.ProfileIdentity_Base .PublicToolbarBase {
	background-color:#303030;
	background-position:3px -66px;
	box-shadow:none !important;
	background-image:none !important;
	border:none !important;
	padding:0px;
  	width:auto;
} 

 .ProfileIdentity_Base .PublicToolbarBase a {
 	color:#afafaf;
 	text-shadow:none;
 	border:none !important;
   	width:auto;
   	padding:0px 10px;
 }

.ProfileIdentity_Base .PublicToolbarBase a span{
 	background-image: url('ProfileID_Bar-Hybrid.png');
}

.ProfileIdentity_Base .PublicToolbarBase a:hover {
	color:#fff !important;
}

.ProfileIdentity_Base .PublicToolbarBase .SignIn span {
	background-position:-26px -44px;
}

.ProfileIdentity_Base .PublicToolbarBase .SignIn:hover span {
	background-position:-80px -44px;
}

.ProfileIdentity_Base .PublicToolbarBase .NewsCentre span {
	background-position:-26px 3px;
 }

.ProfileIdentity_Base .PublicToolbarBase .NewsCentre:hover span {
 	background-position:-80px 3px; 
}

.ProfileIdentity_Base .PublicToolbarBase .Search span {
	background-position:-26px -20px; 
}

.ProfileIdentity_Base .PublicToolbarBase .Search:hover span {
	background-position:-80px -20px;
}


/*For Retina*/
@media (-webkit-min-device-pixel-ratio: 2) {
	.ProfileIdentity_Base .PublicToolbarBase a span{
	background:url('ProfileID_Bar-Hybrid-Retina.png') no-repeat 3px 3px;
  	background-size:105px 117px;
	}
}


/*--------------------------------------------------------------------------------
	MOBILE
-----------------------------------------------------------------------------------*/

@media screen and (max-width: 400px){
  	.ProfileIdentity_Base .PublicToolbarBase a { 
	  text-align:center;
	}
  
 	 .toolbar-loggedout > .container {
    	width:calc(100vw - 15px)
 	 }
}


@media (max-width: 640px) {
  
 	 .u2-menu-outer .navbar-collapse /*gap between brand and mobile dropdown*/ {
		padding-top:10px;
	}
  
  	.ProfileIdentity_Base .PublicToolbarBase a{ 
	  	text-align:center;
	}
  
 	 .ProfileIdentity_Base .PublicToolbarBase a span, .ProfileIdentity_Base .PublicToolbarBase a i {
	 	display:none;
	 }
  
 	 .toolbar-loggedout > .container {
    		width:calc(100vw - 15px)
 	 }
  
  	/*Removed padding around news centre tiles , increased height of the text block and centred the image*/
 	 .NewsCentreCards  > .row {
	   	padding-left:0 !important; 
	   	margin-left:0 !important;
	   	padding-right:0 !important; 
	   	margin-right:0 !important;
	 }
  
  	.NewsCentreCards .u2-news-card .u2-description {
	  	height:100px;
	}
  
  	.NewsCentreCards .u2-news-card .u2-description h4 {
	  	margin-bottom: 15px;
	  	line-height: normal;
	  	text-overflow: ellipsis;
	  	white-space: nowrap;
	  	overflow: hidden;
	}
  
 	 .NewsCentreCards  .u2-news-card .u2-thumb {
	   	background-position: center center;
	 }

 	 /*Reduced the text size of the slideshow for small screens and removed the paging at the bottom*/
  	.NewsCentreBanner .carousel-caption h1 {
	  	font-size:22px;
	}
  
  	.NewsCentreBanner .carousel-caption p {
	  	font-size:13px;
	}
  
 	 .NewsCentreBanner .carousel-indicators {
	   	display:none;
	 }
  
 	 .NewsCentreBanner .carousel .slide {
	   	background-position: center center;
	 }

 	 /*Tweaks to the menu and footer CSS*/
 	 .u2-menu-outer .u2-menu-block {
   	 	padding:10px 0 25px 10px;
  	}
  
 	 .footer-nav .container .navbar-header{
	   	margin:0;
	 }
}

@media (max-width: 320px){
 	
  	/*Tweaks for very small size screens*/
 	 .u2-news-card .u2-content{
	 	padding: 15px;
	 }
  
  	.u2-menu-outer .navbar-brand img{
    		width:80px;
	  	height:60px;
 	 }
}


@media (max-width: 768px) /*iPAD*/ {
    	/*setting mobile subpage hover settings and icon display*/
    	.navbar-header {
	 	height:50px;
	  	margin-top:30px;
	} 
  
	.u2-menu-outer .navbar-brand img {
	  	width:191px;
	  	height:42px;
	}
  
	.u2-menu-outer .navbar-toggle:not(.collapsed) .icon-bar:nth-child(4) {
	  	background:transparent !important;
	}
  
  	.navbar-toggle{
  		margin-right:0px;
  	}
  
    	.u2-menu-outer .u2-nav-controls .open > a.shade,
    	.u2-menu-outer .u2-nav-controls .open > a.shade:focus,
    	.u2-menu-outer .u2-nav-controls .open > a.shade:hover {
	  	color:#3c64ad;
	  	border-bottom-left-radius:0;
	  	border-bottom-right-radius:0;
	}/*primary colour*/
  
 	.u2-menu-outer .u2-nav-links a[href] {
	  	font-size:12px;
	}
  
    	.u2-menu-outer .u2-nav-links .open > a,
    	.u2-menu-outer .u2-nav-links a:hover {
	 	 color:#3c64ad;
	}/*primary colour*/
  
    	.breadcrumb {
      		padding:5px 0px !important;
    	} /*left align breadcrumb*/   
  
    	.u2-menu-outer .dropdown-submenu{
      		border-left: solid 1px #004a3f;
    	}
  
  	.navbar-nav .open .dropdown-menu{
    		background-color:#fff;
    		border-radius:none !important;
 	 }
  
 	 .u2-menu-outer[data-authenticated='1'] .u2-menu-block .u2-nav-links{
    		margin-left: auto;
   		 margin-right: auto;
    		width: 100%;
	}
}

@media (max-width: 992px){
  
  	.ContentWithLinks  .col.pull-right {
	  	float:none !important;
	}
 
  	.ContentWithLinks  .col.pull-right + .content-text {
	  	clear:right;
	  	padding-top:15px;
	}
}


