/* Top Navigation */
.idat-nav-tab {
    margin: 20px 0 15px;
    position: relative;
}
.idat-nav-tab:after {
    content: '';
    display: block;
    position: absolute;
    z-index: 1;
    bottom: -1px;
    width: 100%;
    height:1px;
    border-top: 1px solid #ccc;
}
.idat-nav-tab a.tab {
    display: inline-block;
    position: relative;
    z-index: 2;
    padding: 8px 10px;
    margin-right: 2px;
    background: #e5e5e5;
    border: 1px solid #ccc;
    text-decoration: none;
    font-weight: bold;
    color: #111;
    font-size: 14px;
}
.idat-nav-tab a.tab:hover {
    background: #fff;
}
.idat-nav-tab a.tab-active {
    background: #f1f1f1 !important;
    border-bottom-color: #f1f1f1;
}
.idat-nav-tab a.tab:first-child {
    margin-left: 8px;
}

/* Range navigation */
.link-performance-report {
    position: relative;
    background:#fff;
    min-height: 300px;
    border: 1px solid #dedede;
}
.link-performance-report .stats-range {
    position: relative;
    background: #f7f7f7;
}
.link-performance-report .stats-range:after {
    content: '';
    display: table;
    position: absolute;
    z-index: 1;
    bottom: -1px;
    border-top: 1px solid #ccc;
    width: 100%;
    height: 1px;
}
.link-performance-report .stats-range ul {
    margin: 0;
    padding: 0;
}
.link-performance-report .stats-range ul:after {
    content: '';
    display: block;
    clear: both;
}
.link-performance-report .stats-range ul li {
    float: left;
    position: relative;
    margin: 0;
}
.link-performance-report .stats-range ul li a,
.link-performance-report .stats-range ul li > span {
    position:relative;
    z-index: 2;
    display: block;
    padding: 15px 10px;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    border-right: 1px solid #dedede;
    border-bottom: 1px solid transparent;
}
.link-performance-report .stats-range ul li.current a {
    background:#fff;
    border-bottom-color: #fff;
    color: #555 !important;
}
.link-performance-report .stats-range ul li.custom-range {
    width: 400px;
}
.link-performance-report .stats-range ul li.custom-range span {
    display: inline-block;
    float: left;
    color: #555;
    border-right: 0;
}
.link-performance-report .stats-range ul li.custom-range:after {
    content: '';
    display: table;
    clear: both;
}

/* Custom range form */
#custom-date-range {
    margin-top: 10px;
}
#custom-date-range .range_datepicker {
    float: left;
    width: 100px;
    text-align: center;
    background: transparent;
    border: 0;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}
#custom-date-range span {
    display: inline-block;
    float: left;
    margin-top: 3px;
}

/* Chart layout */
.chart-sidebar {
    display: block;
    width: 225px;
    float: left;
}
.report-chart-wrap {
    margin: 10px;
}

/* Chart legend */
ul.chart-legend {
    margin: 15px 0 0 0;
    border: 1px solid #dadada;
    border-right: 0;
}
ul.chart-legend li {
    padding: 10px 15px;
    margin: 0;
    border-right: 5px solid #ccc;
    border-bottom: 1px solid #dadada !important;
}
ul.chart-legend li span {
    display: block;
    color: #aaa;
    font-size: 11px;
}
ul.chart-legend li:hover {
    background: #efefef;
}
ul.chart-legend li:last-child {
    border-bottom: 0 !important;
}
.add-legend {
    padding: 7px 12px;
    border: 1px solid #dadada;
    border-top: 0;
}
.add-legend:after {
    content: '';
    display: table;
    clear: both;
}
.add-legend label {
    display: block;
    margin-bottom: 5px;
}
.add-legend input {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
}
.add-legend button {
    float: right;
}
.add-legend .input-wrap {
    position: relative;
    margin-bottom: 5px;
}
.add-legend ul.link-search-result {
    position: absolute;
    z-index: 2;
    top: 100%;
    left: 0;
    width: 99%;
    margin: -2px 0 0 1px;
    background: #fff;
    border: 1px solid #dadada;
}
.add-legend ul.link-search-result li {
    margin: 0;
    padding: 3px 5px;
    border-bottom: 1px solid #dadada;
    white-space: nowrap;
    overflow: hidden;
}
.add-legend ul.link-search-result li:hover {
    background: #efefef;
    cursor: pointer;
}


/* Chart placeholder */
.report-chart-placeholder {
    height: 600px;
    margin-left: 235px;
}
.report-chart-placeholder:after {
    content: '';
    display: table;
    clear: both;
}
body .chart-tooltip {
    position: absolute;
    padding: 3px 5px;
    background: rgba( 0, 0, 0, 0.8 );
    color: #fff;
    font-size: 11px;
    border-radius: 5px;
}

/* overlay */
.link-performance-report .overlay {
    display: none;
    position: absolute;
    top: 0;
    left:0;
    background-image: url( '../../images/spinner-2x.gif' );
    background-repeat: no-repeat;
    background-position: center center;
    background-color: rgba(255, 255, 255, 0.64);
    width: 100%;
    height: 1000px;
    z-index: 10;
}
