body {
  /* color: #444; */
  color: #555;
  font-family: Helvetica, Arial, "Lucida Grande", sans-serif;
  font-size: medium;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: auto | grayscale;
}

p, table, ol, ul {
  margin-top: 20px;
  margin-bottom: 10px;
}

.container { width: auto; }
.center_container {width: 1100px;}

@media (max-width: 1100px) {
  .center_container {width: auto}
}

.panel-body{
  padding-left:0;
}

.header {
  /* background: radial-gradient(white, lightgray); */
  background: #EBECF0;
  padding: 20px 0;
  margin-bottom:20px;
}

.footer {
  margin-top:20px;
  padding: 20px 0;
}

.branding {
  /* text-transform: uppercase; */
  margin-bottom: 10px;
}
.branding .logo {
  font-size: 28px;
  margin-top: 0;
  margin-bottom: 0;
}
.branding .logo a {
  text-decoration: none;
}

.label{
  padding: 5px;
  font-size: 85%;
}

h4 span.label{
  margin-top:20px;
  margin-bottom:40px;
}

.modal .modal-body {
    max-height: 600px;
    overflow-y: auto;
}

span.t_id:hover, span.target:hover{
  /* text-decoration:underline; */
}

span.glyphicon-play:hover{
  color:red;
}

.ctrl-wrapper {
    position: fixed;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    text-align: center;
    z-index: 99999999;
    background-color: #777777;
    color: #eeeeee;
    width: 50px;
    height: 48px;
    line-height: 48px;
    right: 30px;
    bottom: 30px;
    padding-top: 2px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.ctrl-wrapper:hover {
    background-color: #888888;
}

.ctrl-wrapper.scroll-top.show {
    visibility:visible;
    cursor:pointer;
    opacity: 1.0;
}

.ctrl-wrapper.scroll-top i.fa {
    line-height: inherit;
}

.ctrl-wrapper.scroll-top {
    visibility: hidden;
}

#vctrl {
    position: fixed;
    overflow: hidden;
    text-align: center;
    background-color: dimgray;
    color: #eeeeee;
    /* height: 42px; */
    line-height: 42px;
    right: 0px;
    bottom: 8px;
    padding-right: 10px;
    padding-left: 10px;
    visibility:visible;
    opacity: 1.0;
    font-size: 112%;
}

#ctrl {
  display: block;
  position: fixed;
  z-index: 2147483647;
  top: 50%;
  right: 50%; /* or: left: 50%; */
  margin-top: -..px; /* have of the elements height */
  margin-right: -..px; /* have of the elements widht */
    /* position: absolute; */
    /* top: 50%; */
    /* left: 0; */
    /* width: 100%; */
    /* margin-top: -10px; */
    /* line-height: 20px; */
    /* text-align: center; */
}

#floatbox{
  background-color:white;
  border-bottom: 5px solid #ddd;
  width:645px;
  margin:0;
}

.vjs-loading-spinner {display:none !important;}

form input {
  margin:5px 5px 5px 0px;
}

