/*
Theme Name: Openuk v2
Theme URI: http://
Description:
Author:
Author URI:
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: Openuk, Open Source UK
*/

/* Wordpress Changes */
p:empty {
  display: none;
}
.wpcf7 br {
  display: none;
}
span.wpcf7-not-valid-tip {
  margin-top: 15px;
  margin-bottom: 15px;
}
div.wpcf7-response-output {
  padding: 10px 20px;
}

.alignright {
  text-align: right;
}
img.alignright {
  float: right;
  margin-left: 30px;
}

img.alignleft {
  float: left;
  margin-right: 30px;
}
.alignleft {
  text-align: left;
}
.aligncenter {
  text-align: center;
}

@media screen and (max-width: 767px) {
  img.alignright {
    float: none;
    margin-left: 0;
  }

  img.alignleft {
    float: none;
    margin-right: 0;
  }
}

.video-block {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
  max-width: 100%;
  height: auto;
}

.video-block iframe,
.video-block object,
.video-block embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.grecaptcha-badge {
  z-index: 10;
}

.section--social-feed .csf-grid-item-two {
  flex: 45%;
}

.section img {
}
.wp-block-table table {
  border: 1px solid #004973;
  border-spacing: 0;
}
.wp-block-table th {
  background-color: #d87122;
}

.wp-block-table tr:nth-child(odd) {
  background-color: #eee;
}

.wp-block-table tr:nth-child(even) {
  background-color: #fff;
}

.wp-block-table td {
  border: 1px solid #004973;
}

.article--share {
  border-top: 1px solid #b4b4b4;
  border-bottom: 1px solid #b4b4b4;
  margin-top: 30px;
}
.article--share > span {
  color: #004973;
  font-weight: 700;
}
.article--share .icon--list {
  list-style: none;
}
.article--share .icon--list li {
  list-style: none;
}
.article--share .icon--list li a {
  border: 1px solid #d87122;
  border-radius: 50%;
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  color: #d87122;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  margin-right: 10px;
  text-align: center;
}

.article--share .icon--list li a:hover {
  background-color: #d87122;
  color: #fff;
}

/* --- Calendar Events ---*/

.tribe-events .datepicker .day.active,
.tribe-events .datepicker .day.active.focused,
.tribe-events .datepicker .day.active:focus,
.tribe-events .datepicker .day.active:hover,
.tribe-events .datepicker .month.active,
.tribe-events .datepicker .month.active.focused,
.tribe-events .datepicker .month.active:focus,
.tribe-events .datepicker .month.active:hover,
.tribe-events .datepicker .year.active,
.tribe-events .datepicker .year.active.focused,
.tribe-events .datepicker .year.active:focus,
.tribe-events .datepicker .year.active:hover {
  background: #004973;
}

.tribe-common .tribe-common-c-btn,
.tribe-common a.tribe-common-c-btn {
  background-color: #004973;
  transition: all 300ms;
}

.tribe-common .tribe-common-c-btn:focus,
.tribe-common .tribe-common-c-btn:hover,
.tribe-common a.tribe-common-c-btn:focus,
.tribe-common a.tribe-common-c-btn:hover {
  background-color: #d87122;
  border: none;
  color: #fff;
  transition: all 300ms;
}

.tribe-events .datepicker table th {
  background-color: #fff;
}

.tribe-events .datepicker table tr:nth-child(even) {
  background-color: #fff;
}

.tribe-events .datepicker th.day,
.tribe-events .datepicker th.dow {
  font-weight: 700;
  font-size: 14px;
}
.tribe-events .datepicker .day.focused,
.tribe-events .datepicker .day:focus,
.tribe-events .datepicker .day:hover,
.tribe-events .datepicker .month.focused,
.tribe-events .datepicker .month:focus,
.tribe-events .datepicker .month:hover,
.tribe-events .datepicker .year.focused,
.tribe-events .datepicker .year:focus,
.tribe-events .datepicker .year:hover {
  background-color: #d87122;
  color: #fff;
}

.tribe-events .tribe-events-c-ical__link {
  border-color: #004973;
  color: #004973;
  text-decoration: none;
}

.tribe-events .tribe-events-c-ical__link:active,
.tribe-events .tribe-events-c-ical__link:focus,
.tribe-events .tribe-events-c-ical__link:hover {
  background-color: #004973;
  border-color: #004973;
  text-decoration: none;
}

.tribe-events .tribe-events-c-ical__link:before {
  content: none;
}

