body,
html {
    font-family: "Roboto", Arial, Helvetica, sans-serif !important;
}

body,
h5,
p,
a,
button {
    color: #fafafa !important;
}

/* commons */
.text-color {
    color: #fafafa !important;
}
.bg-black {
    background-color: #252525;
}
.bg-black-button {
    background-color: #3f3f3f;
}
.header-text-mobile {
    font-size: 14px;
    font-weight: 400;
}
.body-text-mobile {
    font-size: 14px;
}
.pleft-8 {
    padding-left: 8px;
}
.pright-8 {
    padding-right: 8px;
}
.cursorPointer {
    cursor: pointer !important;
}

/* explore & search section */
.explore_more {
    padding-top: 40px;
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
}
.leftSide_Explore {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
}
ul.carousel-inner {
    list-style: none;
    padding: 0;
    margin: 0;
}
.exploreMore_text {
    display: inline;
    vertical-align: text-top;
    margin: auto;
    padding: 2px;
    font-size: 22px;
    font-weight: 500;
}

.input-group {
    width: 50% !important;
    height: 44px;
}
.form-control {
    border: none !important;
    background-color: #3f3f3f !important;
    color: #ffffff !important;
}
.form-control::placeholder {
    color: #ffffff !important;
    opacity: 0.7;
}
.form-control:focus {
    box-shadow: none;
}
.input-group-text {
    background-color: #3f3f3f !important;
    border: none !important;
    cursor: pointer;
}
.searchImage {
    height: 30px;
    transform: rotate(265deg);
}
.rightSide_Explore {
    display: flex;
    flex-direction: row;
    margin-left: auto;
    gap: 10px;
}
.dropdown-menu {
    border-radius: 0 !important;
}
.dropdown-menu.show {
    background-color: #3f3f3f !important;
    cursor: pointer;
    border-radius: 8px;
}
.dropdown-item:focus,
.dropdown-item:hover {
    background-color: #252525 !important;
}
.dropdown-item {
    color: #ffffff !important;
}

