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

   Theme Name: St Andrews Primary, Timaru
   Version: 2.8
   Last modified: 27 December 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
#006ec3 - mid blue
#4f5269 - grey for text
#eef4fc - light blue
#1f2b5f - dark blue

----------------------------------------------------------------------------------*

/*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"] .u2-heading, [data-theme="1"] .Heading,
[data-theme="1"] #edtHeading,
[data-theme="1"] .ContentWithLinks,
[data-theme="1"] .ContentWithLinks .Text,
[data-theme="1"] .Divider {
    	background-color: #eef4fc;
    	width: 100%;
    	padding-bottom: 0em;
  	color:inherit;
}

[data-theme="1"][data-u2-module="Paragraph"], 
[data-theme="1"][data-u2-module="Page_iframe"], 
[data-theme="1"][data-u2-module="Content"],
[data-theme="1"][data-u2-module="ContentWithLinks"],
[data-theme="1"][data-u2-module="NewsCentreCards"],
[data-theme="1"][data-u2-module="IconLinks"],
[data-theme="1"][data-u2-module="Divider"] {
    	background:#eef4fc;
}

[data-theme="1"] .IconLinks{
    	background-color: #eef4fc;
}

[data-theme="1"]  .NewsCentreBanner .news-tile{
}

[data-theme="1"] a{
}

[data-theme="1"] a:hover{
	color:#000;
}

/*Icon headings*/
[data-theme="1"] h4.u2_icon_title, [data-theme="1"] .IconLinks .col .u2_icon_title{
	font-size:10px;
	color:#fff;
	margin-bottom:25px;
}


[data-theme="0"] h4.u2_icon_title, [data-theme="0"] .IconLinks .col .u2_icon_title{
	font-size:10px;
	color:#595959;
	margin-bottom:25px;
}

.Divider hr{
	border-top: 1px solid #858585;
}

