:root{--color-base-font:#444;--color-base-font-rgb:68,68,68;--color-base-background:#fff;--color-base-background-mobile:#f2f5f8;--color-url-font:#334999;--color-url-visited-font:#9822c3;--color-header-background:#fdfbff;--color-header-border:#ddd;--color-footer-background:#fdfbff;--color-footer-border:#ddd;--color-sidebar-border:#ddd;--color-sidebar-font:#000;--color-sidebar-background:#fff;--color-backtotop-font:#444;--color-backtotop-border:#ddd;--color-backtotop-background:#fff;--color-btn-background:#3050ff;--color-btn-font:#fff;--color-show-btn-background:#bbb;--color-show-btn-font:#000;--color-search-border:#bbb;--color-search-shadow:0 2px 8px rgba(34, 38, 46, 0.25);--color-search-background:#fff;--color-search-font:#222;--color-search-background-hover:#3050ff;--color-error:#db3434;--color-error-background:#fae1e1;--color-warning:#dbba34;--color-warning-background:#faf5e1;--color-success:#42db34;--color-success-background:#e3fae1;--color-categories-item-selected-font:#3050ff;--color-categories-item-border-selected:#3050ff;--color-autocomplete-font:#000;--color-autocomplete-border:#bbb;--color-autocomplete-shadow:0 2px 8px rgba(34, 38, 46, 0.25);--color-autocomplete-background:#fff;--color-autocomplete-background-hover:#e3e3e3;--color-answer-font:#444;--color-answer-background:#fff;--color-result-background:#fff;--color-result-border:#ddd;--color-result-url-font:#000;--color-result-vim-selected:#f7f7f7;--color-result-vim-arrow:#000bbb;--color-result-description-highlight-font:#000;--color-result-link-font:#000bbb;--color-result-link-font-highlight:#000bbb;--color-result-link-visited-font:#9822c3;--color-result-publishdate-font:#777;--color-result-engines-font:#545454;--color-result-search-url-border:#ddd;--color-result-search-url-font:#000;--color-result-image-span-font:#444;--color-result-image-span-font-selected:#fff;--color-result-image-background:#fff;--color-settings-tr-hover:#ebebeb;--color-settings-engine-description-font:#545454;--color-settings-engine-group-background:#0001;--color-result-detail-font:#fff;--color-result-detail-label-font:lightgray;--color-result-detail-background:#242424;--color-result-detail-hr:#555;--color-result-detail-link:#8af;--color-result-detail-loader-border:rgba(255, 255, 255, 0.2);--color-result-detail-loader-borderleft:rgba(0, 0, 0, 0);--color-toolkit-badge-font:#fff;--color-toolkit-badge-background:#545454;--color-toolkit-kbd-font:#fff;--color-toolkit-kbd-background:#000;--color-toolkit-dialog-border:#ddd;--color-toolkit-dialog-background:#fff;--color-toolkit-tabs-label-border:#fff;--color-toolkit-tabs-section-border:#ddd;--color-toolkit-select-background:#e1e1e1;--color-toolkit-select-border:#ddd;--color-toolkit-select-background-hover:#bbb;--color-toolkit-input-text-font:#222;--color-toolkit-checkbox-onoff-off-background:#ddd;--color-toolkit-checkbox-onoff-on-background:#ddd;--color-toolkit-checkbox-onoff-on-mark-background:#3050ff;--color-toolkit-checkbox-onoff-on-mark-color:#fff;--color-toolkit-checkbox-onoff-off-mark-background:#aaa;--color-toolkit-checkbox-onoff-off-mark-color:#fff;--color-toolkit-checkbox-label-background:#ddd;--color-toolkit-checkbox-label-border:#ddd;--color-toolkit-checkbox-input-border:#3050ff;--color-toolkit-engine-tooltip-border:#ddd;--color-toolkit-engine-tooltip-background:#fff;--color-toolkit-loader-border:rgba(0, 0, 0, 0.2);--color-toolkit-loader-borderleft:rgba(255, 255, 255, 0);--color-doc-code:#300;--color-doc-code-background:#fdd}@media (prefers-color-scheme:dark){:root.theme-auto{--color-base-font:#bbb;--color-base-font-rgb:187,187,187;--color-base-background:#222428;--color-base-background-mobile:#222428;--color-url-font:#8af;--color-url-visited-font:#c09cd9;--color-header-background:#1e1e22;--color-header-border:#333;--color-footer-background:#1e1e22;--color-footer-border:#333;--color-sidebar-border:#555;--color-sidebar-font:#fff;--color-sidebar-background:#292c34;--color-backtotop-font:#bbb;--color-backtotop-border:#333;--color-backtotop-background:#2b2e36;--color-btn-background:#58f;--color-btn-font:#222;--color-show-btn-background:#555;--color-show-btn-font:#fff;--color-search-border:#555;--color-search-shadow:0 2px 8px rgba(34, 38, 46, 0.25);--color-search-background:#2b2e36;--color-search-font:#fff;--color-search-background-hover:#58f;--color-error:#f55b5b;--color-error-background:#390a0a;--color-warning:#f1d561;--color-warning-background:#39300a;--color-success:#79f56e;--color-success-background:#0e390a;--color-categories-item-selected-font:#58f;--color-categories-item-border-selected:#58f;--color-autocomplete-font:#fff;--color-autocomplete-border:#555;--color-autocomplete-shadow:0 2px 8px rgba(34, 38, 46, 0.25);--color-autocomplete-background:#2b2e36;--color-autocomplete-background-hover:#1e1e22;--color-answer-font:#bbb;--color-answer-background:#26292f;--color-result-background:#26292f;--color-result-border:#333;--color-result-url-font:#fff;--color-result-vim-selected:#1f1f23cc;--color-result-vim-arrow:#8af;--color-result-description-highlight-font:#fff;--color-result-link-font:#8af;--color-result-link-font-highlight:#8af;--color-result-link-visited-font:#c09cd9;--color-result-publishdate-font:#888;--color-result-engines-font:#a4a4a4;--color-result-search-url-border:#555;--color-result-search-url-font:#fff;--color-result-detail-font:#fff;--color-result-detail-label-font:lightgray;--color-result-detail-background:#1a1a1c;--color-result-detail-hr:#555;--color-result-detail-link:#8af;--color-result-detail-loader-border:rgba(255, 255, 255, 0.2);--color-result-detail-loader-borderleft:rgba(0, 0, 0, 0);--color-result-image-span-font:#bbb;--color-result-image-span-font-selected:#222;--color-result-image-background:#222;--color-settings-tr-hover:#2c2c32;--color-settings-engine-description-font:#909090;--color-settings-engine-group-background:#1b1b21;--color-toolkit-badge-font:#fff;--color-toolkit-badge-background:#555;--color-toolkit-kbd-font:#000;--color-toolkit-kbd-background:#fff;--color-toolkit-dialog-border:#555;--color-toolkit-dialog-background:#1e1e22;--color-toolkit-tabs-label-border:#222;--color-toolkit-tabs-section-border:#555;--color-toolkit-select-background:#313338;--color-toolkit-select-border:#555;--color-toolkit-select-background-hover:#373b49;--color-toolkit-input-text-font:#fff;--color-toolkit-checkbox-onoff-off-background:#313338;--color-toolkit-checkbox-onoff-on-background:#313338;--color-toolkit-checkbox-onoff-on-mark-background:#58f;--color-toolkit-checkbox-onoff-on-mark-color:#222;--color-toolkit-checkbox-onoff-off-mark-background:#ddd;--color-toolkit-checkbox-onoff-off-mark-color:#222;--color-toolkit-checkbox-label-background:#222;--color-toolkit-checkbox-label-border:#333;--color-toolkit-checkbox-input-border:#58f;--color-toolkit-engine-tooltip-border:#333;--color-toolkit-engine-tooltip-background:#222;--color-toolkit-loader-border:rgba(255, 255, 255, 0.2);--color-toolkit-loader-borderleft:rgba(0, 0, 0, 0);--color-doc-code:#fdd;--color-doc-code-background:#300}}:root.theme-dark{--color-base-font:#bbb;--color-base-font-rgb:187,187,187;--color-base-background:#222428;--color-base-background-mobile:#222428;--color-url-font:#8af;--color-url-visited-font:#c09cd9;--color-header-background:#1e1e22;--color-header-border:#333;--color-footer-background:#1e1e22;--color-footer-border:#333;--color-sidebar-border:#555;--color-sidebar-font:#fff;--color-sidebar-background:#292c34;--color-backtotop-font:#bbb;--color-backtotop-border:#333;--color-backtotop-background:#2b2e36;--color-btn-background:#58f;--color-btn-font:#222;--color-show-btn-background:#555;--color-show-btn-font:#fff;--color-search-border:#555;--color-search-shadow:0 2px 8px rgba(34, 38, 46, 0.25);--color-search-background:#2b2e36;--color-search-font:#fff;--color-search-background-hover:#58f;--color-error:#f55b5b;--color-error-background:#390a0a;--color-warning:#f1d561;--color-warning-background:#39300a;--color-success:#79f56e;--color-success-background:#0e390a;--color-categories-item-selected-font:#58f;--color-categories-item-border-selected:#58f;--color-autocomplete-font:#fff;--color-autocomplete-border:#555;--color-autocomplete-shadow:0 2px 8px rgba(34, 38, 46, 0.25);--color-autocomplete-background:#2b2e36;--color-autocomplete-background-hover:#1e1e22;--color-answer-font:#bbb;--color-answer-background:#26292f;--color-result-background:#26292f;--color-result-border:#333;--color-result-url-font:#fff;--color-result-vim-selected:#1f1f23cc;--color-result-vim-arrow:#8af;--color-result-description-highlight-font:#fff;--color-result-link-font:#8af;--color-result-link-font-highlight:#8af;--color-result-link-visited-font:#c09cd9;--color-result-publishdate-font:#888;--color-result-engines-font:#a4a4a4;--color-result-search-url-border:#555;--color-result-search-url-font:#fff;--color-result-detail-font:#fff;--color-result-detail-label-font:lightgray;--color-result-detail-background:#1a1a1c;--color-result-detail-hr:#555;--color-result-detail-link:#8af;--color-result-detail-loader-border:rgba(255, 255, 255, 0.2);--color-result-detail-loader-borderleft:rgba(0, 0, 0, 0);--color-result-image-span-font:#bbb;--color-result-image-span-font-selected:#222;--color-result-image-background:#222;--color-settings-tr-hover:#2c2c32;--color-settings-engine-description-font:#909090;--color-settings-engine-group-background:#1b1b21;--color-toolkit-badge-font:#fff;--color-toolkit-badge-background:#555;--color-toolkit-kbd-font:#000;--color-toolkit-kbd-background:#fff;--color-toolkit-dialog-border:#555;--color-toolkit-dialog-background:#1e1e22;--color-toolkit-tabs-label-border:#222;--color-toolkit-tabs-section-border:#555;--color-toolkit-select-background:#313338;--color-toolkit-select-border:#555;--color-toolkit-select-background-hover:#373b49;--color-toolkit-input-text-font:#fff;--color-toolkit-checkbox-onoff-off-background:#313338;--color-toolkit-checkbox-onoff-on-background:#313338;--color-toolkit-checkbox-onoff-on-mark-background:#58f;--color-toolkit-checkbox-onoff-on-mark-color:#222;--color-toolkit-checkbox-onoff-off-mark-background:#ddd;--color-toolkit-checkbox-onoff-off-mark-color:#222;--color-toolkit-checkbox-label-background:#222;--color-toolkit-checkbox-label-border:#333;--color-toolkit-checkbox-input-border:#58f;--color-toolkit-engine-tooltip-border:#333;--color-toolkit-engine-tooltip-background:#222;--color-toolkit-loader-border:rgba(255, 255, 255, 0.2);--color-toolkit-loader-borderleft:rgba(0, 0, 0, 0);--color-doc-code:#fdd;--color-doc-code-background:#300}

@font-face {
    font-family: 'pt_sansregular';
    src: url('../fonts/PTS55F-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: #262626;
    font-family: 'pt_sansregular', sans-serif;
    color: #EAEAEA;
    font-weight: normal;
    font-style: normal;
    line-height: 1.4;
    margin: 0;
}

a {
  color: #EAEAEA;
}

img {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.5);
}

/*#infoboxes {
    display: flex;
    flex-direction: column;
}*/

.infobox > img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.infobox > h2 {
    text-align: center;
}

.relatedTopics div {
    columns: 2;
}

#apis,
#suggestions div {
    columns: 3;
}

