:root {
    --primary-mind: #1300C1;
    --primary: #333;
    /* --primary-yellow: #F0BA00; */
    --primary-yellow: #f6ba23;
    --hover-yellow: #FFCE51;
    --hover-blue: #9DA8FF;
    --border-color: #B0B0B0;
    --text-color: #222222;
    --text-color-2: #2B363B;
    --link-color: #004DE3;
    --primary-background: #F3F5F6;
    --primary-pink: #ff0071;
    --primary-peach: #FFCDD9;
    --btn-green: #71F5C4;
    --sky: #9DA8FF;
    --primary-orange: #ea672f;
    --secondary-background: rgb(248,248,255);
}

/* Meridian fonts */
@font-face {
    font-family: 'Mind Meridian Regular';
    font-style: normal;
    font-weight: 400;
    src: local('MindMeridianRegular'), local('Mind-Meridian-Regular'),
        url("/fonts/meridian/MindMeridianW05-Regular.woff2") format("woff2"),
        url("/fonts/meridian/MindMeridianW05-Regular.woff") format("woff");
    font-display: swap;
}
@font-face {
    font-family: 'Mind Meridian Display';
    font-style: normal;
    font-weight: 400;
    src: local('Mind-Meridian-Display'), local('MindMeridianDisplay'),
        url("/fonts/meridian/MindMeridianW05-Display.woff2") format("woff2"),
        url("/fonts/meridian/MindMeridianW05-Display.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: 'Mind Meridian Bold';
    font-style: normal;
    font-weight: 700;
    src: local('Mind-Meridian-Bold'), local('MindMeridianBold'),
        url("/fonts/meridian/MindMeridianW05-Bold.woff2") format("woff2"),
        url("/fonts/meridian/MindMeridianW05-Bold.woff") format("woff");
    font-display: swap;
}

body {
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    color: var(--text-color);
    background-color: var(--primary-background);
    overscroll-behavior: none;
    font-family: 'Mind Meridian Regular', Arial, sans-serif;
    font-size: 18px;
}
main {
    min-height: 65vh;
    overflow: hidden;
}
.grid-cell a,
a {
    color: var(--primary);
}
dt, dd {
    background-color: white;
}
.text-primary {
    color: var(--primary) !important;
}
.back-filter-link,
.clear-filter-link {
    color: var(--link-color);
    font-family: 'Mind Meridian Regular', Arial, sans-serif;
}
h1, .h1 {
    font-size: 2rem;
    font-weight: 700;
}
h2, h3, .h2, .h3 {
    font-family: 'Mind Meridian Regular', Arial, sans-serif;
}
h4, h5, .h4, .h5 {
    font-family: 'Mind Meridian Bold', Arial, sans-serif;
}
h5, .h5 {
    font-size: 1rem;
}
.card-header>h2>.btn {
    font-family: 'Mind Meridian Regular', Arial, sans-serif;
}
.jumbotron h1 {
    font-family: 'Mind Meridian Display', Arial, sans-serif;
    font-size: 3.5rem;
    color: var(--primary);
}
.lead {
    font-size: 1.5rem;
    font-family: 'Mind Meridian Regular', Arial, sans-serif;
    color: var(--primary);
}
p, .nav-link {
    font-family: 'Mind Meridian Regular', Arial, sans-serif;
}
p strong {
    font-weight: 600;
}
dt {
    text-align: center;
}
dt>a>img {
    max-height: 6rem;
    max-width: 12rem !important;
}
/* TODO add different font 1-Mind Meridian Display 2-Mind Meridian Regular */
.heading-1,
.heading-2 {
    font-size: 3.5rem;
    font-weight: 400;
}
.heading-3 {
    font-size: 2.875rem;
    font-weight: 400;
    font-family: 'Mind Meridian Regular', Arial, sans-serif;
}
.heading-4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Mind Meridian Bold', Arial, sans-serif;
}
.heading-5 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Mind Meridian Bold', Arial, sans-serif;
}
.heading-6 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Mind Meridian Bold', Arial, sans-serif;
    margin-bottom: 1rem;
}
.subheading-1 {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.5;
    font-family: 'Mind Meridian Regular', Arial, sans-serif;
}
.subheading-2 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    font-family: 'Mind Meridian', Arial, sans-serif;
    margin-bottom: .5rem;
}
.prg-1 {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    font-family: 'Mind Meridian Regular', Arial, sans-serif;
}
.prg-2 {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    font-family: 'Mind Meridian Regular', Arial, sans-serif;
}

