html,
body {
  height: 100%;
}
body {
  display: flex;
  flex-flow: column;
  color:#000000;
}
.boxed {
  flex: 1;
  padding-bottom: 50px;
}

/* Underline main links in Body Text for accessibility (excluding certain widgets) */
body .row p a:not(.card-group p a, a.btn),
.teamprofiles .sideattr-wrapper a,
#footer .links-list a,
#footer .company-name a,
.newsheader a,
.pagedocuments a,
#contactform a,
.search-result-section a {
  text-decoration: underline;
}

footer {
  position: relative;
  width: 100%;
  margin-top: 0px;
  background: #333;
  line-height: 50px;
  text-align: left;
  color: white;
  clear: both;
  overflow-y: unset;
  /*  z-index: 10000;*/
}
#company {
  float: left;
}
footer .footer-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

#company .footer-logo {
  display: block;
  width: 85px;
  height: 30px;
  margin-top: 10px;
}

.company-name {
  margin-bottom: 10px;
}

#social-media {
  float: right;
  margin-top: 75px;
}

footer p {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  line-height: 15px;
}

.hide-site {
  display: inline;
}
.links-list {
  list-style-type: none;
  padding-top: 0.3rem;
  display: flex;
}
.social-links-list {
  list-style-type: none;
  padding: 0px;
  display: flex;
}
.social-pages {
  color: #fff;
  margin: -25px 10px 14px;
}
.helpful-pages {
  color: #fff;
  margin: -25px 0 14px;
}
.wjps-name {
  text-align: center;
  line-height: 25px;
}
footer .clear {
  clear: both;
  float: none;
}
.footer-bars {
  display: inline;
}
a:hover {
  cursor: pointer;
}
#content {
}
#taskcompleteddate {
  margin-left: 5px;
}
.fileinput-button {
  margin-left: 5px;
}
.wjps-btn {
  margin-left: 5px;
}

.wjps-btn-card-bottom {
  width: 100%;
  margin-left: 0px;
  border-radius: 0px !important;
  z-index: 2;
}

.wjps-page-edit-btn {
  min-width: 140px;
  max-width: 140px;
  float: left;
}

.wjps-page-version-panel {
  width: 100%;
  display: flex;
}

.wrap-title {
  padding: 10px;
  margin-bottom: 20px;
  border: solid;
}
.wrap-title > .container > h1 {
  font-weight: 200 !important;
}
.wjps-nav-button {
  height: unset;
}
.wjps-nav-button > i {
  vertical-align: middle;
}
.wjps-nav-button.btn {
  transition: color 0.2s;
  margin-right: 5px;
}
.cke_button__doksoft_image {
  display: none !important;
}

.snippet {
  width: 100%;
  margin-bottom: 20px;
  overflow: hidden;
}

.cardBox {
  float: right;
  display: flex;
  flex-direction: column;
}

.wjps-card-body > p {
  font-size: 14px !important;
}

.comment-main {
  /* Styles for document comments */
  background-color: #eee;
  padding: 10px;
  margin-bottom: 10px;
}
.wjps-fa {
  color: #000;
}

.wjps-submenu-left {
  border-radius: 6px 0px 6px 6px !important;
}

.wjps-footer-mobile-toggle {
  color: white;
  cursor: pointer;
  display: none;
}

.wjps-mobile-extra {
  color: white;
}

.offcanvas-collapse {
  padding: 20px;
  display: none;
}

.wjps-main-container {
  overflow-x: unset !important;
}

.container p {
  line-height: 1.5;
}

.wjps-noHeader-content {
  margin-top: 25px;
}

.bootbox > .modal-dialog > .modal-content > .modal-header > .modal-title {
  position: absolute !important;
}

.bootbox > .modal-dialog > .modal-content > .modal-header {
  height: 100px !important;
}

/*.goog-te-gadget-simple{
  background-color: transparent!important;
  border: none!important;
}
.goog-te-gadget-simple .goog-te-menu-value span {
    text-decoration: none;
    color: white;
     font-size: 15px!important;
}
.goog-te-gadget img {
    background-image: unset!important;
}*/
/* Global Nav Styles */

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

/* Growth Type Directory */

.panel-group {
  border: thin #064c81 solid;
  border-radius: 10px;
  margin-bottom: 20px;
  background-color: #fdfdfd;
}

.panel-heading {
  background-color: #0765ae;
  border-bottom: solid #064c81 thin;
  padding: 10px;
  padding-left: 15px;
  border-radius: 10px;
  color: white !important;
}

.panel-title a {
  color: white !important;
  text-decoration: none;
}

.panel-body {
  padding: 15px;
  padding-left: 20px;
  padding-left: 20px;
}

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

/* Side Nav Menu */

.sideMenuButton {
  padding: 15px;
  float: left;
  background-color: #034694;
  color: white;
  text-decoration: none;
  border: 0px;
  width: 100%;
  padding-left: 25px;
  border-bottom: lightgray thin solid;
  transition-duration: 0.05s;
}

.sideMenuButton:hover {
  background-color: #116cd9;
  text-decoration: none;
  color: white;
  padding-left: 35px;
  width: 100%;
}

.sideMenuButton:active {
  background-color: #023777;
  text-decoration: none;
  color: white;
  padding-left: 25px;
  width: 100%;
}

.sideButtonBox {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 30px;
  float: left;
}

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

/* Modal window */

 .modal-dialog:not(#entryModal .modal-dialog) {
  width: 75%;
  max-width: 75%;
  margin-top: 50px;
} 

.modal-body:not(#entryModalContent .modal-body) {
  padding: 40px;
}

.modal-title {
  margin-left: 30px;
}

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

/* News */

.newsheader {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  margin-bottom: 10px;
}

.newspagefooter {
  padding-bottom: 20px;
  border-bottom: thin lightgrey solid;
}

.newstitle {
  margin-top: 30px;
  margin-left: 20px;
}

.newstitle a {
  color: black;
}

.newssignup-wrapper {
  display: flex;
  flex-flow: row;
  align-items: baseline;
}

.newssignup-caption {
  margin-left: 20px;
  margin-top: 0;
}

@media only screen and (max-width: 500px) {
  .newssignup-wrapper {
    flex-flow: column;
  }
  .newssignup-caption {
    margin-left: 0;
    margin-top: 10px;
  }
}

time {
  padding: 10px;
  background-color: #2e2e2e;
  color: white;
  display: flex;
  flex-direction: column;
  align-content: center;
  width: 100px;
  height: 100px;
  border-radius: 200px;
}

