@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed:300,400,400italic,700|Roboto:400,400italic,700&subset=latin,cyrillic);

:root {
    --color-green-02: #06b9b133;
    --color-green-03: #06b9b14D;
    --color-green: #06b9b1;
    --color-green-dark: #1d7872;
    --color-red: #eb4247;
    --color-red-02: #eb424733;
    --color-red-03: #eb42474D;
    --color-red-dark: #762124;
}

.douchart { width: 100%; }

/*   TOOLTIP   */
#chart-salary-tooltip {
	min-width: 170px;
	max-width: 200px;
	padding: 8px 12px 10px;
	background-color: black;
	color: #aaa;
	position: absolute;
	top: -120px;
	left: 0px;
	line-height: 16px;
	z-index: 999;
	pointer-events: none;
}
#chart-salary-tooltip::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 0;
	margin-left: 0;
	border-width: 3px;
	border-style: solid;
	border-color: #000 transparent transparent #000;
}
#chart-salary-tooltip.centred::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -6px;
	border-width: 6px;
	border-style: solid;
	border-color: #000 transparent transparent transparent;
}
#chart-salary-tooltip .tt-point {
	font-size: 14px;
	color: #fff;
}
#chart-salary-tooltip .tt-point span { font-weight: bold; }
#chart-salary-tooltip .tt-note {
	font-size: 14px;
	color: #999;
	margin-bottom: 10px;
}
#chart-salary-tooltip .tt-footer {
	font-size: 12px;
	font-style: italic;
	color: #999;
	border-top: 1px solid #333;
	padding-top: 3px;
	margin-top: 5px;
}
#chart-salary-tooltip.centred .tt-note { margin-bottom: 2px; }
#chart-salary-tooltip .tt-header {
	border-bottom: 1px solid #333;
	padding-bottom: 3px;
}
#chart-salary-tooltip .tt-note.tt-header { margin-bottom: 8px; }
#chart-salary-tooltip .tt-point.tt-junior span { color: #89e5de; }
#chart-salary-tooltip .tt-point.tt-middle span { color: #06b9b1; }
#chart-salary-tooltip .tt-point.tt-senior span { color: #1d7872; }
#chart-salary-tooltip .tt-point.tt-lead span { color: #8A37B5; }
#chart-salary-tooltip .tt-point.tt-auto span { color: #8A37B5; }
#chart-salary-tooltip .tt-point.tt-manual span { color: #06b9b1; }
#chart-salary-tooltip .tt-point.tt-general span { color: #e8be34; }
#chart-salary-tooltip .tt-point.tt-junior span, 
#chart-salary-tooltip .tt-point.tt-middle span, 
#chart-salary-tooltip .tt-point.tt-senior span,
#chart-salary-tooltip .tt-point.tt-lead span,
#chart-salary-tooltip .tt-point.tt-auto span,
#chart-salary-tooltip .tt-point.tt-general span,
#chart-salary-tooltip .tt-point.tt-manual span { display: inline-block; }
#chart-salary-tooltip .row-wide span { display: inline-block; }
#chart-salary-tooltip .flexbox { display: flex; }
#chart-salary-tooltip .tt-point.flexbox { justify-content: space-between; }
#chart-salary-tooltip .tt-name-mark {
	width: 12px; height: 12px;
	border-radius: 100%;
	margin-right: 5px;
}

#chart-salary-timeline-tooltip { 
	font-family: Roboto, Arial, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 18px;
	pointer-events: none; 

	position: absolute;
	display: none;
	width: 100%;
	max-width: 150px;
	background: black;
	color: white;
	padding: 8px 15px 10px;
	box-shadow: 10px 10px 0 #00000044;
}