.prg-3 {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.5;
    font-family: 'Mind Meridian Regular', Arial, sans-serif;
}

.scroll-down {
    color: var(--primary);
    position: absolute;
    bottom: 3em;
    cursor: pointer;
}

.item-description {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.landing-header {
    border-bottom: 1px solid #CBD0D8;
    padding-bottom: .5rem;
}
.landing-header > .active {
    color: var(--primary);
    border-bottom: 5px solid var(--primary);
    padding-bottom: .5rem;
    /* border-radius: 2px; */
}

.landing-nav-item {
    cursor: pointer;
}
/* .landing-header > span::after {
    content: " ";
    display: block;
    border-top: 2x solid var(--primary);
    border-bottom: 2px solid var(--primary);
    border-radius: 2px;
} */

/* Rounded borders */
.rounded-8 {
    border-radius: 8px;
}
.rounded-4 {
    border-radius: 4px;
}
.rounded-right-8 {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.rounded-left-8 {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.primary-border {
    border: 1px solid var(--primary);
}

.sky-border {
    border: 1px solid var(--sky);
}

.hero-section {
    position: relative;
}

.background-gradient {
    background: linear-gradient(180deg, rgba(248, 249, 251, 0) 0%, rgba(248, 249, 251, 0.5) 59.79%, #F8F9FB 86.35%), url('/images/mindtv/placeholder-hero.png?cacheBooster=123456') no-repeat;
    background-size: 100% auto;
    position: absolute;
    top: -6px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}
.background-gradient.visible {
    background: linear-gradient(180deg, rgba(248, 249, 251, 0) 0%, rgba(248, 249, 251, 0.5) 59.79%, #F8F9FB 98%), url('https://streams2.winkball.com/images/EFr_v7uY4FQs') no-repeat;
    /* background-size: 100% auto; */
    background-size: cover;
}
.squiggle-top {
    background-image: url('/images/squiggle-top-left.png');
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 226px;
    height: 239px;
    z-index: -1;
}
.squiggle-bottom {
    background-image: url('/images/squiggle-bottom-right.png');
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 198px;
    height: 277px;
    /* z-index: -1; */
}
.content {
    background-color: var(--primary-background);
}
.jumbotron {
    background-color: transparent;
}
.nhs-icon {
   display: inline-block;
   background-color: var(--primary);
   margin-left: -0.5rem;
   margin-right: .5rem;
}
.nhs-icon > img {
    max-width: 100%;
    padding: .5rem .2rem;
}

.support p>i {
    margin-right: .5rem;
    text-align: center;
    width: 1rem;
}

.top-support-section p>i {
    margin-left: -0.25rem;
    margin-right: .5rem;
    text-align: center;
    width: 1rem;
}

/* Search bar */
.search-control-container {
    text-align: left;
    display: inline-block;
    width: 100%;
    font-family: 'Mind Meridian Regular', Arial, sans-serif;
}
.filter-top-middle:focus .search-control-container,
.filter-top-middle:hover .search-control-container {
    margin-bottom: -2px;
}
.search-control {
    display: inline-block;
    margin: .5rem 0;
    padding: 0 .5rem;
    vertical-align: bottom;
    width: 100%;
}
.search-control .input-clear {
    position: relative;
    display: inline-block;
}
.search-control .input-clear, .search-control input, .search-control button {
    background-color: transparent;
    border: none;
    outline: none;
}
.search-control input {
    outline: none;
    width: 100%;
    min-width: 70vw;
    transition: width .4s cubic-bezier(0.000, 0.795, 0.000, 1.000);
}
/* .search-control .icon-close {
    position: absolute;
    right: 0;
    top: .5rem;
    outline: none;
    height: 1rem;
    width: 1rem;
}
.search-control .icon-close::before,
.search-control .icon-close::after {
  content: ' ';
  width: 2px;
  height: 1rem;
  top: 0;
  background-color: var(--text-color);
  position: absolute;
  outline: none;
}
.search-control .icon-close::before {
  transform: rotate(45deg);
}
.search-control .icon-close::after {
  transform: rotate(-45deg);
} */
.search-control button {
    cursor: default;
}
.search-form {
    max-width: 650px;
}
.search-form .input-group-text {
    background-color: var(--sky);
}
/* end seearch bar */

.tag-section,
.filter-section {
    background-color: white;
    box-shadow: 0px 4px 4px rgba(157, 168, 255, 0.15);
    background: #FFFFFF;
    border-bottom: 1px solid #B3BBFF;
    box-sizing: border-box;
    /* transform: matrix(1, 0, 0, -1, 0, 0); */
}
.filter-bar {
    overflow-x: auto !important;
    min-width: 0px;
    white-space: nowrap;
    list-style: none;
    margin-bottom: 0;
}
.filter-bar > li {
    display: inline-block;
    flex: 0 0 auto;
    justify-content: center;
    align-items: center;
}
.filter-bar li:hover .dropdown-menu {
    visibility: visible;
    /* transition-delay: 0s; */
}
.dropdown-menu {
    background: #FFFFFF;
    box-shadow: 0px 4px 8px rgba(157, 168, 255, 0.5);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: .5rem;
    border-bottom-right-radius: .5rem;
    padding: 0;
    top: 100%;
    left: unset;
    display: unset;
    visibility: hidden;
    /* transition: 0.2s 0.2s; */
    margin: 0;
}
.dropdown-item {
    color: var(--primary);
    font-size: 1rem;
    line-height: 1.5;
    padding: 0;
}
.dropdown-item > a {
    padding: 1rem;
    border-bottom: 1px solid #E9EFF3;
    display: block;
    width: 100%;
    clear: both;
    white-space: nowrap;
}
.dropdown-item > a:hover {
    text-decoration: none;
}
.dropdown-item:hover {
    text-decoration: none;
    background-color: rgba(157, 168, 255, 0.1);
    color: var(--primary);
}
.filter-link-mobile,
.filter-link {
    background-color: transparent;
    font-family: 'Mind Meridian Regular', Arial, sans-serif;
    white-space: nowrap;
    display: block;
}
.filter-link.active {
    border-bottom: 3px solid var(--primary);
}
.filter-top-middle {
    margin-bottom: 3px;
}
.filter-top-middle:hover,
.filter-top-middle:focus {
    outline: none;
    overflow: hidden;
    border-bottom: 3px solid var(--primary) !important;
}
.filter-link:focus, .filter-link:hover {
    text-decoration: none;
    outline: none;
}
.advanced-filter {
    /* min-height: 100vh; */
    background-color: white;
    border: 1px solid white;
    padding: 0 1.5rem !important;
}
.advanced-filter .heading {
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
    margin-top: 26px;
}
.advanced-filter > form > .form-check {
    margin-bottom: 10px;
}
.bkg-sky {
    background-color: var(--sky);
    color: var(--primary);
}
.bkg-peach {
    background-color: var(--primary-peach);
    color: var(--primary);
}
.tel, .email, .loc {
    color: var(--primary);

}
.tel:hover, .email:hover, .loc:hover {
    text-decoration: none;
}
.channels {
    margin: 0;
}
.bd-highlight {
    background-color: #e9ecef;
}
.border-allvideos {
    border-left: 1px solid;
}

.navigation {
    transition: .3s all;
    background: transparent;
    color: #222222;
}
.navigation-primary {
    background-color: var(--secondary-background);
    /* color: white !important; */
    border-bottom: 2px solid var(--border-color);
}
/* .navigation-primary a {
    color: white;
} */
.btn.btn-primary,
.btn.btn-primary:hover {
    background-color: var(--primary-mind);
    border-color: var(--primary-mind);
    color: white;
    line-height: 1.5rem;
    font-size: 1.125rem;
    min-width: 10rem;
    padding: 12px 1.125rem;
}
.btn.btn-primary:hover {
    opacity: 0.8;

}
.btn.btn-primary:focus {
    background-color: var(--primary);
    border: 2px solid #71F5C4;
}
.navbar-homepage .btn-donate {
    line-height: 1.5rem;
    font-size: 1.125rem;
    min-width: 12rem;
    padding: 12px 1.125rem;
}
.navbar-homepage .btn-donate:hover {
    border: 2px solid #71F5C4;
}
/* .navbar-homepage .btn-outline-secondary:hover {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}
.navbar-homepage .btn-outline-secondary:focus {
    border-color: var(--hover-blue);
    color: var(--primary);
    box-shadow: 0 0 0 0.1rem var(--primary);
} */
.btn,
.footer .btn {
    border-radius: 6px;
    color: var(--primary);
    font-family: 'Mind Meridian Regular', Arial, sans-serif;
}
.btn.btn-green {
    background-color: var(--btn-green);
    color: var(--primary);
}
.btn.btn-green:hover {
    background-color: #1FEFA2;
    border: 1px solid #1FEFA2;
}
.btn.btn-green:focus {
    background-color: #1FEFA2;
    border: 2px solid #71F5C4;
}
.btn.btn-green.btn-secondary:not(:disabled):not(.disabled):active,
.btn.btn-green.btn-lg:not(:disabled):not(.disabled):active {
    background-color: #0FDB90;
    border: 1px solid #0FDB90;
    color: var(--primary);
}
.btn.btn-peach {
    background-color: var(--primary-peach);
    color: var(--primary);
}
.btn.btn-peach:hover {
    background-color: #FFADC1;
    border: 1px solid #F2BCC9;
}
.btn.btn-peach:focus {
    border: 2px solid #71F5C4;
}
.btn.btn-peach.btn-secondary:not(:disabled):not(.disabled):active {
    color: var(--primary);
    background-color: #F964A6;
    border: 1px solid #F964A6;
}

.btn.info-btns {
    color: white;
}
.btn.info-btns:hover {
    color: var(--text-color);
}
.btn,
.nav > .nav-link,
.navbar-expand-md .navbar-nav .nav-link.btn {
    padding: .5rem 1rem;
}
.btn-outline-primary,
.btn-outline-primary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: transparent;
    line-height: 1.5rem;
    font-size: 1.125rem;
    min-width: 12rem;
    padding: 12px 1.125rem;
}
.btn-outline-primary:focus {
    background-color: transparent;
}
.btn-outline-secondary,
.btn-outline-secondary:hover {
    border-color: white;
    background-color: transparent;
    color: white;
}
.tag-bar .btn-outline-primary,
.tag-bar .btn-outline-primary:hover {
    line-height: 1.5rem;
    font-size: 1rem;
    padding: .5rem 1rem;
    min-width: auto;
}
.tag-bar .btn-outline-primary:not(:disabled):not(.disabled).active,
.tag-bar .btn-outline-primary:not(:disabled):not(.disabled):active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}
.filter-bar .btn-outline-primary:not(:disabled):not(.disabled).active,
.filter-bar .btn-outline-primary:not(:disabled):not(.disabled):active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}
.tag-bar .bi.bi-plus {
    fill: currentColor;
}
.tag-bar .bi.bi-cross {
    color: white;
    fill: currentColor;
}
.btn-outline-secondary:focus {
    border-color: var(--hover-yellow);
    background-color: transparent;
    color: var(--hover-yellow);
}
.navbar-homepage .btn-outline-secondary {
    border-color: var(--text-color);
    color: var(--primary);
}
.btn-donate:hover,
.btn-donate {
    background-color: var(--btn-green);
    border: 1px solid var(--btn-green);
    border-radius: 6px;
    padding: .5rem 1rem;
    color: var(--primary);
}
.btn-donate:hover {
    background-color: #7EDCB9;
}
.btn-donate:focus {
    border: 2px solid #71F5C4;
    background-color: #7EDCB9;
    box-shadow: none;
}

.breadcrumbs {
    margin-top: 1rem;
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 1rem;
}

ol li .filter-subheader::before,
.breadcrumbs ol li + li::before {
    display: inline-block;
    padding: 0 4px;
    color: var(--primary);
    content: "/";
}

.breadcrumbs ol li {
    margin-right: 4px;
    display: inline-block;
}
.breadcrumbs ol:not(li:first-child) {
    color: var(--sky);
}

.channels-section {
    background-color: var(--primary-background);
    /* padding-top: 1rem;
    margin-top: 14px; */
    /* background: linear-gradient(to bottom, rgba(226,226,226,1) 0%, rgba(0,0,0,0.1) 20%); */
}
.programmes-container {
    overflow-y: scroll;
}
.programmes {
    padding: 0 0.75rem;
}
.filter {
    padding: 0 1.75rem;
}
.top-filter-heading,
.tag-bar-heading,
.tag-bar {
    padding-left: 2.75rem;
    padding-right: 2.75em;
}
.tag-bar-heading,
.top-filter-heading {
    font-family: 'Mind Meridian Regular', Arial, sans-serif;
}
.tag-bar>.search-tag {
    margin-left: 0 !important;
}
/* Tiles */
.wink {
    margin-bottom: 1rem;
    transition: transform 800ms;
}
.wink-tile {
    display: block;
    position: relative;
    cursor: pointer;
}

  /* .wink-tile:hover .img-highlight {
    transform: scale(1.05);
  }

  .wink-tile:hover .bottom-slider-section {
    background-color: white;
    color: black;
    -webkit-transition: color .1s linear;
    -ms-transition: color .1s linear;
    transition: color .1s linear;
    -webkit-transition: background-color .1s linear;
    -ms-transition: background-color .1s linear;
    transition: background-color .1s linear;
  } */

.img-highlight {
    /* transition: transform .9s ease; */
    width: 100%;
}

  .channel-title {
      flex: 1;
      overflow: hidden;
      text-overflow: ellipsis;
      width: 100%;
      padding: 0 1rem;
  }
  .filter-top-side {
      width: 3.75rem;
  }

  .wink:focus,
  .wink:hover {
    transform: scale(1.1);
    z-index: 1;
    overflow: visible;
    /* border: 1px solid var(--link-color); */
  }
  .wink:focus .bottom-slider-section > .segment-creator,
  .wink:hover .bottom-slider-section > .segment-creator {
    text-overflow: unset;
    white-space: unset;
  }

  .wink:hover .overlay {
    opacity: .8;
  }
  .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #2B363B;
  }
  .text {
    color: white;
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  /* .wink:hover .bottom-slider-section {
      position: absolute;
      z-index: 1;
      top: 100%;
  } */
  /* #search-input:-webkit-autoffill,
  input:-webkit-autofill,
  input:-webkit-autofill:focus {
      background-color: transparent !important;
  } */
  input:-webkit-autofill {
    -webkit-box-shadow:0 0 0 1.375rem white inset; /* Change the color to your own background color */
    -webkit-text-fill-color: #333;
}

input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1.375rem white inset;/*your box-shadow*/
    -webkit-text-fill-color: #333;
}

/* Swiper Slider Section */
.swiper-container {
    width: 100%;
    height: 100%;
    padding: 0 1.75rem;
}
.wink-tile,
.swiper-slide {
    text-align: center;
    /* font-size: 18px; */
    background-color: transparent;

    /* Center slide text vertically */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
}

.swiper-button-prev,
.swiper-button-next {
    border-radius: 10rem;
    width: 3.5rem;
    height: 3.5rem;
    background-color: #F8F9FB;
    box-shadow: none!important;
}
.swiper-button-prev, .swiper-container-rtl .swiper-button-next {
    left: 0;
}
.swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    right: 0;
}
.swiper-button-next:after, .swiper-button-prev:after {
    color: var(--primary);
    font-size: 1rem;
    font-weight: bold;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
    display: none;
}

