/* KingKalli shared sidebar widgets and TEC event-widget normalization. */

.home .kk-home-sidebar-column .wpb_text_column,
.home .kk-home-sidebar-column .wpb_wrapper,
.home .kk-home-sidebar {
  margin: 0;
  min-width: 0;
}

.home .kk-home-sidebar {
  float: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
}
:is(.home .kk-home-sidebar, body:not(.home) aside.sidebar) .widget {
  margin-bottom: 40px;
}

:is(.home .kk-home-sidebar, body:not(.home) aside.sidebar) .widget > h3 {
  border-bottom: 3px solid #000;
  border-top: 1px solid #000;
  color: #333333;
  font-family: "GloberxBold", sans-serif !important;
  font-size: 15px !important;
  font-style: normal !important;
  font-weight: normal !important;
  margin: 0 0 15px;
  padding: 9px 0 2px;
  text-transform: uppercase;
}

:is(.home .kk-home-sidebar, body:not(.home) aside.sidebar) .widget .textwidget {
  font-size: 86%;
  line-height: 1.5em;
}

:is(.home .kk-home-sidebar, body:not(.home) aside.sidebar) .widget p,
:is(.home .kk-home-sidebar, body:not(.home) aside.sidebar) .widget .textwidget p {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

:is(.home .kk-home-sidebar, body:not(.home) aside.sidebar) .widget img {
  height: auto;
  max-width: 100%;
}

:is(.home .kk-home-sidebar, body:not(.home) aside.sidebar) .kk-current-issue-copy {
  display: none;
}

@media (min-width: 768px) {
  :is(.home .kk-home-sidebar, body:not(.home) aside.sidebar)
    :is(.custom_html-2, .custom_html-13, .custom_html-14, .custom_html-15, .custom_html-16)
    .textwidget > a {
    display: block;
  }

  :is(.home .kk-home-sidebar, body:not(.home) aside.sidebar)
    :is(.custom_html-2, .custom_html-13, .custom_html-14, .custom_html-15, .custom_html-16)
    img {
    display: block !important;
    float: none !important;
    height: auto !important;
    margin: 0 0 0 auto !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  :is(.home .kk-home-sidebar, body:not(.home) aside.sidebar)
    .custom_html-5
    .textwidget
    img {
    display: inline !important;
    float: left !important;
    height: auto !important;
    margin: 0 12px 6px 0 !important;
    max-width: 50% !important;
    width: 50% !important;
  }

  :is(.home .kk-home-sidebar, body:not(.home) aside.sidebar)
    :is(.custom_html-5, .custom_html-11)
    .textwidget
    h3 {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

.tribe-events-widget-events-list__event-thumbnail {
  display: none;
}

.tribe-events-widget-events-list .tribe-events-widget-events-list__event-datetime-wrapper {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
}

.tribe-events-widget-events-list .tribe-events-calendar-series-archive__container,
.tribe-events-widget-events-list .tribe-events-calendar-series-archive__link {
  align-items: center !important;
  color: #8a8a7f !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  height: 14px !important;
  line-height: 14px !important;
  max-height: 14px !important;
  width: auto !important;
}

.tribe-events-widget-events-list .tribe-events-series-archive__icon,
.tribe-events-widget-events-list .kk-series-pages-icon {
  color: #8a8a7f !important;
  display: block !important;
  flex: 0 0 16px !important;
  height: 14px !important;
  max-height: 14px !important;
  max-width: 16px !important;
  min-height: 0 !important;
  min-width: 0 !important;
  width: 16px !important;
}

.tribe-events-widget-events-list .kk-series-pages-icon :is(path, rect) {
  fill: none !important;
  stroke: currentColor !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  stroke-width: 1.05 !important;
}

.tribe-events-widget-events-list .kk-series-pages-icon path:first-child {
  opacity: 0.45 !important;
}

.tribe-events-widget-events-list .kk-series-pages-icon path:nth-child(2) {
  opacity: 0.65 !important;
}

@media (max-width: 767px) {

  :is(.home .kk-home-sidebar, body:not(.home) aside.sidebar) {
    display: block;
  }

  :is(.home .kk-home-sidebar, body:not(.home) aside.sidebar) .widget {
    box-sizing: border-box;
    margin-bottom: 22px;
    width: 100%;
  }

  :is(.home .kk-home-sidebar, body:not(.home) aside.sidebar) .widget .textwidget {
    margin-left: 0 !important;
  }

  :is(.home .kk-home-sidebar, body:not(.home) aside.sidebar)
    :is(.custom_html-2, .custom_html-3, .custom_html-4, .custom_html-5, .custom_html-11, .custom_html-12, .custom_html-13, .custom_html-14, .custom_html-15, .custom_html-16)
    .textwidget {
    font-size: 16px;
    line-height: 1.45;
    overflow: hidden;
  }

  :is(.home .kk-home-sidebar, body:not(.home) aside.sidebar)
    :is(.custom_html-2, .custom_html-3, .custom_html-4, .custom_html-5, .custom_html-11, .custom_html-12, .custom_html-13, .custom_html-14, .custom_html-15, .custom_html-16)
    .textwidget > a {
    display: inline;
  }

  :is(.home .kk-home-sidebar, body:not(.home) aside.sidebar) .kk-current-issue-copy {
    display: block;
  }

  :is(.home .kk-home-sidebar, body:not(.home) aside.sidebar)
    :is(.kk-current-issue-copy, .custom_html-3 .textwidget, .custom_html-4 .textwidget, .custom_html-5 .textwidget, .custom_html-11 .textwidget, .custom_html-12 .textwidget)
    h3 {
    margin: 0 0 4px;
  }

  :is(.home .kk-home-sidebar, body:not(.home) aside.sidebar) .kk-current-issue-copy p {
    font-size: inherit;
    line-height: inherit;
    margin: 0;
  }

  :is(.home .kk-home-sidebar, body:not(.home) aside.sidebar)
    :is(.custom_html-2, .custom_html-3, .custom_html-4, .custom_html-5, .custom_html-11, .custom_html-12, .custom_html-13, .custom_html-14, .custom_html-15, .custom_html-16)
    img {
    display: inline;
    float: left !important;
    height: auto;
    margin: 0 12px 6px 0 !important;
    max-width: 50%;
    width: 50%;
  }

  :is(.home .kk-home-sidebar, body:not(.home) aside.sidebar) .adrotate_widgets .a-single,
:is(.home .kk-home-sidebar, body:not(.home) aside.sidebar) .adrotate_widgets a {
    display: block;
  }

  :is(.home .kk-home-sidebar, body:not(.home) aside.sidebar) .adrotate_widgets img {
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: none;
    width: 100%;
  }
}
