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

   Theme Name: Tapanui School
   Version: 2.8
   Last modified: 23 November 2016
   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

#1e2349 = primary colour -blue
#890c2c = secondary colour -maroon
----------------------------------------------------------------------------------*/

/*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:#47a0c1;
width:100%;
color:#fff;
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:#f2f2f2;
width:100%;
color:#0f2552;
}

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

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

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

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

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


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

[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:#000;}
[data-theme="0"] .card-text{}


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

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

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

/*--------------------------------------------------------------------------------
	LAYOUT
-----------------------------------------------------------------------------------*/
/* Make the menu bar stick to the top when scrolling*/

.u2-menu-outer {
/*position: -webkit-sticky; position:*/
  -moz-sticky; position: -ms-sticky; position: -o-sticky; position: sticky;  
} 

.Spacer{
  height:1px !important;  
  background:#0f2552;
}

.u2-menu-outer.stuck .u2-menu-block {
box-shadow: 0 1px 3px rgba(0, 0, 0, .2); 
padding:15px 10px 15px 20px;
}

.u2-menu-outer[data-authenticated="0"].stuck + main:before {
display: block; 
height: 0px;*/ /*keep 0 for Safari*/ 
content: ' ';
 }

.u2-menu-outer[data-authenticated="1"].stuck + main:before {
display: block;
height: 50px;
content: ' ';
 }

.u2-menu-outer:not(.stuck) .u2-menu-block{
padding: 15px 10px 15px 20px;
/*border-bottom:20px solid #700025;*/
 }

.u2-menu-outer.stuck { 
z-index: 90; 
top: 0;
left:0;
right:0;
position:fixed !important;
transition: all 350ms ease-in-out;
webkit-transition: all 350ms ease-in-out;
}

.u2-menu-outer.stuck .navbar-brand {
margin:0 0 0 0;
}

/*Position of banner when logged in*/
 .u2-menu-outer[data-authenticated="1"].stuck{ 
   top:34px
 }

/*--------------------------------------------------------------------------------
	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:#0f2552;
}


/*--------------------------------------------------------------------------------
	HEADINGS
-----------------------------------------------------------------------------------*/
/* Heading - pages */
main .u2-heading{
color: #0f2552;
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:400; 
}

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


/*--------------------------------------------------------------------------------
	BRANDING
-----------------------------------------------------------------------------------*/
/* School logo */
.u2-menu-outer .navbar-brand img {
width: 400px;
height:63px;
margin-left:-1px;
}

.u2-menu-outer .u2-menu-block {
/*padding: 18px 44px 10px 20px;*/
background:#0f2552;
}


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

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

.breadcrumb a {
color: #e1e1e1;
}

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

.breadcrumb > .active {
color: #f6f6f6;
}

.page-head {
background-color: #47a0c1;
margin-bottom:50px;
}

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

#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, a:hover, a:focus, .u2-news-card .u2-link a {
color:#47a0c1;
}


/*--------------------------------------------------------------------------------
	PAGES
-----------------------------------------------------------------------------------*/
/* main content */
body, .u2-content-section {
background: #ecfbff;
}

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

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

/* Background */
main {
padding: 0;
/*background: #fff;*/
}

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


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

.u2-menu-outer .navbar-collapse {
padding-top:25px; /*keep at 40px for mobile*/
}

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

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

.u2-menu-outer .navbar-nav .dropdown-menu a { /*dropdown text*/
  color:#0f2552; /*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:#0f2552;
  background-color:#fff;
}

.u2-menu-outer .navbar-nav .dropdown-menu a{
color:#47a0c1;
}

.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:#fff;
padding:5px 0 !important;
/*border:none;*/
font-size:12px;
}

.list-group a, .NC_NewsBySection_Outer, .NC_PDFExport:before, .NC_NewsBySection_Outer:before{
color:#47a0c1;
}/*item*/

.panel-default {
border:none;
}

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

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

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

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

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

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

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

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

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

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

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

