#tinymce { background-color: #fff; }
.ui-widget-overlay {     background-color: #fff;     }
body { font-family: 'Ubuntu', sans-serif;    background-color: white;}

.top-header, .container { background-color:#56636c; }

#headerbackground { background-image: url('/uploads/sites/researchforlife//theme/images/WMRF_bannerpic.png'); background-color: transparent; background-repeat: no-repeat; background-position: right; background-size: contain; } 
   @media screen and (max-width: 600px) {  #headerbackground  { background-image: url('/uploads/sites/researchforlife//theme/images/WMRF_bannerpic_sm.png'); }}

#button-container {  position:absolute; z-index:999; margin: 0 auto; left: 0; right: 0;     }
 #button-container p img { margin-top:110px;}
   @media screen and (max-width: 600px) {  #button-container p img { margin-top:30px; padding-left:30px; padding-right:60px; }}
#buttons { width: 370px ; margin-left: auto ; margin-right: auto ;}
.buttonsrhp { margin-bottom: 25px; }

.nopadding { padding-left: 0px; padding-right: 0px; }

.navbar { padding: 0rem; } 
nav .container { padding-left: 0px; }
.primary-menu .menu, .primary-menu .menu a, .primary-menu .menu a:hover, .primary-menu .menu a.active { margin: 0px auto; background-image: none;}
.primary-menu, .menu li li a, .small-hidden-menu ul li  
{ background-image: none;  margin-left: 0px; margin-right: 0px; background-color: #323f48; line-height: 45px;  text-transform: uppercase; font-weight: 500;     font-size: 1em;}
    .primary-menu a, .primary-menu a:visited { color:#fff; padding-top:10px;  }
    .menu a:hover { color:#fcce08; text-decoration:none; }
    .menu a.active { color:#fcce08; border-top:4px solid #fcce08;}
.menu { display:block; margin:0px auto 0px auto; }

/*mobile menu */
.small-hidden-menu .details-opener { line-height: 5px; background-color: #323f48;}
.small-hidden-menu .xs-opener { border: none; margin-right: 10px;}

.small-hidden-menu .details-slide.menu { right: 10px; left: unset; width: 60%; bottom: unset; margin-top: 160px; display: grid;     background-color: #323f48; }

#slide_show_responsive_full_top {   margin-bottom: -10px; background-color: #fff;}


#main-content {  background-color: #fff; }
#middle-panel { margin-bottom: 30px;    margin-top: 30px;     padding: 0px; }
   @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; }}


/* search form */
#search fieldset { background-color:#eeeee9; border: none;  margin-top:15px; margin-bottom: 0px; padding: 5px 5px 5px 15px;}
#search input { margin-top:5px; width: 80%;}
#search input.form-control { border: none; background-color: #eeeee9; border-radius: 0px; box-shadow: none;  padding-right: 0px; padding-left: 0px;}
#search input.submit {background-color: transparent; width: 30px;}
#search fieldset .form-group { margin-bottom: 0px; }
#search-btn { padding: 7px 7px 0px 0px;}
#search-btn:hover { color: #776310;}
#search-text { color:#9d9674;  text-transform: uppercase; font-size: 0.8em;}

p, ul li, ol li {   color: #5b5a5a; font-size: 1.2rem; }
p { line-height: 2.1; margin-bottom: 1.5rem; }
ul li, ol li  { color: inherit; line-height: 1.8; margin-bottom: 0.7em; }

.intro { font-size: 1.5em; margin-top: 1em; margin-bottom: 1em; font-weight:500; }
#modules-holder ol { margin-left: 5px;}

h4, h3, h2, h1, legend  { font-family: 'Bree Serif', serif; }

h1 { font-size:2.8em; color:#56636c; font-weight:normal; margin-bottom:0.5em; line-height: 1.4;}
h1 a, h1 a:visited { color:#56636c; }
h2 { font-size:2.5em; color:#a58704; font-weight:normal;     margin-top: 0.9em; margin-bottom:0.4em; margin-top:0.8em; line-height: 1.2;}
h2 a, h2 a:visited { color:#a58704; }
h3 { font-size:2.0em; color:#56636c; font-weight:normal;     margin-top: 0.9em; margin-bottom:0.4em; line-height: 1.4;}
h3 a, h3 a:visited { color:#56636c; }
h4 { font-size:1.7em; color:#a58704; font-weight:normal; margin-bottom:0.4em; line-height: 1.35;}
h4 a, h4 a:visited { color:#a58704; }
h5 { font-size:1.4em; color:#323f48; font-weight:700; margin-bottom:0.4em; line-height: 1.4;}
h5 a, h5 a:visited { color:#323f48; }
h6 { font-size:1.4em; color:#a58704; font-weight:700; margin-bottom:0.4em; margin-top: 0.8em; line-height: 1.4;}
h6 a, h6 a:visited { color:#a58704; }

a { color: #4383c7; text-decoration:none; }
a:hover, h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover  { color: #0381cc; text-decoration: none; }
img.bordered {    border: 1px solid #ccc9c9; }

strong {color: inherit;}
a strong, a strong:visited { color: #428bca; }
a strong:hover { color: #0a8de9; }

legend { font-size:1.2rem; color: #a58704; background-color:transparent;}
dt label { color: #323f48; }
.small { font-size: 1em; line-height: 1.4;}
.highlight { color:#F00; }

/* CUSTOM CLASSES */
.button {   border: 2px solid #e3e3e3; padding: 10px 10px; background-color: #ececec; width: 100%; display:block; text-align: center;}
.button a, .button a:visited   { text-decoration:none;}
.button:hover  { background-color:#dcdcd3; border: 2px solid #d0d0c2;}
.button a:hover  { color:#0392eb; }

.button-small a, a .button-small  {  color: #fff;   font-size: 0.9em;  padding: 10px 20px;   border-radius: 5px;     background-color: #636466;      display: inline; text-decoration: none; }
.button-small a:visited, a .button-small:visited {  text-decoration: none;}
.button-small a:hover, a .button-small:hover {  background-color: #f37121; text-decoration: none;}

.background {background-color: #ececec;  padding: 1rem .5rem 0.2rem;   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:#0392eb; }

.rule { border-bottom: 2px solid #aaaea7; padding-bottom: 10px; margin-bottom: 25px; margin-top:10px}
.rule a, .rule a:visited   { text-decoration:none; }
.rule a:hover { color:#0392eb; 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:600;   margin: 0.5em 0 1.5em 0;  padding-left: 30px; border-left: 6px 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 {background-color: #028553; border: 2px solid #028553; }
.btn.green:active {background-color: #028553; border: 2px solid #028553;  }

.btn.blue {  color: #0381cc;  border: 2px solid #0381cc; background-color: #fff;     border-radius: 20px; }

/* 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; }}   
.card.card-theme .card-body, .card-body   { padding: 0.3rem 0 0 0;  margin-bottom: 10px;   height: 105px; }
.card.card-theme time { text-align: right; padding-top: 5px;    color: grey; font-size: 0.8rem;     font-weight: 800;}
h5.card-title { font-size: 1.7em; font-weight: 700; line-height: 1.2; margin-bottom: 0.5rem; }
h5.card-title a {color: #4D4A4A;  }
h5.card-title a:hover { color:#386EA8; }
.card-body a { text-decoration: none; }
.card-theme p.card-text { display:none; font-size: 1.2em;     line-height: 1.5; }

.card .cta { color: #4383c7; }
.card .cta:hover { color:#045ee8; text-decoration: underline; }

/* 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-body { overflow: hidden;   height: 10rem; } 
.card.basic-layout .card-body {     padding: 0; }
.card-body h3 { font-size: 1.8em; } 

/*Index listings*/
article a { text-decoration:none; }
article a p, #fd-content-broadcast p { line-height: 1.85;  color: #000;}
.content-header {     margin-bottom: 10px; }
.read-more:hover { color:#007bff; }
.signature-image {     margin-top: 3px; width:100px; }
.broadcast-module-name { margin-top: 0px; }
p.article-text a { color: #000; }

/* Forms */
p.select-group-header { margin: 0.375rem 0px 8px;     color: #436c71;     font-weight: 700; }
form label.checkbox { margin-bottom: .5em;     margin-right: 3em; } 
#middle-panel fieldset { padding-left: 0px;}
.col-form-label {     font-size: 1.1rem;}


/* 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;   }

/* 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; }

/*  pagination   */
.page-link { border: none; color: #1d5498;}
.page-item:hover .page-link {    border-bottom: solid black 3px;  }
.page-item.active .page-link {     color: #fff;     background-color: #1f96aa;    border-bottom: solid black 3px;  }
.pagination-sm .page-item:first-child .page-link {     border-top-left-radius: 0rem;     border-bottom-left-radius: 0rem; }
.pagination-container .chngr-jump {     width: 50px; border: #e5e5e5 1px solid;}


/*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 { font-size: 1.2em;     margin-bottom: 0em;}
#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 {   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; }

#right-panel h1, #right-panel h2, #right-panel h3, #right-panel h4, #right-panel h5, #right-panel h6, #right-panel p, #right-panel li { margin-left: 0px; }

.bootstrap-modal-btn:hover { color: #428bca; }
.bootstrap-modal-btn:before { color: #084c71; font-family: "Font Awesome 6 Pro", sans-serif; content: "\f055"; margin-right: 5px; font-size: .9em; }

a.btn.broadcast-ignore-site, a.btn.broadcast-ignore {     text-decoration: none; width: inherit;}

a.btn.broadcast-ignore { width: inherit;}
#modules-holder ol { margin-left: 5px;}

.at-share-btn-elements { margin-top: 10px;}

/*Open Close containers*/ 
.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;  }
.googlemaps {  overflow:hidden;     padding-bottom:56.25%;     position:relative;     height:0; }
.googlemaps 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; }

/* 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 { background-color: #323f48; padding-bottom: 300px;}
#footer .container { background-color: #323f48; padding-top: 5px;}
#footer p, #footer a { color: #fff; }
 #footer a:hover { color:#fcce08; text-decoration:none;}
  #footer a.active { color:#fcce08; }
#footer ul.menu { padding-left: 0px; font-weight: 500;     font-size: 0.8rem; }

@media print {        header, header *, #comment-form-hide-btn, #right-panel, nav,   .primary-nav,   .secondary-menu     { display: none !important;  } }

.mod-related .no-image { display:none; }