#chart-salary-timeline-tooltip .tt-period { 
	margin: 3px 0 0;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-size: 12px;
	line-height: 18px;
}
/* #chart-salary-timeline-tooltip .tt-value { margin-bottom: 5px; } */
#chart-salary-timeline-tooltip .tt-value span { font-weight: bold; }
#chart-salary-timeline-tooltip .tt-note {
	font-size: 14px;
	color: #999;
	margin-bottom: 10px;
}
#chart-salary-timeline-tooltip .tt-footer {
	font-size: 12px;
	font-style: italic;
	color: #999;
	border-top: 1px solid #333;
	padding-top: 3px;
	margin-top: 5px;
}
#chart-salary-timeline-tooltip .tt-point span { font-weight: bold; }
#chart-salary-timeline-tooltip .tt-point.tt-junior span { color: #89e5de; }
#chart-salary-timeline-tooltip .tt-point.tt-middle span { color: #06b9b1; }
#chart-salary-timeline-tooltip .tt-point.tt-senior span { color: #1d7872; }
#chart-salary-timeline-tooltip .tt-point.tt-lead span { color: #8A37B5; }
#chart-salary-timeline-tooltip .tt-point.tt-auto span { color: #8A37B5; }
#chart-salary-timeline-tooltip .tt-point.tt-general span { color: #e8be34; }
#chart-salary-timeline-tooltip .tt-point.tt-manual span { color: #06b9b1; }


#chart-salary-timeline-tooltip .underlined {
	padding-bottom: 5px;
	border-bottom: 1px solid #4d4d4d;
	margin-bottom: 7px;
}

#chart-salary-timeline-tooltip .tt-row {
	display: flex;
	gap: 7px;
}
#chart-salary-timeline-tooltip .tt-row-value { 
	font-weight: bold;
	white-space: nowrap;
}
#chart-salary-timeline-tooltip .tt-row-diff {
	font-style: italic;
	font-size: 12px;
	margin: -5px 0 0 -3px;
	color: #cdcdcd;
}
#chart-salary-timeline-tooltip .tt-row-diff.positive { color: #06b9b1; }
#chart-salary-timeline-tooltip .tt-row-diff.negative { color: #eb4247; }


/*   CONTROLS   */
.douchart_toggler {
	display: flex;
	flex-wrap: wrap;
	font-family: 'Roboto Condensed', sans-serif;
    gap: 5px 5px;
    margin-bottom: 10px;
}
.douchart_toggler .item {
	font-size: 15px;
	line-height: 18px;
    padding: 9px 15px 10px;
    border-radius: 5px;
    background-color: #f0f0f0;
    border: 1px solid #e8e8e8;
    color: #3d3d3d;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.douchart_toggler .item:hover {
    color: #0d0d0d;
    background-color: #e8e8e8;
	border-top: 2px solid #d2d2d2;
	padding-top: 8px;
}
.douchart_toggler .item:active {
	color: #3d3d3d;
    border-color: #ddd;
	background-color: #f0f0f0;
}
.douchart_toggler .item.active {
	color: #ffffff;
	background-color: #1d1d1d;
    border-color: #0d0d0d;
    pointer-events: none;
}

.douchart_controls {
	display: flex;
	flex-wrap: wrap;
	font-family: 'Roboto Condensed', sans-serif;
    gap: 2px;
    margin-bottom: 15px;
}
.douchart_controls.upper {
	margin-bottom: 10px;
}
.douchart_controls.mobile {
    flex-wrap: wrap;
    margin-bottom: 10px;
}


.douchart_controls.grouped {
    flex-direction: column;
}
.douchart .douchart_controls .items-group {
    display: flex; 
    flex-wrap: wrap;
    gap: 2px;
}
.douchart .douchart_controls .item { 
    font-size: 13px;
	line-height: 15px;
    padding: 7px 10px 8px;
    border-radius: 5px;
    background-color: #fff;
    border: 1px solid #eee;
    color: #3d3d3d;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.douchart .douchart_controls .item.just-text {
    pointer-events: none;
    border: none;
    padding: 7px 5px 8px 0;
}
.douchart_controls .item:hover {
    color: #0d0d0d;
    background-color: #f4f4f4;
}
.douchart_controls .item:active {
    border-color: #ddd;
	background-color: #f0f0f0;
}
.douchart_controls .item.active {
	color: var(--color-green-dark);
	background-color: var(--color-green-02);
    border-color: var(--color-green-03);
    pointer-events: none;
}
.douchart_controls.specialisation .item.active { 
	color: #8a37b5; 
	background-color: #8A37B533;
	border-color: #8A37B54D;
}
.douchart_controls.city .item.active { 
    color: #376294;
    background-color: #4982C533;
    border-color: #4982C54D;
}
.douchart_controls .item.disabled {
	pointer-events: none;
	opacity: .3;
}