#results {
    margin: 0 18px;
    background-color: #424242;
    background: url('../img/background.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    padding: 15px;
    border-radius: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.result:hover,
.infobox:hover,
li:hover {
  background: linear-gradient(135deg, #343434 0%, #262626 100%);
}

/*
.result img.thumbnail {
    width: 20em;
    min-width: 20em;
    min-height: 8em;
}
*/

.result,
.infobox,
li{
    list-style-type: none;
    padding: 1rem;
    /*margin: 0 0 15px 0;*/
    border-radius: 10px;
    /*background: linear-gradient(135deg, #2f2f2f 0%, #262626 100%);*/
    background: #2f2f2fc9;
    box-shadow: -1px -1px 0px 0px rgba(255, 255, 255, 0.1), 1px 1px 0px 0px rgba(0, 0, 0, 0.3);
    z-index: 1;
    position: relative;
}

.result, .infobox {
    -webkit-backdrop-filter: blur(0.75rem);
    backdrop-filter: blur(0.75rem);
}

ul#list {
    justify-content: space-around;
}

h3 {
    text-align: center;
    margin: 0.2rem;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.1;
}

hr {
    border: 0;
    height: 2px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(93, 94, 94, 0.75), rgba(0, 0, 0, 0));
}

#categories {
    margin-top: 0px;
}