.timetext {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

/* Tenders */

.tenderBox {
  margin-bottom: 20px;
}

.tenderHeading {
  background-color: #2980b9;
  border-bottom: solid #064c81 thin;
  color: white;
}

.tenderContent {
  padding: 20px;
}

.tenderContent .form-group .control-label {
  font-weight: 800;
}

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

.typeSearch {
  display: flex;
  margin-left: 20px;
}

.btn-default {
  border: solid thin grey;
}

.form-horizontal {
  margin-top: 10px;
}

.st11 {
  width: 80% !important;
}
.table {
  margin-top: 15px;
}
@media only screen and (max-width: 1500px) {
  .snippet {
    margin-right: -0px;
  }
}

@media only screen and (max-width: 1200px) {
  .snippet {
    width: 12rem;
  }
}

@media only screen and (max-width: 1199px) {
  .snippet {
    width: 100%;
    margin-left: 0;
    clear: both;
  }

  .col-12 {
    display: flex;
    flex-direction: column;
  }
}

@media only screen and (min-width: 992px) {
  .wjps-nav > .navbar-collapse > .wjps-nav-left {
    width: 100%;
    display: inline-block;
  }
  .wjps-nav > .navbar-collapse > .wjps-nav-left > li {
    float: left;
    margin-left: 2px;
    margin-right: 2px;
  }

  .searchresult-folder .title,
  .pagedocuments .title {
    font-size: 1.15rem;
  }

  .pagedocument-meta {
    font-size: 0.9rem;
  }
}
@media only screen and (max-width: 992px) {
  .wjps-nav > .navbar-collapse > .navbar-nav > li {
    margin-top: 2px;
    margin-bottom: 2px;
  }
  .wjps-nav > .navbar-collapse > .navbar-nav > li > a {
    padding-left: 5px;
    padding-right: 5px;
  }
  .wjps-nav-button.btn {
    transition: color 0.2s;
    margin: 0 !important;
  }
}
.wjps-nav-button.btn-outline-secondary:hover {
  color: white !important;
}
.wjps-nav {
  width: 100%;
  flex: 0 1 auto;
}
.btn-outline-light.nav-link {
  color: white !important;
}
.btn-outline-light.nav-link:hover {
  color: black !important;
}
.welcome-row > col-12 {
  display: inline-block !important;
  float: none !important;
}
.homepage-message {
  min-height: 55px;
  width: 100%;
  background-color: #2ecc71;
  text-align: center;
  padding: 15px;
  font-size: 20px;
  line-height: 25px;
  color: white;
  cursor: pointer;
  flex: 0 1 auto;
}
.wjpslogo {
  max-height: 120px;
  max-width: 50%;
}

.navbar-brand {
  white-space: wrap;
}


.secondaryLogo {
  max-height: 120px;
  float: right;
  max-width: 50%;
}
.homecontainer {
  margin-top: 25px;
}

.homecon {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

video {
  margin-bottom: -7px;
  -webkit-filter: blur(0px);
  transition: -webkit-filter 0.5s ease;
  z-index: 10;
}
.video-overlay:hover video {
  -webkit-filter: blur(4px);
}
.video-overlay {
  text-align: center;
  background-color: #000;
}
.video-text {
  opacity: 0;
  display: block;
  color: white !important;
  font-size: 50px;
  font-weight: 200;
  position: absolute;
  z-index: 500;
  margin-top: -120px;
  margin-left: 45px;
  text-align: center;
  transition: opacity 0.5s ease;
}
.video-overlay:hover .video-text {
  opacity: 1;
}
#cookiesdirective {
  bottom: 0px !important;
  z-index: 10001 !important;
}

.wjps-version-control-panel-dropdown {
  margin-top: 7px;
  margin-left: 10px;
  color: #999;
  width: 100%;
}

.wjps-edit-version-panel {
  width: 100%;
  flex-wrap: nowrap;
  margin-left: 15px;
  margin-right: 15px;
  margin-top: 15px;
}

/* Homepage Slider */
.sliderText {
  color: #fff;
  text-shadow: 0 1px 1px hsl(0deg 0% 0% / 0.075),
    0 2px 2px hsl(0deg 0% 0% / 0.075), 0 4px 4px hsl(0deg 0% 0% / 0.075),
    0 8px 8px hsl(0deg 0% 0% / 0.075), 0 16px 16px hsl(0deg 0% 0% / 0.075);
}

.sliderCaption {
  display: flex;
  align-items: center;
}

.sliderWrapper {
  width: 800px;
  background: rgb(0, 0, 0);
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.8978992964373249) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* -- Full Screen Sliders -- */

#slidersFullScreenSection {
  height: 100%;
}

.fullscreenSlider {
  height: 100% !important;
}

.fullscreenSlider > div > .slider {
  height: 100%;
  z-index: 1;
}

.fullscreenSlider > div > .slider > .advancedSliderText {
  display: none;
}

@media (max-width: 768px) {
  .homepage-image-content {
    bottom: 70px;
  }

  .homepage-image-content > button {
    width: 100%;
    height: 75px;
    font-size: 100%;
    font-weight: 500;
    display: inline-block;
    transition: background-color 0.5s;
  }
}
@media (max-height: 500px) {
  .homepage-image-content {
    position: fixed;
    border: 0px;
    width: 90%;
    bottom: 50px;
    left: 7%;
    margin-top: -25px;
  }

  .homepage-image-content > button {
    width: 30%;
    height: 50px;
    color: white;
    font-size: 125%;
  }
}

@media (max-width: 900px) {
  .offcanvas-collapse.open {
    -webkit-transform: translateY(15%);
    transform: translateY(15%);
  }

  .offcanvas-collapse {
    position: fixed;
    /*    top: 250px;*/
    bottom: 65px;
    width: 100%;
    /*    height: 100%;*/
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    background-color: #333;
    transition: -webkit-transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
    -webkit-transform: translateY(200%);
    transform: translateY(200%);
    z-index: 9999;
    display: initial;
  }

  .wjps-footer-mobile-toggle {
    display: initial;
  }

  .wjps-footer-extra {
    display: none;
  }

  footer {
    min-height: 50px;
  }
}

