.kids {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 18px;
    line-height: 1.4;
}

.kids * {
    -moz-box-sizing: inherit;
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}

.kids-container { padding: 0 5%; }

.bg-hdr-images {
    position: absolute;
    width: 100%;
}
.bg-image-under {
    background: url(../images/kids-v2/Header_bottom_layer.png) no-repeat;
    height: 401px;
    background-attachment: fixed;
    background-position-x: right;
}
.bg-image-bottom {
    position: fixed;
    top: 0;
    right: 0;
    z-index: -1;
}
.bg-image-top {
    z-index: 10;
    margin-top: -401px;
    text-align: right;
}

.bg-image-bottom,
.bg-image-bottom img,
.bg-image-top,
.bg-image-top img {
    background-color: transparent;
}

.kids-main {
    margin-top: 401px;
}

/* .col-kids,
.col-mini {
    float: left;
    width: 48%;    
} */

.col-kids img,
.col-mini img {
    margin-bottom: 20px;
}

/* .col-kids {
    margin-right: 30px;
} */

.clearer {
    clear: both;
}

.kids-header {
    margin: 40px 0 60px;
    position: relative;
}

.kids-header .hdr-content {
    padding: 10px;
}
.kids-header .subtitle {
    font-weight: bold;
    font-size: 1.3em;    
}
.kids-header .hdr-content div {
    margin-bottom: 20px;
}

.kids-share {
    color: #005DAA;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    right: 0;
    top: 0;
}

.kids-share p {
    font-weight: 600;
    line-height: 42px;
    margin: 0;
}

.kids-share-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.kids-share-item { margin-left: 10px; }

.kids-share-item a { display: block; }

.kids-share-icon {
    display: block;
    fill: #005DAA;
}

.kids-share-icon:hover { fill: #6CB33F; }

.kids-nav {
    bottom: 0;
    position: absolute;
    right: 0;
}

.kids-nav-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.kids-nav-item { margin-left: 40px; }

.kids-nav-item:first-child { margin-left: 0; }

.kids-nav-button {
    background-color: #6CB33F;
    border: 4px solid #6CB33F;
    border-radius: 30px;
    color: #fff;
    display: inline-block;
    font-size: 28px;
    font-weight: 600;
    padding: 6px 30px;
}

.kids-nav-button:hover,
.kids-nav-button.is-active {
    background-color: #fff;
    color: #6CB33F;
    text-decoration: none;
}

.kids-action {
    background-color: rgba(255,165,0,0.7);
    border-radius: 20px;
    /* border: 10px solid #fff; */
    /* box-shadow: 0 0 10px rgba(0,0,0,0.4); */
    display: block;
    height: 150px;
    margin: 23% auto;
    position: relative;
    width: 150px;
}

.kids-action img {
    left: 50%;
    position: absolute;
    top: 40%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.kids-heading {
    color: #005DAA;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin: 20px 0 10px 0;
}

/* .kids-heading:first-child { margin-top: 0; }
.kids-heading:last-child { margin-bottom: 0; } */

.kids-heading--white { color: #fff; }

.tab-pane {
    padding: 60px 40px;
    background-color: #efefef;
}
#kidShowsTab .nav-link,
#kidShowsTab .nav-link.active {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

#kidShowsTab li:first-child {
    margin-right: 20px;
}
#kidShowsTab .nav-link {
    color:#fff;
    background-color: #ccc;
}
#kidShowsTab .nav-link.active {
    color: #005DAA;
    background-color: #efefef;
}
#kidShowsTab .nav-link {
    border-color: #c4c4c4 !important;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}
#kidShowsTab .nav-link.active {
    border-color: #efefef !important;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}
#kidsTabContent .tab-pane {
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.kids-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
}

.kids-grid-cell {
    -webkit-box-flex: 0;
    -ms-flex: 0 1 47%;
    flex: 0 1 47%;
    margin-bottom: 50px;
    width: 47%;
}