#categories_container {
    display: none !important;
    align-items: baseline;
    flex-direction: row;
    justify-content: center;
}

#search_wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.category label {
    cursor: pointer;
    text-transform: capitalize;
    font-size: 0.9em;
    -webkit-touch-callout: none;
    -webkit-user-select: none;

    padding: 10px 15px 9px;
    margin-right: 7px;
    position: relative;
    display: block;
    border: 1px solid rgba(0,0,0,0);
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: rgba(0, 0, 0, 0);
    border-top: 0 solid rgba(0,0,0,0);
    border-radius: 3px 3px 0 0;
    color: #d8d9da;
}

.invisible {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category input[type="checkbox"]:checked + label {
    border-color: #eb7b18 #343436 rgba(0,0,0,0);
    background: #262626;
    color: #d8d9da;
    overflow: hidden;
}

.category input[type="checkbox"]:checked + label:before {
    display: block;
    content: " ";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    top: 0;
    background-image: linear-gradient(90deg,#34A0EF 0,#0069d9 99%,#0069d9);
}
.category label svg {
  padding-right: 0.2rem;
  height: 20px;
}
.category label div.category_name {
  display: none;
}

#search_view {
    display: flex;
    justify-content: center;
}

.search_box {
    max-width: 80%;
    box-sizing: border-box;
    outline: medium none;
    padding: 16px 16px 8px;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    flex-grow: 1;
}
#q {
    background: rgb(33, 33, 36) none repeat scroll 0% 0%;
    color: #d8d9da;
    border: none;
    box-shadow: none;
    flex-grow: 1;
}

.autocomplete {
    top: inherit !important;
    left: inherit !important;
    width: inherit !important;
    flex-basis: 100%;
    border-top: 2px solid rgba(93,94,94,0.75);
    margin-top: 15px;
}

.autocomplete > ul {
    columns: 3;
}

.autocomplete > ul > li {
    cursor: pointer;
}

