html, body {
    margin:0;
    padding:0;
    font-size:16px;
    font-family: 'Open Sans', sans-serif;
    width: 100%;
    height: 100%;
  box-sizing: border-box;
}


*, *:before, *:after {
  box-sizing: inherit;
}

.crumb {
    white-space: nowrap;
    /* transform: translate(0%, 5%); */
}


#banner{
    position:relative;
    width: auto;

    white-space: nowrap;
    overflow: auto;
}

#banner:hover {
    overflow-x: auto;
}

.banner_kc {
    /*
    background-color: blue;
    */
    width: 80px;
    height: 45px;
    display: inline-block;
    margin: .5rem .5rem;
    border: 1px solid #999;
}

.banner_background_container, .banner_image_container, .banner_text_container_holder {
    width: 100%;
    height: 100%;
}


.banner_text_container {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: .5rem;
    padding-right: .5rem;
    font-size: .75rem;
    z-index: 5;
}


.banner_background_container {
    z-index: 3;
}

.banner_text_container_holder {
    transform: translate(0%, -200%);
 }

.banner_image_container {
    transform: translate(0%, -100%);
    z-index: 2;
}

.text_left {
    text-align: left;
}

.text_center {
    text-align: center;
}

.text_right {
    text-align: right;
}

.text_top {
    width: 100%;
    position: absolute;
    top: 5%;
}

.text_middle {
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%);
}

.text_bottom {
    width: 100%;
    position: absolute;
    bottom: 5%;
}

.kc_canvas {
    border: 1px solid #999;
    border-radius: 2px;
    display: inline-block;
    height: 100%;
    width: 100%;
}

.background_container, .image_container, .text_container {
    width: 100%;
}

.background_container, .image_container {
    height: 100%;
}

.background_container {
    z-index: 3;
}

.image_container {
    transform: translate(0%, -100%);
    z-index: 2;
}

.text_container {
    z-index: .5;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 1.25rem;
    overflow-wrap: break-word;
}















#page {
    position: absolute;
    width: 100%;
}

.jumptop_control {
    position: absolute;
    z-index: 5;
    bottom: 5rem;
    right: 1rem;
    text-align: center;
    background-color: #eee;
    opacity: .7;
}

.icon_and_text {
    display: inline-block;
    text-align: center;
    line-height: .75rem;
    font-size: .6rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

#dot_canvas {
    z-index: 25;
}

#dot_holder {
    position: absolute;
    bottom: .5rem;
}

.pagetitle {
    width: 100%;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.5rem;
    width: 100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
    opacity: .8;
}

.rotate_45 {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}


.rotate_90 {
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
}

.rotate_135 {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
}

.rotate_180 {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
}

.rotate_225 {
    transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    -o-transform: rotate(225deg);
}

.rotate_270 {
    transform: rotate(90deg);
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    -o-transform: rotate(270deg);
}

.rotate_315 {
    transform: rotate(315deg);
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    -ms-transform: rotate(315deg);
    -o-transform: rotate(315deg);
}



/* nav divs */

#header {
    position: absolute;
    width: 100%;
}

#footer {
    position: absolute;
    width: 100%;
}

.topnav {
    padding-top: 1rem;
    border-bottom: 1px solid #d4d4d4;
}
    


.subnav {
    width: 100%;
    padding-top: 8px;
}

.resultnav {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    line-height: 1rem;
}

#resultnav {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    line-height: 1rem;
}

.curtail {
    text-overflow: ellipsis;
    width: 75%;
}

.result_text {
    white-space: nowrap;
    overflow: hidden;
    font-size: .75rem;
}

.bottomnav {
    padding-top: .625rem;
    padding-left: 2rem;
    padding-right: 2rem;
    border-top: 1px solid #d4d4d4;
}
    


    
.searchbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    border: none;

    outline:0;
    height:2.3rem;
    width: 100%;
    text-indent: 1rem;
    font-size: 1rem;
}

.searchbox::placeholder {
    text-indent: 1rem;
    font-size: 1rem;

    display: inline;
}

.search_container {
    border: 1px solid #d4d4d4;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    width: 100%;
    height: 2.5rem;
    line-height: 2.25rem;
}

.searchnav {
    width: 100%;
    padding-top: .75rem;
    padding-left: 1rem;
    /*
    padding-right: 16px;
    */
}