/*DARK 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: #eef4fc;
    	width: 100%;
    	color: #fff;
	-webkit-border-radius: 0em 0em 1em 1em;
	-moz-border-radius: 0em 0em 1em 1em;
	border-radius: 0em 0em 1em 1em;
}

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

.u2-news-card .u2-link a{
  	font-weight:bold;
}

/*DARK BG HEADINGS*/
[data-theme="1"][data-u2-module="Heading"] {
    background: inherit !important;
    text-align: center;
    color: #1e1e1e;
    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,
[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;
}

/*LINKS*/
[data-theme="1"] .u2-paragraph a /*dark BG*/{
}

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

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

[data-theme="0"] .u2-heading{
	color:#4f5269;
  	padding-bottom:0px;
  	margin-bottom:0px;
}

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

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

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

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

.u2-news-card .u2-news-card-embed,  .u2-calendar-feed, .u2-facebook-feed{
  	-webkit-border-radius: 1em 1em 0em 0em;
	-moz-border-radius: 1em 1em 0em 0em;
	border-radius: 1em 1em 0em 0em;
  	border: solid 2px #e6eaed;
  	background:#fff;
    	height:460px !important;
  	padding-bottom:0px !important;
}

.u2-news-card.u2-news-card-embed {
}

.u2-notice-feed,  .u2-calendar-feed{
  	padding:10px !important;
}

.container-fluid .Content .u2-news-card{
	margin-bottom:0px;
  	padding: 8px 0px 8px 0px;
    	-webkit-border-radius: 1em 1em 0em 0em;
	-moz-border-radius: 1em 1em 0em 0em;
	border-radius: 1em 1em 0em 0em;
  	border: solid 2px #e6eaed;
  	background:#fff;
  	height:460px;
}

.container-fluid .Content .u2-news-card .list-group{
  	border:none;
}

.curved_border{
    -webkit-border-radius: 1em;
	-moz-border-radius: 1em;
	border-radius: 1em;
  	border: solid 2px #67b7ef;
  	height:400px;
  	padding:30px;
  	background:#fff;
}

.NCH_NewsBySection_Outer{
  	font-size:13px;
  	font-weight:bold;
}

.u2-notice-feed .list-group{
	border:none;
}

.NCH_NewsBySection_Title{
	font-weight:600;
  	font-size:18px;
}

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

.Text h3{
	font-weight:800;
	font-size:40px;
}

/*--------------------------------------------------------------------------------
	EDIT MODE AND PAGE CONTENT DISPLAY
-----------------------------------------------------------------------------------*/
#PageHTML_Content, #WikiPages, #Categories, main .Paragraph,
main .Text, .outer > .inner li[data-lock='1'] div.Text, /*.Paragraph*/
.u2-content, .u2-news-item p, body, .news-showcase p, .u2-news-heading {
   	 font-size: 15px;
    	color: #4f5269;
 	 line-height:1.5em;
}

.Post-on, .Post-By,.u2-news-caption {
	font-size:80%;
  	color:#7d7d7d;
    	line-height:1.5em;
}


/*--------------------------------------------------------------------------------
	BRANDING & BANNER
-----------------------------------------------------------------------------------*/
/* School logo */
.u2-menu-outer .navbar-brand img {
	width: 421px;
	height:120px;
}

.navbar-header{
  	height:120px;
}

.navbar-brand{
  	margin:0px 5px 0px -11px;
}

/*banner bg*/
.u2-menu-outer .u2-menu-block, div.u2-menu-outer.box-shadow--2dp.u2-menu-disabled {
	background:#006ec3;
}

/*banner padding*/
.u2-menu-outer:not(.stuck) .u2-menu-block, .u2-menu-outer.stuck .u2-menu-block, .u2-menu-outer .u2-menu-block{
	padding: 0px 10px 0px 10px;
  	
 }

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

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

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

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

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

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

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

.u2-menu-outer .navbar-nav .dropdown-menu a {
    /*dropdown text*/
    color: #78adf3; 
}

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

.u2-nav-controls{
}

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

.u2-menu-outer .navbar-nav .dropdown-menu a {
    	color: #000066;
  	font-size:14px;
}

.navbar-nav>li>.dropdown-menu{
    	-webkit-border-radius: .3em;
	-moz-border-radius: .3em;
	border-radius: .3em;
}

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

.nav>li>a{
		padding-left:13px;
  		padding-right:13px;
}

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

.navbar{
	margin-top:-1px;
  	margin-bottom:-1px !important;
}


/*--------------------------------------------------------------------------------
	HEADINGS
-----------------------------------------------------------------------------------*/
/* Heading - pages */
main .u2-heading {
    	color: #4f5269;
    	text-align: left;
  	font-weight:500;
}

h3.u2-heading[data-size='4'], h3.u2-heading[data-size='5'],  h3.u2-heading[data-size='6']{
    	font-size: 40px;
  	padding-bottom:10px;
  	 font-weight:800;
    	margin-top:0px;
 	 padding-top:0px;
  	line-height:1.2em;
  	margin-bottom:15px;
  	color:#3c3c43;
}

h3.u2-heading[data-size='3'], h3.u2-heading[data-size='2'], h3.u2-heading[data-size='1'],  [data-size='1'] h3.Headings {
      	font-size: 22px;
  	padding-bottom:0px;
  	font-weight:800;
    	margin-top:50px;
}

h3.u2-heading[data-size='2']{
	margin-top:0px;
}

.outer > .inner li[data-lock='1'][data-size='2'] h3.Headings{
  	color:#004f2f !important;
  	font-size:10px;
}

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

/*banner bg and bg for news centre category bar*/
.page-head .header-wrapper {
    	padding-bottom: 0px;
    	padding-top: 0px;
    	border: none;
    	background-color: #8aa6b5;
}

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

.ParentAccessIndicator {
    	padding: 15px 10px 0px 10px;
}

/*Lock icon*/
.ParentAccessIndicator .PageTools_ParentToolTip {
    	color: #868686;
}

/*--------------------------------------------------------------------------------
	HYPERLINKS
-----------------------------------------------------------------------------------*/
a, .news-showcase h6, .list-group a, .list-group-item i.fa, .list-group-item:hover .controls a, main #SubPages .list-group-item i, .NC_NewsBySection_Outer, .NC_NewsBySection_Outer:before, .ExtraNewsItem, .ExtraNewsItem i,  .u2-MoreNews .ExtraNewsItem, .u2-MoreNews .ExtraNewsItem i , .u2-archives .ExtraNewsItem, .u2-archives .ExtraNewsItem i, .NCH_NewsBySection_Outer, .NCH_NewsBySection_Outer:before, .NC_NewsBySection_Title, .NC_Base .panel-default > .panel-heading .panel-title a, .u2-news-card .u2-link a {
    	color: #006ec3;
}