#clear_search,
#send_search {
    border-left: none;
    width: 2.2em;
    color: #d8d9da;
    border: none;
    cursor: pointer;
    background: none;
    margin-right: 20px;
}

#clear_search:hover,
#send_search:hover {
    color: #efefef;
}

.invisible,
.category input[type="checkbox"],
.show_if_nojs {
    display: none;
}

.select select {
    background: transparent;
    height: 35px;
    font-size: 14px;
    color: #d8d9da;
    line-height: 18px;
    background-color: #09090b;
    background-image: none;
    background-clip: padding-box;
    border: 1px solid #262628;
    border-radius: 0 3px 3px 0;
    -webkit-box-shadow: inset 1px 0 4px 0 hsla(0,0%,58.8%,.1);
    box-shadow: inset 1px 0 4px 0 hsla(0,0%,58.8%,.1);
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    text-indent: .01px;
    -o-text-overflow: "";
    text-overflow: "";
    padding-right: 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.select select:focus {
    border-color: #262628;
    outline: none;
    outline-offset: -2px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 5px #5794f2;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 5px #5794f2;
}

.select::after {
    background-color: rgba(0,0,0,0);
    color: #d8d9da;
    pointer-events: none;
    font-size: 11px;
    font-family: "ion";
    content: "\f3d0";
    display: inline-block;
    /*transform: rotate(90deg);*/
}

.relatedTopics form {
    padding: 3px 0;
}

#suggestions input:hover,
#apis input:hover,
.relatedTopics input:hover {
    color: #d8d9da;
    background-image: none;
    background-color: #262628;
}

#suggestions input,
#apis input,
.relatedTopics input {
    color: #d8d9da;
    text-shadow: 0 1px 0 rgba(0,0,0,.1);
    background-color: #2a2a2c;
    background-image: linear-gradient(180deg,#262628,#303032);
    background-repeat: repeat-x;
    border-color: #262628;
    box-shadow: -1px -1px 0 0 hsla(0,0%,100%,.1),1px 1px 0 0 rgba(0,0,0,.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: none;
    height: 32px;
    padding: 10px 16px;
    font-size: 13px;
    border-radius: 2px;
}

.result .cache_link, .result .proxyfied_link {
    font-size: 0.9em;
    text-decoration: none;
}

#linkto_preferences {
    position: absolute;
    right: 10px;
    top: 4.2em;
    padding: 0;
    border: 0;
    display: block;
    font-size: 1.2em;
    color: #efefef;
}

#linkto_preferences a {
    text-decoration: none;
}

.index .title {
  background: url(../img/neptune.png) no-repeat;
  min-height: 250px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5);
  margin: 20px;
  background-position-x: center;
  background-position-y: center;
  background-size: cover;
}
.index {
    text-align: center;
}

.index h1 {
    visibility: hidden;
}

#main_preferences h1 span, #main_stats h1 span {
    visibility: hidden;
}

footer {
    bottom: 0;
    height: 3em;
    margin: 1em 0;
    padding: 1em 0;
    clear: both;
    width: 100%;
    text-align: center;
    color: darkgray;
}

#main_preferences, #main_about, #main_stats {
    margin: 3em;
    width: auto;
}

#main_preferences h1, #main_stats h1 {
    min-height: 40px;
    margin: 0 auto;
}

html body .tabs > input + label {
    cursor: pointer;
    font-size: 0.9em;
    padding: 10px 15px 9px;
    margin-right: 7px;
    position: relative;
    display: block;
    border: 1px solid rgba(0,0,0,0);
    border-radius: 3px 3px 0 0;
    color: #d8d9da;
    border-top-width: 0;
}

html body .tabs > input:checked + label {
    border-color: #eb7b18 #343436 rgba(0,0,0,0);
    background: #262626;
    color: #d8d9da;
    overflow: hidden;
}
html body .tabs > input:checked + label::before {
    display: block;
    content: " ";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    top: 0;
    background-image: linear-gradient(90deg,#34A0EF 0,#0069d9 99%,#0069d9);
}
.tabs > label {
    order: 1;
    padding: 0.7em;
    margin: 0 0.7em;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: solid white;
    border-top-width: medium;
    border-right-width: medium;
    border-bottom-width: medium;
    border-left-width: medium;
    border-bottom-style: solid;
    border-bottom-color: white;
    border-width: 0px 0px 2px 0;
    border-bottom-width: 2px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}
.tabs > * {
    order: 2;
}
html body .tabs > input:checked + label + section {
    display: block;
}
html body .tabs > input:checked ~ section {
    display: none;
}
.tabs > section {
    min-width: 100%;
    padding: 0.7rem 0;
    box-sizing: border-box;
    border-top: 1px solid #343436;
    display: none;
}
.tabs {
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-width: 100%;
}
.tabs > input[type="radio"] {
    display: none;
}

main {
    width: 100%;
    flex-grow: 1;
}
body, main {
    padding: 0;
    margin: 0;
}
body {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.result .content .highlight, .result .stat .highlight, .result .altlink .highlight {
    color: #FFFFFF;
    background: inherit;
    font-weight: bold;
}
.highlight {
    color: #cee3ff;
    background: inherit;
    font-weight: bold;
}
.engines {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    color: #888;
}
.engines span {
    font-size: smaller;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 15px;
    margin-left: 0;
}
#pagination {
    display: flex;
}

#pagination form:last-of-type {
    margin-left: auto;
}