.clear_search_holder {
    position: absolute;
    display: none;
    right: 2.5rem;
    top: .75rem;
}

.searchnav .icon_and_text {
    padding-top: .5rem;
    padding-left: .5rem;
}








.special_nav_container {
    display: flex;
    justify-content: space-between;
    width:100%;
    position: absolute;
    line-height: 1.5rem;
}

.nav_container {
    display: flex;
    justify-content: space-between;
    width:100%;
    position: absolute;
    line-height: 1.5rem;
}

.evenly_spaced {
    font-size: 1rem;
}

.evenly_spaced a {
    float: left;
    display: block;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    /*margin: 8px;*/
}



.logout_button {
    text-align: center;
    border:1px solid #999;
    height: 3rem;
    position:absolute;
    right: 1rem;
    left: 1rem;
    bottom: 2.5rem;
}


.icon_holder {
    line-height: 60px;
    padding-right: 20px;
    margin-left: -48px;
}

.div_holder {
    position: absolute;
    margin-top: 12px;
    display: inline-block;
}

.text_holder {
    font-size: 1.25rem;
    opacity: .8
}

h3 {
    opacity: .8;
}

span {
    opacity: .8;
}



#container {
    position: relative;
    display:inline-block;
    max-height: 100%;
    max-width: 100%;
}

/* #canvas { */
.layer_canvas {
    display: inline-block;
    position:absolute;
    z-index:20;
}

.img-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}      

.img-container .centerer {
    display: inline-block;
    vertical-align: middle;
    /*
    height: 10%;
    */
}      

.img-container img {
    /*
    vertical-align: middle;
    */
    
    display: inline-block;
    max-height: 100%;
    max-width: 100%;
}


.message1 {
    line-height: 1.5rem;
    font-weight: bold;
    padding: 1rem;
    display: block;
}


.responsive-container {
    position: relative;
}      

.squash_square{
    padding-top: 100%;
}      

.squash_16x9 {
    padding-top: 57%;
}

.bottom-border-only {
    border-bottom:1px solid #ccc;
}

.bottom-border-and-padding {
    border-bottom:1px solid #ccc;
    padding-bottom: 8px;
}

.enclosed {
    border: 1px solid #ccc;
    border-radius: 2px;
}


.channel_desc_container {
    position:relative;
    height: 0px;
    top: 1.5rem;
    left: .5rem;
    max-width: 97%;
    text-align: left;

    z-index:1;
}

.channel_desc{
    display: inline-block;
    font-size: 1.5rem;
    white-space: nowrap;
    overflow: hidden;
    max-width: inherit;
    color: #3c3c3c;
}

.channel_subdesc {
    color: #666666;
}

.content_grid {
    display: grid;
    width: 100%;
    row-gap: 2rem;
    grid-template-columns: 47% 47%;
    column-gap: 6%;
    padding-bottom: 2rem;
}

.content_div {
    display: inline-grid;
}


.content_name {
    overflow: hidden;
    white-space: nowrap;
    margin-top: 8px;
    text-overflow: ellipsis;
    opacity: .8;
}


.channels_grid {
    display: grid;
    width: 100%;
    grid-template-columns: 100%;
    /* row-gap: 1rem; */
    column-gap: 0%;
}

.channels_div {
    display: inline-grid;
    margin-bottom: 1.5rem;
}


.channels_name {
    overflow: hidden;
    white-space: nowrap;
    margin-top: .5rem;
    margin-left: 12px;
    margin-bottom: .5rem;
    opacity: .8;
}



.hidden {
    display: none !important;
}




/* content */

.content_table_lview {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 .5rem;
}

