@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');

#tinymce { background-color: #fff; }
.ui-widget-overlay {     background-color: #fff;     }
body {font-family: 'Ubuntu', sans-serif;   background-color: #fff; }
header .container { background-color: transparent; }
header.top-header  {background-color:#fff; padding-top: 20px;     padding-bottom: 20px;}

.top-header a img { width: 290px;}
   @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; filter: alpha(opacity=70); }

h5#intranet a { color: #1a1616; font-size:0.7em; padding-right: 10px;}
h5#intranet a:hover { color: red;}

/*humburger menu & close icons */
.fa-bars:before { font-size: 2.2rem; }
.btn.btn-menu {     border-radius: 0px;     background-color: #fff;     color: #000;     float: right; border: none; }
.btn.btn-menu:hover, .btn.btn-menu:active, .btn.btn-menu:focus, .btn.btn-menu.focus {     border: none; color:#b80409; box-shadow: none;}
.fa-light.fa-xmark { font-weight: 600;     color: #fff; }
#menu-collapse .btn:hover {     border-color: #fff;}

/*menu*/
#menu-collapse .primary-menu-item { color:#fff;  font-weight: 400;     font-size: 2rem; }
   @media screen and (max-width: 992px) { #menu-collapse .primary-menu-item   {  font-size: 1.2em; }}
#menu-collapse .primary-menu-item:hover, #menu-collapse .active.primary-menu-item { color:#fad117;  }

#menu-collapse, #menu-collapse.collapse { background: #1a1616;   opacity: 0;   z-index: 100;     right: 0px;      padding: 20px 120px;      position: fixed;      top: 0px;   width: 700px;      display: block;  transform: translateX(180%); margin-top: 75px; transition: all 0.2s ease-in-out 0s; }
     #menu-collapse .primary-menu-item::marker {color: #1a1616;} 
     #menu-collapse .primary-menu-item::marker:active {color: #fff;} 
#menu-collapse.collapse.show  { background: #1a1616;   opacity: 1;    transform: translateX(0); transition-timing-function: linear;     transition-duration: .175s;     transition-property: right,opacity;     transition-delay: .25s;}
     @media screen and (max-width: 576px) { #menu-collapse, #menu-collapse.collapse  {  width: 80%;  padding: 20px 40px; }}



#main-content, #main-content .container {  background-color: #fff;    background-image: none;}
#middle-panel { margin-bottom: 30px;    margin-top: 60px; }
   @media screen and (max-width: 600px) { #middle-panel  {  margin-bottom: 10px; padding-left: 15px }}
#right-panel  {  margin-bottom: 30px; }
   @media screen and (max-width: 600px) { #right-panel  {  margin-top: 10px; }}
#content-top { padding-top: 40px; padding-right: 25px;    padding-left: 25px; width:100%; }
#content-extra img { width:100%; }
   @media screen and (max-width: 600px) {  #content-top, #content-bottom {  padding-left: 15px; padding-right: 15px; }}

.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 { color: #000; font-size: 1.2em; line-height: 1.8; margin-bottom: 1.5rem;}
ul li, ol li , li p { color: #000; font-size: 1.2em; line-height: 1.6; margin-bottom: 0.7em; }
 li p { font-size: 1em;}
.intro { font-size: 1.5rem; font-weight: 400; line-height: 1.7; margin-top: 1em; margin-bottom: 1em; }
.box ol, .box ul { margin: 6px 10px 0 10px;     padding-left: 20px; }


h1 {     font-size: 3.2em;     color: #6d6e71;     font-weight: 500;     margin-bottom: 0.5em;     line-height: 1.2; }
h1 a, h1 a:visited { color: #6d6e71; }
h2 { font-size:1.5em; color:#000; font-weight:500; margin-top:1.3em; margin-bottom:0.3em;  line-height: 1.3;} 
h2 a, h2 a:visited { color:#000; }
h3 { font-size:1.6em; color:#821C07; font-weight:500;  margin-top: 1.3em; margin-bottom:0.5em; line-height: 1.4;}
h3 a, h3 a:visited { color:#821C07; }
h4 { font-size:1.4em; color:#6d6e71; font-weight:700; margin-top: 1em; margin-bottom:1em; line-height: 1.35;}
h4 a, h4 a:visited { color:#6d6e71; }
h5 { font-size:1.3em; color:#000; font-weight:500; margin-bottom:0.4em; line-height: 1.4;}
h5 a, h5 a:visited { color:#000; }
h6 { font-size:1.2em; color:#821C07; font-weight:700; margin-bottom:0.4em; margin-top: 1em; line-height: 1.4;}
h6 a, h6 a:visited { color:#821C07; }
a:hover, h1 a:hover, h2 a:hover,  h3 a:hover,  h4 a:hover,  h5 a:hover,  h6 a:hover, strong a:hover { text-decoration:none; color:#5d9c78; }

a { color: #428bca; text-decoration:none; }
article a { text-decoration:none; }
article a p, #fd-content-broadcast p { line-height: 1.85; font-size: 1.05em;}
.content-header {     margin-bottom: 10px; }
.signature-image {     margin-top: 3px; }
.read-more:hover { color:#007bff;}
img.bordered {    border: 1px solid #ccc9c9; }

legend { font-size:1.2em; color: #694931; background-color:transparent;}
dt label { color: #4b5d61; }
.small { font-size: 1em; line-height: 1.4;}
.highlight { color:#F00; }
strong {color: inherit;}
a strong, a strong:visited { color: #428bca; }
a strong:hover { color: #0a8de9; }

/* CLASSES */
.button {   border: 2px solid #474e4f; padding: 10px 30px; background-color: #ffffffb0; width: 100%; display:block; text-align: center; border-radius:60px;    line-height: 2em;}
.button a, .button a:visited   { text-decoration:none;}
.button:hover a {  color: #fff; } 
.button:hover  { background-color:#474e4f; border: 2px solid #474e4f; color:#fff;  }

.background { padding: 1rem .5rem 0.2rem; background-color: #ececec;  text-align: center; display:block;     margin-bottom: 0em; margin-top: 0em; margin-left: 0px; margin-right: 0px;}
.background a, .background a:visited   { text-decoration:none;} 
.background a:hover  { color:#F05D2B; }

.rule { border-bottom: 2px solid #aaaea7; padding-bottom: 10px; margin-bottom: 30px;}
.rule a, .rule a:visited   { text-decoration:none; }
.rule a:hover { color:#F05D2B; text-decoration:none; }
.background.rule  { margin-bottom: 0px; }
.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; }
.whitetext, .whitetext a:visited, .whitetext a { color:#fff; }
.whitetext a:hover { color:#fff; }

/* Site BUTTONS*/
#h2-error .btn.green { border: solid; border-radius: 60px; background-color: #779000;}

.btn.green {  color: #779000;  border: 2px solid #779000;  background-color: #fff; }
.btn.green:hover {background-color: #779000; border: 2px solid #779000; }
.btn.green:active {background-color: #779000; border: 2px solid #779000;  }

.btn.blue {  color: #0381cc;  border: 2px solid #0381cc; background-color: #fff;     border-radius: 20px; }

/* ===== Infrastructure Nav ===== */

.infrastructure-nav {         background-color: transparent;     padding: 2rem 0; }

/* Make every item an equal tile */
.infrastructure-nav .col {     display: flex; }

/* Link styling */
.infrastructure-link {     display: flex;     align-items: center;     justify-content: center;     text-align: center;
    width: 100%;     min-height: 52px;     padding: .85rem; line-height: 1;     color: inherit;
border: 1px solid currentColor;
background-color: color-mix(in srgb, currentColor 12%, transparent);
    font-weight: 600;     text-transform: uppercase;     letter-spacing: .04em;     text-decoration: none;  transition: all .2s ease-in-out; } 

/* Accessible focus visibility */
.infrastructure-link:focus-visible {     outline: 3px solid #9efde1;     outline-offset: 2px; }

/* Individual tile colours */
.infrastructure-nav li:nth-child(1) .infrastructure-link {     color: #013b69;     border-color: rgba(1,59,105,.20);     background-color: rgba(1,59,105,.20); }
.infrastructure-nav li:nth-child(1) .infrastructure-link:hover, .infrastructure-nav li:nth-child(1) .infrastructure-link:focus { color: #fff;      background-color: #013b69; }

/* 2 */
.infrastructure-nav li:nth-child(2) .infrastructure-link {     color: #0096c7;     border-color: rgba(0,150,199,.30);     background-color: rgba(0,150,199,.20); }
.infrastructure-nav li:nth-child(2) .infrastructure-link:hover, .infrastructure-nav li:nth-child(2) .infrastructure-link:focus {  color: #fff;     background-color: #0096c7; }

/* 3 */
.infrastructure-nav li:nth-child(3) .infrastructure-link {     color: #4f6d87;     border-color: rgb(110 129 133 / 30%);     background-color: rgb(110 129 133 / 20%); }
.infrastructure-nav li:nth-child(3) .infrastructure-link:hover, .infrastructure-nav li:nth-child(3) .infrastructure-link:focus { color: #fff;      background-color: #4f6d87; }

/* 4 */
.infrastructure-nav li:nth-child(4) .infrastructure-link {     color: #316093;     border-color: rgba(49,96,147,.20);     background-color: rgba(49,96,147,.20); }
.infrastructure-nav li:nth-child(4) .infrastructure-link:hover, .infrastructure-nav li:nth-child(4) .infrastructure-link:focus {color: #fff;       background-color: #316093; }

/* 5 */
.infrastructure-nav li:nth-child(5) .infrastructure-link {     color: #258072;     border-color: rgba(37,128,114,.20);     background-color: rgba(37,128,114,.20); }
.infrastructure-nav li:nth-child(5) .infrastructure-link:hover, .infrastructure-nav li:nth-child(5) .infrastructure-link:focus {color: #fff;       background-color: #258072; }

/* 6 */
.infrastructure-nav li:nth-child(6) .infrastructure-link {     color: #047d96;     border-color: rgba(4,125,150,.20);     background-color: rgba(4,125,150,.20); }
.infrastructure-nav li:nth-child(6) .infrastructure-link:hover, .infrastructure-nav li:nth-child(6) .infrastructure-link:focus {color: #fff;       background-color: #047d96; }

/* 7 */
.infrastructure-nav li:nth-child(7) .infrastructure-link {     color: #616287;     border-color: rgba(97,98,135,.30);    background-color: rgba(97,98,135,.20); }
.infrastructure-nav li:nth-child(7) .infrastructure-link:hover, .infrastructure-nav li:nth-child(7) .infrastructure-link:focus {color: #fff;       background-color: #616287; }

/* 8 */
.infrastructure-nav li:nth-child(8) .infrastructure-link {     color: #4b7a4e;     border-color: rgba(75,122,78,.20);     background-color: rgba(75,122,78,.20); }
.infrastructure-nav li:nth-child(8) .infrastructure-link:hover, .infrastructure-nav li:nth-child(8) .infrastructure-link:focus {color: #fff;       background-color: #4b7a4e; }

/* 9 */
.infrastructure-nav li:nth-child(9) .infrastructure-link {     color: #5d4768;     border-color: rgba(95,60,107,.30);     background-color: rgba(95,60,107,.20); }
.infrastructure-nav li:nth-child(9) .infrastructure-link:hover, .infrastructure-nav li:nth-child(9) .infrastructure-link:focus {color: #fff;       background-color: #5d4768; }

/* 10 */
.infrastructure-nav li:nth-child(10) .infrastructure-link {     color: #1683ca;     border-color: rgba(22,131,202,.20);     background-color: rgba(22,131,202,.20); }    
.infrastructure-nav li:nth-child(10) .infrastructure-link:hover, .infrastructure-nav li:nth-child(10) .infrastructure-link:focus {color: #fff;       background-color: #1683ca; }

/* Hover + keyboard focus */
.infrastructure-link:hover, .infrastructure-link:focus {     color: #fff;   text-decoration: none; }

/* Capability NAV */
.capability-nav {     padding: 2rem 0;  }
.capability-link { color: #055a79;     display: flex;        justify-content: center;
  line-height: 1;     min-height: 0;     font-weight: 500;     text-decoration: none;
     transition: all .2s ease; }
/* Hover / focus (keyboard accessible) */
.capability-link:hover, .capability-link:focus {     color: #008ec3;     text-decoration: underline; }
/* Optional: subtle grid rhythm */
.capability-nav .col {     display: flex; }

/* CARDS*/
.card { border: none; margin: 0 3% 3% 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.card-theme .signature-image, .card .signature-image { object-fit: cover; max-height: 11rem;}
    @media screen and (max-width: 992px) { .card.card-theme .signature-image, .card .signature-image { max-height: 12rem; }}    

h5.card-title { color: #000; font-size: 1.7em;   font-weight: 700;  line-height: 1.1; margin-bottom: .5rem; }
h5.card-title a:hover { color: #b80409;}

.card-body  { padding: 10px 0px; height: 144px;     overflow: hidden; }
.card-body a { text-decoration: none;   }
p.card-text { font-size: 1em;     line-height: 1.5; display: none;}
.card-date { color: #6d6e71; }

/* 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; }
.search-words .btn:hover, .search-words .btn:focus {     color: #059c3c; }
/* for bootstrap 5 only */
.search-words .btn:hover, .search-words .btn:focus {  border: 1px solid #059c3c;   }

/*Index listings*/
.signature-image {     margin-top: 3px; }
.broadcast-module-name { margin-top: 0px; }
p.article-text a { color: #000; }

/*RHP Index listings*/
#right-panel .unimod-author, #right-panel .unimod-date, #right-panel .row.row-cat-location {display: none;}
#right-panel .unimodule-page-name { font-size: 1.2em; }
#right-panel article h3 { font-size: 1.5em; }
#right-panel #modules-holder .broadcast-image {   margin-left: 0px; }
#right-panel .signature-image {    width: 50px;  }
#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;  }
#right-panel article a p {     line-height: 1.6;     font-size: 0.9rem; }
#right-panel .unimod-header {     margin-bottom: 0px; }

/* Extra Content banners */
.banner {   position: relative;   background-color: #353131;   overflow: hidden; }
.bannerimage {   background-color: #201710; }
.bannerimage img {   object-fit: cover;   width: 100%;   height: 700px;   opacity: 0.7;   transition: opacity 0.4s ease; }
.bannerimage img:hover {   opacity: 0.8; }

/* Banner Content  */
.banner-content {   position: absolute;   top: 0;   left: 0;   width: 100%;   text-align: center;   display: flex;   flex-direction: column;   justify-content: center;   height: 100%;   padding: 20px; }
.bannertext {   font-size: 4.5em;   color: #fff;   font-weight: 400;   line-height: 1.2;
  max-width: 1200px;   margin: 0 auto 0.5em;   padding: 0 40px;   text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); }

/*  Button Styling  */
.hmpgbutton {margin: 20px auto;   text-align: center; padding: 8px 20px; line-height: 2em; display: inline-block;   font-weight:600; border-radius: .3rem;}
.hmpgbutton:hover  { color: #000;}
.hmpgbutton a {   color: #000;   background-color: rgba(248, 249, 250, 0.85);
  padding: 12px 30px;   border-radius: 30px;   font-weight: 600;   text-decoration: none;   transition: background-color 0.3s ease, color 0.3s ease; }
.hmpgbutton a:hover { background-color: #e7ce04; }

/* Responsive Adjustments  */
@media screen and (max-width: 1200px) {   .bannertext {     font-size: 2.5rem;   } }
@media screen and (max-width: 992px) {   .bannerimage img {     height: 400px;   }
 .bannertext {     font-size: 2rem;     padding: 0 20px;   } }

@media screen and (max-width: 576px) {   .bannerimage img {     height: 350px;   }
 .bannertext {     font-size: 1.6rem;     padding: 0 15px;   }
 .hmpgbutton a {     padding: 10px 24px;     font-size: 0.95rem;   } }



.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: 0px; }
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 #0492a4 solid;    margin-bottom: 40px; }
.small-hidden-menu .details-slide.opened    { border-bottom: 0px #fff solid; }

.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; }

#footer, #footer .container { background-color: #1a1616;  }
#footer  {padding-bottom: 300px; }
#footer p, #footer a { color: #fff; font-weight: 500; text-transform: inherit;}
 #footer a:hover { color:#fad117; text-decoration:none;}
  #footer a.active { color:#fad117; }
#footer ul.menu { padding-left: 0px; }
@media print {        header, header *, #comment-form-hide-btn, #right-panel    {         display: none !important;     } }