.douchart .chart-controls {
	display: flex;
	flex-wrap: wrap;
	font-family: 'Roboto Condensed', sans-serif;
    gap: 2px;
    margin-bottom: 10px;
}
.douchart .chart-controls .chart-filter-button {
    font-size: 13px;
    line-height: 15px;
    padding: 7px 10px 8px;
    border-radius: 5px;
    background-color: #fff;
    border: 1px solid #eee;
    color: #3d3d3d;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.douchart .chart-controls .chart-filter-button.active {
    color: var(--color-green-dark);
    background-color: var(--color-green-02);
    border-color: var(--color-green-03);
    pointer-events: none;
}
.douchart .chart-controls.experience .chart-filter-button.active {
    color: #8A37B5;
    background-color: #8A37B533;
    border-color: #8A37B54D;
}
.douchart .chart-controls.position .chart-filter-button.active {
    color: #376294;
    background-color: #4982C533;
    border-color: #4982C54D;
}
.douchart .chart-controls.specialisation .chart-filter-button.active {
    color: #AE8F27;
    background-color: #E8BE344D;
    border-color: #E8BE3480;
}


.douchart .chart-filter-button:hover {
    color: #0d0d0d;
    background-color: #f4f4f4;
}
.douchart .chart-filter-button:active {
    border-color: #ddd;
	background-color: #f0f0f0;
}
.douchart .chart-filter-button.active {
	color: var(--color-green-dark);
	background-color: var(--color-green-02);
    border-color: var(--color-green-03);
    pointer-events: none;
}

