body {
    color: #222;
    background: white;
}

h1, h2, h3, h4, h5, h6 {
    color: #555;
}

body.light-page {
    color: #222;
    background: #FFF;
}

.text-muted {
    color: #aaa;
}

.content-section-a,
.content-section-b {
    background: white;
    color: #222;
    /*border-top: 1px solid #DDD;*/
    border-top: none;
    border-bottom: none;
}

.content-section-b {
    background: white;
}

.content-section-a.action-links, .content-section-b.action-links {
    padding: 0;
}

footer, footer a {
    background: white;
    color: #777;
}

footer a:hover {
    color: black;
}

/*.banner .container .row {*/
/*text-align: center;*/
/*}*/

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    background-color: #f8f8f8;
}

table.kick td, table.kick td * {
    vertical-align: top;
}

.title-area {
    text-align: center;
}

.full-page-content {
    padding: 40px;
    margin-top: 1em;
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
    /*color: #ddd;*/
    font-size: 16px;
}

/*.show-episode-page.full-page-content {*/
/*max-width: none;*/
/*}*/

.show-episode-page .right-bar {
    text-align: center;
}

.all-episodes-page .subscribe-buttons {
    background-color: transparent;
    border: none;
    margin-top: 30px;
    margin-bottom: 30px;
}

.all-episodes-page h1 {
    text-align: center;
}


@media (max-width: 800px) {
    .show-episode-page h1 {
        font-size: 28px;
    }

    .show-episode-page .published-date {
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .show-episode-page h1 {
        font-size: 24px;
    }

    .show-episode-page .published-date {
        font-size: 11px;
    }
}

@media (max-width: 500px) {
    .show-episode-page h1 {
        font-size: 20px;
    }

    .show-episode-page .published-date {
        font-size: 10px;
    }
}

.full-page-content .top {
    padding-left: 20px;
}

.show-side {
    text-align: center;
}

.guest {
    float: left;
    text-align: center;
    margin-right: 20px;
    margin-top: 10px;
}

.guests.singular .guest {
    padding-left: 60px;
}

.guest .guest-name {
    font-size: 18px;
    padding-top: 10px;

}

.guest .img {
    height: 150px;
}

.title {
    font-size: 24px;
}

.player {
    margin-top: 0px;
}

.home.player {
    float: left;
}

.player .btn {
    font-size: 16px;
    display: block;
    margin-top: 5px;
}

.player .btn.first {
    margin-top: 24px;
}

.host-image {
    height: 200px;
    margin-top: 40px;
    margin-bottom: 10px;
}

.host-image-area.about .host-image {
    margin-top: 0px;
}

.host-image-area.about {
    font-size: 18px;
}

.host-image-area {
    text-align: center;
    font-size: 24px;
}

/*.full-page-head {*/
/*margin-top: 51px;*/
/*background-size: cover;*/
/*height: 175px;*/
/*}*/
/*.full-page-head.contact {*/
/*background: url(/static/img/about-banner-short.png) no-repeat center center;*/
/*}*/

/*.contact .header-image {text-align: center;}*/
/*.contact .header-image img {*/
/*width: 700px;*/
/*margin-top: -10px;*/
/*}*/

.contact .contact-side img {
    width: 400px;
    margin-top: 20px;
}

.contact .main-text {
    font-size: 17px;
    text-align: left;
}

.friends .main-text {
    font-size: 17px;
    text-align: left;
}

.friends .twitter {
    font-size: 36px;
    margin-left: 100px;
}

.logo-image {
    height: 40px;
    margin-top: -10px;
}

/*a.light-access-link {*/
/*color: #5BC0DE;*/
/*}*/

.contact .contact-types {
    /*text-align: center;*/
    font-size: 20px;
    margin-left: 0px;
}

.contact .contact-types a {
    color: #51a2bf;
    display: inline-block;
    /*margin-right: 20px;*/
    padding: 5px;
}

.main-text {
    text-align: left;
}

.large-content-text {
    font-size: 17px;
}

.main-text,
.large-content-text {
    font-weight: 400;
}

.error-msg {
    color: #dd072c;
}

#account-login input,
#account-login textarea {
    color: black;
    width: 500px;
    padding: 5px;
    font-size: 20px;
}

#account-login input,
#account-login button {
    margin-top: 10px;
}

.show-episode-page .download-coming {
    text-align: center;
}