@media (max-height: 400px) {
  .offcanvas-collapse.open {
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
}

/*Mobile footer*/
@media (max-width: 705px) {
  footer {
    position: relative;
    width: 100%;
    margin-top: 0px;
    background: #333;
    min-height: 100px;
    max-height: unset;
    line-height: 50px;
    text-align: left;
    color: white;
    clear: both;
    overflow-y: unset;
    z-index: 10000;
  }
  #company {
    float: left;
  }
  .footer {
    display: none;
  }
  footer .footer-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: block;
  }
  #company .footer-logo {
    display: block;
    width: 85px;
    margin-top: 10px;
  }
  .company-name {
    margin-bottom: 20px;
    display: block;
    line-height: 20px;
    margin-left: 5px;
  }
  #social-media {
    float: left;
    margin-top: 35px;
    display: block;
  }
  .hide-site {
    display: inline;
  }
  .links-list {
    list-style-type: none;
    padding: 0px;
    display: block;
  }
  .social-links-list {
    list-style-type: none;
    padding: 0px;
    display: flex;
  }
  .helpful-pages {
    color: #fff;
    margin: -25px 0 14px;
    display: block;
  }
  .wjps-name {
    text-align: center;
    line-height: 25px;
  }
  footer .clear {
    clear: both;
    float: none;
  }
  .wjps-name {
    text-align: center;
    line-height: 25px;
    display: block;
  }
  .footer-bars {
    display: none;
  }
}
/* Document comment */
.comment-box {
  display: flex;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  list-style: none;
  border-radius: 0.25rem;
  color: orange;
  background-color: transparent;
  border: 1px solid orange;
  font-weight: 500;
}
.info-icon {
  font-size: 25px;
}
.datepicker {
  z-index: 1020 !important;
}
@media (max-width: 767px) {
  .sideButtonBox {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }
  .sideMenuButton {
    width: 100%;
    padding: 10px;
  }
  .sideMenuButton:hover {
    width: 100%;
  }
  .imageTable {
    width: 106%;
    margin-left: -5% !important;
    margin-right: -5% !important;
  }
}
/*Firefox CSS for side by side documents*/
@-moz-document url-prefix() {
  #documenttable1,
  #documenttable2 {
    width: 50%;
  }
}

.imageTable {
  padding-left: 0px !important;
  padding-right: 0px !important;
  max-width: 9999px;
  margin-left: 0px;
  margin-right: 0px;
}

.imageTable > .row > div > img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.imageTable > .row > div {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.imageTable > tbody > tr > td {
  width: 33%;
}

.imageTable > tbody > tr > td > img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.snippetFooter {
  background-color: #ecf0f1;
  width: 100%;
  padding-top: 15px;
  padding-bottom: 15px;
}
.snippetFooterContent {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Prevent audit log table from breaking out of container */
.card-body {
  overflow: auto;
}

.input-fancy {
  height: 0px;
  margin: 0;
  opacity: 0;
}

.input-fancy > * {
  height: 0px;
}

/* Form Required Field Marker */
.requiredField {
  margin-left: 5px;
}

#searchable-array-suggestions {
}

#searchable-array-suggestions > ul > li {
  list-style: none;
  cursor: pointer;
}

.alert-wjps {
  color: #fff;
  height: auto;
  position: relative;
  overflow: hidden;
  padding: 1rem;
  border: 4px solid #130f40;
}

@keyframes MOVE-BG-DEVMSG {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(46px);
  }
}

.bg {
  position: absolute;
  left: -46px;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;

  background: repeating-linear-gradient(
    -55deg,
    #130f40 1px,
    #30336b 2px,
    #30336b 11px,
    #130f40 12px,
    #130f40 20px
  );

  animation-name: MOVE-BG-DEVMSG;
  animation-duration: 1.2s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.wjps-separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: rgba(0, 0, 0, 0.5);
}
.wjps-separator::before,
.wjps-separator::after {
  content: "";
  flex: 1;
  border: 0;
  border-top-color: currentcolor;
  border-top-style: none;
  border-top-width: 0px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.wjps-separator::before {
  margin-right: 0.25em;
}
.wjps-separator::after {
  margin-left: 0.25em;
}

.wjps-forum-panel {
  border-left: solid 1px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.wjps-like-badge {
  cursor: pointer;
}

.wjps-dropdown {
  border: 1px solid #ced4da;
}

dl {
  margin-bottom: 0px;
}

.wjps-dropdown dd,
.wjps-dropdown dt {
  margin: 0px;
  padding: 0px;
}

.wjps-dropdown ul {
  margin: -1px 0 0 0;
}

.wjps-dropdown dd {
  position: relative;
}

/*.dropdown a,
 .dropdown a:visited {
 color: #fff;
 text-decoration: none;
 outline: none;
 font-size: 12px;
}*/

.wjps-dropdown dt a {
  color: #000000;
  text-decoration: none;
  display: block;
  padding: 8px 20px 5px 10px;
  min-height: 25px;
  line-height: 24px;
  overflow: hidden;
  border: 0;
  width: 100%;
}

.wjps-dropdown dt a span,
.multiSel span {
  cursor: pointer;
  display: inline-block;
  padding: 0 3px 2px 0;
}

.wjps-dropdown dd ul {
  border: 0;
  display: none;
  left: 0px;
  padding: 2px 15px 2px 5px;
  position: relative;
  top: 2px;
  list-style: none;
  width: 100%;
  height: 370px;
  overflow: auto;
}

.wjps-dropdown span.value {
  display: none;
}

.wjps-dropdown dd ul li {
  padding: 2px;
}

.wjps-dropdown dd ul li:hover {
  background-color: #428bca;
  color: white;
}

.wjps-dropdown dd ul li a {
  padding: 5px;
  display: block;
}

.wjps-dropdown dd ul li a:hover {
  background-color: #fff;
}

.wjps-thead-understated > tr > th {
  color: #666 !important;
  padding-bottom: 1px !important;
  padding-top: 0px !important;
  border: 0px !important;
}

#wjpsWelcomeTabsContent > li {
  height: 350px !important;
  overflow-y: scroll;
}

.footer-logo g {
  fill: white;
}

.carousel-caption {
  background-color: #000000aa;
  border-radius: 5px;
}

.wjpsGalleyCarousel {
  height: 100% !important;
}

.wjpsGalleryImg {
  height: 100%;
  object-fit: contain;
  background: #000;
}

.wjpsGalleryCarousel {
  border-radius: 15px;
  overflow: hidden;
}

/* Image Gallery Grid Style */
.grid-image-thumbnail-container {
  overflow: hidden;
}
.gallery-grid-img-wrapper {
  width: 300px;
  height: 300px;
  overflow: hidden;
}
.grid-image-thumbnail,
.figure {
  margin: auto;
}

@media (min-width: 0px) {
  .grid-image-thumbnail {
    width: 300px;
    height: 300px;
  }
}

@media (min-width: 768px) {
  .grid-image-thumbnail {
    width: 200px;
    height: 200px;
  }
}

@media (min-width: 992px) {
  .grid-image-thumbnail {
    width: 300px;
    height: 300px;
  }
}

.grid-image-thumbnail-container figcaption {
  width: 100%;
}

/* .gallery-grid-img-wrapper > img {
  min-height: 100%;
  min-width: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
} */

/* HTML Documents */
@media screen {
}

/* ENLARGE CUSTOM CHECKBOXES */

.custom-control-label::after,
.custom-checkbox .custom-control-label::before,
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after,
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
  transform: scale(1.25);
}

/* OVERRIDE DEFAULT SELECTIZE HOVER FROM DEFAULTING TO WHITE TEXT */
.selectize-dropdown [data-selectable].active {
  color: #262626 !important;
}

