@font-face {
    font-family: 'fontello';
    src: url('../font/fontello.eot?89094516');
    src: url('../font/fontello.eot?89094516#iefix') format('embedded-opentype'),
    url('../font/fontello.woff2?89094516') format('woff2'),
    url('../font/fontello.woff?89094516') format('woff'),
    url('../font/fontello.ttf?89094516') format('truetype'),
    url('../font/fontello.svg?89094516#fontello') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"]:after, [class*=" icon-"]:after {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    speak: none;

    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .1em;
    margin-left: .8em;

    text-align: center;

    /* For safety - reset parent styles, that can break glyph codes*/
    font-variant: normal;
    text-transform: none;

    /* fix buttons height, for twitter bootstrap */
    line-height: 1em;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-download:after {
    content: '\e800';
}

.wpsl-statistics {
    position: relative;
}

.wpsl-stats-all-searches .wpsl-statistics {
    margin-top:30px;
}

#wpsl-stats-map {
    height: 355px;
    position: relative;
    width: 100%;
    z-index: 1;
}

.wpsl-nearby-locations .inside {
    overflow: hidden;
}

.wpsl-nearby-locations ul {
    float: left;
    height: 355px;
    width: 34%;
    margin: 0;
    overflow-y: auto;
}

.wpsl-nearby-locations ul li {
    padding: 0 10px 10px 0;
    border-bottom: 1px dotted #ccc;
}

.wpsl-street,
.wpsl-nearby-locations li strong {
    display: block;
}

#wpsl-stats-map.wpsl-address-details {
    float: right;
    width: 66%;
}

#wpsl-stats-wrap .widefat td, 
#wpsl-stats-wrap .widefat th {
    padding: 6px 10px;
}

#wpsl-popular-search-terms {
    border: none;
}

#wpsl-popular-search-terms #the-list tr td {
    border-bottom: 1px solid #e1e1e1;
}

#wpsl-stats-wrap .postbox-container .inside {
    height: 355px;
    margin: 5px 0 0;
}

#wpsl-stats-wrap .postbox-container.wpsl-searches .inside {
    height: 300px;
}

#wpsl-stats-wrap.wpsl-terms-exist .postbox-container {
    width: 32%;
    margin: 0 1%;
}

#wpsl-stats-wrap.wpsl-search-details .postbox-container,
#wpsl-stats-wrap.wpsl-no-terms .postbox-container {
    width: 49%;
    margin: 0 1%;
}

#wpsl-stats-wrap.wpsl-search-details.wpsl-terms-exist .postbox-container.wpsl-nearby-locations,
#wpsl-stats-wrap .postbox-container.wpsl-popular-searches {
    margin-left: 0;
}

#wpsl-stats-wrap.wpsl-search-details .postbox-container.wpsl-stats-used-categories,
#wpsl-stats-wrap .postbox-container.wpsl-heatmap {
    margin-right: 0;
}

#wpsl-stats-wrap.wpsl-search-details.wpsl-no-terms .postbox-container,
#wpsl-stats-wrap .postbox-container.wpsl-searches {
    width: 100%;
    margin: 0;
}

#wpsl-stats-wrap.wpsl-terms-exist .wpsl-stats-used-categories {
    margin: 0 1%;
}

#wpsl-stats-wrap .postbox-container.wpsl-wide .metabox-holder {
    margin-right: 0;
}

.wpsl-stats-date-filter {
    position: absolute;
    top: 9px;
    right: 0;
    text-align: right;
}

.wpsl-stats-date-range {
    margin-top: 8px;
    text-align: right;
}

.wpsl-stats-custom-range input[type="text"] {
    width: 100px;
}

.wpsl-stats-custom-range span {
    margin: 0 7px;
}

.wpsl-preloader {
    float: right;
    margin: 4px 0 0 4px;
}

.wpsl-statistics .wpsl-stats-date input[type="text"] {
    width: 100px;
}

#wpsl-popular-searches {
    position: relative;
    clear: both;
    overflow: hidden;    
    margin-bottom: 15px;
}

.wpsl-no-terms #wpsl-popular-searches {
    margin-bottom: 0;
}

#wpsl-popular-searches .no-items td {
    text-align: center;
}

#wpsl-stats-wrap h2 {
    margin: 20px 0 15px;
}

.wpsl-stats-breadcrumb {
    margin-bottom: 20px;
}

#wpsl-stats-wrap .tablenav,
#wpsl-stats-wrap tfoot {
    display: none;
}

.wpsl-stats-custom-range {
    margin: 8px 0 0 0;
}

#wpsl-change-stats-range {
    padding-right: 3px;
}

.wpsl-visible-range {
    display: inline-block;
    vertical-align: middle;
}

.wpsl-statistics .postbox {
    margin-bottom: 13px;
}

#wpsl-popular-searches .column-address {
    width: 75%;
}

#wpsl-popular-searches .column-count {
    width: 25%;    
}

.wpsl-stats-no-heatmap {
    position: absolute;
    top: 32px;
    left: 50%;
    z-index: 9999;
    padding: 8px 14px;
    border-radius: 3px;
    background: #fff;
    white-space: nowrap;
}

.wpsl-stats-no-piechart {
    position: absolute;
    width: 100%;
    margin-top: 39px;
    text-align: center;
}

.wpsl-stats-tooltip {
    padding: 10px;
    margin: 0;
}

.wpsl-stats-tooltip strong {
    display: block;
}

input[type="text"].wpsl-required-date {
    border: 1px solid #b91111;
}

.wpsl-stats-export.button-primary.disabled {
    box-shadow: 0 1px 0 #006799 !important;
}

/*
Hide the first item on the x-axis if the
graph contains data that covers more
then one day ( not today / yesterday )

This unfortunately can't be
done through Google Charts
*/
.wpsl-no-single-day svg g:nth-child(3) g:nth-child(1) text[text-anchor=middle] {
    display:none;
}

#wpsl-tabs {
    margin: 15px 0 25px 0;
}

@media (max-width: 1100px) {
    #wpsl-stats-wrap.wpsl-terms-exist .postbox-container {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    #wpsl-stats-wrap.wpsl-terms-exist .postbox-container .inside {
        height: auto;
    }

    #wpsl-stats-wrap.wpsl-terms-exist .postbox-container #wpsl-popular-searches {
        margin-bottom: 0;
    }
}

@media (max-width: 1000px) {
    #wpsl-stats-wrap.wpsl-search-details .postbox-container,
    #wpsl-stats-wrap.wpsl-no-terms .postbox-container {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    #wpsl-stats-wrap .postbox-container .inside {
        height: auto;
    }
}

@media (max-width: 782px) {
    #wpsl-stats-search p {
        position: relative;
        width: 100%;
    }

    #wpsl-stats-wrap.wpsl-stats-dashboard .widefat td.column-count {
        padding: 3px 8px 3px 35%;
    }
}

@media (max-width: 675px) {
    .wpsl-nearby-locations ul,
    #wpsl-stats-map.wpsl-address-details {
        float: none;
        width: 100%;
    }
}