.tribe-common a:not(.tribe-common-anchor--unstyle), .tribe-common a:not(.tribe-common-anchor--unstyle):active, .tribe-common a:not(.tribe-common-anchor--unstyle):focus, .tribe-common a:not(.tribe-common-anchor--unstyle):hover, .tribe-common a:not(.tribe-common-anchor--unstyle):visited {
    color: #efe81c;
    outline: 0;
    text-decoration: none;
}

.tribe-common .tribe-common-h5, .tribe-common .tribe-common-h6 {
    color: #ffffff;
    font-family: var(--tec-font-family-sans-serif);
    font-weight: var(--tec-font-weight-bold);
    text-transform: none;
    line-height: var(--tec-line-height-2);
}

.tribe-common .tribe-common-h7, .tribe-common .tribe-common-h8 {
    color: #ffffff;
    font-family: var(--tec-font-family-sans-serif);
    font-weight: var(--tec-font-weight-bold);
    text-transform: none;
}

.tribe-common h1, .tribe-common h2, .tribe-common h3, .tribe-common h4, .tribe-common h5, .tribe-common h6, .tribe-common p {
    color: #ffffff;  
  	font-weight: 400;
    text-rendering: optimizeLegibility;
}

.tribe-common .tribe-common-b2--bold {
  color: #ffffff; 
	font-weight: var(--tec-font-weight-bold);
}

.tribe-common--breakpoint-full.tribe-events .tribe-events-c-top-bar__datepicker-desktop {
  color: #ffffff;  
	display: block !important;
    visibility: visible;
}

.tribe-events-content {
    color: #ffffff;
    font-family: var(--tec-font-family-sans-serif);
}

.tribe-events-meta-group .tribe-events-single-section-title {
    color: #ffffff;
    font-size: var(--tec-font-size-2);
    font-weight: var(--tec-font-weight-bold);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.single-tribe_events .tribe-events-single .tribe-events-event-meta {
    background-color: transparent;
    color: #ffffff;
}

.tribe-events-back a, .tribe-events-back a:visited {
    color: #ffffff;
    font-family: var(--tec-font-family-sans-serif);
    font-size: var(--tec-font-size-3);
    font-weight: var(--tec-font-weight-bold);
    text-decoration: none;
}

.tribe-events .tribe-events-calendar-list__event-date-tag-weekday {
    color: var(--tec-color-text-primary);
    font-family: var(--tec-font-family-sans-serif);
    font-size: var(--tec-font-size-0);
    font-weight: var(--tec-font-weight-regular);
    line-height: var(--tec-line-height-2);
    color: #ffffff;
    text-transform: uppercase;
}

.tribe-common .tribe-common-h7, .tribe-common .tribe-common-h8 {
    color: #dd3333;
    font-family: var(--tec-font-family-sans-serif);
    font-weight: var(--tec-font-weight-bold);
    text-transform: none;
}

.tribe-common .tribe-common-b2 {
    color: #ffffff;
    font-family: var(--tec-font-family-sans-serif);
    font-size: var(--tec-font-size-1);
    font-weight: var(--tec-font-weight-regular);
    line-height: var(--tec-line-height-0);
}

.tribe-common .tribe-common-c-btn-border-small, .tribe-common a.tribe-common-c-btn-border-small {
    background-color: #000000;
    border: 1px solid var(--tec-color-border-default);
    border-radius: var(--tec-border-radius-default);
    text-align: center;
    transition: var(--tec-transition-color-border-color);
}

.tribe-common .tribe-common-c-btn-border, .tribe-common a.tribe-common-c-btn-border {
    background-color: #000000;
    border: 1px solid var(--tec-color-accent-primary);
    border-radius: var(--tec-border-radius-default);
    text-align: center;
    transition: var(--tec-transition);
    color: var(--tec-color-button-primary);
    padding: 11px 20px;
    width: 100%;
}

.tribe-events-content h2, .tribe-events-content h3, .tribe-events-content h4, .tribe-events-content h5, .tribe-events-content h6 {
    color: #ffffff;
    font-family: var(--tec-font-family-sans-serif);
    font-weight: var(--tec-font-weight-bold);
    letter-spacing: normal;
    text-transform: none;
}

.tribe-events button.tribe-events-c-top-bar__datepicker-button {
    background-color: transparent;
    background-image: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: #ffffff;
    font-size: var(--tec-font-size-6);
    font-style: normal;
    outline: none;
    padding: 0;
    text-decoration: none;
    text-shadow: none;
    transition: var(--tec-transition-opacity);
}

.tribe-events .tribe-events-c-view-selector--labels .tribe-events-c-view-selector__button, .tribe-events .tribe-events-c-view-selector--labels button.tribe-events-c-view-selector__button {
    background-color: #efe81c;
    background-image: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: inherit;
    font-size: var(--tec-font-size-3);
    font-style: normal;
    outline: none;
    text-decoration: none;
    text-shadow: none;
}

.menu-item.kontribuuttoreille-linkki a {
    color: red !important;
}
/* Mobiilissa pakota korkeus ja nosta iframen z-index */
@media (max-width: 767px) {
  iframe[src*="trello.com/b/"] {
    height: 85vh !important;
    min-height: 520px !important;
    display: block !important;
    background: #fff !important;
    position: relative !important;
    z-index: 5 !important;
  }

  /* Estä TagDiv-wrapperit piilottamasta sisältöä */
  .tdc-row, .tdc-col, .td_block_wrap, .td-container, .td-pb-span {
    overflow: visible !important;
  }

  /* Jos lohko on vahingossa video-wrapperissa, ohita sen tyylit */
  .td-video-container iframe[src*="trello.com/b/"] {
    position: static !important;
    height: 85vh !important;
    min-height: 520px !important;
  }
}
