.table_stat, .table_stat td {
    border: 1px solid black;
    border-collapse: collapse;
}

.table_stat td {
    padding: 5px;
}

.tabs-menu {
    height: 30px;
    float: left;
    clear: both;
    margin: 0;
}

.tabs-menu li {
    margin: 0;
    height: 30px;
    line-height: 30px;
    float: left;
    background-color: #f5f5f5;

}

.tabs-menu li.current {
    position: relative;
    background-color: #fff;
    border-bottom: 1px solid #fff;
    z-index: 5;
}

.tabs-menu li a {
    font-weight: bold;
    color: #2e7da3;
    padding: 10px;
    text-transform: uppercase;
    text-decoration: none;
}

.tabs-menu .current a {
    font-weight: bold;
    color: #dd5600;
}

.poststats_tab {
    background-color: #fff;
    /*float: left;*/
    width: 100%;
    margin: 0;
}

.poststats_tab-content {
    width: 660px;
    padding: 20px;
    display: none;
}

#tab-1 {
    width: 100%;
    display: block;
    padding: 0;
    font-weight: bold;

}

#tab-2 {
    width: 100%;
    padding: 0;
    font-weight: bold;
}

.td-style-cell {
    background-color: #2fa4e7;
    color: white !important;
}

.td-counts {
    color: #dd5600 !important;
    text-align: center;
}

div[id^="id_views"] {
    display: none;
    position: fixed;
    width: 100%;
    left: 0;
    top: 20px;
    right: 0;
    bottom: 0;
    border-radius: 5px;
    z-index: 999999;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: hidden;
}

.title_vs {
    padding-bottom: 15px !important;
    text-align: center;
}

.popup_block_center {
    width: 800px;
    position: absolute;
    background-color: white;
    border-radius: 5px;
    border: 1px solid #ddd;
    left: calc(50% - 350px);
    margin: 0;
    height: auto;
    max-height: 95%;
    overflow-y: auto;
}

@media (max-width: 800px) {
    div[id^="id_views"] {
        top: 0;
        overflow-y: hidden;
    }

    .popup_block_center {
        width: 100%;
        height: 100%;
        min-height: 100%;
        overflow-y: auto;
        left: 0;
    }
}

.exit-btn {
    margin-top: 10px;
    text-align: right;
    margin-right: 10px;
    margin-bottom: 25px;
    cursor: pointer;
    font-size: 35px;
}

.table_stat {
    width: 95%;
    margin: 0 auto;
}

.table_stat caption {
    text-align: left;
    font-size: 20px;
    font-weight: 500;
}

.table_stat caption .back {
    background: #0073aa;
    color: white;
    padding: 6px 10px;
    border-radius: 5px;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 14px;
    margin-right: 20px;
    cursor: pointer;
}

div[class^="wrapchart"] {
    padding-top: 25px;
    width: 600px;
    margin: 0 auto;
}

@media (max-width: 800px) {
    div[class^="wrapchart"] {
        width: 95%;
    }
}

.country_open {
    cursor: pointer;
    text-decoration: underline !important;
}

@media (max-width: 800px) {
    .lineclearfix {
        width: 100%;
        height: 1px;
        clear: both;
        display: block !important;
    }
}

.poststats_pagination {
    list-style-type: none;
    padding: 15px 0 10px;
    display: block;
    margin: 0;
}

.poststats_pagination:after {
    display: block;
    content: " ";
    width: 100%;
    height: 1px;
    clear: both;
}

.poststats_pagination_item {
    float: left;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    margin-right: 3px;
    font-size: 16px;
}

.poststats_pagination_item:not(poststats_pagination_item_active):hover,
.poststats_pagination_item:not(poststats_pagination_item_active):active,
.poststats_pagination_item:not(poststats_pagination_item_active):focus {
    background: #ddd;
}

.poststats_pagination_item_active {
    background-color: #2fa4e7;
    color: white !important;
    cursor: text;
}

.countries-pagination {
    padding: 0;
    width: 90%;
    margin: 0 auto;
}

.poststats_clearfix {
    clear: both;
    width: 100%;
    height: 1px;
    display: block;
}

.poststats_noscroll {
    overflow: hidden;
}