.show-episode-page .guest-bio {
    text-align: left;
    font-weight: 300;
    padding-top: 20px;
    font-size: 15px;
}

.show-episode-page-placement.patreon-section {
    margin-top: 0px;
}

.home .player .btn {
    width: 300px;
}

.sponsor-area-show-page {
    text-align: center;
    font-size: inherit;
    margin-bottom: 10px;
    padding-right: 25px;
}

.sponsor-area-show-page.e2 {
    padding-right: 0px;
}

.error-content-section {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;

    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 75px;
}

.error-content-section,
.error-content-section h1,
.error-content-section h2 {
    color: white;
}

.error-content-section img {
    height: 450px;
}

.patreon-section {
    font-weight: 300;
    line-height: 2em;
    width: 490px;
    /*text-align: center;*/
    margin: 50px auto 0px;
}

.patreon-section .text {
    margin-left: 0px;
}

.full-page-content.comments {
    padding-top: 5px;
    margin-top: 0px;
}

.transcript-main {
    line-height: 2.2em;
}

.transcript-main p {
    /*padding: 10px;*/
    /*padding-bottom: 20px;*/
    font-size: 16px;
}

.active-transcript-segment {
    background-color: lightblue;
    color: black;
}

.transcript-episode-page .filter-section {
    display: block;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
}

#transcript-player-top {
    position: fixed;
    height: 50px;
    top: 50px;
    width: 100%;
    z-index: 1000;
    padding-left: 10px;
    padding-right: 10px;
}

#transcript-player-top audio {
    width: 100%;
    height: 40px;
}

.highlight {
    background-color: #FF8;
    color: black;
}

#filter-msg {
    color: #777;
    font-size: 14px;
    padding: 20px;
    padding-bottom: 0px;
    text-align: center;
}

.fa-heart {
    color: red;
}

footer {
    font-weight: normal;
}

.copyright,
.made-with-love {
    line-height: 1.5em;
    letter-spacing: 2px;
}

.show-episode-page h1 {
    margin-bottom: 0px;
}

.published-date {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 20px;
}

.recorded-date {
    color: #999;
    font-weight: 200;
}

#global-livestream-message {
    display: block;
    text-align: center;
    padding: 8px;
    background-color: red;
    color: #FFFFFF;
    margin-top: 50px;
    margin-bottom: 0px;
    font-weight: normal;
    font-size: 24px;
    font-family: "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    letter-spacing: 1.2px;
}

#global-livestream-message div {
    display: inline-block;
    vertical-align: middle;
}

#global-livestream-message img {
    height: 100px;
    border-radius: 5px;
    vertical-align: middle;
}


#global-sponsor-message {
    display: block;;
    text-align: center;
    padding: 10px;
    background-color: #F2F2F2;
    /*border-top: 2px solid #CCC;*/
    color: black;
    margin-top: 50px;
    margin-bottom: -50px;
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 2px;
}

#global-sponsor-message #name_text {
    color: white;
}

#global-sponsor-message .do {
    color: #026aff;
    font-weight: bold;
}

#ad-second-slot {
    margin-top: 1em;
}