.kids-grid-cell:nth-child(odd) { margin-left: 0; }

.schedule-tab-pane .kids-thumbnail {
    /*background-color: #CBCBCB;
    border-radius: 40px;*/
    overflow: hidden;
    margin: 0 auto;
}
.printable-tab-pane .kids-thumbnail {
    background-color: #CBCBCB;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}
/* Quick-zoom Container */
.schedule-tab-pane .kids-thumbnail img {
    /* transform-origin: 0 0; */
    transition: transform .25s, visibility .25s ease-in;
}

/* The Transformation */
.schedule-tab-pane .kids-thumbnail:hover img {
    transform: scale(1.2);
}

.kids-thumbnail-img {
    /* border: 4px solid #CBCBCB; */
    /*border-radius: 40px;*/
    display: block;
    width: 100%;
}

.kids-thumbnail-overlay {
    background-color: transparent;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    -webkit-transition: background-color 0.2s;
    transition: background-color 0.2s;
    width: 100%;
}

.kids-thumbnail:hover .kids-thumbnail-overlay { 
    background-size: 100% 100%;
    background-color: rgba(255,165,0,0.7); 
}

.kids-thumbnail-overlay-content {
    left: 0;
    padding: 20px;
    position: absolute;
    text-align: center;
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 100%;
}

.kids-thumbnail-overlay-content p {
    opacity: 1;
    padding: 70% 0 20px;
    text-align: center;
    -webkit-transition: opacity 0.2s;
    transition: opacity 0.2s;
    width: 100%;
}


.kids-thumbnail:hover .kids-thumbnail-overlay-content p { opacity: 1; }

.kids--cell {
    position: relative;
    /* background-image: url('../images/kids/thumbs/ActivitySheets-MazeTeepee-thumb.jpg'); */
}
.kids--cell .bg-img {
    /* position: absolute;
    top: 0;
    left: 0; */
    z-index: 0;
}
/* .kids--cell .bg-img::after {
    content: 'Download!';
    color: #000;
} */
.kids-hover-effect {
    position: absolute;
    top: 0;
    display: inline-block;
    /* font-size: 30px;
    font-family: arial; */
    /* background-image: linear-gradient(rgba(255,165,0,0.7), rgba(255,165,0,0.7)); */
    background-image: none;
    background-repeat: no-repeat;
    transition: background-size .5s, color .5s;
    opacity: 0.9;
    z-index: 100;
}
.center-corner {
    background-position: 50% 50%;
    z-index: 100;
}
.center-corner {
    background-size: 40% 50%;
    z-index: 100;
    height: 100%;
    width: 100%;
    border-radius: 40px;
}
.kids-hover-effect:hover {
    background-size: 100% 100%;
    color: #fff;
    z-index: 100;
    background-image: linear-gradient(rgba(255,165,0,0.8), rgba(255,165,0,0.8));
}
.kids-hover-effect:hover .kids-action {
    background-color: unset;
    transition: background-color .5s, color .5s;
}
.kh-spc {
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    font-weight: 700;
}

.kids-content { margin-top: 10px; }

.kids-schedule {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.kids-schedule dt,
.kids-schedule dd {
    border-top: 3px solid #E6E6E6;
    padding: 15px 0;
    margin: 0;
}

.kids-schedule dt {
    color: #005DAA;
    -webkit-box-flex: 1;
    -ms-flex: 1 0 30%;
    flex: 1 0 30%;
    width: 30%;
}

.kids-schedule dd {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 70%;
    flex: 1 0 70%;
    padding-left: 15px;
    width: 70%;
}

.kids-footer { margin: 40px 0; }

.kids-stream { text-align: center; }

.kids-stream hr {
    border: 0;
    border-top: 3px solid #E6E6E6;
}

.kids-stream-feature { margin-bottom: 1.618em; }

.kids-stream-heading {
    color: #ee4025;
    font-size: 60px;
    font-weight: bold;
    line-height: 1.2;
    margin: 10px 0 50px;
}

.vjs-playlist {
    max-width: 880px !important;
    text-align: left;
}

.kids-header a,
.kids-grid a {
    color: #61A60E;
    font-weight: bold;
    text-decoration: underline;
    font-size: 1.1em;
    /* display: block; */
    overflow-wrap: break-word;
}
.kids-header a:hover,
.kids-grid a:hover {
    color: #72C40F;
}

small {
    font-size: 0.8em;
}

/**********  added new on 15h Oct, 2024 ***********/
.kids-record{
    margin-bottom: 10px;
}
.kids-record-image{
    height: 80px;
    padding-left: 0px;
}
.style1{
    width: 19%;
}
.style2{
    width: 27%;
    margin-top: 14px;
}
.kids-record h6{
    margin-top: 30px; 
    margin-bottom:  10px; 
    font-size: 17px;
}
.kids-record .row{
    margin-bottom: 5px;
    margin-left: 0px
}
.kids-record .col-2{
    color: #005daa;
    padding-left: 0px;
    font-weight: 600;
    font-size: 14px;
    padding-top: 5px;
}
.sch-date{ 
    padding-right: 10px;
    font-size: 16px;
}
.sch-TZ{
    font-size: 14px;
    font-weight: 600;
}
.stream_on{
    text-align: left;
    margin-top: 30px;
}
.stream_on span{
    font-size: 22px;
    font-weight: 600;
}
.stream_on img{
    width: 15%;
    margin-bottom: 9px;
}
.explore-more{
    text-align: left;
}
.explore-more span{
    font-size: 15px;
    font-weight: 600;
}
.explore-more a{
    font-size: 15px;
    font-weight: 600;
}
/*********** end of it ***********/

@media only screen and (min-width: 768px) {
    #wrapper {
        margin-top: -21px;
    }
}


@media only screen and (min-width: 1401px) {

    .kids {
        background:
                url("../images/kids-v2/Tree.png") left 15px no-repeat,
                url("../images/kids-v2/Frog.png") right 36% no-repeat;
                /* url("../images/kids/spheres-03.jpg") left 60% no-repeat,
                url("../images/kids/spheres-footer.jpg") bottom right no-repeat; */
    }

    .kids--tall {
        background:
                url("../images/kids-v2/Tree.png") left 15px no-repeat,
                url("../images/kids-v2/Frog.png") right 24% no-repeat;
                /* url("../images/kids-v2/Tree2.png") left 36% no-repeat,
                url("../images/kids-v2/Frog2.png") right 48% no-repeat; */
                /* url("../images/kids/spheres-05.jpg") left 60% no-repeat,
                url("../images/kids/spheres-06.jpg") right 72% no-repeat,
                url("../images/kids/spheres-07.jpg") left 84% no-repeat,
                url("../images/kids/spheres-footer.jpg") bottom right no-repeat; */
    }
}

@media only screen and (max-width: 1400px) and (min-width: 801px) {

    .kids { background: url("../images/kids/spheres-footer.jpg") bottom right no-repeat; }
}

@media only screen and (max-width: 900px) and (min-width: 701px) {

    .kids-grid { display: block; }

    .kids-grid-cell {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        width: auto;
    }

    .kids-thumbnail {
        -ms-flex-item-align: start;
        align-self: flex-start;
        -webkit-box-flex: 1;
        -ms-flex: 1 0 50%;
        flex: 1 0 50%;
        width: 50%;
    }

    .kids-content {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 50%;
        flex: 1 0 50%;
        padding-left: 6%;
        width: 50%;
    }

    .kids-schedule {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 100%;
        flex: 1 0 100%;
        margin-top: 20px;
        width: 100%;
    }
}

@media only screen and (max-width: 800px) {

    /* .kids-header { text-align: center; } */

    /* .kids-share { display: none; } */    

    .kids-nav {
        margin-top: 40px;
        position: static;
    }

    .kids-nav-list {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: space-evenly
    }

    .kids-thumbnail-overlay-content p { font-size: 18px; }

    .kids-stream-heading { font-size: 45px; }
}

@media only screen and (max-width: 700px) {

    .kids-grid { display: block; }

    .kids-grid-cell { width: auto; }

    .kids-thumbnail {
        display: block;
        margin: 0 auto;
        max-width: 460px;
    }
}

@media only screen and (max-width: 600px) {

    .kids-container { padding: 0; }

    .kids-schedule { display: block; }

    .kids-schedule dt,
    .kids-schedule dd { width: auto; }

    .kids-schedule dt { padding-bottom: 0; }

    .kids-schedule dd {
        border-top: 0;
        padding-top: 0;
    }

    .bg-hdr-images {
        width: unset !important;
    }
    #wrapper {
        margin-top: -164px;
    }
    .bg-image-top {
        margin-top: -251px;
    }
    .kids-main {
        margin-top: 251px;
    }
    #kidShowsTab .nav-link, #kidShowsTab .nav-link.active {
        font-size: 18px;
    }
    .kids-thumbnail-img {
        width: 100%;
    }
    #kidShowsTab .nav-link {
        height: 55px;
    }
    #kidShowsTab button span {
        display: block;
    }
    .kids-action {
        margin: 15% auto;
    }
}