a:hover, a:focus, .list-group a:hover, .ExtraNewsItem:hover, .ExtraNewsItem i:hover {
  	color:#1f2b5f;
}

a{ 
	cursor: pointer;
}

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

main.container-fluid, main.container {
    	background: none;
  	min-height: calc(100vh - 150px);
}

.Page_p li {
    	margin: 3px 0px;
}

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

main.container-fluid.Subpage{
  	padding-top:70px;
	padding-bottom:70px;
}

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



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

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

.NC_DatePicker, .NC_DatePicker_Active{
	letter-spacing:normal;
}

/*Module  background*/
.list-group, .NC_Base, #SubPages .list-group {
     	 background-color: #fff;
 	 -webkit-border-radius: 0em 0em 1em 1em;
   	 -moz-border-radius: 0em 0em 1em 1em;
    	border-radius: 0em 0em 1em 1em;
}

/*News centre notices newsletters background*/
.NC_Base {
    	padding: 0px 0px 15px 0px !important;
    	font-size: 12px;
}

.u2-news-caption{
	font-size:80%;
  	font-style:italic;
}

.list-group a, .NC_NewsBySection_Outer, .NC_NewsBySection_Outer:before, .ExtraNewsItem {
  	font-size:13px;
}

.list-group a, .NC_NewsBySection_Outer{
    	font-weight:bold;
}

.NC_NewsBySection_Outer:before{
	font-weight:normal;
}

.NC_PDFExport:before {
    color: #fff;
}

.panel-default {
    border: none;
}

main .module .module_caption, .NC_TitleBase{
    	background-color: #8aa6b5;
}

main .module .module_caption {
    /* Module title */
    	color: #fff;
    	font-size: 14px;
    	line-height: 2em;
    	margin-bottom: 0px;
    	padding: 10px 15px;
  	font-weight:600;
 	 letter-spacing:.01em;
      	-webkit-border-radius: .9em .9em 0em 0em;
   	 -moz-border-radius: .9em .9em 0em 0em;
    	border-radius: .9em .9em 0em 0em;
}

.panel{
      	background:none;
}

#Files{
  	background-color: #fff;
  	/*border: solid 2px #e6eaed;*/
    	-webkit-border-radius: 1em 1em 1em 1em;
    	-moz-border-radius: 1em 1em 1em 1em;
    	border-radius: 1em 1em 1em 1em;
 	 margin-bottom:20px;
}

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

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

/* Panel Titles */
.panel-title, .NC_Base .panel-default > .panel-heading .panel-title a,
.NC_NewsBySection_Title{
    /*resource subheading, news centre category heading*/
    	/*background: #bc203e;*/
    	border: none;
    	font-size: 14px;
    	font-weight: inherit;
    	font-weight: 600;
 	 letter-spacing:.01em;
  	color:#006ec3;
}

/*downwards arrow*/
.NC_NewsBySection_Active .NC_NewsBySection_Title:before, .panel-title a.in:before, .panel-title a.collapsed.in:before, .panel-title a:before{
	display: inline-block;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	content: "\f0d7";
 	 padding-right:10px;
}

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

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

.panel-title .controls a {
    	margin-right: 5px;
}

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

/*Item*/
.list-group-item {
 	font-size: 13px;
 	 line-height:1.5em;
  	font-weight:600;
}

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

    /*item and icon*/
.list-group a, .list-group-item i.fa, .list-group-item:hover .controls a, main #SubPages .list-group-item i {
 	 font-weight:600;
}

.panel-group {
    	/*no resources found text*/
    	font-size: 12px;
  	padding:0px 0px 5px 0px;
  	color:#9db5c1;
  	border:2px solid #e4ecf0;
      	-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;
}

.panel{
    box-shadow:none;
  	-webkit-box-shadow:none;
}

