﻿.youtube-session {
    margin:0;
}

.youtube-container.youtube-gallery.active {
    width: 400px;
    height: 210px;
    bottom: 0px;
    position: fixed;
    z-index: 2025;
    right: 13%;
}

.youtube-container.youtube-gallery::-webkit-scrollbar {
    width: 3px;
}

.youtube-container.youtube-gallery::-webkit-scrollbar-track {
    background: #fff;
}

.youtube-container.youtube-gallery::-webkit-scrollbar-thumb {
    background: #D7D7D7;
    border-radius: 0px;
}

.youtube-gallery::-webkit-scrollbar-track {
    background: #D7D7D7;
}

.youtube-gallery {
    background: #f8f8f8;
}

.container--content .card-info.yt-item {
    display: table;
    border-radius: 0px;
    box-shadow: 1px 2px 20px 0 rgba(35, 19, 18, 0.05);
    background-color: #FFFFFF;
    width: 100%;
    margin-bottom: 0px;
}

.container--content .card-info .image.ytImage {
    width: 120px;
    height: 68px;
    float: left;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    margin-bottom: 8px;
    margin-top: 8px;
}

.container--content .card-info .image.ytImage img {
    position: absolute;
    margin: auto;
    min-height: 100%;
    min-width: 100%;
    left: -100%;
    right: -100%;
    top: -100%;
    bottom: -100%;
}

.container--content .card-info .content.ytContent {
    padding: 8px;
    width: calc(100% - 165px);
    float: left;
    height: 84px;
}

.yt-item .ytd-renderer {
    float: left;
    position: relative;
    top: 25px;
    padding-left: 8px;
    padding-right: 8px;
}

i.fas.fa-play {
    font-size: 13px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    z-index: 2;
}

.item-videoId i.fas.fa-play::before {
    color: transparent;
}

.item-videoId.active i.fas.fa-play::before {
    content: '\f04b';
    color: #5a5a5a;
}

.youtube-title {
    display: none;
}

.youtube-title.mini-iframe {
    width: 400px;
    height: 80px;
    position: fixed;
    bottom: 0;
    right: 13%;
    z-index: 2025;
    display: block;
}

.youtube-title.mini-iframe.active {
    height: 106px;
    bottom: 210px;
}

.youtube-title.mini-iframe .card-info {
    border-radius: 0px;
}

.youtube-title.mini-iframe .card-info .content {
    padding: 16px;
    height: 80px;
    position: relative;
}

.youtube-title.mini-iframe.active .card-info .content {
    height: 106px;
}

.youtube-title.mini-iframe .header h4:after {
    font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    font-size: 1.5rem;
    content: "\f107";
    float: right;
    position: absolute;
    top: 18px;
    right: 35px;
    color: #5a5a5a;
    z-index: 0;
}

.youtube-title.mini-iframe.active .header h4:after {
    content: "\f106";
}

.youtube-title .resultsPage {
    display: none;
}

.youtube-title .resultsPage.show {
    display: block;
}

.youtube-title .resultsPage {
    font-size: 12px;
    line-height: 26px;
    color: #949494;
    font-family: thongterm-roman;
}

.youtube__video_play h4 {
    font-size: 14px;
    line-height: 24px;
    height: 48px;
}

.youtube-title .content .header {
    width: 91%;
}

@media screen and (min-width: 768px) {
    .youtube-container.youtube-gallery {
        overflow: auto;
        height: 433px;
        border: 1px solid #ededed;
    }

    .youtube_video {
        width: 100%;
        height: 100%;
        margin-bottom: 30px;
    }

    .youtube-title .fas.fa-play {
        display: none;
    }

    .ytd-renderer .h5 {
        display: none !important;
    }

    .container--content .card-info .image.ytImage img {
        height: 68px;
        height: auto;
        position: absolute;
    }

    .close-popup:before {
        content: '\f00d';
        font-family: 'Font Awesome 5 Pro';
        color: #5b5b5b;
        width: 16px;
        height: 16px;
        top: 15px;
        right: 5px;
        position: absolute;
    }
}

