:root {
    --primary: #01002c;
    --primary-yellow: #F0BA00;
    --hover-yellow: #FFCE51;
    --hover-blue: #0055C7;
    --border-color: #B0B0B0;
    --text-color: #222222;
    --link-color: #004DE3;
    --primary-background: #F0F3F6;
}

body {
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    color: var(--text-color);
    background-color: #F8F9FB;
    overscroll-behavior: none;
    font-family: 'Roboto', sans-serif;
}
main {
    min-height: 65vh;
}
a {
    color: #222222;
}
.text-primary {
    color: var(--primary) !important;
}
.back-filter-link,
.clear-filter-link {
    color: var(--link-color);
    font-family: 'Roboto Light', sans-serif;
}
h1, .h1 {
    font-family: 'Lora', serif;
    font-size: 3.5rem;
    /* font-weight: 900; */
}
.navbar-brand > h1 {
    background-image: url(/images/logo-white-letterhead.png?cacheBuster=284864);
    height: 3.5rem;
    width: 12rem;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
}
h2, h3, .h2, .h3 {
    font-family: 'Roboto Thin', sans-serif;
}
h4, h5, .h4, .h5 {
    font-family: 'Roboto Light', sans-serif;
}
h5, .h5 {
    font-size: 1rem;
}
.card-header>h2>.btn {
    font-family: 'Roboto Medium', sans-serif;
    font-weight: bold;
}
.jumbotron h1 {
    font-family: 'Lora', serif;
    font-size: 8rem;
}
.lead {
    font-size: 1.6rem;
    font-family: 'Roboto Thin', sans-serif;
}
p, .nav-link {
    font-family: 'Roboto Light', sans-serif;
}
p strong {
    font-weight: 600;
}
.background-gradient {
    /* background: linear-gradient(180deg, rgba(248, 249, 251, 0) 0%, rgba(248, 249, 251, 0.2) 59.79%, #F8F9FB 88.35%), url('/images/homepage-bg.jpg') no-repeat; */
    /* background: linear-gradient(180deg, rgba(248, 249, 251, 0) 0%, rgba(248, 249, 251, 0.6) 59.79%, #F8F9FB 60.35%), url('/images/brenttv/thumbnail_v5_Background.jpg') no-repeat; */
    background-size: 100% auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}
.background-gradient > video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.content {
    background-color: var(--primary-background);
}
.jumbotron {
    background-color: transparent;
    color: var(--primary-background);
}
/* Search bar */
.search-control-container {
    text-align: left;
    display: inline-block;
    width: 100%;
    font-family: 'Roboto Light', 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;
}
/* end seearch bar */

.tag-section,
.filter-section {
    background-color: white;
    box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.1);
}
.filter-bar {
    overflow-x: auto;
}
.filter-link {
    color: black;
    background-color: transparent;
    font-family: 'Roboto Light', sans-serif;
    white-space: nowrap;
}
.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;
}
.channels {
    padding: 0 2.75rem;
    font-size: x-large;
}
.filter-header {
    font-weight: 300;
    padding-left: 2.75rem;
}
.bd-highlight {
    background-color: #e9ecef;
}
.border-allvideos {
    border-left: 1px solid;
}

.navigation {
    transition: .3s all;
    background: transparent;
    color: #222222;
}
.navigation-primary {
    background-color: var(--primary);
    color: white;
    border-bottom: 2px solid var(--primary);
}
.navigation-primary a {
    color: white;
}
.btn.btn-primary,
.btn.btn-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary-background);
    color: white;
    line-height: 1.5rem;
    font-size: 1.125rem;
    min-width: 12rem;
    padding: 12px 1.125rem;
}
.btn.btn-primary:focus {
    background-color: var(--hover-blue);
    border-color: var(--hover-blue);
}
.btn,
.footer .btn {
    border-radius: 10rem;
    color: var(--text-color);
    font-family: 'Roboto Light', sans-serif;
}
.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(--text-color);
} */
.btn-donate,
.btn-donate:hover {
    background-color: var(--primary-yellow);
    border: 1px solid var(--primary-yellow);
    color: black !important;
    padding: .5rem 1rem;
}
.btn-donate:focus {
    background-color: var(--hover-yellow);
    border: 1px solid var(--hover-yellow);
    color: var(--text-color) !important;
}

.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 {
    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: 'Roboto Medium', sans-serif;
    font-weight: 700;
}
.tag-bar>.search-tag {
    margin-left: 0 !important;
}
/* Tiles */
.wink {
    margin-bottom: 2rem;
}
.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;
  }
  .channel-title {
      font-size: 1rem;
      font-weight: bold;
      flex: 1;
      overflow: hidden;
      text-overflow: ellipsis;
      width: 100%;
      padding: 0 1rem;
  }
  .filter-top-side {
      width: 3.75rem;
  }

  /* #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;
    position: relative;
}
.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: #333333;
    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;
}

.category-name {
    /* font-family: 'Roboto Light', sans-serif; */
    font-family: 'Lora', serif;
    padding: 2rem 1.75rem 1.5rem 1.75rem;
    text-align: left;
    font-size: 2rem;
    -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;
}
.img-highlight {
    transition: transform .9s ease;
    width: 100%;
}
.category-slide {
    /* border: 1px solid #CBD0D8; */
    border-radius: 1.25rem;
    overflow: hidden;
}
.categories {
    background-image: none;
    padding: 0 2rem 3.5rem 2rem;
    overflow: hidden;
}
/* End of slider styling */

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

