#header img
{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

body {
    background-color: white;
    color: #202020;
}
#page-wrapper.fade-out {
    opacity: 0;
    transition: none;
}

#page-wrapper {
    opacity: 1;
    transition: 1s opacity;
}

table.fixed_headers {
    display: table;
    width: 100%;
    border: 1px;
    border-style: inset;
}

table.fixed_headers tbody {
    overflow: auto;
    height: 300px;
    float: left;
    width: 100%;
}
table.fixed_headers tr {
    width: 100%;
    display: table;
    text-align: left;
}

table.fixed_headers tr:hover {
    background-color: #ffff99;
}

table.fixed_headers th, table.fixed_headers td {
    width: 20%;
}

table.fixed_headers thead {
    padding-right:18px;   /* 18px is approx. value of width of scroll bar */
    width: calc(100% - 18px);
    float:left;
}

.groupAntiqueWhite{
    background-color: antiquewhite;
    margin-bottom: 10px;
    display: grid;
}

fieldset {
    border: 1px solid silver;
    padding: 10px;
    overflow: auto;
}

.gridLayout {
    display: grid;
}

/* -- Examples -- */
@media (min-width: 640px) {
    .image-row {
        text-align: left; } }

.example-image-link {
    display: inline-table;
    padding: 2px;
    margin: 0 0.5rem 1rem 0.5rem;
    background-color: #fff;
    line-height: 0;
    border-radius: 4px;
    transition: background-color 0.5s ease-out; 
    border-color: lightgray;
    border-style: solid;
    width: fit-content;
}

.example-image-link:hover {
    background-color: #4ae;
    transition: none; }

.example-image {
    width: 200px;
    border-radius: 4px;
}

table.tableInFieldset
{
    width: 100%;
}
table.tableInFieldset td
{
    background-color: antiquewhite;
    border-right-color: white;
    border-right-style: solid;
}


span.choice-orig {border-bottom: thin dotted; background: #fed;}
span.choice-orig:hover {text-decoration: none; background: #fff; z-index: 6; }

span.choice-orig span {position: absolute; left: -9999px; top: 100px;}
span.choice-orig:hover span {position: fixed; left: 80%; background: #fff; padding: 3px 3px 3px 3px;
                             border:1px solid black; background: #fff; z-index:6;}
span.pop-up img {width:5em;}

span.choice-reg {color:blue}

span.choice-abbr {color: red;}
span.choice-expan {color: magenta;}

span.choice-corr {color: green;}

span.subst-del {color: 966;text-decoration: line-through;}
span.del-notSubst {color: 933;text-decoration: line-through;}

span.subst-add  {color: 696;}
span.add-notSubst {color: 933;}

span.unclear {border-bottom: 1px dotted #ba0000;}
span.taisho-ref {font-size:50%}

span.inparaNote {font-size:70%; color: 696;}



div .badgerDiv {
    margin: 15px 0;
    padding: 33px 15px 15px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, .64)
}

/* Badger
------------------------- */

[class*="badger"] {
    position: relative
}

[class*="badger"]:after {
    content: attr(data-badger);
    position: absolute;
    top: 0;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: bold;
    background: #999;
    color: #fff
}

.badger-left {
    border-top-left-radius: 6px
}

.badger-right {
    border-top-right-radius: 6px
}

.badger-left:after {
    left: 0;
    border-radius: 6px 0 6px 0
}

.badger-right:after {
    right: 0;
    border-radius: 0 6px 0 6px
}

.badger-danger:after {
    background: #d9534f
}

.badger-warning:after {
    background: #f0ad4e
}

.badger-success:after {
    background: #5cb85c
}

.badger-info:after {
    background: #5bc0de
}

.badger-inverse:after {
    background: #222
}

.navbar-inverse {
    background-color: #1E64C8;
}

h1, .h1 {
    font-size: 50px;
    line-height: 1;
    margin-bottom: 13px;
}

h1, .h1, h2, .h2 {
    color: #1E64C8;
    text-transform: none;
}

h2, .h2 {
    font-size: 20px;
    line-height: 1;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: "PannoTextMedium", Arial, sans-serif;
    margin: 10px 0;
}

.normalLink a:hover, .normalLink a:focus {
    color: #1E64C8;
    text-decoration: none;
    border-color: transparent;
}

.normalLink a:focus {
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.normalLink a:active, .normalLink a:hover{
    outline: 0;
}

.normalLink a {
    color: #1E64C8;
    text-decoration: none;
    -ms-word-break: break-word;
    word-break: break-word;
    border-bottom: 1px solid #1E64C8;
    -webkit-transition: border-color .15s ease-in-out;
    -o-transition: border-color .15s ease-in-out;
    transition: border-color .15s ease-in-out;
}

table.dataTable thead .sorting:after {
    opacity: 0.2;
    content: ""
}

table.dataTable thead .sorting_asc:after {
    content: ""
}

table.dataTable thead .sorting_desc:after {
    content: ""
}
#fixed_headers table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:after
{
    bottom: 0px;  
}
#loader {
    opacity: .8;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    background: 50% 50% no-repeat rgb(249,249,249);
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Add animation to "page content" */
.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
}

@-webkit-keyframes animatebottom {
    from { bottom:-100px; opacity:0 } 
    to { bottom:0px; opacity:1 }
}

@keyframes animatebottom { 
    from{ bottom:-100px; opacity:0 } 
    to{ bottom:0; opacity:1 }
}

:target {
    padding-top: 120px;
    margin-top: -120px;
    color: red;
}

figure {
  padding: 5px;
  float: left;
  border: 1px solid #cccccc;
  border-radius: 5px;
}

figure img {
  border-radius: 3px 3px 0 0;
}

figure figcaption {
  padding: 2px 4px 2px 4px;
  background-color: #636363;
  color: #cccccc;
  font-style: italic;
  border-radius: 0 0 3px 3px;
}

.baxter {
    border-collapse: collapse;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border-radius: 8px;
    overflow: hidden;
}

.baxter th, .baxter td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.baxter th {
    background-color: #1E64C8;
    color: white;
    font-weight: bold;
}

.baxter tr:nth-child(even) {
    background-color: #f2f2f2;
}

.baxter tr:hover {
    background-color: #ddd;
}

.compare-button {
    background-color: #1E64C8;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
    cursor: pointer;
}