.u2-news-content img{
	max-height:600px;
  	width:auto;
  	display: block;
    	margin: 0 auto;
}

.u2-news-content .image-responsive{
  	background:#b4b4b4;
  	padding:2px;
    	-webkit-border-radius: 1em;
	-moz-border-radius: 1em;
	border-radius: 1em;
  	margin-bottom:30px;
}

/*--------------------------------------------------------------------------------
	BUTTONS
-----------------------------------------------------------------------------------*/
.form-controls .button-normal, .content_button_base, .iFrameButton .button-normal, .module .button-normal{
	text-align:center;
  	margin-top:50px;
  	text-transform:uppercase;
 	margin-bottom:30px;
 	 background-image:none;
    	width:100%;
}

.form-controls .button-normal, .content_button_base a, .iFrameButton .button-normal, .module .button-normal{
   	 -ms-box-sizing: border-box;
    	-moz-box-sizing: border-box;
    	-webkit-box-sizing: border-box;
    	box-sizing: border-box;
    	font-size: 13px;
    	font-weight: 600;
    	background-color: #006ec3;
    	border: none;
    	color: #fff !important;
    	text-shadow: none;
  	margin: 0 auto 30px auto!important;
  	box-shadow:none;
  	display: inline-block;
   	width:100%;
}

.content_button_base a{
      	padding: 15px 20px;
     	 -webkit-border-radius: 0em 0em 1em 1em;
   	 -moz-border-radius: 0em 0em 1em 1em;
    	border-radius: 0em 0em 1em 1em;
}

.form-controls .button-normal{
      	padding: 10px 20px;
      	-webkit-border-radius:1em;
    	-moz-border-radius: 1em;
    	border-radius: 1em;
}

.button-normal a:hover, .content_button_base a:hover, .iFrameButton.button-normal:hover, .module .button-normal:hover{
	background: #8aa6b5;
  	color:#fff !important;
}

.module button{
	padding:10px;
}

/*--------------------------------------------------------------------------------
	MODULE - IFRAME
-----------------------------------------------------------------------------------*/
#Calendar{
	background:#fff;
}

.col .fc-toolbar h2{
	font-size:13px;
}

.Page_iframe .iFrameDescription{
	font-size:80%;
}

.Page_iframe{
    	background-color: #fff;
    	border: solid 2px #e4ecf0 !important;
  	-webkit-border-radius: 1em;
	-moz-border-radius: 1em;
	border-radius: 1em;
  	padding:10px;
}

.iFrameHolder, iframe{
	border:none;
}

#FacebookFrame{
  	padding:10px 10px 0px 10px;
  	border:none;
  	overflow:hidden;
  	margin:-1px; 
  	display: block !important; 
  	margin-left: auto !important; 
  	margin-right: auto !important;
}

/*--------------------------------------------------------------------------------
	MODULE - QUIZZES
-----------------------------------------------------------------------------------*/
#ClassQuizzes .nav-pills li.active{
 	 background:none;
}

#ClassQuizzes .panel{
	padding:10px;
  	background:#fff;
    	border: solid 2px #d3d9dc;
 	 border-radius: 0em 0em 1em 1em;
}

#ClassDiscussions .panel{
	padding:10px;
  	background:#fff;
  	border: solid 2px #d3d9dc;
 	 border-radius: 0em 0em 1em 1em;	
}


/*--------------------------------------------------------------------------------
	MODULE - MEDIA GALLERY
-----------------------------------------------------------------------------------*/
/*Media Gallery*/
#ImgGallery{
  	-webkit-border-radius: 1em;
	-moz-border-radius: 1em;
	border-radius: 1em;
    	margin-bottom:50px;
  	background:#f2f2f2;
  	padding-bottom:1px;
}

#ImgGallery .Album .Item {
    	background-color: #fff;
}

#ImgGallery .module{
 	padding-bottom:1px;
	 color: #9db5c1;
	-webkit-border-radius:1em;
	-moz-border-radius: 1em;
	border-radius: 1em;
}

#ImgGallery .module i, .note{
	padding:10px;
     	color: #9db5c1;
      	font-size: 12px;
  	display:none;
}

