#ui-datepicker-div {
    z-index: 100000!important;
}
.filter-chart {
    border: 1px solid #DCDCDC;
    background-color: #ffffff;
    border-radius: 8px;
    color: #3c3c3c;
    margin-bottom: 50px;
}

.filter-chart__container {
    padding: 20px 40px 20px 21px;
}

.filter-chart__item {
   margin-bottom: 11px;
    display: flex;
    align-items: center;
}

.filter-chart__item._red .filter-chart__item-note {
    color: #ED877F;
}

.filter-chart__item._red .choices__list--multiple .choices__item  {
    background-color: #ED877F !important;
    border: #ED877F !important;
}

.filter-chart__item .choices[data-type*=select-multiple] .choices__button, .choices[data-type*=text] .choices__button {
    border-left: 1px solid #ffffff;
}

.filter-chart__item._blue .filter-chart__item-note {
    color: #4872F2;
}

.filter-chart__item.blue .choices__list--multiple .choices__item  {
    background-color: #4872F2 !important;
    border: #4872F2 !important;
}

.filter-chart__item-type {
    font-weight: 400;
    font-size: 18px;
    width: 175px;
}

.filter-chart__item-field {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    width: 318px;
    justify-content: space-between;
}

.filter-chart__item-input {
    border: 1px solid #BDBDBD;
    border-radius: 4px;
    padding: 8px 10px;
    width: 100%;
}

.filter-chart__item-input._date {
    width: calc(50% - 8.5px);

}

.filter-chart__item-input._date input {
    background-image: url('../img/icons/calendar.svg');
    background-repeat: no-repeat;
    background-position: right;
    cursor: pointer;
}

.filter-chart__item input {
    border: none;
    width: 100%;
}

.filter-chart__item input::placeholder {
    font-size: 16px;
    font-weight: 400;
    color: #DCDCDC;
}

.filter-chart__item .choices {
    margin-bottom: 0;
}

.filter-chart__item .choices__inner {
    background-color: transparent;
    border: 1px solid #BDBDBD;
    border-radius: 4px;
    width: 318px;
    min-height: 40px;
    padding: 6px 24px 0 10px;
}

.choices__list--multiple .choices__item {
    background-color: #4872F2 !important;
    border: #4872F2 !important;
    margin-top: -1px;
}

.removeall {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 14px;
    background-image: url('../img/icons/remove.svg');
    background-repeat: no-repeat;
    width: 14px;
    height: 14px;
    cursor: pointer;
}

.choices__input {
    width: 100% !important;
}

.removeall:hover {
    transition: all 0.2s ease-in;
    transform: translateY(-50%) rotate(-90deg);
}

.choices__list--dropdown .choices__item--selectable.is-highlighted {
    background-color: #ffffff !important;
}

.filter-chart__item .choices__input {
    background-color: transparent;
}

.filter-chart__item-note {
    margin-left: 22px;
    font-weight: 400;
    font-size: 16px;
    position: relative;
    display: flex;
}

.filter-chart__item-note > div:first-child {
    width: 24px;
    height: 24px;
}

.filter-chart__item-note > div:first-child img {
    width: 100%;
}

