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

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

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

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

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

.btn:focus{
  outline: 2px transparent solid;
  box-shadow: #000000 0px 0px 0px 2px, #fd0 0px 0px 0px 4px !important;
}

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

/* Cookie Control */
a.ccc-link{
  text-decoration: underline;
}

#ccc .ccc-content--dark a{
  text-decoration: underline !important;
}

/* 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 transparent solid;
  box-shadow: #000000 0px 0px 0px 2px, #fd0 0px 0px 0px 4px !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%; 
    }
}

/* WIP - New template
--------------------------------------------------*/

/*Template - Contents listing */

.contents-list-container{
	margin-top: 0;
  margin-bottom: 0;
  padding: 0px 15px 0px 0px;
  display: none;
}

.contents-list-container h2{
  margin-bottom: 15px;
  font-size: 2.2rem;
}

.contents-list-container nav{
  padding-bottom: 20px;
  border-bottom: 1px solid #b1b4b6;
}

.contents-list-container ol {
  padding: 0px 0px 0px 0px !important;
	margin: 10px 0px 20px 20px;
}

.contents-list-container ol li {
	margin-bottom: 10px;
	line-height: 1.6;
	padding-left: 25px;
	padding-right: 25px;
	position: relative;
	display: block;
}		
	
.contents-list-container ol li::before {
  content: "—";
  position: absolute;
  left: 0;
  width: 20px;
  overflow: hidden;
}

.contents-list-container ol li a{
  text-decoration: underline;
	text-underline-offset: 0.2em;
	color: #175892;
	font-weight: 600;
	text-decoration-thickness: max(1px, 0.0625rem);
	padding: 1.5rem;
}

.contents-list-container ol li a:hover{
  color: #003078;
  text-decoration-thickness: max(2px, 0.1875rem, 0.12em);
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
  -webkit-text-decoration-skip: none;
  text-decoration-skip: none;
}

.contents-list-container hr{
  height: 1px;
  background-color: #b1b4b6;
}

/*Template - pagination nav */
.content-pagination-nav{
  display:block;
  margin-bottom: 30px;
  margin-top:30px;
}

.content-pagination-nav a{
  text-decoration: none !important;
}

.content-pagination-previous,
.content-pagination-next {
  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;
  display: flex;
  align-items: center;
  transition: background-color 0.15s ease;
}

.content-pagination-previous:hover,
.content-pagination-next:hover {
  background-color: #f0f0f0;
}
.content-pagination-nav .content-pagination-link-action::after {
  content: "";
  display: block;
}

.content-pagination-nav .content-pagination-previous,
.content-pagination-nav .content-pagination-next{
  padding-left: 25px;
}

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

.content-pagination-previous .content-pagination-link-action::before,
.content-pagination-next .content-pagination-link-action::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border: solid #A7ACAF;
  border-width: 0 3px 3px 0;
  padding: 3px;
  position: relative;
  margin-right: 10px; /* Space between icon and text */
}

