* {
    box-sizing: border-box;
    direction: rtl;
    font-size: calc(14px + 0.5vw);
    /* font-family: "DejaVu Serif", "Tahoma", "Times New Roman", "Arial", "serif"; */
}

/* Style the top navigation bar */
.navbar
{
  /* display: flex; */
  background-color: #fefefe;
  /* border-bottom: 1px solid black; */
  padding: 0px 107px 0px 0px;
  border-bottom: 1px solid #ebebeb;
}

/* Style the navigation bar links */
.navbar a
{
  display: inline-block;
  color: #4A4A4A;
  padding: 8px 7px;
  text-decoration: none;
  text-align: center;
}

/* Change color on hover */
.navbar a:hover
{
  color: #de5833;
  /* font-weight: bold; */
}

.navbar a.active
{
  border-bottom: 3px solid #1A73E8;
  color: #1A73E8;
  font-weight: bold;
}

.navbar a.inactive
{
  background-color: #333;
  color: white;
}

img
{
  width: 100%;
  height: auto;
}

.row:after
{
  content: "";
  clear: both;
  display: table;
}

[class*="col-"]
{
  float: right;
  padding: 0px 15px 0px 15px;
  width: 100%;
}

@media only screen and (min-width: 600px) {
  .col-s-1 {width: 8.33%;}
  .col-s-2 {width: 16.66%;}
  .col-s-3 {width: 25%;}
  .col-s-4 {width: 33.33%;}
  .col-s-5 {width: 41.66%;}
  .col-s-6 {width: 50%;}
  .col-s-7 {width: 58.33%;}
  .col-s-8 {width: 66.66%;}
  .col-s-9 {width: 75%;}
  .col-s-10 {width: 83.33%;}
  .col-s-11 {width: 91.66%;}
  .col-s-12 {width: 100%;}
}

@media only screen and (min-width: 768px) {
  .col-1 {width: 8.33%;}
  .col-2 {width: 16.66%;}
  .col-3 {width: 25%;}
  .col-4 {width: 33.33%;}
  .col-5 {width: 41.66%;}
  .col-6 {width: 50%;}
  .col-7 {width: 58.33%;}
  .col-8 {width: 66.66%;}
  .col-9 {width: 75%;}
  .col-10 {width: 83.33%;}
  .col-11 {width: 91.66%;}
  .col-12 {width: 100%;}
}

html
{
  font-family: "Lucida Sans", sans-serif;
}

.header
{
  background-color: #fefefe;
  color: #ffffff;
  padding: 21px 0px 0px 0px;
}

/*-------------------------------------Side Nav------------------------------------*/
.sidenav ul
{
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: #fefefe;
  /* border: 0.5px solid lightgray; */
}

.sidenav li
{
  cursor: pointer;
  padding: 8px;
  /* margin-bottom: 7px; */
  background-color: #fefefe;
  color: #383434;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  /* font-size: 18px; */
  /* font-size: 2vw; */
}

.sidenav li:hover
{
  color: #de5833;
  /* font-weight: bold; */
}

.sidenav li.active
{
  border-bottom: 2px solid #1A73E8;
  color: #1A73E8;
  /* font-weight: bold; */
}

.sidenav li.inactive
{
  border-bottom: none;
  color: #383434;
  font-weight: normal;
}

/*-------------------------------------Collapsible Nav-----------------------------*/
.topnav
{
  overflow: hidden;
  margin: 0;
  padding: 0;
  background-color: #fefefe;
  border-left: 1px solid #ebebeb;
}

.topnav a
{
  cursor: pointer;
  float: right;
  display: block;
  background-color: #fefefe;
  color: #383434;
  padding: 4px;
  text-decoration: none;
  width: 100%;
  border-bottom: 1px solid #ededed;
}

.topnav a:hover
{
  color: #de5833;
  /* background-color: #ddd; */
  /* color: black; */
}

.topnav .icon
{
  display: none;
}

 .topnav a.active
{
  border-bottom: 2px solid #1A73E8;
  color: #1A73E8;
}

.topnav a.inactive
{
  border-bottom: none;
  color: #383434;
  font-weight: normal;
}


@media screen and (max-width: 600px)
{
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon
  {
    float: left;
    display: block;
  }
}