.filter-chart__item-note_text {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.filter-chart__item-checkbox input {
    display: none;
}

.filter-chart__item-note_list {
    cursor: pointer;
}

.filter-chart__item-checkbox label {
    width: 24px;
    height: 24px;
    border: 1px solid #BDBDBD;
    border-radius: 4px;
    margin-bottom: 0;
    cursor: pointer;
}

.filter-chart__item-checkbox input:checked ~ label {
    background-color: #4872F2;
    border-color: #4872F2;
}

.filter-chart__item-checkbox input:checked ~ label span:before {
    content: '';
    position: absolute;
    left: -5px;
    width: 10px;
    height: 3px;
    background: #ffffff;
    -webkit-transform: rotate(50deg);
    transform: rotate(50deg);
}

.filter-chart__item-checkbox input:checked ~ label span:after {
    content: '';
    position: absolute;
    left: 0;
    width: 16px;
    height: 3px;
    background: #ffffff;
    -webkit-transform: rotate(-50deg);
    transform: rotate(-50deg);
}

.filter-chart__item-checkbox_text {
    font-size: 11px;
    color: #B9B9B9;
    font-weight: 400;
    margin-left: 7px;
    line-height: 24px;
}

.filter-chart__checkbox-container {
    display: flex;
    flex-direction: row;
}

.filter-chart__export {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.filter-chart__export input,
.filter-chart__export a {
    padding: 8px 11px;
    border: 1px solid #4872F2;
    color: #4872F2 !important;
    margin: 0 10px;
    border-radius: 4px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.filter-chart__export input {
    background-color: #4872F2;
    color: #ffffff !important;
}

.filter-chart__export input:hover {
    background-color: #ffffff;
    border: 1px solid #4872F2;
    color: #4872F2 !important;
}

.filter-chart__export a:hover {
    background-color: #4872F2;
    color: #ffffff !important;
}

.filter-chart__export a:hover {
    text-decoration: none !important;
}

.modal-note {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 300px;
    z-index: 200;
    justify-content: center;
    width: 100%;
}

.modal-note__container {
    background-color: #ffffff;
    border: 1px solid #E5E5E5;
    max-width: 608px;
    width: 100%;
    max-height: 834px;
    border-radius: 10px;
    box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    margin: 0 15px;
}

.modal-note._red .modal-note__head {
    color: #ED877F;
}

.modal-note._red ul li:before {
    background-color: #ED877F;
}

.modal-note._active {
    display: flex;
}

.modal-note__head {
    position: relative;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #4872F2;
    padding: 16px 0 12px;
    border-bottom: 1px solid #DCDCDC;
}

.modal-note__close {
    position: absolute;
    top: 23px;
    right: 20px;
    width: 14px;
    height: 14px;
}

.modal-note__close-icon {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.modal-note__close-icon:before,
.modal-note__close-icon:after {
    position: absolute;
    content: '';
    height: 2px;
    width: inherit;
    background: #BDBDBD;
    left: 0;
    transition: all 0.3s ease-in;
}

.modal-note__close-icon:before {
    top: calc(50% - 2px);
    transform: rotate(45deg);
}

.modal-note__close-icon:after {
    bottom: 50%;
    transform: rotate(-45deg);
}

.modal-note__close-icon:hover:after {
    transform: rotate(90deg);
}

.modal-note__close-icon:hover:before {
    transform: rotate(-90deg);
}

.modal-note__items {
    padding: 30px 27px 30px 41px;
    max-height: 500px;
    overflow-y: auto;
}

.modal-note ul li {
    color: #3c3c3c;
    font-size: 18px;
    font-weight: 400;
    position: relative;
}

.modal-note ul li:before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -15px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #4872F2;
}

.modal-note ul li:not(:last-child) {
    margin-bottom: 15px;
}

.simplebar-track.simplebar-vertical {
    width: 9px !important;
    right: 16px;
}

.simplebar-scrollbar:before {
    background-color: #DCDCDC !important;
}

.simplebar-scrollbar.simplebar-visible:before {
    opacity: 1 !important;
}

.donuts-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.donuts-chart {
    width: 50% !important;
}

.filter_form-field {
    display: flex;
    color: #3C3C3C !important;
}

.filter_from {
    font-size: 14px;
    font-weight: 600;
    margin-right: 70px;
}

.filter_to {
    font-size: 14px;
    font-weight: 600;
    margin-left: 26px;
    margin-right: 12px;
}

.filter_form-input {
    display: flex;
    align-items: center;
}

.filter_form-input input {
    position: relative;
    border: none;
    color: #737373;
    width: 150px;
}

.filter_form-input_location {
    margin-left: 32px;
    padding: 7.5px 12px;
    width: 250px;
    border-radius: 5px;
    border: 1px solid #DCDCDC;
}

.filter_form-input_location input {
    width: 100%;
}

.filter_form-input_bg {
    position: relative;
}

.filter_form-input_bg:before {
    content: '';
    height: 1px;
    width: 100%;
    background-color: #DCDCDC;
    bottom: -6px;
    position: absolute;
}

.filter_input-search {
    margin-left: 12px;
}

.filter_input-search .btn {
    background-color: #ffffff;
    border-color: #4872F2;
    color: #4872F2;
}

.filter_input-search .btn:hover {
    background-color: #4872F2;
    border-color: #ffffff;
    color: #ffffff;
}

.filter_checkbox {
    display: flex;
    align-items: center;
    margin-top: 14px;
}

.filter_checkbox input[type=text] {
    width: 24px;
    height: 24px;
    border-color: #B9B9B9;
}

.filter_checkbox label {
    font-size: 12px;
    line-height: 16px;
    color: #B9B9B9;
    margin-left: 12px;
    margin-bottom: 0;
}

.highcharts-point {
    font-size: 12px;
}

.diagram__wrapper {
    display: flex;
    flex-wrap: wrap;
}

.diagram__section {
    width: 100%;
}

.diagram__section-col-2 {
    display: flex;
    flex-wrap: wrap;
}

.diagram__row {
    margin-bottom: 40px;
}

.diagram__row-container {
    display: flex;
    position: relative;
}

.diagram__header {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    color: #3C3C3C;
    margin-bottom: 10px;
}

.diagram__header-main {
    margin-bottom: 33px;
}

.diagram__header._left {
    text-align: start;
    margin-bottom: 60px;
}

.diagram__header-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 120%;
    width: 100%;
}

.diagram__header-subtitle {
    font-size: 18px;
    width: 100%;
    line-height: 16px;
    margin-top: 10px;
}

.diagram__header-subtitle._small {
    font-size: 12px;
}

.diagram__body {
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.diagram__row-col-2 {
    display: flex;
    flex-wrap: wrap;
}

.diagram__section-col-2 > div {
    /*width: 50%;*/
}

.diagram__section-w-50 > div {
    width: 50%;
}

.diagram__row-col-2 > div {
    width: 50%;
}

.column-container {
    width: 100%;
}

.column-negative .highcharts-xaxis,
.column-negative-small .highcharts-xaxis {
    display: none;
}

.highcharts-container {
    margin: 0 auto;
}

.highcharts-title {
    font-size: 24px !important;
    font-weight: 600;
    line-height: 120%;
}

.highcharts-subtitle {
    font-size: 12px;
    line-height: 16;
}

.highcharts-subtitle-main {
    font-size: 18px;
    line-height: 21px;
    font-weight: 400;
}

#responsesChart .highcharts-plot-background {
    fill: #eeeeee;
}

.highcharts-title {
    padding-bottom: 10px;
    margin-bottom: 64px;
}

.tripSpeed .highcharts-axis-labels {
    display: none;
}

.donut-chart-label {
    position: absolute;
    font-size: 13px;
    font-weight: 600;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

.highcharts-credits {
    display: none;
}

.highcharts-legend-item span {
    padding-right: 10px;
}

.highcharts-legend-item-hidden span {
    color: lightgray !important;
}

.highcharts-tooltip {
    height: auto;
    width: 100%;
    border-color: #ffffff !important;
    border-radius: 10px;
    z-index: 50;
}

.highcharts-tooltip-table {
    position: relative;
    color: #3C3C3C;
    font-size: 12px;
    line-height: 16px;
}

.highcharts-tooltip-table tr td {
    padding-bottom: 3px;
}

.highcharts-tooltip-table tr td span {
    color: #3C3C3C !important;
}

.highcharts-tooltip-header {
    font-size: 13px;
    padding-bottom: 10px;
    font-weight: 600;
    text-align: center;
}

.highcharts-tooltip-name {
    padding-right: 10px;
}

.highcharts-tooltip-footer {
    position: relative;
}

.highcharts-tooltip-close {
    position: absolute;
    right: 0;
}

.highcharts-tooltip > span {
    background-color: #ffffff !important;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.05), 0px 10px 10px rgba(0, 0, 0, 0.1);
}

.highcharts-dataLabels {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50%;
}

.donuts-chart .highcharts-data-label span {
    top: -10px!important;
}

.tripSpeed .highcharts-tracker {
    opacity: 1 !important;
}

.speed-chart > div:first-child {
    height: 240px;
}

.donuts-chart > div:first-child {
    height: 240px;
}

.donuts-year {
    position: absolute;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.donuts-years > div {
    width: 50%;
    bottom: 0;
}

.speed-point {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    bottom: 0;
}

.speed-point div {
    font-size: 14px;
    font-weight: 400;
    line-height: 16.8px;
}

.speed-point__positive {
    color: #4872F2;
}

.speed-point__negative {
    color: #E73C3E;
}

.highcharts-figure {
    position: relative;
    width:100%
}

.speed-point div:first-child {
    margin-bottom: 10px;
}

._list-item {
    position: relative;
    padding-left: 12px;
}

._list-item:before {
    content: '';
    left: 0;
    top: 5px;
    background-image: url('../img/dot.png');
    width: 5px;
    height: 5px;
    position: absolute;
}

.highcharts-custom-legend {
    width: 100%;
    display: flex;
    flex-direction: row;
    margin: auto 0 20px;
    justify-content: center;
}

.highcharts-custom-legend li {
    color: #3C3C3C;
    font-size: 13px;
    font-weight: 600;
}

.highcharts-custom-legend li:not(:last-child) {
    margin-right: 40px;
}

.highcharts-custom-legend._stacked {
    width: 40%;
    padding-left: 70px;
    margin: 15px 0 0;
}

.highcharts-custom-legend_column {
    width: 20%;
    padding-left: 78px;
    padding-top: 25px;
}

.highcharts-custom-legend_small {
    width: 65%;
    margin: 5px 0 0 0;
}

.marker-ok,
.marker-bad,
.marker-excellent {
    cursor: pointer;
    position: relative;
}

.marker._hide,
.marker._hide:before {
    opacity: 0.5;
}

.marker-ok:before,
.marker-bad:before,
.marker-excellent:before {
    content: '';
    width: 10px;
    height: 10px;
    left: -20px;
    border-radius: 2px;
    position: absolute;
    top: 2px;
}

.marker-ok:before {
    background-color: #EDF1FE;
}

.marker-bad:before {
    background-color: #A4B9F9;
}

.marker-excellent:before {
    background-color: #4872F2;
}

.marker._hide,
.marker._hide:before {
    opacity: 0.5;
}

.stacked-column {
    height: 100%;
}

.stacked-column-container {
    height: 662px;
}

.stacked-column-container .highcharts-yaxis-labels {
    display: none;
}

.stacked-column .highcharts-axis-line {
    display: none;
}

.stacked-column .highcharts-tooltip > span span {
    color: #3C3C3C !important;
    position: relative;
    padding-left: 12px;
}

.stacked-column .highcharts-tooltip > span span:before {
    content: '';
    left: 0;
    top: 5px;
    background-image: url('../img/dot.png');
    width: 5px;
    height: 5px;
    position: absolute;
}

.stacked-column .highcharts-tooltip .tooltipe-header {
    justify-content: center;
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
}

.stacked-column .highcharts-tooltip .tooltipe-header:before {
    display: none;
}

.stacked-column .highcharts-axis-labels.highcharts-xaxis-labels text {
    color: #3C3C3C;
    font-size: 13px;
    line-height: 15px;
}

.column-negative-small {
    height: 300px;
}

.tripSpeed,
.tripDonut {
    position: relative;
}

.tripSpeed .highcharts-container,
.tripDonut .highcharts-container {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.diagram__container canvas,
#chart_responses {
    width: 100% !important;
    height: auto !important;
}

@media print {
    .diagram__section {
        page-break-inside: avoid !important;
    }
}

@media screen and (max-width: 1260px) {
    .filter-chart {
        width: max-content;
    }

    .donuts-chart {
        height: auto;
    }

    .diagram__section-col-2 > div {
        width: 100%;
    }

    .speed-point {
        bottom: 0;
    }

    .highcharts-container {
        margin: 0 auto;
    }

    figure {
        margin-bottom: 35px !important;
    }

    .donut-chart-label {
        bottom: 0;
    }

    .filter-chart__item-note_text {
        display: none;
    }
}

@media screen and (max-width: 1024px) {
    .filter_form-field {
        flex-direction: column;
    }

    .filter_form-input {
        margin-bottom: 25px;
    }

    .filter_from {
        margin-right: 15px;
    }

    .filter_to {
        margin-left: 0;
        margin-right: 33px;
    }

    .filter_input-search {
        margin-left: 0;
    }

    .donuts-legend {
        padding-left: 0;
    }

    .column-container {
        width: 100%;
    }
}

@media screen and (min-width: 701px) and (max-width: 800px) {
    .donuts-legend {
        position: absolute;
        z-index: 1000;
        transform: translateY(-50%);
        top: 50%;
        padding-left: 0;
        padding-bottom: 0;
        left: 25px;
    }

    .donuts-chart {
        width: 100% !important;
    }

    .donuts-container {
        width: 100%;
    }
}

@media screen and (max-width: 700px) {
    .diagram__header-subtitle-main {
        font-size: 14px;
    }

    .donuts-container {
        width: 100%;
    }

    .donuts-legend {
        flex-direction: row;
        width: 100%;
        justify-content: center;
        margin-left: 20px;
        padding-bottom: 30px;
    }

    .donuts-legend li:not(:last-child) {
        margin-right: 40px;
    }

    .speed-point {
        width: 100%;
    }

    .filter_form-input_location {
        margin-left: 0;
    }

    .donut-chart-label {
        bottom: 25px;
    }

    .donuts-chart {
        margin-bottom: 0;
    }

    .modal-note {
        justify-content: center;
        width: 100%;
    }
}

@media screen and (max-width: 478px) {
    .donuts-chart {
        width: 100% !important;
        padding-bottom: 0;
    }
}

.selected-items {
    width: 100%;
    height: max-content;
}

.filter-chart__item-field label {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #BDBDBD;
    min-height: 40px;
    margin-bottom: 0;
}

.filter-chart__item-field label input {
    border-radius: 4px;
}

.filter-chart__item-field .wrapper {
    margin: 0;
    width: 100%;
}

.filter-chart__item-field .simple-input {
    height: 100%;
    padding: 0 6px;
}

.select2-selection__choice {
    color: #ffffff;
    background-color: #4872F2 !important;
    padding: 3px 4px !important;
    display: flex;
    border: none;
    margin-top: 3px !important;
}

.clear-button {
    position: absolute;
    right: 1px;
    top: 1px;
    z-index: 10;
    width: 32px;
    height: calc(100% - 2px);
    background-color: #ffffff;
    background-image: url('../img/icons/remove.svg');
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    border-radius: 4px;
    display: none;
}

.clear-button._active {
    display: block;
}

.select2-selection__choice__remove {
    order: 2;
    margin-left: 2px;
    color: #ffffff !important;
}

.menu-list {
    width: 100% !important;
}

.menu-list li label {
    cursor: pointer;
}

.menu-list input {
    display: none;
}

.select2-selection__rendered {
    padding: 2px 35px 1px 5px!important;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #BDBDBD !important;
    min-height: 40px !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 1px solid #BDBDBD !important;
}

.filter-chart__item select {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #BDBDBD;
    min-height: 40px;
    webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0 35px 0 5px;
    background: url('../img/icons/downarrow.svg') no-repeat right 12px center;
    background-size: 18px;
}

.filter-chart__item select::-ms-expand {
    display: none;
}

.filter-chart__item-checkbox input:checked ~ label span {
    position: relative;
    display: inline-block;
    left: 6px;
    top: -7px;
}

@media screen and (max-width: 920px) {
    .filter-chart {
        width: auto;
    }

    .select2-container {
        width: 100% !important;
    }

    .filter-chart__container {
        padding: 20px;
    }

    .filter-chart__item {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .filter-chart__item-type {
        width: auto;
        line-height: 24px;
    }

    .filter-chart__checkbox-container {
        width: 100%;
        display: flex;
        flex-direction: row;
        margin-top: 15px;
    }

    .filter-chart__checkbox-container .filter-chart__item-checkbox_text {
        margin-left: 15px;
        line-height: 24px;
    }

    .filter-chart__item-field {
        width: 100%;
        order: 2;
        margin-top: 15px;
    }
}

@media screen and (max-width: 360px) {
    .filter-chart__item-input._date input {
        background-image: none;
    }
}