.content-pagination-previous .content-pagination-link-action::before {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.content-pagination-next .content-pagination-link-action::before {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.content-pagination-link-action{
  display: inline;
  font-weight: 700;
  text-align: left;
}

.content-pagination-link-title{
  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;
}

.content-pagination-previous:hover .content-pagination-link-title,
.content-pagination-next:hover .content-pagination-link-title{
  text-decoration: underline;
  color: #003078;
  text-decoration-thickness: max(2px, 0.1875rem, 0.12em);
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
  -webkit-text-decoration-skip: none;
  text-decoration-skip: none;
}

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

/*Template - section listing navigation */
.section-list-nav-container {
  overflow: hidden;
  position: relative;
	border-top: 1px solid #b1b4b6;
}

.section-list-nav-container ol{
  list-style: none;
	width: 100%;
	height: 100%;
	display: flex;
  gap: 2rem;
  align-items: center;
	justify-content: start;
  white-space: nowrap;
  padding: 0px;
  margin: 0.5rem 0rem;
  scrollbar-width: none;
  overflow-x: scroll;
  overflow-y: hidden;
	-ms-overflow-style: none;
}

.section-list-nav-container ol li {
	margin-bottom: 0px !important;
}

.section-list-nav-container ol li.active{
	position: relative;
  display: block;
	padding: 1.5rem;
	font-weight: 700;
}

.section-list-nav-container .section-bar-nav {
  display: flex;
  align-items: center;
  position: relative;
	margin: 10px 0px;
}

.section-list-nav-container .section-list-nav a{
	text-decoration: underline;
	text-underline-offset: 0.2em;
	color: #175892;
	font-weight: 600;
	text-decoration-thickness: max(1px, 0.0625rem);
	padding: 1.5rem;
}

.section-list-nav-container .section-list-nav a:hover{
  text-decoration: underline;
  color: #003078;
  text-decoration-thickness: max(2px, 0.1875rem, 0.12em);
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
  -webkit-text-decoration-skip: none;
  text-decoration-skip: none;
}

/* Show button if nav is overflowing */
.section-list-nav-container .section-list-nav.overflow .scroll-button {
  display: block;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.section-list-nav-container .nav-list::-webkit-scrollbar {
	display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.section-list-nav-container .section-list{
  -ms-overflow-style: none;
	scrollbar-width: none;
}

.section-list-nav-container .scroll-button {
  position: absolute;
  display: flex;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1;
	background-color: transparent;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	align-items: center;
  justify-content: center;
	appearance: none;
	height: 48px;
	width: 48px;
}

.scroll-button:hover {
	background-color: #f1f3f4;
}

.side-scroll-overlay{
	height: 100%;
	position: absolute;
	top: 0;
	width: 100px;
	pointer-events: none;
}

.side-scroll-overlay.left-fade{
	background: linear-gradient(to left, transparent 0%, #fff 60%, #fff);
	margin-left: 0;
	left: -4px;
}

.side-scroll-overlay.right-fade{
	background: linear-gradient(to right, transparent 0%, #fff 60%, #fff);
	margin-right: 0;
	right: -16px;
}

.section-list-nav-container	#scrollLeft {
	left: 0;
}

.section-list-nav-container #scrollRight {
	right: 0;
}

.section-list-nav-container .arrow {
	border: solid black;
	border-width: 0 4px 4px 0;
	display: inline-block;
	padding: 3px;
}

.section-list-nav-container .right {
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
}

.section-list-nav-container .left {
	transform: rotate(135deg);
	-webkit-transform: rotate(135deg);
}

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

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


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


/* NEW HEADER
-------------------------------------------------- */

.align-items-center {
  -ms-flex-align: center!important;
  align-items: center!important;
}

.align-self-center {
  -ms-flex-item-align: center!important;
  align-self: center!important;
}

header.eac-header {
  background-color: rgba(0, 82, 155);
}

header.eac-header .header-wrapper{
  padding: 0px 0px 0px 0px;
  z-index: 90;
  height: 90px;
}

header.eac-header .header-logo {
  height: 85px;
  background-image: url(https://w55elq78eeq037vw3leuy4e9s-s-a2157.bj.tsgdht.cn/assets/svg/eac-logo-white-min.svg), none;
  background-repeat: no-repeat;
  position: absolute;
  left: 10px;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  background-position: left;
  width: 100%;
  background-size: contain;
  transition: all 0.3s ease-out;
  display: hidden;
}

/*Mobile Buttons Container*/
.mobile-nav {
  display:block;
}

.mobile-nav a {
  width: 100%;
}

.mobile-nav ul{
  display:flex;
  justify-content: flex-end;
  margin: 0px;
}

.mobile-nav ul li{
  list-style:none;
  flex: 1;
  max-width:80px;
  padding: 0.5rem 0.5rem 0.5rem 0.5rem;
}

/*Mobile Icon*/
.mobile-nav__icon {
  color: #ffffff;
}

.mobile-nav__text{
  display: inline-block;
  vertical-align: middle;
}

/*Mobile Buttons*/
.mobile-nav__myaccount,
.mobile-nav__search,
.mobile-nav__menu {
  height: 100%;
  display: inline-block;
  padding-top: 45px;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
  background: none;
  box-shadow: none;
  color: #fff;
  border: 0;
}

.mobile-nav__myaccount:hover,
.mobile-nav__search:hover,
.mobile-nav__menu:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
  color: #ffffff;
  text-decoration-thickness: max(2px, 0.0625rem);
}

.mobile-nav__search:not(.open) .mobile-nav__icon::before {
  font-family: "FontAwesome";
  font-weight: 900;
  content: "\f002";
  font-size: 16px;
  line-height: .75em;
  vertical-align: -15%;
}

.mobile-nav__menu:not(.open) .mobile-nav__icon::before {
  font-family: "FontAwesome";
  font-weight: 900;
  content: "\f0c9";
  font-size: 16px;
  line-height: .75em;
  vertical-align: -15%;
}

.mobile-nav__myaccount:not(.open) .mobile-nav__icon::before {
  font-family: "FontAwesome";
  font-weight: 900;
  content: "\f007";
  font-size: 16px;
  line-height: .75em;
  vertical-align: -15%;
}

.mobile-nav__myaccount:not(.open) .mobile-nav__icon,
.mobile-nav__search:not(.open) .mobile-nav__icon,
.mobile-nav__menu:not(.open) .mobile-nav__icon {
  width: 32px;
  height: 32px;
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  margin: 0 auto;
  display: block;
  color:#ffffff;
}

.mobile-nav__search.open .mobile-nav__icon,
.mobile-nav__menu.open .mobile-nav__icon {
  top: 23px;
  left: 1px;
  right: 0;
  margin: 0 auto;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  width: 17px;
  height: 3px;
  display: inline-block;
  border-radius: 3px;
  background-color: #ffffff;
  position: absolute;
}

.mobile-nav__search.open .mobile-nav__icon::before,
.mobile-nav__menu.open .mobile-nav__icon::before {
  content: '';
  left: 0;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  width: 17px;
  height: 3px;
  display: inline-block;
  border-radius: 3px;
  background-color: #ffffff;
  position: absolute;
}

.mobile-nav__text-desc {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

/*Navigation Menu*/

.navigation-menu-container {
  background-color: #ffffff;
  z-index: 1001;
  overflow: hidden;
  max-height: 0px;
  padding: 0px;
  visibility: hidden;
}

.navigation-menu-container.open{
  position:relative;
  max-height: 1500px;  
  -webkit-transition: max-height 0.5s linear;
  -moz-transition: max-height 0.5s linear;
  -ms-transition: max-height 0.5s linear;
  -o-transition: max-height 0.5s linear;
  transition: max-height 0.5s linear;
  visibility: visible;
  border-bottom: 1px #b1b4b6 solid;
}

.navigation-menu-container .navigation-menu {
  height: 0;
  width: 100%;
  z-index: 80;
  left: 0;
  height: calc(100% - 90px);
  background: #ffffff;
  padding-right: 0;
  background: #fafafa;
}

.navigation-menu-container .navigation-menu .container-fluid {
  padding: 0;
}

.navigation-menu__content .navigation-menu__services ul .nav-item 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;
}

.navigation-menu .navigation-menu__content .navigation-menu__services ul {
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navigation-menu-container .navigation-menu__content {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  grid-gap:10px;
}

.navigation-menu-container .navigation-menu__heading{
  padding-left:10px;
  margin-top: 8px;
  font-weight: 700;
  font-size: 18px;
}

.navigation-menu-container .navigation-menu__heading.heading-resources{
  display:block;
}

.navigation-menu__services{
  padding: 30px 0px;
}

.navigation-menu-container .navigation-menu__content .navigation-menu__services a {
  padding: 8px;
  text-decoration: none;
  color: #00529B;
  display: block;
  position: relative;
  outline: none;
  font-weight: 600;
  font-size: 1.4rem;
  border-radius: 0;
}

.navigation-menu-container .navigation-menu__content .navigation-menu__services .nav-link {
  padding: 18px 40px 18px 10px;
  font-weight: 700;
}

.navigation-menu__content .navigation-menu__services ul .nav-item {
  width: 100%;
  list-style: none;
  display: inline-block;
  padding: 0;
  margin: 0;
  transition: all 200ms ease-in-out;
}

.navigation-menu__content .navigation-menu__services ul .nav-item >a {
  display: inline-block;
  width: 100%;
  padding: .9375rem 1.25rem;
  color: #00529B;
  font-size: 15px;
  font-weight: normal;
  border-bottom: #D3D3D3 1px solid;    
  text-decoration: none;
}

.navigation-menu__content .navigation-menu__services ul .nav-item a:hover{
  background-color: #e1e1e1;
}

.navigation-menu__content .navigation-menu__services ul .nav-item a:focus{
  background-color: #e1e1e1;

}

.navigation-menu__content .navigation-menu__services ul .nav-item a:focus-visible {
  outline: 2px transparent solid;
  box-shadow: #000000 0px 0px 0px 2px, #fd0 0px 0px 0px 4px !important;
}

.navigation-menu__content .navigation-menu__services ul .nav-item >a span {
  text-align: center;
  float: left;
  width: .625rem;
  margin-right: 1.25rem
}

.navigation-menu .navigation-menu__content .navigation-menu__additional ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navigation-menu__additional .nav-item{
  border-bottom: #D3D3D3 1px solid; 
}

.navigation-menu__content .navigation-menu__additional ul .nav-item a:hover{
  text-decoration: underline;
  text-underline-offset: 0.2em;
    color: #003078;
    text-decoration-thickness: max(2px, 0.1875rem, 0.12em);
}

.navigation-menu__content .navigation-menu__additional ul .nav-item a:focus{
  outline: 3px solid #fd0;
  outline-offset: 1px;
}

.navigation-menu__content .navigation-menu__additional ul .nav-item a:focus-visible {
    outline: 2px transparent solid;
    box-shadow: #000000 0px 0px 0px 2px, #fd0 0px 0px 0px 4px !important;
}

.navigation-menu-container .navigation-menu__content .navigation-menu__additional ul{
  display: grid;

}

.navigation-menu-container .navigation-menu__content .navigation-menu__additional ul li:last-child{
  border-bottom: none;
}

.navigation-menu-container .navigation-menu__content .navigation-menu__additional .nav-item {
  padding: 10px 40px 10px 10px;
}

.navigation-menu-container .navigation-menu__content .navigation-menu__additional a {
  padding: 8px 0px 5px 0px;
  color: #00529B;
  display: block;
  position: relative;
  outline: none;
  font-size: 1.4rem;
  border-radius: 0;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  font-weight: 600;
  text-decoration-thickness: max(1px, 0.0625rem);
}



/* Site Search */
.site-search-container{
  background-color: #ffffff;
  z-index: 1000;
  overflow: hidden;
  max-height: 0px;
  padding: 0px;
  visibility: hidden;
}

.site-search-container.open{
  background-color: #fafafa;
  position:relative;
  max-height: 500px;  
  -webkit-transition: max-height 0.5s linear;
  -moz-transition: max-height 0.5s linear;
  -ms-transition: max-height 0.5s linear;
  -o-transition: max-height 0.5s linear;
  transition: max-height 0.5s linear;
  visibility: visible;
  border-bottom: 1px #b1b4b6 solid;
}

.site-search-panel{
  top: 0;
  left: 0;
  margin: 0;
  padding: 2rem 1.5rem;
  border-radius: 0;
  border-radius: .125rem;
  margin: 3rem 0 3rem;
  margin-left: auto;
  margin-right: auto;
}

.site-search-panel .input-group input, .form-group textarea {
  border: 1px solid rgba(0, 82, 155);
}

.site-search-panel .btn__search {
  border: 1px solid #1470ae;
  background: rgba(0, 82, 155);
  text-align: center;
  color: #ffffff;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  height: 46px;
}

.site-search-panel .btn__search:hover {
  border: 1px solid #1470ae;
  background-color: #3071a9;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}


/* Small devices (tablets, 768px and up) */
@media only screen and (min-width: 706px) {

  .mobile-nav ul li{
    padding: 1rem 1rem 1rem 1rem;
  }

  .mobile-nav__search:not(.open) .mobile-nav__icon::before,
  .mobile-nav__menu:not(.open) .mobile-nav__icon::before,
  .mobile-nav__myaccount:not(.open) .mobile-nav__icon::before {
    font-size: 20.51px;
  }

  
  .mobile-nav__myaccount:not(.open) .mobile-nav__icon,
  .mobile-nav__search:not(.open) .mobile-nav__icon,
  .mobile-nav__menu:not(.open) .mobile-nav__icon {
    width: 32px;
    height: 32px;
  }
  
  .mobile-nav__search.open .mobile-nav__icon,
  .mobile-nav__menu.open .mobile-nav__icon,
  .mobile-nav__search.open .mobile-nav__icon::before,
  .mobile-nav__menu.open .mobile-nav__icon::before {
    width: 26px;
    height: 3px;
  }
  
  .navigation-menu-container .navigation-menu__heading{
    font-size: 24px;
  }

  .navigation-menu__content .navigation-menu__services ul .nav-item >a {
    font-size: 16px;
  }

  .navigation-menu__content ul .nav-item >a span {
    border-left: 1px #8D2F88 solid;
    float: right;
    width: 3.75rem;
    margin-right: 0;
  }
}

@media only screen and (min-width: 763px){

  .header-logo {
    height: 9rem;
    max-width: 65rem; 
  }

}

@media (min-width: 768px) {

  header.eac-header {
    height: 100%;
  }  

  .site-search-panel{
    width: 90%;
  }

  .mobile-menu {
    width: 100%;
    border-left: none;
  }

  .navigation-menu__services ul .nav-item  {
    width: 50%
  }

  .navigation-menu__additional ul .nav-item  {
    width: 85%;
  }
}


@media only screen and (min-width: 768px) {

  .navigation-menu__services,
  .navigation-menu__additional{
    padding: 30px 0px;
  }

  .navigation-menu .navigation-menu__content .navigation-menu__additional ul{
    margin:0px;
    padding:0px;
  }
}

@media only screen and (min-width: 992px) {
  header.eac-header {
    height: 100%;
  }

  header.eac-header .header-nav-wrapper ul li{
    padding-top:0.5rem;
  }

  .navigation-menu-container .navigation-menu__heading.heading-resources{
    display:none;
  }

  .site-search-panel{
    width: 66%;
  }

  .navigation-menu__services{
    padding: 30px 0px;
  }

  .navigation-menu__additional{
    padding: 30px 0px 10px 20px;
  }

  .navigation-menu__content .navigation-menu__services ul .nav-item >a  {
    width:90%;
  }

  .navigation-menu .navigation-menu__content {
    width: 100%;
    display: grid;
    grid-template-columns: 2fr 0fr 1fr;
    grid-template-rows: 1fr;
    grid-gap:10px;
  }

  .navigation-menu__content .navigation-menu__services ul .nav-item   {
    width: 50%;
    background-position: center right 5%;
    background-size: 10px
  }

  .navigation-menu__additional ul{
    margin-left:20px;
  }

  .navigation-menu__additional .nav-item  {
    width: 100%;
    background-position: center right 5%;
    background-size: 10px;
  }

  .navigation-menu__divider{
    width: 1px;
    float: left;
    margin-top: 40px;
    margin-bottom: 20px;
    background: #D3D3D3;
  }
}


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

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


.announcement-container{
	padding: 5px 0px;
}

.announcement-bar{
    background-color:#FFEB3B;
}

.announcement-container .close{
    padding-top: 5px;
    padding-right: 14px;
    font-size: 30px;
    opacity: 1;
}

.announcement-container .close:hover{
    color: #00529B;
}

.announcement-container .announcement-list{
    list-style: none;
    padding: 0;
    margin:5px 0px;
}

.announcement-container .announcement-list li{
    padding:5px;
}

.announcement-container .announcement-link{
	margin-left:14px;
    font-size: 16px;
    color: #000000;
}

.announcement-container .announcement-link:hover{
    color: #00529B;
    text-decoration: underline;
	text-underline-offset: 0.2em;
}


.announcement-container .announcement-link::before {
    font-weight: 900;
    display: inline-block;
    content: '\f06a';
    font-family: 'FontAwesome';
    font-size: 25px;
    padding-right: 8px;
}

    /* Medium Devices, Desktops */
    @media only screen and (min-width : 992px) {
        .announcement-container .announcement-link{
            font-size:22px;
        }

        .announcement-container .announcement-link::before{
            font-size: 21px;
        }
    }



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

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

.breadcrumb li a,
.breadcrumb li span{
  display: inline-block;
  padding: 12px 5px;
}

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

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

@media only screen and (max-width: 767px) {
    /* Hide all breadcrumb items except the first and last on mobile */
    .breadcrumb li {
        display: none;
    }

    /* Display the first and last breadcrumb items */
    .breadcrumb li:first-child,
    .breadcrumb li:last-child {
        display: inline-block;
    }

    /* If you want to show the active item as well */
    .breadcrumb li.active {
        display: inline-block;
    }
}

.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 a{
  text-decoration: underline;
  text-underline-offset: 0.2em;
  color: #175892;
  font-weight: 600;
  text-decoration-thickness: max(1px, 0.0625rem);
}

.main-article a:hover{
  text-decoration: underline;
  color: #003078;
      text-decoration-thickness: max(2px, 0.1875rem, 0.12em);
    -webkit-text-decoration-skip-ink: none;
    text-decoration-skip-ink: none;
    -webkit-text-decoration-skip: none;
    text-decoration-skip: none;
}

.main-article a.btn.btn-primary {
    color: #ffffff;
    text-decoration: none;
}

.main-article a.btn.btn-primary:hover, .main-article a.btn.btn-primary:focus {
  background-color: #0C3D6C;
  color: #fff;
}

.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,
div.headline {
  background-position: center;
  background-size: cover;
  height: 200px;
  margin-bottom: 0;
  overflow: hidden;
  position: relative;
  border-radius: 8px 8px 0px 0px;
}

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

.main-article div.headline img,
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: #00529B;
    border-top: 2px solid #fff;
    bottom: 0;
    color: #fff;
    margin: 0;
    padding: 10px 20px;
    margin-bottom: 25px;
    }

    .headline-content h1, headline-content h2{
        margin: 0;
        padding: 5px 20px 5px 0px;
    }
  
  	.headline-image-caption{
		width: auto;
		max-width: 300px;
		line-height: 1.3;
		bottom: 15px;
		color: #ffffff;
		font-size: 24px;
		float: left;
		display: block;
		position: absolute;
		background-color: #00529B;
		padding: 10px 10px 10px 10px;
	}


/*.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;
  line-height: 1.6;
}

.main-article ol:has(li > p),
.main-article ol:has(li > h2),
.main-article ol:has(li > h3),
.main-article ol:has(li > h4){
  counter-reset: item;
  list-style: none;
  list-style-position: outside;
  padding: 0px 0px 0px 20px;
  margin: 10px 0px 20px 0px;
}

.main-article ol li:has(h2),
.main-article ol li:has(h3),
.main-article ol li:has(h4),
.main-article ol li:has(p){
  position: relative;
}

.main-article ol li:has(h2)::before,
.main-article ol li:has(h3)::before,
.main-article ol li:has(h4)::before,
.main-article ol li:has(p)::before {
  counter-increment: item;
  content: counter(item) ".";
  position: absolute;
  padding-left: 0px;

}

.main-article ol li:has(h2)::before{
  font-size: 30px;
  line-height: 1.1;
}

.main-article ol li:has(h3)::before {
    font-size: 24px;
    line-height: 1.1;
}

.main-article ol li:has(h4)::before {
    font-size: 18px;
    line-height: 1.1;
}

.main-article ol li p,
.main-article ol li h2,
.main-article ol li h3, 
.main-article ol li h4  {
  padding-left: 30px;
}

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


@media only screen and (max-width: 320px)
{
  .main-article div.headline,
  .main-article div.headline img {
    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:19px;
    padding-right:10px;
    /* /margin-top:20px !important; */
    font-weight: 400 !important;
    margin: 5px 0px !important;
  }

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

	.nav-card h2 a:before {
		border-right: 3px solid #175892;
		border-top: 3px solid #175892;
		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;
	}

  .nav-card p{
        margin: 8px 0px 10px 0px !important;
  }

  /* .nav-card h2 a::after{
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
  } */


/* 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 0px !important;
		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;
    color: #0b0c0c;
    border-top: 3px solid #00529B;
    margin-bottom: 60px;
  
}

.left-nav .nav-list > .active > a,
.left-nav .nav-list > .active > a:hover,
.left-nav .nav-list > .active > a:focus {
    background-color: #f3f2f1;
    border-left: 3px solid #00529B;
    color: #333333;
    //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: 3px solid #00529B;
	//padding-left: 13px;
  //text-decoration-thickness: max(2px, 0.1875rem, 0.12em);
}

.left-nav .nav-list > li > a{
  border-left: 3px solid transparent;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  line-height: 1.6em;
}

.left-nav .nav-list .nav-header {
    color: #333333;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.8em;
    margin-top: 15px;
    //margin-left: 15px;
    margin-bottom: 10px;
    text-transform: none;
    font-weight: 700;
    //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:#fafafa !important;
  border: 1px solid #cbcbcb !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: #333333 !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: #333333;
    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;
    margin-bottom: 5px !important;
}

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

.sys_cms-form-body li label{
  color: #333333 !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: 15px !important;
  padding-bottom: 10px !important;
}

.sys_cms-form-control .sys_sectionbreak .sys_sectionbreak-text a{
  color: #16568D !important;
}

/* form dropdown */
.sys_cms-form-control .sys_fieldcontent select {
  width: 100%; 
  padding: 8px;
  border-radius: 4px;
  border: 2px solid #0b0c0c !important;
  height: 44px;
}

.sys_cms-form-control .sys_fieldcontent select:focus{
  outline: 2px transparent solid;
  box-shadow: #000000 0px 0px 0px 2px, #fd0 0px 0px 0px 4px !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{
  display: flex !important;
  min-height: 40px;
  font-weight: 400 !important;
  margin-bottom: 10px !important;
}

.sys_boxclearer span{
    display: block;
    position: relative;
    min-height: 44px;
    margin-bottom: 10px;
}

.sys_boxclearer label{
  margin: 0px;
    display: inline-block !important;
    margin-bottom: 0;
    padding-left: 10px;
    cursor: pointer;
    font-weight: 500 !important;
    font-size: 15px !important;
    -ms-touch-action: manipulation;
    touch-action: manipulation;

}

/** Radio Button **/

.sys_cms-form-control .sys_fieldcontent [type="radio"],
.sys_cms-form-control .sys_fieldcontent [type="checkbox"] { 
  cursor: pointer;
  position: absolute;
  z-index: 1;
  top: -2px;
  left: -2px;
  width: 44px;
  height: 44px;
  margin: 0 !important;
  opacity: 0;
}

.sys_cms-form-body .sys_checkbox label, 
.sys_cms-form-body .sys_radio label{
  align-content: center;
  padding-left: 10px;
  line-height: 1.6 !important;
}

.sys_radio .sys_fieldcontent > span,
.sys_checkbox .sys_fieldcontent > span{
  display: flex;
  margin-bottom: 10px !important;
  display: block;
    position: relative;
    min-height: 40px;
    margin-bottom: 12px;
    padding-left: 40px;
    //clear: left;
}

.sys_radio .sys_fieldcontent > span label,
.sys_checkbox .sys_fieldcontent > span label{
  align-content: center;
  font-weight: 500 !important;
  font-size: 15px;
  flex: 1;
}


.sys_radio .sys_fieldcontent > span label:before{
  content: "";
    box-sizing: border-box;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 40px;
    height: 40px;
    border: 2px solid;
    border-radius: 50%;
    background: #ffffff;
}

.sys_checkbox .sys_fieldcontent > span label:before{
  content: "";
    box-sizing: border-box;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 40px;
    height: 40px;
    border: 2px solid;
    border-radius: 0;
    background: #ffffff;
}

.sys_cms-form-control .sys_fieldcontent [type="radio"]:focus+label:before {
    border-width: 4px !important;
    outline: 3px solid rgba(0, 0, 0, 0) !important;
    outline-offset: 1px !important;
    box-shadow: 0 0 0 4px #fd0 !important;
}

.sys_radio .sys_fieldcontent > span label:after{
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: 0;
    height: 0;
    border: 10px solid currentcolor;
    border-radius: 50%;
    opacity: 0;
    background: #ffffff;
}

.sys_cms-form-control .sys_fieldcontent [type="radio"]:checked+label:after {
    opacity: 1;
}

/** Checkbox **/
.sys_checkbox .sys_fieldcontent > span label:before{
  content: "";
    box-sizing: border-box;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 40px;
    height: 40px;
    border: 2px solid;
    border-radius: 0;
    background: #ffffff;
}

.sys_checkbox .sys_fieldcontent > span label:after{
    content: "✔";
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 24px;
    line-height: 0.8;
    opacity: 0;
    color: #000000;
    transition: all .2s;

}

.sys_cms-form-control .sys_fieldcontent [type="checkbox"]:focus+label:before {
    border-width: 4px !important;
    outline: 3px solid rgba(0, 0, 0, 0) !important;
    outline-offset: 1px !important;
    box-shadow: 0 0 0 4px #fd0 !important;
}


.sys_cms-form-control .sys_fieldcontent [type="checkbox"]:checked+label:after {
    opacity: 1;
      transform: scale(1);

}

.sys_cms-form-body .sys_sidebyside span{
  display: inline-flex;
  padding-right: 15px;
}


/* 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{
  min-height: 44px;
}

.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: 2px solid #0b0c0c !important;
    width:100%;
    border-radius:4px;
}

.sys_cms-form-control .sys_fieldcontent input:focus,
.sys_cms-form-control .sys_fieldcontent textarea:focus{
    outline: 2px transparent solid;
    box-shadow: #000000 0px 0px 0px 2px, #fd0 0px 0px 0px 4px !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: 2px solid #0b0c0c !important;
    width:100%;
    border-radius:4px;
}
.sys_cms-form-control .sys_fieldcontent1 input:focus{
    outline: 2px transparent solid;
    box-shadow: #000000 0px 0px 0px 2px, #fd0 0px 0px 0px 4px !important;
}

.sys_cms-form-control .sys_fieldcontent [type="checkbox"] { 
  /* cursor: pointer;
  width: 30px;
  height: 44px;
  margin: 0 !important; */
}



.sys_cms-form-body li .sys_legend{
  border-bottom: none !important;
  font-size: 1.7rem !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"]{
    margin-right: 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: 10px 16px;
  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
--------------------*/



/* 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: underline;
  text-underline-offset: 0.2em;
  color: #175892;
  font-weight: 600; 
}

.contacts-area__contact.vcard a:hover { 
  text-decoration: underline; 
  color: #1d70b8; 
  text-decoration-thickness: max(2px, 0.1875rem, 0.12em);
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
  -webkit-text-decoration-skip: none;
  text-decoration-skip: none;
}
.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:4px;
}

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

.btn-subscribe:focus{
  outline: 2px transparent solid;
  box-shadow: #000000 0px 0px 0px 2px, #fd0 0px 0px 0px 4px !important;
}

.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 a{
    display: inline-block;
    //line-height: 1.7;
    padding: 0.76em 0em;
  }

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

/* Accordion new 2024 testing
-----------------------------------------------*/

details {
	border-radius: 0.5rem;
  margin: 1.5rem 0rem;
	transition: 50ms;
  padding: 0;
  background: white;
	background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  box-shadow: 1px 1px 5px #ddd;
}

details.details-accessiblity{
  border-left: 15px solid #269ABC;
  border-right: 2px solid #269ABC;
}

details[open] {
  padding-bottom: 1em;
}

summary {
  position: relative;
  padding-right: 25px;
  display: flex;
}

summary {
	padding: 1.4rem 4rem 1.4rem 2rem;
	font-size: 1.9rem;
  font-weight: 700;
  cursor: pointer;
	color: #000000;
	background-color: #EEEEEE;
}

details.details-accessiblity summary{
	background-color: #ffffff;
}

summary::before,
summary::after {
  transition: 200ms;
}

summary::marker {
  content: none;
}

summary::before {
  content: '';
  position: absolute;
  right: 15px;
  top: 50%;
  width: 0.75em;
  height: 0.75em;
  border-right: 4px solid;
  border-bottom: 4px solid;
  transform: translateY(-75%) rotate(45deg);
  transition: transform 0.2s ease-in-out;
}

[open] summary::before {
  transform: translateY(-25%) rotate(-135deg);
}

summary i{
	margin-right: 10px;
  margin-top: 5px;
	font-size: 2rem;
}

details > article{
	padding: 1rem 2rem;
}


/* 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: 1px 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: 13px 20px 13px 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;
    }

  }


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

#map img {
  margin: 0; /* Resetting margins */
}

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

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

}


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

}


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

}