/* DATEPICKER DISPLAY OVER OTHER ELEMENTS */
.bootstrap-datetimepicker-widget {
  z-index: 9999;
}

/* AUDIT SECTION */

#audit {
  margin-top: 5rem;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accordion-header:hover {
  background-color: rgba(0, 0, 0, 0.06);
}

.card a:not(.collapsed) .rotate-icon {
  transform: rotate(180deg);
}

@media (min-width: 768px) and (max-width: 992px) {
  .newsitem:nth-of-type(3n) {
    margin-top: 3rem;
  }
}

@media (min-width: 0px) and (max-width: 1200) {
  .newsitem:not(:first-of-type) {
    margin-top: 2rem;
  }
}

.latestnews-card, .card-hover {
  box-shadow: 0 13px 27px -5px rgb(50 50 93 / 25%),
    0 8px 16px -8px rgb(0 0 0 / 30%);
  transform: scale(1);
  transition: 0.1s ease-in-out;
}

.latestnews-card:hover, .card-hover:hover {
  box-shadow: 0 13px 54px -5px rgb(50 50 93 / 15%),
    0 8px 32px -8px rgb(0 0 0 / 15%);
  transform: scale(1.05);
  transition: 0.1s ease-in-out;
}

.tile-fullwidth:not(:last-of-type){
  margin-bottom: 4rem;
}

.tileimage-fw {
  min-height: 400px;
}

.tileicons i {
  font-size: 4rem;
  color: var(--alt-mode);
}

.tileicons p {
  font-size: 1.2rem;
}


.tile-link {
  text-decoration: none !important;
  color: #fff !important;
}

.tile-link-directory {
  color: #000 !important;
  text-decoration: none !important;
}


/* Make entire tile clickable and maintain accessibility */

.tile-link::before, .tile-link-directory::before {
  content: ''; /* 1 */
  position: absolute; /* 2 */
  top: 0; /* 2 */
  left: 0; /* 2 */
  right: 0; /* 2 */
  bottom: 0; /* 2 */
  z-index: 1; /* 3 */
}


.tile-hover {
  backdrop-filter: blur(0px) saturate(1) brightness(1);
  transition: 0.1s ease-in-out;
}

.tile-hover:hover {
  backdrop-filter: blur(3px) saturate(1.5) brightness(1.1);
  transition: 0.1s ease-in-out;
}

.tile-btn {
  color: #fff;
  border-color: #fff;
}

.tile-btn-large {
  font-size: 1.2rem;
}

.tile-btn-inverse {
  border-color: #000;
  color: #000;
}

.tile-btn-inverse:hover {
  background: #000;
  color: #fff;
}

#latestnews .card-img-top {
  background: var(--main-color);
  padding: 1.25rem;
  color: #fff;
}

#latestnews .card-img-top h5 {
  font-size: 1.65rem;
  color: #fff;
}

#latestnews a {
  text-decoration: none;
  color: #212529;
}

.latestnews-storytitle {
  color: #fff;
}

.news-date {
  font-size: 0.8rem;
  color: #ffe9e9;
}

.news-readfull {
  font-weight: 600;
}

.roundedcorners {
  border-radius: 5px;
}

.sectionseparator {
  margin-top: 100px;
}

.sectionseparator:last-of-type {
  margin-bottom: 100px;
}

.widgetseparator {
  margin-top: 60px;
}

.widgetseparator:last-of-type {
  margin-bottom: 60px;
}

.list-item {
  border-top: 1px solid #ddd !important;
  border-bottom: 1px solid #ddd !important;
  border-right: 1px solid #ddd !important;
  margin-bottom: 5px !important;
  border-radius: 5px;
}

.list-handle {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.dd-wjps-flex .title {
  font-weight: 550;
  font-size: 0.9rem;
}

.dd-wjps-flex .icon-title-wrapper {
  display: flex;
  align-items: center;
}

.dd-wjps-flex .icon-wrapper i,
.searchresult-folder .icon-wrapper i,
.pagedocuments .icon-wrapper i {
  width: 28px;
  height: 28px;
  text-align: center;
  font-size: 1.6rem;
  color: #74bfbf;
}

.dd-wjps-flex .icon-small {
  font-size: 1rem;
}

.dd-wjps-flex .filedetails {
  display: flex;
  align-items: center;
}

.dd-wjps-flex .title-description,
.searchresult-folder .title-description,
.pagedocuments .title-description {
  margin-left: 1rem;
  display: flex;
  flex-flow: column;
}

.teamprofiles .card .btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  color:#000;
  background: #F7F7F7;
}

.teamprofiles .card .btn:hover {
  background-color: transparent;
}

.teamprofiles button:hover {
  text-decoration: none;
}

.teamprofiles .profilename {
  font-size: 1.25rem;
  line-height: 1;
  color: #15141A;
}

.teamprofiles .profilename > strong {
  font-weight: 600;
}

.teamprofiles .profilename, .teamprofiles .accordion-icon {
  color: #15141A;
}

.teamprofiles .profilejob {
  color: #6F6F6F;
}

.teamprofiles .sideattr-wrapper {
  background: #fafafa;
  margin-bottom: 0;
}

.teamprofiles {
  background: #fafafa;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.teamprofiles .profile-sideattr-vert:not(:last-child) {
  margin-bottom: 0.5rem;
}

@media (min-width: 0px) {
  .teamprofiles .profile-sideattr-horiz:not(:first-child) {
    margin-left: 0;
  }
}

@media (min-width: 576px) {
  .teamprofiles .profile-sideattr-horiz:not(:first-child) {
    margin-left: 2rem;
  }
}

.teamprofiles .profile-sideattr-title, 
.modal-attr-wrapper .modal-attr-heading,
.planning-info .planning-fieldheader
{
  font-variant: small-caps;
  color: 6F6F6F !important;
}

.profile-sideattr-title > strong, 
.modal-attr-wrapper .modal-attr-heading > strong,
.planning-info .planning-fieldheader > strong
{
  font-weight: 600;
}

.modal-attr-wrapper > * {
  word-break: break-all;
}

.teamprofiles > .accordion:last-child > .card {
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.teamprofiles .profile-thumb {
  height: 65px;
  width: 65px;
  background-size: cover;
  border-radius: 100%;
}

#pages-order {
  margin-top: 20px;
}

#pages-order .itemtitle {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
}

#pages-order .itemtitle-wrapper {
  border-radius: 3px;
  padding: 0.4rem;
}

.page-unpublished {
  color: #e64a19 !important;
}

.page-hidden {
  color: #f57f17;
}

.page-private {
  color: #546e7a;
}

.pagestatus-badge,
.searchresult-forum-badge,
.searchresult-news-badge {
  display: inline-block;
  padding: 0.4em 0.65em;
  text-align: center;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.8rem;
}

