:root {
  --primary: #83b8ae;
  --secondary: #5ea598;
  --black: #3f3f41;
  --white: #fff;
}

/* ===== Navbar ===== */

.tm-toolbar-default { color: rgba(255, 255, 255, 1.0); padding: 15px; }
.uk-navbar-container:not(.uk-navbar-transparent) { border-bottom: 1px solid #ddd; }
.top-bar-link:hover { opacity: 0.8; }
.top-bar-link { display: none; }
.uk-navbar-dropdown-nav>li>a:focus, .uk-navbar-dropdown-nav>li>a:hover { background-color: #fafafa; }
.uk-navbar-dropdown { padding: 5px; }
.uk-navbar-dropdown-nav>li>a { padding: 10px; }
.menu-highlight {
  background-color: #edeff0;
  border-radius: 3px;
  white-space: nowrap;
}
.uk-navbar-nav > li.menu-highlight > a::before  { display: none; }
.menu-highlight:hover, .uk-navbar-nav>li.uk-active>a.menu-highlight { background-color: #f4f5f5; }

/* ===== Typography ===== */

em, i { color: inherit; }
.uk-section-primary:not(.uk-preserve-color) { color: rgba(255, 255, 255, 1.0); }
.event-date { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; opacity: 0.9; }

/* ===== Links and buttons ===== */

a, a img, input, button { transition: .2s ease-in-out; }
a img:hover { opacity: 0.8; }

.uk-tile-primary:not(.uk-preserve-color) a:hover  { color: rgba(255,255,255, 0.8);}

.uk-tile-primary:not(.uk-preserve-color) .uk-button-text { color: rgba(255,255,255, 1.0); }

a.uk-link-reset, .uk-link-reset a { color: var(--primary) !important; }
a.uk-link-reset:hover, .uk-link-reset a:hover { color: var(--secondary) !important; }

.primary-90 .uk-overlay-primary { background: rgba(64,64,64,0.9); }

/* ===== Blockquotes ===== */

blockquote.top-quote { color: var(--primary) !important; }
blockquote.top-quote cite { font-style: normal !important; }

/* ===== Lists ===== */

#tm-main ul, #tm-main ol {
  padding: 10px 20px 10px 40px;
  line-height: 2;
}

/* ===== Downloads ===== */

h1.mt-0 { display: none; }

/* ===== Events ===== */

.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
  padding-bottom: 0;
  padding-top: 0;
}
time.tribe-events-calendar-list__month-separator-text.tribe-common-h7.tribe-common-h6--min-medium.tribe-common-h--alt {
  font-weight: 700;
  color: var(--primary);
}
.tribe-events .tribe-events-calendar-list__month-separator:after { background-color: var(--primary); }

.alert-message {
  background: rgba(131,184,174,0.2);
  font-size: 0.9rem;
  line-height: 1.5 !important;
  padding: 1.5rem !important;
  margin-bottom: 2rem !important;
}

.tribe-events .tribe-events-c-ical__link { display: none !important; }

h1.tribe-events-page-title {
  clear: none;
  font-size: 50px;
  color: var(--black);
  font-family: Poppins;
  font-weight: 700;
  position: relative;
  text-align: center;
  z-index: 0;
}

.tribe-common .tribe-common-c-btn-border, .tribe-common a.tribe-common-c-btn-border {
  border-color: var(--primary);
  color: var(--primary);
}
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button.tribe-events-c-subscribe-dropdown__button--active, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus-within, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover,
.tribe_community_edit .tribe-button.submit, .tribe_community_list .tribe-button.submit,
.tribe_community_edit .tribe-button.submit:hover, .tribe_community_list .tribe-button.submit:hover{
  background: var(--primary);
  border: none;
  color: var(--white);
}
.tribe_community_edit .tribe-button.submit, .tribe_community_list .tribe-button.submit, .tribe_community_edit .tribe-button.submit:hover, .tribe_community_list .tribe-button.submit:hover {
  font-size: 1rem;
  font-weight: 700;
}
.tribe_community_edit .tribe-button.submit:hover, .tribe_community_list .tribe-button.submit:hover { opacity: 0.8; }

/* Had to disable this for 10/27 events because they were so numerous.
.tribe-events-nav-pagination { display: none !important; }
*/

/* But there shouldn't be previous/next navigation in the header as well as at the footer. */
#tribe-events-header { display:none; }
.tribe-events-event-image { margin-top:10px; }
body.archive
.tribe-events-calendar-list__event-featured-image,
.tribe-events .tribe-events-calendar-list__event-featured-image, .tribe-events .tribe-events-calendar-list__event-featured-image-link {
  max-width: 150px !important;
  height: auto;
  margin-top: 50px;
}
.tribe-events .tribe-events-c-search__button { background: var(--primary) !important; }
.tribe-events .tribe-events-c-search__button:hover { opacity: 0.8; }
ul.tribe-list-widget, ol.tribe-list-widget { padding: 0; }
.tribe-list-widget li {
  list-style: none;
  margin-bottom: 30px;
}
.tribe-list-widget li .uk-h4, .tribe-list-widget li h4 {
  font-size: 16px;
  margin-bottom: 5px;
  font-weight: 600;
  line-height: 1.3
}
.tribe-event-duration {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.9;
}
.single-tribe_events .tribe-events-event-meta { background-color: #fafafa !important; }
.tribe-events-list-separator-month {
  text-transform: none;
  font-size: 30px;
}
.tribe-events-list-separator-month { padding: 10px 20px; }
#tribe-events .tribe-events-button, #tribe-events .tribe-events-button:hover, #tribe_events_filters_wrapper input[type="submit"], .tribe-events-button, .tribe-events-button.tribe-active:hover, .tribe-events-button.tribe-inactive, .tribe-events-button:hover, .tribe-events-calendar td.tribe-events-present div[id*="tribe-events-daynum-"], .tribe-events-calendar td.tribe-events-present div[id*="tribe-events-daynum-"] > a {
  background-color: var(--primary);
}
#tribe-events .tribe-events-button, .tribe-events-button {
  *display: inline;
  background-color: var(--primary);
  background-image: none;
  border: 0;
  box-shadow: none;
  zoom: 1;
  margin: 0 10px 0 0;
  border: none;
  overflow: visible;
  font: inherit;
  font-size: inherit;
  line-height: inherit;
  color: var(--white);
  text-transform: none;
  -webkit-appearance: none;
  border-radius: 0;
  display: inline-block;
  box-sizing: border-box;
  padding: 0 26px;
  vertical-align: middle;
  font-size: 16px;
  line-height: 42px;
  text-align: center;
  text-decoration: none;
  transition: .1s ease-in-out;
  transition-property: all;
  transition-property: color,background-color,background-position,border-color,box-shadow;
  font-weight: 400;
  background-origin: border-box;
}
#tribe-events .tribe-events-button:hover, .tribe-events-button:hover {
  background-color: var(--black);
  color: var(--white);
  border-color: transparent;
}
.single-tribe_events .tribe-events-cal-links { margin-top: 50px; }
.recurringinfo { padding-left: 3px; }
.tribe-mini-calendar-event .list-info h2 {
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
}
.tribe-mini-calendar-event .list-info { font-size: 15px !important; }
.tribe-mini-calendar-event { border-bottom: 1px solid var(--white) !important; }