@media only screen and (max-width: 500px) {

    .kids-nav-list { display: block; }

    .kids-nav-item {
        margin-left: 0;
        margin-top: 10px;
    }

    .kids-nav-item:first-child { margin-top: 0; }

    .kids-nav-button { display: block; }
}

@media only screen and (max-width: 400px) {

    .kids-thumbnail-overlay-content p { display: none; }
}

/* Portrait - iPad */
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
    #wrapper {
        margin-top: -94px;
    }
    .bg-image-top {
        margin-top: -321px;
    }
    .kids-main {
        margin-top: 321px;
    }
    .kids-content {
        margin: 0;
    }
    .kids-heading {
        margin: 0 0 10px 0;
    }
    .printable-tab-pane .kids-grid-cell {
        flex-wrap: unset;
    }
    .kids-action {
        margin: 18% auto;
    }
}

/* Portrait - iPad Pro */
@media only screen 
  and (min-width: 1024px) 
  and (max-height: 1366px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1.5) {
    #wrapper {
        margin-top: -54px;
    }
    .bg-image-top {
        margin-top: -361px;
    }
    .kids-main {
        margin-top: 361px;
    }
}

/* Nexus 7 / 7' Tablets */
@media only screen and (min-width : 600px) and (max-width : 603px) and (orientation: portrait) {
    .bg-hdr-images {
        width: unset !important;
    }
    #wrapper {
        margin-top: -124px;
    }
    .bg-image-top {
        margin-top: -291px;
    }
    .kids-main {
        margin-top: 291px;
    }
    #kidShowsTab .nav-link, #kidShowsTab .nav-link.active {
        font-size: 18px;
    }
    .kids-thumbnail-img {
        width: 100%;
    }
    .kids-action {
        margin: 28% auto;
    }
}

/** Kindle Fire HDX / Nexus 10 **/
@media only screen and (min-device-width: 800px)
    and (max-device-height: 1280px)
    and (orientation: portrait) {
        .bg-hdr-images {
            width: unset !important;
        }
        #wrapper {
            margin-top: -124px;
        }
        .bg-image-top {
            margin-top: -291px;
        }
        .kids-main {
            margin-top: 291px;
        }
        #kidShowsTab .nav-link, #kidShowsTab .nav-link.active {
            font-size: 18px;
        }
        .kids-thumbnail-img {
            width: 100%;
        }

        .printable-tab-pane .kids-grid-cell {
            flex-wrap: unset;
        }
        .kids-action {
            margin: 20% auto;
        }
}