#results > #urls {
    position: relative;
}

#results > #urls > article:not(.result-images) {
    margin: 15px;
}

@media screen and (min-width: 768px) {
    .infobox,
    #results > #urls > article:not(.result-images) {
        margin: 15px auto;
        max-width: 70%;
    }
}

#results > #urls > article.result-images {
    margin-bottom: 15px;
}

#infoboxes > aside:nth-child(n+2) {
    display: none;
}

#infoboxes .urls ul {
    display: flex;
    justify-content: space-around;
}

.result.result-videoscategory-videos .thumbnail,
.result.result-videoscategory-music .thumbnail,
.result.result-images.category-images .image_thumbnail {
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
}

.result-images .url {
    display: none;
}

.result.result-images.category-images:hover .url {
    display: block;
}

.result.result-images.category-images:hover {
    z-index: 2;
}

/* 3 columns by default */
.grid-sizer { width: 20%; }

@media screen and (min-width: 768px) {
  /* 5 columns for larger screens */
  .grid-sizer { width: 10%; }
}

#pagination button {
    border: 0;
    border-radius: 0.25rem;
    background: #262626;
    color: white;
    font-family: -system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    margin: 0.25rem;
    cursor: pointer;
}

#pagination .left button {
}

#pagination .right button {
}

#pagination button:hover {
    box-shadow: 0 0 0 6px #262626;
}

#search_form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.checkbox-onoff {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.checkbox-onoff input {
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-onoff label {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: .4s;
  border-radius: 34px;
  background-color: #2196F3;
}

.checkbox-onoff label:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  right: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

.checkbox-onoff > input:checked + label {
  background-color: #ccc;
}

.checkbox-onoff > input:focus + label {
  box-shadow: 0 0 1px #2196F3;
}

.checkbox-onoff > input:checked + label:before {
  transform: translateX(-26px);
}

/* smooth scroll */
* {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}

.help,
.dialog-error {
  display: none;
}

#search_logo {
    grid-area: logo;
    /* display: flex; */
    display: none;
    align-items: center;
    justify-content: center;
}

#search_logo svg {
    flex: 1;
    width: 30px;
    height: 30px;
    margin: .5rem 0 auto 0;
}

.index .search_filters {
    display: block;
    margin: 1em 0;
}

#search {
    background: rgb(33, 33, 36) none repeat scroll 0% 0%;
    border-bottom: 1px solid #343436;
    margin-bottom: 20px;
}

.search_filters {
    margin-right: 0;
    margin-bottom: -0.05rem;
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain
    flex-direction: row;
    justify-content: center;
}
/*
.search_filters {
    position: absolute;
    margin: 0 0.25rem 0 1.25rem;
    top: 0;
}
*/

.search_filters select {
    display: none;
    border: 0;
    margin-right: 5px;
    background-color: inherit;
}

.search_filters select:focus,
.search_filters select:hover {
    color: #444;
}

#sidebar {
    display: none;
}

.url_wrapper {
    display: flex;
    font-size: 1rem;
    color: #25a55b;
    flex-wrap: nowrap;
    overflow: hidden;
    flex-direction: row;
    margin: 0;
    padding: 0;
}

.result .url_wrapper .url_o1 {
    white-space: nowrap;
    flex-shrink: 1;
}

.result .url_wrapper .url_o1::after {
    content: " ";
    width: 1ch;
    display: inline-block;
}
.result .url_wrapper .url_o2 {
    overflow: hidden;
    white-space: nowrap;
    flex-basis: content;
    flex-grow: 0;
    flex-shrink: 1;
    text-align: right;
}
.result .url_wrapper .url_o2 .url_i2 {
    float: right;
}
#backToTop {
    display: none;
}

#links_on_top {
  position: absolute;
  right: 1rem;
  text-align: right;
  top: 20px;
  display: flex;
  align-items: center;
  font-size: 1em;
  color: var(--color-search-font);
  flex-direction: row;
  background-color: var(--color-base-background);
  border-radius: 0 0 0 10px;
}
#links_on_top a {
  margin: 5px;
}
#links_on_top a svg {
  font-size: 1.2em;
  margin-right: 0.125em;
}
#links_on_top a,
#links_on_top a:link *,
#links_on_top a:hover *,
#links_on_top a:visited *,
#links_on_top a:active * {
  color: var(--color-search-font);
  display: table-column;
}

select {
    height: 2.4rem;
    padding: 0.2rem !important;
    z-index: 2;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-width: 0 2rem 0 0;
    border-color: transparent;
    background: url(data:image/svg+xml;charset=UTF-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%0A%3Cg%3E%3Cpolygon%20points%3D%22128%2C192%20256%2C320%20384%2C192%22%2F%3E%3C%2Fg%3E%0A%3C%2Fsvg%3E) no-repeat;
    background-position-x: calc(100% + 2rem);
    background-size: 2rem;
    background-origin: content-box;
    background-color: var(--color-toolkit-select-background);
    outline: medium none;
    text-overflow: ellipsis;
    border-radius: 5px;
    color: var(--color-search-font);
}

html.theme-dark select {
    background-image: url(data:image/svg+xml;charset=UTF-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%0A%3Cg%3E%3Cpolygon%20fill%3D%22%23ddd%22%20points%3D%22128%2C192%20256%2C320%20384%2C192%22%2F%3E%3C%2Fg%3E%0A%3C%2Fsvg%3E);
}

