﻿/******************************************************************************************************
    Structure
******************************************************************************************************/
#main-content-wrapper .main-content-box.incentive {
    background: #fff;
}

#main-content-wrapper .main-content-box.incentive .loading-div {
	position: absolute;
	width: 1024px;
	height: 748px
}

#incentive-wrapper {
    position: relative;
    width: 1024px;
	height: 748px
}

#incentive-header {
	width: 1024px;
	height: 62px;
	
	text-align: center;

    background: #1F1F1F;
}

#incentive-header .menu-left-activator {
	margin: 9px 18px 0 9px;
	float: left;
}

#incentive-header h2 {
    color: #fff;
	font-size: 28px;
	font-weight: bold;
    -ms-text-shadow: none;
    text-shadow: none;
	padding-top: 15px;

    max-width: 100%;
    overflow: hidden;
    -moz-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#incentive-screen-chart {
    width: 1024px;
    height: 686px;
    position: relative;

    overflow: hidden;
}

#incentive-screen-icons {
    display: none;
}

#incentive-screen-chart .incentive-screen-chart-separator {
    width: 320px;
    height: 20px;
    line-height: 20px;

    vertical-align: middle;
    text-align: center;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    margin: 15px 10px 15px 10px;

    /*background: repeating-linear-gradient(45deg, transparent, transparent 10px, #F0DEB4 10px, #F0DEB4 20px);*/
}

#incentive-screen-chart .incentive-screen-chart-separator.first {
    display: none;
}

#incentive-screen-chart .incentive-screen-chart-separator i {
    color: #3C85D6;
    font-size: 18px;
    margin: 0 5px 0 5px;
}

/******************************************************************************************************
    Chart
******************************************************************************************************/
/* charts */
#incentive-chart {
    width: 624px;
    height: 686px;
    position: absolute;
}

#incentive-chart #incentive-chart-wrapper {
    width: 624px;
    height: 646px;

    overflow-y: hidden;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;

    position: relative;
}

#incentive-chart #incentive-chart-wrapper .incentive-version {
    display: block;
    margin: 5px 0 -5px 5px;
    font-style: italic;
}

#incentive-chart #incentive-chart-wrapper .incentive-version span {
    font-weight: bold;
    font-style: normal;
}

#incentive-chart #incentive-chart-wrapper #incentive-chart-scroller-wrapper {
    position: relative;
    overflow: hidden;

    max-width: 624px;

    margin: 0 auto;
}

#incentive-chart #incentive-chart-wrapper #incentive-chart-highliter {
    position: absolute;
    width: 146px;
    height: 606px; /* mérete megegyezik .incentive-chart-main-vel */
    z-index: 0;

    left: 20px;
    top: 20px;

    background: #eee;

    -webkit-transition: left .3s linear;
	-moz-transition: left .3s linear;
	-o-transition: left .3s linear;
	-ms-transition: left .3s linear;
	transition: left .3s linear;
}

#incentive-chart #incentive-chart-wrapper #incentive-chart-scroller {
    /*
    -moz-min-width: 624px;
    -ms-min-width: 624px;
    -o-min-width: 624px;
    -webkit-min-width: 624px;
    min-width: 624px;
    */
    height: 646px;

    overflow: hidden;

    padding: 20px;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    position: relative;
    z-index: 1;
}

#incentive-chart #incentive-chart-wrapper #incentive-chart-scroller .incentive-chart-main {
    width: 146px;
    height: 606px; /* minusz scroller-magin */
    float: left;
    overflow: hidden;
}

#incentive-chart #incentive-chart-wrapper #incentive-chart-scroller .incentive-chart-main .chart-logo {
    width: 80px;
    height: 60px;

    display: block;
    margin: 0 auto;

    margin-top: 15px;
    margin-bottom: 45px;
    
    cursor: pointer;
}

#incentive-chart #incentive-chart-wrapper #incentive-chart-scroller .incentive-chart-main .chart-total {
    display: block;
    width: 100%;
    text-align: center;

    margin-bottom: 5px;
}

#incentive-chart #incentive-chart-wrapper #incentive-chart-scroller .incentive-chart-main .chart-container {
    width: 80px;
    height: 390px;

    border: 1px solid #C0C0C0;
    margin: 0 auto;

    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;

    position: relative;
}

