/*----Feedback CSS-------*/

body.cat-uncategorised .mainarea .pagenavigation {
  display:none;
}

body {
  overflow-x:hidden;
}

.mod-finder__search {
  justify-content: end;
}

.header ul.mega-menu li {
  padding-left: 17px;
  padding-right: 17px;
}

.header ul.mega-menu li a {
  padding-bottom: 5px;
}

.header ul.mega-menu li a:hover {
  opacity:0.7;
  transition: all .4s ease-in-out;
}

.resources .col-2-5 {
  flex: 0 0 16.33%;
}

.resources .row .col-2-5 {
  margin-right:4.5%;
}

.mod-custom-embed-footerinner a {
  font-weight: 700;
}

.footer-social-icons {
  padding-left: 0;
  margin-bottom: 30px;
}

.footer-social-icons li {
  margin-right: 5px;
}

.footer-social-icons li:last-child {
  margin-right: 0;
}

.footer-social-icons + h2 {
  border-bottom: 0;
  margin-bottom: 0px;
}

.item-page h2 {
  font-size:24px;
  color:#007a84;
} 

body.menu-vision-mission-values .page-header, 
body.menu-press .page-header,
body.menu-notices .page-header {
  display:none;
}

body.menu-vision-mission-values tbody, 
body.menu-vision-mission-values td, 
body.menu-vision-mission-values tfoot, 
body.menu-vision-mission-values th, 
body.menu-vision-mission-values thead, 
body.menu-vision-mission-values tr {
  border-width: 1px;
}

h1 {
  font-size: 30px;
}

.page-header h1 {
  font-size: 24px;
  color: #007a84 !important;
  text-align: left;
  font-weight: 700;
}

.com-content-article__body ul {
  padding: 0 0 23px 1em;
  padding-bottom: 23px;
  line-height: 26px;
}

.com-content-article__body p:last-of-type {
  padding-bottom: 0;
  margin-bottom:0;
}

.mainarea .hero + .item-page {
  margin-left: 0;
}

input.text:focus, input.title:focus, input[type="text"]:focus, select:focus, textarea:focus {
  border-color: #2d3940;
  color: #3e3e3e;
}

.header ul.submenu li {
  line-height: 2em;
  padding: 0 20px;
}

/*----Press Release Table CSS-----*/
body.menu-press .item-page {
  border:0;
  color: #666 !important;
  width: 90%;
  margin: 0 auto;
  padding: 4% 0 !important;
}

/* Wrapper */
.cipc-press-releases-wrapper.cipc-pr-styled, .cipc-press-releases-wrapper {
  box-sizing: border-box;
  display: block;
  max-width: 100%;
  margin: 1.5em 0;
  visibility: visible;
}

/* Filters */
.cipc-pr-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  align-items: flex-end;
}

.cipc-pr-filter-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cipc-pr-filter-group label {
  font-weight: 600;
  margin-bottom: 0.35em;
  font-size: 0.95em;
}

.cipc-pr-filter {
  padding: 0.5em 0.75em;
  min-width: 180px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  font-size: 1em;
}

.cipc-pr-table-wrap {
	display: block;
	overflow-x: auto;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #fff;
}

.cipc-pr-table {
	display: table;
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95em;
	visibility: visible;
}

.cipc-pr-table th,
.cipc-pr-table td {
	padding: 0.75rem 1rem;
	text-align: left;
	border-bottom: 1px solid #eee;
}

.cipc-pr-table thead th {
	background: #9cca92;
	color: #fff;
	font-weight: 600;
	border-bottom: 2px solid #8ab87f;
}

.cipc-pr-table tbody tr:nth-child(even) {
	background: rgba(156, 202, 146, 0.2);
}

.cipc-pr-table tbody tr:hover {
	background: rgba(156, 202, 146, 0.4);
}

.cipc-pr-table tbody td a {
	color: inherit;
	text-decoration: none;
	font-weight: 500;
}

.cipc-pr-table tbody td a:hover {
	text-decoration: underline;
}

.cipc-pr-loading {
	display: none;
	margin-top: 1rem;
	padding: 0.75rem;
	text-align: center;
	background: rgba(156, 202, 146, 0.25);
	border-radius: 4px;
}

.cipc-press-releases-wrapper.is-loading .cipc-pr-loading {
	display: block;
}

.cipc-press-releases-wrapper.is-loading .cipc-pr-table-wrap {
	opacity: 0.6;
	pointer-events: none;
}

/* Responsive: stack table as cards on small screens */
@media (max-width: 640px) {
	.cipc-pr-filters {
		flex-direction: column;
		align-items: stretch;
	}

	.cipc-pr-filter {
		min-width: 0;
		width: 100%;
	}

	.cipc-pr-table thead {
		display: none;
	}

	.cipc-pr-table tbody tr {
		display: block;
		border-bottom: 1px solid #ddd;
		padding: 0.75rem 0;
	}

	.cipc-pr-table tbody tr:hover {
		background: transparent;
	}

	.cipc-pr-table tbody td {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		padding: 0.35rem 0;
		border-bottom: none;
	}

	.cipc-pr-table tbody td::before {
		content: attr(data-label);
		font-weight: 600;
		margin-right: 0.5rem;
		flex-shrink: 0;
	}

	.cipc-pr-table tbody td:first-child {
		padding-top: 0.5rem;
	}

	.cipc-pr-table tbody tr td:last-child {
		padding-bottom: 0.5rem;
	}
}

