@import url('https://fonts.googleapis.com/css?family=Love+Ya+Like+A+Sister');
/*  =======================================

   Theme Name: St Peter's Beckenham School
   Version: 2.8
   Last modified: 3 September 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

#28386c = primary colour -blue
#88b902 = secondary colour -green
----------------------------------------------------------------------------------*/

/*-------------------DARK THEME----------------------*/
[data-theme="1"] .u2-paragraph,  [data-theme="1"] .Paragraph,
[data-theme="1"] .iFrame,
[data-theme="1"] .Content,
[data-theme="1"] .NewsCentreBanner,
[data-theme="1"] .IconLinks,
[data-theme="1"] .u2-heading, [data-theme="1"] .Heading,  [data-theme="1"] #edtHeading,
[data-theme="1"] .ContentWithLinks.Text, 
[data-theme="1"] .ContentWithLinks{
background-color:#a0a1a3;
width:100%;
color:#fff;
padding-bottom:0em;
}

/*Dark theme 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:#f2f2f2;
width:100%;
color:#292929;
}

/*Dark theme headings*/
[data-theme="1"][data-u2-module="Heading"]{
background:#a0a1a3 !important;
padding-bottom: .2em; 
text-align:center;
color:#fff;
} 

/*Dark theme links*/
[data-theme="1"] .u2-paragraph a{
color:#28386c;
}