/* Adds styling to 10.27 Commemorative event titles in lists */
.tribe-events-list > div > div.tribe-events-category-commemorative-event:before {
  background-color:#bebebe;
  color: var(--white);
  content:"PARTNER COMMEMORATIVE EVENT" !important;
  margin-bottom:5px;
  padding:5px;
}
.tribe-events-list > div > div.tribe-events-category-commemorative-service:before, .tribe-events-list > div > div.tribe-events-category-commemorative-study:before, .tribe-events-list > div > div.tribe-events-category-official-commemorative-gathering:before {
  background-color:var(--primary);
  color: var(--white);
  content:"OFFICIAL 10/27 COMMEMORATIVE EVENT" !important;
  margin-bottom:5px;
  padding:5px;
}

/* Creates pseudo-columns that revert to full width at device screen width 800px */
.full-width-mobile-left, .full-width-mobile-right {
  display:inline-block;
  float:left;
  width:48%;
}

.full-width-mobile-right { float:right; }

/* Hides Other meta group title */
.tribe-events-meta-group-other > h2 { display:none; }

/* Makes addtional field label an h2 */
.tribe-events-meta-group-other > dl > dt {
    font-size: 1.4em;
    font-weight: 700;
    margin: 20px 0 10px;
}

/* TURNS REGISTER LINK INTO A BUTTON */
div.tribe-events-meta-group.tribe-events-meta-group-other > dl > dd > a:before {
  background-color: var(--primary);
  border-radius: 0;
  color: var(--white);
  content:"Register";
  display:block;
  font-size:1.5rem;
  font-weight:400;
  margin:10px 0;
  max-width: 300px;
  padding:1rem;
  text-align:center;
  text-decoration: none;
  transition: .1s ease-in-out;
  transition-property: all;
  width:70%;
}

/* Hides registration link text */
div.tribe-events-meta-group.tribe-events-meta-group-other > dl > dd > a {
  color:transparent;
  font-size:1px;
  display: block;
}

div.tribe-events-meta-group.tribe-events-meta-group-other > dl > dd > a:hover::before { background-color: var(--black); }