.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.6; 
}

#ImgGallery { 
font-size:11px;
}

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

/*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:#47a0c1;
}
.list-group-item:hover .controls a:hover{
color:#fff;
}

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

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

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

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


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


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

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

.card .list-group > a{
font-size:12px;
color:#47a0c1;
margin-bottom:2.5em;
}

.card .list-group > a:hover{
}

/*--------------------------------------------------------------------------------
	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 {
background-color:#fff; 
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:#47a0c1;
 font-size:16px;
 }


/*--------------------------------------------------------------------------------
	MODULE - SLIDESHOW
-----------------------------------------------------------------------------------*/
/*Slideshow*/
.NewsCentreBanner .carousel-caption h1 { color:#fff; font-size: 70px;max-width:1200px; text-shadow:none; }
.NewsCentreBanner .carousel-caption p { font-size:18px; margin-bottom:50px; text-shadow:none;  }
.NewsCentreBanner .carousel-caption p a { font-size:14px; }

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

.carousel-indicators{

}


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


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

.news-showcase { /*LINCOLN ONLY FOR HIDDEN ARTICLES*/
min-height: calc(100vh - 350px);
}

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

.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;
}

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

.news-showcase h6 {
color:#47a0c1;
}

.ExtraNewsItem, .ExtraNewsItem i{
color:#47a0c1;
}

.u2-MoreNews .ExtraNewsItem, .u2-MoreNews .ExtraNewsItem i , .u2-archives .ExtraNewsItem, .u2-archives .ExtraNewsItem i {
color:#0f2552;
}

.ExtraNewsItem:hover, .ExtraNewsItem i:hover{
color:#0f2552;
}

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

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

.u2-SocialMedia{
margin-bottom:-40px;
background-color:#47a0c1;
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*/
}

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

.u2-MoreNews h4{
}

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

.news-showcase p{
color:#0f2552;
}

.NC_TitleBase{
 background-color: #47a0c1;
border: none;
height: 35px;
padding: 6px 15px;
margin-top: 0px

}/*Notices section list box heading*/

.NC_TitleBase_Text{
color: #fff;
font-size: 14px;
font-weight:300;
}

.news-showcase h6{
}

.NC_NewsBySection{
padding-bottom:30px;
}

.NC_NewsBySection_body{
color:#0f2552;
}

.NC_NewsBySection_Title{
margin-bottom:15px;
}

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


/*--------------------------------------------------------------------------------
	FOOTERS
-----------------------------------------------------------------------------------*/
/* Footer */
footer {
background-color:#0f2552;
margin-top:40px;
}/*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 { display:none; background: #f6f6f6; }
/*
.footer-nav .navbar-brand a { color: #000; }
.footer-nav li a { color: #000; }
*/

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



/*--------------------------------------------------------------------------------
	TOOLBAR
-----------------------------------------------------------------------------------*/
/* Toolbar Light style */
.ProfileIdentity_Base .PublicToolbarBase {
background-color:#fff000;
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;
/*margin-right:30px;*/
} 

 .ProfileIdentity_Base .PublicToolbarBase a {
 color:#0f2552;
 text-shadow:none;
 border:none !important;
 }

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

.ProfileIdentity_Base .PublicToolbarBase a:hover {
color:#47a0c1 !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;
	  width:50px;
	}
  
 	 .ProfileIdentity_Base .PublicToolbarBase a span {
	 display:none;
	 }
  
 	 .toolbar-loggedout > .container {
    	width:calc(100vw - 15px)
 	 }
}


@media (max-width: 640px) {
  	/*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 .u2-menu-block {
   	 padding:50px 0 25px 0px;
  	}
  
 	 .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:200px;
	  height:32px;
 	 }
}

@media (max-width: 768px) /*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:200px;
	  	height:32px;
	}
  
  .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:#47a0c1;
	  	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:#47a0c1;
	}/*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}
}

