* {
    box-sizing: border-box;
}
body,
fieldset,
form,
h1,
html,
legend,
li,
ol,
ul {
    margin: 0;
    padding: 0;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    width: 100%;
}
input,
select {
    display: block;
    width: 100%;
    color: #555555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    height: 34px;
    padding: 6px;
    font-size: 14px;
    line-height: 1.42857143;
    margin: 5px 0 0;
}
label.checkbox {
    width: inherit;
    vertical-align: middle;
    margin-left: 5px;
    cursor: pointer;
    outline: none;
    user-select: none;
    margin: -27px 0 0 22px;
}
div.update-message,
section.settings, section.introduction {
    max-width: 800px;
    margin: 2em auto;
    padding: 0 20px;
}
input[type=checkbox] {
    width: inherit;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: inline-block;
}
.btn {
    width: inherit;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.btn-primary {
    transition: opacity 0.15s linear;
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}
.btn-primary:hover {
    background-color: #226aa7;
}
#status {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    position: fixed;
    right: 20px;
    top: 20px;
    transition: opacity 0.15s linear;
    opacity: 0;
}
h1 > img {
    border-radius: 4px;
    vertical-align: middle;
    margin-right: 10px;
    margin-top: -6px;
}
label {
    cursor: pointer;
    display: block;
}
section.header {
    background: #ecf1f5;
    padding: 20px;
    margin: 0 0 40px;
}
section.header h1 {
    color: #666;
    font-weight: 500;
    font-family: Arial, Helvetica, sans-serif;
    padding: 20px 0;
    margin: auto;
    width: 800px;
    display: block;
    color: #3e7496;
    max-width: 100%;
}
section.header h1 > span > span {
    font-family: Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 300;
    color: #1d1d1b;
    font-size: 24px;
}
.margin-bottom {
    margin-bottom: 20px;
}

.margin-top {
    margin-top: 20px;
}

section.settings {
    display: grid;
    grid-template-columns: 400px 400px;
    grid-column-gap: 80px;
    grid-row-gap: 60px;
}
h2 {
    margin: 0 0 20px;
}
h2,
h3,
label {
    font-weight: 600;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
}
label[class='checkbox'] {
    font-weight: inherit;
}
@media only screen and (max-width: 1000px) {
    section.settings {
        display: grid;
        grid-template-columns: 100%;
        grid-column-gap: 0;
        grid-row-gap: 80px;
        margin: 0 20px;
    }
}
.disabled {
    pointer-events: none;
    opacity: 0.5;
    font-style: italic;
}
.stylecheckbox {
    margin-bottom: 20px;
}
#apiEndpoint.error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
h3 {
    margin: 25px 0 0;
}
.row {
    display: flex;
    max-width: 480px;
}
.column {
    flex: 1;
}
.margin-left {
    margin-left: 20px;
}
div.styleSetting {
    white-space: nowrap;
}
div.styleSetting > input {
    display: inline-block;
    width: inherit;
    height: inherit;
}
div.styleSetting > label {
    display: inline-block;
    padding: 0 10px 0 0;
}
.hidden {
    display: none !important;
}
div.tabs {
    width: 880px;
    margin: 0 auto;
    padding: 0;
    border-bottom: 1px solid #dee2e6;
    position: relative;
    left: 40px;
}
div.tabs button {
    width: auto;
    border: 1px solid transparent;
    border-radius: 0;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    outline: none;
    color: #337ab7;
    font-weight: bold;
}
div.tabs button.active {
    color: #495057;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
    margin-bottom: -1px;
}
.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    position: relative;
}
div.dictionary_item {
    display: grid;
    grid-template-columns: 16px 1fr 2fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    transition: background-color 0.15s linear;
    pointer-events: none;
    padding: 15px 0 10px 10px;
    border-radius: 4px;
}
div.dictionary_item > input,
div.dictionary_item > label {
    pointer-events: auto;
}
div.dictionary_item.disabled > input,
div.dictionary_item.disabled > label {
    pointer-events: none;
}
div.dictionary_item > input {
    height: 18px;
    margin-top: -2px;
}
div.dictionary_item:hover {
    background-color: #f0f0f0;
}

section.introduction p {
    line-height: 1.5em;
}

section.introduction h1 {
}

section#scanning, section#autoscan-success, section#autoscan-failure, section#prompt-for-credentials, #prompt-for-credentials-error-invalid-credentials, #prompt-for-credentials-error-password-match, #prompt-for-credentials-error-password-missing, #prompt-for-credentials-error-username-missing {
    display: none;
}

div.credentials-form {
    max-height: 45px;
    overflow: hidden;
    background: rgba(0,0,0,0.05);
    padding: 6px 12px 12px 12px;
    border-radius: 0 0 8px 8px;
    transition: max-height 0.4s ease;
}