tr td.seq {border-right: solid #ddd 5px;}

td.cog:hover {background-color:#f5f5f5;}
td.sec:hover {background-color:#f5f5f5;}

/* tr.segline {border: solid #ddd 1px;} */
/* tr.segline td.sec_tr {border: solid #ddd 1px;} */

table#fulltext_table{
  background-color: #ffffff;
}

table#fulltext_table th{
  border-bottom: solid 1px #777777;
}

tr.highlighted.curr{
  background-color: #eee;
}
tr.highlighted td.seq {border-right: solid #1b809e 5px;}
tr.highlighted td.sec span.en {color: #1b809e;}
tr.halflighted td.seq {border-right: solid #76b2c4 5px;}
tr.halflighted td.sec span.en {color: #76b2c4;}
tr.matched td.seq {border-right: solid #a94442 5px;}

/* green: #5cb85c */
/* blue: #1b809e */
/* orange: #f0ad4e */

.vjs-default-skin.vjs-big-play-centered .vjs-big-play-button {
  display:block;
  /* display: none; */
}

.vjs-default-skin.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar {
  visibility: visible;
  opacity: 1;
}

#construction_list .reibun em{
  color: #a94442;
}

h4{
  font-weight:bold;
}

h4 span.label{
  font-size: 80%;
}

.talk_id{
  font-weight: bold;
  color: #1b809e;
}

.popover{
  max-width: 600px;
}

.talk_id:hover{
  cursor:pointer;
  opacity: 0.5;
}

.tr.t_id:hover{
  cursor:pointer;
  opacity: 0.5;
}

#modal_info_body td{
  padding-right: 10px;
  /* font-weight: bold; */
}

.lcode_ar, .lcode_he, .lcode_fa, .lcode_ckb, .lcode_kmr {
  direction:rtl; unicode-bidi:bidi-override;
}

p.watch_this:hover{
  cursor:pointer;
}

.modal .modal-body{
  max-height: 640px;
}

td.short_cell {
  width:45px;
}

td.talk_info div{
  margin-top:10px;
  margin-bottom:10px;
}

th.minimum, td.minimum {
  width: 1%;
  white-space: nowrap;
}

div#progress {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 8px;
    /* background-color:#777777; */
    background-color:#555555;
}

.info_table {
  font-size: 14px;
  line-height: 1.6;
}

.info_table tbody th{
  padding-right: 10px;

}

tr.segline.p_init {
  border-top: solid 1px #777777;
}

div#overlay {
  font-size: 28px;
  width: 100%;
  z-index: 2147483647;
  /* background: rgba(0,0,0,0.6); */
  background: rgba(0,0,0,1.0);
  display: block;
  position: fixed;
  visibility:hidden;
  left: 0px;
  color: white;
  padding:1em;
}

#overlay div {
  text-align: center;
}

#overlay .prog_overlay{
  font-size: 85%;
  color: #DCDCDC;
}

span.highlighted{
  color: #b2c476;
}

span.halflighted{
  color: #76b2c4;
}

#vctrl span.ctrl-button{
  margin-right:8px;
  margin-left:8px;
}

#vctrl .ctrl-global .ctrl-button.nomobile:hover{
  cursor:pointer;
  color:#b2c476;;
}

#vctrl .ctrl-sizing .ctrl-button.selected{
  color: #4e91f0;
}

#vctrl .ctrl-sizing .ctrl-button.nomobile:hover{
  cursor:pointer;
  color:#66a0f2;
}

#vctrl .ctrl-setting .ctrl-button.selected{
  color: #f0ad4e;
}

#vctrl .ctrl-setting .ctrl-button.nomobile:hover{
  cursor:pointer;
  color:#f2b866
}

#vctrl .ctrl-play span.ctrl-button{
  color:#f05c4e;
}

#vctrl .ctrl-play span.ctrl-button:hover{
  color:#f05c4e;
}

#vctrl .ctrl-play span.ctrl-button.nomobile:hover{
  cursor:pointer;
  color:#f27266;
}


#vctrl .ctrl-help span.ctrl-button:hover{
}

#vctrl .ctrl-help span.ctrl-button.nomobile:hover{
  cursor:pointer;
  color: #f0ad4e;
}

#whirl-ctrl{
  z-index: 2147483647;
  position: fixed;
  top: 25%;
  left:50%;
}

span.label.lvNA{
  padding-top: 2px;
  padding-bottom: 2px;
  display:inline-block;
  text-align:center;
  background-color: #bbb;
}

span.label.lv1{
  padding-top: 2px;
  padding-bottom: 2px;
  display:inline-block;
  text-align:center;
  background-color: #a8bb73;
}

span.label.lv2{
  padding-top: 2px;
  padding-bottom: 2px;
  display:inline-block;
  text-align:center;
  background-color: #eac94f;
}

span.label.lv3{
  padding-top: 2px;
  padding-bottom: 2px;
  display:inline-block;
  text-align:center;
  background-color: #e9ac48;
}

span.label.lv4{
  padding-top: 2px;
  padding-bottom: 2px;
  display:inline-block;
  text-align:center;
  background-color: #eb8f40;
}