.tribe-common--breakpoint-medium.tribe-events
  .tribe-events-calendar-list__event-datetime-featured-text,
.tribe-common--breakpoint-medium.tribe-events
  .tribe-events-calendar-day__event-datetime-featured-text {
  color: #004973;
}

.tribe-events
  .tribe-events-calendar-month-mobile-events__mobile-event-datetime-featured-text {
  color: #004973;
}

.tribe-common .tribe-common-svgicon--featured {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h16v20l-7.902-5.122L0 20z' fill='%223a6d;'/%3E%3C/svg%3E");
}

.tribe-events
  .tribe-events-calendar-list__event-row--featured
  .tribe-events-calendar-list__event-date-tag-datetime:after,
.tribe-events .tribe-events-calendar-day__event--featured:after {
  background-color: #004973;
}

.tribe-events .tribe-events-calendar-month__day-cell--selected,
.tribe-events .tribe-events-calendar-month__day-cell--selected:focus,
.tribe-events .tribe-events-calendar-month__day-cell--selected:hover {
  background-color: #004973;
}
.tribe-events .tribe-events-c-events-bar__search-button:before {
  background-color: #004973;
}
.tribe-common a,
.tribe-common a:active,
.tribe-common a:focus,
.tribe-common a:hover,
.tribe-common a:visited {
  /* border-bottom: none; */
}

.tribe-common .tribe-common-anchor-thin:active,
.tribe-common .tribe-common-anchor-thin:focus,
.tribe-common .tribe-common-anchor-thin:hover {
  border-bottom: none;
}

.tribe-common .tribe-common-c-btn-border,
.tribe-common a.tribe-common-c-btn-border {
  background-color: #d87122;
  border: none;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: all 300ms;
}

.tribe-common .tribe-common-c-btn-border:active,
.tribe-common .tribe-common-c-btn-border:focus,
.tribe-common .tribe-common-c-btn-border:hover,
.tribe-common a.tribe-common-c-btn-border:active,
.tribe-common a.tribe-common-c-btn-border:focus,
.tribe-common a.tribe-common-c-btn-border:hover {
  background-color: #004973;
  color: #fff;
  text-decoration: none;
  transition: all 300ms;
}

.tribe-events
  .tribe-events-calendar-month__day--current
  .tribe-events-calendar-month__day-date,
.tribe-events
  .tribe-events-calendar-month__day--current
  .tribe-events-calendar-month__day-date-link {
  color: #d87122;
}

.tribe-events .tribe-events-calendar-month__calendar-event-title,
.tribe-events .tribe-events-calendar-month__calendar-event-datetime {
  font-size: 14px;
}

.tribe-common .tribe-common-h8 {
  font-size: 14px;
  line-height: 1.5;
}

.cat_openuk-events {
}

.tribe-events .tribe-events-calendar-month__multiday-event-bar-inner {
  padding-top: 4px;
  padding-bottom: 4px;
}

.tribe-events
  .cat_events-of-interest
  .tribe-events-calendar-month__multiday-event-bar-inner {
  background-color: #eee;
}

.tribe-events
  .cat_events-openuk-will-be-at
  .tribe-events-calendar-month__multiday-event-bar-inner {
  background-color: #004973;
  color: #fff;
}

.tribe-events
  .cat_openuk-events
  .tribe-events-calendar-month__multiday-event-bar-inner {
  background-color: #d87122;
  color: #fff;
}

.tribe-events
  .cat_openuk-events
  .tribe-events-calendar-month__multiday-event-bar-inner
  .tribe-events-calendar-month__multiday-event-bar-title,
.tribe-events
  .cat_events-openuk-will-be-at
  .tribe-events-calendar-month__multiday-event-bar-inner
  .tribe-events-calendar-month__multiday-event-bar-title {
  color: #fff;
}

.tribe-events
  .cat_openuk-events
  .tribe-events-calendar-month__multiday-event-bar-inner
  .tribe-common-svgicon--featured,
.tribe-events
  .events-openuk-will-be-at
  .tribe-events-calendar-month__multiday-event-bar-inner
  .tribe-common-svgicon--featured {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h16v20l-7.902-5.122L0 20z' fill='%ffffff;'/%3E%3C/svg%3E");
}
.single-tribe_events .tribe-events-event-meta {
  background: #eee;
  margin: 50px 0;
}
.single-tribe_events .tribe-events-event-meta {
  font-size: 16px;
}