.swiper-pagination-bullet {
    width: 16px;
    height: 16px;
}
#testimonial-slider {
    padding-bottom: 3rem;
}

#testimonial-slider .swiper-button-next.swiper-button-disabled,
#testimonial-slider .swiper-button-prev.swiper-button-disabled {
    display: flex;
}

#testimonial-slider .swiper-button-prev,
#testimonial-slider .swiper-button-next {
    background-color: transparent;
    top: 1.5rem;
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: -10px;
}

.swiper-pagination-bullet {
    background-color: var(--primary);
    width: .5rem;
    height: .5rem;
    margin: 0 .5rem !important;
}

.category-name {
    padding: 2rem 1.75rem 1.5rem 1.75rem;
    -webkit-transition: color .2s linear;
    -ms-transition: color .2s linear;
    transition: color .2s linear;
    -webkit-transition: background-color .2s linear;
    -ms-transition: background-color .2s linear;
    transition: background-color .2s linear;
}

.category-slide {
    /* border: 1px solid #CBD0D8; */
    border-radius: .5rem;
    overflow: hidden;
}
.categories {
    background-image: none;
    /* overflow: hidden; */
}
/* End of slider styling */

.tooltip-inner {
    background-color: #ffcdd9;
    color: var(--text-color);
}
.tooltip.bs-tooltip-bottom .arrow:before {
    border-bottom-color: #ffcdd9;
}

