
body {
    background: #fafafa;
    color: #333;
}

p {
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a,
a:hover,
a:focus,
.card:hover {
    color: inherit;
    text-decoration: none;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.blink {
    animation-duration: 1s;
    animation-name: blink;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
}
@keyframes blink {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.gradient-buttons ,.btn {
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.4), rgba(255,255,255,0.1) 49%, rgba(0,0,0,0.15) 25%, rgba(0,0,0,0.05));
    background-repeat: repeat-x;
}

.btnn {
    background-image: none;
}

.btnnn {
    background-image: none;
    border: none;
}

#videocard {
  min-width:300px;
  margin: 8px;
background-color: #fff;
box-shadow: 2px 2px 17px -10px #242424;
-webkit-box-shadow: 2px 2px 17px -10px #242424;
-moz-box-shadow: 2px 2px 17px -10px #242424;
-o-box-shadow: 2px 2px 17px -10px #242424;
}

#logo {
    padding: 0 0 4px 0;
    display: inline-block;
}

.videotitle {
    color: #333;
    padding: 8px 0 0 12px;
  font-weight: lighter !important;
}

.videotitle .c {
      font-weight: bolder !important;
}

.video_bt {
    position: absolute;
    right: 40px;
    top: 40px;
}

.video_bt2 {
    position: absolute;
    right: 0px;
}

.worda {
    font-family: "微軟正黑體", "新細明體", "Arial Unicode MS";
    font-size: 24pt;
    color: #666;
}

.link
{

}

.link a{
    color: #007bff;
    text-decoration: none;
    background-color: transparent;	
}
.link a:hover{
    color: #007bff;
	text-decoration: underline;
    background-color: transparent;	
}

#mainvideo {
    padding: 12px ;
    position:relative;
}
#ytHolder {
  position:absolute;padding:12px;
  width:100%;height:100%;top:0;left:0;
}

/* ---------------------------------------------------
    Useless
----------------------------------------------------- */
.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
box-shadow: 1px 1px 3px -10px #000000;
-webkit-box-shadow: 1px 1px 3px -10px #000000;
-moz-box-shadow: 1px 1px 3px -10px #000000;
-o-box-shadow: 1px 1px 3px -10px #000000;

}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

#sidebar {
    width: 460px;
    position: fixed;
    top: 60px;
    right: 0px;
    height: calc(100vh - 62px);
    z-index: 999;
    transition: all 0.3s;
    overflow-y: scroll;
    z-index: 99;
    background-image: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%);
}

#sidebarxml {
padding-left: 600px;
    z-index: 999;
    transition: all 0.3s;
    overflow-y: scroll;
    z-index: 99;
    height: 480px; */
}

#sidebar.active {
    right: -460px;
}

#sidebar .sidebar-header {
    padding: 26px 0 8px 0;
    background: #fafafa;
}

#sidebarxml .sidebar-header {
    padding: 86px 0 0 0;
}

#enoch_panel_subtitle {padding: 12px;}

#sidebar .enoch_subtitle, #sidebarxml .enoch_subtitle  {
    font-size:0.913em;
    text-shadow: 1px 1px 3px white;
}

#sidebar .enoch_subtitle, #sidebarxml .enoch_subtitle{
    color: #000;
   display: block;
   padding-bottom: 4px;
        cursor: pointer;
        margin-bottom:1rem;
        border-bottom: 1px dashed gray;
}

#sidebar .enoch_subtitle:hover, #sidebarxml .enoch_subtitle:hover{
    color:#990000;
}

#arrowbt {
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    cursor: pointer;
    position: fixed;
    top: 62px;
     width: 100%;
    z-index: 999;
}


#arrowbt.active {
    right: 0px;
}

#employ {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background: #ccc;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    z-index: 210;
    position: absolute;
    top: 20px;
    right: -35px;
}

#employ:hover {
    background: #fff;
    color: #7386D5;
}

#employ.active {
 right: 0px;
}