.pagestatus-badge-unpublished {
  background: #d84315 !important;
  color: #ffebee !important;
}

.pagestatus-badge-hidden {
  background: #ffa000;
  color: #fff8e1;
}

.pagestatus-badge-private {
  background: #78909c;
  color: #eceff1;
}

.pagestatus-badge-link {
  background: #e1f5fe;
  color: #039be5;
}

.pagestatus-badge-home {
  background: #eceff1;
  color: #607d8b;
}

.pagestatus-icons {
  margin-left: 0.5rem;
}

.page-item-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  margin: 0 !important;
}

.page-info-inner {
  display: flex;
  align-items: center;
  margin-left: auto !important;
}

.page-dateupdated {
  display: flex;
  flex-direction: column;
  border-radius: 5px;
  color: #546e7a;
  line-height: 1.3;
  margin-left: 1rem;
  margin-right: 0.5rem;
}

.page-updated-label {
  font-weight: 600;
}

.page-actions-icons {
  font-size: 1rem;
}

.page-actions-icons a {
  text-decoration: none;
}

.page-actions-icons i {
  border-radius: 3px;
  padding: 0.4rem 0.4rem;
}

.page-actions-icons .action-icon-del {
  background: #fbe9e7;
  color: #e64a19;
}

.page-actions-icons .action-icon-del:hover {
  background: #ffccbc;
  color: #d84315;
}

.page-actions-icons .action-icon-archive {
  background: #fff8e1;
  color: #ffa000;
}

.page-actions-icons .action-icon-archive:hover {
  background: #ffecb3;
  color: #ff8f00;
}

.page-actions-icons .action-icon-std {
  background: #e3f2fd;
  color: #1e88e5;
}

.page-actions-icons .action-icon-std:hover {
  background: #bbdefb;
  color: #1976d2;
}

.page-entry-details {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.wjps-docs-drag-table-details > .doc-info,
.wjps-docs-drag-table-details > .folder-info {
  margin-bottom: 0.5rem;
}

.doc-info-item i,
.folder-info-item i {
  margin-right: 0.3rem;
  color: #78909c;
}

.doc-info-value,
.folder-info-value {
  color: #37474f;
}

.wjps-docs-drag-table-details
  > .doc-info
  > .doc-info-item:not(:first-of-type)::before,
.wjps-docs-drag-table-details
  > .folder-info
  > .folder-info-item:not(:first-of-type)::before,
.filedetails-wrapper .pagedocument-metaitem:not(:first-of-type)::before,
.pagedocuments-section .folder-info-item:not(:first-of-type)::before {
  content: " \2219 ";
  display: inline-block;
  color: #90a4ae;
  font-weight: 1000;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.searchresult-forum-postdetails-detail:not(:first-of-type)::before,
.searchresult-news-postdetails-detail:not(:first-of-type)::before {
  content: " \2219 ";
  display: inline-block;
  color: #90a4ae;
  font-weight: 1000;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.pagedocument-meta {
  display: inline-block;
  color: #4E6672;
}

.documentsection-title {
  font-weight: 600;
  margin-bottom: 0.8rem;
}

#folder-list {
  margin-bottom: 1rem;
}

.memoriam {
  width: 100vw;
  height: 100vh;
  background: #000;
  color: #fff;
}

.memoriampreview {
  background: #000;
  color: #fff;
  text-align: center;
}

.search-dropdown {
  margin-top: 1rem;
  width: 400px;
  max-width: 400px;
}

.search-result-section,
.pagedocuments-section {
  background-color: #fafafa;
  border-radius: 5px;
  border-top: 5px solid #eeeeee;
}

.pagedocuments-section h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #4E6672;
  padding-bottom: 1rem;
}

.pagedocuments-section p {
  color: #4E6672;
}

.searchresult-page,
.searchresult-folder,
.searchresult-forum,
.searchresult-news {
  margin-top: 2rem;
}

.search-result-section:not(:last-of-type),
.pagedocuments-section:not(:last-of-type) {
  background-color: #fafafa;
  border-radius: 5px;
  margin-bottom: 1.75rem;
}

.pagedocument-meta_actions-wrapper {
  display: flex;
  align-items: center;
}

.pagedocument-meta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: end;
}

.pagedocument-comment {
  padding-left: 1rem;
}
.search-result-section h2 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.searchresult-page-result:not(:last-of-type),
.searchresult-forum-result:not(:last-of-type),
.searchresult-news-result:not(:last-of-type) {
  margin-bottom: 1.7rem;
}

.searchresult-page-result h3,
.searchresult-forum-result h3,
.searchresult-news-result h3 {
  font-size: 1.15rem;
  line-height: 1.5;
  font-weight: 600;
}

.searchresult-folder .title,
.pagedocuments .title {
  font-size: 1rem;
  font-weight: 600;
}

.filedetails-wrapper:not(:last-child) {
  border-bottom: 1px solid #fdfd;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}

.searchresult-folder .title-description,
.searchresult-doc .title-description,
.pagedocuments .title-description {
  line-height: 1.4;
}

.searchresult-forum-postdetails,
.searchresult-news-postdetails {
  font-size: 0.9rem;
  color: #78909c;
  margin-top: 0.3rem;
}

.searchresult-forum-badge,
.searchresult-news-badge {
  background: #eceff1;
  color: #607d8b;
}

.searchresult-forum-result-title,
.searchresult-news-result-title {
  display: flex;
}

.searchresult-forum-badge {
  margin-left: 0.5rem;
}

a.cke_dialog_ui_button_ok {
  background: #f8f8f8 !important;
  border: 1px solid #bcbcbc !important;
}

a.cke_dialog_ui_button_ok:hover {
  background: #fff !important;
}

#displayContent figure,
#content figure {
  display: block;
  max-width: min-content;
}

#displayContent figure.image figcaption,
#content figure.image figcaption {
  display: block;
  caption-side: bottom;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  font-style: italic;
  color: #546e7a;
  border-bottom: 1px solid #cfd8dc;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-size: 0.9rem;
}

#displayContent > p > img, #content > p > img {
  padding: 0.5rem;
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dropdown-submenu > a::after {
  margin-top: 0 !important;
  margin-right: 0 !important;
  margin-left: 10px;
}

.dropdown-menu .dropdown-menu-left {
  left: auto !important;
  right: 100%;
  top: 0;
}


/* HOMEPAGE BLOCKS */

div.block{
	margin-bottom: 0px;
}

div.block div {
	height:150px;
	border:2px solid white;
}

div.block div span{
	display: block;
	width:100px;
	height:100px;
	padding-top:10px;
	color:#ffffff;
	font-size:18px;
	font-weight: bold;
	text-decoration: none;
	line-height: 30px;
}

div.block div span span{
	position:relative;  
	top:70%;
	right:15px;
	color:#ffffff;
}