/* <!-- section for all the category buttons and thumbnails of the videos --> */
.category-buttons {
    padding-top: 20px;
    padding-bottom: 16px;
    overflow: auto;
    overflow-y: hidden;
}
.category-buttons {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

/* Chrome */
.category-buttons::-webkit-scrollbar {
    display: none;
}
.category_button {
    margin-right: 16px !important;
    background-color: #3f3f3f !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    z-index: 1;
    line-height: 19px;
    font-weight: 399;
    white-space: pre;
    height: 42px;
    padding-left: 16px;
    padding-right: 17px;
}
.button_active {
    background-color: #2e7cf6 !important;
}
.categoryThumbnails {
    padding-top: 16px;
    padding-bottom: 60px;
    min-height: 100px !important;
}
.thumbnailHolder_Parent {
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
    margin: 0 -4px;
}
.categoryCards {
    position: relative;
    z-index: 1;
    cursor: pointer;
}
.thumbnail {
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    background-repeat: no-repeat;
    background-size: cover;
    border: none;
}

.thumbnailHolder {
    cursor: pointer;
    z-index: 1;
    position: relative;
}
.thumbnailHolder:hover {
    z-index: 2;
    background-color: black;
    top: -50%;
    height: 0px;
}
.thumbnailHolder:hover .onHoverP {
    font-size: 1.1rem;
    font-weight: 500;
    padding-left: 8px;
    padding-top: 8px;
    padding-bottom: 4px;
    padding-right: 4px;
    border: 2px solid #00b3e2;
    border-bottom: none;
    line-height: 1.2;
    word-wrap: break-word;
    background-color: black;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: block;
}
.thumbnailHolder:hover .mainImageDiv {
    border: 2px solid #00b3e2;
    border-top: none;
    border-bottom: none;
}
.thumbnailHolder:hover .thumbnail {
    border-radius: 0px;
}
.thumbnailHolder:hover .playButtonDiv {
    display: block;
}
.thumbnailHolder:hover .watchButton {
    display: block !important;
}
.thumbnailHolder:hover .buttonDiv {
    border: 2px solid #00b3e2;
    border-top: none;
    padding: 0 8px 8px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.thumbnailHolder:hover .playButtonDiv a,
.thumbnailHolder:hover .buttonDiv a,
div#mobile-button-container a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hoverController {
    cursor: pointer;
    z-index: 1;
}
.onHoverP {
    color: #ffffff !important;
    font-size: 1.1rem;
    padding: 0;
    margin: 0;
    display: none;
}
.playButtonDiv {
    width: 100%;
    text-transform: uppercase;
    font-weight: 500;
    background-color: black;
    border-left: 2px solid #00b3e2;
    border-right: 2px solid #00b3e2;
    display: none;
    padding: 8px;
}
.buttonDiv {
    background-color: black;
}

.watchButton {
    text-transform: uppercase;
    font-weight: 500;
    width: 100%;
    position: relative;
    display: none !important;
    background-color: #3f3f3f !important;
    border: none !important;
    height: 100%;
}
.watchButton:hover {
    background-color: #5c636a !important;
}

/* spinner and showmore button section */
.spinnerNShowMore .showMoreSpinner {
    display: none;
    margin-bottom: 10px;
}
.showMore_Button:hover,
.showMore_Button:focus {
    background-color: #3f3f3f;
}
.fa-angle-down {
    font-size: 19px;
    position: relative;
    top: 15%;
}

/* section for modal with extra video thumbnail details on mobile after onclick */
#mobileModal {
    display: none;
}
.modal-dialog {
    position: fixed;
    width: 100%;
    margin: 0;
    pointer-events: none;
    bottom: 0;
    right: 0;
}
.modal-content {
    background-color: #252525 !important;
    padding: 16px;
    box-shadow: 2px 4px rgba(0, 0, 0, 0.5);
    border-radius: 8px 8px 0px 0px;
    display: flex !important;
    flex-direction: column !important;
}
.modal_Line {
    height: 2px;
    background-color: #fff;
    width: 13%;
    text-align: center;
    position: absolute;
    top: 5px;
    left: 43%;
    border-radius: 4px;
}
.modal_P {
    padding-top: 24px;
    padding-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
}
.modal_buttonContainer {
    display: flex !important;
    flex-direction: row !important;
    padding-top: 16px;
    justify-content: space-evenly;
}
.modal_watchButton {
    text-transform: uppercase;
    background-color: #3f3f3f;
    border: none;
}
.modal_PlayButton {
    text-transform: uppercase;
    font-weight: 500;
    background-color: transparent;
    border: none;
}

/* error holder div showing no-results after ajax call if failed */
.errorHolder_Div {
    position: absolute;
    top: 50%;
    left: 40%;
}
.btn-secondary:focus,
.btn-secondary:active {
    box-shadow: none;
}
.video-action-button {
    width: 100%;
    height: 60px;
    background-color: #3f3f3f;
    border-radius: 8px;
    font-weight: 500;
    font-size: 18px;
    line-height: 60px;
    color: #fafafa;
    white-space: nowrap;
    text-transform: uppercase;
    text-align: center;
    transition: background-color 0.2s ease-in-out !important;
    padding: 0 !important;
}
.video-action-button img {
    display: inline-block;
    margin-right: 8px;
    height: 27px;
}
.video-action-button:hover {
    background-color: #4f4f4f;
}

.video-action-button.read-article {
    background-color: #3f3f3f !important;
}

.video-action-button.read-article:hover {
    background-color: #4f4f4f;
}

.video-action-button.watch-party {
    background-color: #3f3f3f !important;
}

.video-action-button.watch-party:hover {
    background-color: #4f4f4f;
}

.video-action-button.blue {
    background-color: #00b3e2 !important;
}
.video-action-button.blue:hover {
    background-color: #00c3f4 !important;
}

.video-action-button.dblue {
    background-color: #09c !important;
}
.video-action-button.dblue:hover {
    background-color: #00c3f4 !important;
}

.video-action-buttons {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}
.video-action-button {
    height: 55px !important;
    line-height: 55px !important;
    font-size: 17px !important;
}

.background-top::before,
.background-top::after {
    opacity: 0.2;
}