#incentive-chart #incentive-chart-wrapper #incentive-chart-scroller .incentive-chart-main .chart-container > div {
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;

    overflow: hidden;

    /*background: repeating-linear-gradient(45deg, transparent, transparent 10px, #F9F9F9 10px, #F9F9F9 20px);*/
    background: #fff;

    -webkit-transition: all .3s linear;
	-moz-transition: all .3s linear;
	-o-transition: all .3s linear;
	-ms-transition: all .3s linear;
	transition: all .3s linear;
}

#incentive-chart #incentive-chart-wrapper #incentive-chart-scroller .incentive-chart-main .chart-container > div.default {
    background: #eee;
    color: #fff;
}

#incentive-chart #incentive-chart-wrapper #incentive-chart-scroller .incentive-chart-main .chart-container > div.reported {
    background: #FF2424;
    color: #fff;
}

#incentive-chart #incentive-chart-wrapper #incentive-chart-scroller .incentive-chart-main .chart-container > div.delivered {
    background: #A6A6A6;
    color: #fff;
}

#incentive-chart #incentive-chart-wrapper #incentive-chart-scroller .incentive-chart-main .chart-container > div.commissioned {
    background: #3C85D6;
    color: #fff;
}

#incentive-chart #incentive-chart-wrapper #incentive-chart-scroller .incentive-chart-main .chart-container > div.qualification-limit {
    position: absolute;
    width: 120px !important;
    height: 1px;
    
    left: -20px;

    border-top: 1px dashed #F59B43;
    background: transparent !important;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    z-index: 11;
    overflow: initial;
}

#incentive-chart #incentive-chart-wrapper #incentive-chart-scroller .incentive-chart-main .chart-container > div.qualification-limit span {
    margin-top: 10px;
    color: #FF2424;
}

#incentive-chart #incentive-chart-wrapper #incentive-chart-scroller .incentive-chart-main .chart-container > div span {
    width: 100%;
    display: block;

    height: 0;
    line-height: 0;

    text-align: center;
    vertical-align: middle;

    -ms-text-shadow: none;
    text-shadow: none;

    -webkit-transition: height, line-height .3s linear;
	-moz-transition: height, line-height .3s linear;
	-o-transition: height, line-height .3s linear;
	-ms-transition: height, line-height .3s linear;
	transition: height, line-height .3s linear;

    z-index: 12;
}

#incentive-chart #incentive-chart-wrapper #incentive-chart-scroller .incentive-chart-main .chart-separator {
    width: 100%;
    height: 1px;
    background: #C0C0C0;
    margin-top: 10px;
}

#incentive-chart #incentive-chart-wrapper #incentive-chart-scroller .incentive-chart-main .chart-title {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

#incentive-chart #incentive-chart-wrapper #incentive-chart-scroller .incentive-chart-main .chart-own-total {
    display: none;

    width: 100%;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}

#incentive-chart #incentive-chart-wrapper #incentive-chart-scroller .incentive-chart-main.active .chart-own-total {
    display: block;
}

/* chart bottom title bar */
#incentive-chart #incentive-chart-bar {
    width: 624px;
    height: 40px;

    padding-top: 4px;
}

#incentive-chart #incentive-chart-bar table {
    text-align: center;
    margin-bottom: 0;
}

#incentive-chart #incentive-chart-bar table thead span {
    display: initial;
}

#incentive-chart #incentive-chart-bar .indicator {
    width: 12px;
    height: 12px;
    -ms-border-radius: 4px;
    border-radius: 4px;

    display: inline-block;
    margin: 0 5px 0 0;
}

#incentive-chart #incentive-chart-bar .indicator.reported {
    background: #FF2424;
}

#incentive-chart #incentive-chart-bar .indicator.delivered {
    background: #A6A6A6;
}

#incentive-chart #incentive-chart-bar .indicator.commissioned {
    background: #3C85D6;
}

/******************************************************************************************************
    Lilsts wrapper
******************************************************************************************************/
#incentive-screen-lists-wrapper {
    position: absolute;

    left: 624px;

    width: 400px;
    height: 686px;

    background: #E8ECF2;

    overflow: hidden;
}

#incentive-screen-lists-wrapper #incentive-screen-lists-content {
    width: 400px;
    height: 636px;

    padding: 10px;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#incentive-screen-lists-wrapper #incentive-screen-lists-nav {
    width: 400px;
    height: 40px;
}

#incentive-screen-lists-wrapper #incentive-screen-lists-nav table {
    margin: 0 !important
}