div.blue
{
	background-color:#0072C6;
}

div.dark
{
	background-color:#000000;
}

div.orange
{
	background-color: #E0822C;
}

div.purple
{
	background-color: #5C2D91;
}

div.lightblue
{
	background-color: #0099FF;
}

div.light
{
	background-color: #7a7a7a;
}

div.darkblue{ 
	background-color: #0066CC;
}

div.medium{ 
	background-color: #474747;
}


div.reveal { 
    width:100%; 
    height:100%; 
    display:none; 
    position:absolute;
    left: 0;
    bottom: 0;
    font-size:14px;
    color:#ffffff;
    padding:10px;
    border:0px;
}

div.reveal a{
	color: #ffffff;
	text-decoration: none;
}

/* FORMER PAGES.css CONTENT */

.unsetVersion{
  background-color: #3498db;
  color:#fff;
  cursor:pointer;
}
.unsetVersionContent{
  background-color: #2980b9;
  color:#fff;
  cursor:pointer;
}
.setVersion{
  background-color: #2ecc71;
  color:#000;
  cursor:pointer;
}
.setVersionContent{
  background-color: #27ae60;
  color:#fff;
  cursor:pointer;
}

/* FORMER WIDTH-FULL.css CONTENT */

.boxed {
  background-color: #fff;
}

/* FORMER DROPDOWNMENU.css */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px;
  border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
  display: block;
}

.dropdown-submenu>a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #ccc;
  margin-top: 5px;
  margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
  border-left-color: #fff;
}

.dropdown-submenu.pull-left {
  float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
  left: -100%;
  margin-left: 10px;
  -webkit-border-radius: 6px 0 6px 6px;
  -moz-border-radius: 6px 0 6px 6px;
  border-radius: 6px 0 6px 6px;
}


/* FORMER DYNAMICNEWS.css TICKER */
.newtickerholder {
  border: 0px solid #ccc;
  margin: 0;
}
.newtickerholder ul {
  padding: 0;
  list-style: none;
}
.newtickerholder li {
  padding: 20px;
  border-bottom: 0px dashed #ccc;
}
.newtickerholder li.odd {
  background: #fafafa;
}
.newtickerholder li:after {
  content: '';
  display: block;
  clear: both;
}
.newtickerholder img {
  float: left;
  width: 177px;
  margin: 5px 15px 0 0;
}
.newtickerholder a {
  font-family: Arial, sans-serif;
  font-weight: bold;
  color: #06f;
}
.newticker {
  margin-top: 0px;
  border-radius: 0px;
  width: 100%;
  z-index: 1;
}
.newticker ul {
  padding: 0;
  width: 100%;
}
.newticker ul li {
  padding: 0px 0px 0px 0px;
  border-radius: 0px!important;
  list-style-type: none;
  margin: 0;
}
.et-run {
  background-color: #0cf;
  color: white;
  border: 1px solid black;
}

.newscontainer {
   border: none;
   border-radius: 0px!important;
   width: 100%;
}
.wjps-news-card-header{
  color: #666;
  font-size: 14px;
  transition: background 0.2s;
  cursor: pointer;
}
.wjps-news-card-header:hover{
  background-color: #ddd;
}
.wjps-news-card-header > a{
  color: #666;
  float: right;
}
.wjps-news-card-body{
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
  font-size: 14px;
}
.wjps-news-card-text{
   height: 100%;
}
.uk-card-body > .wjps-news-card-text{
   height: 150px;
}
.uk-card > .wjps-news-card-body-link{
  border-bottom: 1px solid #e5e5e5;
}
.wjps-news-card{
  border-radius: 0px;
  padding-left: 0px;
  border-left: 0px;
  border-right: 0px;
  border-top:0px;
  margin-bottom: 0px!important;
}

/* FORMER ERROR.css STYLING */
#errors{
	display: none;
}

#errorsshow ul li{
	display: none;
}

#errorsshow ul li#defaulterror{
	display: list-item;
}

#errorsshow ul li#defaultemailduplicationerror{
	display: list-item;
}

/* FORMER HOMEPAGEBLOCK.css STYLING */
div.block{
	margin-bottom: 0px;
}

div.block div {
	height:150px;
	border:2px solid white;
}

div.block div span{
	display: block;
	width:100px;
	height:100px;
	padding-top:10px;
	color:#ffffff;
	font-size:18px;
	font-weight: bold;
	text-decoration: none;
	line-height: 30px;
}

div.block div span span{
	position:relative;  /*           THIS USED TO BE ABSOLUTE BUT WEBCAG GOT ALL ANNOYED AT IT SO I CHANGED IT, IF IT BREAKS SOMETHING IM SORRY LOL. Sam x */
	top:70%;
	right:15px;
	color:#ffffff;
}

div.blue
{
	background-color:#0072C6;
}

div.dark
{
	background-color:#000000;
}

div.orange
{
	background-color: #E0822C;
}

div.purple
{
	background-color: #5C2D91;
}

div.lightblue
{
	background-color: #0099FF;
}

div.light
{
	background-color: #7a7a7a;
}

div.darkblue{ 
	background-color: #0066CC;
}

div.medium{ 
	background-color: #474747;
}


div.reveal { 
    width:100%; 
    height:100%; 
    display:none; 
    position:absolute;
    left: 0;
    bottom: 0;
    font-size:14px;
    color:#ffffff;
    padding:10px;
    border:0px;
}

div.reveal a{
	color: #ffffff;
	text-decoration: none;
}

/* CKEDITOR SHOW LABELS */
.cke_button__adddocumentsection > .cke_button_label,
.cke_button__adddocument > .cke_button_label,
.cke_button__addfolderlink > .cke_button_label,
.cke_button__addnews > .cke_button_label,
.cke_button__addpopup > .cke_button_label,
.cke_button__addpeople > .cke_button_label,
.cke_button__adddirectory > .cke_button_label,
.cke_button__addcalender > .cke_button_label,
.cke_button__addnavlist > .cke_button_label,
.cke_button__image > .cke_button_label,
.cke_button__addgallery > .cke_button_label,
.cke_button__addpagelink > .cke_button_label,
.cke_button__addpagesgroup > .cke_button_label,
.cke_button__addtiles > .cke_button_label
{
  display: block;
}


/* DIRECTORY MODALS */
#entryModalContent .modal-body {
  color: #000;
}

#entryModalContent .modal-body .modal-attr-wrapper:not(:last-of-type) {
  margin-bottom: 1rem;
}

#entryModalContent .modal-entry-loading {
  min-height: 350px;
}

#entryModalContent button.close {
  text-shadow: 0 1px 10px #000;
  opacity: 0.9;
}

#entryModalContent button.close:hover {
  opacity: 1;
}


.directory-entry-card .card-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03rem;
}