@media screen and (max-width: 600px)
{
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon
  {
    position: absolute;
    left: 0;
    top: 0;
  }
  .topnav.responsive a
  {
    float: none;
    display: block;
    text-align: right;
  }
}

/*-------------------------------------Sticky Search--------------------------------*/
.sticky
{
    position: fixed;
    /* top: 10px; */
    top: 0px;
    right: 0px;
    left: 0px;
    /* width: 80%; */
    width: 50%;
}

/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content
{
    padding-top: -60px;
}

.aside
{
  background-color: #33b5e5;
  padding: 15px;
  color: #ffffff;
  text-align: center;
  /* font-size: 14px; */
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.footer
{
  background-color: #d5d1d71a;
  color: #777;
  text-align: center;
  /* font-size: 12px; */
  padding: 15px;
  border-top: 0.5px solid gray;
}

div.gallery
{
  margin: 5px;
  border: 1px solid #ccc;
  float: left;
  width: 180px;
}

div.gallery:hover
{
  border: 1px solid #777;
}

div.gallery img
{
  width: 100%;
  height: auto;
}

div.desc
{
  padding: 15px;
  text-align: center;
}

th
{
    text-align: center !important;
}

a {text-decoration:none;}
.tg
{
    border-collapse:collapse;
    border-spacing:0;
    border-color:#aabcfe;
    /* margin: 0px 12px 5px 6px; */
    width:100%;
}
.tg td
{
    font-family:Arial, sans-serif;
    font-size: calc(14px + 0.5vw);
    border-style:solid;
    border-width:1px;
    overflow:hidden;
    word-break:normal;
    border-color:#aabcfe;
    color:#669;
    text-align:center;
    min-width:50px;
}
.tg th
{
    font-family:Arial, sans-serif;
    font-size: calc(14px + 0.5vw);
    font-weight:normal;
    border-style:solid;
    border-width:1px;
    overflow:hidden;
    word-break:normal;
    border-color:#aabcfe;
    color:#039;
    background-color:rgb(242, 242, 242);
    min-width:50px;
    max-width:80px;
}
.tg .tg-th
{
    /* min-width:100px; */
    /* background-color: #f2f4fc; */
    font-size: 0.85em;
    /* font-size: calc(14px + 0.5vw); */
    /* font-weight: bold; */
}
.tg .tg-c2{ background-color:#0xb9dbfe;}
.tg .tg_gerund{ background-color:rgb(237, 234, 255);}
.tg .tglingua{ font-size: calc(14px + 0.5vw);font-weight:bold;　direction: ltr;}
.tg .tg-yw4l{vertical-align:top}
.tg .tgpronouns
{
    direction: ltr;
    font-size: calc(14px + 0.5vw);
    font-weight: bold;
}

/*dictionary images style*/
div.tleft
{
    /* margin: 0.5em 0 1.3em 1.4em; */
}
div.thumb
{
    margin-bottom: 0.5em;
    width: auto;
    border: 1px solid #c8ccd1;
    background-color: #f8f9fa;
}
div.tleft, div.floatleft, table.floatleft
{
    clear: left;
    float: left;
    text-align: center;
}
div.tright, div.floatright, table.floatright
{
    /* clear: left; */
    float: right;
    text-align: center;
}
div
{
    display: block;
}
div.thumbinner
{
    padding: 1px;
    font-size: 94%;
    text-align: center;
    overflow: hidden;
    min-width: 100px;
}

.thumbcaption
{
    text-align: center;
    border: 0;
    line-height: 1.4em;
    padding: 3px;
    font-size: 94%;
}

.thumbimage
{
    background-color: #fff;
    border: 1px solid #c8ccd1;
}

img
{
    border: 0;
    vertical-align: middle;
}
h2
{
    font-size: 1.5em;
    margin-top: 1em;
}

#myImg
{
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal
{
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 4; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content
{
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image */
#caption
{
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption
{
  /* -webkit-animation-name: zoom; */
  /* -webkit-animation-duration: 0.6s; */
  /* animation-name: zoom; */
  /* animation-duration: 0.6s; */
  max-width: auto;
  /* max-height: 80%; */
}

@-webkit-keyframes zoom
{
  from {-webkit-transform: scale(0)}
  to {-webkit-transform: scale(1)}
}

@keyframes zoom
{
  from {transform: scale(0.1)}
  to {transform: scale(1)}
}

/* The Close Button */
.close
{
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover, .close:focus
{
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* Next & previous buttons */
.prev, .next
{
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -145px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 53px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next
{
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev
{
  left: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover
{
    background-color: rgba(0,0,0,0.8);
}
/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px)
{
    .modal-content
    {
        width: 100%;
    }
}

.clearfix
{
    overflow: auto;
}

.gLFyf
{
    background-color: transparent;
    border: none;
    margin: 0;
    padding: 0;
    color: rgba(0,0,0,.87);
    word-wrap: break-word;
    outline: none;
    display: flex;
    flex: 100%;
    -webkit-tap-highlight-color: transparent;
    /* margin-top: -37px; */
    padding: 0px 10px 0px 0px;
}

.gsfi
{
    font: 16px arial,sans-serif;
    line-height: 34px;
    height: 34px !important;
}

.RNNXgb
{
    background: #fff;
    display: flex;
    border-radius: 8px;
    border: 1px solid #dfe1e5;
    box-shadow: none;
    height: 39px;
    max-width: 630px;
    border-radius: 24px;
    z-index: 3;
    height: 44px;
    margin: 0px 130px 0px 0px;
}

.SDkEP
{
    flex: 1;
    display: flex;
    padding: 5px 4px 0 20px;
}
.a4bIc
{
    display: flex;
    flex: 1;
    flex-wrap: wrap;
}
.Tg7LZd
{
    border-radius: 0;
    -webkit-border-top-right-radius: 8px;
    height: 44px;
    width: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    flex: 0 0 auto;
    padding: 0;
}
.Tg7LZd
{
    border-radius: 0 8px 8px 0;
    outline: none;
    flex: 0 0 auto;
    padding-right: 13px;
    margin: 0px -21px 0px 0px
}
.rINcab
{
    background: none;
    color: #4285f4;
    height: 31px;
    width: 54px;
    margin: auto;
}
.z1asCe
{
    display: inline-block;
    fill: currentColor;
    height: 24px;
    line-height: 24px;
    position: relative;
    width: 24px;
}
.logo
{
    position: absolute;
    /* right: 10px; */
    padding: 0px 40px 0 30px;
    top: 4px;
    max-width: 150px;
    max-height: 150px;
    /* right: -6px; */
}


.flip {
  font-size: 16px;
  padding: 10px;
  text-align: center;
  background-color: #4CAF50;
  color: white;
  border: solid 1px #a6d8a8;
  margin: auto;
}
/* ..................................Collapse divs................................ */
.accordion
{
  background-color: transparent;
  color: #31708f;
  cursor: pointer;
  /* padding: 18px; */
  width: 100%;
  border-radius: 20px;
  text-align: right;
  outline: none;
  font-size: 0.85em;
  transition: 0.4s;
  border: 0.5px solid #31708f;
}

.accordion_v2 {
  background-color: transparent;
  color: #d23333;
    cursor: pointer;
    /* padding: 18px; */
    width: 100%;
    border-radius: 20px;
    text-align: right;
    outline: none;
    font-size: 0.85em;
    transition: 0.4s;
    border: 0.5px solid #d23333;
}

.accordion:hover
{
  background-color: #eee;
}

.accordion_v2:hover
{
  background-color: #cc262612;
}

.accordion:after
{
  content: '+';
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.accordion_v2:after
{
  content: '+';
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.accordion_panel
{
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.text-toogle[aria-expanded=false] .text-expanded
{
  display: none;
}
.text-toogle[aria-expanded=true] .text-collapsed
{
  display: none;
}

.quotes_div
{
    max-height: 200px;
    overflow: scroll;
    /* transition: 0.4s; */
    border: 0.5px solid #c0d6e3;
}
.ngram_div
{
    /* max-height: 400px; */
    /* max-width: 600px; */
    /* overflow: scroll; */
    /* transition: 0.4s; */
    /* border: 0.5px solid #c0d6e3; */
}
.chart {
  width: 100%;
  min-height: 450px;
}
.row {
  margin:0 !important;
}
canvas{
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.fa-navicon::before, .fa-reorder::before, .fa-bars::before {
    content: "+";
}

.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
        font-size: 14px;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::after, ::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* .tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
} */

/* ................... Social Buttons .......................*/

.btn-twitter {
  background: #00ACEE;
  border-radius: 0;
  color: #fff;
  border-width: 1px;
  border-style: solid;
  border-color: #0075a2;
  padding: 1px 1px;
  font-size: 14px;
}
.btn-twitter:link, .btn-twitter:visited {
  color: #fff;
}
.btn-twitter:active, .btn-twitter:hover {
  background: #0075a2;
  color: #fff;
}

.twitter-share, .facebook-share
{
  background: #fff;
  color: rgb(87, 207, 244);
  cursor: pointer;
  display: inline-block;
  padding: 1em 2em;
  -webkit-border-radius: 6px;
  border-radius: 6px;

  &:hover
  {
    position: relative;
    top: -1px;
  }
}

.badge-primary {
    color: #fff;
    background-color: #237fce38;
}

 .badge-primary-active
{
    color: #fff;
    background-color: #1a73e8;
}

.badge-primary-inactive
{
    color: #fff;
    background-color: #237fce38;
}
/* ............................... Feedback Modal .................................*/
/* The Modal (background) */
.feedback_modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.feedback_modal-content {
  background-color: #fefefe;
  margin: auto;
  /* padding: 20px; */
  border: 1px solid #888;
  /* width: 60%; */
  border-radius: 8px;
  box-shadow: 0px 5px 26px 0px rgba(0, 0, 0, 0.22), 0px 20px 28px 0px rgba(0, 0, 0, 0.30);
  padding: 4px 0px 0px 0px;
  min-width: 160px;
  max-width: 360px;
}

/* The Close Button */
.feedback_close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

/* The textarea */
.feedback_textarea {
  width: 100%;
  /* min-width: 224px; */
  /* max-width: 450px; */
  height: 35px;
  min-height: 35px;
  max-height: 200px;
  overflow: hidden;
  /* padding-top: 22px; */
  background: #fff;
  border: none;
  border-bottom: 1px solid #DFE1E5;
  border-top: 1px solid #DFE1E5;
  border-radius: 2px;
  box-sizing: border-box;
  color: #222;
  display: block;
  font-family: arial,sans-serif;
  font-size: 15px;
  margin: 0;
  padding: 4px 0;
  resize: none;
}

.feedback_radio {
    margin-left: 8px;
}

.feedback_bottom_div {
    /* border-top: 1px solid #DFE1E5; */
    /* margin: 0 -32px -28px -32px; */
    padding: 10px 16px;
}

.feedback_header_div {
    background: #FAFAFA;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.feedback_btn {
    background-color: white;
    border: 1px solid #dadce0;
    font-size: 18px;
    width: 50%;
    border-radius: 12px;
}

.feedback_btn_close {
    background-color: white;
    /* border-color: #2e6da4; */
    font-size: 14px;
    color: #2e6da4;
}

.feedback_btn .feedback_btn_close :hover,
.feedback_btn .feedback_btn_close :focus {
  cursor: pointer;
  background-color: #337ab7;
}

/* The textarea */
.feedback_submit {
  color: #4285f4;
}

.feedback_close:hover,
.feedback_close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/* ............................... Feedback Modal .................................*/
.profile_div {
  width: 100%;
  text-align: left;
  float: inline-end;
}
/* The Modal (background) */
.profile_modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.profile_modal-content {
  background-color: #fefefe;
  margin: auto;
  /* padding: 20px; */
  border: 1px solid #888;
  /* width: 60%; */
  border-radius: 8px;
  box-shadow: 0px 5px 26px 0px rgba(0, 0, 0, 0.22), 0px 20px 28px 0px rgba(0, 0, 0, 0.30);
  padding: 4px 0px 0px 0px;
  min-width: 160px;
  max-width: 320px;
}

/* The Close Button */
.profile_close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

/* The textarea */
.profile_textarea {
  width: 100%;
  /* min-width: 224px; */
  /* max-width: 450px; */
  height: 35px;
  min-height: 35px;
  max-height: 200px;
  overflow: hidden;
  /* padding-top: 22px; */
  background: #fff;
  border: none;
  border-bottom: 1px solid #DFE1E5;
  border-top: 1px solid #DFE1E5;
  border-radius: 2px;
  box-sizing: border-box;
  color: #222;
  display: block;
  font-family: arial,sans-serif;
  font-size: 15px;
  margin: 0;
  padding: 4px 0;
  resize: none;
}

.profile_radio {
    margin-left: 8px;
}

.profile_bottom_div {
    /* border-top: 1px solid #DFE1E5; */
    /* margin: 0 -32px -28px -32px; */
    padding: 10px 16px;
    text-align: center;
}

.profile_header_div {
    background: #FAFAFA;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.profile_btn {
    background-color: white;
    border: 1px solid #dadce0;
    font-size: 18px;
    width: 50%;
    border-radius: 12px;
}

.profile_btn_close {
    background-color: white;
    /* border-color: #2e6da4; */
    font-size: 14px;
    color: #2e6da4;
}

.profile_btn .profile_btn_close :hover,
.profile_btn .profile_btn_close :focus {
  cursor: pointer;
  background-color: #337ab7;
}

/* The textarea */
.profile_submit {
  color: #4285f4;
}

.profile_close:hover,
.profile_close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.profile_eye{
  color: #0072fd;
}

.optional
{
    border: 1px solid #a19fa847;
}
.required
{
    border: 1px solid #ff00001f;
}

.circleBase {
    border-radius: 50%;
    behavior: url(PIE.htc); /* remove if you don't care about IE8 */
}

.type1 {
    width: 100px;
    height: 100px;
    background: #7fbbd94d;
    border: 1px solid #66abff;
    text-align: center;
    line-height: 88px;
    font-size: 50px;
}

.type2 {
    width: 40px;
    height: 40px;
    background: #7fbbd94d;
    border: 1px solid #66abff;
    text-align: center;
    line-height: 36px;
    float: left;
}
/*-----------------------------------------------------------------*/

/* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
  font-weight: bold;
  color: darkblue;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: right;
  border: none;
  outline: none;
  cursor: pointer;
  /* padding: 14px 16px; */
  transition: 0.3s;
  font-size: 17px;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}

.tabcontent2 {
  display: none;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  text-align:center;
}

.vis_network {
  /* width: 900px; */
  /* height: 400px; */
  /* border: 1px solid lightgray; */
    /* height:0; */
    /* overflow:hidden; */
    /* position: fixed; */
    /* top: -1000px; */
}


/*-------------------------------------------------*/
.etym_table {
  border-collapse: collapse;
  width: 100%;
}

.etym_table th, td {
  /* padding: 8px; */
  text-align: right;
  border-bottom: 1px solid #ddd;
}

.etym_table tr:hover {background-color:#f5f5f5;}

.etym_legend
{
    border-radius: 10px;
    border: 1px solid darkgray;
    box-shadow: 0px 1px 1px 0px #97c2fc;
    padding: 1px;
    margin: 5px;
    font-size: 14px;
}

/*-------------------------------------------------*/
.table-sm td, .table-sm th {
    padding: .2rem !important;
    text-align: right !important;
    white-space: nowrap !important;
    /* width: 1% !important; */
}

.table-sm2 td, .table-sm2 th {
    padding: .2rem !important;
    text-align: right !important;
    /* white-space: nowrap !important; */
    width: 1% !important;
}

.table-sm th {
    color: cornflowerblue;
    font-weight: normal;
    padding: 0px 0px 0px 10px !important;
}

table.table-fit {
    width: auto !important;
    table-layout: auto !important;
    margin-bottom: 2px !important;
}
table.table-fit thead th, table.table-fit tfoot th {
    width: auto !important;
}
table.table-fit tbody td, table.table-fit tfoot td {
    width: auto !important;
}

/*-------------------------------------------------*/
.div_header {
    font-weight: bold;
    border-bottom: 1px solid #3b66ff;
    margin: 4px;
    text-shadow: 0px 0px 20px #3b66ff;
    box-shadow: 0px 2px 0px 0px #e5ebff;
}

.deri_hr {
    border-top: 1px dashed orange;
}

/*-------------------------------------------------*/
.form-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}

.progress-bar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    background-color: #007bff;
    transition: width .6s ease;
}

.bg-success { background-color: rgb(100,190,100) !important;}
.bg-info    { background-color: rgb(118,172,242) !important;}
.bg-warning { background-color: rgb(255,171, 10) !important;}
.bg-danger  { background-color: rgb(255,110,110) !important;}
.bg-nothing { background-color: rgb(153,153,153) !important;}

.refer_div_1{ border: 1px solid #fddfdd;
              display: inline-block;
              border-radius: 5px;
              margin: 2px;
              padding: 1px;
          }

.refer_div_2{ border: 1px solid #d0deff;
              display: inline-block;
              border-radius: 5px;
              margin: 2px;
              padding: 1px;
            }
.refer_span {font-weight: bold;
             font-size: 0.9em;}
.soso_span_2 { font-size: inherit;
                border: 1px solid transparent;
                border-radius: 9px 9px;
                margin: 5px;
                box-shadow: 0px 1px 0px 0px #dfcdff;
                color: darkblue;}
/*----------------------------------*/
.div_more {
    display: inline-flex;
    align-items: flex-start;
    justify-content: space-evenly;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: row;
}
/*----------------------------------*/
.histo_pagination {
  display: inline-block;
}

.histo_pagination a {
  color: black;
  float: right;
  padding: 4px 14px;
  text-decoration: none;
  transition: background-color .3s;
  border: 1px solid #ddd;
  margin: 0 4px;
}

.histo_pagination a.histo_active {
  background-color: #4CAF50;
  color: white;
  border: 1px solid #4CAF50;
}

.histo_pagination a:hover:not(.histo_active) {background-color: #ddd;}

/*----------------------------------*/
.dict_pagination {
  display: inline-block;
  /* box-shadow: 0px 0px 1px 0px blue; */
  padding: 1px;
}

.dict_pagination a {
  color: #3876c2;
  float: right;
  padding: 1px 1px;
  text-decoration: none;
  transition: background-color .3s;
  border: 1px solid #ddd;
  margin: 2px 2px;
}

.dict_pagination a.dict_active {
  background-color: #4CAF50;
  color: white;
  border: 1px solid #4CAF50;
}

.dict_pagination a.dict_inactive_1 {
  /* background-color: #fbf6ef; */
  /* color: #3876c2; */
  /* border: 1px solid #ddd; */
}

.dict_pagination a.dict_inactive_2 {
  /* background-color: #f5f9fd; */
  /* color: #3876c2; */
  /* border: 1px solid #ddd; */
}

.dict_pagination a:hover:not(.dict_active) {background-color: #ddd;}

/*----------------------------------*/
.histo_scoring {
  /* display: inline-block; */
  display: flex;
  /* width: 10%; */
  align-items: stretch;
  justify-content: center;
  flex-direction: column;
}

.histo_scoring a {
  color: lightgray;
  /* float: right; */
  /* padding: 4px 14px; */
  text-decoration: none;
  transition: background-color .3s;
  /* border: 1px solid #ddd; */
  /* margin: 0 4px; */
  text-align: center;
  font-size: 1.5em;
}

.histo_scoring a.histo_active {
  background-color: #4CAF50;
  color: white;
  border: 1px solid #4CAF50;
}

.histo_scoring a:hover:not(.histo_active) {background-color: #ddd;}

/*----------------------------------*/
.hideMe {
    -moz-animation: cssAnimation 0s ease-in 5s forwards;
    /* Firefox */
    -webkit-animation: cssAnimation 0s ease-in 5s forwards;
    /* Safari and Chrome */
    -o-animation: cssAnimation 0s ease-in 5s forwards;
    /* Opera */
    animation: cssAnimation 0s ease-in 5s forwards;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}
@keyframes cssAnimation {
    to {
        width:0;
        height:0;
        overflow:hidden;
    }
}
@-webkit-keyframes cssAnimation {
    to {
        width:0;
        height:0;
        visibility:hidden;
    }
}

/*----------------------------------*/
.subentry_0 {
  background: #fafaff; /*#f7f8ff;*/
/* box-shadow: -1px 1px 3px 0px gray; */
  border: 1px solid #e9ecb1;
  padding: 2px;
  margin-bottom: 3px;
  font-size: inherit;
}

.subentry_1 {
  background: #fAfAfA; /*#f7f7f7;*/
/* box-shadow: -1px 1px 3px 0px gray; */
  border: 1px solid lightgray;
  padding: 2px;
  margin-bottom: 3px;
  font-size: inherit;
}

.subentry_circle_0 {
  color: #5a5ae4;
  font-size: inherit;
}

.subentry_circle_1 {
  color: black;
  font-size: inherit;
}