#ImgGallery .Album .Item:hover .Slides {
    	background-color: rgba(0,0,0, 0.7);
}

#ImgGallery .Item .Slides .Title{
    	font-weight:600;
  	font-size:13px;
  	margin-top: -20px
}

#ImgGallery .Item .Slides .Notes{
	display:none;
}

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

#ImgGallery .Album .Item {
    	margin: 0px;
}

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

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

#ImgGallery .Item:before{
	padding-top:100%;
}


/*-------------------------------------------------------------------------------
	MODULE - CONTENT ALL PAGES
-----------------------------------------------------------------------------------*/
.card-text {
    font-size: 15px;
    font-weight: 300;
}

.card .card-block p {
	color: #fff;
	font-size: 13px;
	line-height: 2em;
	margin-bottom: 0px;
	background-color: #205177;
	padding: 10px 15px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .1em;
	  -webkit-border-radius: 0.25em 0.25em 0em 0em;
	-moz-border-radius: 0.25em 0.25em 0em 0em;
	border-radius: 0.25em 0.25em 0em 0em;
	height: 45px;
	border: none;
  	text-align:center;
}

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

.card.card-inverse {
	width:100%;
}


/*--------------------------------------------------------------------------------
	MODULE - RESOURCES
-----------------------------------------------------------------------------------*/
.list-group-item:hover .controls a:hover {
    	color: #00a0e4;
}


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


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

/*--------------------------------------------------------------------------------
	MODULE - CONTENT RESOURCE CARD
-----------------------------------------------------------------------------------*/
.card .list-group {
   	 border-top: none;
    	background: #f5f5f5;
  	text-align:center;
  	padding:5px;
}

.card .list-group > a {
    	font-size: 13px;
    	color: #00c7b5;
  	padding:10px;
}

.ContentWithLinks .Text{
	margin-bottom:15px;
}

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

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

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

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

.u2-news-card .u2-description h4{
	line-height:1.5em;
  	margin-bottom:.3em;
  	font-weight:bold;
  	color:#4f5269;
}

.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;
  	border-top: solid 2px #e6eaed;
    	border-left: solid 2px #e6eaed;
 	 border-right: solid 2px #e6eaed;
}

.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;
    	border-left: solid 2px #e6eaed;
 	 border-right: solid 2px #e6eaed;
    	border-bottom: solid 2px #e6eaed;
}

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

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

/*--------------------------------------------------------------------------------
	MODULE - NEWS CENTRE NOTICES FEED
-----------------------------------------------------------------------------------*/
.notices .news-tile{
    	background-color:#fff;
  	border:none;
}

.notices .news-tile .news-text{
 	 text-align:center;
    	white-space: pre-wrap;
}

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

.NewsCentreBanner .notices .row:empty{
	background:#fff;
}

.carousel-control .icon-next, .carousel-control .icon-prev{
	font-size:60px;
 	 margin-top:-50px;
}

.notices .carousel-control.left, .notices .carousel-control.right{
	width:20px;
}

.NewsCentreBanner .notices .row{
	padding:0px;
}

 .NCH_NewsBySection_Title{
	color:#8aa6b5;
   	font-size:15px;
   	font-weight:600;
 }


/*--------------------------------------------------------------------------------
	MODULE - SEARCH
-----------------------------------------------------------------------------------*/
.SearchText_FieldInputBox{
	color:#000;
}

  #htmlSearchData_Ultranet, .Panel_Search_Display_Bubble{
    	background:#fff;
  }
    
.Panel_Search_Display_Bubble{
  	display:none;
}

#htmlSearchData_Ultranet, #htmlSearchData_DigitalNZ, .Modules_Title, .SearchOptions_Base{
	background-color:#fff;
}

.Modules_Title, .SearchOptions_Base{
 	 padding:10px 20px 10px 20px !important;
 	 margin-right:-15px;
 	 margin-left:-15px;
 	 background:#f5f5f5;
 	 font-size:90%;
}

.Search_Bg .nav-tabs{
	border-bottom:none !important;
  	background: #f5f5f5;
}

.Search_Bg .nav-tabs>li>a{
  	border-radius:5px 5px 0px 0px!important;
  	border:0px !important;
 	margin-right:0px !important;
 	 font-size:10px !important;
  	color:#666;
}

