/* Settings panel */

.i8-settings-on {
    border-radius: 15px 15px 0px 0px;
    color: white;
    background-color: #1258DC;
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent; /* Remove shaddow rectangle on mobile browsers */
}

    .i8-settings-on:hover {
        color: lightgray;
    }

.i8-settings-off {
    border-radius: 15px 15px 0px 0px;
    color: navy;
    background-color: white;
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent; /* Remove shaddow rectangle on mobile browsers */
}

    .i8-settings-off:hover {
        color: darkgray;
    }

.i8-settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 35px 35px;
    padding: 4px;
    gap: 4px;
    border-radius: 7px 0px 7px 7px;
    background-color: #1258DC;
    color: navy;
}

.i8-settings-button {
    height: 35px;
    line-height: 35px;
    border-radius: 7px;
    vertical-align: middle;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
}

/* Tabs */

.i8-tabs {
    display: flex;
    margin-top: 12px;
}
    .i8-tabs > div {
        flex: 1;
        font-size: 16px;
        font-weight: bold;
        align-self: center;
        text-align: center;
        height: 40px;
        line-height: 40px;
        border-radius: 15px 15px 0px 0px;
        margin-right: 2px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;  /* Remove shaddow rectangle on mobile browsers */
    }
        .i8-tabs > div:last-child {
            margin-right: 0px;
        }

.i8-tab-active {
    border: 1px solid #1258DC;
    background-color: #1258DC;
    color: white;
}

.i8-tab-inactive {
    border: 1px solid #a4c0f4;
    background-color: #a4c0f4;
    color: navy;
}

    .i8-tab-inactive:hover {
        border: 1px solid navy;
        border-bottom: 1px solid var(--button-hover-background-color);
        background-color: var(--button-hover-background-color);
        color: var(--button-hover-text-color);
    }

.i8-tab-description {
    background-color: #1258DC;
    color: white;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    height: 35px;
    line-height: 35px;
}

/* Toggle list */

.i8-toggle-list-header {
    display: grid;
    grid-template-columns: auto;
    align-items: center;
    text-align: center;
    font-weight: bold;
    height: 25px;
    border-bottom: 1px solid #ccc;
    padding: 5px;
}

.i8-toggle-list-title {
    display: grid;
    grid-template-columns: auto;
    align-items: center;
    text-align: center;
    font-weight: bold;
    min-height: 50px;
    border-bottom: 1px solid #ccc;
    margin-top: 10px;
}

.i8-toggle-list-row {
    display: grid;
    grid-template-columns: auto 50px;
    align-items: center;
    min-height: 50px;
    border-bottom: 1px solid #ccc;
    color: black;
    text-align: left;
    font-weight: normal;
}

.i8-toggle-list-toggle {
    padding: 7px 0px 7px 7px;
    font-size: 20px;
    color: var(--site-color);
    text-align: center;
    cursor: pointer;
}

/* Search input */
input[type=search] {
    width: 100%;
    max-width: 400px;
    padding: 12px 10px 12px 30px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-image: url('/images/searchicon.png');
    background-repeat: no-repeat;
    background-position: 7px 15px;
    outline-offset: 0px
}

    input[type=search]:focus {
        outline: none;
        border: 2px solid var(--site-color);
    }

/* Images */
.i8-bannor-image {
    width: 100%;
}

/* Additional colors */
.i8-bg-light-blue {
    background-color: #d6e0f5;
}