.directory-entry-card .card-text, .directory-entry-card .btn, #entryModalContent p, #entryModalContent a, #entryModalContent span:not(.icon-modal-close) {
  font-size: 0.75rem;
}

.directory-entry-card .entry-tile-map {
  cursor: pointer;
  float: right;
}

.directory-entry-card .entry-tile-thumbnail {
  cursor: pointer;
}

#entryModalContent .directory-modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03rem;
}

@media only screen and (min-width: 550px) {
  .directory-entry-card .card-title {
    font-size: 1.6rem;
  }

  .directory-entry-card .card-text, .directory-entry-card .btn, #entryModalContent p, #entryModalContent a, #entryModalContent span:not(.icon-modal-close) {
    font-size: 1rem;
  }

  #entryModalContent .directory-modal-title {
    font-size: 2.5rem;
  }

  .olMap {
    height: 100%;
    width: auto;
  }
  
}

@media only screen and (max-width: 550px) {
  .olMap {
    height: 250px;
    width: 100%;
  }
}



.olControlAttribution {
  font-size: 0.6rem;
}

:root,
:host {
  --ol-background-color: white;
  --ol-accent-background-color: #F5F5F5;
  --ol-subtle-background-color: rgba(128, 128, 128, 0.25);
  --ol-partial-background-color: rgba(255, 255, 255, 0.75);
  --ol-foreground-color: #333333;
  --ol-subtle-foreground-color: #666666;
  --ol-brand-color: #00AAFF;
}

.ol-box {
  box-sizing: border-box;
  border-radius: 2px;
  border: 1.5px solid var(--ol-background-color);
  background-color: var(--ol-partial-background-color);
}

.ol-mouse-position {
  top: 8px;
  right: 8px;
  position: absolute;
}

.ol-scale-line {
  background: var(--ol-partial-background-color);
  border-radius: 4px;
  bottom: 8px;
  left: 8px;
  padding: 2px;
  position: absolute;
}

.ol-scale-line-inner {
  border: 1px solid var(--ol-subtle-foreground-color);
  border-top: none;
  color: var(--ol-foreground-color);
  font-size: 10px;
  text-align: center;
  margin: 1px;
  will-change: contents, width;
  transition: all 0.25s;
}

.ol-scale-bar {
  position: absolute;
  bottom: 8px;
  left: 8px;
}

.ol-scale-bar-inner {
  display: flex;
}

.ol-scale-step-marker {
  width: 1px;
  height: 15px;
  background-color: var(--ol-foreground-color);
  float: right;
  z-index: 10;
}

.ol-scale-step-text {
  position: absolute;
  bottom: -5px;
  font-size: 10px;
  z-index: 11;
  color: var(--ol-foreground-color);
  text-shadow: -1.5px 0 var(--ol-partial-background-color), 0 1.5px var(--ol-partial-background-color), 1.5px 0 var(--ol-partial-background-color), 0 -1.5px var(--ol-partial-background-color);
}

.ol-scale-text {
  position: absolute;
  font-size: 12px;
  text-align: center;
  bottom: 25px;
  color: var(--ol-foreground-color);
  text-shadow: -1.5px 0 var(--ol-partial-background-color), 0 1.5px var(--ol-partial-background-color), 1.5px 0 var(--ol-partial-background-color), 0 -1.5px var(--ol-partial-background-color);
}

.ol-scale-singlebar {
  position: relative;
  height: 10px;
  z-index: 9;
  box-sizing: border-box;
  border: 1px solid var(--ol-foreground-color);
}

.ol-scale-singlebar-even {
  background-color: var(--ol-subtle-foreground-color);
}

.ol-scale-singlebar-odd {
  background-color: var(--ol-background-color);
}

.ol-unsupported {
  display: none;
}

.ol-viewport,
.ol-unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.ol-viewport canvas {
  all: unset;
}

.ol-viewport {
  touch-action: none;
}

.ol-selectable {
  -webkit-touch-callout: default;
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

.ol-grabbing {
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
  cursor: grabbing;
}

.ol-grab {
  cursor: move;
  cursor: -webkit-grab;
  cursor: -moz-grab;
  cursor: grab;
}

.ol-control {
  position: absolute;
  background-color: var(--ol-subtle-background-color);
  border-radius: 4px;
}

.ol-zoom {
  top: .5em;
  left: .5em;
}

.ol-rotate {
  top: .5em;
  right: .5em;
  transition: opacity .25s linear, visibility 0s linear;
}

.ol-rotate.ol-hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s linear, visibility 0s linear .25s;
}

.ol-zoom-extent {
  top: 4.643em;
  left: .5em;
}

.ol-full-screen {
  right: .5em;
  top: .5em;
}

.ol-control button {
  display: block;
  margin: 1px;
  padding: 0;
  color: var(--ol-subtle-foreground-color);
  font-weight: bold;
  text-decoration: none;
  font-size: inherit;
  text-align: center;
  height: 1.375em;
  width: 1.375em;
  line-height: .4em;
  background-color: var(--ol-background-color);
  border: none;
  border-radius: 2px;
}

.ol-control button::-moz-focus-inner {
  border: none;
  padding: 0;
}

.ol-zoom-extent button {
  line-height: 1.4em;
}

.ol-compass {
  display: block;
  font-weight: normal;
  will-change: transform;
}

.ol-touch .ol-control button {
  font-size: 1.5em;
}

.ol-touch .ol-zoom-extent {
  top: 5.5em;
}

.ol-control button:hover,
.ol-control button:focus {
  text-decoration: none;
  outline: 1px solid var(--ol-subtle-foreground-color);
  color: var(--ol-foreground-color);
}

.ol-zoom .ol-zoom-in {
  border-radius: 2px 2px 0 0;
}

.ol-zoom .ol-zoom-out {
  border-radius: 0 0 2px 2px;
}

.ol-attribution {
  text-align: right;
  bottom: .5em;
  right: .5em;
  max-width: calc(100% - 1.3em);
  display: flex;
  flex-flow: row-reverse;
  align-items: center;
}

.ol-attribution a {
  color: var(--ol-subtle-foreground-color);
  text-decoration: none;
}

.ol-attribution ul {
  margin: 0;
  padding: 1px .5em;
  color: var(--ol-foreground-color);
  text-shadow: 0 0 2px var(--ol-background-color);
  font-size: 12px;
}

.ol-attribution li {
  display: inline;
  list-style: none;
}

.ol-attribution li:not(:last-child):after {
  content: " ";
}

.ol-attribution img {
  max-height: 2em;
  max-width: inherit;
  vertical-align: middle;
}

.ol-attribution button {
  flex-shrink: 0;
}

.ol-attribution.ol-collapsed ul {
  display: none;
}

.ol-attribution:not(.ol-collapsed) {
  background: var(--ol-partial-background-color);
}