#dismiss {
    color: #17a2b8;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 200;
}

#dismiss:hover {
    background: #17a2b8;
    color: #aaa;
}

#dismiss.active {
 right: 0px;
}


.language-btn {
margin-right: 32px;
}

.language-btn:hover {
    color: #fdff00;
}

a.article,
a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}


/* ---------------------------------------------------
    index
----------------------------------------------------- */
#indexsidebar {
    position: fixed;
    top: 0;
    right: 0px;
    left: 270px;
    height: 100vh;
    z-index: 999;
    color: #fff;
    margin: 12px;
    transition: all 0.3s;
    overflow-y: scroll;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
    z-index: 99;
    background-image: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%);
    background-repeat: repeat-x;
}

#indexsidebar .sidebar-header {
    padding: 12px;
    margin: 0px;
    background-color: #fff;
}

.indexct{
       margin: 12px;
}

.indexct .row .col-8 .masonry-filters ul li{
       padding: 6px 16px 6px 16px;
       background-color: #fff;
}

.indexct .row .col-8 .masonry-filters ul li:hover{
       background-color: #cfd9df;
}

.foo {
  --widthA: 100%;
  --widthB: calc(var(--widthA) * 0.57);
}

.bg-imagect{
    background-size: cover;
    padding-top:32.5%;
    background-position:center;
}
.indexbt{
       padding: 8px 16px ;

}

.indexsubbar{
    width: 270px ;
    padding: 8px;
}

.indexsubbar .btn-group-vertical{
    display: block;
    width: 90%;
}

.indexsubbar .btn-group-vertical .btn{
        border:#ccc 1px solid; 
}

.card-body{
    padding: 4px;
    font-size: 14px;
    color: #222;
    text-decoration: none;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.card-video:hover {
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
    background-color: #f99921;
    color: #fff;
    cursor: pointer;
}


.bg-image{
    background-size: cover;
    padding-top:32.5%;
    background-position:center;
}

.form-check-card {
float: right;
margin: 8px;

}
/* ---------------------------------------------------
    subtitle under video
----------------------------------------------------- */
.carousel-inner{
  padding-left: 5%;
  padding-right: 5%;
  padding-top: 10px;
  padding-bottom: 10px;
   height: auto;}

#carouselExampleCaptions ,.carousel .slide{
     border: none;  
}

.carousel-control-next,
.carousel-control-prev /*, .carousel-indicators */ {
    filter: invert(100%);
}

.carousel-item .title{
  z-index: 10;
  padding-left: 5%;
  padding-right: 5%;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: left;
}

.carousel-item .dict{
        cursor: pointer;
}

.carousel-item .dict:hover {
        color:  red;
}

.carousel-control-prev,
.carousel-control-next {
  width: 3%;
  opacity: 0.2;
}

.subbar{
		height: 44px;	
        padding: 4px 0 4px 0;
        margin: 0 12px 0 12px;
        border-bottom: 1px dashed #ddd;
        border-top: 1px dashed #ddd;
}

.subbar ,.subbt{
background-image: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%);
}

.subbar .left{
    float: left;
    padding-left: 8px;
}

.subbar .right{
    float: right;
    padding-right: 8px;
}

.subbar .main{
    position: relative;
}

.subbar .subber{
    padding-top: 54px;
}

.btnlevel{
   margin: 8px;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: calc(100% - 450px);
    padding: 20px;
    min-height: 100vh;
    max-width: 1600px;	
    transition: all 0.3s;
    position: absolute;
    top: 0;
    left: 0;
}

#content.active {
    width: calc(100%);
}

#contentxml {
    width: 600px;
    padding: 20px;

    transition: all 0.3s;
    position: absolute;
    top: 58px;
    left: 0;

}

#contentxml.active {
    width: calc(100%);
}

/* Masonry Items Container */
.masonry-items {
  -webkit-transition: height 0.3s ease;
  -moz-transition: height 0.3s ease;
  transition: height 0.3s ease;
}