.Search_Bg .nav > li > a:focus,  .Search_Bg .nav > li > a:active{
    	background: #fff;
}

.Search_Bg .nav > li > a:hover{
	background:#fff;
}

.Search_Result{
	padding:20px 0px 20px 0px !important;
	margin:0px 0px 10px 0px !important;
}

.Search_ResultTitle code{
	font-size:inherit !important;
}

.Search_ResultTitle{
	font-size:inherit !important;
}

.EmptyResults{
  	margin:0px !important;
  	padding:20px 0px 10px 15px!important;
}

.EmptyResults b{
  	text-align:left !important;
}


/*--------------------------------------------------------------------------------
	MODULE - SLIDESHOW ON HOMEPAGE
-----------------------------------------------------------------------------------*/
.slide{
	height:90% !important;
}

 .NewsCentreBanner{
	margin-bottom:70px;
   	min-height:470px;
}

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

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

.NewsCentreBanner .carousel-caption{
    	margin: 0 auto !important;
  	padding:0px;
 	 top:30%;
  	text-align:center;
      	font-size: 20px;
    	font-weight:600;
 	 line-height:1.5em;
   	 text-shadow: 1px 2px 3px #043458;
}

.NewsCentreBanner .carousel-caption p{
	margin: 0 auto !important;
}

.NewsCentreBanner .carousel-caption h1 {
	color:#fff;
	font-size: 34px;
	padding:7px;
	text-align:center;
  	margin:0 auto;
  	font-weight:600;
  	line-height:1em;
  	letter-spacing:.02em;
 	 font-style:normal;
}

 .NewsCentreBanner .carousel-caption p a,  .NewsCentreBanner .carousel-caption p div a,  .NewsCentreBanner .carousel-caption a,  .NewsCentreBanner .carousel-caption div a{
   	margin-left:auto !important;
      	margin-right:auto !important;
   	text-align:center;
  	text-transform:uppercase;
   	width:300px;
    	-ms-box-sizing: border-box;
   	 -moz-box-sizing: border-box;
   	 -webkit-box-sizing: border-box;
    	box-sizing: border-box;
    	font-size: 13px;
    	padding: 1em 1em;
	background: rgba(31, 43, 95, .7) ; 
    	color: #fff !important;
    	-webkit-border-radius: 1em;
    	-moz-border-radius: 1em;
    	border-radius: 1em;
   	font-weight:800;
   	letter-spacing: .1em;
     	font-style:normal;
   	margin-top:20px;
   	display:inline-block;
   	text-shadow:none;
}

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

.carousel-indicators{
	display:none;
}

 .NewsCentreBanner .carousel-caption p a:hover,  .NewsCentreBanner .carousel-caption a:hover, .NewsCentreBanner .carousel-caption div a:hover, .NewsCentreBanner .carousel-caption p div a:hover {
	background: #006ec3; 
  	color:#fff !important;
   	text-shadow: none;
}


/*--------------------------------------------------------------------------------
	MODULE - NEWS CENTRE SLIDESHOW ON SUBPAGES
-----------------------------------------------------------------------------------*/

.Subpage .NewsCentreBanner .carousel {
  	background-color:#000;
}

.Subpage .NewsCentreBanner .carousel .slide{
	min-height:400px;
     	opacity:0.3;
}

.Subpage .NewsCentreBanner .carousel-caption{
  	font-size:inherit;
  	color:#fff;
  	font-weight:bold;
  	top:auto;
  	padding-bottom:15px;
}

.Subpage .NewsCentreBanner .carousel-caption h1{
	font-size:20px;
    	color:#fff;
}

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


/*--------------------------------------------------------------------------------
	MODULE - MEDIA GALLERY SLIDESHOW
-----------------------------------------------------------------------------------*/

.camera_caption >div{
  background:#162b56;
  opacity:0.7;
  font-size:12px;
}


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

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

.u2-news-heading h3, .u2-MoreNews h4, .u2-archives h4{
	font-weight:bold;
}

.NC_NewsBySection_body {   
    white-space: pre-wrap;
}