.douchart .chart-controls.positions { margin-bottom: 7px; }
.douchart .chart-controls.specialisations, .douchart_controls.cities { margin-bottom: 12px; }
.douchart .chart-controls.specialisations .chart-filter-button.active span { color: #8a37b5; border-color: #e2cded; }
.douchart .chart-controls.cities .chart-filter-button.active span { color: #4982c5; border-color: #c2e1ff; }
.widget .douchart .chart-controls { margin-bottom: 3px; }
.widget .douchart .chart-controls.experience .chart-filter-button.active span { color: #8a37b5; border-color: #e2cded; }
.widget .douchart .chart-controls.position .chart-filter-button.active span { color: #4982c5; border-color: #c2e1ff; }
.widget .douchart .chart-controls.specialisation .chart-filter-button.active span { color: #e8be34; border-color: #ffe6a1; }

.douchart .chart-filter-button.disabled {
	pointer-events: none;
	opacity: .3;
}


/*   INFOLINE   */
.douchart_infoline {
    display: flex;
    justify-content: space-between;

    font-family: 'Roboto Condensed', sans-serif;
    font-size: 13px;
    line-height: 15px;
    color: #3d3d3d;
    
    padding: 0 0 5px;
    border-bottom: 1px solid #eee;
    margin: 10px 0 15px;
}

.douchart_color-legend { 
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 13px;
    line-height: 15px;
    color: #3d3d3d;
	display: inline-block;
}
.douchart_color-legend .item { 
	display: inline-block; 
	margin: 0 15px 0 0;
	line-height: 14px;
}
.douchart_color-legend .item.hidden { display: none; }
.douchart_color-legend .item-mark { 
	display: inline-block;
	margin: 2px 5px 0 0;
	width: 10px;
	height: 10px;
	border-radius: 10px;
}
.douchart_color-legend .tr .item-mark { background-color: #C2E8E5; }
.douchart_color-legend .q1 .item-mark,
.douchart_color-legend .jse .item-mark { background-color: #89e5de; }
.douchart_color-legend .q2 .item-mark,
.douchart_color-legend .se .item-mark { background-color: #06b9b1; }
.douchart_color-legend .q3 .item-mark,
.douchart_color-legend .sse .item-mark { background-color: #1d7872; }
.douchart_color-legend .lead .item-mark { background-color: #8a37b5; }
.douchart_color-legend .tl .item-mark { background-color: #e8be34; }
.douchart_color-legend .sa .item-mark { background-color: #8a37b5; }
.douchart_color-legend .item-name { display: inline-block; }

.douchart_color-legend .auto .item-mark { background-color: #8a37b5; }
.douchart_color-legend .general .item-mark { background-color: #e8be34; }
.douchart_color-legend .manual .item-mark { background-color: #06b9b1; }



/*   CHART   */
.douchart .label-name {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 15px;
    line-height: 18px;
    fill: #303030;
}
.douchart .label-value {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    line-height: 18px;
    fill: #303030;
}
.douchart .row { cursor: help; }
.douchart .row .row-back { fill: rgba(0,0,0,.05); opacity: 0; }
.douchart .row:hover .row-back { opacity: 1; }
.douchart .row:hover .label-name { font-weight: bold; }
.douchart .row:hover .label-value { font-weight: bold; }

.douchart .axis.y .tick line {
	shape-rendering: crispEdges;
    stroke-width: 1;
    stroke-opacity: .1;
}
.douchart .axis.y .tick line.baseline {
	stroke: #303030; 
	stroke-opacity: 1; 
}
.douchart .axis.y .domain { display: none; }
.douchart .axis.x .tick line,
.douchart .axis.x path { 
	shape-rendering: crispEdges;
	stroke: #303030; 
    stroke-opacity: .1;
}
.douchart .tick text {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
	font-size: 14px;
	fill: #808080;
}
.douchart .axis-title {
	font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
	font-size: 14px;
	fill: #808080;
	text-anchor: end;
}
.douchart .row-guideline {
	shape-rendering: crispEdges;
	stroke: #303030; 
    stroke-opacity: .1;
}

.linechart .line path.tm-area {
	stroke: none;
}
.linechart .line path.tm-line {
	fill: none;
	stroke: #06b9b1;
	stroke-width: 3px;
}
.linechart .mark circle {
	fill: #06b9b1;
	stroke: #06b9b1;
	stroke-opacity: .3;
	stroke-width: 10px;
}
.linechart .mark text.label-name {
    font-family: 'Roboto Condensed', sans-serif;
	fill: #303030;
	stroke: #fff;
	paint-order: stroke;
	stroke-width: 3px;
	stroke-opacity: .85;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.linechart .mark text.label-name {
    font-size: 16px;
    font-weight: bold;
}
.linechart .mark text.label-value {
    font-size: 12px;
    font-style: italic;
}
.areachart .answers path { stroke: white; }

.linechart .refline,
.areachart .refline {
	shape-rendering: crispEdges;
	fill: none;
	stroke: #0d0d0d;
    stroke-dasharray: 3 2;
    stroke-linecap: round;
}

.douchart .overlay {
	opacity: 0;
	cursor: help;
}

.linechart-gradient .stop1 { stop-color: rgba(6,185,177,.05); }
.linechart-gradient .stop2 { stop-color: rgba(6,185,177,.4); }

.rangechart .grid .domain,
.dumbbell-plot .grid .domain,
.boxplot .grid .domain { display: none; }

.boxplot .median { fill: none; stroke-width: 2; stroke: #fff; }

.rangechart .point,
.dumbbell-plot .point { 
	stroke: #ffffff;
	stroke-width: 1.5;
}
.dumbbell-plot .point-junior { fill: #89E5DE; }
.dumbbell-plot .point-middle { fill: #06B9B1; }
.dumbbell-plot .point-senior { fill: #1D7872; }
.dumbbell-plot .point-lead { fill: #8A37B5; }
.dumbbell-plot .point-manual { fill: #06B9B1; }
.dumbbell-plot .point-general { fill: #e8be34; }
.dumbbell-plot .point-auto { fill: #8A37B5; }
.dumbbell-plot .range {
	fill: none;
	stroke: #0d0d0d;
	stroke-opacity: .2;
	stroke-width: 4px;
	shape-rendering: crispEdges;
}
.rangechart .range {
	fill: none;
	/* stroke: #0d0d0d; */
	stroke-opacity: .2;
	/* stroke-width: 4px; */
	shape-rendering: crispEdges;
}
.rangechart .median {
	fill: none;
	stroke: #0d0d0d;
	stroke-opacity: .2;
	stroke-width: 3px;
	stroke-linecap: round;
	/* shape-rendering: crispEdges; */
}

.multilines .chart-note {
	color: #999;
	font-style: italic;
	font-size: 14px;
	line-height: 14px;
	margin-bottom: 30px;
}
.areachart .time-block,
.multilines .time-block {
	opacity: 0;
	cursor: help;
	pointer-events: all;
}
.areachart line.area-chart-reference,
.multilines line.area-chart-reference {
	pointer-events: none;
	shape-rendering: crispEdges;
	fill: none;
	stroke: #0d0d0d;
    stroke-dasharray: 3 2;
    stroke-linecap: round;
}
.multilines line.area-chart-date-borders {
	fill: none;
	stroke: #0d0d0d;
	stroke-width: .5;
	stroke-opacity: .2;
	shape-rendering: geometricPrecision;
	pointer-events: none;
}
.areachart .y .domain,
.multilines .y .domain { display: none; }
.multilines .line path {
	fill: none;
	stroke-width: 2;
	pointer-events: none;
}
.multilines .line.fade path {
	stroke: #6d6d6d!important;
	stroke-width: 1;
	stroke-opacity: .2;
}

.chart-salary-area-details {
	position: absolute;
	top: 5px; left: 0;
	width: 180px;
}
.chart-salary-ad-date {
	font-weight: bold;
	border-bottom: 1px #ccc solid;
	margin-bottom: 5px;
}
.chart-salary-ad-row { display: flex; }
.chart-salary-ad-row-value { 
	font-weight: bold; 
	min-width: 50px; 
	text-align: right; 
	margin-right: 7px; 
}
.multilines .refgroup .mark.fade {
	opacity: 0;
}

.last-answers {
	font-family: 'Roboto Condensed', sans-serif;
}

.last-answers .date-label { fill: #3d3d3d; font-weight: bold; }
.last-answers .reset-label {
	cursor: pointer;
}
.last-answers .reset-label text {
	font-size: 13px;
	fill: #606060;
}
.last-answers .reset-label rect { fill: #e8e8e8; }
.last-answers .reset-label:hover rect { fill: #d6d6d6; }
.last-answers .ankety-label { fill: #999; font-size: 14px; font-style: italic; }
.last-answers line.header-line { 
	stroke: #3d3d3d; 
	shape-rendering: crispEdges;
	stroke-width: .5;
}
.last-answers line { stroke: #ccc; }

.areachart .grid { pointer-events: none; }

.answer-info { cursor: pointer; }
.answer-info .row-back { fill-opacity: 0; }
.answer-info .name-label { font-size: 14px; }
.answer-info .value-label { font-weight: normal; }
.answer-info:hover > text { font-weight: bold; }
.answer-info.fade .color-label { fill: #e2e2e2!important; }
.answer-info.fade text { opacity: .3; }
.answer-info.fade text.value-label { fill: #3d3d3d!important; }

@media screen and (max-width:760px) {
	.last-answers .answer-info { pointer-events: none;  }
	.answer-info { 
		stroke: #fff;
		paint-order: stroke;
		stroke-width: 4px;
		stroke-opacity: .9;
		stroke-linecap: round;
		stroke-linejoin: round;
	}
}

.answer-info .diff-label { 
	font-style: italic; 
	font-size: 12px;
	fill:  #eb4247;
}
.answer-info .diff-label.positive { fill: #06b9b1; }
.answer-info .diff-label.negative { fill: #eb4247; }

.widget .chart-controls { flex-wrap: wrap; }
.widget .label-name { 
	text-anchor: middle;
	fill: #333;
	font-size: 13px;
}
.widget .bars .label-value { 
	text-anchor: middle; 
	font-size: 15px;
}
.widget line.baseline { 
	fill: none; 
	stroke: #333; 
	stroke-width: 1; 
	shape-rendering: crispEdges; 
}
.widget .bar rect { fill: #06b9b1; }

.douchart:hover .annotation { pointer-events: none; }
.douchart .annotation .note { opacity: .9; }
.douchart svg:hover .annotation .note { 
	opacity: 0;
	transition: opacity .6s; 
}
.douchart .annotation .note text {
	font-family: "Roboto Condensed", "Roboto", sans-serif;
	font-size: 13px;
	font-weight: 300;
	fill: #303030;

	stroke: #fff;
    paint-order: stroke;
    stroke-width: 5px;
    stroke-opacity: .6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.douchart .annotation .note path {
	fill: none;
	stroke: #303030;
	stroke-width: .5;
}

.douchart-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	width: 100%;
}
.douchart-cards object,
.douchart-cards img {
	width: 100%;
	max-width: 400px;
}
@media screen and (max-width: 740px) {
	.douchart-cards object,
	.douchart-cards img { 
		max-width: 600px; 
		margin-left: auto;
		margin-right: auto; 
	}
}
@media screen and (max-width: 620px) {
	.douchart-cards object,
	.douchart-cards img {
		margin-right: 0 !important;
		margin-left: 0 !important;
		max-width: unset !important;
	}
}