.content_table_lview td {
    /*
    max-width: 0;
    */
    max-width: 3rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.content_td_img_lview {
    width: 3rem;
    border: 1px solid #aaa;
    text-align: center;
    padding: 0;
}

.content_td_name_lview {
    padding-left: 1rem;
}

.content_img_lview {
    max-width: 100%;
    max-height: 3rem;
    display: block;
    margin: auto;
}


.content_tr_lview {
    height: 3rem !important;
}








/* channels */

.channels_table_lview {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 1rem;
}

.channels_table_lview td {
    /*
    max-width: 0;
    */
    max-width: 3rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.channels_td_img_lview {
    width: 3rem;
    height: 1.6875rem;
    border: 1px solid #aaa;
    text-align: center;
    padding: 0;
    vertical-align: top;
}

.channels_td_name_lview {
    padding-top: 6px;
    padding-left: 1rem;
}

.channels_img_lview {
    max-width: auto;
    max-height: 1.6875rem;
    display: block;
    margin: auto;
}


.channels_tr_lview {
    height: 1rem !important;
}









.smaller {
    font-size: .75rem;
}


.content_info_header {
    margin-top: 2rem;
    margin-bottom: 2rem;
    white-space: nowrap;
    overflow: hidden;
}

.content_info_thumb {
    display: inline-block; 
    width: 3rem;
    margin-right: 1rem;
}

.content_info_name {
    display: inline-block;
}


.content_info_title {
    text-overflow: ellipsis;
    display: inline-block;
    font-weight: bold;
    opacity: .8;
}


.content_info_date {
    font-size: .75rem;
    margin-bottom:.5rem
}

.content_info_attr_header {
    margin-top:2rem;
    margin-bottom:1rem;
    font-weight: bold;
    font-size: 1rem;
    opacity: .8;
}

.content_info_tag_key {
    font-weight: bold;    
    padding-right: 1.5rem;
    opacity: .8;
}

.content_info_tag_value {
}

.overlay {
    width:100%;
    height:100%;
    overflow: auto;
    display: none;
    z-index: 2;
}

#content_item_menu {
    display: none;

}

.menu_item {
    line-height: 2.5rem;
}

.menu_item_text {
    vertical-align: top;
    line-height: 2rem;
    padding-left: 1rem;
    padding-bottom: 1rem;
}

.info_section {
    position: absolute;
    width: 100%;
    height: 80%;
    padding-left: 1rem;
    padding-right: 1rem;
    top: 20%;
    z-index: inherit;
}

@media (prefers-color-scheme: light) {
    .info_section {
        background-color: white;
    }
}

@media (prefers-color-scheme: dark) {
    .info_section {
        background-color: black;
    }
}

.dimmer {
    position: absolute;
    background-color: rgba(0,0,0,.6);
    top: 0;
    height: 20%;
    width: 100%;
    z-index: inherit;
}


.lists {
    top: 1.5rem;
    bottom: 1.5rem;
    width: 100%;
    position: absolute;
    overflow: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.lists3 {
    top: 4.75rem;
    bottom: 1.5rem;
    width: 95%;
    position: absolute;
    overflow: auto;
    padding-left: .25rem;
    padding-right: .75rem;
}

.lists3:hover {
    overflow-y: auto;
}


.landscape_lists {
    display: none;
}

@media only screen and (min-width: 768px) {
    .content_grid {
        grid-template-columns: 29.33% 29.33% 29.33%;
        column-gap: 6%;
    }

    .channels_grid {
        grid-template-columns: 49% 49%;
        column-gap: 2%;
    }
}

@media only screen and (min-width: 1024px) {
    .content_grid {
        grid-template-columns: 20.5% 20.5% 20.5% 20.5%;
        column-gap: 6%;
    }

    .channels_grid {
        grid-template-columns: 32% 32% 32%;
        column-gap: 2%;
    }
}

/*
@media only screen and (orientation: landscape) {

    #header {
        width: 35%;
    }

    .landscape_lists {
        display: block;
        position: absolute;
        width: 35%;
        overflow: auto;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    #footer {
        width: 35%;
    }

    .lists {
        width: 65%;
        padding-left: .5rem;
        padding-right: .5rem;
    }
}
*/


.center-message {
    margin: 0;
    /*
    color: #262626;
    */
    text-align: center;
    top: 40%;
    width: 100%;
    position: relative;
}

.center {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}


.gray_back {
  animation: animateBg 2.5s linear infinite;
  background-image: linear-gradient(270deg,#d4d4d4,#f4f4f4,#d4d4d4);
  background-size: 1100% 100%;
}
@keyframes animateBg {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 0%; }
}


.spinner {
    border: 6px solid #515151;
    border-radius: 50%;
    border-top: 6px solid #f4f4f4;
    width: 48px;
    height: 48px;
    -webkit-animation: spin 1s linear infinite; /* Safari */
    animation: spin 1s linear infinite;
    display: inline-block;
    top: 50%;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}












