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

   Theme Name: Cotswold School
   Version: 2.8
   Last modified: 26 Feb 2017
   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

#162b56 - dark blue
#4682d1 - mid blue
#78adf3 - light blue
#fcff00 - yellow
#fff - text

----------------------------------------------------------------------------------*/

/*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: #009fe4;
    width: 100%;
    padding-bottom: 0em;
}

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

/*Icon headings*/
h4.u2_icon_title, .IconLinks .col .u2_icon_title{
font-size:10px;
color:#ccc;
}

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

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

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

.u2-news-card .u2-link a{
  color:#4682d1;
}

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

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

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

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

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

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

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

[data-theme="1"][data-u2-module="NewsCentreCards"] {
    background: inherit !important;
}

[data-theme="1"][data-u2-module="IconLinks"] {
    background: inherit !important;
}

[data-theme="1"][data-u2-module="Divider"] {
    background: inherit !important;
}

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

[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: #162b56;
}

[data-theme="0"] .u2-heading{
color:#fff;
}

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

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

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

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

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

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

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

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

.Spacer {
    height: 1px !important;
    background: #28386c;
}

.u2-menu-outer.stuck .u2-menu-block {
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
    padding: 15px 10px 10px 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 10px 20px;
}

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

/*--------------------------------------------------------------------------------
	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, .Post-on, .Post-By {
    font-size: 14px;
    color: #fff;
  line-height:1.7em;
}

.Post-on, .Post-By {
font-size:80%
}

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

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

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

/*--------------------------------------------------------------------------------
	BRANDING
-----------------------------------------------------------------------------------*/
/* School logo */
.u2-menu-outer .navbar-brand img {
    width: 240px;
    height: 62px;
}

.u2-menu-outer .u2-menu-block {
    /*padding: 100px 44px 10px 20px;*/
    background: #162b56;
}

/*--------------------------------------------------------------------------------
	BREADCRUMBS NAV BAR
-----------------------------------------------------------------------------------*/
/* Breadcrumbs nav bar */
.breadcrumb {
    text-shadow: none;
    padding: 0px 70px !important;
    font-size: 10px;
    min-height: 0px !important;
  display: none;
    background-color: #009fe4;
  font-style:italic;
}

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

.breadcrumb a {
    color: #00438d;
}

.breadcrumb > li + li:before {
    color: #00438d;
}

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

.page-head {
    background-color: #78adf3;
    margin-bottom: 50px;
}

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

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

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

.ParentAccessIndicator .PageTools_ParentToolTip {
    color: #868686;
}

/*--------------------------------------------------------------------------------
	HYPERLINKS
-----------------------------------------------------------------------------------*/
/*hyperlinks*/
a, a:hover, a:focus {
    color: #fcff00;
}

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

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

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

/* list line height override*/

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

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

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

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

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

    .u2-menu-outer[data-authenticated='0'] .u2-menu-block .u2-nav-links {
        max-width: calc(100% - 260px);
    }
}

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

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

.u2-menu-outer .navbar-nav a {
    /*Burger menu on desktop*/
    color: #78adf3;
    font-size: 12px;
}

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

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

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

.u2-menu-outer .navbar-nav a[href]:hover {
    color: #00a0e4;
    background-color: #f2f2f2;
}

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

.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: 15px 5px !important;
    border: none;
    font-size: 12px;
}

.list-group a, .NC_NewsBySection_Outer, .NC_NewsBySection_Outer:before {
    color:#4682d1;
}

.NC_PDFExport:before {
    color: #fff;
}

.panel-default {
    border: none;
}

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

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

.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: #d0e4ff;
    color: #203966;
    border: none;
    font-size: 12px;
    font-weight: inherit;
    font-weight: 500;
}

.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: #00a0e4;
    text-decoration: none;
}

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

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

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

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

.list-group a {
    /*item*/
    color:#4682d1;
}

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

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

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


/*--------------------------------------------------------------------------------
	MODULE - IFRAME
-----------------------------------------------------------------------------------*/
.Page_iframe .iFrameDescription{
font-size:80%;
}


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

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

#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: 5px 15px;
    font-weight: 600;
}

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

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

/*Links title*/
/*Homepage colours specified above*/

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

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

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

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

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

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

/*--------------------------------------------------------------------------------
	MODULE - SUBPAGE
-----------------------------------------------------------------------------------*/
main #SubPages .list-group {}

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

main #SubPages .list-group-item:hover {
    color: #00b3ff;
}
/* link icon */
main #SubPages .list-group-item i {
    color: #4682d1;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/*--------------------------------------------------------------------------------
	MODULE - SEARCH
-----------------------------------------------------------------------------------*/

/*--------------------------------------------------------------------------------
	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:#f2f2f2;
  font-size:90%;
}

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

.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 - HOMEPAGE AND NEWS SLIDESHOW
-----------------------------------------------------------------------------------*/
/*homepage slideshow only*/
.NewsCentreBanner.container-fluid .slide{
  height:70% !important;
}

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