.ol-attribution.ol-uncollapsible {
  bottom: 0;
  right: 0;
  border-radius: 4px 0 0;
}

.ol-attribution.ol-uncollapsible img {
  margin-top: -.2em;
  max-height: 1.6em;
}

.ol-attribution.ol-uncollapsible button {
  display: none;
}

.ol-zoomslider {
  top: 4.5em;
  left: .5em;
  height: 200px;
}

.ol-zoomslider button {
  position: relative;
  height: 10px;
}

.ol-touch .ol-zoomslider {
  top: 5.5em;
}

.ol-overviewmap {
  left: 0.5em;
  bottom: 0.5em;
}

.ol-overviewmap.ol-uncollapsible {
  bottom: 0;
  left: 0;
  border-radius: 0 4px 0 0;
}

.ol-overviewmap .ol-overviewmap-map,
.ol-overviewmap button {
  display: block;
}

.ol-overviewmap .ol-overviewmap-map {
  border: 1px solid var(--ol-subtle-foreground-color);
  height: 150px;
  width: 150px;
}

.ol-overviewmap:not(.ol-collapsed) button {
  bottom: 0;
  left: 0;
  position: absolute;
}

.ol-overviewmap.ol-collapsed .ol-overviewmap-map,
.ol-overviewmap.ol-uncollapsible button {
  display: none;
}

.ol-overviewmap:not(.ol-collapsed) {
  background: var(--ol-subtle-background-color);
}

.ol-overviewmap-box {
  border: 1.5px dotted var(--ol-subtle-foreground-color);
}

.ol-overviewmap .ol-overviewmap-box:hover {
  cursor: move;
}

.dropshadow {
  box-shadow: 0 13px 27px -5px rgb(50 50 93 / 25%),
    0 8px 16px -8px rgb(0 0 0 / 30%);
}

.background-cover {
  background-size: cover;
  background-position: center;
}

.font-weight-600 {
  font-weight: 600;
}

.badge-info {
  color: #fff;
  background-color: #117686 !important;
}

.page-item.active .page-link {
  z-index: 1;
  color: #040404 !important;
  background-color: #007bff;
  border-color: #007bff;
}


/* Main container with flexible layout */
.calendar-container {
    display: flex;
    gap: 20px;
    max-width: 100%;
    margin: 20px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Calendar section */
.calendar-section {
    flex: 1;
    min-width: 0; /* Prevents flex item from overflowing */
}

/* Calendar Style ?*/

  #calendar {
        background: white;
        border-radius: 8px;
        padding: 20px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    /* Event details panel */
    .event-details-panel {
        width: 350px;
        background: white;
        border-radius: 8px;
        padding: 20px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        position: sticky;
        top: 20px;
        height: fit-content;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
    }

    .event-details-panel h3 {
        margin-top: 0;
        font-size: 1.4em;
        font-weight: 600;
        padding-bottom: 10px;
        margin-bottom: 20px;
    }

    .event-details-panel p {
        margin: 12px 0;
        line-height: 1.5;
    }

    .event-details-panel strong {
        font-weight: 600;
    }

    .event-details-placeholder {
        font-style: italic;
        text-align: center;
        padding: 40px 20px;
        border-radius: 8px;
    }

    .event-details-placeholder h4 {
        margin-top: 0;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .close-details {
        background: none;
        border: none;
        float: right;
        font-size: 24px;
        cursor: pointer;
        
        margin-top: -10px;
        margin-right: -10px;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.2s ease;
    }

   

    /* Header styling to match council branding */
    .fc .fc-toolbar {
        
        border-radius: 6px;
        padding: 15px;
        margin-bottom: 20px;
    }

    .fc .fc-toolbar-title {
        font-weight: 600;
        font-size: 1.2em;
    }

    /* Button styling to match council theme */
    .fc .fc-button-primary {
        color: white;
        font-weight: 500;
        border-radius: 4px;
        padding: 8px 16px;
        font-size: 12px;
    }

    
    .fc .fc-daygrid-day-number {
        font-weight: 500;
        text-decoration: none;
        padding: 8px;
    }

    .fc .fc-col-header-cell {
        font-weight: 600;
        color: var(--council-primary);
        padding: 12px 8px;
    }

    /* Event styling */
    .fc .fc-event {
        border-radius: 4px;
        font-size: 13px !important;
        font-weight: 500;
        margin: 1px;
        padding: 2px 6px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .fc .fc-event:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }
   
    .fc .fc-list-day-cushion {
        font-weight: 600;
        padding: 12px;
    }

    .fc .fc-list-event-title {
        font-weight: 10px !important;
    }

    .fc-list-event-time {
        font-weight: 500;
        font-size: 10px;
    }

    /* Today highlighting */
    .fc .fc-day-today {
        background-color: rgba(0, 102, 204, 0.1);
    }

    .fc .fc-day-today .fc-daygrid-day-number {
        color: white;
        border-radius: 50%;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 4px;
    }

    /* Loading state */
    .calendar-loading {
        text-align: center;
        padding: 40px;
        font-style: italic;
    }

    .calendar-loading::before {
        content: "Loading calendar events...";
    }

    /* Mobile responsive design */
    @media (max-width: 1024px) {
        .event-details-panel {
            width: 300px;
        }
    }

    @media (max-width: 768px) {
        .calendar-container {
            flex-direction: column;
            padding: 0 10px;
            margin: 10px auto;
            gap: 15px;
        }

        .event-details-panel {
            width: 100%;
            position: static;
            max-height: none;
            order: -1; /* Show event details above calendar on mobile */
        }

        .event-details-panel.hidden {
            display: block; /* Always show on mobile, but with placeholder */
        }

        #calendar {
            padding: 15px;
        }

        .fc .fc-toolbar {
            flex-direction: column;
            align-items: stretch;
            gap: 10px;
            padding: 10px;
        }

        .fc .fc-toolbar-title {
            font-size: 1.3em;
            text-align: center;
            margin: 5px 0;
        }

        .fc .fc-button {
            font-size: 12px;
            padding: 6px 12px;
        }
    }

    @media (max-width: 500px) {
        .fc .fc-event {
            font-size: 12px;
            padding: 1px 4px;
        }

        .fc .fc-daygrid-day-number {
            padding: 4px;
            font-size: 13px;
        }

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

    /* Accessibility improvements */
    .fc .fc-button:focus {
        outline: 2px solid var(--council-secondary);
        outline-offset: 2px;
    }

    .fc .fc-event:focus {
        outline: 2px solid white;
        outline-offset: 1px;
    }

    /* Smooth transitions */
    .event-details-panel {
        transition: all 0.3s ease;
    }

    /* Print styles */
    @media print {
        .event-details-panel {
            position: static;
            width: 100%;
            page-break-inside: avoid;
        }
        
        .calendar-container {
            flex-direction: column;
        }
    }