/* 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 {
    margin: 20px 10px;
  }
  #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);
  }
}
 
.linkbutton {
  background-color: #4CAF50; /* Green */
  border: none;
  border-radius: 8px;
  color: white !important;
  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;
  text-decoration: none !important;
}


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

  .councillor-profile{
    display: grid;
    grid-template-columns: 1fr;
  }

  .councillor-profile section,
  .councillor-profile div{
    padding: 10px;
  }

  .councillor-profile figure img{
    margin-left: 20px;
  }

.councillor-profile .councillor-profile-info h3{
  margin-top: 10px;
}

.councillor-profile .councillor-profile-info .councillor-profile-party{
  padding-bottom: 15px;
  font-size: 18px;
  display: block;
}

.councillor-profile .councillor-profile-info .councillor-profile-additional{
  padding-bottom: 5px;
  font-size: 16px;
  display: block;
}

  .councillor-profile .councillor-profile-info ul{
    border-radius: 0 0 5px 5px;
    list-style: none outside none;
    margin: 0 0 1em 0;
    padding: 0;
  }

  .councillor-profile .councillor-profile-info ul i{
  padding-right: 5px;
}

.councillor-profile-listing{
  list-style: none;
  padding: 5px 5px !important;
  margin: 0px !important;
}

.councillor-profile-listing li{
  margin-bottom: 0px !important;
}