.sponsor-area-show-page img {
    width: 252px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.extras-area-show-page .partner-slot img {
    border: 1px solid #333;
    border-radius: 5px;
}

.show-episode-page .partner-slot {
    margin-top: 10px;
}

.course-img {
    max-width: 350px;
    text-align: center;
    display: inline-block;
    padding: 8px;
    padding-top: 20px;
}

.course-img img {
    border-radius: 5px;
}

.course-img img.sm {
    /*width: 135px;*/
    height: 101px;
}

.episodes .date-text {
    white-space: nowrap;
}

.github-link a {
    /*color: white;*/
    font-size: 24px;
}

.well {
    background-color: #444;
    border: #353535;
}

.navbar-brand.image {
    vertical-align: middle;
}

.navbar-brand.name {
    font-size: 22px;
    font-weight: normal;
    letter-spacing: 1.1px;
}

.nav > li > a {
    font-size: 16px;
    padding-left: 10px;
    padding-right: 10px;
}

.logo-key {
    color: #f19128;
}

.logo-operator {
    color: black;
}

.logo-var {
    color: #000;
}

.navbar-default .navbar-brand {
    color: #aaa;
}

.navbar-default .navbar-brand:focus,
.navbar-default .navbar-brand:hover {
    color: black;
}

/* ************ SEARCH ************ */
.search_page input {
    display: inline-block;
    width: 350px;
    font-weight: bold;
    margin-right: 20px;
}

.search_page h1, .search_page h2 {
    text-align: center;
}

.search_page form {
    text-align: center;
    margin-top: 20px;
}

.search-results-summary {
    font-size: 14px;
    color: #8c8c8c;
}

.search-result {
    padding: 5px;
    margin: 5px;
}

/*.search-result .e_title a {*/
/*color: #fffd82;*/
/*}*/

.search-result .e_title {
    font-size: 16px;
}

.search-result .e_title i {
    color: red;
}

.search-result .e_date {
    color: gray;
    font-size: 12px;
    margin-left: 20px;
    font-weight: 400;
}

/* Search result topics list */
.search-result .e_topics {
    margin-top: 10px;
    margin-left: 20px;
}

.search-result .topics-list {
    margin: 8px 0;
    padding-left: 25px;
    list-style-type: decimal;
}

.search-result .topics-list li {
    margin: 4px 0;
    font-size: 0.95em;
    line-height: 1.4;
}

.search-result .topics-list a {
    color: #337ab7; /* Bootstrap link color */
    text-decoration: none;
}

.search-result .topics-list a:hover {
    text-decoration: underline;
    color: #23527c;
}

/* Search term highlighting */
.search-highlight {
    background-color: #ffeb3b;
    padding: 2px 1px;
    border-radius: 2px;
}

/* Filter toggle container */
.filter-toggle-container {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* iOS-style toggle switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
    margin: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #34c759; /* iOS green */
}

.toggle-switch input:focus + .toggle-slider {
    box-shadow: 0 0 1px #34c759;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(16px);
}

.toggle-label {
    font-size: 14px;
    color: #666;
    user-select: none;
}

.search-result .e_desc {
    padding: 10px;
    padding-bottom: 0px;
    font-size: 16px;
    line-height: 1.5em;
    font-weight: normal;
    color: #8c8c8c;
}

@media (max-width: 600px) {
    .navbar-default .navbar-brand {
        font-size: 16px;
    }
}

#comment-button {
    width: 80%;
    background-color: #426082;
    color: white;
    cursor: pointer;
    padding: 15px;
    text-align: center;
    font-size: 20px;
    text-transform: uppercase;
}

.ethical {
    margin-top: 5px;
    font-style: italic;
    color: #999;
    font-size: 12px;
}


.patreon {
    margin-top: 10px;
}

.admin-home .published-episode {
    color: #777;
}

.admin-home {
    font-size: 16px;
}

.admin-home .published-episode i {
    color: #00540b;
}

.admin-home .upcoming-episode i {
    color: #000299;
}

.admin-home .add-show i, .admin-home .add-show a {
    color: #f05330;
}

.admin-home .add-user i, .admin-home .add-user a {
    color: #006c0d;
}

.admin-home .guests .user-id {
    color: #f05330;
}

.admin-home .guests .user-name {
    color: white;
}

.admin-home .published-episode i,
.admin-home .upcoming-episode i,
.admin-home .add-show i,
.admin-home .add-user i,
.admin-home .guests i {
    display: inline-block;
    min-width: 20px;
}

.admin-home .upcoming-episode {
    font-weight: bold;
}

.friends .main-text.sponsors .sponsor {
    text-align: center;
    font-size: 14px;
    min-width: 200px;
}

.sponsors .sponsor {
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
    padding: 10px;
}

.sponsors .sponsor img {
    height: 150px;
    border: 1px solid gray;
}

.sponsor a.company {
    color: black;
    font-weight: bold;
}

.sponsor a.product {
    color: #444;
    font-weight: bold;
}


.CodeMirror, .editor-toolbar {
    margin-left: 10px;
    margin-right: -10px;
}

.editor-toolbar {
    opacity: 1.0;
    background-color: white;
}

.editor-toolbar:hover {
    opacity: 1.0;
}

.CodeMirror pre {
    font-size: 12px;
}

.CodeMirror-code {
    font-size: 12px;
}

.editor-toolbar {
    font-size: 14px;
}

.streaming-page h1 {
    text-align: center;
    margin-bottom: 20px;
}

.streaming.live {

}

.youtube-banner {
    font-size: 128px;
    display: block;
}

a.youtube-brand {
    color: #ff3737;
    font-weight: bold;
}