/*----Notices Table CSS-----*/
body.menu-notices .item-page {
  border:0;
  color: #666 !important;
  margin: 0;
  padding:0 !important;
  border-radius:0;
}

.cipc-notices-wrapper {
    margin: 1.5em 0;
    max-width: 100%;
    width: 90%;
  padding: 4% 0;
  margin:0 auto;
}

.cipc-notices-filters {
    margin-bottom: 1.25em;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1em;
}

.cipc-notices-filter-group {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.cipc-notices-filters label {
    font-weight: 600;
}

.cipc-notice-category-filter,
.cipc-notice-year-filter {
    padding: 0.5em 1em;
    min-width: 100px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    background-color: #fff;
}

.cipc-notice-category-filter {
    min-width: 200px;
}

/* Standalone filter wrapper */
.cipc-notices-filter-wrap {
    margin: 1.5em 0;
}

.cipc-notices-filter-wrap .cipc-notices-filters {
    margin-bottom: 0;
}

/* Button-style filter */
.cipc-notices-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
}

.cipc-notices-filter-btn {
    display: inline-block;
    padding: 0.5em 1em;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 0.95em;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.cipc-notices-filter-btn:hover {
    background: #e8e8e8;
    border-color: #ccc;
}

.cipc-notices-filter-btn.active {
    background: #2c3e50;
    color: #fff;
    border-color: #2c3e50;
}

.cipc-notices-table-wrap {
    overflow-x: auto;
}

.cipc-notices-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.cipc-notices-table thead {
    background: #9cca92;
    color: #fff;
}

.cipc-notices-table th {
    padding: 0.875em 1em;
    text-align: left;
    font-weight: 600;
    color: #fff;
}

.cipc-notices-table td {
    padding: 0.75em 1em;
    border-bottom: 1px solid #eee;
}

.cipc-notices-table tbody tr:nth-child(even) {
    background: #e8f3e7;
}

.cipc-notices-table tbody tr:hover {
    background: #c8e5c4;
}

.cipc-notices-table tbody tr:last-child td {
    border-bottom: none;
}

.cipc-notices-table a {
    color: #3498db;
    text-decoration: none;
}

.cipc-notices-table a:hover {
    text-decoration: underline;
}

.mod-custom-embed-getintouch p {
  font-size: 12px;
}


/* Responsive - stack on small screens */
@media screen and (max-width: 600px) {
    .cipc-notices-table thead {
        display: none;
    }

    .cipc-notices-table tr {
        display: block;
        margin-bottom: 1em;
        border: 1px solid #eee;
        border-radius: 4px;
        padding: 0.5em;
    }

    .cipc-notices-table td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 0.5em 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .cipc-notices-table td:last-child {
        border-bottom: none;
    }

    .cipc-notices-table td::before {
        content: attr(data-label);
        font-weight: 600;
        margin-right: 1em;
        flex-shrink: 0;
    }

    .cipc-notices-table td[data-label]:empty::after {
        content: '—';
        color: #999;
    }
}


@media (max-width:991px) {
  .mod-custom-embed-getintouch {
    max-width:100%;
    margin-bottom: 30px;
  }

  .mod-custom-embed iframe {
    max-width:100%;
  }

  .mod_events_monthyear, .mod_events_table {
    width: 100% !important;
  }

  .mod-custom-embed-quicklinkright p {
    display: flex;
    flex-wrap: wrap;
  }

  .resources .row .col-2-5 {
    margin-right: 0;
    flex: 0 0 100%;
    margin-bottom: 10px !important;
  }

  .col-lg-2 #mod-custom137 > :not(:first-child) {
    text-align: center;
  }

  .header ul.submenu li a:hover {
    background: none;
  }

  .header ul.submenu li .menu-item-wrapper:hover {
    background-color: rgba(0,0,0,.03);
    opacity: .7;
  }

  .headertop .form-search {
    margin-bottom: 20px;
  }

  .headertop .form-search input.js-finder-search-query {
    width: 100%;
    max-width:100%;
  }
}


@media (min-width:992px) {
  .mainarea {
    padding-top:2%;
  }

  .mainarea .innerrow aside.col-2-5 {
    flex: 0 0 17.6%;
  }

  .mainarea .innerrow main.col-lg-7 {
    width: 61.6%;
  }
}
.com-content-article__body ul.nav-tabs {
    padding: 0 0 px 1em;
    padding-bottom: 23px;
    line-height: 26px;
}
.tab-content>.tab-pane {
    padding: 20px 0;
    overflow-y: scroll;
}
.nav-tabs li a {
padding:4px;
}
.nav-tabs li a.active {
padding:4px;
}