.councillor-profile-listing li a{
  padding: 10px 0px;
  display: inline-block;
}

@media (min-width: 768px) {
    .councillor-profile {
        grid-template-columns: 1fr 2fr 1fr;
        grid-gap: 15px;
    }

    .councillor-profile section,
    .councillor-profile div{
      padding: 0px;
    }
}

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

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


/** FIND MY NEAREST **/

.grid-summary-bar-container {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 20px;
	grid-auto-rows: minmax(220px, auto);
	margin-top: 20px;
	margin-bottom: 20px;
}

.grid-summary-bar-container .summary-bar-card {
	display: grid;
  grid-template-rows: auto 1fr;
	height: 100%;
	border-radius: 2px;
	border-top: #00529B solid 6px;
	border-right: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	padding: 10px 15px;
}

.grid-summary-bar-container .summary-bar-card .summary-collection {
	display: flex;
	padding: 10px 5px;
}

	.grid-summary-bar-container .summary-bar-card .summary-collection > span {
		font-size: 1.7em;
		padding-right: 15px;
    padding-top: 5px;
	}
  
  .grid-summary-bar-container .summary-bar-card .summary-collection .fa-trash {
		color: #4caf50
	}

  .grid-summary-bar-container .summary-bar-card .summary-collection .fa-leaf {
		color: #795548
	}

  .grid-summary-bar-container .summary-bar-card .summary-collection .fa-recycle {
		color: #00529B
	}

	.grid-summary-bar-container .summary-bar-card .summary-collection .collection-date {
		font-size: 1.3em;
	}

	.grid-summary-bar-container .summary-bar-card .summary-collection > div span {
		display: block;
		padding-bottom: 5px;
		font-size: 1.3em;
	}