.streaming-page .cta-now {
    text-decoration: underline;
}

.streaming-page .active-now {
    color: #00b158;
}

.streaming-page .off-now {
    color: #ff3737;
}

.streaming-page .subtitle {
    text-align: center;

}

.streaming-page .subtitle > div {
    margin-bottom: 20px;
}

.streaming-page a.btn {
    color: white;
}

.streaming.off .subtitle {
    margin-top: 20px;
    font-size: .85em;
}

.streaming.off img {
    border-radius: 5px;
}

.live-stream-list .live-stream {
    font-family: monospace;
}

.live-stream-list .live-stream.past {
    color: #a7a7a7;
}


.redirect-modified-date {
    display: inline-block;
    min-width: 100px;
    margin-left: 5px;
}

.redirect-count {
    display: inline-block;
    min-width: 45px;
    text-align: right;
    padding-right: 5px;
}

.redirects.main-text {
    font-weight: normal;
}


/* ******************* Start Youtube overlay image ******************** */
/* Main container */
.youtube-overlay-image {
    position: relative;
    width: 100%;
}

.youtube-overlay-image .youtube-container {
    text-align: center;
    width: 100%;
}

/* Original image */
.youtube-overlay-image .youtube-image {
    display: block;
    width: 560px;
    height: auto;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.youtube-overlay-image .youtube-image,
#ad-first-slot {
    margin-top: 10px;
}

/* Original text overlay */
.youtube-overlay-image .normal .text {
    color: red;
    font-size: 48px;
}

.youtube-overlay-image .hover .text {
    color: white;
    font-size: 24px;
}

.youtube-overlay-image .text {
    color: red;
    line-height: 1.5em;
    text-shadow: 2px 2px 2px #000;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

/* New overlay on hover */
.youtube-overlay-image .hover {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    margin-top: 30px;
    transition: .5s ease;
    color: white;
}

/* New overlay appearance on hover */
.youtube-overlay-image:hover .hover {
    opacity: 1;
}

/* On screens that are 00px or less */
@media screen and (max-width: 800px) {
    .youtube-overlay-image {
        width: 400px;
    }

    .youtube-overlay-image .youtube-image {
        width: 400px;
    }

    .youtube-overlay-image .youtube-container {
        width: 400px;
    }

    .youtube-overlay-image .text {
        width: 400px;
    }

    .youtube-overlay-image .hover {
        width: 400px;
    }
}

/* On screens that are 500px or less */
@media screen and (max-width: 500px) {
    .youtube-overlay-image {
        width: 300px;
    }

    .youtube-overlay-image .youtube-image {
        width: 300px;
    }

    .youtube-overlay-image .youtube-container {
        width: 300px;
    }

    .youtube-overlay-image .text {
        width: 300px;
    }

    .youtube-overlay-image .hover {
        width: 300px;
    }
}

/* ******************* End Youtube overlay image ******************** */


.admin-home .upcoming-episode i.clear-youtube-image-button,
.admin-home .published-episode i.clear-youtube-image-button {
    color: #fa7474;
}

.live-stream-subtitle {
    text-align: center;
    color: #555;
    font-size: .75em;
}


/* *********************** Subscribe in your player ******************* */
.subscribe-buttons {
    font-size: 10px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    color: black;
    padding-top: 0px;
    padding-bottom: 0px;
}

.subscribe-buttons a {
    display: inline-block;
    color: black;
    margin: 3px;
    text-align: center;
}

.subscribe-buttons img {
    margin-left: auto;
    margin-right: auto;
    padding-left: 2px;
    padding-right: 2px;

    width: 42px;
    display: block;
}

.subscribe-buttons .subscribe-cta {
    font-size: 1.5em;
    margin-top: 5px;
    font-weight: bold;
}


.show-episode-page .our-offerings h3 {
    font-size: 20px;
}

.full_html_description a {
    font-weight: bold;
}

.transcript-actions {
    text-align: left;
    margin-top: 10px;
    margin-bottom: 10px;
}

.transcript-actions a {
    color: white;
}

.transcript-actions a.btn-default {
    color: black;
}


.caches-page .panel.panel-default {
    border: 1px solid #999;
    background-color: #eee;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.caches-page .panel.panel-default .panel-body {
    padding: 25px;
}

.caches-page .panel.panel-default .panel-body .row {
    margin-bottom: 20px;
}