﻿/* GLOBAL STYLES
-------------------------------------------------- */
html{-ms-overflow-style: scrollbar !important;}
/* Padding below the footer and lighter body text */
body {
  padding-bottom: 0;
  color: #5a5a5a;
  //color: #000000;
}

h1,h2,h3,h4,h5,h6,h7 { font-weight: normal; }
a { 
  color: #1d70b8; 
  text-decoration: none; 
}

a:hover{ 
  color: #003078; 
  text-decoration: none; 
}

a:focus{ 
  color: #003078; 
  text-decoration: none;
  outline-offset: 3px; 
}

.btn{
  border: 1px solid #5a5a5a;
}

.btn:focus{
  outline: 3px solid #fd0;
    outline-offset: 0;
}

.btn-primary{
  background-color: #00529B;
}

/* Equal column heights */
.equal {
	display: flex;
	display: -webkit-flex;
	flex-wrap: wrap;
}

hr{
  width:100%;
}

iframe{
  width:100%;
  border:none;
}

/* Form Control Class with Placeholder */
.form-control::-webkit-input-placeholder { color: #5a5a5a; }  /* WebKit, Blink, Edge */
.form-control:-moz-placeholder { color: #5a5a5a; }  /* Mozilla Firefox 4 to 18 */
.form-control::-moz-placeholder { color: #5a5a5a; }  /* Mozilla Firefox 19+ */
.form-control:-ms-input-placeholder { color: #5a5a5a; }  /* Internet Explorer 10-11 */
.form-control::-ms-input-placeholder { color: #5a5a5a; }  /* Microsoft Edge */

.form-control{
  border: 2px solid #5a5a5a;
}

.form-control:focus{
  outline: 2px solid #fd0 !important;
  outline-offset: 0 !important;
  box-shadow: inset 0 0 0 2px !important;
  border: 0;
}


/* use on child elements*/
.fill-container { padding: 0 -15px; }
.fill-column { padding: 0 -15px; }

/* Legacy site fixes (short term)
-------------------------------------------------- */
/* landscape and portrait image fixes for new design CL  */
.main-article img{
  margin-left: 40px; 
  margin-bottom: 20px;
  margin-top:10px;
}

.main-article img.landscape{ 
  width:270px; 
  height:170px; 
  float:right; 
  margin-left: 40px; 
  margin-bottom: 20px;
  margin-top:10px;
}

.main-article img.portrait{ 
  width:179px; 
  height:270px; 
  float:right; 
  margin-left: 40px;  
  margin-bottom: 20px;
  margin-top:10px;
}

.main-article figure figcaption{
  margin-left: 40px; 
  margin-bottom: 20px;
}

/* end of landscape and portrait image fixes */
/* responsive width images on small devices */
@media (max-width: 768px) {
    .main-article img, .main-article img.landscape, .main-article img.portrait  { 
      display: inline-block; 
      height: auto; 
      margin-left: 20px; 
      margin-bottom: 20px; 
      max-width: 100%; 
      width: auto; 
   }
  .councillor img {
    height: 52px!important;
    width: 40px!important;
  }
}
/* full width images on smaller (phone-sized) devices */
@media (max-width: 480px) {
    .main-article img { 
      display: inline-block; 
      height: auto;
      float: none !important;
      margin-left: 0px; 
      max-width: 100%; 
    }
    .main-article img.landscape { 
      display: block; 
      height: auto; 
      margin-bottom: 1em; 
      max-width: 100%; 
      width: 100%;
    }
    .main-article img.portrait { 
      display: block; 
      height: auto; 
      margin-bottom: 1em; 
      max-width: 50%;
      width: 50%; 
    }
}

/*Content Template */

.contents-nav-container{
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 15px;
  border-bottom: 1px solid #b1b4b6;
}

.contents-listing .nav a{
 display: inline;
}

.contents-listing h2{
      font-size: 16px;
    line-height: 1.5;
    margin-top:20px !important;
}

.contents-listing ul{
  padding: 0px 0px 0px 0px !important;
}

.contents-listing ul li{
  padding-left: 25px;
    padding-right: 25px;
}

.contents-listing li a{
  padding:0px;
}

.contents-listing ul li::before{
 content: "—";
    position: absolute;
    left: 0;
    width: 20px;
    overflow: hidden;
}

.content-pagination-nav{
  display:block;
}

.content-pagination-previous,
.content-pagination-next {
    font-family: "GDS Transport",arial,sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    font-size: 19px;
    line-height: 1.25;
    box-sizing: border-box;
    position: relative;
    min-width: 45px;
    min-height: 45px;
    padding: 10px 15px;
    float: left;
}

.content-pagination-nav .content-pagination-link-action:after {
    content: "";
    display: block;
}
.content-pagination-nav{
  margin-bottom: 30px;
  margin-top:30px;
}

.content-pagination-nav .content-pagination-previous,
.content-pagination-nav .content-pagination-next{
  padding-left: 0;
  float: none;
}

.content-pagination-previous+.content-pagination-next {
    border-top: 1px solid #b1b4b6;
}

.content-pagination-previous .content-pagination-link-action::before{
  font-family: FontAwesome;
    content: "\f060";
    position: absolute;
    top: 10;
    left: 0;
    color: #A7ACAF;
}

.content-pagination-next .content-pagination-link-action::before{
  font-family: FontAwesome;
    content: "\f061";
    position: absolute;
    top: 10;
    left: 0;
    color: #A7ACAF;
}


.content-pagination-link-action{
  display: inline;
  float: none;
  text-align: left;
}
.content-pagination-link-action{
  display: inline;
  font-weight: 700;
  padding-left: 30px;
}
.content-pagination-link-title{
      font-family: "GDS Transport",arial,sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.25;
    text-decoration: underline;
    text-decoration-thickness: max(1px, 0.0625rem);
    text-underline-offset: 0.1em;
    display: inline-block;
    padding-left: 30px;
}

.related-content{
  padding-top: 20px; color: #0b0c0c; border-top: 2px solid #00529b; margin-bottom: 60px;
}

/* Cookie banner
-------------------------------------------------- */
.cookie-banner { background-color: #333; color: #ddd; padding: 10px 0; }


/* Bootstrap 3 Additions & Ammendments
-------------------------------------------------- */
img.pull-left { margin-right: 10px }
img.pull-right { margin-left: 10px }

caption{
  color: #5a5a5a;
  font-size: 20px;
}

.table-no-border>thead>tr>th, 
.table-no-border>tbody>tr>th, 
.table-no-border>tfoot>tr>th, 
.table-no-border>thead>tr>td, 
.table-no-border>tbody>tr>td, 
.table-no-border>tfoot>tr>td {
  border: none; 
}

/* Equal table colum widths */
 .columns-equal th{
  min-width: 15rem;
} 

/*  Tablets Desktop  */
@media (min-width: 768px){
  .columns-equal{
    table-layout: fixed;
    word-break: break-word;
  }
}


/* One fifth width columns - use sparingly and don't mix with regular column widths */
.col-xs-fifth,
.col-sm-fifth,
.col-md-fifth,
.col-lg-fifth {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}
.col-xs-fifth { width: 20%; float: left; }
@media (min-width: 768px) { .col-sm-fifth { width: 20%; float: left; } }
@media (min-width: 992px) { .col-md-fifth { width: 20%; float: left; } }
@media (min-width: 1200px) { .col-lg-fifth { width: 20%; float: left; } }

/* SKIP TO CONTENT
-------------------------------------------------- */

.skip-to-content {
    display: block;
    width: 100%;
    height: 3.5rem;
    line-height: 3.5rem;
    margin-top: -3.5rem;
    padding: 0 0.9375rem;
    font-weight: 700;
    color: #0C3D6C;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    background-color: #DCE5EE;
    text-align: center;
    text-decoration: none;
    z-index: 9999;
    position: absolute;
}
.skip-to-content:focus {
    margin-top: 0;
}


/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */
/* GENERAL NAVBAR STYLES
-------------------------------------------------- */
.navbar { background-color: #00529B; }
.navbar-brand {
  float: left;
  font-size: 18px;
  line-height: 20px;
  padding: 15px;
}
.navbar-brand {
  color: #fff;
  max-width: 50%;
}
.navbar-brand:hover, .navbar-brand:focus {
  color: #ddd;
}
.navbar-brand.eac-logo {
  /*background-image: url(//www.east-ayrshire.gov.uk/assets/img/eac-shield-xs.png);
  background-image: url(//www.east-ayrshire.gov.uk/assets/svg/eac-shield.svg), none;
  background-position: 10px 8px;
  background-repeat: no-repeat;
  background-size: auto 35px;
  max-width: 70%;
  padding-left: 50px;*/
  background-image: url(//www.east-ayrshire.gov.uk/assets/img/eac-logo-white-min.png);
  background-image: url(//www.east-ayrshire.gov.uk/assets/svg/eac-logo-white-min.svg), none;
  background-position: 10px -4px;
  background-repeat: no-repeat;
  background-size: auto 60px;
  max-width: 70%;
  padding-left: 200px;
  /*text-indent: -9999px;*/
  white-space: nowrap;
}
.navbar .nav > li > a {
  color: #fff;
  text-shadow: none;
}
.navbar .nav > li > a:hover, .navbar > li > a:focus {
  color: #ddd;
}
.navbar .nav > .active > a {
  background-color: #0B71B4;
  color: #fff;
}
.navbar .nav > .active > a:hover, .navbar-nav > .active > a:focus {
  background-color: #0B71B4;
  color: #ddd;
}
.navbar .nav > li > a {
  border-radius: 4px 4px 4px 4px;
  color: #fff;
  line-height: 20px;
  padding-bottom: 15px;
  padding-top: 15px;
}
.nav > li > a:hover, .nav > li > a:focus {
  background-color: #fff;
  text-decoration: none;
  color: black;
}
.navbar-nav > li > a:hover, .navbar-nav > li > a:focus {
  background-color: transparent;
  color: #333333;
}
.navbar-fixed-top { margin-bottom: 0; }

/* RESPONSIVE NAVBAR OVERRIDES
-------------------------------------------------- */
@media only screen and (max-width : 319px) { /* Custom, awfy small devices */
    .navbar { background-color: #00529B; }
    .navbar-brand.eac-logo { /*text-indent: -9999px;*/ white-space: nowrap; }
    .navbar-fixed-top { margin-bottom: 0; }
}
@media only screen and (min-width : 320px) { /* Custom, iPhone Retina */
    /*.navbar-brand.eac-logo { background-position: 6px 13px; background-size: auto 24px; padding-left: 36px; white-space: nowrap; }*/
    .navbar-brand.eac-logo { background-position: -8px 0px; background-size: auto 50px; padding-left: 170px; white-space: nowrap; }
}
@media only screen and (min-width : 480px) { /* Extra Small Devices, Phones */
    /*.navbar-brand.eac-logo { background-position: 0 8px; background-size: auto 35px; max-width: 100%; padding-left: 40px; }*/
    .navbar-brand.eac-logo { background-position: 0 -4px; background-size: auto 60px; max-width: 100%; padding-left: 200px; }
}
@media only screen and (min-width : 768px) { /* Small Devices, Tablets */
    .navbar { background-color: rgba(0, 82, 155, 0.95); }
    /*.navbar-brand.eac-logo { background-position: 10px 8px; padding-left: 50px; }*/
	.navbar-brand.eac-logo { background-position: 10px -4px; padding-left: 200px; /*text-indent: -9999px;*/ white-space: nowrap; }
}


/* CUSTOMIZE THE SPECIAL AREAS
-------------------------------------------------- */
.full-width {
  background-color: #00529B;
}
/*h4 phase out*/
.full-width h2, .full-width h4 { 
  color: #fff;
  /*float: left;*/
  font-size: 18px;
  font-weight: normal;
  line-height: 20px;
  padding: 15px;
}
.full-width a, .full-width a:hover { color: #fff; text-decoration: none; }
.full-width.footer a, .full-width.footer a:hover { color: #0C3D6C; text-decoration: none; }

.atoz ul { margin: 10px 0; }
.atoz ul li { display: block; float: left; line-height: 20px; }
.atoz ul li a { min-width: 28px; padding: 5px 8px; text-align: center; }
.atoz ul li a:hover { color: #333; }

ul.header-actions { margin: 0; padding: 10px 15px; }
ul.header-actions li { line-height: 30px; }
ul.header-actions li a { color: #fff; }
ul.header-actions li a:hover { color: #fff; text-decoration: underline; }

.searchbar > div, .searchbar form { margin: 10px 0; }


.full-width.categories { margin-bottom: 0px; padding-top: 50px; padding-bottom: 10px; }
.full-width.categories a { color: #0C3D6C; display: block; font-size: 18px; line-height: 36px; margin: 10px 0; padding: 0; }
.full-width.categories a:hover { color: #0C3D6C; }
.full-width.categories a .fa.pull-left { margin-right: 5px; }
.full-width.categories a .fa { color: #0C3D6C; font-size: 24px; min-width: 100%; padding: 0; text-align: center; }
.full-width.categories a i { display: block; min-width: 40px; }
.full-width.categories .col-xs-2 { text-align: left; }

.full-width.OEA {color: #00529b; }
.full-width.OEA { margin-bottom: 0px; padding-top: 10px; padding-bottom: 10px; }
.full-width.OEA a { color: #00529b; margin: 10px 0; padding: 0; }
.full-width.OEA a:hover { text-decoration: underline; }
.full-width.OEA a .fa.pull-left { margin-right: 5px; }
.full-width.OEA a .fa { color: #00529b; font-size: 24px; min-width: 100%; padding: 0; text-align: center; }
.full-width.OEA a i { display: block; min-width: 40px; }
.full-width.OEA .col-xs-2 { text-align: left; }



/* RESPONSIVE SPECIAL AREA OVERRIDES
-------------------------------------------------- */
@media only screen and (max-width : 319px) { /* Custom, awfy small devices */ }
@media only screen and (min-width : 320px) { /* Custom, iPhone Retina */
    .full-width.categories a { line-height: 24px; }
}
@media only screen and (min-width : 480px) { /* Extra Small Devices, Phones */ }
@media only screen and (min-width : 768px) { /* Small Devices, Tablets */
    .full-width.atoz-search { padding-top: 60px; }
    .full-width.atoz-search .atoz ul li:nth-child(14) { clear: left; }
    .full-width.categories { padding: 0; }
    .full-width.categories a .fa { min-width: 28px; text-align: left; }
}
@media only screen and (min-width : 992px) { /* Medium Devices, Desktops */ }
@media only screen and (min-width : 1200px) { /* Large Devices, Wide Screens */
    .full-width.atoz-search .atoz ul li:nth-child(14) { clear: none; }
    .full-width.categories a { line-height: 36px; }
    .full-width.categories a .fa { font-size: 36px; min-width: 28px; }
}

/* Important Alert
-------------------------------------------------- */
.important-alert{
  text-align: center; 
  background-color: #efba40; 
  line-height: 40px;
  padding: 10px 0px;
  //margin-bottom: 10px
}

.important-alert a{
  padding: 8px; 
  font-size: 20px; 
  margin: 0;
  color: #000000;
}

.important-alert a:hover{
  text-decoration: underline;
}

.important-alert a::before{
  font-weight: 900;
  display: inline-block;
  content: '\f06a';
  font-family: 'FontAwesome';
  font-size: 25px;
  padding-right: 5px;
}


/* CONTENT AREAS
-------------------------------------------------- */
.breadcrumb{
  margin-top:15px;
  background-color: transparent;
  padding: 8px 15px 8px 0px;
}

.breadcrumb>.active{
  color: #5a5a5a;
}

.main-article {}
.main-article h1, .main-article h2 {
  border-bottom: none;
  /*margin-bottom: 0px;
  padding-bottom: 15px;*/
}

.main-article h2:not([class]){
  margin-top:40px;
  margin-bottom:20px;
  font-weight:600;
}

.main-article .row .col-sm-12 > h2:first-child,
.main-article .row .col-sm-12 > h3:first-child{
  margin-top:20px;
}

.main-article h3:not([class]),.main-article h4:not([class]),.main-article h5:not([class]){
  margin-top:25px;
  margin-bottom:15px;
}

.main-article p { 
  line-height: 22px; 
  margin: 15px 0px !important; 
}

@media (max-width: 480px) {
    .main-article p{ 
      display: inline-block;  
    }
}

.main-article div.headline {
  background-position: center;
  background-size: cover;
  height: 200px;
  margin-bottom: 0;
  overflow: hidden;
  position: relative;
}

.main-article div.headline {
  height: 200px;
}

.main-article div.headline img{
  width: 100%;
  object-fit: cover;
  object-position: center;
  margin: 0px;
  height: 200px;
}

.main-article div.headline h1, .main-article div.headline h2 {

  border: none;
  bottom: 0;
  color: #fff;
  margin: 0;
  padding: 5px 20px 5px 5px;
 
}

    .headline-content{
        //background: #333;
    background: #00529B;
    border-top: 2px solid #fff;
    bottom: 0;
    color: #fff;
    margin: 0;
    padding: 10px 20px;
    //position: absolute;
    //opacity: 95%;
    margin-bottom: 25px;
    }

    .headline-content h1, headline-content h2{
        margin: 0;
        padding: 5px 20px 5px 0px;
    }
    


/*.main-article a[href^="http"]:not([href*="east-ayrshire.gov.uk"]):after{
  content: "\f08e";
  font-weight: 700;
  font-family: 'FontAwesome';
  padding: 5px 1px 0px 5px;
}*/


.main-article ul,
.main-article ol{
  padding: 0px 0px 0px 20px;
  margin: 10px 0px 20px 20px;
}

.main-article ul li,
.main-article ol li{
  margin-bottom: 10px;
}

@media only screen and (max-width: 480px)
{
  .main-article div.headline {
    height: 100px;
  }
}


@media only screen and (max-width: 320px)
{
  .main-article div.headline {
    height:100px;
  }
}

.main-article .article-meta {}
.main-article .article-meta ul {
  background-color: #eee;
  border-top: 3px solid #0088CC;
  padding: 10px 0;
  margin: 0 0 20px 0;
}

/* Nav Card - used to display cards in landing page template */

.nav-cards-holder {
		padding: 15px 0px;
	}

	.nav-card {
		border-top: 1px solid #b1b4b6;
		margin: 0 15px;
		padding: 0px 0 20px 0;
	}

  .nav-card h2{
    font-size:18px;
    padding-right:10px;
    margin-top:20px !important;
    font-weight: 400 !important;
  }

	.nav-card h2 a {
		display: block;
		line-height: 1.25;
		font-size: 18px;
    padding-right:10px;
	}

	.nav-card h2 a:before {
		border-right: 3px solid #1d70b8;
		border-top: 3px solid #1d70b8;
		content: "";
		display: block;
		height: 10px;
		position: absolute;
		right: 35px;
		top: 25px;
		-webkit-transform: translateY(0) rotate(45deg) scale(1);
		-ms-transform: translateY(0) rotate(45deg) scale(1);
		transform: translateY(0) rotate(45deg) scale(1);
		width: 10px;
	}


/* Content Image Card - used to display cards in content template */

.content-card-deck{
  padding-top:20px;
}

.content-image-card {
		border: solid 1px lightgrey;
		box-shadow: 2px 2px 10px 0px rgb(195 195 195);
		border-radius: 7px;
		margin-bottom: 20px;
		background-color: #ffffff;
		width: 100%;
    
	}

	.content-image-card .content-image-holder > img {
		object-fit: cover;
		object-position: center;
		max-height: 210px;
		width: 100%;
    margin-left: 0px !important; 
    margin-bottom: 0px !important;
    margin-top: 0px !important;
	}

	.content-image-card .content-title {
		cursor: pointer;
		width: 100%;
		font-size: 18px;
		font-weight: 500;
		padding: 10px 15px 10px 15px;
		position: relative;
		padding-left: 17px;
		margin: 10px 10px;
	}

	.content-image-card .content-title::before {
		content: "";
		border-left: 8px solid #00529B;
		width: 8px;
		height: 100%;
		position: absolute;
		top: 50%;
		/* -webkit-transform: translateY(-50%); */
		-ms-transform: translateY(-50%);
		transform: translateY(-50%);
		left: 0;
	}

.content-image-card .content-title h2,
.content-image-card .content-title a {
		font-size: 20px;
		line-height: 1.2;
		letter-spacing: normal;
		text-decoration: none;
    margin:0px;
	}

	.content-image-card .content-title a:hover {
		color: #777;
	}

	.content-image-card .content-body {
		padding: 5px 15px 10px 15px;
		min-height: 80px;
    font-size: 16px;
	}

/* Cards for content area - e.g contact us page. */
.content-card-holder {
	width: 100%;
	margin-bottom: 2em;
}

.content-card-box {
	padding: 1em;
	margin: 0em 0em;
	background-color: white;
	height: 100%;
	border: solid 1px lightgrey;
	box-shadow: 2px 2px 10px 0px rgb(195 195 195);
	border-radius: 7px;
}

.content-card-box h2,
.content-card-box h4 {
	font-size: 20px;
}

.content-card-title {
  text-align: center;
}

.content-card-title img {
	width: 100%;
}

/* Filter holder for inputs for pages - e.g committee meetings calendar. */

.emp-profile {
		box-shadow: 0 0 1px 1px rgb(0 0 0 / 15%);
		border-radius: 7px;
		overflow: hidden;
		position: relative;
		margin-bottom: 20px;
		width: 100%;
	}

	.emp-profile .profile-pic {
		padding: 10px;
		text-align: center;
	}

	.emp-profile .profile-pic img {
		height: 250px;
    margin-left: 40px
	}

	.emp-profile .profile-content {
		padding: 15px 20px;
		background: #fff;
		position: relative;
	}

	.emp-profile .profile-subheader {
		font-size: 16px;
		font-weight: 600;
    padding-top: 10px;
	}

	.emp-profile span {
		display: block;
		font-size: 14px;
	}

	.emp-profile h2 {
		color: #555555;
		font-size: 20px;
		font-weight: 300;
		margin: 0 0 5px;
		background-color: #DCE5EE;
		padding: 15px;
	}

	.profile-content ul li {
		padding-bottom: 4px;
	}

/* Filter holder for inputs for pages - e.g committee meetings calendar. */

.filter-holder{
  padding: 15px 20px;
  background: #f3f3f3;
}

.filter-holder h2{
  font-size:22px;
  padding-bottom: 10px;
}

.filter-holder .form-group{
  padding-right: 10px;
  padding-bottom: 15px;
}

.filter-holder .btn{
  margin-bottom: 15px;
}

/* Left navigation menu list*/

.left-nav { padding-top: 20px; }
.left-nav .nav-list > .active > a,
.left-nav .nav-list > .active > a:hover,
.left-nav .nav-list > .active > a:focus {
    background-color: #eee;
    border-left: 2px solid #0088cc;
    color: #005580;
    padding-left: 13px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.left-nav .nav > li > a:hover,
.left-nav .nav > li > a:focus {
	background-color: transparent;
	border-left: 2px solid #0088cc;
	padding-left: 13px;
}

.left-nav .nav-list > li > a, .nav-list .nav-header {
    /*margin-left: -15px;
    margin-right: -15px;*/
    padding: 5px 15px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.left-nav .nav-list .nav-header {
    color: #5a5a5a;
    display: block;
    font-size: 11px;
    font-weight: bold;
    line-height: 20px;
    text-transform: uppercase;
}

/* Blockquote styles
------------------------ */

/*Generic blockquote*/
blockquote{display:block;background:#fff;opacity: 96%;padding:15px 20px 15px 48px;margin:0 14px 30px 14px;position:relative;font-size:16px;line-height:1.2;text-align:justify;border-left:15px solid #3071A9;border-right:2px solid #3071A9;-moz-box-shadow:1px 1px 5px #ccc;-webkit-box-shadow:1px 1px 5px #ccc;box-shadow:1px 1px 5px #ddd}
blockquote:not([class]){display:table;background:#fff;opacity: 96%;padding:60px 90px;margin: 30px 30px;position:relative;font-size:16px;line-height:1.2;text-align:justify;border-top:1px solid #00529B;border-bottom:1px solid #00529B;border-left:none;border-right:none;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}
blockquote:not([class]) p{ line-height: 1.4;}
blockquote::before{content:"\201C";font-family:Georgia,serif;font-size:60px;font-weight:700;color:#00529B;position:absolute;left:10px;top:5px}
blockquote::after{content:"\201D";font-family:Georgia,serif;font-size:60px;font-weight:700;color:#00529B;position:absolute;right:18px;bottom:0px}
/*Success blockquote - shows tick mark in green */
blockquote.success,blockquote.blockquote-success{border-left:15px solid #4CAE4C;border-right:2px solid #4CAE4C}
blockquote.success::before,blockquote.blockquote-success::before{content:"\f00c";font-family:Fontawesome;font-size:28px;font-weight:400;left:10px;position:absolute;top:10px}
blockquote.success::before,blockquote.blockquote-success::after{content:""}
/*Info blockquote - shows i icon with eac blue*/
blockquote.info,blockquote.information,blockquote.blockquote-info{border-left:15px solid #00529B;border-right:2px solid #00529B}
blockquote.info::before,blockquote.information::before,blockquote.blockquote-info::before{content:"\f129";font-family:Fontawesome;font-size:28px;font-weight:400;left:20px;position:absolute;top:14px}
blockquote.info::before,blockquote.information::before,blockquote.blockquote-info::after{content:""}
/*Warning blockquote - show ! triangle icon in orange*/
blockquote.warning,blockquote.blockquote-warning{border-left:15px solid #D58512;border-right:2px solid #D58512}
blockquote.warning::before,blockquote.blockquote-warning::before{content:"\f071";font-family:Fontawesome;font-size:28px;font-weight:400;left:10px;position:absolute;top:15px}
blockquote.warning::before,blockquote.blockquote-warning::after{content:""}
/*Danger blockquote - shows ! icon in red */
blockquote.danger,blockquote.blockquote-danger{border-left:15px solid #AC2925;border-right:2px solid #AC2925}
blockquote.danger::before,blockquote.blockquote-danger::before{content:"\f12a";font-family:Fontawesome;font-size:28px;font-weight:400;left:20px;position:absolute;top:14px}
blockquote.danger::before,blockquote.blockquote-danger::after{content:""}


@media only screen and (max-width: 480px)
{
  blockquote:not([class]) {
    padding:60px 20px;
    margin: 20px auto;
  }
}


@media only screen and (max-width: 320px)
{
  blockquote:not([class]) {
    padding:60px 20px;
    margin: 20px auto;
  }
}



/* Announcement styles
------------------------ */
blockquote.closable {
  transition: background-color 0.5s ease-in-out 0.1s, color 0.1s ease 0.1s, height 0.5s ease 0.1s;
}
blockquote.closable button.close {
  margin-left: 15px;
  font-size: 30px;
}
blockquote.hide-old, blockquote.hide-old, blockquote.hide-old {
  background-color: #269ABC;
  color: #269ABC;
}
blockquote.show-new::before {
  color: #fff;
  font-size: 18px;
}
blockquote.show-new, blockquote.show-new, blockquote.show-new {
  background-color: #269ABC;
  color: #fff;
  padding-right: 60px;
}
blockquote.show-new a, blockquote.show-new a:hover, blockquote.show-new a:active, blockquote.show-new a:visited {
  color: #fff;
  text-decoration: underline;
}

/* ------------------------- 
CMS Form overrides
------------------------- */

.sys_formrendercontrol-themed{
  margin-top:25px;
}

.sys_cms-form-control {
  background:#f5f5f5 !important;
  border-radius: 3px;
  padding: 20px 20px;
}

.sys_cms-form-body{
  padding: 20px 20px !important;
  margin: 0px !important;
}

.sys_cms-form-control .sys_fieldlabel{
   font-family: "Helvetica Neue",Helvetica,Arial,sans-serif !important;
    color: #5A5A5A !important;
    font-size: 16px !important;
    font-weight:600 !important;
    margin-bottom: 5px !important;
}

.sys_cms-form-control .sys_fieldcontent {
    width:100%; 
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    color: #5A5A5A;
    font-size: 14px;
}

.sys_cms-form-control .sys_fieldcontent span{
  padding-bottom: 5px !important;
}

.sys_cms-form-body .sys_cms-form-item {
  padding: 10px 0 8px 10px;
}

.sys_cms-form-body .sys_required{
  padding-left: 5px !important;
  color: #F20814 !important;
}

/* Hide validation summary - errors are shown at each input/select etc. */
.sys_cms-form-control .sys_cms-form-validationsummary{
      display: none;
}

.sys_cms-form-body .sys_cms-form-error{
    color: #F20814 !important;
}

.sys_cms-form-control .sys_legend, 
.sys_cms-form-control .sys_sectionbreak-header  {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif !important;
    color: #5A5A5A !important;
    font-size: 16px !important;
    font-weight:600 !important;
    margin-bottom: 10px !important;
}

.sys_cms-form-body li label{
  color: #5A5A5A !important;
}

/* form section break */
.sys_cms-form-body .sys_sectionbreak{
    border-bottom: 1px solid #ccc;
    margin: 20px 0px 20px 0px;
    width: auto;
}

.sys_cms-form-control .sys_sectionbreak-header{
    font-size: 22px !important;
}

.sys_cms-form-control .sys_sectionbreak .sys_sectionbreak-text{
  font-size: 14px !important;
  padding-bottom: 10px !important;
}

/* form dropdown */
.sys_cms-form-control .sys_fieldcontent select {
  width: 100%; 
  padding: 8px;
  border-radius: 4px;
}

.sys_cms-form-control .sys_fieldcontent select:focus{
  box-shadow: 0 0 5px rgba(81, 203, 238, 1) !important;
    border: 1px solid rgba(81, 203, 238, 1) !important;
}

.sys_cms-form-control .sys_instructions {
  margin-top:32px !important; 
  border:1px solid rgba(81, 203, 238, 1) !important; 
  background:#ffffff !important;
}

.sys_fieldcontent .sys_boxclearer{
  padding-bottom: 5px !important;
}

.sys_twocolumns .sys_fieldcontent span label{
  display: flex !important;
}

/* Small Devices, Tablets */
@media only screen and (max-width : 500px) { 

    .sys_twocolumns .sys_fieldcontent span {
      width: 100% !important;
    }

}

.sys_cms-form-control .sys_fieldcontent input,
.sys_cms-form-control .sys_fieldcontent textarea{
    -webkit-transition: all 0.30s ease-in-out !important;
    -moz-transition: all 0.30s ease-in-out !important;
    -ms-transition: all 0.30s ease-in-out !important;
    -o-transition: all 0.30s ease-in-out !important;
    outline: none !important;
    padding: 6px 6px 6px 6px !important;
    margin: 5px 1px 3px 0px !important;
    border: 1px solid #5A5A5A !important;
    width:100%;
    border-radius:4px;
}

.sys_cms-form-control .sys_fieldcontent input:focus,
.sys_cms-form-control .sys_fieldcontent textarea:focus{
    box-shadow: 0 0 5px rgba(81, 203, 238, 1) !important;
    border: 1px solid rgba(81, 203, 238, 1) !important;
    outline: 3px solid #fd0 !important;
    outline-offset: 0 !important;
    box-shadow: inset 0 0 0 2px !important;
    
}

/*.sys_cms-form-control .sys_fieldcontent input.sys_cms-form-error{
  box-shadow: 0 0 5px rgba(242,8,20, 1) !important;
  border: 1px solid rgba(242,8,20, 1) !important;
}*/

.sys_cms-form-control .sys_fieldcontent1 input{
    -webkit-transition: all 0.30s ease-in-out !important;
    -moz-transition: all 0.30s ease-in-out !important;
    -ms-transition: all 0.30s ease-in-out !important;
    -o-transition: all 0.30s ease-in-out !important;
    outline: none !important;
    padding: 6px 6px 6px 6px !important;
    //margin: 0px 1px 3px 0px !important;
    border: 1px solid #5A5A5A !important;
    width:100%;
    border-radius:4px;
}
.sys_cms-form-control .sys_fieldcontent1 input:focus{
    box-shadow: 0 0 5px rgba(81, 203, 238, 1) !important;
    border: 1px solid rgba(81, 203, 238, 1) !important;
}
.sys_cms-form-control UL.sys_cms-form-body LI.sys_radio INPUT {
    height: auto !important;
}

.sys_cms-form-body li .sys_legend{
  border-bottom: none !important;
}

/* form address */
.sys_address label{
  margin-bottom: 5px !important;
}

/* form file uploader */
.sys_fieldcontent input.formsuploader{
  padding: 10px !important;
  width: auto ! important;
  float: left !important;
}

.sys_fieldcontent ::file-selector-button {
 background-color: #00529B;
  color: #fff;
  border-color: #357ebd;
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  border: 1px solid transparent;
  border-radius: 4px;
}

.sys_fieldcontent ::file-selector-button:hover{
  color: #fff;
  background-color: #3071a9;
  border-color: #285e8e;
}

/* IE Support */
.sys_fieldcontent ::-ms-browse{
  background-color: #00529B;
  color: #fff;
  border-color: #357ebd;
}

.sys_fieldcontent ::-ms-browse:hover{
   color: #fff;
  background-color: #3071a9;
  border-color: #285e8e;
}

.sys_fieldcontent ::file-selector-button ::before{
  font-family: FontAwesome;
    content: "\f060";
    top: 10;
    left: 0;
    color: #fff;
    padding-right: 8px;
}
 

/*form time selector*/
.sys_timesubelement{
  margin: 0 20px 0 0 !important;
}

.sys_timesubelement select{
  min-width: 60px !important;
}

/* form page break buttons */

.sys_pagebreak button{
  background-color: #00529B;
  color: #fff;
  border-color: #357ebd;
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  border: 1px solid transparent;
  border-radius: 4px;

}

.sys_pagebreak [id^="btnNext"]::after{
  font-family: FontAwesome;
    content: "\f061";
    top: 10;
    color: #fff;
    padding-left: 8px;
}

.sys_pagebreak [id^="btnBack"]::before{
  font-family: FontAwesome;
    content: "\f060";
    top: 10;
    left: 0;
    color: #fff;
    padding-right: 8px;
}

/* form button submit */
.sys_cms-form-control .sys_form-submit{
  background-color: #00529B;
  color: #fff;
  border-color: #357ebd;
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  border: 1px solid transparent;
  border-radius: 4px;
}

.sys_cms-form-control .sys_form-submit:hover,
.sys_pagebreak button:hover{
  color: #fff;
  background-color: #3071a9;
  border-color: #285e8e;
}

.sys_cms-form-control .sys_form-submit:hover:focus,
.sys_pagebreak button:focus{
    background-color: #0C3D6C;
    color: #fff;
    text-decoration: none;
    outline-offset: 3px;
}

/* R8.2 Overrides
--------------------*/
.sys_cms-form-control .sys_fieldcontent [type="radio"] { width: 30px; }
.sys_cms-form-control .sys_fieldcontent [type="checkbox"] { width: 30px; }


/* VCard styles
------------------------- */
.main-article .contacts-area-container{
}

.main-article #contacts-area-title{
  background-color: #eee;
  border-bottom: 2px solid #0C3D6C;
  margin-top: 20px;
  margin-bottom: 25px;
  padding: 10px 20px 10px 10px;
  color: #0C3D6C;
}

.main-article #contacts-area-title h2{
  margin: 10px;
  font-size: 22px;
}

.main-article .contacts-area{
  display: grid;
  grid-template-columns: 1fr;
}

.main-article .contacts-area__contact{
  padding-top: 15px;
  height: 100%;
  width: 100%;
}

@media only screen and (min-width: 768px) {
    .main-article .contacts-area{
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.contacts-area__contact.vcard { list-style-type: none;}
.contacts-area__contact.vcard a { text-decoration: none; color: #1d70b8; }
.contacts-area__contact.vcard a:hover { text-decoration: underline; }
.contacts-area__contact.vcard h4 { border: medium none; padding: 0; }
.contacts-area__contact.vcard strong { margin: 0; padding: 0; display:inline; }
.contacts-area__contact.vcard .fn, .org { font-weight: 600; padding-bottom: 5px; font-size:18px; }
.contacts-area__contact.vcard .tel strong { font-weight: normal; }

.contacts-area__contact.vcard .mobile,
.contacts-area__contact.vcard .tel,
.contacts-area__contact.vcard .fax,
.contacts-area__contact.vcard .eml,
.contacts-area__contact.vcard .web{ 
  padding-bottom:2px;
}

.contacts-area__contact.vcard .tel span:first-of-type,
.contacts-area__contact.vcard .mobile span:first-of-type,
.contacts-area__contact.vcard .fax span:first-of-type,
.contacts-area__contact.vcard .eml span:first-of-type,
.contacts-area__contact.vcard .web span:first-of-type{
  font-weight:600;
}
.contacts-area__contact.vcard .adr { padding-bottom: 5px;  }
.contacts-area__contact.vcard .adr div { line-height: 150%; }
.contacts-area__contact.vcard .not { padding-top:5px;}
.contacts-area__contact.vcard .map { }
.contacts-area__contact .vcard .value { }


.static {
  background-color:#DCE5EE;
  border-bottom: 2px solid #c5ced6;
}
.footer { border-bottom: none; border-top: 2px solid #c5ced6; color: #333; margin-top: 40px; padding: 20px 0; }

.footer h2, .footer h4  { 
  color: #0C3D6C; 
  padding-left: 0; 
}

.footer .follow-us{
  margin-top: 35px;
  margin-bottom:20px;
  text-align: center;
}

.footer .follow-us span{
  display: block;
  padding:15px 0px;
  font-size:18px;
  //font-weight: 600;
}

.btn-subscribe{
  background-color: #00529B;
  color: #ffffff !important;
  padding:10px 30px !important;
  font-size: 18px !important;
}

.btn-subscribe:hover{
 background-color: #0C3D6C
}

.footer .follow-us li { line-height: 30px; padding: 0 0 15px; vertical-align: middle; }
.footer .follow-us li i { color: #0C3D6C; display: block; float: left; margin-right: 10px; width: 30px; }

.footer .contact-us .form-horizontal .control-label { width: 100px; }
.footer .contact-us .form-horizontal .controls { margin-left: 120px; }

.footer .contact-us ul li{
  padding-bottom: 5px;
}

.footer .contact-us ul li a{
    font-weight: 600;
}

.footer .contact-us ul li a:hover{
  text-decoration: underline;
}

.footer-end { background-color: #00529B; padding: 20px; text-align: center;  }
.footer-end h4 { padding-left: 0;  }

.list-footer-social{
  padding-top:30px;
}

.list-footer-social li{
  padding-right:10px !important;
  padding-left:10px !important;
}

.list-footer-links {
  padding-top:30px;
}

.list-footer-links li{
  display: inline;
}

.list-footer-links li a:hover{
  text-decoration: underline; 
}

.list-footer-links li:not(:last-child)::after{
  content: "|";
    display: inline-block;
    margin: 0 15px;
    color: #ffffff;
}

/* Extra Small Devices, Phones */	  
@media only screen and (max-width : 480px) { 

  .list-footer-links li{
    display: list-item;
    text-align: center;
    padding-bottom:10px;
  }

  .list-footer-links li:not(:last-child)::after{
  content: "";
    display: inline-block;
    margin: 0 15px;
    color: #ffffff;
}

}


#navHelper { background-color: #00529B; padding: 10px; position: fixed; bottom: 0; right: 0; display: none; }
#navHelper ul { margin-bottom: 0; }
/*#toTop ul li:last-child { padding-right: 0; }*/
#navHelper ul li a { color: #ccc; display: block; min-width: 20px; text-align: center; }
#navHelper ul li a:hover { color: #fff; text-decoration: none; }

a.section-anchor { display: block; height: 0px; }

/* PDF Alert Accordion - Used to highlight PDFs on page
---------------------------------------------------- */

#pdf-accessible-accordion{
    margin-top:15px;
    word-break: break-word;
}
	
.pdf-accessible-header-container{
	margin-top: 15px;
	border-left: 15px solid #269ABC; 
	border-right: 2px solid #269ABC;
	padding: 15px 20px 10px 38px; 
	box-shadow: 1px 1px 5px #ddd;
}

.pdf-accessible-panel-body{
	padding-left: 50px;
}

.pdf-accessible-header{
	background-color:#ffffff;
}

.lead{
	margin-bottom:10px;
  margin-right:10px;
}

.lead i{
	font-size: 28px;
	font-weight: 400;
	left: 20px; 
	margin-right:20px;
}

.panel-header{
	padding-top:20px;
	padding-left:30px;
}

.pdf-link{
	//padding-bottom:5px;
}
	
#pdf-accessible-panel-container{
	padding-top:20px;
	padding-left:20px;
}

.pdf-accessible-panel-header{
	font-size:18px;
}

.pdf-accessible-title{
  margin:5px;
}

.pdf-accessible-panel-body{
	padding-left: 50px;
	padding-bottom:15px;
	padding-top: 10px;
}
	
.pdf-accessible-title > button {
  	display: flex;
  	position: relative;
	width: 100%;
	color: #00529B;
}

.pdf-accessible-title > button:after {
	content: "\f078"; /* fa-chevron-down */
	font-family: 'FontAwesome';
	position: absolute;
	font-size: 28px;
	font-weight: 400;
	top:0;
	right: 0;
}

.pdf-accessible-title > button[aria-expanded="true"]:after {
	content: "\f077"; /* fa-chevron-up */
}

/* Extra Small Devices, Phones */	  
@media only screen and (max-width : 480px) { 
	
	.pdf-accessible-header-container{
		    padding: 15px 20px 15px 15px;
	}

	#pdf-accessible-panel-container{
		padding-left:20px;
	}

	.pdf-accessible-header-container{
		margin-bottom:30px;
	}

	.pdf-accessible-title > button {
  		display: flex;
  		position: relative;
		width: 100%;
	}

	.pdf-accessible-title > button:after {
		position:relative;
	}

	.pdf-accessible-panel-body{
		padding-left:0px;
	}

	.access-contact{
		    word-break: break-word;

	}
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) { 

  .pdf-accessible-header-container{
	margin-top: 15px;
	border-left: 15px solid #269ABC; 
	border-right: 2px solid #269ABC;
	padding: 15px 20px 10px 28px; 
	box-shadow: 1px 1px 5px #ddd;
}
  	
    .pdf-accessible-title > button {
  		display: flex;
  		position: relative;
		width: 100%;
	}

	.pdf-accessible-title > button:after {
		position:relative;
	}
}


/* Accessible Generic Accordion - Phasing out radio and label approach
---------------------------------------------------- */

 .accordion-holder {
		text-align: left;
		margin: 20px auto 30px auto;
		position: relative;
	}

	.accordion-holder .panel {
		margin-bottom: 10px;
	}

	.accordion-holder .panel-heading {
		background-color: #EEEEEE;
		padding: 5px 15px;
	}

	.accordion-holder .panel-heading h2 {
		color: #000000;
		font-size: 18px;
		margin: 0px;
    font-weight: 700;
	}

	.accordion-holder .panel-heading:hover {
		background: #DCE5EE;
		opacity: 0.95;
	}

	.accordion-holder .panel-heading h2>button {
		display: flex;
		position: relative;
		width: 100%;
		color: #000000;
		padding: 10px 20px 10px 0px;
		border-color: transparent;
		background: transparent;
		text-align: left;
	}

  .accordion-holder .panel-heading h2>button:focus{
    background-color: none;
  }

	.accordion-holder .panel-heading h2>button:after {
		/* fa-chevron-down */
		content: "\f078";
		font-family: 'FontAwesome';
		position: absolute;
		font-size: 28px;
		font-weight: 400;
		top: 5px;
		right: 0;
	}

	.accordion-holder .panel-heading h2>button[aria-expanded="true"]:after {
		/* fa-chevron-up */
		content: "\f077";
	}

  /* Small Devices, Tablets */
  @media only screen and (max-width : 768px) { 
      
    .accordion-holder .panel-heading:hover {
      background: #EEEEEE;
    }

    .accordion-holder .panel-heading h2>button:focus {
      outline: none;
    }

  }


/* Accessible FAQ Accordion menu
-------------------------------------------------- */
.accordion-container,
.faq-container {
  text-align: left;
  margin: 10px auto 30px auto;
  position: relative;
}

.accordion-container article p,
.faq-container article p { 
  margin: 10px 15px 15px 15px; 
}

.accordion-container input[type=checkbox],
.accordion-container input[type=radio],
.faq-container input[type=checkbox],
.faq-container input[type=radio] {
  background-color: transparent;
  border: 1px solid transparent;
  height: 1px;
  position: absolute;
  width: 1px;
  margin: 4px 0 0 0;
  outline: none;
}

.accordion-container input[type=checkbox] + label,
.accordion-container input[type=radio] + label,
.faq-container input[type=checkbox] + label,
.faq-container input[type=radio] + label {
  background: #EEEEEE;
  border-bottom: 1px solid #fff;
  color: #333;
  cursor: pointer;
  display: block;
  font-size: 18px;
  font-weight: normal;
  line-height: 32px;
  padding: 10px 15px;
  position: relative;
  z-index: 20;
  margin-bottom: 15px;
}

.accordion-container input[type=checkbox] + label:before,
.accordion-container input[type=radio] + label:before,
.accordion-container input[type=checkbox] + label:after,
.accordion-container input[type=radio] + label:after,
.faq-container input[type=checkbox] + label:before,
.faq-container input[type=radio] + label:before,
.faq-container input[type=checkbox] + label:after,
.faq-container input[type=radio] + label:after {
  display: inline-block;
  font-family: FontAwesome;
  font-size: 24px;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
}
.faq-container input[type=checkbox] + label:before,
.faq-container input[type=radio] + label:before {
  content: "\f29c";
  padding-right: 10px;
}

.accordion-container input[type=checkbox] + label:after,
.accordion-container input[type=radio] + label:after,
.faq-container input[type=checkbox] + label:after,
.faq-container input[type=radio] + label:after {
  content: "\f054";
  float: right;
  padding-left: 10px;
}

.accordion-container input[type=checkbox] + label:hover,
.accordion-container input[type=radio] + label:hover,
.faq-container input[type=checkbox] + label:hover,
.faq-container input[type=radio] + label:hover { 
  background: #D6D6D6; 
}

.accordion-container input[type=checkbox]:checked + label,
.accordion-container input[type=radio]:checked + label
.faq-container input[type=checkbox]:checked + label,
.faq-container input[type=radio]:checked + label { 
  background: #EEEEEE; 
}

.accordion-container input[type=checkbox]:focus + label,
.accordion-container input[type=radio]:focus + label,
.faq-container input[type=checkbox]:focus + label,
.faq-container input[type=radio]:focus + label { 
  background: #BEBEBE; 
}

.accordion-container input[type=checkbox]:checked + label:hover,
.accordion-container input[type=radio]:checked + label:hover,
.faq-container input[type=checkbox]:checked + label:hover,
.faq-container input[type=radio]:checked + label:hover { 
  background: #D6D6D6; 
}

.accordion-container input[type=checkbox]:checked + label:after,
.accordion-container input[type=radio]:checked + label:after,
.faq-container input[type=checkbox]:checked + label:after,
.faq-container input[type=radio]:checked + label:after {
	-webkit-transform: rotate(90deg);
	   -moz-transform: rotate(90deg);
	    -ms-transform: rotate(90deg);
	     -o-transform: rotate(90deg);
	        transform: rotate(90deg);
}

.accordion-container input[type=checkbox] + label + article,
.accordion-container input[type=radio] + label + article,
.faq-container input[type=checkbox] + label + article,
.faq-container input[type=radio] + label + article {
  display: none;
  /* display: none; - Content is ignored by screen readers, additionally stops tabbing through hidden content */
  height: 0;
  max-height: 0;
  overflow: hidden;
  /* 0, 0, hidden; - Content is ignored by screen readers, but tab key still steps through hidden elements */
  -webkit-transition: all 1.5s ease-in-out;
  -moz-transition: all 1.5s ease-in-out;
  -o-transition: all 1.5s ease-in-out;
  -ms-transition: all 1.5s ease-in-out;
  transition: all 1.5s ease-in-out;
}

.accordion-container input[type=checkbox]:checked + label + article,
.accordion-container input[type=radio]:checked + label + article,
.faq-container input[type=checkbox]:checked + label + article,
.faq-container input[type=radio]:checked + label + article {
  display: block;
  height: auto;
  max-height: 5000px;
  -webkit-transition: all 1.5s ease-in-out;
  -moz-transition: all 1.5s ease-in-out;
  -o-transition: all 1.5s ease-in-out;
  -ms-transition: all 1.5s ease-in-out;
  transition: all 1.5s ease-in-out;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (max-width: 979px) {
    .full-width { padding-top: 0; }
    .carousel .item {
      height: 500px;
    }
    .carousel img {
      width: auto;
      height: 500px;
    }
    
    .featurette {
      height: auto;
      padding: 0;
    }
    .featurette-image.pull-left,
    .featurette-image.pull-right {
      display: block;
      float: none;
      max-width: 40%;
      margin: 0 auto 20px;
    }
}

.categories .span2 { display: inline-block; float: left; width: 16.6%; }
.categories .span2 h4 { height: 25px; text-align: center; }
.categories .span2 span { display: none; }

.full-width { padding-top: 0; }

.marketing .span4 + .span4 { margin-top: 40px; }

.featurette-heading { font-size: 30px; }
.featurette .lead { font-size: 18px; line-height: 1.5; }

#toTop ul li.visible-phone { display: inline-block !important; }

@media (min-width: 768px) {
  .marketing{padding-left:0;padding-right:0;}
  .navbar-wrapper{margin-top:20px;margin-bottom:-90px;}
  .navbar-wrapper .navbar{border-radius:4px;}
}


/* ==========================================================================
   Responsive container for maps
========================================================================== */
.map-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    /*border: 1px solid red;*/
}
.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   Responsive solution for column wrapping
========================================================================== */

/*  Tablet  */
@media (min-width:768px){

  /* Column clear fix */
  .row-wrappable .col-lg-1:nth-child(12n+1),
  .row-wrappable .col-lg-2:nth-child(6n+1),
  .row-wrappable .col-lg-3:nth-child(4n+1),
  .row-wrappable .col-lg-4:nth-child(3n+1),
  .row-wrappable .col-lg-6:nth-child(2n+1),
  .row-wrappable .col-md-1:nth-child(12n+1),
  .row-wrappable .col-md-2:nth-child(6n+1),
  .row-wrappable .col-md-3:nth-child(4n+1),
  .row-wrappable .col-md-4:nth-child(3n+1),
  .row-wrappable .col-md-6:nth-child(2n+1){
    clear: none;
  }
  .row-wrappable .col-sm-1:nth-child(12n+1),
  .row-wrappable .col-sm-2:nth-child(6n+1),
  .row-wrappable .col-sm-3:nth-child(4n+1),
  .row-wrappable .col-sm-4:nth-child(3n+1),
  .row-wrappable .col-sm-6:nth-child(2n+1){
    clear: left;
  }
}


/*  Medium Desktop  */
@media (min-width:992px){

  /* Column clear fix */
  .row-wrappable .col-lg-1:nth-child(12n+1),
  .row-wrappable .col-lg-2:nth-child(6n+1),
  .row-wrappable .col-lg-3:nth-child(4n+1),
  .row-wrappable .col-lg-4:nth-child(3n+1),
  .row-wrappable .col-lg-6:nth-child(2n+1),
  .row-wrappable .col-sm-1:nth-child(12n+1),
  .row-wrappable .col-sm-2:nth-child(6n+1),
  .row-wrappable .col-sm-3:nth-child(4n+1),
  .row-wrappable .col-sm-4:nth-child(3n+1),
  .row-wrappable .col-sm-6:nth-child(2n+1){
    clear: none;
  }
  .row-wrappable .col-md-1:nth-child(12n+1),
  .row-wrappable .col-md-2:nth-child(6n+1),
  .row-wrappable .col-md-3:nth-child(4n+1),
  .row-wrappable .col-md-4:nth-child(3n+1),
  .row-wrappable .col-md-6:nth-child(2n+1){
    clear: left;
  }
}


/*  Large Desktop  */
@media (min-width:1200px){

  /* Column clear fix */
  .row-wrappable .col-md-1:nth-child(12n+1),
  .row-wrappable .col-md-2:nth-child(6n+1),
  .row-wrappable .col-md-3:nth-child(4n+1),
  .row-wrappable .col-md-4:nth-child(3n+1),
  .row-wrappable .col-md-6:nth-child(2n+1),
  .row-wrappable .col-sm-1:nth-child(12n+1),
  .row-wrappable .col-sm-2:nth-child(6n+1),
  .row-wrappable .col-sm-3:nth-child(4n+1),
  .row-wrappable .col-sm-4:nth-child(3n+1),
  .row-wrappable .col-sm-6:nth-child(2n+1){
    clear: none;
  }
  .row-wrappable .col-lg-1:nth-child(12n+1),
  .row-wrappable .col-lg-2:nth-child(6n+1),
  .row-wrappable .col-lg-3:nth-child(4n+1),
  .row-wrappable .col-lg-4:nth-child(3n+1),
  .row-wrappable .col-lg-6:nth-child(2n+1){
    clear: left;
  }
}

/* RESPONSIVE MENU
-------------------------------------------------- */
.site-menu-shade { display: none; margin: 0; padding: 0; }
#site-menu-fixed { display: none; }

/* Small Devices, Tablets */

@media only screen and (max-width : 768px) {
  .left-nav {
    display: none;
  }
  #site-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
  }
  #site-canvas {
    background-color: #fff;
    width: 100%;
    height: 100%;
    position: relative;

    -webkit-transform: translateX(0);
    transform: translateX(0);

    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);

    -webkit-transition: 500ms ease all;
    transition: 500ms ease all;

    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;

    padding: 0;
    z-index: 2;
  }
  #site-canvas .xs-title {
    background-color: #354A5F;
  }
  #site-canvas .xs-title h2 {
    color: #eee;
    display: inline-block;
    font-size: 1.5em;
    margin-bottom: 1.5em;
    padding: 0 20px;
  }
  #site-canvas .xs-title .toggle-nav {
    color: #eee;
    cursor: pointer;
    display: inline-block;
    font-size: 1.5em;
    margin-top: 20px;
    margin-bottom: 1.5em;
    padding: 0 20px;
  }
  .show-nav #site-canvas {
    -webkit-transform: translateX(300px);
    transform: translateX(300px);

    -webkit-transform: translate3d(300px, 0, 0);
    transform: translate3d(300px, 0, 0);
  }
  
  .site-menu-shade { display: none; }
  .show-nav .site-menu-shade {
    background-color: rgba(0,0,0,0.5);
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1090;
  }
  .show-nav .site-menu-shade .toggle-nav {
    cursor: default;
  }
  
  .show-nav #site-menu-fixed {
    background-color: #364760;
    display: block;
    height: 100%;
    overflow-y: auto;
    position: fixed;
    top: 0;
    width: 300px;
    z-index: 1;
  }
  #site-menu-fixed .toggle-nav {
    cursor: pointer;
  }
  #site-menu-fixed #site-menu-dynamic {
    padding-bottom: 50px;
  }
  #site-menu-fixed h2 { background-color: #2A394F; display: block; font-size: 18px; line-height: 20px; margin: 0; padding: 15px; }
  #site-menu-fixed h2 i.fa { margin-right: 5px; }
  #site-menu-fixed h2 a { color: #eee; }
  #site-menu-fixed h2 a:hover { color: #eee; background-color: #2A394F; }
  #site-menu-fixed .nav-list a { color: #eee; font-size: 12px; font-weight: bold; }
  #site-menu-fixed .nav-list a:hover { color: #eee; background-color: #2A394F; }
  #site-menu-fixed .nav-list { border-bottom: 2px solid #2A394F; margin-bottom: 10px; padding-bottom: 10px; }
  #site-menu-fixed .nav-list .nav-header { color: #eee; font-size: 14px; font-weight: bold; text-shadow: none; text-transform: uppercase; }
  #site-menu-fixed .nav-list .active { background-color: #2A394F; border-left: 3px solid #15A4FA; }
  #site-menu-fixed .social-icons { position: fixed; bottom: 0px; width: 300px; background-color: #2A394F; padding: 10px 5px 10px 0px; z-index: 10; }
  #site-menu-fixed .social-icons a { color: #eee; }
  #site-menu-fixed .social-icons a:hover { color: #eee; }
  
  #site-menu-fixed.menu-light { background-color: #fff; }
  #site-menu-fixed.menu-light h2 { background-color: #333; }
  #site-menu-fixed.menu-light h2 a { color: #eee; }
  #site-menu-fixed.menu-light h2 a:hover { color: #eee; background-color: #333; }
  #site-menu-fixed.menu-light .nav-list a { color: #333; font-size: 12px; font-weight: bold; }
  #site-menu-fixed.menu-light .nav-list a:hover { color: #333; background-color: #eee; }
  #site-menu-fixed.menu-light .nav-list { border-bottom: 2px solid #2A394F; margin-bottom: 10px; padding-bottom: 10px; }
  #site-menu-fixed.menu-light .nav-list .nav-header { color: #333; font-size: 14px; font-weight: bold; text-shadow: none; text-transform: uppercase; }
  #site-menu-fixed.menu-light .nav-list .active { background-color: #eee; border-left: 3px solid #0088CC; }
  #site-menu-fixed.menu-light .social-icons { position: fixed; bottom: 0px; width: 300px; background-color: #333; padding: 10px 5px 10px 0px; z-index: 10; }
  #site-menu-fixed.menu-light .social-icons a { color: #eee; }
  #site-menu-fixed.menu-light .social-icons a:hover { color: #ccc; }
  
  #site-menu-fixed.menu-default { background-color: #fff; }
  #site-menu-fixed.menu-default h2 { background-color: #00529B; border-bottom: 1px solid rgba(0,0,0,0); }
  #site-menu-fixed.menu-default h2 a { color: #eee; }
  #site-menu-fixed.menu-default h2 a:hover { color: #eee; background-color: #00529B; }
  #site-menu-fixed.menu-default .nav-list a { color: #3A79B1; font-size: 12px; font-weight: bold; }
  #site-menu-fixed.menu-default .nav-list a:hover { color: #2A6496; background-color: #eee; }
  #site-menu-fixed.menu-default .nav-list { border-bottom: none; padding-bottom: 10px; }
  #site-menu-fixed.menu-default .nav-list .nav-header { color: #999; font-size: 14px; font-weight: bold; text-shadow: none; text-transform: uppercase; }
  #site-menu-fixed.menu-default .nav-list .active { background-color: #eee; border-left: 3px solid #0088CC; color: #005580; }
  #site-menu-fixed.menu-default .social-icons { position: fixed; bottom: 0px; width: 300px; background-color: #00529B; padding: 10px 5px 10px 0px; z-index: 10; }
  #site-menu-fixed.menu-default .social-icons a { color: #fff; }
  #site-menu-fixed.menu-default .social-icons a:hover { color: #ddd; }
}

.linkbutton {
  background-color: #4CAF50; /* Green */
  border: none;
  border-radius: 8px;
  color: white;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  -webkit-transition-duration: 0.4s; /* Safari */
  transition-duration: 0.4s;
  cursor: pointer;
}


.linkbuttonBlue {
  background-color: #00529B; 
  color: #fff; 
  border: 2px solid #0C3D6C;
}

.linkbuttonBlue:hover, .linkbuttonBlue:focus {
  background-color: #0C3D6C;
  color: #fff;
}

/**** Razor Controls ***/

/**Your Councillor Control**/
	.ward-title{
		background-color: #eee; 
		margin-top: 20px; 
		padding: 10px 5px;
	}
	.councillor-section-title{
		font-size: 20px;
		padding: 0px 0px 10px 0px;
		font-weight: 500;
		display: block;
	}

/** Audio control **/

.audiojs{
  width:50%
}

.audiojs .play-pause{
  min-width:25px;
  width:auto;
}

.audiojs .play-pause p{
    margin: 0px !important;
}

.track-details{
  clear:both;
  width:50%;
  padding:1px 6px;
  background:#eee;
  color:#222;
  font-family:monospace;
  font-size:12px;
  line-height:20px;
  -webkit-box-shadow:inset 1px 1px 5px rgba(0,0,0,0.15);
  -moz-box-shadow:inset 1px 1px 5px rgba(0,0,0,0.15);
}

.track-details em{
  font-style:normal;
  color:#999;
}

@media only screen and (max-width : 319px){
  .audiojs{
    width:100%;
  }
  
  .track-details{
    width:100%
  }
}

@media only screen and (min-width : 320px){
  .audiojs{
    width:100%;
  }
  
  .track-details{
    width:100%;
  }
}

@media only screen and (min-width : 992px){
  .audiojs{
    width:50%;
  }
  
  .track-details{
    width:50%;
  }
}