@media (min-width: 768px) {

	.grid-summary-bar-container {
		grid-template-columns: repeat(3, 1fr);
	}

		.grid-summary-bar-container .summary-bar-card {
			flex: 1;
		}

}

.fmn-mapping{
	display: grid;
	grid-template-columns: 1fr;
}


.fmn-facility-menu {
	height: 100%;
	overflow-y: auto;
	border: 1px solid #e3e3e3;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
}

	.fmn-facility-menu .nav-header {
		padding: 10px 15px;
		text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
		font-size: 1.2em;
		background-color: #F3F3F3;
		color: #333333;
		border-bottom: 1px solid #eeeeee;
	}

	.fmn-facility-menu ul{
		padding: 0px;
    margin: 0px;
	}

	.fmn-facility-menu .nav li {
		border-bottom: 1px solid #eeeeee;
	}

	.fmn-facility-menu .nav ul li:last-child {
		border-bottom: 0;
	}

		.fmn-facility-menu ul li a {
			display: flex;
			justify-content: space-between;
			align-items: center;
      text-decoration: none;
		}

		.fmn-facility-menu .nav li a > div {
			flex: 1;
		}

@media (min-width: 768px) {
	.fmn-mapping {
		grid-template-columns: 3fr 1fr;
	}

	.fmn-facility-menu {
		height: 500px;
	}
}

