#nws-schedule {
    /*height: 600px;*/
    display: grid;
    padding-top: 1px;
}

.nws-scale-time,
.nws-scale-time-short {
    display: inline-block;
    position: absolute;
    height: 20px;
    text-align: right;
    line-height: 21px;

}

.nws-scale-time {
    right: 9px;
    width: 40px;
    font-size: 14px;
}

.nws-scale-time-short {
    width: 15px;
    right: 4px;
    font-size: 13px;
}

.nws-scale-contain{
    position: relative;
    float: left;
    top: 0;
    left: 0;
}

.nws-clock-icon .dashicons-clock {
    font-size: 18px;
    width: 15px;
    line-height: 19px;
}

.nws-clock-icon {
    top:12px !important;
    right:5px !important;
}

@media (max-width:400px) {
          /*
    #nws-schedule {
        height: 650px;
    }      */

    .nws-scale-time,
    .nws-scale-line {
        display: none !important;
    }

    .nws-scale-contain{
        width: 18px;
    }

    .course-program .course-program-content {
        padding: 15px !important;
    }

}
@media (min-width:401px) {

    .nws-scale-time-short {
        display: none !important;
    }

    .nws-scale-contain{
        width: 47px;
    }

}

.nws-tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}
.nws-tooltip:hover {
box-shadow: 0px 0px 2px gray;
}

.nws-tooltip .nws-tooltip-text {
    display: none;
    width: 200px;
    background-color: #fff;
    color: #333;
    text-align: center;
    font-size: 95%;
    padding: 4px;
    box-shadow: 0px 0px 2px gray;
    position: absolute;
    top: 60px;
    left: 15px;
    z-index: 2000;
    white-space: normal;
    line-height: 1.5;
    font-size: 13px;
}




@media (min-width:801px) {

    .nws-tooltip:not(:hover) .nws-tooltip-text {
        display: none !important;
    }

    .nws-tooltip:hover .nws-tooltip-text {
        display: inline-block;
        position: fixed;
    }

    .nws-hide-on-desktop {
        display: none;
    }

}

.nws-box-overlay {
    display: none;
    position: fixed;
        width: 100%;
        height: 100%;

    top: 0;
    margin: 0px;
    min-height: 200px;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 99;
    left: 0;
}



@media (max-width:800px) {


    .nws-box-innerhtml {
        display: block;
        position: fixed !important;
        left: 50% !important;
        top: 50% !important;
        -ms-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        z-index: 200;
    }

    .nws-box-overlay {
        display: block;

    }

    .nws-hide-on-mobile {
        display: none;
    }

    .nws-tooltip .nws-tooltip-text {
        width: 260px;
    }

    .nws-scale-time,
    .nws-day-top span {
        font-size: 13px !important;
    }


    /* Filters to be in two columns */

    .nws-filter-link {
        width: 49%;
        text-align: center;
    }

    .nws-all-background {
        width: 99%;
    }

    .nws-filter-link:nth-of-type(even) {
        margin-right: 3px !important;
    }

    .nws-filter-link:nth-of-type(odd) {
        margin-right: 0px;
    }


    .nws-filter-link.nws-all-background {
        margin-right: 0 !important;
    }


}

.nws-all,
.nws-level-1,
.nws-level-2,
.nws-level-3,
.nws-level-4,
.nws-level-5,
.nws-level-6,
.nws-level-7,
.nws-sp,
.nws-dfd {
    display: none;
}

.nws-all {
    display: inline-block;
}

.nws-filter-link {
    padding: 5px 8px;
    font-size: 12px;
    color:#555;
    opacity: 1;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 3px;
    margin-right: 3px;
    background: #ddd;
}

.nws-level-1-background.nws-filter-link:hover,
.nws-level-1-background.nws-filter-link-active{
    background: #CAE5AB;
}
.nws-level-2-background.nws-filter-link:hover,
.nws-level-2-background.nws-filter-link-active {
    background: #A7D473;
}

.nws-level-3-background.nws-filter-link:hover,
.nws-level-3-background.nws-filter-link-active {
    background: #8DC153;
}

.nws-level-4-background.nws-filter-link:hover,
.nws-level-4-background.nws-filter-link-active {
    background: #FFDE9C;
}

