:root {
    --input-height: 23px;
    --input-large-width: 800px;
    --success-colour: green;
    --alert-colour: #ff7800;
    --warning-colour: red;
    --disabled-colour: #908585;
    --changed-colour: green;
    --list-select-colour: lightskyblue;
}
html.waiting * {
    cursor: progress;
}
input, textarea {
    box-sizing: border-box;
}
input[type=text] {
    height: var(--input-height);
    font-size: 14px;
}
button {
    height: var(--input-height);
    font-size: 14px;
}
textarea {
    display: block;
}
select {
    overflow-x: auto;
    resize: both;
    height: 280px;
    width: var(--input-large-width);
    max-width: 100%;
    min-width: 400px;
    max-height: 905px;
    min-height: 72px;
    margin-top: 5px;
}
select > option.new {
    color: var(--changed-colour) !important;
    font-style: normal !important;
}
select > option.changed {
    color: var(--changed-colour) !important;
    font-style: italic !important;
}
select > option.disabled {
    color: var(--disabled-colour);
    font-style: italic;
    text-decoration-line: line-through;
}
label {
    font-size: 16px;
    margin-bottom: 3px;
}
legend, .section-heading {
    font-weight: bold;
    font-size: 18px;
}
fieldset {
    margin-top: 20px;
    min-inline-size: 400px;
}
p, td, li, span, .explanation-text {
    font-size: 15px;
}
body.saving, body.saving div, body.saving img, body.saving h1, body.saving fieldset, body.saving legend, body.saving p
body.saving label, body.saving input, body.saving table, body.saving tr, body.saving td, body.saving b, body.saving button,
body.saving select, body.saving ul, body.saving li {
    cursor: wait !important;
}
#version-number {
    position: absolute;
    right: 0px;
    bottom: 18px;
    font-size: 14px;
}
.fieldset-content {
    padding: 4px 0px 4px 0px;
}
.type-description {
    padding-left: 7px;
}
.rad-div {
    margin-bottom: 1px;
}
.explanation-text {
    max-width: 980px;
    margin: 10px 0px 0px 0px;
}
.slider-output {
    position: absolute;
    line-height: 19px;
    background-color: #e3ddd8;
    text-align: center;
    border: 1px solid #d1d1d1;
    top: 1px;
}
.saving-msg {
    color: var(--success-colour);
    font-size: 15px;
}
.alert-msg {
    color: var(--alert-colour);
    font-size: 14px;
}
.warning-msg {
    color: var(--warning-colour);
}
.warning-border {
    display: none;
    position: absolute;
    box-sizing: border-box;
    border: 1px solid var(--warning-colour);
    outline: 1px solid var(--warning-colour);
    pointer-events: none;
    height: var(--input-height);
    z-index: 99;
}
.warning-border[data-for-textbox=txtAutoCloseSite] {
    width: 724px;
}
.warning-border[data-for-textbox=txtAutoHideSite], .warning-border[data-for-textbox=txtAutoHideSelector] {
    width: calc(100% - 1px);
}
.input-container {
    position: relative;
    width: 100%;
}
#unsavedChangesMessage {
    position: fixed;
    top: 0;
    left: calc(50% - 110px);
    font-size: 20px;
    background: #fffbe9;
    padding: 4px 20px 9px 20px;
    border: 1px solid;
    border-top: none;
    border-color: var(--alert-colour);
}
#unsavedChangesMessage .alert-msg {
    font-size: 18px;
    font-weight: bold;
}
#btnShowRecentPopups {
    width: 100%;
    height: 21px;
    font-size: 12px;
    cursor: pointer;
}
#btnShowRecentPopups:before, #btnShowRecentPopups:after {
    content: " + "
}
#btnShowRecentPopups.list-shown:before, #btnShowRecentPopups.list-shown:after {
    content: " - "
}
.button-row {
    width: var(--input-large-width);
    max-width: 100%;
    margin-top: 4px;
}
.dropdown-list {
    display: none;
    border-left: 2px solid rgb(162, 162, 162);
    border-right: 2px solid rgb(162, 162, 162);
    border-bottom: 2px solid rgb(162, 162, 162);
    box-sizing: border-box;
}
.dropdown-list > ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}
.dropdown-list > ul:empty::after {
    font-size: 14px;
    padding-left: 5px;
    color: #585858;
}
.dropdown-list > ul > li {
    padding-left: 10px;
    font-size: 14px;
    font-family: Arial;
    height: 22px;
    line-height: 22px;
    border-bottom: 1px solid grey;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#autoHideSiteDropdown.dropdown-list > ul > li {
    padding-left: 27px;
}
.dropdown-list > ul > li:last-child {
    border-bottom: none;
}
.dropdown-list > ul:not(:hover) > li.selected {
    background-color: var(--list-select-colour);
}
.dropdown-list > ul > li:hover {
    background-color: var(--list-select-colour);
    cursor: pointer;
}
#recentPopupsList {
    width: 100%;
}
#recentPopupsList > ul:empty::after {
    content: "No recently opened news tabs...";
}
#importTextarea {
    width: var(--input-large-width);
    max-width: 100%;
    margin-bottom: 5px;
    margin-top: 5px;
}
#modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1;
    text-align: center;
}
.modal-panel {
    display: table-cell;
    vertical-align: middle;
}
.modal-content {
    display: inline-block;
    width: 80%;
    height: 511px;
    max-width: 1000px;
    z-index: 2;
    box-sizing: border-box;
    border-radius: 7px;
    background-color: white;
    text-align: left;
}
@media screen and (max-height: 511px) {
    .modal-content {
        height: 100%;
    }
}
.modal-header {
    width: 100%;
    height: 49px;
    box-sizing: border-box;
    border-bottom: 1px solid rgb(200, 200, 200);
    padding: 12px 16px 12px 16px;
}
.modal-body {
    height: calc(100% - 127px);
    padding: 12px 16px 12px 16px;
}
.modal-body input {
    width: 100%;
}
.modal-footer {
    width: 100%;
    height: 54px;
    box-sizing: border-box;
    border-top: 1px solid rgb(200, 200, 200);
    text-align: right;
}
#dontForgetAddTriggerArea {
    position: relative;
    width: 300px;
    display: inline-block;
    padding: 13px 16px 13px 16px;
}
#autoHideStatusMsgWrapper {
    position: absolute;
    top: 16px;
    right: 220px;
    white-space: nowrap;
}
.modal-content.selectable-site-values #txtAutoHideSite {
    position: relative;
    z-index: 2;
    padding-left: 28px;
    background-color: transparent;
    border: rgb(118, 118, 118) 1px solid;
    border-radius: 2px;
}
.modal-content.selectable-site-values #txtAutoHideSite:hover {
    border-color: #4F4F4F !important;
}
.modal-content.selectable-site-values .site-lbl {
    display: none;
}
.modal-content.selectable-site-values .lbl-for-selectable-sites {
    display: block;
}
.textbox-select-icon {
    display: none;
    position: absolute;
    z-index: 1;
    width: 22px;
    height: 21px;
    box-sizing: border-box;
    margin-top: 1px;
    margin-left: 1px;
    background-color: lightgray;
    background-image: url('down-arrow-icon.png');
    background-repeat: no-repeat;
    background-position: center;
}
.textbox-select-click-area {
    display: none;
    position: absolute;
    z-index: 3;
    width: 22px;
    height: 21px;
    box-sizing: border-box;
    margin-top: 1px;
    margin-left: 1px;
    cursor: pointer;
}
#autoHideSiteDropdown {
    width: 968px;
    position: absolute;
    background-color: white;
}
#autoHideSiteDropdown > ul:empty::after {
    content: "No other matching sites...";
}
.modal-content.selectable-site-values .textbox-select-icon,
.modal-content.selectable-site-values .textbox-select-click-area  {
    display: block;
}
#autoHideSelectorList {
    width: 100%;
    height: calc(100% - 104px);
    max-height: 698px;
    max-width: 1384px;
    min-width: 354px;
}
.modal-footer button {
    height: 27px;
    font-size: 15px;
    min-width: 75px;
}
#btnAutoHideSelectorsSave {
    font-weight: bold;
    width: 110px;
    margin-right: 6px;
}
#additional-settings-section .fieldset-content .label-row + .label-row {
    margin-top: 12px;
}
.nowrap {
    white-space: nowrap;
}