/** Profile Card e.g FMN Councillors **/

.profile-card-holder{
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}


.profile-card-container {
    background-color: #F3F3F3;
    border-radius: 5px;
    box-shadow: 0 0 6px 1px #B0B2AB;
    text-align: center;
    display: grid;
    grid-template-rows: auto 40px 1fr;
}

    .profile-card-container .profile-card-img {
        background-color: #F3F3F3;
        border-radius: 5px 5px 0 0;
        padding: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .profile-card-container .profile-card-img img {
            height: 120px;
            width: 120px;
            margin: 0px;
              object-fit: cover;

        }

    .profile-card-container .profile-card-type {
        padding: 10px;
        font-size: 1.2em;
    }

    .profile-card-container .cllr-conservative {
        background-color: #00539F;
        color: #fff;
    }

    .profile-card-container .cllr-labour {
        background-color: #EE3224;
        color: #fff;
    }

    .profile-card-container .cllr-snp {
        background-color: #FFF95D;
        color: #1B1818;
    }

    .profile-card-container .cllr-green {
        background-color: #6AB023;
        color: #fff;
    }

    .profile-card-container .profile-card-info {
        display: grid;
        padding-top: 10px;
        grid-template-rows: auto 1fr auto;
    }

        .profile-card-container .profile-card-info h3 {
            margin-top: 10px;
        }

        .profile-card-container .profile-card-info ul {
            border-radius: 0 0 5px 5px;
            list-style: none outside none;
            margin: 0 0 1em 0;
            padding: 0;
        }

        .profile-card-container .profile-card-info a.btn{
            border-radius: 0px;
        }

@media (min-width: 768px) {
    .profile-card-holder {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (min-width: 992px) {
    .profile-card-holder {
        grid-template-columns: repeat(4, 1fr);
    }

}