/* media queries */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    .buttons > * {
        font-size: 16px !important;
    }
}

@media only screen and (min-device-width: 280px) and (max-device-width: 410px) {
    .firstButton {
        width: 49%;
    }

    .movieTitle_fontSize {
        font-size: 15px !important;
    }
}

@media only screen and (max-device-width: 1200px) {
    .explore_more {
        padding-left: 8px;
        padding-right: 8px;
        flex-direction: column;
    }
    .desktop-video-list-buttons {
        display: none;
    }

    .leftSide_Explore {
        justify-content: space-between;
    }

    .rightSide_Explore {
        margin-left: 0px !important;
        padding-top: 34px;
    }

    #dropdownMenuButton1 {
        margin-left: 0px !important;
    }

    .category-buttons {
        padding-left: 8px;
        padding-right: 8px;
        padding-top: 8px;
    }

    .buttons_Mobile {
        padding-left: 8px;
        padding-right: 8px;
        position: relative;
        z-index: 3;
    }
    .video-action-button {
        height: 50px;
        line-height: 50px;
        font-size: 16px;
    }
    .video-action-button img {
        height: 22px;
        margin-right: 5px;
    }
}

@media only screen and (min-device-width: 414px) and (max-device-width: 600px) {
    .firstButton {
        width: 47%;
        /* height: 47px; */
    }
}

@media only screen and (min-device-width: 1300px) {
    .container-fluid {
        width: 80%;
    }
}

@media only screen and (min-device-width: 1901px) {
    .container-fluid {
        width: 70%;
    }

    .thumbnail_bottomRight_1 {
        top: 43%;
        right: -22%;
    }
}

@media only screen and (min-device-width: 2300px) {
    .thumbnail_bottomRight_1 {
        top: 55%;
        right: -14%;
    }
}

@media screen and (max-width: 720px) {
    .thumbnailHolder_Parent {
        grid-template-columns: 50% 50%;
        margin: 0 4px;
    }
}
@media screen and (min-width: 720px) {
    .categoryThumbnails::before {
        position: absolute;
        top: -40px;
        left: -125px;
        opacity: 0.5;
        z-index: 0;
        content: " ";
        background-repeat: no-repeat;
        background-position: center;
        width: 300px;
        height: 300px;
        background-size: contain;
    }
}

/* Carousel css */
div#carousel-videos-day {
    padding-bottom: 45px;
}

li.carousel-item {
    background-color: #000;
}

li.carousel-item img.image {
    border-bottom: 3px solid #09c;
}

li.carousel-item img.image {
    object-fit: cover;
    width: 100%;
    height: 100%;
    min-height: 215px;
}

li.carousel-item.active {
    opacity: 1;
}

button.carousel-control {
    align-items: end;
    margin-bottom: 30px;
    height: 30px;
    position: absolute;
    bottom: -25px;
    top: unset;
    opacity: 1;
}

button.carousel-control i {
    font-size: 2rem;
    color: #09c;
}

div.carousel-indicators {
    bottom: -10px !important;
}

div.carousel-indicators button {
    text-indent: unset !important;
    background-color: transparent !important;
}

div.carousel-indicators button i {
    color: white;
    opacity: 0.7;
    font-size: 0.7rem;
}

.carousel-indicators button.active i {
    color: #09c;
    opacity: 0.9;
}

div.carousel-indicators button img {
    opacity: 0.8;
    width: 100%;
    border-radius: 4px;
    border: 1px solid #fafafa;
}

.carousel-indicators button.active img {
    opacity: 0.95;
    border: 1px solid #09c !important;
}

div.carousel-caption .text-end {
    color: #fafafa;
    padding: 8px;
    width: 90%;
    position: absolute;
    right: 2%;
    top: 1%;
    border-right: 2px solid #09c;
    border-top: 2px solid #09c;
    border-bottom: 0px;
    border-left: 0px;
}

li.carousel-item .carousel-caption {
    position: absolute;
    right: 0;
    top: 0;
    left: unset;
    bottom: unset;
    height: 100%;
    width: 100%;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    color: #fff;
    background-image: linear-gradient(
        to left,
        rgba(0, 0, 0, 1),
        rgba(255, 255, 255, 0.1)
    );
}

