
div.nav-bar {
    background-color: #E9ECEF;
    padding: 3px 10px;
    margin-bottom: 20px;
}

div.nav-bar > span {
    /*color: #0056B8;*/
}

table.inline > thead input[type=search] {
    margin-left: 50px;
    border: 1px solid darkgrey;
    width: 200px;
    outline: none;
}

/*table.inline > thead a {
    margin-left: 50px;
    font-weight: normal;
}*/

table.inline > thead input[type=search]:focus {
    border-color: #0056B8;
}

input::placeholder, input.unimportant {
    font-style: italic;
    color: #A1A1A1;
}

table.active > tbody > tr {
    cursor: pointer;
}

table.active > tbody > tr:hover {
    background-color: #E9ECEF;
}

/* <-- Bootstrap-Hack */

div.form-group {
    margin-bottom: 1rem;
}

div.form-group > label {
    margin-bottom: .5rem;
}

/* Bootstrap-Hack --> */

a:link {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

div.shield {
    position: fixed;
    top: 0;
    left: 0;
    /*background-color: #CCCCCC;
    opacity: .5;*/
    z-index: 1000000;
    display: none;
}

div.shield > img {
    margin: -64px 0 0 -64px;
    position: relative;
    top: 50%;
    left: 50%;
}

div.flags-select {
    position: absolute;
    display: none;
    overflow-y: auto;
    overflow-x: clip;
    background-color: white;
    border-width: 0 1px 1px 1px;
    border-style: solid;
    border-color: black;
    cursor: default;
    max-height: 200px;
}

div.flags-select > div {
    padding: 0 5px;
}

div.flags-select > div.selected {
    color: HighlightText;
    background-color: Highlight;
}

input, select {
    padding-left: 5px;
    padding-right: 5px;
}

input[type=date] { /* Date-Fix */
    padding-top: 1px;
    padding-bottom: 1px;
}

div.infobox {
    position: absolute;
    display: none;
    margin: 0 0 -10px -10px;
    width: 200px;
    background-color: InfoBackground;
    color: InfoText;
    border: 1px solid InfoText;
    padding: 3px 10px;
    font-size: 0.6rem;
}

div.popup-note {
    visibility: hidden;
    position: absolute;
    float: left;
    padding: 3px 20px;
    color: white;
    background-color: black;
    z-index: 1000000;
}

div.popup-note.fade-in {
    animation: fadeIn 1.5s;
}

div.popup-note.fade-out {
    animation: fadeOut 1.5s;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

/*================================*/

div.infobox {
    width: auto;
    float: left;
}

div.popup-note {
    background-color: #333333;
}

/*div.flags-select {
    max-height: 200px;
}*/

#content td:nth-child(1) {
    width: 30%;
}

#content td:nth-child(2) {
    width: 25%;
}

#content td:nth-child(3), #content td:nth-child(6) {
    width: 10%;
}

#content td:nth-child(4) {
    width: 20%;
}

#content td:nth-child(5) {
    width: 5%;
}

#content td {
    vertical-align: top;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

#content td > span {
    font-weight: bold;
    /*font-weight: 900;*/
}

#content td > span.check {
    color: limegreen;
}

#content td > span.alias {
    color: cornflowerblue;
}

#addr, #frame, div.panel {
    width: 50%;
    margin-bottom: 10px;
}

#addr, div.panel:first-child {
    margin-right: 30px;
}

#frame {
    border: 1px solid darkgrey;
    box-sizing: content-box;
    overflow: hidden;
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    color: lightgray;
    display: flex;
    justify-content: center;
    align-items: center;
}

#addr div.columns > div:first-child, #addr div.triple > div:nth-child(2) {
    margin-right: 15px;
}

#addr label, div.panel > label, #reverse {
    margin-bottom: 0;
    font-size: 0.8rem;
}

#addr input[type=text], #addr input[type=date] {
    width: 100%;
    margin-bottom: 10px;
    border: 1px solid darkgrey;
    outline: none;
    /*border-radius: 3px;*/
}

#addr input[readonly=readonly] {
    background-color: #E9ECEF;
}

#addr input:focus {
    border-color: #0056B8;
}

#addr div.button {
    background-color: lightgrey;
    color: #FFFFFF;
    padding: 3px 10px;
    border-radius: 5px;
    margin-left: 15px;
    cursor: not-allowed;
    font-weight: bold;
}

#addr div.active {
    background-color: cornflowerblue;
    cursor: pointer;
}

#addr div.active:hover {
    background-color: #0056B8;
}

#addr div.inform {
    background-color: forestgreen;
    cursor: pointer;
    margin-left: 0;
    margin-right: 15px;
}

#addr div.inform:hover {
    background-color: darkgreen;
}

#addr img {
    width: 120px;
}

div.controls {
    margin-top: 10px;
}

div.index {
    font-size: 1.2rem;
}

#aliases, #entries, #append {
    padding-left: 12px;
    margin-bottom: 0;
}

#append {
    display: none;
}

#append input {
    width: 100%;
    border: 1px solid darkgrey;
    outline: none;
}

div.panel {
    margin-bottom: 50px;
}

#aliases > li, #entries > li, #append > li {
    background-color: #F1F1F1;
    /*background-color: #E9ECEF;*/
    margin-bottom: 5px;
    padding: 2px 5px;
    /*line-height: 1.4rem;*/
    border-radius: 3px;
    color: #666666;
}

/*#aliases > li:hover, #entries > li:hover {
    background-color: #E9ECEF;
}*/

#append > li span {
    margin-top: 2px;
}

#direct, #valid {
    margin-top: 4px;
    display: none;
}

div.circle {
    position: relative;
    display: none;
    opacity: .25;
    /*background-color: cornflowerblue;*/
    background-color: orangered;
}

#show {
    margin-left: 50px;
    background-color: unset;
    /*border: unset;*/
    color: #0056B8;
    border: 1px solid darkgrey;
    /**/
    outline: none;
    /*height: 28px;*/
    /*padding-top: 1px;*/
    /*padding-bottom: 1px;*/
    /*margin-top: 5px;*/
    position: relative;
    /*top: 1px;*/
}

#show:hover {
    /*background-color: unset;*/
    /*border-color: #0056B8;*/
    /*background-color: #DDD;*/
    color: unset;
    background-color: white;
    border-color: #0056B8;
}

#google {
    display: none;
    position: absolute;
    z-index: 999999;
}

#google > div {
    padding: 3px 20px;
    height: 30px;
}

#google > div:first-child {
    opacity: .5;
    background-color: white;
}

#google > div:last-child {
    position: relative;
    top: -30px;
    float: left;
}

.tools {
    position: relative;
}

#copy, #restore, #lookup {
    position: absolute;
    width: 20px !important;
    cursor: pointer;
    right: 4px;
    top: 28px;
}

#link {
    width: 20px !important;
    height: 20px;
    cursor: pointer;
    position: relative;
    top: 4.5px;
    /*top: 4px;*/
}

#refresh {
    cursor: pointer;
    position: relative;
    top: -1px;
    margin-left: 10px;
}

table.inline th > div {
    text-align: right;
    margin-right: 50px;
    float: right;
    padding-top: 2px;
    font-weight: normal;
}

#sequence {
    position: absolute;
    background-color: lightgrey;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    padding: 10px 3px;
    color: #0056B8;
    writing-mode: vertical-lr;
    /*writing-mode: sideways-lr;*/
    cursor: pointer;
    white-space: nowrap;
    left: -32px;
    top: 40px;
}

#sequence:hover {
    background-color: #DDD;
}

#count {
    font-weight: normal;
}

/* reverse */

.tools > div {
    float: right;
}
