/*
 Theme Name:   Yorkshire Business Connectors
 Theme URI:
 Description:
 Author:       web@thedesignbank.co.uk
 Author URI:   http://ybc.thedb.uk
 Template:     wp-bootstrap-4
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/
:root {
  --color__orange: #ed8c00;
}
@font-face {
  font-family: "Helvetica", sans-serif;
  src: url(/fonts/HelveticaNeue.ttc);
}
body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
}
#site-navigation {
  padding-top: 15px;
}
#masthead {
  z-index: 100;
  position: relative;
}
nav#site-navigation {
  position: relative;
  width: 100%;
  padding-left: 180px;
  padding-right: 180px;
}
div#content {
  padding-bottom: 100px;
}
.site-footer {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
img.header_logo {
  opacity: 100;
}
.mega-indicator {
  top: 0px;
}
.menu-width {
  max-width: 1800px;
}
.menu-center {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.container {
  max-width: 1780px !important;
}
.position-player {
  z-index: 1;
  top: 0;
}
.text-position {
  margin-left: 200px;
  margin-right: 60px;
  padding-top: 0px;
}
h1 {
  font-size: 55px;
  font-family: Helvetica, sans-serif;
}
h4 {
  font-size: 20px;
  font-family: Helvetica, sans-serif;
}
p {
  font-size: 16px;
  font-family: Helvetica, sans-serif;
}
.tribe-events-calendar-month__header-column-title.tribe-common-b3 span {
  font-size: 20px;
}
.tribe-events-c-top-bar__datepicker-time span {
  font-size: 20px;
}
.tribe-events-header__events-bar.tribe-events-c-events-bar.tribe-events-c-events-bar--border {
  display: none;
}
.single-tribe_events .tribe-events-c-subscribe-dropdown__container,
.tribe-events .tribe-events-c-subscribe-dropdown__container {
  display: none;
}
.owl-carousel {
  z-index: 0;
}
.owl-nav button {
  position: relative;
  top: 50%;
  background-color: #000;
  color: #fff;
  margin: 40px;
  transition: all 0.3s ease-in-out;
}
.owl-nav button.owl-prev {
  left: 0;
  margin-top: 30px !important;
  position: relative;
  margin-right: 15px !important;
}
.owl-nav button.owl-next {
  right: 0;
  position: relative;
  margin-right: 1605px !important;
}
.white {
  color: #fff;
}
.black {
  color: #141414;
}
.tribe-street-address {
  font-size: 14px !important;
}
span.tribe-street-address {
  font-size: 14px !important;
  position: relative;
  top: -5px;
}
.tribe-events-event-meta .tribe-events-address {
  font-style: normal;
  line-height: 0px;
}
.owl-dots {
  text-align: center;
  padding-top: 15px;
}
.owl-dots button.owl-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: none !important;
  background: #ccc;
  margin: 0 3px;
}
.owl-dots button.owl-dot.active {
  background-color: #000;
}
.owl-dots button.owl-dot:focus {
  outline: none;
}
.owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.38) !important;
}
.buttons-container .btn {
  width: 140px;
}
.buttons-container {
  padding-bottom: 50px;
}
.btn-container {
  min-height: 900px;
  display: grid;
  place-items: center;
}
.boardroom-btn {
  color: #fff;
  border-radius: 0;
  border: 1px var(--color__orange) solid;
  background: linear-gradient(
      to left,
      var(--color__orange) 50%,
      transparent 50%
    )
    right;
  background-size: 200%;
  transition: 0.4s ease-in-out;
}
.boardroom-btn:hover {
  background-position: left;
  color: #fff;
  border: 1px var(--color__orange) solid;
}

.btn-dark {
  background: #000;
  color: #fff;
  border-radius: 0;
  border: 1px solid #000;
}
.btn-dark:hover {
  background: #fff;
  color: #000;
  transition: ease-in-out 0.5s;
  border: 1px solid #000;
}
.btn-light {
  background: #fff;
  color: #000;
  border-radius: 0;
  border: 1px solid #000;
}
.btn-light:hover {
  background: #000;
  color: #fff;
  transition: ease-in-out 0.5s;
  border: 1px solid #000;
}
span {
  font-size: 65px;
  position: relative;
  top: -5px;
}
.owl-nav button:focus {
  outline: none;
}
.paddingbtm {
  padding-bottom: 20px;
}
.paddingbtm-large {
  padding-bottom: 40px;
}
.paddingtop {
  padding-top: 20px;
}
.paddingtop-large {
  padding-top: 40px;
}
.paddingsides {
  padding-left: 20px;
  padding-right: 20px;
}
.center {
  display: flex;
  justify-content: center;
}
a:link {
  text-decoration: none;
}
a:visited {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
a:active {
  text-decoration: none;
}
/* Breadcrumbs */
.breadcrumbs {
  margin: 0;
  font-size: 16px;
}
.breadcrumbs ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}
.breadcrumbs li {
  margin-right: 6px;
}
.breadcrumbs li:after {
  content: " /";
}
.breadcrumbs a {
  color: #000;
}
.breadcrumbs a:hover {
  color: #000;
}
.breadcrumbs li:last-child {
  font-weight: bold;
}
.breadcrumbs li:last-child:after {
  content: "";
}
.image-block img {
  filter: grayscale(100%);
  transition: ease-out 1s;
}
.image-block:hover img {
  filter: grayscale(0%);
  transition: ease-in 1s;
}
.footer-spacing a:hover {
  color: #fd5000 !important;
  transition: 1s;
}
#mega-menu-wrap-menu-1
  #mega-menu-menu-1
  > li.mega-menu-item
  > a.mega-menu-link {
  color: #000;
}
#mega-menu-wrap-menu-1
  #mega-menu-menu-1
  > li.mega-menu-item
  > a.mega-menu-link:hover {
  color: grey;
  transition: ease-in-out 0.5s;
}
#mega-menu-wrap-menu-1
  #mega-menu-menu-1
  > li.mega-menu-item
  > a.mega-menu-link:hover,