@media screen and (max-width: 768px) {
    .text-ellipsis-1line {
        display: -webkit-box;
        overflow: hidden;
        white-space: normal;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
    }

    .description {
        bottom: 0;
        font-size: 14px;
    }

    .youtube-container .image img {
        height: 110px !important;
    }

    .youtube_video {
        width: 100%;
        height: 202px;
        margin: auto;
    }

    .youtube-gallery {
        width: 100%;
        height: 336px;
        margin: auto;
        overflow: auto;
    }

    .container--content .card-info.yt-item {
        height: 84px;
    }

    .container--content .card-info .image.ytImage {

    }

    .youtube-title.mini-iframe {
        width: 68%;
        height: 68px;
        position: fixed;
        bottom: 0;
        right: 0%;
        z-index: 2025;
        display: block;
    }

    .youtube-title.mini-iframe.active {
        height: 68px;
        bottom: 235px;
    }

    .youtube-container.youtube-gallery.active {
        width: 100%;
        height: 210px;
        bottom: 0;
        position: fixed;
        z-index: 2025;
        right: 0%;
    }

    .ytd-renderer .h5 {
        display: none !important;
    }

    .ytd-renderer .not-show {
        display: none !important;
    }

    .ytd-renderer .h5.show {
        display: block !important;
    }

    .ytd-renderer .h5 {
        font-size: 10px;
        line-height: 22px;
        color: #949494;
        font-family: thongterm-roman;
    }

    .youtube-title.mini-iframe {
        width: 68%;
        height: 68px;
        position: fixed;
        bottom: 25px;
        right: 0%;
        z-index: 2025;
        display: block;
    }

    .youtube-title.mini-iframe .card-info .content {
        width: 100%;
        padding: 10px;
        height: 68px;
        position: relative;
    }

    .youtube-title.mini-iframe.active .card-info .content {
        height: 68px;
        width: 100%;
    }

    .container--content .card-info .content.ytContent {
        height: 68px;
    }

    .youtube-title.mini-iframe.active .header h4:after,
    .youtube-title.mini-iframe .header h4:after {
        display: none;
    }

    .youtube-title .resultsPage.show {
        display: none !important;
    }

    .youtube-title .content .header {
        width: 100%;
        display: flex;
    }

    .youtube-title .mobile-play {
        position: relative;
        top: 10px;
        padding-left: 20px;
    }

    .youtube-title .mobile-play i.fas.fa-play {
        font-size: 16px;
    }

    .youtube-container .image img {
        height: 68px !important;
        height: 92px !important;
    }

    .youtube__video_play h4 {
        width: 68%;
    }

    .youtube__video_play .youtube-gallery h4 {
        width: 100%;
    }

    .yt-item .ytd-renderer {
        top: 30px;
    }

    .youtube-bar-mobile {
        display: none !important;
    }

    .youtube-bar-mobile.mini-iframe {
        display: block !important;
    }

    .youtube-bar-mobile.mini-iframe {
        width: 100%;
        height: 25px;
        position: fixed;
        bottom: 0px;
        right: 0%;
        z-index: 2025;
        display: block;
    }

    .youtube-bar-mobile.mini-iframe.active {
        bottom: 210px;
    }

    .youtube-bar-mobile.mini-iframe .resultsPage.show,
    .youtube-bar-mobile.mini-iframe .resultsPage {
        display: none;
    }

    .youtube-bar-mobile.mini-iframe.active .resultsPage.show,
    .youtube-bar-mobile.mini-iframe.active .resultsPage {
        display: block;
    }

    .youtube-bar-mobile .card-info.bar-mobile {
        height: 25px;
        font-size: 10px;
        line-height: 22px;
        color: #949494;
        font-family: thongterm-roman;
        padding-left: 8px;
        border-radius: unset;
    }

    .youtube-bar-mobile.mini-iframe .header-bar-mobile:after {
        font-family: "Font Awesome 5 Pro";
        font-weight: 300;
        font-size: 1.5rem;
        content: "\f107";
        float: right;
        position: absolute;
        top: 0;
        right: 20px;
        color: #5a5a5a;
        z-index: 0;
    }

    .youtube-bar-mobile.mini-iframe.active .header-bar-mobile:after {
        content: "\f106";
    }

    .close-popup:before {
        content: '\f00d';
        font-family: 'Font Awesome 5 Pro';
        color: #5b5b5b;
        width: 16px;
        height: 16px;
        top: 18px;
        right: 20px;
        position: absolute;
    }
}

i.far.fa-play-circle {
    font-size: 56px;
    position: absolute;
    color: rgba(255,255,255,.9);
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    text-align: center;
    z-index: 2;
}

.fa-play-circle::before {
    content: "\f144";
}

@media screen and (max-width: 768px) {
    .container--content .card-info .image {
        width: auto;
        float: left;
        border-top-left-radius: 3px;
        border-top-right-radius: 0px;
        border-bottom-left-radius: 3px;
    }
}

@media screen and (max-width: 768px) {
    .container--content .card-info .content {
        height: auto;
        width: 100%;
    }
}

i.far.fa-play-circle {
    font-size: 56px;
    position: absolute;
    color: rgba(255, 255, 255, .9);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

@media screen and (max-width: 768px) {
    .ot-001 .text-ellipsis-2line {
        padding-top: 0px;
        padding-bottom: 0px;
    }
}
