/*! =========================================================
 * Description: WBTV Embed Codes styling sheet
 * Author: WorkerBee.TV
 * Date created: March 23, 2022
 * @package Enterprise v2
 * ========================================================= */

.wb-branded-player {
    background-color: #F8F8F8;
    border: 1px solid #C8C8C8;
    border-radius: 16px;
    padding: 48px;
}

.wbtv-embed-link {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.wbtv-embed-link a {
    box-shadow: none !important;
    font-family: 'Roboto', sans-serif !important;
    font-style: italic !important;
    font-size: 18pt !important;
    font-weight: 300 !important;
    line-height: 1.5;
    text-decoration: underline !important;
    text-align: right !important;
    width: 50% !important;
}

.wbtv-embed-link a > b {
    box-shadow: none !important;
    font-family: 'Roboto', sans-serif !important;
    font-style: italic !important;
    font-size: 18pt !important;
    line-height: 1.5;
    text-decoration: underline !important;
    text-align: right !important;
}

.wbtv-embed-link i {
    font-size: 14pt !important;
    padding-left: 5px !important;
}

.wbtv-embed-link a > img {
    border-style: none;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 160px;
}

.wbtv-embed-link a.wb-external-brand {
    text-align: left !important;
    padding-right: 0.25rem!important;
}

.wbtv-embed-link a.wb-logo-link {
    text-align: right !important;
    padding-left: 0.25rem!important;
}

.wbtv-embed-link a.wb-logo-link img.wb-ec-right-logo{
    text-align: right !important;
    display: inline-block !important;
}

.wbtv-embed-link a.wb-logo-link,
.wbtv-embed-link a.wb-external-brand {
    padding: 10px 0;
}

.wbtv-embed-link a.wb-source-post-url {
    width: 100% !important;
}

.jw-flag-audio-player {
    height: 44px !important;
    width: 100% !important;
}

.jwplayer.jw-breakpoint-7.jw-flag-audio-player {
    height: 60px !important;
}

.wb-media-information {
    display: flex;
    flex-flow: column;
    margin-top: 0.7rem !important;
}

.wb-media-information h3 {
    color: #000 !important;
    font-family: 'Roboto', sans-serif !important;
    font-style: normal !important;
    font-weight: 900 !important;
    font-size: 18px !important;
    line-height: 21px;
    margin: 0 0 0.6rem 0 !important;
}

.wb-media-information p {
    color: #000 !important;
    font-family: 'Roboto', sans-serif !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 10.5pt !important;
    line-height: 19px !important;
}

/* Dark Mode  */
.wb-branded-player.dark-mode {
    background-color: #34393F !important;
    border: 1px solid #34393F !important;
}

.wb-branded-player.dark-mode .wbtv-embed-link a,
.wb-branded-player.dark-mode .wbtv-embed-link a > b,
.wb-branded-player.dark-mode .wbtv-embed-link i,
.wb-branded-player.dark-mode .wb-media-information h3,
.wb-branded-player.dark-mode .wb-media-information p {
    color: #fff !important;
}

/* Playlist styling  */
.wb-ent-v2-post-list-item-thumbnail-info {
    position: relative;
    text-align: center;
    padding-bottom: 0 !important;
}

.wb-ent-v2-post-list-item-thumbnail-info img {
    margin-bottom: 2px !important;
}

.wb-ent-v2-post-list-item-thumbnail-info .bottom-right {
    position: absolute;
    bottom: 8px;
    right: 8px;
}

.wb-post-list-media-duration-ent-v2 {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 4px;
    padding: 4px 8px;
    color: #fff;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: bold;
    font-size: 10.5pt;
}

.wb-ec-playlist-item h4 {
    color: #065F5D;
    font-family: 'Roboto', sans-serif !important;
    font-style: normal !important;
    font-weight: 900 !important;
    font-size: 18px !important;
    line-height: 21px;
    margin: 0 0 0.6rem 0 !important;
}

.dark-mode .wb-ec-playlist-item h4 {
    color: #fff !important;
}

.wb-ec-playlist-item.current-index img {
    filter: brightness(40%);
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.centered span {
    color: #fff;
    font-size: 14px !important;
    font-weight: 400;
    font-family: 'Roboto', sans-serif !important;
}

.wb-playlist-item-thumbnails {
    overflow-y: auto;
}

/* Terms Acceptance Window  */
.wb-branded-player .wb-ec-terms-accept-wrapper {
    margin: 0;
}

.wb-ec-terms-accept-wrapper {
    margin: 30px;
}

.wb-ec-terms-accept-success h3,
.wb-ec-terms-accept-wrapper h3 {
    color: #000;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 900;
    font-size: 18px;
    line-height: 21px;
    margin-bottom: 1.5rem;
}

.wb-ec-terms-accept-success p,
.wb-ec-terms-accept-wrapper p {
    color: #000;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
}
.wb-ec-terms-actions {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.wb-ec-terms-actions label {
    color: #000000;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    margin-bottom: 4px;
}

.wb-ec-checkbox-wrapper {
    display: block;
    margin-right: 3rem;
    margin-top: 33px;
    margin-bottom: 1rem;
}

.wb-ec-checkbox-wrapper input[type=checkbox] {
    margin-right: 8px;
    vertical-align: middle;
    width: 15px;
    height: 15px;
    margin-bottom: 3px;
}

.wb-ec-checkbox-wrapper label {
    vertical-align: middle;
}

.wb-ec-checkbox-wrapper input[type=checkbox] + label:before {
    content: "" !important;
}

.wb-ec-accepted-by-name-input {
    display: inline-block;
    margin-bottom: 1.3rem;
}

.wb-ec-accepted-by-name-input input[type="text"] {
    border-radius: 2px;
    border: 1px solid #B4B4B4;
    height: 36px;
    display: block;
    padding: 0.375rem 0.75rem;
    font-size: 14px;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    width: 400px;
}

.wb-ec-accepted-by-name-wrapper button {
    background-color: #065f5d;
    border-color: #065f5d;
    border-radius: 0;
    color: #ffffff !important;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    height: 36px;
    line-height: 18px;
    padding: 8px 16px;
    position: relative;
    margin-top: -1px;
    margin-left: .8rem;
}

.wb-ec-accepted-by-name-wrapper button:hover, 
.wb-ec-accepted-by-name-wrapper button:focus, 
.wb-ec-accepted-by-name-wrapper button:active {
    background-color: #024241 !important;
    border-color: #024241 !important;
}

.dark-mode .wb-ec-terms-accept-success h3,
.dark-mode .wb-ec-terms-accept-success p,
.dark-mode .wb-ec-terms-accept-wrapper h3,
.dark-mode .wb-ec-terms-accept-wrapper p,
.dark-mode .wb-ec-terms-accept-wrapper label {
    color: #ffffff !important;
}

.wb-ec-terms-accept-wrapper .error-item .alert {
    font-size: 14px !important;
    padding: 0.5rem !important;
}

.wb-ec-terms-accept-wrapper .error-item .alert button.close {
    font-size: 14px !important;
    padding: 0.65rem 0.8rem !important;
}

/* Podcast Episode Styling  */
.wb-ec-podcast-wrapper {
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: nowrap !important;
}

.wb-ec-podcast-wrapper .wb-ec-podcast-thumb img {
    min-width: 150px;
    width: 150px !important;
    height: 150px !important;
    object-fit: cover;
}

.wb-ec-podcast-wrapper .wb-ec-podcast-info {
    width: 100%;
}

.wb-ec-podcast-wrapper .wb-ec-podcast-info .wb-media-information h4 {
    color: #000000;
    font-family: 'Roboto', sans-serif !important;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
}

.wb-ec-podcast-ep-sub-links {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.wb-ec-podcast-wrapper .wb-ec-podcast-info .wb-media-information .wb-ec-podcast-ep-sub-links span {
    color: #000000;
    font-family: 'Roboto', sans-serif !important;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    margin-right: 10px;
    padding-bottom: 5px;
}

.wb-ec-podcast-wrapper .wb-ec-podcast-info .wb-media-information .wb-ec-podcast-ep-sub-links a {
    margin-right: 10px;
    padding-bottom: 8px;
}

.wb-success-rss-copy {
    color: #000000;
    font-family: 'Roboto', sans-serif !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 14px !important;
}

.dark-mode .wb-success-rss-copy,
.dark-mode .wb-ec-podcast-wrapper .wb-ec-podcast-info .wb-media-information h4,
.dark-mode .wb-ec-podcast-wrapper .wb-ec-podcast-info .wb-media-information .wb-ec-podcast-ep-sub-links span {
    color: #ffffff !important;
}

.wb-ec-podcast-sub-icons {
    height: auto;
    width: 24px;
}

/*** MOBILE PORTRAIT ***/
@media (max-width: 575.98px) {
    .wb-branded-player {
        padding: 20px 15px !important;
    }

    .wb-ent-v2-post-list-item-thumbnail-info img {
        width: 100% !important;
        max-height: 100% !important;
    }

    .wb-post-list-article-ent-v2 {
        padding-left: 0 !important;
    }

    .wb-ec-accepted-by-name-input {
        display: block !important;
    }

    .wb-ec-accepted-by-name-wrapper,
    .wb-ec-accepted-by-name-input input[type="text"] {
        width: 100% !important;
    }

    .wb-ec-accepted-by-name-wrapper button {
        margin-left: 0 !important;
    }

    .wbtv-embed-link {
        flex-wrap: wrap !important;
    }

    .wbtv-embed-link a {
        width: 100% !important;
    }

    .wbtv-embed-link a.wb-logo-link,
    .wbtv-embed-link a.wb-external-brand {
        text-align: center !important;
    }

    .wb-ec-audio-thumb.col-lg-3.col-sm-6 {
        display: none !important;
    }

    .wb-ec-audio-player.col-lg-9.col-sm-6 {
        -ms-flex: 0 0 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .wb-playlist-item-thumbnails.pl-0 {
        padding: 0 30px 5px 15px !important;
        margin-top: 1rem !important;
    }
    
    .wb-ec-podcast-wrapper {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    .wb-ec-podcast-thumb {
        width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        margin-bottom: .5rem !important;
    }

    .wb-ec-podcast-wrapper .wb-ec-podcast-thumb img {
        min-width: 100% !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        aspect-ratio: 1 / 1;
    }
}

/*** MOBILE LANDSCAPE ***/
@media (min-width: 576px) and (max-width: 767.98px) {
    .wb-branded-player {
        padding: 20px 15px !important;
    }

    .wb-ec-accepted-by-name-input {
        display: block !important;
    }

    .wb-ec-accepted-by-name-wrapper {
        width: 100% !important;
    }

    .wb-ec-accepted-by-name-wrapper button {
        margin-left: 0 !important;
    }

    .wbtv-embed-link {
        flex-wrap: wrap !important;
    }

    .wbtv-embed-link a {
        width: 100% !important;
    }

    .wbtv-embed-link a.wb-logo-link,
    .wbtv-embed-link a.wb-external-brand {
        text-align: center !important;
    }

    .wb-ec-audio-thumb.col-lg-3.col-sm-6 {
        display: none !important;
    }

    .wb-ec-audio-player.col-lg-9.col-sm-6 {
        -ms-flex: 0 0 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .wb-playlist-item-thumbnails.pl-0 {
        padding: 0 30px 5px 15px !important;
        margin-top: 1rem !important;
    }
    
    .wb-ec-podcast-thumb {
        padding-left: 1rem !important;
    }
}

/*** MEDIUM DESKTOP ***/
@media (min-width: 1025px) and (max-width: 1600px) {
    .wb-ent-v2-post-list-item-thumbnail-info img {
        width: 100% !important;
        max-height: 100% !important;
    }
}

/*** Wide Screen ***/
@media (min-width: 1601px)  {
    .wb-ent-v2-post-list-item-thumbnail-info img {
        width: 100% !important;
        max-height: 100% !important;
    }
}

/* Removes dark overlay on JW video player */
.jw-controls,
.jw-controls-backdrop {
	background: rgba(0, 0, 0, 0) !important;
}
