.shelf-for-block {
    display: flex;
}

.block-visible{
    overflow-y: visible;
}

.nav-tabs-green {
    display: flex;
    padding: 0 12px;
}
#btn-summary.nav-tab-green-active{
    background: url(/web/kz/app/tax/assets/img/info-black.svg) left center no-repeat;
    background-size: 16px auto;
}
#btn-summary{
    background: url(/web/kz/app/tax/assets/img/info-blue.svg) left center no-repeat;
    background-size: 16px auto;
}
#btn-detail.nav-tab-green-active{
    background: url(/web/kz/app/tax/assets/img/doc-black.svg) left center no-repeat;
    background-size: 16px auto;
}
#btn-detail{
    background: url(/web/kz/app/tax/assets/img/doc-blue.svg) left center no-repeat;
    background-size: 16px auto;
}
#btn-evaluation.nav-tab-green-active{
    background: url(/web/kz/app/tax/assets/img/list-black.svg) left center no-repeat;
    background-size: 16px auto;
}
#btn-evaluation{
    background: url(/web/kz/app/tax/assets/img/list-blue.svg) left center no-repeat;
    background-size: 16px auto;
}
.nav-tab-green {
    color: #3598db;
    padding: 10px 10px 10px 20px;
    margin-right: 10px;
    border-bottom: 2px solid white;
    font-family: Helvetica,Arial,sans-serif;
    font-size: 16px;
    cursor: pointer;
}

.nav-tab-green-active {
    color: #353535;
    border-bottom: 2px #009cff solid;
}

.content-tax {
    margin-top: 20px;
}
#general_table, #detailing_table, #evaluation_indicators_table{
    overflow-x: auto;
}

.table-compact{
    width: 100%;
}
.table-compact-detailing{
    width: 100%;
}
.table-compact-evaluation {
    width: 100%;
}

.table-compact tr th,
.table-compact tr td,
.table-compact-detailing tr th,
.table-compact-detailing tr td,
.table-compact-evaluation tr th,
.table-compact-evaluation tr td {
    padding: 7px 5px;
    border-bottom: 1px solid #DCDCDC;
    border-right: 1px solid #DCDCDC;
    font-style: normal;
    font-size: 12px;
    line-height: 18px;
    vertical-align: middle;
}
.table-compact tr th:not(:first-child),
.table-compact tr td:not(:first-child) {
    text-align: center;
}
.table-compact tr th:not(.table-compact-color),
.table-compact tr td:not(.table-compact-color),
.table-compact-detailing tr th:not(.table-compact-color),
.table-compact-detailing tr td:not(.table-compact-color),
.table-compact-evaluation tr th:not(.table-compact-color),
.table-compact-evaluation tr td:not(.table-compact-color) {
    color: #666666;
}
.table-compact-color {
    background: #F4F4F4;
    color: #000000;
    font-weight: 500;
}
.table-compact tr:first-child th,
.table-compact-detailing tr:first-child th,
.table-compact-evaluation tr:first-child th {
    border-top: 1px solid #DCDCDC;
}
.table-compact tr td:first-child,
.table-compact tr th:first-child,
.table-compact-detailing tr td:first-child,
.table-compact-detailing tr th:first-child,
.table-compact-evaluation tr td:first-child,
.table-compact-evaluation tr th:first-child {
    border-left: 1px solid #DCDCDC;
}
.table-compact tr td:not(.table-compact-color),
.table-compact-detailing tr td:not(.table-compact-color),
.table-compact-evaluation tr td:not(.table-compact-color) {
    white-space: nowrap;
}
.table-compact-center {
    text-align: center;
}
.table-compact-right {
    text-align: right;
}


.year-bar {
    padding: 5px;
    background: #fff;
    margin-right: 20px;
    border-radius: 5px;
    box-shadow: 0 8px 10px rgba(174, 174, 174, 0.2);
}

.year-item {
    padding: 5px 20px;
    cursor: pointer;
    color: #3598db;
}

.year-item-active {
    background: #ddf1ff;
    border-radius: 3px;
}

.year-item:hover {
    color: #3fdb41;
}

.upper-arrow {
    width: 35px;
    height: 35px;
    position: fixed;
    right: 25px;
    bottom: 20px;
    padding: 5px;
    cursor: pointer;
    background-image: url(/web/kz/app/tax/assets/img/upper.png);
    background-repeat: no-repeat;
    background-position: center center;
    border: 1px solid rgba(0,0,0,0);
    border-radius: 3px;
}
.upper-arrow:hover {
    border: 1px solid rgba(14, 144, 210, 0.3);
}

#page-detail {
    min-height: 700px;
}
#page-summary {
    min-height: 1100px;
}