.NewsCentreBanner .carousel-caption h1 {
    color: #162b56;
    font-size: 44px;
    max-width: 320px;
    padding: 10px 25px 0px 25px;
    background: rgb(255, 255, 255); /* Fallback for older browsers without RGBA-support */
    background: rgba(255, 255, 255, 0.65);
    font-weight: 600;
    text-align: center;
  text-shadow:none;
  font-style:italic;
}

.NewsCentreBanner .carousel-caption p {
    font-size: 18px;
    padding: 10px 25px 15px 25px;
    color: #162b56;
    max-width: 320px;
    background: rgb(255, 255, 255); /* Fallback for older browsers without RGBA-support */
    background: rgba(255, 255, 255, 0.65);
    text-align: center;
    font-weight: 600;
    text-shadow:none;
    font-style:italic;
}

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

.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 {
    /*display:none;*/
    bottom: 0px;
}


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

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


/*------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
//////////////////////////// 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: #162b56;
   font-weight: 400;
    font-size: 11px;
}

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

#ClassTasks .panel{
padding:10px;
}

#ClassTasks .panel-body{
background: #969696;
}

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

.nav-pills > li > a {
    border-radius: 3px;
    color: #162b56;
}

/*correcting corner radius error*/

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

.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: #05396f;
    font-weight: 600;
}

.ExtraNewsItem, .ExtraNewsItem i {
    color: #05396f;
}

.u2-MoreNews .ExtraNewsItem, .u2-MoreNews .ExtraNewsItem i , .u2-archives .ExtraNewsItem,
.u2-archives .ExtraNewsItem i {
color:#05396f;
}

.ExtraNewsItem:hover, .ExtraNewsItem i:hover {
    color: #1d245a;
}

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

.NewsTile {
    background-color: #f9f9f9;
    margin-top: 15px;
    border: solid 1px #ddd !important;
}

/*area surrounding featured articles*/
.u2-SocialMedia {
    margin-bottom: -50px;
    background-color: #78adf3;
    color: #000;
}

/*removing footer top margin*/
.NC_NewsBySection_Outer:hover {
    background: inherit;
    border: none;
}

.panel-body {
    padding: 5px;
}

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

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

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

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

.u2-MoreNews h4, .u2-archives h4 {
color:#000;
}

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

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

.news-showcase p {
    color: #000;
  line-height:1.4em;
}

.NC_TitleBase {
    background-color: #78adf3;
    border: none;
    padding: 6px 15px;
    height: 35px;
  color:#fff;
}

/*Notices section list box heading*/

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

.news-showcase h6 {}

.NC_NewsBySection {
    padding-bottom: 30px;
}

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

.NC_NewsBySection_Title {
    margin-bottom: 15px;
}

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

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

/*margin top will cause gap in news centre*/

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

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

/*Bottom nav bar*/
.footer-nav {
    display: none;
}

/*
.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:none;
background-position:3px -66px;
box-shadow:none !important;
background-image:none !important;
border:none !important;
border-top-left-radius:5px;
border-top-right-radius:5px;
margin-top:15px;
padding:0px;
} 

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

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

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

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

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

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

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

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

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

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

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

@media screen and (max-width: 400px) {
    .ProfileIdentity_Base .PublicToolbarBase a {
        text-align: center;
        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 {
  text-align:center;
  }
 
    .NewsCentreBanner .carousel-caption h1 {
        font-size: 15px;
      padding:0px;
    }

    .NewsCentreBanner .carousel-caption p {
        font-size: 12px;
      padding:0px;
    }

    .NewsCentreBanner .carousel-caption {
        /*padding: 90px 15px 0px 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: 30px 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: 135px;
        height: 35px;
    }
}

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

    .u2-menu-outer .navbar-brand img {
        width: 135px;
        height: 35px;
    }

    .u2-menu-outer .navbar-toggle:not(.collapsed) .icon-bar:nth-child(4) {
        background: transparent !important;
    }

    .navbar-toggle {
        margin-right: 0px;
    }

    .u2-menu-outer .u2-nav-controls .open > a.shade,
    .u2-menu-outer .u2-nav-controls .open > a.shade:focus,
    .u2-menu-outer .u2-nav-controls .open > a.shade:hover {
        color: #3c64ad;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .u2-menu-outer .u2-nav-links a[href] {
        font-size: 11px;
    }

    .u2-menu-outer .u2-nav-links .open > a,
    .u2-menu-outer .u2-nav-links a:hover {
        color: #3c64ad;
    }
  
    .breadcrumb {
        padding: 5px 0px !important;
    }

    .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%;
    }
  
     /*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: 22px;
    }

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

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

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

    .NewsCentreBanner .carousel .slide {
        background-position: center center;
    }
}

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

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






