/*
 * Navigation
 */
#wpp-menu {
    float: none;
    clear: both;
}

    #wpp-menu ul {
        text-align: center;
    }

        #wpp-menu ul li {
            padding: 0 15px 0 10px;
            margin: 0 0px;
            display: inline;
            border-right: #ddd 1px solid;
        }

        #wpp-menu ul li:last-child {
            border: none;
        }

            #wpp-menu ul li a {
            }

            #wpp-menu ul li.current a {
                color: #00a0d2;
                text-decoration: none;
            }

.wpp-wrapper {
    position: relative;
    float: none;
    clear: both;
    margin: 20px 20px 0 2px;
    -webkit-font-smoothing: subpixel-antialiased;
}

.wpp-tabs {
    box-sizing: border-box;
}

    .wpp-tabs .wpp-tabs-container {
        display: grid;
        grid-auto-columns: 1fr;
    }

        .wpp-tabs .wpp-tabs-container button {
            cursor: pointer;
            padding: 8px 3px;
            background: #f9f9f9;
            border: none;
            border-right: #bbb 1px solid;
            border-bottom: #f0f0f0 1px solid;
            border-radius: 0 !important;
        }

        .wpp-tabs .wpp-tabs-container button:focus,
        .wpp-tabs .wpp-tabs-container button:hover {
            background: #fff;
        }

        .wpp-tabs .wpp-tabs-container button[aria-selected="false"] {
            background: #e9e9e9;
        }

        .wpp-tabs .wpp-tabs-container button[aria-selected="false"]:focus,
        .wpp-tabs .wpp-tabs-container button[aria-selected="false"]:hover {
            background: #e0e0e0;
        }

        .wpp-tabs .wpp-tabs-container button:last-of-type {
            border-right: none;
        }

            .wpp-tabs .wpp-tabs-container button span {
                pointer-events: none;
            }

    .wpp-tabs .wpp-tabs-panel {
        overflow: hidden;
        display: none;
    }

    .wpp-tabs .wpp-tabs-panel.active {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

.wpp-lightbox {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 999;
    padding: 15px;
    width: 100%;
    max-width: 320px;
    background: #fff;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.25);
    box-sizing: border-box;
    transform: translate(-50%, -50%);
}

    .wpp-lightbox-tabs {
        margin: -15px -15px 25px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        text-align: center;
    }

    .wpp-lightbox form {
        display: block;

        * {
            box-sizing: border-box;
        }
    }

        .wpp-lightbox form input[type=text] {
            display: block;
            margin: 0 0 15px 0;
            width: 100%;
        }

        .wpp-lightbox form #custom-time-range.active {
            display: grid;
            grid-template-columns: 90px 1fr;
            gap: 8px;

            input,
            select {
                border-radius: 5px;
            }
        }

        .wpp-lightbox form #custom-date-range.active {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-direction: column;
            gap: 6px;

            @media (min-width: 640px) {
                align-items: flex-start;
                flex-direction: row;
                gap: 0;
            }
        }

            .wpp-lightbox form #custom-date-range .wpp-date-field {
                position: relative;
                padding-top: 0.75em;
            }

                .wpp-lightbox form #custom-date-range .wpp-date-field .wpp-date-field-inner {
                    padding-top: 0.5em;
                    border: 1px solid #8c8f94;
                    border-radius: 5px;

                    &:has(input[type="date"]:focus) {
                        border-color: #000;

                        & label {
                            color: #000;
                        }
                    }
                }

                    .wpp-lightbox form #custom-date-range .wpp-date-field .wpp-date-field-inner label {
                        position: absolute;
                        top: 0;
                        left: 8px;
                        padding: 0 0.25em;
                        display: inline-block;
                        cursor: pointer;
                        background: #fff;
                    }

                    .wpp-lightbox form #custom-date-range .wpp-date-field .wpp-date-field-inner input[type="date"] {
                        border: none;
                        box-shadow: none;
                    }