.nws-level-5-background.nws-filter-link:hover,
.nws-level-5-background.nws-filter-link-active {
    background: #FFD174;
}

.nws-level-6-background.nws-filter-link:hover,
.nws-level-6-background.nws-filter-link-active {
    background: #F6BB43;
}

.nws-level-7-background.nws-filter-link:hover,
.nws-level-7-background.nws-filter-link-active {
    background: #FC9986;
}

.nws-sp-background.nws-filter-link:hover,
.nws-dfd-background.nws-filter-link:hover,
.nws-sp-background.nws-filter-link-active,
.nws-dfd-background.nws-filter-link-active {
    background: #b1b1ef;
}

.nws-all-background.nws-filter-link:hover,
.nws-all-background.nws-filter-link-active {
    background: #F0E070;
}

.nws-filter-link:hover,
.nws-filter-link-active {
    color:#000;
    opacity: 1;
    box-shadow: 0px 0px 2px #333;
    text-decoration: none;
    font-weight: 500;
}


.nws-blink-me {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.nws-display-none {
    display: none;
}


.nws-bounce {
    animation: nws-bounce 2s infinite;
    -webkit-animation: nws-bounce 2s infinite;
    -moz-animation: nws-bounce 2s infinite;
    -o-animation: nws-bounce 2s infinite;
    position: absolute;
    top: 30%;
    right: 0px;
    height: 31px;
    width: 30px;
    /*cursor: pointer;*/
    z-index: 1000;
}

@-webkit-keyframes nws-bounce {
    0%, 20%, 50%, 80%, 100% {-webkit-transform: translateX(0);}
    40% {-webkit-transform: translateX(-7px);}
    60% {-webkit-transform: translateX(-3px);}
}

@-moz-keyframes nws-bounce {
    0%, 20%, 50%, 80%, 100% {-moz-transform: translateX(0);}
    40% {-moz-transform: translateX(-7px);}
    60% {-moz-transform: translateX(-3px);}
}

@-o-keyframes nws-bounce {
    0%, 20%, 50%, 80%, 100% {-o-transform: translateX(0);}
    40% {-o-transform: translateX(-7px);}
    60% {-o-transform: translateX(-3px);}
}
@keyframes nws-bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(0);}
    40% {transform: translateX(-7px);}
    60% {transform: translateX(-3px);}
}

.nws-bounce-left {
    animation: nws-bounce-left 2s infinite;
    -webkit-animation: nws-bounce-left 2s infinite;
    -moz-animation: nws-bounce-left 2s infinite;
    -o-animation: nws-bounce-left 2s infinite;
    position: absolute;
    top: 30%;
    left: 0px;
    height: 31px;
    width: 30px;
    /*cursor: pointer;*/
    z-index: 1000;
}

@-webkit-keyframes nws-bounce-left {
    0%, 20%, 50%, 80%, 100% {-webkit-transform: translateX(0);}
    40% {-webkit-transform: translateX(7px);}
    60% {-webkit-transform: translateX(3px);}
}

@-moz-keyframes nws-bounce-left {
    0%, 20%, 50%, 80%, 100% {-moz-transform: translateX(0);}
    40% {-moz-transform: translateX(7px);}
    60% {-moz-transform: translateX(3px);}
}

@-o-keyframes nws-bounce-left {
    0%, 20%, 50%, 80%, 100% {-o-transform: translateX(0);}
    40% {-o-transform: translateX(7px);}
    60% {-o-transform: translateX(3px);}
}
@keyframes nws-bounce-left {
    0%, 20%, 50%, 80%, 100% {transform: translateX(0);}
    40% {transform: translateX(7px);}
    60% {transform: translateX(3px);}
}

/* Hide last element upcoming units on pages (levels for example) */

.page-template .upcoming-units .last {
    display: none;
}




#nws-scroll-div::-webkit-scrollbar {
    width: 15px;
}

#nws-scroll-div::-webkit-scrollbar-track {
    background:#fff282;
}

#nws-scroll-div::-webkit-scrollbar-thumb {
    background:rgb(241, 175, 87);
    border: 1px solid rgb(221, 155, 57);
}