#mega-menu-wrap-menu-1
  #mega-menu-menu-1
  > li.mega-menu-item
  > a.mega-menu-link:focus {
  color: grey;
  transition: ease-in-out 0.5s;
}
.news-background {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 30px;
  color: #fff;
  min-height: 640px;
}
.news-container {
  position: absolute;
  bottom: 0;
  padding-right: 20px;
  padding-bottom: 10px;
}
.news-container h3 {
  margin: 25px 0 25px 0;
}
.footer-spacing {
  padding-top: 20px;
  padding-bottom: 20px;
}
.spacing {
  padding-top: 60px;
  padding-bottom: 60px;
}
.spacing-top {
  padding-top: 60px;
}
.spacing-btm {
  padding-bottom: 60px;
}
.tribe-events-calendar-month__calendar-event-tooltip-datetime span {
  font-size: 14px;
}

/** Calender **/

@media (min-width: 1140px) {
  .text-position {
    right: 0px;
    height: auto;
    width: auto;
    padding-right: 30px;
  }
}
@media (min-width: 1800px) {
  .text-position {
    padding-bottom: 30px;
  }
  .owl-nav button {
    position: relative;
    top: 50%;
    background-color: #000;
    color: #fff;
    margin: 40px;
    transition: all 0.3s ease-in-out;
  }
  .owl-nav button.owl-prev {
    left: 0;
    margin-top: 30px !important;
    position: relative;
    margin-right: 30px !important;
  }
  .owl-nav button.owl-next {
    right: 0;
    position: relative;
    margin-right: 2373px !important;
  }
  .owl-carousel.owl-drag .owl-item {
    width: 485.25px !important;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
}
@media (max-width: 1400px) {
  .text-position {
    margin-left: 200px;
    margin-right: 60px;
    padding-top: 0px;
  }
}
@media (max-width: 1330px) {
  .text-position {
    padding-bottom: 30px;
  }
  nav#site-navigation {
    position: relative;
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
  }
}

@media (max-width: 1240px) {
  .text-position {
    margin-left: 15px;
    padding-top: 0;
  }
  .breadcrumbs {
    margin: 30px 0;
  }
}
@media (max-width: 992px) {
  nav#site-navigation {
    position: relative;
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 20px;
  }
  .img-height {
    padding-top: 0px;
    height: auto;
  }
  #mega-menu-wrap-menu-1
    #mega-menu-menu-1
    > li.mega-menu-item
    > a.mega-menu-link {
    color: #141414 !important;
  }
  .text-position {
    margin-right: 20px;
    margin-left: 20px;
    padding-top: 0;
    padding-right: 0px;
  }
  .owl-nav button.owl-next {
    right: 130px;
    position: relative;
    margin-right: -55px !important;
  }
  .owl-nav button.owl-prev {
    left: -135px;
    margin-top: 30px !important;
    position: relative;
    margin-right: 20px !important;
  }
  .news-background {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 30px;
    color: #fff;
    min-height: 520px;
  }
  .buttons-container {
    display: flex;
  }
  .centered-text {
    text-align-last: center;
  }
  .buttons-container .btn {
    width: 100%;
  }
}
@media (min-width: 800px) {
  .img-height {
    padding-top: 0px !important;
    height: auto;
    max-width: 600px;
  }
}

.container-max {
  max-width: 1800px;
  width: 100%;
  margin: 0 auto;
  padding-top: 200px;
}

@media (max-width: 767px) {
  .container-max {
    padding-top: 48px;
  }
}

.tribe-events-calendar-month__day:has(
  .tribe-events-calendar-month__calendar-event
) {
  background: #ff5104;
}
.tribe-events-calendar-month__calendar-event {
  .tribe-events-calendar-month__calendar-event-datetime {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;

    .tribe-events-calendar-month__calendar-event-datetime-separator {
      color: white;
      top: 0px;
      font-size: 20px;
    }

    time {
      color: white;
      font-size: 15px;
      line-height: 1;
    }
  }
}

@media (max-width: 1420px) {
  .tribe-events-calendar-month__calendar-event {
    .tribe-events-calendar-month__calendar-event-datetime {
      justify-content: space-between;

      time {
        flex: 0 0 0;
      }
    }
  }
}

.tribe-events-schedule {
  div {
    font-size: clamp(28px, 6vw, 64px);
  }

  span {
    font-size: clamp(28px, 6vw, 64px);
  }
}

.tribe-events-single-section {
  width: 100% !important;

  span {
    font-size: 28px;
    line-height: 1;
  }
  .tribe-events-address {
    span {
      font-size: 14px !important;
    }
  }

  .tribe-venue {
    margin-bottom: 8px;
  }
}