.reversed-checkbox
input.checkbox-onoff[type=checkbox],
input.checkbox-onoff[type=checkbox]:checked {
    background: var(--color-toolkit-checkbox-onoff-on-background);
}
.reversed-checkbox
input.checkbox-onoff[type=checkbox]:checked,
input.checkbox-onoff[type=checkbox] {
    background: var(--color-toolkit-checkbox-onoff-off-background);
}
input.checkbox-onoff[type=checkbox] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    display: inline-block;
    width: 2.5em;
    height: .7em;
    box-shadow: none!important;
    margin: 0 16px;
    border-radius: 10px;
    position: relative;
}
[type=checkbox],
[type=radio] {
    box-sizing: border-box;
    padding: 0;
}
button,
input {
    overflow: visible;
}
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

#main_preferences .value {
    margin: 0;
    padding: 0;
    float: left;
    width: 15em;
}

.reversed-checkbox input.checkbox-onoff[type=checkbox]::before, input.checkbox-onoff[type=checkbox]:checked::before {
    left: calc(100% - 1.5em);
    content: "\2713";
    color: var(--color-toolkit-checkbox-onoff-on-mark-color);
    background: var(--color-toolkit-checkbox-onoff-on-mark-background);
}

input.checkbox-onoff[type=checkbox]::before {
    transition: left .25s;
}

input.checkbox-onoff[type=checkbox]::before {
    position: absolute;
    top: -.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .75em;
    width: 1.875em;
    height: 1.875em;
    border-radius: 50%;
}

.reversed-checkbox input.checkbox-onoff[type=checkbox]:checked, input.checkbox-onoff[type=checkbox] {
    background: var(--color-toolkit-checkbox-onoff-off-background);
}

input.checkbox-onoff[type=checkbox] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    display: inline-block;
    width: 2.5em;
    height: .7em;
    box-shadow: none!important;
    margin: 0 16px;
    border-radius: 10px;
    position: relative;
}

.reversed-checkbox input.checkbox-onoff[type=checkbox]:checked::before, input.checkbox-onoff[type=checkbox]::before {
    left: -.5em;
    content: "\2715";
    color: var(--color-toolkit-checkbox-onoff-off-mark-color);
    background: var(--color-toolkit-checkbox-onoff-off-mark-background);
}

img.logo {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

#main_neptune\/preferences h1 {
    text-align: center;
}

#main_neptune\/preferences section#tab-content-engines,
#main_neptune\/preferences section#tab-content-ui,
#main_neptune\/preferences section#tab-content-privacy,
#main_neptune\/preferences section#tab-content-query,
#main_neptune\/preferences section#tab-content-cookies,
#main_neptune\/preferences section#tab-content-general {
    margin: 0 18px;
    background-color: #424242;
    background: url('../img/background.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    padding: 15px;
    border-radius: 15px;
}

#main_neptune\/preferences fieldset {
    border: none;
    backdrop-filter: blur(0.75rem);
    margin: 15px auto;
    max-width: 70%;
    list-style-type: none;
    /* margin: 0 0 15px 0; */
    border-radius: 10px;
    /* background: linear-gradient(135deg, #2f2f2f 0%, #262626 100%); */
    background: #2f2f2fc9;
    box-shadow: -1px -1px 0px 0px rgba(255, 255, 255, 0.1), 1px 1px 0px 0px rgba(0, 0, 0, 0.3);
    z-index: 1;
    position: relative;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

#main_neptune\/preferences legend {
    float: left;
}

#main_neptune\/preferences .description {
    margin: 0;
    padding: 5px 0 0 0;
    float: right;
    width: 50%;
    color: var(--color-settings-engine-description-font);
    font-size: 90%;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-width: 100%;
}

input[type=text] {
    width: 13.25rem;
    color: var(--color-toolkit-input-text-font);
    border: none;
    background: none repeat scroll 0 0 var(--color-toolkit-select-background);
    padding: 0.2rem 0.4rem;
    height: 2rem;
    border-radius: 5px;
}

.small_font {
    text-align: center;
    font-size: .8em;
    margin-left: auto;
    margin-right: auto;
}

p.text-muted,
#tab-content-engines p,
#tab-content-categoryother p,
#tab-content-cookies h4,
.small_font {
    background: #262626;
    width: fit-content;
    padding: 5px;
    border-radius: 10px;
}

#main_neptune\/preferences #results button[type=submit],
#main_neptune\/preferences input[type=submit] {
    padding: 0.7rem;
    display: inline-block;
    background: var(--color-btn-background);
    color: var(--color-btn-font);
    border-radius: 10px;
    border: 0;
    cursor: pointer;
    margin-left: auto;
}

#dialog_button {
    margin: 18px;
    display: flex;
    flex-direction: row-reverse;
}

#main_neptune\/preferences .preferences_back {
    background: none repeat scroll 0 0 var(--color-btn-background);
    color: var(--color-btn-font);
    border: 0 none;
    border-radius: 10px;
    cursor: pointer;
    display: inline-block;
    margin: 2px 4px;
    padding: 0.7em;
    width: fit-content;
}

@media screen and (max-width: 79.75em)
.preferences_back {
    clear: both;
}
.right {
    float: right;
}

#main_neptune\/preferences table.table_engines .engine-group {
    text-align: center;
    font-weight: 400;
    background: var(--color-settings-engine-group-background);
}