.feature-item {
  border-top: 1px dashed #ddd;
}

.masonry-item-index {
  padding: 4px 8px 4px 8px;
}

/* Maonsry */
.masonry-filters {
  margin-bottom: 12px;
  font-weight: 400;
  text-align: left;
margin-left: -56px;
}

.masonry-filters ul li {
  display: inline-block;
  margin: 0 10px;
  font-family: 'Roboto', Arial, sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  color: #f99921;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.masonry-filters ul li:hover, .masonry-filters ul li.active {
  color: #b5b5b5;
}

.masonry-filters.style2 {
  margin-bottom: 5px;
}

.masonry-filters.style2 ul li {
  margin: 0 1px;
  padding: 0 2px;
  font-size: 14px;
  text-transform: none;
  color: #777777;
  position: relative;
   border: 1px solid; #ddd;
}

.masonry-filters.style2 ul li:after {
  content: '';
  display: inline-block;
  width: 100%;
  height: 2px;
  position: absolute;
  bottom: -1px;
  left: 0;
  background-color: #f99921;
  opacity: 0;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.masonry-filters.style2 ul li.active, .masonry-filters.style2 ul li:hover {
  color: #f99921;
}

.masonry-filters.style2 ul li.active:after, .masonry-filters.style2 ul li:hover:after {
  opacity: 1;
}

.filters.style2 li {
  font-size: 14px !important;
  text-transform: none;
}

.feature-item{
margin-bottom: 4px;
}

.feature-item .badge{
    margin-right: 2px;
}

figure{
    font-size: 16px;
    padding: 0px;margin: 0px;
}

figure .btn{
    margin: 8px 2px;
    float: right;
}

figure .t1{ 
    display: block;
font-weight: 700;
}

figure .t2{ 
    display: block;
    font-size: 16px;
}

/* ---------------------------------------------------
Recitation.html
----------------------------------------------------- */


#sidebarr {
    position: fixed;
    top: 68px;
   left: 32px;
    width: calc(100% - 64px);
    height: 100vh;
    z-index: 999;
    color: #fff;
    transition: all 0.3s;
    overflow-y: scroll;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
    z-index: 99;
    background-image: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%);
}

#sidebarr .sidebar-header {
    padding: 16px 0 16px 0;
    background: #fafafa;
}

#sidebarr .subtitle_l {
    font-size: 10pt;
    padding: 12px;
    text-shadow: 1px 1px 3px gray;
}

#sidebarr .subtitle_l p{
    color: #000;
   display: block;
   padding-bottom: 8px;
        cursor: pointer;
        border-bottom: 1px dashed #000;
}

#sidebarr .subtitle_l p:hover{
    color: #666;
}
/* ---------------------------------------------------
    intro STYLE
----------------------------------------------------- */

#introcontent {
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    background-image: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%);
}


.center {
  margin: auto;
  width: 100%;
    height: 100%;
    padding: 20vh 0;
}

/* ---------------------------------------------------
    practice STYLE
----------------------------------------------------- */
.videotitlep{
    padding: 0 0 0 8px;
    border-left: 3px solid #eee;
}

.videotitlebgp{
    background-color: #fff;
    padding: 16px;
}

#sidebarrp {
    position: fixed;
    margin: 16px;
    top: 68px;
    left: 16px;
    width: calc(100% - 64px);
    height: 90vh;

    z-index: 999;
    color: #fff;
    transition: all 0.3s;
    overflow-y: scroll;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0);
    z-index: 99;
    background-image: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%);
}

.masonry-filtersp{
        border-bottom: 0px dashed #000;
  font-weight: 400;
    margin-left: -20px;
    height:24px;
}


.masonry-filtersp.style2 ul li{
    padding: 4px 12px 4px 12px;
    margin: 12px 3px;
    background-color: #fff;
}

.questionp {
padding: 24px;
}