div.carousel-button-container {
    display: flex;
    width: 100%;
    top: unset;
    bottom: 2px;
    justify-content: center;
}

div.carousel-button-container .link {
    min-width: 50px;
    background-color: transparent;
    border: 0px solid red;
    display: flex;
    align-items: center;
    z-index: 10;
    font-size: 1rem;
    letter-spacing: .01rem;
}

div.carousel-button-container .link i {
    font-size: 2rem;
    margin-right: 10px;
    transition: font-size 0.2s ease-in-out;
}

div.carousel-button-container .link:hover i {
    font-size: 2rem;
}

div.carousel-button-container .link:active i {
    font-size: 2.5rem;
}

div.carousel-button-container .link .icon {
    width: 2.5rem;
    height: 2rem;
    margin-right: 10px;
    background-image: url("/2021/img/cta-buttons/read-article.svg");
    background-position: center;
    background-size: contain;
    transition: height 0.2s ease-in-out, width 0.2s ease-in-out;
    background-repeat: no-repeat;
}

div.carousel-button-container .link .icon.watchparty {
    background-image: url("/2021/img/cta-buttons/watch-party.svg");
}

a.video-action-button .icon {
    width: 2.5rem;
    height: 2rem;
    margin-right: 10px;
    background-image: url("/2021/img/cta-buttons/read-article.svg");
    background-position: center;
    background-size: contain;
    transition: height 0.2s ease-in-out, width 0.2s ease-in-out;
    background-repeat: no-repeat;
}

a.video-action-button .icon.watchparty {
    background-image: url("/2021/img/cta-buttons/watch-party.svg");
}

div.playButtonDiv a.video-action-button i,
div.buttonDiv a.video-action-button i,
div#mobile-button-container a.video-action-button i {
    font-size: 2rem;
}

div.carousel-button-container .link:hover .icon {
    width: 3rem;
    height: 2.5rem;
}

div.carousel-button-container .link:active .icon {
    width: 3rem;
    height: 2.5rem;
}

@media (min-width: 768px) {
    div#carousel-videos-day {
        padding-bottom: 0px;
    }

    .carousel-item {
        height: 450px;
    }

    button.carousel-control {
        bottom: 0;
    }

    button.carousel-control i {
        font-size: 4rem;
        color: #09c;
    }

    div.carousel-indicators {
        bottom: 40px !important;
    }

    div.carousel-indicators button {
        width: 90px !important;
        height: auto;
    }

    li.carousel-item .carousel-caption {
        padding-top: 0;
        padding-bottom: 0;
    }

    div.carousel-caption .text-end {
        font-size: 1.8rem;
        font-weight: 500;
        letter-spacing: 1.3px;
        color: white;
        width: 60%;
        border-right: 5px solid #09c;
        border-top: 5px solid #09c;
    }

    div.carousel-button-container {
        display: block;
        right: 2%;
        top: 25%;
        width: 200px;
    }

    div.carousel-button-container .link {
        min-width: 200px;
    }

    div.carousel-button-container .link i {
        font-size: 3rem;
        margin-right: 10px;
    }

    div.carousel-button-container .link:hover i {
        font-size: 3.5rem;
    }

    div.carousel-button-container .link:active i {
        font-size: 3.5rem;
    }

    div.carousel-button-container .link .icon {
        width: 3rem;
        height: 2.5rem;
        margin-right: 10px;
    }

    div.carousel-button-container .link:hover .icon {
        width: 3.5rem;
        height: 3rem;
    }

    div.carousel-button-container .link:active .icon {
        width: 3.5rem;
        height: 3rem;
    }
}

@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1120px !important;
    }

    .carousel-item {
        height: 550px;
    }

    div.carousel-caption .text-end {
        width: 50%;
    }
}

@media (min-width: 1400px) and (max-height: 775px) {
    .carousel-item {
        height: 470px;
    }

    div.carousel-caption h5 {
        width: 60%;
    }
}

@media (min-width: 1600px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1320px !important;
    }
}