#incentive-screen-lists-wrapper #incentive-screen-lists-nav table td {
    width: 33.3%;
}

#incentive-screen-lists-wrapper #incentive-screen-lists-nav table td span {
    border-top: 1px solid #C8C7CC;
    color: #3C85D6;

    font-size: 18px;

    width: 30px;
    height: 30px;
    line-height: 30px;

    margin: 0 auto;
    margin-top: 7px;

    -ms-border-radius: 999px;
    border-radius: 999px;

    cursor: pointer;
}

/******************************************************************************************************
    Video
******************************************************************************************************/
#incentive-video {
    width: 100%;
}

#incentive-video video {
    max-width: 350px;
    height: auto;
    display: block;
    margin: 0 auto;
    margin-bottom: 20px;
}

#incentive-video video:-webkit-full-screen {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
}

/******************************************************************************************************
    Partners
******************************************************************************************************/
#incentive-partner > span {
    display: block;
    font-style: italic;
    margin-bottom: 30px;
}

#incentive-partner table td.col1 {
    width: 50px;
}

#incentive-partner table td.col2 {
    width: 220px;
}

/******************************************************************************************************
    Details
******************************************************************************************************/
#incentive-detailed {
    width: 100%;
}

#incentive-detailed table td.col1 {
    width: 50px;
}

#incentive-detailed table td.col3 {
    width: 70px;
}

#incentive-detailed table td.col4 {
    width: 50px;
}

#incentive-detailed table td.col5 {
    width: 70px;
}

/******************************************************************************************************
    Top list
******************************************************************************************************/
#incentive-toplist {
    width: 100%;
}

#incentive-toplist .incentive-toplist-content {
    width: 100%;
}

#incentive-toplist .incentive-toplist-content > span {
    display: block;
    font-style: italic;
    margin-bottom: 30px;
}

#incentive-toplist table td.col1 {
    width: 40px;
}

#incentive-toplist table td.col2 {
    width: 50px;
}

#incentive-toplist table td.col4 {
    width: 80px;
}

#incentive-toplist table td.col5 {
    width: 40px;
}

/******************************************************************************************************
    Description
******************************************************************************************************/
#incentive-description .incentive-description-content {
    text-align: justify;
    font-size: 14px;
}

#incentive-description .incentive-description-content img {
    display: block;
    max-width: 300px;
    margin: 0 auto;
    margin-bottom: 15px;
    margin-top: 15px;
}

/******************************************************************************************************
    Controls
******************************************************************************************************/
#incentive-wrapper .incentive-header {
    width: 100%;
    height: 40px;
    margin-bottom: 15px;
}

#incentive-wrapper .incentive-header img {
    float: left;
    width: 50px;
    height: 40px;
}

#incentive-wrapper .incentive-header span {
    display: inline-block;
    height: 40px;
    line-height: 40px;
    vertical-align: middle;
    margin: 0 0 0 15px;

    font-size: 18px;
    font-style: italic;
    font-weight: bold;
}

#incentive-main h2 {
    font-size: 18px;
    font-style: italic;
    margin: 0 0 15px 0;
}

#incentive-main table {
    table-layout: fixed;
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;

    margin-bottom: 25px;
}

#incentive-main table.initial {
    table-layout: auto;
}

#incentive-main table td.sep {
    width: 10px;
}

#incentive-main table td.line {
    width: 5px;
}

#incentive-main table td.line.partner {
    background: #F59B43;
}

#incentive-main table td.line.reported {
    background: #FF2424;
}

#incentive-main table td.line.delivered {
    background: #A6A6A6;
}

#incentive-main table td.line.commissioned {
    background: #3C85D6;
}

#incentive-main table thead span {
    max-width: 100%;
    overflow: hidden;
    -moz-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;

    font-weight: bold;
    font-size: 14px;

    text-align: center;
    display: block;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#incentive-wrapper table tbody:before {
    content: "";
    display: block;
    height: 10px;
}

#incentive-wrapper table tbody:after {
    content: "";
    display: block;
    height: 20px;
}

#incentive-main table tbody span {
    width: 100%;
    overflow: hidden;
    -moz-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;

    font-size: 13px;
    text-align: right;
    display: block;

    margin: 2px;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#incentive-main table tbody span.left {
    text-align: left;
}

#incentive-main table tbody span.wrap {
    white-space: normal;
}

#incentive-main table tbody tr.sum td {
    padding-top: 10px;
    font-weight: bold;
}