table.striped tr {
    border-bottom: 1px solidvar(--color-settings-tr-hover);
}

#main_neptune\/preferences table.table_engines th.name .engine-tooltip {
    margin-top: 1.8rem;
    left: calc((100% - 85em)/ 2 + 10em);
    max-width: 40rem;
}
.engine-tooltip:hover, td:hover .engine-tooltip, th:hover .engine-tooltip {
    display: inline-block;
}
@media screen and (max-width: 79.75em)
.engine-tooltip {
    left: 10em!important;
}
.engine-tooltip {
    display: none;
    position: absolute;
    padding: 0.5rem 1rem;
    margin: 0 0 0 2rem;
    border: 1px solid var(--color-toolkit-engine-tooltip-border);
    background: var(--color-toolkit-engine-tooltip-background);
    font-size: 14px;
    font-weight: 400;
    z-index: 1000000;
    text-align: left;
    border-radius: 10px;
}

tr:first-child th:first-child { border-top-left-radius: 10px; }
tr:first-child th:last-child { border-top-right-radius: 10px; }

tr:last-child td:first-child { border-bottom-left-radius: 10px; }
tr:last-child td:last-child { border-bottom-right-radius: 10px; }

.danger {
    background-color: var(--color-error-background);
}

input.checkbox-onoff[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  display: inline-block;
  width: 2.5em;
  height: 0.7em;
  box-shadow: none !important;
  margin: 0 16px;
  border-radius: 10px;
  position: relative;
}
input.checkbox-onoff[type="checkbox"]:focus,
input.checkbox-onoff[type="checkbox"]:hover {
  outline: none;
}
input.checkbox-onoff[type="checkbox"]:focus:after {
  content: "";
  position: absolute;
  width: 3.5em;
  height: 1.65em;
  border: 1px solid var(--color-btn-background);
  border-radius: 12px;
  box-shadow: var(--color-btn-background) 0 0 3px;
  z-index: 1200;
  top: -0.55em;
  left: -0.6em;
}
input.checkbox-onoff[type="checkbox"]:before {
  position: absolute;
  top: -0.5em;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.75em;
  width: 1.875em;
  height: 1.875em;
  border-radius: 50%;
}
input.checkbox-onoff[type="checkbox"],
input.checkbox-onoff.reversed-checkbox[type="checkbox"]:checked {
  background: var(--color-toolkit-checkbox-onoff-off-background);
}
input.checkbox-onoff[type="checkbox"]:before,
input.checkbox-onoff.reversed-checkbox[type="checkbox"]:checked:before {
  left: -0.5em;
  content: "✕";
  color: var(--color-toolkit-checkbox-onoff-off-mark-color);
  background: var(--color-toolkit-checkbox-onoff-off-mark-background);
}
input.checkbox-onoff[type="checkbox"]:checked,
input.checkbox-onoff.reversed-checkbox[type="checkbox"] {
  background: var(--color-toolkit-checkbox-onoff-on-background);
}
input.checkbox-onoff[type="checkbox"]:checked:before,
input.checkbox-onoff.reversed-checkbox[type="checkbox"]:before {
  left: calc(100% - 1.5em);
  content: "✓";
  color: var(--color-toolkit-checkbox-onoff-on-mark-color);
  background: var(--color-toolkit-checkbox-onoff-on-mark-background);
}

td, th {
    backdrop-filter: blur(0.75rem);
}

#main_neptune\/preferences table>tbody>tr:nth-child(even)>td, #main_neptune\/preferences table>tbody>tr:nth-child(even)>th {
    background-color: var(--color-settings-tr-hover);
}
#main_neptune\/preferences table>tbody>tr:nth-child(odd)>td, #main_neptune\/preferences table>tbody>tr:nth-child(odd)>th {
    background: #2f2f2fc9;
}
#main_neptune\/preferences table td:first-child {
    word-break: keep-all;
    width: 14rem;
    padding-right: 1rem;
}
#main_neptune\/preferences table td, #main_preferences table th {
    text-align: left;
    font-family: monospace;
    font-size: 1rem;
    padding: 0.5em;
    vertical-align: top;
}

div.selectable_url {
    display: block;
    border: 1px solid var(--color-result-search-url-border);
    padding: 4px;
    color: var(--color-result-search-url-font);
    margin: 0.1em;
    overflow: hidden;
    /* height: 1.2em; */
    /* line-height: 1.2em; */
    border-radius: 5px;
    background: #262626;
}

#main_neptune\/preferences div.selectable_url pre {
    width: 100%;
}

.table_engines {
    margin-left: auto;
    margin-right: auto;
}

#main_neptune\/results div#results.only_template_images #urls {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

#main_neptune\/results div#results.only_template_images {
    margin: 1rem 0.5rem 0 0.5rem;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: min-content min-content min-content 1fr min-content;
    gap: 0;
    grid-template-areas:
        "corrections"
        "answers"
        "sidebar"
        "urls"
        "pagination";
}

.result-images img {
    margin: 0;
    padding: 0;
    border: none;
    height: 100%;
    width: 100%;
    object-fit: cover;
    vertical-align: bottom;
    background: var(--color-result-image-background);
}

article.result-images .detail {
    display: none;
}

article.result-images[data-vim-selected] {
    background: var(--color-result-vim-arrow);
    border: none;
    border-radius: 10px;
}