.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(--primary-yellow);
    padding: 3.5rem 0;
}
.testimonial-header {
    font-size: 3.5rem;
    font-weight: 100;
    line-height: 1.5;
}
.faq-section {
    padding: 3.5rem 0;
}
.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(--primary);
    color: white;
}
.footer address,
.footer a,
.copy {
    color: white;
    font-size: 1rem;
    line-height: 1.5;
    text-decoration: none;
    font-family: 'Roboto Light', sans-serif;
}
.footer h5 {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: bold;
    font-family: 'Roboto Medium', sans-serif;
}
.footer .social-icon {
    text-align: center;
}
.footer .social-icon a {
    font-size: xx-large;
}
.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);
}

/* 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: 6px;
}
.video-js .vjs-fullscreen-control .vjs-icon-placeholder:before {
    content: url('/images/arrows-angle-expand.svg');
    font-family: 'VideoJS';
}
.video-js.vjs-fullscreen .vjs-fullscreen-control .vjs-icon-placeholder:before {
    content: url('/images/arrows-angle-contract.svg');
    font-family: 'VideoJS';
}
.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;
}

/* Swiper sliders extra styling  */
.bottom-slider-section {
    background-color: white;
    border-top: 1px solid #CBD0D8;
    border-bottom-left-radius: 1.25rem;
    border-bottom-right-radius: 1.25rem;
    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: .5rem;
    font-size: 1.5rem;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.bottom-slider-section > .segment-creator {
    font-weight: 100;
    font-size: 1rem;
    padding: .5rem 1rem;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* Tiles extra styling */
.wink-tile {
    /* border: 1px solid #CBD0D8; */
    border-radius: 1.25rem;
    box-sizing: border-box;
    color: var(--text-color);
    overflow: hidden;
    text-align: left;
    position: relative;
    mask-image: radial-gradient(white, black);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.vid-duration {
    text-align: center;
    position: absolute;
    padding: .5rem 1rem;
    background: #333333;
    color: white;
    border-radius: 6px;
    right: 1rem;
    top: -3.5rem;
}

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

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

/* FAQ */
.faq-title {
    font-weight: 300;
    font-size: 1.8rem;
    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;
}

.navigation-home a,
.navigation-home {
    color: white;
}

.navigation-home {
    background: rgb(98,75,153);
    /* background: linear-gradient(180deg, rgba(98,75,153,1) 30%, rgba(98,75,153,0.5) 100%); */
    background: linear-gradient(180deg, rgb(5, 5, 5) 30%, rgba(98,75,153,0.5) 100%);
}

.navbar-toggler {
    font-size: 1.8rem;
    border: 1px solid white;
    color: white;
}

.category-3,
.category-0 {
    color: green;
}
.category-1 {
    color: purple;
}
.category-2 {
    color: orange;
}
.category-4 {
    color: red;
}
.category-5 {
    color: blue;
}

.hiddencompletely {
    display: none !important;
    visibility: hidden !important;
}

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

@media (max-width: 767.98px) {
    .body-home {
        background-color: var(--primary);
    }
    h1, .h1 {
        font-size: 2rem;
        font-weight: bold;
    }
    .jumbotron h1 {
        font-size: 6rem;
    }
    .jumbotron > .lead {
        font-size: 1.5rem;
    }
    .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;
    }
    .programmes {
        padding: 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);
        color: white;
    }

    .navigation-home a {
        color: white;
    }

    .navbar-homepage .btn-outline-secondary {
        color: white;
        border-color: white;
    }
    .jumbotron {
        /* background-color: var(--primary); */
        color: white;
        border-radius: 0;
        margin: 0 auto;
        text-align: center;
    }
    .jumbotron .btn-outline-primary {
        color: white;
        border-color: white;
    }
    .jumbotron .btn.btn-primary {
        color: var(--text-color);
        background-color: var(--primary-yellow);
    }
    .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;
    }
    .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;
    }
}

@media (max-width: 580px) {
    .jumbotron h1 {
        font-size: 4rem;
    }
    .jumbotron h3 {
        font-size: 1.25rem;
    }
    .jumbotron > .lead {
        font-size: 1.25rem;
    }
    /* reseting erroneous player styling */
    .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;
    }
}

@media (min-width: 768px) {
    .jumbotron {
        padding: 4rem;
        /* margin-top: 17rem; */
        margin-bottom: 1rem;
    }
}

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

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