.NewsTile, .first-row .NewsTile, .second-row .NewsTile{
	padding:0px;
}

.news-showcase {
    	min-height: 0px;  
	margin-top:40px;
    	margin-bottom:40px;
}

.nav-pills li {
    	border: none;
}

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

#ClassTasks .nav.nav-pills > li{
	background:none;
}

#ClassTasks .panel{
	padding:10px;
  	background:#fff;
    	border: solid 2px #d3d9dc;
 	 border-radius: 0em 0em 1em 1em;
}

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

.nav-pills > li > a {
    	border-radius: 3px;
    	color: #fff;
  	font-size:11px;
  	font-weight:bold;
}
/*correcting corner radius error*/

.nav-pills li.active, .nav-pills>li.active>a {
   	background-color: #006ec3;
}

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

.NC_TitleBase .nav-pills li.active{
}

.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 {
  	font-weight:bold;
  	padding:0px 15px;
}

.ExtraNewsItem{
 	 font-weight:bold;
  	padding-top:10px;
}

.NewsTile {
    	background-color: #fff;
    	border: solid 2px #e4ecf0 !important;
  	-webkit-border-radius: 1em;
	-moz-border-radius: 1em;
	border-radius: 1em;
}

/*area surrounding featured articles*/
.u2-SocialMedia {
    	background-color: #043458;
    	color: #fff;
	padding: 30px 0px 60px 0px;
}

.NC_NewsBySection_Outer:hover {
    	background: inherit;
    	border: none;
 	 padding-left: 38px;
}

.NC_NewsBySection_Outer{
	padding-left: 38px;
}

.NC_NewsBySection_Outer:before{
	left:15px;
}

.panel-body {
    	padding: 5px;
}

.u2-SocialMedia h4 {
    	color: #fff;
        display:none;
}

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

.u2-MoreNews, .u2-archives{
	background:#fff;
    	border-top: solid 2px #e4ecf0;
      	border-bottom: solid 2px #e4ecf0;
}

.u2-MoreNews .ExtraNewsItem i {
	padding: 0px 10px 0px 0px;
}

.u2-content-section{
	background:inherit;
}

.news-showcase p {
  	padding-left:15px;
  	padding-right:15px;
	font-size:14px;
  	line-height:1.5em;
}

.NC_TitleBase {
    	color: #fff;
    	font-size: 13px;
    	line-height: 2em;
    	margin-bottom: 0px;
    	background-color:;
    	padding: 10px 15px;
 	 font-weight:600;
 	 letter-spacing:.03em;
      	-webkit-border-radius: 1em 1em 0em 0em;
    	-moz-border-radius: 1em 1em 0em 0em;
    	border-radius: 1em 1em 0em 0em;
  	height:45px;
  	border:none;
  	margin-top:0px;
}

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

.NC_NewsBySection {
    padding-bottom: 10px;
}

.NC_NewsBySection_Title {
 	 font-size:14px;
}

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

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

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

main.container-fluid.Subpage{
	margin-bottom:0px;
}

.PageFooter{
	margin-top:60px;
}
/*margin top will cause gap in news centre*/

footer .col a{
    	color: #fff;
 	 font-weight:600;
}

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

.footer .col li a {
    	color: #fff !important;
   	font-weight:600;
}

/*Bottom nav bar*/
.footer-nav {
    	display: block;
	background-color:#1f2b5f;
}

/* 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: rgba(138, 166, 181, .7) ; 
	background-position:3px -66px;
	box-shadow:none !important;
	background-image:none !important;
	border:none !important;
	border-top-left-radius:0px;
	border-top-right-radius:0px;
	margin-top:0px;
	padding:5px 2px 2px 2px;
} 

 .ProfileIdentity_Base .PublicToolbarBase a {
	 color:#fff;
	 text-shadow:none;
 	border:none !important;
  	text-transform:uppercase;
  	 font-size:9px;
   	font-weight:400;
 }

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

.toolbar-loggedout .container {
   	 float: right !important;
}


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

@media (max-width: 320px) {

    /*Tweaks for very small size screens*/
    .u2-news-card .u2-content {
        	padding: 15px;
    }
}