.qabg1 {
 margin: 4px 4px 8px 4px;
 padding: 8px ;
 background-color: #e0e0e0;
 display: inline-block;
 width: 99%

}

.qabg2 {
 margin: 8px 4px;
 padding: 8px;
 background-color: #d2d0d0;
 display: inline-block;
  width: 99%
}

.qabg {
 margin: 8px 4px;
 padding: 8px;
}

.btnf {
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.4), rgba(255,255,255,0.4) 30%, rgba(255,255,255,0.4) 25%, rgba(0,0,0,0.2));
    background-repeat: repeat-x;
    margin-right: 8px;
}

.input-group-textp {
    color: #000;
    padding: 8px;
}

/* ---------------------------------------------------
XML edit
----------------------------------------------------- */
.subtitleall {
margin: 16px 16px 0 0;
padding: 8px 0 0 0;
background-color: #fff;

}

.subtitleall:hover {
background-color: #fffff3;
}

.subtitleall:before {
background-color: #fffff3;
}

#timelineall {
background-color: #fff;
padding: 16px;
margin: 16px 0 16px 0;
}

#timelinetop {
padding-bottom: 16px;
}

#timelinebt {
overflow-x: auto;
overflow-y: hidden;
width: 100%;
height: 150px;
}

#timelinebt::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

#timelinebt::-webkit-scrollbar
{
    height: 6px;
    background-color: #F5F5F5;
}

#timelinebt::-webkit-scrollbar-thumb
{
    background-color: #000000;
}

#timelinebtleft {
    width: 80px;
    height: 132px;
    position: fixed;
    float: left;
    background-color: #fff;
    z-index: 999;
}

#timelinebtright {
    padding-left: 80px;
    position: relative;
    cursor: pointer;
}

.timelinebox {
    padding: 12px;
    border-bottom:1px #ccc solid;
    border-right:1px #ccc solid;
    height: 48px;

}

.subtitlebt {
    float: left;
    margin-right: 2px;
    padding-left: 2px;
    font-size: 14px;
    display: inline-block;
}

#tt  {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 1px;
    height: 200px;
    background-color: red;
}
#tt span  {
    position: relative;
    border:1px #ccc solid;
    color: #ddd;
    background-color: #333;
    padding: 4px;
    font-size: 8px;
    left: -24px;
    top: -1px;
}

#ttd  {
    position: absolute;
    left: -200px;
    top: 0px;
    width: 1px;
    height: 200px;
    background-color: red;
}
#ttd span  {
    position: relative;
    left: -11px;
    top: -12px;
}

#tt1 p {
        display: inline-block;
        border-left:1px #ccc solid;
        padding-right:40px ;
        padding-left: 8px;
        height: 26px;
}

#tt2 p {
        resize:horizontal;
        overflow:auto;
}
/* ---------------------------------------------------
    
----------------------------------------------------- */

#enoch_panel_cursubtitle_holder {
  min-height:68px;
}


@media screen and (max-width: 768px) {

#arrowbt {
    display: none;
}

#content {
    width: calc(100%);
}

#sidebar{
    right: -460px;
}

#indexsidebar {
    left: 0px;
}

.search-mov ,.recvideo {
padding-top: 8px;

}

.pt {
margin-top: 22px;

}

}

.case-cat-filter a {
  display: inline-block;
  border: 0;
  font-size: 14px;
  line-height: 1;
  padding: 9px 15px;
  border-radius: 7px;
  background-color: #fff;
  color: #211e3b;
  text-transform: capitalize;
  -webkit-box-shadow: 0px 10px 60px 0px rgba(121, 121, 121, 0.45);
          box-shadow: 0px 10px 60px 0px rgba(121, 121, 121, 0.45);
  margin-left: 7px;
}
@media (max-width: 991px) {
  .case-cat-filter a {
    margin-top: 10px;
    margin-right: 7px;
  }
}

.case-cat-filter .active {
  background-color: lightskyblue;
}