﻿.Center .chart {
    box-shadow: 2px 2px 2px -2px rgba(0,0,0,.2);
    display: inline-block;
    width: -webkit-calc(100% - 20px);
    width: -moz-calc(100% - 20px);
    width: calc(100% - 20px);
    background: #fff;
    margin: 2px 10px 10px 10px;
    padding: 5px 0;
    _margin-bottom: 51px;
}

canvas {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    width: calc(100% - 20px) !important;
    margin: 0px 10px;
}

#chartjs-tooltip {
    opacity: 1;
    position: absolute;
    background: rgba(0, 0, 0, .7);
    color: white;
    border-radius: 3px;
    -webkit-transition: all .1s ease;
    transition: all .1s ease;
    pointer-events: none;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

.chartjs-tooltip-key {
    display: inline-block;
    width: 10px;
    height: 10px;
}

.popularPriceContainer table {
    margin-left: auto;
    margin-right: auto;
}

.prices-history .title {
    font-size: 16px;
    font-weight: bold;
    line-height: 21px;
    text-align: right;
    margin-bottom: 15px;
}

    .popularPriceContainer .title:last-child {
        font-weight: 500;
    }

    .popularPriceContainer .popularPriceLoader {
        width: calc(100% - 20px);
        margin: 2px 10px 10px 10px;
        padding: 5px 0;
    }

    .popularPriceContainer .popularPriceLoader svg {
        width: 100%;
    }

.popularPriceContainer .chart {
    display: none;
    background-color: #fff;
    margin: 0 10px;
}

#chart_div {
    margin-top: 20px;
    height:320px;
}

.model-page-popup .sub-header-popup {
    text-align: center;
}