@media screen and (max-width: 400px) {
    	.ProfileIdentity_Base .PublicToolbarBase a {
        	text-align: center;
        	width: 50px;
      		margin-top:-2px;
    	}

    	.ProfileIdentity_Base .PublicToolbarBase a span, .ProfileIdentity_Base .PublicToolbarBase a i {
        	display: none;
    	}

    	.toolbar-loggedout > .container {
        	width: calc(100vw - 15px)
    	}
}

@media (max-width: 640px) {
  
  	.u2-news-image-block{
  		padding:10px;
  	}
  
    	.u2-menu-outer .navbar-collapse /*gap between brand and mobile dropdown*/{
    		padding-top:20px;
	}
  
  .navbar-brand{
  	height:70px;
  }

    /*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;
    }
  
  .container.NewsCentreCards{
  	padding:0px;
  }

    .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 {
  text-align:center;
  }
 
    .NewsCentreBanner .carousel-caption h1 {
	font-size: 15px;
      	padding:5px;
    }

    .NewsCentreBanner .carousel-caption p,     .NewsCentreBanner .carousel-caption p a {
        font-size: 9px;
      	padding:5px;
      	width:80%;
    }

    .NewsCentreBanner .carousel-indicators {
        display: none;
    }

    .NewsCentreBanner .carousel .slide {
        background-position: center center;
    }
  
  .container-fluid .Content{
 	 padding:0px;
  }

    .footer-nav .container .navbar-header {
        margin: 0;
    }
}


@media (max-width: 768px) /*iPAD*/ {
 
    /*setting mobile subpage hover settings and icon display*/
   	 .navbar-header {
        	height:70px;
    	}

  	.u2-menu-outer .navbar-brand img {
               width:250px;
    		height: 70px;
    	}
  
 	 .u2-menu-outer:not(.stuck) .u2-menu-block, .u2-menu-outer.stuck .u2-menu-block, .u2-menu-outer .u2-menu-block{
	   	border-top:39px solid #8aa6b5;
  	}
  
    	.u2-menu-outer .navbar-toggle:not(.collapsed) .icon-bar:nth-child(4) {
        	background: transparent !important;
    	}

  	.nav>li>a{
  		padding:7px;
 	 }
  
    	.navbar-toggle {
        	margin-right: 0px;
      		margin-top:20px;
     		margin-bottom:8px;
    	}
  
  	.ProfileIdentity_Base .PublicToolbarBase{
  		margin-right:-10px;
  	}
  
  

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

    .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: #3c64ad;
    }
  
  .u2-menu-outer.stuck .navbar-collapse, .u2-menu-outer .navbar-collapse{
  	padding-top:0px;
    	padding-bottom:0px;
  }

    .u2-menu-outer .dropdown-submenu {
        border-left: solid 1px #004a3f;
    }

    .navbar-nav .open .dropdown-menu {
        background-color: #f2f2f2;
    }

    .u2-menu-outer[data-authenticated='1'] .u2-menu-block .u2-nav-links {
        margin-left: auto;
        margin-right: auto;
 	width: 100%;
    }
  
     /*Reduced the text size of the slideshow for small screens and removed the paging at the bottom*/
  
 .NewsCentreBanner .carousel-caption {
  	text-align:center;
  }
  
    .NewsCentreBanner .carousel-caption h1 {
        font-size: 20px;
    }

    .NewsCentreBanner .carousel-caption p {
        font-size: 11px;
    }

    .NewsCentreBanner .carousel-caption {
        padding: 60px 15px 0px 15px;
    }
  
    .Subpage  .NewsCentreBanner .carousel-caption {
        padding: 60px 15px 15px 15px;
    }

    .NewsCentreBanner .carousel-indicators {
        display: none;
    }

    .NewsCentreBanner .carousel .slide {
        background-position: center center;
    }  
  	
	.container .news-showcase .row{
		margin-left:-0px;
 		 margin-right:-0px;
	}
  
	 .u2-nav-links {
    		max-width: 520px;
  	`}
}

@media (max-width: 992px) {
    .ContentWithLinks .col.pull-right {
        float: none !important
    }

    .ContentWithLinks .col.pull-right + .content-text {
        clear: right;
        padding-top: 15px
    }
  
}