.accordion>.card {
    border-radius: 6px;
    margin-bottom: .5rem;
}
.accordion>.card>.card-header {
    background-color: white;
    border-bottom: none;
    padding: .5rem;
}
.accordion>.card>.card-header .btn.focus,
.accordion>.card>.card-header .btn:focus {
    outline: none;
    box-shadow: none;
}
.accordion>.card:not(:first-of-type),
.accordion>.card:not(:last-of-type) {
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,.125);
}
.accordion>.card .card-body {
    font-weight: 300;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.partners-section {
    margin-bottom: 2rem;
    overflow: hidden;
}
.testimonial-section {
    background-color: var(--btn-green);
    padding: 3.5rem 0;
    color: var(--primary);
    overflow: hidden;
}
/* .testimonial-header {
    font-size: 3.5rem;
    font-weight: 100;
    line-height: 1.5;
} */
.faq-section [aria-expanded="false"] .bi-chevron-up,
.faq-section [aria-expanded="true"] .bi-chevron-down {
    float: right;
    display:none;
}
/* Footer section */
.footer {
    padding-top: 3.5rem;
    padding-bottom: 2rem;
    /* background-color: var(--sky); */
    background-color: var(--secondary-background);
    color: var(--primary);
    border-top: 2px solid var(--border-color);
}

.footer address,
.footer a,
.copy {
    text-decoration: none;
}
.footer h5 {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 700;
    font-family: 'Mind Meridian Regular', Arial, sans-serif;
}
.social-icon {
    color: var(--primary-mind);
}
.footer .social-icon {
    text-align: center;
}
.footer .social-icon a {
    font-size: 1.75rem;
}
.sticky-footer {
    background-color: white;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    border: 1px solid #FFFFFF;
    box-shadow: 0px -1px 4px rgba(0, 0, 0, 0.25);
}
.tab-nav-footer.active>.tab-nav-lable {
    display: none;
}
.tab-nav-footer.active>svg {
    transform:scale(1.4);
    -webkit-transform:scale(1.4);
}

.sticky-footer a {
    color: var(--primary);
}
.tab-nav-lable {
    display: block;
}
.tab-nav-footer.active {
    color: white;
    background-color: var(--primary);
}

.footer .footer-text {
    text-align: center;
}

/* search tag styling */
.tag-section,
.filter-link.active .chevron-down,
.filter-link .chevron-up,
.search-tag.active .add,
.search-tag .remove {
    display: none;
}
.filter-link.active .chevron-up,
.search-tag.active .remove {
    display: inline-block;
}
/* Wizard Styling */
.tab {
    display: none;
}
.tab:first-child {
    display: block;
}
.bullets {
    text-align: center;
}
.bullet {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin: 0 4px;
    cursor: pointer;
    background-color: var(--primary);
    opacity: .2;
    display: inline-block;
}

.bullet.active {
    opacity: 1;
    background-color: var(--hover-blue);
}
/* End of wizard */

/* Programme landing page and player */
.video-container {
    overflow: hidden;
    border: 1px solid var(--primary-background);
    border-radius: 0.25rem;
}
.video-js, video, .vjs-poster {
    background-color: var(--primary-background);
}
.video-js .vjs-fullscreen-control .vjs-icon-placeholder:before {
    content: url('/images/arrows-angle-expand.svg');
    font-size: 1.5em;
    top:25%;
}
.video-js.vjs-fullscreen .vjs-fullscreen-control .vjs-icon-placeholder:before {
    content: url('/images/arrows-angle-contract.svg');
    font-size: 1.5em;
    top:25%;
}
.video-js .vjs-back-btn,
.video-js .vjs-next-btn {
    width: 3em;
    margin: 0 .5em;
}
.video-js .vjs-share-btn .vjs-icon-placeholder:before {
    border: none;
}

.vjs-progcarousel {
    display: none;
}
.vjs-progcarousel {
    width: 100%;
    height: auto;
    /* background: rgb(0,0,0,0.5); */
    z-index: 1;
    position: absolute;
    bottom: calc(-56.25% - .5rem);
    /* bottom: 7em; */
}

.video-js .vjs-control-bar {
    left: 0;
    right: 0;
}

.vjs-loading-spinner:before, .vjs-loading-spinner:after {
    margin: 0;
}
.vjs-info-panel > .video-overlay,
.vjs-share-panel > .video-overlay {
    border-radius: 6px;
}

.showcarousel {
    animation: trans_show 1s ease forwards;
}

.hidecarousel {
    animation: trans_hide 1s ease;
}

.horizontalprogrammescontainer .plinner {
    position: absolute;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.4);
    font-size: large;
    width: auto;
    padding: .25em;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.horizontalprogrammescontainer .plduration {
    top: 0;
    left: 0;
}

.programme-item .play-active {
    position: absolute;
    width: 1.5rem;
    top: 0;
    left: 0;
    bottom: 0;
    background-color: var(--sky);
    display: none;
}
.programme-item.current .play-active {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Swiper sliders extra styling  */
.bottom-slider-section {
    background-color: white;
    border-top: 1px solid #CBD0D8;
    border-bottom-left-radius: .5rem;
    border-bottom-right-radius: .5rem;
    box-sizing: border-box;
    width: 100%;
    color: var(--text-color);
    font-style: normal;
    text-align: left;
    min-height: 8rem;
    position: relative;
}
.bottom-slider-section > .channel-title {
    padding-top: .875rem;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.bottom-slider-section > .segment-creator {
    /* font-weight: 100;
    font-size: 1rem; */
    padding: 0 1rem;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* Tiles extra styling */
.categories .swiper-container:last-of-type {
    margin-bottom: .5rem;
}
.categories .swiper-slide,
.wink-content {
    box-shadow: 0px 4px 8px rgba(157, 168, 255, 0.5);
    border-radius: .5rem;
}
.wink-tile {
    /* border: 1px solid #CBD0D8; */
    border-radius: .5rem;
    box-sizing: border-box;
    color: var(--text-color);
    overflow: hidden;
    text-align: left;
    position: relative;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    }

.vid-duration {
    text-align: center;
    position: absolute;
    padding: .5rem 1rem;
    background: var(--text-color-2);
    color: white;
    border-radius: 3px;
    right: 1rem;
    top: -3.5rem;
}

.video-title {
    color: var(--text-color-2);
}
.programme-metadata > .playlist-description,
.programme-metadata > .vtt-description,
.programme-metadata > .playlist-title {
    color: var(--text-color-2);
    display: none;
}

.play-videos,
.play-duration {
    text-align: center;
    position: absolute;
    background-color: var(--text-color-2);
    opacity: .8;
    border-radius: 3px;
    color: white;
    font-size: 12px;
    padding: 3px 6px;
    right: 12px;
    bottom: 6px;
}
.play-videos {
    left: 12px;
    bottom: 6px;
    right: unset;
}

/* .programme-metadata .segment-creator {
    font-weight: 300;
} */

.creator>img {
    width: 3.5rem;
    height: 3.5rem;
}

/* Feedback btn */

.feedback-panel {
  -moz-transition: all 0.2s ease-in;
  -ms-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
  backface-visibility: hidden;
  display: block;
  position: fixed;
  opacity: 1;
  text-align: left;
  top: 45%;
  right:0;
  z-index: 99;
  /* transform: rotate(90deg); */
}

.feedback-panel > .btn {
    writing-mode: vertical-rl;
    text-orientation: upright;
    border-color: var(--primary-pink);
    background-color: var(--primary-pink);
    color: white;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    padding: .5rem;
}

/* FAQ */
.faq-title {
    font-weight: bold;
    font-size: 2rem;
    color: var(--text-color);
}

.filter-overlay {
    display: none;
}
.btn-reset:hover,
.btn-reset {
    background-color: var(--primary-background);
    border: 1px solid #CBD0D8;
    color: black !important;
}

/* Mobile Nav */
#box {
    position: fixed;
    z-index: 100;
    overflow: auto;
    top: 0;
    right: -80%;
    width: 80%;
    opacity: 0;
    padding: 2.2rem 0;
    height: 100%;
    background-color: var(--primary-background);
    color: var(--primary);
    transition: all 350ms cubic-bezier(0.6, 0.05, 0.28, 0.91);
    /* will-change: transform, opacity; */
}
#box.active {
    right: 0;
    opacity: 1;
    padding-bottom: 5rem;
}

#items {
    position: relative;
    /* top: 2.8rem; */
    /* transform: translateY(-50%); */
}

#box .mobile-nav-header,
#box .item {
    position: relative;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;

    transition: all 250ms;
}
#box .mobile-nav-header {
    color: var(--sky);
    padding: 1.5rem 1.5rem .75rem 1.5rem;
}
#box .item a {
    color: var(--primary);
    padding: .5rem 1.5rem;
    display: block;
}
#box .sub-menu a {
    padding-left: 2.5rem;
}
#items .item a {
    padding: .5rem 1.5rem;
    width: 100%;
    display: block;
}