a.register-button {
  background-color: var(--primary);
  border-radius: 0;
  color: var(--white);
  display:inline-block;
  font-size:1.5rem;
  font-weight:400;
  margin:10px 0;
  max-width:300px;
  padding:1rem;
  text-align:center;
 	text-decoration: none;
  transition: .1s ease-in-out;
  transition-property: all;
  width:100%;
}
a.register-button:hover { background-color: var(--black); }

/* ===== Event list pages ===== */

/* Removes breadcrumb from commemorative event list pages */
#tribe-events[data-category="commemorative-study"] > div.tribe-events-title-bar > h1, #tribe-events[data-category="commemorative-service"] > div.tribe-events-title-bar > h1, #tribe-events[data-category="commemorative-event"] > div.tribe-events-title-bar > h1, #tribe-events[data-category="official-commemorative-gathering"] > div.tribe-events-title-bar > h1, #tribe-events > div.tribe-events-title-bar {	display:none; }

/* ===== Event submission form ===== */

/* Adds explanatory text */
.postid-6740 > div > div #tribe-events:before {
  content:"GUIDELINES FOR SUBMISSION\A We reserve the right to decline to post any event that is not aligned with the commemorative theme.\A Select the category \"Commemorative Event\" to have your event listed on the Healing Activities webpage.\A\A";
;
  font-size:1.2rem;
  white-space:pre;
}

/* ===== Events tags ===== */

.events-by-tag { margin: 0 0 2rem; }
.events-by-tag-row { margin: 0 0 1rem; }
.events-by-tag-row h3 { margin: 0; }
.events-by-tag-row i { margin-right: 5px; }
.events-tag-date-time { margin-left: 30px; }
.events-tag-date-time i {
  opacity: 0.5;
  margin: 0 5px;
}
.events-by-tag-date { }
.events-by-tag-month { }
.events-by-tag-day { }
.events-by-tag-time { }
.events-by-tag-start { }
.events-by-tag-end { }

/* ===== iFrames ===== */

.iframe-embed-container, .embed-container, .podcast-embed-container, .video {
  position: relative;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}
.iframe-embed-container, .embed-container { padding-bottom: 56.25%; }
.podcast-embed-container { padding-bottom: 25%; }
.iframe-embed-container iframe, .embed-container object, .embed-container embed, .embed-container iframe, .embed-container object, .embed-container embed, .podcast-embed-container iframe, .video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===== Recent posts ===== */

ul.rpwe-ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.rpwe-ul li {
    margin: 0 0 30px 0;
    padding: 0 0 30px 0;
    border-bottom: 2px solid var(--black);
}
ul.rpwe-ul li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border: none;
}
h3.rpwe-title { margin: 0; }
.rpwe-time.published, .rpwe-time {
  font-size: 15px;
  line-height: 1.4;
  color: #a6b0af;
  font-weight: 400;
  text-transform: none;
}

.rpwe-summary{
  font-size: 16px;
  line-height: 1.5;
}
.more-link {
  display: block;
  max-width: 200px;
  margin-top: 20px;
  padding: 5px 5px 5px 0;
}
.blog-image-center { display: block; }

/* ===== Accordion ===== */

@keyframes fadeOut {
  to {
    width:0;
    height:0;
    overflow:hidden;
  }
}
@-webkit-keyframes fadeOut {
  to {
    width:0;
    height:0;
    visibility:hidden;
  }
}
.uk-accordion {
  border: 4px solid rgba(255,255,255,0.7);
  border-radius: 6px;
}
.uk-accordion-title:hover { background: var(--white); }
.uk-accordion-content { padding: 0 2rem 2rem 2rem; }
.accordion-forms .uk-accordion-content {
  position: relative;
  min-height: 200px;
  z-index: 2;
}
.accordion-forms .uk-accordion-content:after {
  content: url(/wp-content/themes/1027/img/loading.svg);
  display: block;
  height: 40px;
  width: 40px;
  position: absolute;
  top: 20%;
  left: 50%;
  animation: fadeOut 0s ease-in-out 3s forwards;
  animation-fill-mode: forwards;
  z-index: 1;
}

/* ===== Footer ===== */

.uk-section-primary:not(.uk-preserve-color) .uk-icon-button { color: rgba(255, 255, 255, 1.0); }
#footer-top .uk-icon-button {
  box-sizing: border-box;
  width: 48px;
  height: 48px;
}
#footer-top .uk-text-success { color: var(--white) !important; }


/* ===== Responsive ===== */

@media all and (max-width:800px) {

  .full-width-mobile-left, .full-width-mobile-right {
    float:left;
    width:100%;
  }
  .uk-nav > li.menu-highlight > a { padding: 5px 15px; }

}