span.label.lv5{
  padding-top: 2px;
  padding-bottom: 2px;
  display:inline-block;
  text-align:center;
  background-color: #ec7439;
}

.introjs-helperLayer{
  background-color: rgba(255,255,255,.1);
}

.social {
  margin-top: 10px;
}


.social .twitter-tweet {
  display: inline-block;
  /* margin-right: 5px; */
  position: relative;
  top: 0px;
  bottom: 0px;
  line-height: 0;
  vertical-align: bottom !important;
}


.social .fab-like {
  display: inline-block;
  position: relative;
  top: 0px;
  bottom: 0px;
  line-height: 0;
  vertical-align: bottom !important;
}

.popover-content {
  font-weight:bold;
  color: #f70607;
}

table#target_table pre{
  display:inline;
  border:0;
  background: transparent;
  padding:0;
}

.glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -webkit-animation: spin2 .7s infinite linear;
}

@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}
/* .modal-dialog { */
/*   width: 80% !important; */
/*   margin: auto; */
/*   max-width:800px !important; */
/*   height: 40% !important; */
/* } */

.modal-content{
  font-size: 90%;
}

span.dsmk-connec {
  display: inline-block;
  border-bottom: solid 5px #a6c8e2;
}
span.dsmk-frm {
  display: inline-block;
  border-bottom: solid 5px #a6c8e2;
}

span.dsmk-interjec {
  display: inline-block;
  border-bottom: solid 5px #a6c8e2;
}

span.dsmk-react {
  display: inline-block;
  border-bottom: solid 5px #a6c8e2;
}

span.dsmk-shadow {
  display: inline-block;
  border-bottom: solid 5px transparent;
}

span.kw {
  display: inline-block;
  border-bottom: solid 5px #f3c99e;
}

span.kw-shadow {
  display: inline-block;
  border-bottom: solid 5px transparent;
}

  /* background-color: #ffaaa8; */
  /* background-color: #d5b7e1; */
  /* background-color: #d3dada; */
  /* background-color: #ffd6a8; */
  /* background-color: #a8d2ff; */
  /* background-color: #a8ffd6; */

span.label.vtype1{
  padding-top: 2px;
  padding-bottom: 2px;
  display:inline-block;
  text-align:center;
  background-color: #ff6857;
  color: white;
}

span.label.vtype2{
  padding-top: 2px;
  padding-bottom: 2px;
  display:inline-block;
  text-align:center;
  background-color: #84cfda;
  color: white;
}

span.label.vtype3{
  padding-top: 2px;
  padding-bottom: 2px;
  display:inline-block;
  text-align:center;
  background-color: #ffaa6f;
  color: white;
}

span.label.vtype4{
  padding-top: 2px;
  padding-bottom: 2px;
  display:inline-block;
  text-align:center;
  background-color: #77ae8f;
  color: white;
}

span.label.vtype5{
  padding-top: 2px;
  padding-bottom: 2px;
  display:inline-block;
  text-align:center;
  background-color: #b88ab8;
  color: white;
}

span.label.vtype6{
  padding-top: 2px;
  padding-bottom: 2px;
  display:inline-block;
  text-align:center;
  background-color: #ff77c9;
  color: white;
}

span.label.vtype7{
  padding-top: 2px;
  padding-bottom: 2px;
  display:inline-block;
  text-align:center;
  background-color: #bbbb77;
  color: white;
}


span.label.vtype8{
  padding-top: 2px;
  padding-bottom: 2px;
  display:inline-block;
  text-align:center;
  background-color: #b7c3c3;
  color: white;
}
span.label.vtype9
{
  padding-top: 2px;
  padding-bottom: 2px;
  display:inline-block;
  text-align:center;
  background-color: #b7c3c3;
  color: white;
}

.btn-default{
  color: #555;
}

.modal-body table {
  font-size: 100%;
}

.modal-body table tr {
  line-height: 160%;
}

#to-top {
  padding-top: 15px;
}

.ytp-pause-overlay {
  display: none;
}

.biblio-page, .pos-page {
  line-height: 2;
}