.wpp-section-stats {
    position: relative;
}

    .wpp-section-stats #wpp-stats-config-btn {
        position: absolute;
        top: 22px;
        left: 0;
        cursor: pointer;
        outline: inherit;
        padding: 0;
        width: 25px;
        height: 25px;
        min-height: auto;
        font-size: 25px;
        background: none;
        border: none;
    }

        .wpp-section-stats #wpp-stats-config-btn .dashicons-admin-generic {
            font-size: inherit;
        }

    .wpp-header {
        overflow: hidden;
        display: block;
        padding: 25px 0 0 0;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    }

        .wpp-header h1,
        .wpp-header p {
            text-align: center;
        }

        .wpp-header p {
            margin: 0 0 5px 0;
            font-size: 13px;
            font-weight: 400;
            line-height: 1;
        }

        .wpp-header h1 {
            margin: 0 0 30px 0;
            font-size: 45.5px;
            letter-spacing: -1px;
            line-height: 1;
        }

        #wpp-chart-wrapper p:nth-of-type(1),
        #wpp-chart-wrapper p:nth-of-type(2) {
            line-height: 1;
            text-align: center;
        }

        #wpp-chart-wrapper p:nth-of-type(1) {
            margin: 0 0 8px 0;
            font-size: 26px;
            font-weight: 100;
            letter-spacing: -2px;
        }

        #wpp-chart-wrapper p:nth-of-type(2) {
            margin: 0 0 0 0;
            font-size: 11.7px;
            font-weight: 300;
        }

        .wpp-header-nav {
            margin: 55px auto 0px auto;
            padding: 0;
            text-align: center;
        }

            .wpp-header-nav li {
                display: inline;
                list-style: none;
                margin: 0 4px;
                padding: 0;
            }

                .wpp-header-nav li button {
                    cursor: pointer;
                    outline: inherit;
                    min-height: auto;
                    background: none;
                    border: none;
                }

    #wpp-chart-wrapper {
        width: 100%;
    }

        #wpp-chart-wrapper #wpp-chart {
            position: relative;
            overflow: hidden;
            margin: 20px auto 0 auto;
            width: 100%;
            height: 280px;
        }

            #wpp-chart-wrapper #wpp-chart p {
                margin: 0 10px;
                text-align: center;
            }

            #wpp-chart-wrapper #wpp-chart a:hover {
                text-decoration: underline;
            }

    .wpp-content {
        float: none;
        clear: both;
        width: 100%;
        background: #fff;
    }

        #wpp-listing .wpp-tabs-container {
            grid-template-columns: 1fr 1fr 1fr 1fr;
            grid-auto-columns: unset;
        }

            #wpp-listing .wpp-tabs-container button {
                padding-top: 15px;
                padding-bottom: 15px;
                font-size: 1.2em;
            }

            @media (max-width: 639px) {
                #wpp-listing .wpp-tabs-container button span:not([class]) {
                    display: none;
                }
            }

        #wpp-listing .wpp-tabs-panel {
            overflow: hidden;
            padding: 30px;
            width: 100%;
        }

        @media (min-width: 768px) {
            #wpp-listing .wpp-tabs-panel {
                padding: 45px;
            }
        }

            #wpp-listing .wpp-tabs-panel .spinner {
                display: block;
                margin: 0 auto;
                float: none;
                visibility: visible;
            }

        .wpp-content .wpp-tabbed-nav {
            overflow: hidden;
            margin: 0 0 0 0;
            padding: 0;
            background: #f9f9f9;
        }

            .wpp-content .wpp-tabbed-nav li {
                display: inline;
                float: left;
                margin: 0;
                padding: 0;
                width: 25%;
                border-bottom: #f0f0f0 1px solid;
            }

            .wpp-content .wpp-tabbed-nav li.active {
                border-bottom: #bbb 1px solid;
            }

                .wpp-content .wpp-tabbed-nav li a {
                    display: block;
                    padding: 15px;
                    font-size: 1.2em;
                    text-align: center;
                    text-decoration: none;
                    outline: none;
                    box-shadow: none;
                }

                    #wpp-listing .wpp-tabbed-nav li a .fa {
                        display: inline-block;
                        margin: 0 8px 0 0;
                    }

            .popular-posts-list {
                margin: 0 0 0 0;
                padding: 0;
                list-style: none;
                counter-reset: wpp-counter;
                font-size: 1rem;
                line-height: 1.2;
            }

                .popular-posts-list li {
                    counter-increment: wpp-counter;
                    margin: 0 0 15px 0;
                    padding: 0 0 10px 0;
                    border-bottom: #f0f0f0 1px solid;
                }

                .popular-posts-list li::before {
                    display: inline-block;
                    width: 20px;
                    content: counter(wpp-counter) ". ";
                }

                .popular-posts-list li:last-child,
                .popular-posts-list li:last-child {
                    margin: 0;
                    padding-bottom: 0;
                    border: none;
                }

                    .popular-posts-list li a.wpp-title {
                        display: inline;
                        font-size: 1em;
                        text-decoration: none;
                    }

                    .popular-posts-list li:first-child,
                    .popular-posts-list li:first-child  a.wpp-title {
                        font-size: 1.15em;
                    }

                    .popular-posts-list li:nth-child(2),
                    .popular-posts-list li:nth-child(2) a.wpp-title {
                        font-size: 1.05em;
                    }

                    .popular-posts-list li:first-child a.wpp-title,
                    .popular-posts-list li:nth-child(2) a.wpp-title,
                    .popular-posts-list li:nth-child(3) a.wpp-title {
                        font-weight: bold;
                        letter-spacing: -1px;
                    }

                    .popular-posts-list li a.wpp-title:hover {
                        text-decoration: underline;
                    }

                    .popular-posts-list li span {
                        color: #bbb;
                        font-size: 13px;
                    }

                    .popular-posts-list li small {
                        display: none;
                        font-size: 13px;
                    }

                    .popular-posts-list li:hover small {
                        display: inline;
                    }

#thumb-review {}

    #thumb-review img {
        max-width: 300px;
        height: auto;
    }

.clear {
    float: none;
    clear: both;
    width: 100%;
}

/*
 * Media Queries
 */

/* Tablets & small desktops */
@media only screen and (max-width: 768px) {

    .wpp-wrapper {
        margin: 20px 10px 0 2px;
    }

        #wpp-listing .wpp-tabbed-nav li a span:last-child {
            display: none;
        }

        #wpp-listing .wpp-tabbed-nav li a .fa {
            margin: 0 0 0 0;
        }

}