[data-theme="1"][data-u2-module="Paragraph"]{ background:#a0a1a3 !important; color:#fff; }
[data-theme="1"][data-u2-module="Page_iframe"]{ background:#a0a1a3 !important; color:#fff;}
[data-theme="1"][data-u2-module="Content"]{background:#a0a1a3 !important; color:#fff;}
[data-theme="1"][data-u2-module="ContentWithLinks"]{background:#a0a1a3 !important; color:#fff;}
[data-theme="1"][data-u2-module="NewsCentreCards"]{background:#a0a1a3 !important; }
[data-theme="1"][data-u2-module="IconLinks"]{background:#a0a1a3 !important; }
[data-theme="1"] .card-text{background-color:#fff; color:#000;}


/*------------------LIGHT THEME-----------------*/
[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, [data-theme="0"] .u2-description p{
color:#292929;
}

[data-theme="0"] .card-text{
}

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

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

/*-----------------BOTH THEMES-------------------*/
/*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,
[data-theme="1"] .u2-heading, [data-theme="0"] .u2-heading,
[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;
}

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

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

.u2-menu-outer .u2-menu-block {
	background:#015849;
}

/*banner area*/
.u2-menu-outer:not(.stuck) .u2-menu-block, .u2-menu-outer.stuck .u2-menu-block, .u2-menu-outer .u2-menu-block {
	padding: 20px 0px 10px 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;
}

/*--------------------------------------------------------------------------------
	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;
}


/*--------------------------------------------------------------------------------
	HEADINGS
-----------------------------------------------------------------------------------*/
/* Heading - pages */
main .u2-heading{
	color: #292929;
	padding-top:0em;
	padding-bottom: .5em;
	text-align: left;
	font-weight:bold;
	margin-bottom:20px;
}/*secondary colour*/


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

h3.u2-heading[data-size='2']{
  	color: #292929;
  	font-size:24px;
  	margin-top:55px;
  	margin-bottom:0px;
  	padding-bottom:5px;
  	font-weight:600; 
}

h3.u2-heading[data-size='1'] {
  	color: #292929;
  	font-size:18px;
  	margin-top:55px;
  	margin-bottom:0px;
  	padding-bottom:5px;
  	font-weight:600; 
}

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


/*--------------------------------------------------------------------------------
	BREADCRUMBS NAV BAR
-----------------------------------------------------------------------------------*/
.breadcrumb {
	display:none;
}

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

.page-head {
	background-color: #218c83;
}

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

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

.ParentAccessIndicator .PageTools_ParentToolTip{
	color:#868686;
}

/*--------------------------------------------------------------------------------
	HYPERLINKS
-----------------------------------------------------------------------------------*/
a, .u2-news-card .u2-link a {
	color:#29a59a;
}

a:hover, a:focus {
	color:#47b9af;
}

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

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

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


main {
	padding: 0;
}

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

main.container-fluid.Subpage{
	padding-top:60px;
  	padding-bottom:70px;
 	 min-height: calc(100vh - 180px);
}

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

.PageHeader_ImageThumb{
display:none;
}

.PageBioBox{
	width:100%;
      padding: 140px !important;
  background-repeat: no-repeat;
}

.PageBioBox h3{
display:none;
}

.bodyData.WithImage{
display:none;
}

/*--------------------------------------------------------------------------------
	MENU
-----------------------------------------------------------------------------------*/
/* Menu offsets */
@media (min-width: 768px) {
	/*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% - 360px); }
	.u2-menu-outer[data-authenticated='0'] .u2-menu-block .u2-nav-links { max-width: calc(100% - 360px); }
}

.u2-menu-outer .navbar-collapse {
	padding-top:50px; 
}

.u2-menu-outer .navbar-nav a { /*Burger menu on desktop*/
  color:#fff;
  font-size:15px;
  font-weight:bold;
}

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

.u2-menu-outer .navbar-nav .dropdown-menu a { /*dropdown text*/
  	color:#0f967f; /*primary colour*/
}

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

.u2-menu-outer .navbar-nav a[href]:hover{
	color:#47b9af;
  	background-color:#fff;
}

.u2-menu-outer .navbar-nav .dropdown-menu a{
	color:##1c978c;
}

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

.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:#f9f9f9;
	padding:15px 0 !important;
	font-size:13px;
  	margin-bottom:30px;
      -webkit-border-radius: 0em 0em 1em 1em;
   	 -moz-border-radius: 0em 0em 1em 1em;
    	border-radius: 0em 0em 1em 1em;
}

.NC_NewsBySection_Outer, .NC_PDFExport:before, .NC_NewsBySection_Outer:before{
	color:#292929;
}/*item*/

.panel-default {
	border:none;
}

.panel{
	box-shadow:none !important;
}

main .module .module_caption { /* Module title */
	color: #fff;
	font-size: 13px;
	line-height: 2em;
	margin-bottom: 0px;
	background-color:#a0a1a3;
	padding: 6px 15px;
	font-weight:600;
  	-webkit-border-radius: .9em .9em 0em 0em;
    -moz-border-radius: .9em .9em 0em 0em;
    border-radius: .9em .9em 0em 0em;
}

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

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

/* Panel Titles */
.panel-title, .NC_Base .panel-default > .panel-heading .panel-title a, .NC_NewsBySection_Title  { /*resource subheading, news centre category heading*/
	color:#0f967f;
	border:none;
	font-size:13px;
	font-weight:inherit;
	font-weight:500;
} 

.NC_Base .panel-default > .panel-heading .panel-title a, .NC_NewsBySection_Title{
  	background-color:#eee;
}

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

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

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

/*Item*/
.list-group-item{
	font-size:13px;
}

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

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

.panel-group{ /*no resources found text*/
    font-size: 13px;
    padding: 0px 0px 7px 0px;
    color: #9db5c1;
    border: 2px solid #eee;
    -webkit-border-radius: 0em 0em 1em 1em;
    -moz-border-radius: 0em 0em 1em 1em;
    border-radius: 0em 0em 1em 1em;
} 


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

#ImgGallery .Album .Item:hover .Slides{ 
	background-color:#6d6d6d;
  	opacity: 0.9; 
}

#ImgGallery { 
  	font-size:11px;
  -webkit-border-radius: 1em;
    -moz-border-radius: 1em;
    border-radius: 1em;
    margin-bottom: 15px;
    background: #eee;
    padding-bottom: 1px;
}

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

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

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

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

#ImgGallery .module{
  -webkit-border-radius: 1em;
    -moz-border-radius: 1em;
    border-radius: 1em;
  background-color: #a0a1a3;
}


/*-------------------------------------------------------------------------------
	IMAGES
-----------------------------------------------------------------------------------*/
.Page_Media .MediaHolder img, .u2-news-image-block img, .thumbnail .img-responsive {
    -webkit-border-radius: 1em;
    -moz-border-radius: 1em;
    border-radius: 1em;
}



/*-------------------------------------------------------------------------------
	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 - RESOURCES
-----------------------------------------------------------------------------------*/
.list-group-item i.fa, .list-group-item:hover .controls a { 
	color:#0f967f;
}
.list-group-item:hover .controls a:hover{
	color:#fff;
}


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

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


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

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

.card .list-group > a{
	font-size:13px;
	color:#28386c;
	margin-bottom:2.5em;
}

/*--------------------------------------------------------------------------------
	MODULE - IFRAME
-----------------------------------------------------------------------------------*/
.Page_iframe{
    background-color: #eee;
    border: solid 2px #eee !important;
    -webkit-border-radius: 1em;
    -moz-border-radius: 1em;
    border-radius: 1em;
    padding: 10px;
}


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

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

/*--------------------------------------------------------------------------------
	MODULE - NEWS CENTRE
-----------------------------------------------------------------------------------*/


.NC_TitleBase_Text.NC_TitleBase_Text{
  display:none;
}

/*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;
      -webkit-border-radius: 1em 1em 0em 0em;
    -moz-border-radius: 1em 1em 0em 0em;
    border-radius: 1em 1em 0em 0em;
}

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

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

.u2-news-card .u2-content{
	-webkit-border-radius: 0em 0em 1em 1em;
    -moz-border-radius: 0em 0em 1em 1em;
    border-radius: 0em 0em 1em 1em;
}

.NC_Base .panel-group{
	border:none;
  	padding:0px;
}


/*--------------------------------------------------------------------------------
	MODULE - HOMEPAGE AND NEWS SLIDESHOW
-----------------------------------------------------------------------------------*/
/*homepage slideshow only*/
.NewsCentreBanner.container-fluid .slide{
	height:80% !important;
}

.carousel[data-authenticated='1'] .slide, .carousel[data-authenticated='0'] .slide{
	min-height:400px;
}

.NewsCentreBanner .carousel-caption h1 {
    color: #fff;
    font-size: 30px;
    max-width: 350px;
  line-height:1.3em;
    padding: 20px 25px 0px 40px;
    background: rgb(0, 0, 0); /* Fallback for older browsers without RGBA-support */
    background: rgba(0, 0, 0, 0.6);
    font-weight: 400;
  text-shadow:none;
  font-style:italic;
}

.NewsCentreBanner .carousel-caption p {
    font-size: 18px;
    padding: 10px 25px 30px 40px;
    color: #fff;
    max-width: 350px;
    background: rgb(0, 0, 0); /* Fallback for older browsers without RGBA-support */
    background: rgba(0, 0, 0, 0.6);
    font-weight: 300;
    text-shadow:none;
    font-style:italic;
   line-height:1.4em;
}

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

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

.carousel-caption {
    padding-left: 0px !important;
    padding-bottom: 25px !important;
    padding-top: 0px;
}

.carousel-indicators {
    bottom: 0px;
}

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


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

.nav-pills li{
	border:none;
}

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

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

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

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

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

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

.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:#fff;
}

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

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

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

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

.news-showcase h6 {
	color:#28386c;
  	font-weight:600;
}

.ExtraNewsItem, .ExtraNewsItem i{
	color:#0f967f;
  	font-weight:bold;
 	 font-size:13px;
}

.u2-MoreNews .ExtraNewsItem, .u2-MoreNews .ExtraNewsItem i , .u2-archives .ExtraNewsItem, .u2-archives .ExtraNewsItem i {
	color:#29a59a;
}

.ExtraNewsItem:hover, .ExtraNewsItem i:hover{
	color:#47b9af;
}

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

.NewsTile {
	background-color:#f9f9f9;
	border: solid 1px #ddd !important; 
  	margin-bottom:20px;
      -webkit-border-radius: 1em;
    -moz-border-radius: 1em;
    border-radius: 1em;
}/*area surrounding featured articles*/

.u2-SocialMedia{
	background-color:#a0a1a3;
	color:#fff;
} /*removing footer top margin*/

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

.panel-body{
	padding:5px;
}

.u2-SocialMedia h6{
	color:inherit;
  	margin-top:30px;
  	margin-bottom:10px;
}

.u2-MoreNews, .u2-archives{/*must be different colour to footer*/
	margin-top:30px;
}

.u2-MoreNews h4{
}

.news-showcase{
	padding:50px 0px 30px 0px;
}

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

.NC_TitleBase{
	background-color:#a0a1a3;
	border:none;
	height:35px;
	padding:6px 15px;
  	margin-top:0px;
  	-webkit-border-radius: 1em 1em 0em 0em;
   	 -moz-border-radius: 1em 1em 0em 0em;
   	 border-radius: 1em 1em 0em 0em;
}/*Notices section list box heading*/

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

.NC_NewsBySection{
	padding-bottom:30px;
}

.NC_NewsBySection_Title{
	margin-bottom:15px;
}

.NC_NewsBySection_NoData, .NC_NoData{
	color:#9b9b9b;
}

.u2-news-content{
  	padding-top:60px;
}

/*--------------------------------------------------------------------------------
	NEWS CENTRE ARTICLES
-----------------------------------------------------------------------------------*/
.u2-news-block{
	background:#fff;
}
.u2-news-block article.u2-news-item.image-after{
	padding:0px
}

.u2-news-fluid-article{
  	padding:60px 60px 30px 60px !important;
}

.u2-news-image-block{
	padding:60px;
}

.u2-news-content-fluid h3{
	font-weight: bold;
}



/*--------------------------------------------------------------------------------
	FOOTERS
-----------------------------------------------------------------------------------*/
/* Footer */
footer {
	background-color:#015849;
}/*margin top will cause gap in news centre*/

footer .col a {
	color:#fff;
}

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

/*Bottom nav bar*/
.footer-nav { 	
  	background-color:#a0a1a3;
}

.footer-nav .navbar-brand a, .footer-nav li a  { 
  	font-size:10px;
  	padding:15px;
  	color:#f2f2f2;
}


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


/*--------------------------------------------------------------------------------
	TOOLBAR
-----------------------------------------------------------------------------------*/

.ProfileIdentity_Base .PublicToolbarBase {
	background-color:#47b9af;
	background-position:3px -66px;
	box-shadow:none !important;
	background-image:none !important;
 	border:none !important;
	border-bottom-left-radius:none !important;
	border-bottom-right-radius:none !important;
	width:auto;
} 

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

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


/*--------------------------------------------------------------------------------
	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) {
  
  .PageBioBox{
	width:100%;
      padding: 30px !important;
}
  
  	.u2-news-image-block{
  		padding:0px;
  	}
  
   	.ProfileIdentity_Base .PublicToolbarBase a span, .ProfileIdentity_Base .PublicToolbarBase a i {
	 	display:none;
	 }
  
	.u2-menu-outer .navbar-collapse /*gap between brand and mobile dropdown*/{
    		padding:10px;
	}
  
	.navbar-collapse{
  		border:none;
    		box-shadow:none;
  	}
  
  	/*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:18px;
	}
  
  	.NewsCentreBanner .carousel-caption p {
	  	font-size:13px;
	}
  
 	 .NewsCentreBanner .carousel-caption {
	   	padding:90px 15px 15px 15px;
	 }
  
 	 .NewsCentreBanner .carousel-indicators {
	   	display:none;
	 }
  
 	 .NewsCentreBanner .carousel .slide {
	   	background-position: center center;
	 }

 	 /*Tweaks to the menu and footer CSS*/
.u2-menu-outer:not(.stuck) .u2-menu-block, .u2-menu-outer.stuck .u2-menu-block, .u2-menu-outer .u2-menu-block{
   	 	padding:50px 20px 10px 20px;
  	}
  
 	 .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:224px;
	  	height:45px;
 	 }
}

@media (max-width: 767px) /*iPAD*/ {
  
    	/*setting mobile subpage hover settings and icon display*/
    	.navbar-header {
	  	height:50px;
	}   /*Height must be greater than height of icon below*/
  
	.u2-menu-outer .navbar-brand img {
	  	width:176px;
	  	height:45px;
	}
  
 	 .u2-menu-outer.stuck .u2-menu-block, .u2-menu-outer:not(.stuck) .u2-menu-block{
  		padding-top:40px;
  	}
  
	.u2-menu-outer .navbar-toggle:not(.collapsed) .icon-bar:nth-child(4) {
	  	background:transparent !important;
	}
  
    	.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:#88b902;
	  	border-bottom-left-radius:0;
	  	border-bottom-right-radius:0;
	}/*primary colour*/
  
 	.u2-menu-outer .u2-nav-links a[href] {
	  	font-size:13px;
	}
  
    	.u2-menu-outer .u2-nav-links .open > a,
    	.u2-menu-outer .u2-nav-links a:hover {
	 	 color:#88b902;
	}/*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:#f2f2f2;
    		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;
	}
}








