* {
    box-sizing: border-box;
}

body {
    background: #01074b;
    color: #fefefe;
    font-size: 16px;
    margin: 0;
    font-family: arial, helvetica, sans-serif;
    box-shadow: none;
    line-height: 1.5;
}

.index-search {
    text-align: center;
    width: 100%;
}

.index-search .searchbar {
    position: relative;
}

.index-search .searchbar input {
    border: 0;
    background: #ffffff;
    padding: 8px 42px 8px 10px;
    font-size: 16px;
    border-right-width: 0;
    width: 100%;
    height: 44px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.index-search .searchbar button {
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    position: absolute;
    border: 0;
    background: #ffffff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #efefef;
}

.index-search .searchbar button:hover {
    background: rgba(0, 0, 0, 0.15);
}

.page {
    max-width: 660px;
    margin: 0 auto;
}

.widgets {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-flow: row dense;
    max-width: 1200px;
    margin: 0 auto 16px;
}

@media (max-width: 992px) {
    .widgets {
        grid-template-columns: repeat(6, 1fr);
    }
}

.widgets>div {
    padding: 16px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.widgets>div>a {
    display: block;
    text-decoration: none;
    color: #212121;
}

.widgets>div .widget-image {
    width: 200px;
    height: 200px;
    margin-bottom: 8px;
}

.widgets>div .widget-image>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widgets>div .widget-title {
    font-weight: bold;
    font-size: 24px;
}

.widgets>div .widget-snippet {
    font-size: 14px;
}

.widgets>.widget-8x3 {
    grid-column-end: span 8;
    grid-row-end: span 3;
}

.widgets>.widget-4x1 {
    grid-column-end: span 4;
}

.widgets>.widget-6x1 {
    grid-column-end: span 6;
}

.widgets>.widget-6x1 a {
    display: grid;
    gap: 16px;
    grid-template-columns: 120px auto;
}

.widgets>.widget-6x1 .widget-image {
    width: 120px;
    height: 100%;
    margin-bottom: 0;
}

.widgets>.widget-6x1 .widget-image>img {
    object-fit: cover;
    aspect-ratio: 3 / 2;
}

.widgets>.widget-6x1 .widget-title {
    font-size: 20px;
}

.widgets>.widget-6x1 .widget-snippet {
    display: none;
}

.widgets>.widget-6x3 {
    grid-column-end: span 6;
    grid-row-end: span 3;
}

.widgets>.widget-6x3 .widget-image {
    width: 100%;
    height: 350px;
}

.widgets>.widget-6x3 .widget-image>img {
    height: 100%;
    overflow: hidden;
}

.widgets>.widget-6x3 {
    grid-column-end: span 6;
    grid-row-end: span 3;
}

.widgets>.widget-6x4 {
    grid-column-end: span 6;
    grid-row-end: span 3;
}

.widgets>.widget-6x4 .widget-image {
    width: 100%;
    height: 350px;
}

.widgets>.widget-6x4 .widget-image>img {
    height: 100%;
    overflow: hidden;
}

.widgets>.widget-6x4 {
    grid-column-end: span 6;
    grid-row-end: span 4;
}

.widgets>.widget-3x1 {
    grid-column-end: span 3;
}

.widgets>.widget-3x1 .widget-image {
    width: 100%;
    height: 110px;
}

.widgets>.widget-3x1 .widget-title {
    font-size: 16px;
}

.widgets>.widget-3x1 .widget-snippet {
    display: none;
}

.container {
    max-width: 100%;
    margin: 1px 0;
    padding: 16px;
    background: #01074b;
    box-shadow: unset;
}

.container.page {
    max-width: 660px;
    margin: 0 auto;
}

.article {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.article h2 {
    margin-top: 0;
}

.article h2 a {
    text-decoration: none;
    color: #212121;
}

.article h2 a:hover {
    color: #0025ff;
}

.article h2 a:focus {
    color: #0025ff;
    text-decoration: underline;
}

.toolbar {
    max-width: 100%;
    margin: 1px 0;
    padding: 0;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#customSearchBarButton {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
}

#customSearchBarButton svg {
    width: 17px;
    height: 17px;
}

.published-on,
.search-icon {
    font-size: 12px;
    margin-top: 10px;
}

h1 {
    font-size: 1.4rem;
    margin-top: 0;
}

h2 {
    font-size: 1.1rem;
}

footer {
    text-align: center;
}

footer a {
    color: #fefefe;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}

.webresults {
    margin-top: 16px;
    color: #515151;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.webresults a {
    color: #515151;
    font-size: 18px;
    text-decoration: none;
}

.ws-domain {
    font-size: 14px;
}

.offers {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.offers>.offer {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 2px solid #020c7d;
    padding: 16px;
}

.offers>.offer>.offer-title {
    font-weight: bold;
    line-height: 1;
}

.offers>.offer>.offer-snippet {
    color: #9e9e9e;
    font-size: 14px;
}

.offers>.offer>.offer-link {
    text-decoration: none;
    color: #fff;
    display: block;
    text-align: center;
    padding: 4px 8px;
    background-color: #020c7d;
    border: 0;
}

.sale-bar {
    background: #666460;
    color: #c8c8c8;
    text-align: center;
    font: 16px/36px sans-serif;
    height: 36px;
}

.sale-bar>a {
    display: block;
    color: #ffffff;
    text-decoration: none;
}

a.underlined {
    color: #000;
    text-decoration: underline;
}

.loader {
    z-index: 999;
    background: #01074b;
    width: 100%;
    height: 100dvh;
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.loader>.spinner {
    width: 48px;
    height: 48px;
    border: 5px solid #ffffff;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.webresults>.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #515151;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

.loader+.wrapper {
    display: none;
}

.wrapper>* {
    width: 100%;
}

main {
    flex: 1 1 auto;
    padding: 0;
}

.wrapper.index main {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wrapper.index .container.page {
    width: 100%;
}