.single-tribe_events a.tribe-events-gcal,
.single-tribe_events a.tribe-events-gcal:hover,
.single-tribe_events a.tribe-events-ical,
.single-tribe_events a.tribe-events-ical:hover {
  color: #004973;
  font-size: 16px;
}

#tribe-events-pg-template,
.tribe-events-pg-template {
  margin-top: 40px;
}

.tribe-events-adv-list-widget .tribe-events-widget-link a,
.tribe-events-back a,
.tribe-events-list-widget .tribe-events-widget-link a,
ul.tribe-events-sub-nav a {
  font-size: 16px;
}

.tribe-events
  .tribe-events-c-search__input-control--keyword
  .tribe-events-c-search__input,
.tribe-events
  .tribe-events-c-search__input-control--keyword-focus
  .tribe-events-c-search__input,
.tribe-events
  .tribe-events-c-search__input-control--keyword
  .tribe-events-c-search__input:focus {
  /* background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 18.711l-6.044-6.044a7.782 7.782 0 0 0 1.688-4.845c0-2.089-.822-4.044-2.288-5.533C11.866.822 9.91 0 7.822 0S3.778.822 2.29 2.289A7.801 7.801 0 0 0 0 7.822c0 2.09.822 4.045 2.289 5.534a7.801 7.801 0 0 0 5.533 2.288c1.778 0 3.467-.6 4.845-1.688L18.71 20 20 18.711zM3.578 12.067c-2.334-2.334-2.334-6.156 0-8.49a5.968 5.968 0 0 1 4.244-1.755c1.6 0 3.111.622 4.245 1.756 2.333 2.333 2.333 6.155 0 8.489a5.968 5.968 0 0 1-4.245 1.755c-1.6 0-3.11-.622-4.244-1.755z' fill='%223a6d'/%3E%3C/svg%3E"); */
}

.tribe-common--breakpoint-medium.tribe-events
  .tribe-events-c-search__input-control-icon-svg {
  color: #004973;
}
.tribe-common .tribe-common-c-svgicon {
  color: #004973;
}
.tribe-events-event-image img {
  max-width: 300px;
  height: auto;
}
.single-tribe_events .tribe-events-cal-links {
  margin-top: 15px;
}

.category-list-events-calendar {
  margin-top: 10px !important;
}
.tooltipster-base * {
  font-size: 13px;
}

.category-list-events-calendar > a:after {
  content: ", ";
}

.category-list-events-calendar > a:last-child:after {
  content: none;
}

.category-list-events-calendar > a.events-of-interest {
  color: darkgray;
}

.category-list-events-calendar > a.events-openuk-will-be-at {
  color: #004973;
}

.category-list-events-calendar > a.openuk-events {
  color: #d87122;
}

.tribe-events-calendar-list
  > .tribe-events-calendar-list__event-row
  .tribe-events-calendar-list__event {
  border-top: 1px solid #d5d5d5;
  padding-top: 40px;
}
.tribe-events-calendar-list
  > .tribe-events-calendar-list__event-row:last-of-type
  .tribe-events-calendar-list__event {
  border-bottom: none;
  padding-bottom: 0;
}
.tribe-events-calendar-list
  .tribe-events-calendar-list__month-separator
  + .tribe-events-calendar-list__event-row
  .tribe-events-calendar-list__event {
  border-top: none;
  padding-top: 0;
}

.tribe-events-calendar-list
  > .tribe-events-calendar-list__event-row
  .tribe-events-calendar-list__event-date-tag-datetime {
  padding-top: 40px;
}
.tribe-events-calendar-list
  .tribe-events-calendar-list__month-separator
  + .tribe-events-calendar-list__event-row
  .tribe-events-calendar-list__event-date-tag-datetime {
  padding-top: 0;
}
.single-tribe_events .tribe-events-content img {
  width: auto;
}
@media screen and (max-width: 767px) {
  .tribe-events-view {
    overflow: hidden;
  }
  .tribe-events .tribe-events-l-container {
    padding-top: 20px;
  }
}

.section--title--with-thumbnail {
  margin-bottom: 40px;
}

/*--- Judge Form ---*/

.not-valid,
.not-valid:focus,
.not-valid:active {
  border: 2px solid red !important;
  outline: none !important;
}

.text-wrap-word {
  word-break: break-all;
  display: inline-block;
}

.loader-group {
  display: table;
  margin: 30px auto;
  overflow: hidden;
}
.loader-group .loader {
  border: 12px solid #fff;
  border-top: 10px solid #004973;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
