

@media (min-width: 769px) {
   .hs-unfold.logom {
       display:none !important;
   }
    .navbar-body.jnav {
        display:none !important;
    }
    div.vlogo {
        margin-left:-10px !important;
    }
    img.jimagetop {
        width:  278px !important;
        height: 151px !important;
    }
    img.jimagebottom {
        width:  219px !important;
        height: 123px !important;
    }
    .catcontainer {
        margin-top: 0px !important;
    }
    .jsearch {
        width: 267px;height:146px !important;
    }
    .jrelated {
        width: 260px !important;
        height: 190px !important;
    }
    .jnext {
        width: 135px !important;
        height: 90px !important;
    }
}

@media (max-width: 768px) {
    a.navbar-brand {
        width:60% !important;
    }
    div.vlogo {
        float:none !important;
        position:relative !important;
        left:55% !important;
        margin-left: -40px !important;
    }
    img.jimagetop {
        width:  384px !important;
        height: 209px !important;
    }
    img.jimagebottom {
        width:  384px !important;
        height: 209px !important;
    }
    .catcontainer {
        margin-top: 0px !important;
    }
    div.jrandom {
        margin-left:0px !important;
    }
    .jrss {
        display:none !important;
    }
    .jsearch {
        width:  384px !important;
        height: 209px !important;
    }
    .jnext {
        width: 75px !important;
        height: 56px !important;
    }
}



/**VIDEO PLAYER STUFF**/
.innerControls input {
    font-weight: normal;
    float: right;
}

.innerControls.permalink {
    display: inline-block;
}

@media (prefers-color-scheme: dark) {

    .ace-github {
        background: #000;
        color: #fff;
    }

    .ace-github .ace_gutter {
        background: #181818;
        color: #888;
    }

    .ace-github .ace_marker-layer .ace_active-line {
        background: #111;
    }

    .ace-github.ace_focus .ace_marker-layer .ace_active-line {
        background: #321;
    }

    div.config-editor-commands {
        background-color: #444;
        border-color: #333;
    }

    button.btn {
        color: #050505;
    }

    canvas {
        background: #bbb;
    }
}

#controls {
    display: flex;
    flex-direction: column;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto 20px auto;
    border: 1px solid #606060;
    overflow: hidden;
}

.demo-controls-wrapper {
    flex: 1 1 auto;
    max-width: 100%;
    padding: 5px 5px 0 3px;
}

.config-editor-wrapper {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    border-top: solid 1px #ccc;
    height: 256px;
}

.config-editor-container {
    flex: 1 1 auto;
    position: relative;
    width: 100%;
    height: 100%;
}

#config-editor {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.config-editor-commands {
    flex: 1 1 auto;
    background-color: #ddd;
    border-top: solid 1px #ccc;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.config-editor-commands label {
    margin-bottom: 0;
}

.config-editor-commands button {
    padding: 5px 8px;
    font-size: 14px;
}

.innerControls {
    display: flex;
    font-size: 12px;
    align-items: center;
    margin-bottom: 5px;
    padding-left: 5px;
    justify-content: space-between;
}

.videoCentered {
    width: 720px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.center {
    width: 70%;
    min-width: 615px;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

#toggleButtons button {
    width: 16%;
    display: inline-block;
    text-align: center;
    font-size: 10pt;
    font-weight: bolder;
    background-color: rgb(181, 222, 255);
    padding: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
}

#statusOut {
    height: auto;
    max-height: calc((17px * 3) + 19px);
    overflow: auto;
}

#errorOut {
    height: auto;
    max-height: calc((17px * 3) + 19px);
    overflow: auto;
}

#streamURL,
#streamSelect {
    width: calc(100% - 4px);
    margin-left: 3px;
}

#streamURL {
    margin-bottom: 10px;
    padding-left: 3px;
}

#streamSelect {
    padding: 5px 0;
}

#StreamPermalink {
    overflow-wrap: break-word;
    overflow: hidden; /* for IE11 */
}

#StreamPermalink a {
    font-size: 10px;
    font-family: monospace;
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    #controls {
        flex-direction: row;
    }

    .demo-controls-wrapper {
        max-width: 50%;
    }

    .config-editor-wrapper {
        height: auto;
        border-top: 0;
        border-left: solid 1px #ccc;
    }
}


/**adsense**/
.bottom_banner { width: 320px; height: 100px; }
@media(min-width: 500px) { .bottom_banner { width: 468px; height: 60px; } }
@media(min-width: 800px) { .bottom_banner { width: 728px; height: 90px; } }