@media screen and (max-width: 79.75em)
#results.image-detail-open article.result-images[data-vim-selected] .detail {
    top: 0;
    left: 0;
}

#results #sidebar :first-child, #results #urls :first-child {
    margin-top: 0;
}

#results.image-detail-open article.result-images[data-vim-selected] .detail a.result-detail-close, #results.image-detail-open article.result-images[data-vim-selected] .detail a.result-detail-next, #results.image-detail-open article.result-images[data-vim-selected] .detail a.result-detail-previous {
    border-radius: 50%;
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    position: absolute;
    filter: opacity(40%);
    z-index: 2000002;
}

#results.image-detail-open article.result-images[data-vim-selected] .detail a.result-detail-close {
    top: 1rem;
    left: 1rem;
    padding: 0.4rem;
}

#results.image-detail-open article.result-images[data-vim-selected] .detail .result-images-labels {
    color: var(--color-result-detail-font);
    max-height: 16rem;
    min-height: 16rem;
}

.result-images span.source, .result-images span.title {
    display: block;
    position: absolute;
    width: 100%;
    font-size: .9rem;
    color: var(--color-result-image-span-font);
    padding: 0.5rem 0 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-images span.source {
    padding: 1.8rem 0 0 0;
    font-size: .7rem;
}
.result-images span.source, .result-images span.title {
    display: block;
    position: absolute;
    width: 100%;
    font-size: .9rem;
    color: var(--color-result-image-span-font);
    padding: 0.5rem 0 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#results.image-detail-open article.result-images[data-vim-selected] .detail a.result-detail-close, #results.image-detail-open article.result-images[data-vim-selected] .detail a.result-detail-next, #results.image-detail-open article.result-images[data-vim-selected] .detail a.result-detail-previous {
    border-radius: 50%;
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    position: absolute;
    filter: opacity(40%);
    z-index: 2000002;
}

#results.image-detail-open article.result-images[data-vim-selected] .detail a.result-detail-previous {
    top: 1rem;
    right: 6rem;
    padding-top: 0.4rem;
    padding-right: 0.5rem;
    padding-bottom: 0.4rem;
    padding-left: 0.3rem;
}

#results.image-detail-open article.result-images[data-vim-selected] .detail a.result-detail-next {
    top: 1rem;
    right: 2rem;
    padding: 0.4rem;
}

#results.image-detail-open article.result-images[data-vim-selected] .detail a.result-detail-close, #results.image-detail-open article.result-images[data-vim-selected] .detail a.result-detail-close:active, #results.image-detail-open article.result-images[data-vim-selected] .detail a.result-detail-close:hover, #results.image-detail-open article.result-images[data-vim-selected] .detail a.result-detail-close:visited, #results.image-detail-open article.result-images[data-vim-selected] .detail a.result-detail-next, #results.image-detail-open article.result-images[data-vim-selected] .detail a.result-detail-next:active, #results.image-detail-open article.result-images[data-vim-selected] .detail a.result-detail-next:hover, #results.image-detail-open article.result-images[data-vim-selected] .detail a.result-detail-next:visited, #results.image-detail-open article.result-images[data-vim-selected] .detail a.result-detail-previous, #results.image-detail-open article.result-images[data-vim-selected] .detail a.result-detail-previous:active, #results.image-detail-open article.result-images[data-vim-selected] .detail a.result-detail-previous:hover, #results.image-detail-open article.result-images[data-vim-selected] .detail a.result-detail-previous:visited {
    color: var(--color-result-detail-font);
    background: var(--color-result-detail-background);
    border: 1px solid var(--color-result-detail-font);
}

.result-images span.source, .result-images span.title {
    display: block;
    position: absolute;
    width: 100%;
    font-size: .9rem;
    color: var(--color-result-image-span-font);
    padding: 0.5rem 0 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-images span.source, .result-images span.title {
    display: block;
    position: absolute;
    width: 100%;
    font-size: .9rem;
    color: var(--color-result-image-span-font);
    padding: 0.5rem 0 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-images span.source {
    padding: 1.8rem 0 0 0;
    font-size: .7rem;
}

#results.image-detail-open article.result-images[data-vim-selected] .detail {
    display: flex;
    flex-direction: column;
    position: sticky;
    left: 30rem;
    right: 0;
    top: 7.6rem;
    transition: top 64ms ease-in 0s;
    bottom: 0;
    background: var(--color-result-detail-background);
    border: 1px solid var(--color-result-detail-background);
    z-index: 10000;
    padding: 4rem 3rem 3rem 3rem;
}

.result-images {
    flex-grow: 1;
    padding: 0.5rem 0.5rem 3rem 0.5rem;
    margin: 0.25rem;
    border: none!important;
    height: 12rem;
}

.sxng-icon-set {
  display: inline-block;
  vertical-align: bottom;
  line-height: 1;
  text-decoration: inherit;
  transform: scale(1);
}
.sxng-icon-set-small {
  width: 1rem;
  height: 1rem;
  display: inline-block;
  vertical-align: bottom;
  line-height: 1;
  text-decoration: inherit;
  transform: scale(1);
}
.sxng-icon-set-big {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-block;
  vertical-align: bottom;
  line-height: 1;
  text-decoration: inherit;
  transform: scale(1);
}

.numbered_pagination {
    display: none!important;
}
#answers {
    display: none !important;
}
