:root {
    --primary-color: #305b82;          /* blue    h1, h3, h5 */
    --secondary-color: #7f8083;    /* mid grey      h5 card*/

    --heading-color: #305b82;          /* blue  h2, h4, h6 */
    --hover-color: #7f8083;   /* mid grey */

    --button-color: #7f8083;    /* mid grey */
    --background-color: #f4f4f4;    /* light grey */
}

#tinymce { background-color: #fff; }
.ui-widget-overlay {     background-color: #fff;     }
body {  font-family:  "Ubuntu", sans-serif;     background-color: white; }
#skiptocontent a {   position: absolute;   left: -9999px; }
#skiptocontent a:focus {   left: 0; }
.sr-only {     display: none; }

/* HEADER */
header .container { background-color: transparent; }
header.top-header  { background-color: var(--background-color); padding-top: 20px;     padding-bottom: 0;}

header {
  background-image: url('/uploads/sites/declare//theme/images/HeaderImage004.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 50%;
}
   @media screen and (max-width: 600px) { header  {  background-image: none; }}

/* Header text */
.heading-region p { color:var(--primary-color);      font-size: 2.5em;     line-height: 1;   padding-top: 20px; text-align: right;}
   @media screen and (max-width: 600px) { .heading-region p {     font-size: 2em; padding-top: 0;     text-align: left; }}
.heading-slogan p { color:var(--primary-color);      font-size: 1.4em;     line-height: 0.3;  font-weight: 600; text-align: right;}

.banner-image img {  padding-top: 0; padding-bottom: 10px;   max-width: min(400px, 100%); }
   @media screen and (max-width: 600px) { .top-header a img { padding-bottom:20px; }}
.top-header a img:hover { opacity: 1; }
a img:hover { opacity: 0.7; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== 
.navbar { padding: 1rem 1rem 0; float: right; }  */

.menu, .menu li {   padding-left: 0; }
menu { background-image: none; }

nav .container { padding-left: 0; background-color: var(--background-color);}

/* Primary + secondary menu shared resets */
.primary-menu .menu, .primary-menu .menu a, .primary-menu .menu a:hover, .primary-menu .menu a.active, .secondary-menu .menu, .secondary-menu .menu a { background-color: transparent;  background-image: none; }

/* Primary menu */
nav.primary-menu { background-color: var(--background-color); }
.primary-menu {  padding: 0.5rem 0; background-color: transparent; }
.primary-menu a {   color: var(--primary-color);   font-weight: 600; text-transform: uppercase;   }
.primary-menu a:hover,  .primary-menu a.active, .primary-menu .menu a.active {   color:var(--hover-color);   }
.menu a, .menu a:visited {   color: var(--primary-color);  }
.menu a:hover,   .menu a.active  {  color:var(--hover-color); }

/* Secondary menu styles */
.secondary-menu {  padding: 0;   background-image: none; text-transform: uppercase; }
.secondary-menu .menu a {   color: #000;     padding: 0 15px;     font-size: 0.9rem;    font-weight: 400;  }
.secondary-menu .menu li:last-child a {   padding-right: 0; }
.secondary-menu .menu a:hover, .secondary-menu .menu a.active {   color:var(--hover-color); }

/* Child (dropdown) menus */
.menu li li {  float: none; padding: 9px 10px 9px 0; }
.primary-menu-item ul {  position: absolute;  z-index: 999; }
.menu li > a:after {  font-family: "Font Awesome 6 Pro"; content: " \f107"; } 
.menu li > a:only-child:after { content: ''; }

.menu .details-slide.opened {   background-color: transparent; padding-left: 0; border: 1px solid #cecdcd;}
.menu .details-slide.opened ul.details-slide {   margin-left: 100px; width: max-content;}
.secondary-menu ul ul { padding-left: 15px;}

/*mobile menu hamburger*/
.small-hidden-menu .xs-opener {   color: #fff;   border: none;   background-color: var(--primary-color);   margin-top: 30px;   margin-right: 20px;   padding: 13px 15px; }
.small-hidden-menu .xs-opener:hover {   color: #fff;   background-color: var(--hover-color); }
.fa-bars:before {   color: #fff;   font-size: 1.6rem; }

/*mobile menu*/
.small-hidden-menu .details-slide.menu {   right: 10px;   left: unset;   width: 60%;   background-color: #fff;   margin-top: 170px;   padding: 20px;   box-shadow: 0 0 0 rgba(0, 0, 0, 0);   opacity: 0;   transform: translateY(-10px);   max-height: 0;   overflow: hidden;   transition: all 0.3s ease; }
.small-hidden-menu .details-slide.opened {   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);   z-index: 1050;   opacity: 1;   transform: translateY(0);   max-height: 300px; }
.small-hidden-menu ul li {   text-align: left;   line-height: 2.5; }
.small-hidden-menu ul li > a:after {   display: none; }

#main-content {  background: #fff;  border-top: 1px solid #ddd;}
#middle-panel, #right-panel   { margin-top: 50px; margin-bottom: 30px;    }
#content-top { width:100%; }
#content-extra img { width:100%; }
@media screen and (max-width: 600px) {   #middle-panel { margin-bottom: 10px; }  
  #right-panel { margin-bottom: 0; }
  #content-top,  #content-bottom { padding: 0 15px; }
  #content-top { padding: 0 25px; }}

.social { float:right; margin-bottom: 0px;     margin-right: 10px; }
.social a { color: #fff; font-size: 2.2em; text-decoration: none;}
.social a:hover { color: #e67724;  }

p, ul li, ol li {   color: #000; font-size: 1.15rem; }
p { line-height: 2.1;  }
ul li, ol li  { line-height: 1.8; margin-bottom: 0.7em; }
.intro { font-size: 1.5em; font-weight: 500; line-height: 1.8; margin: 1em 0; }
.box ol, .box ul { margin: 6px 10px 0 10px;     padding-left: 20px; }

h1 {     font-size: 2.1em;     color:var(--primary-color);    font-weight: 500;     margin-bottom: 0.5em;     line-height: 1.2; }
h1 a, h1 a:visited { color:var(--primary-color);  }
h2 { font-size:1.7em; color:var(--heading-color); font-weight:700; margin-top:1em; margin-bottom:0.3em;  line-height: 1.3;} 
h2 a, h2 a:visited { color:var(--heading-color);}
h3 { font-size:1.4em; color:var(--primary-color); font-weight:800;  margin-top: 1em; margin-bottom:0.4em; line-height: 1.4;}
h3 a, h3 a:visited { color:var(--primary-color);}
h4 { font-size:1.4em; color:var(--heading-color);  font-weight:500; margin-top: 1.2em;  margin-bottom: 0.4em; line-height: 1.35;}
h4 a, h4 a:visited { color:var(--heading-color);  }
h5 { font-size:1.3em; color:var(--primary-color); font-weight:700; margin-bottom:0.4em; line-height: 1.4;}
h5 a, h5 a:visited { color:var(--primary-color); }
h6 { font-size:1.2em; color:var(--heading-color);  font-weight:600; margin-bottom:0.4em; margin-top: 1em; line-height: 1.4;}
h6 a, h6 a:visited { color:var(--heading-color);  }

a { color: #146ac0; text-decoration:none;  }
a:hover, h1 a:hover, h2 a:hover,  h3 a:hover,  h4 a:hover,  h5 a:hover,  h6 a:hover { text-decoration:none; color:#0a8de9; }
strong {color: inherit;}
a strong, a strong:visited { color: #146ac0; }
a strong:hover, strong a:hover { color: #0a8de9; }

legend { font-size:1.2em; color:var(--secondary-color);  background-color:transparent;}
dt label { color:var(--primary-color);  }
.small { font-size: 1em; line-height: 1.4;}
.highlight { color:#F00; }

/* CUSTOM CLASSES */
/* BUTTONS for inline button use display: inline-block; and delete width: 100%; */

.button {  display: block;
    color: var(--button-color);
    background-color: #fff;
    border: 2px solid var(--button-color);
    padding: 0;
    font-size: 1.2em;
    font-weight: 500;
    width: 100%;
    text-align: center;
    border-radius: 20px;
    text-decoration: none;
    cursor: pointer;
    margin: 5px 0 25px; }
.button:hover, .button:active {   background-color:var(--button-color); color:#fff;  }

/* Small and secondary buttons inherits .button */
.button.button-small {  display: inline-block; color: #fff;  border: none; padding: 6px 18px; font-size: 0.9em; background-color:var(--primary-color); width: auto; line-height: 1.5;}
.button.button-small:hover, .button.button-small:active {   background-color:var(--button-color); }
a .button.button-small:hover, .button.button-small a:hover {   color: #fff; }

.button a, .button-small a { color: inherit;   text-decoration: none; }
a > .button, a.button-link, a.button:visited, a .button:visited { color: #4a6f7c;   text-decoration: none; }

/* Base style for all background boxes */
.background { background-color: #ececec; padding: 25px 30px;  margin: 1.5em 0 5px 0;  border-radius: 8px; }
.background-dark {  background-color:var(--background-color); }

.rule { border-bottom: 2px solid #aaaea7; padding-bottom: 10px; margin-bottom: 30px;}
.rule a, .rule a:visited   { text-decoration:none; }
.rule a:hover { color:#0392eb; text-decoration:none; }
.background.rule  { margin-bottom: 0; }
.caption { line-height:1.4; font-size:0.9em; }
.paddingnone { padding-bottom: 0px; margin-bottom: 0px; margin-top: 0px; padding-top: 0px; }
blockquote {   font-weight:500;  font-size:1.2rem; margin: 0.5em 0 1.5em 0;  padding-left: 30px; border-left: 4px solid #a09f9f; }
blockquote p {  color:#555; font-size:1.6em;}

.video-wrapper { position: relative;  width: 100%;  padding-bottom: 56.25%; /* 16:9 aspect ratio*/
  height: 0;   overflow: hidden;   border-radius: 0px;    }
.video-wrapper iframe {   position: absolute;   top: 0;   left: 0;   width: 100%;   height: 100%;   border: 0; }

/* GallerySlideshow */
.carousel-inner { background-color:  #00000038;     padding-top: 30px; }
.slick-prev.slick-arrow { left: 35px; }

/* Site BUTTONS*/
.btn.green {  color: #028553;  border: 2px solid #028553;  background-color: #fff; }
.btn.green:hover, .btn.green:active {background-color: #028553; border: 2px solid #028553; }
.btn.blue {  color: #0381cc;  border: 2px solid #0381cc; background-color: #fff;     border-radius: 20px; }
.modal-header button.close {     border: none;     border-radius: 50px;     background-color: #b3c9e7; }
.modal-footer button.btn.btn-default.btn-primary { background-color: #397bb8;     border-color: #397bb8; }

.sharethis-inline-share-buttons{ padding-bottom: 20px;     padding-top: 10px; }


/* CARDS*/
.card { border: none; margin: 0 2% 2% 0; background-color: transparent;  width: 22%;  }
  @media screen and (max-width: 1200px) { .card  { width:30%; }}
    @media screen and (max-width: 992px) { .card  { width: 45%; }}
    @media screen and (max-width: 768px) { .card  { width: 70%; padding-bottom: 25px; }}
    @media screen and (max-width: 576px) { .card  { width: 80%; padding-bottom: 25px; }}

/* Card images */
.card.card-theme .signature-image, .card .signature-image {   object-fit: cover;   max-height: 13rem; }
.card-img:hover { opacity: 0.7; }

/* Card body */
.card-body {   padding: 0.8rem 0 0 0;   height: 6.5rem;   margin-bottom: 1rem; }
.card-body a { text-decoration: none; }
/* Card text */
p.card-text {   font-size: 1em;   line-height: 1.5; }
.card-theme p.card-text { display: none; }
.card-date { color: #cd5620; }
/* Card titles */
h5.card-title {   font-size: 1.5em;   font-weight: 700;   line-height: 1.3;   margin-bottom: .5rem; }
h5.card-title a { color: var(--secondary-color); }
h5.card-title a:hover { color:var(--primary-color); }

/* BASIC CARDS sig-image-left with heading & text-right*/
.basic-layout .content-header .basic-category {  display: block; } /*add the categories*/
.basic-layout img { max-height: 10rem;  width: 100%; } 
.card.mb-3.basic-layout { width: 100%; }
.card.mb-3.basic-layout .signature-image {max-height: 10rem; margin-bottom: 5px; }
.card.mb-3.basic-layout.mod-unimod.card.basic-layout .card-body { padding: 0; overflow: hidden; height: 11rem;     border-radius: 0;}
.card-body h3 {     font-size: 1.5em;     line-height: 1.1;     margin-top: 0;  margin-bottom: 0.3em; } 

/* Text layout in basic layout */
article a p, #fd-content-broadcast p {   line-height: 1.7;   font-size: 1.05em; }

/*  INDEX LISTINGS  */
.pagination-form { margin-top: 0; }
.content-header { margin-bottom: 10px; }
.broadcast-module-name { margin-top: 0; }
p.article-text a { color: #000; }
article a { text-decoration: none; }
.read-more:hover { color: #007bff; }
img.bordered { border: 1px solid #ccc9c9; }
.heading-region a, .heading-slogan a { text-decoration: none; }

/* Signature image general */
.signature-image {   margin-top: 3px;   width: 100px; border: none; }

/* Special FD content styles */
#fd-content-broadcast p.unimod-site-name {     line-height: 1;     font-size: 0.9em;    margin-bottom: 6px; }

/* Event Search -  search words*/
#calForm input.form-control, #filter.form-control {    margin-bottom: 0rem; }
#calForm fieldset {  padding-left: 0px;   margin-bottom: 0px; }
.search-words {     border-bottom: 1px solid #babbbb;     padding-bottom: 10px;     margin-bottom: 50px; }
.search-words .btn {     font-weight: 500;     color: #636466; }
/* for bootstrap 5 only */
.search-words .btn:hover, .search-words .btn:focus {  color: #059c3c;  border: 1px solid #059c3c;   }

/* Event tabs and dropdowns */
#event-details .event-dates .dropdown.active a, #event-details .event-dates .dropdown.active .dropdown-menu .active a, #event-details .event-dates .active a  {     background-color: #fff; }
.dropdown-menu.show {     padding: 5px;     width: 170px; }
ul .dropdown-menu.show li {     line-height: 1.25; }

/*RHP Index listings*/
.box {     border: none; font-size: 1.3em; }
.box ol, .box ul {     margin: 7px 10px 0px 0px;     padding-left: 0px;     font-size: 0.9em;}
.latest-unimodule.box ul li::marker { color:#fff; }
.latest-event.box ul li p {  font-size: 1em; }
.latest-unimodule.box ul li, .latest-event.box ul li p { color:#000; font-weight: 500; line-height: 1.3;  border-bottom: 1px solid #d3cdcd; padding-bottom: 6px; margin-top:6px; }
.latest-unimodule.box ul li a, .latest-event.box ul li p a { color:#000; }
.box ol li a:hover, .box ul li a:hover, .latest-event.box ul li p a:hover {  text-decoration: none;  color: #036d8e; }
.events-siteID {  font-weight: 400; line-height: 1.6; }

#right-panel .unimod-author, #right-panel .unimod-date, #right-panel .row.row-cat-location { display: none;}
#right-panel .unimodule-page-name { color: var(--secondary-color); font-size: 1.2em;   margin-bottom: 0;   border-top: 1px #a7a6a6 solid;   padding-top: 10px; }
#right-panel article h3 { font-size: 1.5em; }
#right-panel .unimod-links.content-header {    border: none;     padding: 0px;     margin: 0px; }
#right-panel #modules-holder .broadcast-image {  display: none; }
#right-panel .signature-image {  display: none; }
#right-panel .content-header h4 {   font-size: 1.2em; margin-top: 0em; padding-top: 0.5rem; }
#right-panel .broadcast-module-name {   font-size: 0.6em; display: none; }
#right-panel article a p {     line-height: 1.6;     font-size: 0.9rem; }
#right-panel .unimod-header {     margin-bottom: 0; }
#right-panel .mod-index-divider {     margin-bottom: 0; padding-bottom: 0; }
header.unimod-header {     background-image: none; }

#event-search-calendar td.day.new-day.active.selected {     background-color: #f7b61f; }

.bootstrap-modal-btn:hover { color: #428bca; }
.bootstrap-modal-btn:before { color: #084c71; font-family: "Font Awesome 5 Pro", sans-serif; content: "\f055"; margin-right: 5px; font-size: .9em; }
.broadcast-toggle-modal { margin-top: 0; padding: 5px;}
a.btn.broadcast-ignore { width: inherit;}
#modules-holder ol { margin-left: 5px;}

.details-opener.opened h1:before, .details-opener.opened h2:before, .details-opener.opened h3:before, .details-opener.opened h4:before, .details-opener.opened h5:before, .details-opener.opened h6:before, .details-opener.opened p:before { color: #028553; font-family: "Font Awesome 5 Pro"; content: "\f056"; margin-right: 5px;     font-size: 17px;}
.details-opener h1:before, .details-opener h2:before, .details-opener h3:before, .details-opener h4:before, .details-opener h5:before, .details-opener h6:before, .details-opener p:before { color: #095a8c; font-family: "Font Awesome 5 Pro"; content: "\f055"; margin-right: 5px;     font-size: 17px;}
.details-slide.opened    { border-bottom: 2px #aaaea7 solid;    margin-bottom: 40px; }

.map-responsive{  overflow:hidden;  padding-bottom:56.25%; position:relative; height:0;  }
.map-responsive iframe {  left:0;  top:0; height:100%; width:100%;  position:absolute;  }

.rating_text {     float: right;     text-align: right;     font-size: 0.8em;     text-transform: uppercase;     font-weight: 600; }

/* FORMS */
#input-page_content .mce-tinymce, textarea, textarea.form-control, select, select.form-control, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {     border: 1px solid #C5C6C7; }

/* ALERTS */
.event-expired.alert.alert-danger.alert-dismissable p { margin-bottom: 0em; color: #b38899; }
.event-expired.alert.alert-danger.alert-dismissable .far.fa-exclamation-triangle { display:none; } 
.alert-danger {     --bs-alert-color: #842029;     --bs-alert-bg: #dbced3;     --bs-alert-border-color: #dbced3;     border-radius: 0;     padding: 5px; }
.event-expired.alert.alert-danger.alert-dismissable button.close {     border: none;     background-color: #dbced3; float: right;     border: solid #cf95ac 1px;     border-radius: 40px;     color: #cf95ac; }


#footer, #footer .container {   background-color: #fff; padding-top: 15px; }
#footer {   padding-bottom: 300px;    }
#footer p, #footer a {   color: #333740; }
#footer a:hover {   color: #00c7f9;   text-decoration: none; }
#footer a.active {   color: #00c7f9; }

/* Footer menu */
.footer-menu {   border-top: 1px solid #cecdcd; padding-top: 25px;  }
.footer-menu ul.menu {  text-transform: uppercase; }
.footer-menu ul.menu a {   color: #575757;   padding: 0 12px;   font-weight: 600; font-size: 0.75rem; }
.footer-menu ul.menu a:hover, .footer-menu ul.menu a.active {   color: var(--hover-color); }
#footer ul.menu {   padding-left: 0; }
#footer ul.menu .details-slide .primary-menu-item {   border-bottom: 0 solid #fff;   background-color: #fff;    color: #616060; }

.footer-logos {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.footer-logos__label {
  font-size: 0.7rem;
  margin-bottom: 1rem;
padding-right: 120px;
}

.footer-logos__images {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-logos__images img {
  max-width: 100%;
  height: auto;
}

.footer-copyright {
  text-align: right;
  margin: 0;
  padding-top: 0;


@media print {        header, header *, #comment-form-hide-btn, #right-panel    {         display: none !important;     } }