/* #box .item:hover {
    padding: 1rem 2rem;
    background-color: var(--sky);
    background-color: rgb(157, 168, 255, 0.2);
} */
#box .item a:hover {
    text-decoration: none;
}
#box {
    will-change: transform, opacity;
}
.mobile-nav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    /* width: 1rem;
    height: 1rem; */
    padding:0;
    line-height: 1;
    font-size: 1.25rem;
    background-color: transparent;
    border: none;
    color: var(--sky);
    z-index: 2;
}
.mobile-nav-close > i {
    width: 15px;
}
.nav-categories {
    background-color: white;
    color: var(--primary);
}
.sub-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    background-color: rgba(157, 168, 255, 0.1);
    display: none;
}
.item.is-selected > .sub-menu {
    display: block;
    padding: .5rem 0;
}
#box .filter-link-mobile {
    position: relative;
    /* pointer-events: none; */
}
#box .filter-link-mobile:before {
    content: " ";
    color: var(--primary);
    font-size: 1rem;
    width: 1.5rem;
    height: 1.5rem;
    right: 0;
    top: .75rem;
    margin: 0;
    padding: 0;
    position: absolute;
    /* pointer-events: auto; */
    background-color: transparent;
    background-repeat: no-repeat;
    background-image: url('/images/chevron-down.svg');
}
#box .filter-link-mobile.is-selected:before {
    transform: rotate(180deg);
    top: .25rem;
    right: .5rem;
}