.table-space{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.table-space-right{
    display: flex;
    justify-content: right;
    align-items: center;
    flex-wrap: wrap;
}
.table-space-left{
    display: flex;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
}

.tax-excel-save{
    color: #42A1E6;
    cursor: pointer;
    font-size: 15px;
    text-transform: unset;
    font-weight: normal;
    padding: 6px 10px 6px 10px;
}

.export-excel-label:before {
    display: block;
    content: '';
    width: 15px;
    height: 15px;
    background: url("/web/kz/app/tax/assets/img/excel_download.svg") center center no-repeat;
    background-size: 100%;
    float: left;
    margin-right: 5px;
}

.export-excel {
    display: flex;
    flex-direction: column;
    position: relative;
}
.export-excel-panel {
    position: absolute;
    top: 25px;
    background: #ffffff;
    width: 260px;
    padding: 16px;
    right: 0;
    box-shadow: 2px 2px 10px rgb(0 0 0 / 25%);
    border-radius: 5px;
    line-height: 19px;
    z-index: 2;
    display: flex;
    flex-direction: column;
}
.export-excel-panel label {
    display: flex;
    font-weight: normal;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #DDDDDD;
    cursor: pointer;
}
.export-excel-panel label:hover {
    background: #F5F5F5;
}

.export-excel-btn {
    background: #3598DB;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    height: 37px;
    padding: 11px 15px;
    font-weight: 400;
}

.drop-s {
    padding-right: 20px;
}
.custom-tooltip {
    width: 200px;
    white-space: normal;
}
.custom-tooltip-min {
    width: 100px;
    white-space: normal;
}
.general-graph-wrapper, .detailing-graph-wrapper, .evaluation-graph-wrapper{
    display: flex;
    justify-content: space-between;
}
.general-graph-wrapper, .detailing-graph-wrapper {
    margin-bottom: 40px;
}
.evaluation-graph-wrapper {
    margin-top: 40px;
}
.name-general-table {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
    text-align: center;
}
.note-evaluation-table {
    font-size: 12px;
    margin-top: 10px;
    font-style: italic;
}

.chart-title{
    text-decoration: none;
}

.min-graph{
    margin-bottom: 40px;
    width: 100%;
}
.min-line{
    height: 200px;
}
.min-line-two{
    height: 200px;
}
.min-line-one{
    height: 200px;
}
#pieGraph{
    width: 50%;
}
#lineGraph{
    width: 50%;
}
#detailingPieGraph{
    width: 100%;
    margin-top: 10px;
}
#evaluationLineGraph{
    width: 100%;
}
.graphTitle {
    font-size: 20px;
    text-align: center;
    padding: 10px 2px;
}
.right20{
    right: 20px;
}
#legend-popup {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    padding: 8px;
    z-index: 1000;
    max-width: 500px;
    border-radius: 6px;
}

.search-input{
    width: 320px;
    height: 10px;
    padding: 8px 10px 8px 10px;
    border-radius: 2px;
    border: 1px solid #BBBBBB;
    margin-right: 20px;
}
.filter-flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nowrap{
    white-space: nowrap;
}
.table-compact-marker {
    display: inline-block;
    width: 10px;
    height: 10px;
    min-width: 10px;
    min-height: 10px;
    border-radius: 5px;
}

.ev-name-col {
    min-width: 400px;
}

.tax-question-blue {
    display: inline-block;
    width: 15px;
    min-width: 15px;
    height: 15px;
    background: url("/web/site/assets/img/style/question-blue.svg") center center no-repeat;
    background-size: 100%;
    cursor: pointer;
}

.chart-btns {
    display: flex;
    justify-content: right;
    align-items: center;
}
.chart-btns button {
    padding: 5px;
    color: #0a0a0a;
    border: 1px solid #52B85C;
    border-radius: 6px;
    font-size: 12px;
    background: white;
    text-transform: none;
    height: auto;
    font-weight: normal;
}
.chart-btns button:hover {
    background: #e6e6e6;
}
.btn-left {
    margin-right: 10px;
}

@media (min-width: 1920px) {
    .name-col {
        min-width: 600px !important;
    }
}

@media (min-width: 1800px) {
    .name-col {
        min-width: 400px;
    }
}

@media (max-width: 1150px) {
    .ev-name-col {
        min-width: 300px;
    }
}
@media (max-width: 1191px) {
    .right20{
        right: 0;
        left: 0;
    }
}
@media (max-width: 1040px) {
    .ev-name-col {
        min-width: 0;
    }
}

@media (max-width: 1000px) {
    .min-line{
        width: 33% !important;
    }
    #pieGraph{
        width: 100%;
    }
    #lineGraph{
        width: 100%;
    }
    /*#detailingPieGraph{*/
    /*    width: 100%;*/
    /*}*/
    .general-graph-wrapper{
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 700px) {
    .min-line{
        width: 50% !important;
    }
}

@media (max-width: 580px) {
    .min-line-two{
        width: 100% !important;
    }
    .min-line{
        width: 100% !important;
    }
}