/* End mobile nav */

@media (min-width: 1920px) {
    .col-xxl-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 1199.98px) {
    .advanced-filter {
        padding: 0 0.5rem !important;
    }
    .top-filter-heading,
    .tag-bar-heading,
    .tag-bar {
        padding-left: 0;
        padding-right: 0;
    }
}


@media (max-width: 767.98px) {
    .body-home {
        background-color: var(--sky);
    }
    h1, .h1, .jumbotron h1 {
        font-size: 2rem;
        font-weight: bold;
    }
    .prg-3,
    .jumbotron .lead {
        font-size: 1.2rem;
    }
    .heading-3 {
        font-size: 2rem;
    }
    .category-name {
        font-size: 1.5rem;
        padding-left: 1.75rem;
    }
    .border-allvideos {
        border-left: none;
        border-top: 1px solid;
    }
    .categories {
        background-image: none;
        padding: 0 0 1rem 0;
    }
    .search-control input {
        min-width: 60vw;
    }
    .channels-section {
        padding: 0;
        margin-top: 0;
    }
    .top-filter-heading,
    .tag-bar-heading,
    .tag-bar {
        padding-left: 0;
        padding-right: 0;
    }

    .tag-section {
        display: none !important;
    }
    .filter-top-side {
        width: 1rem;
    }
    .navigation-home {
        background-color: var(--primary);
    }

    .navbar-homepage .btn-outline-secondary {
        color: white;
        border-color: white;
    }
    .jumbotron {
        background-color: var(--sky);
        border-radius: 0;
        margin-bottom: 0;
        text-align: center;
    }
    .jumbotron .btn-outline-primary {
        color: white;
        border-color: white;
    }
    .channels-section > .container-fluid {
        padding: 0;
    }
    .swiper-button-prev,
    .swiper-button-next {
        width: 3rem;
        height: 3rem;
    }
    .faq-section {
        background-color: var(--primary-background);
    }
    .wizard-section .filter-header {
        padding: 0;
    }
    .wizard-section .btn-outline-primary {
        min-width: unset;
    }
    .wizard-section .btn-donate {
        width: 100%;
    }
    .back-lable {
        vertical-align: middle;
    }
    .channels,
    .filter-header {
        padding-left: 0;
    }
    .hero-section {
        min-height: 84vh;
        position: relative;
    }
    .hasfocus > .filter-overlay {
        display: block;
        position: fixed;
        top: 58px;
        bottom: 0;
        left: 0;
        right: 0;
        /* background: rgba(0,0,0,.5); */
        background-color: white;
        z-index: 2;
    }
    .header.hidden,
    .sticky-footer.hidden {
        display: none !important;
    }
    .video-js .vjs-big-play-button {
        font-size: 2em;
    }
    .fixed-bottom-container {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: white;
        border-top: 1px solid #dee2e6;
    }
    .horizontalprogrammescontainer .plduration,
    .horizontalprogrammescontainer .plinner {
          font-size: small;
    }
    .rounded-sm-8 {
        border-radius: 8px !important;
    }
    .bkg-sm-white {
        background-color: white !important;
    }
    .squiggle-top {
        z-index: 1;
    }
}

@media (max-width: 580px) {
    /* reseting erroneous player styling */
    .programme-metadata,
    .container-fluid>.row>div {
        padding-right: 15px;
        padding-left: 15px;
    }
    .showcarousel {
        /* we don't need to animate for small screens */
        animation: unset;
    }
    .hidecarousel {
        animation: unset;
    }

    .vjs-progcarousel {
        display: block;
    }
    .squiggle-top {
        background-image: url('/images/squiggle-top-left-sm.png');
        width: 120px;
        height: 127px;
    }
    .squiggle-bottom {
        background-image: url('/images/squiggle-bottom-right-sm.png');
        width: 120px;
        height: 168px;
    }
    .programmes {
        padding: 0;
    }
}

@media (min-width: 576px) {
    .jumbotron {
        padding: 10rem 6rem;
        margin: 0;
    }
}

@keyframes trans_show {
    from {bottom: -50%;}
    to {bottom: 25%;}
}

@keyframes trans_hide {
    from {bottom: 25%;}
    to {bottom: -50%;}
}
