
.graph-cnews-icon {
    position: absolute;
    right: 30px;
    bottom: 40px;
}

.graph-container {
    margin: 40px 0 45px;
    background-color: #3E3D4D;
    position: relative;
}

.graph-header {
    padding: 40px 30px 30px;
    position: relative;
    min-height: 145px;
}

.graph-title, p.graph-title, .article_body .graph-title {
    color: white;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 15px;
    max-width: 80%;
    line-height: 1.4;
}

.graph-text {
    color: #D4D9DC;
    font-size: 18px;
}

.graph-text, .graph-legends-container {
    max-width: 83%;
}

.graph-cnews-logo {
    position: absolute;
    top: 40px;
    right: 30px;
    max-width: 82px;
}

.graph-note-container {
    /* display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: column;
    align-items: flex-start; */
    display: flex;
    flex-direction: column;
}

.graph-note-square {
    width: 15px;
    height: 15px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    background-color: grey;
    flex: none;
} 

.graph-color-1 .graph-note-square,
.graph-color-1 .graph-line-shape {
    background-color: #0282D1;
}

.graph-color-2 .graph-note-square,
.graph-color-2 .graph-line-shape {
    background-color: #56E6F1;
}

.graph-color-3 .graph-note-square,
.graph-color-3 .graph-line-shape {
    background-color: #3FEBB7;
}

.graph-color-4 .graph-note-square,
.graph-color-4 .graph-line-shape {
    background-color: #FFBB3F;
}

.graph-color-5 .graph-note-square,
.graph-color-5 .graph-line-shape {
    background-color: #FE6B18;
}

.graph-color-6 .graph-note-square,
.graph-color-6 .graph-line-shape {
    background-color: #F82433;
}

.graph-note-item {
    color: #D4D9DC;
    font-size: 14px;
    padding-right: 25px;
    margin: 7px 0;
    display: flex;
    align-items: flex-start;
    /* flex: 0 0 130px; */
}

.graph-body {
    position: relative;
    display: flex;
    padding: 40px 30px 20px;
    /* align-items: flex-end; */
}

.graph-body-container {
    display: flex;
    width: 100%;
    overflow-x: auto;
    align-items: flex-end;
    scrollbar-width: thin;
    scrollbar-color: #A7AAB1 #555;
}

.graph-body-container {
    /* background-image: url(https://filearchive.cnews.ru/img/cnews/2021/04/12/obedinenie_6.png);
    background-position: center;
    background-size: 14px;
    background-repeat: no-repeat; */
}

/* Works on Chrome, Edge, and Safari */
.graph-body-container::-webkit-scrollbar {
    width: 1px;    
    height: 8px;
}

.graph-body-container::-webkit-scrollbar-track {
    background: #555;
    border-radius: 50px;
}

.graph-body-container::-webkit-scrollbar-thumb {
    background-color: #A7AAB1;
    border-radius: 50px;
    /* border: 1px solid #EFEFEF; */
    background-image: url(https://filearchive.cnews.ru/img/cnews/2021/04/12/obedinenie_6.png);
    background-position: center;
    background-size: 14px;
    background-repeat: no-repeat;
}  

.widget-chart-23 .graph-body,
.widget-chart-27 .graph-body {
    padding-right: 10px;
    padding-left: 10px;
}

.widget-chart .graph-note-container {
    /* display: flex;
    flex-direction: row;
    flex-wrap: wrap; */
    display: grid;
    grid-template-columns: repeat(3,1fr);
}

.graph-single-container {
    flex-grow: 1;
    flex-basis: 100%;
}

.graph-single-container+.graph-single-container {
    margin-left: 30px;
}

.widget-chart-1 .graph-single-container-2 {
    display: none;
}

.widget-chart-1 .graph-single-container-2.visible {
    display: block;
}

.graph-lines-container {
    display: flex;
    align-items: flex-end;
    min-height: 280px;
}

.graph-line {
    margin-right: 4px;
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
}

.graph-line:last-of-type {
    margin-right: 0;
}

.graph-line-number, .graph-line-title {
    color: #D4D9DC;
    text-align: center;
    margin: 10px 0;
}

.graph-lines-desc {
    text-align: center;
    color: #D4D9DC;
    margin: 20px 0 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 30px;
}

.graph-line-shape {
    width: 50px;
    height: 240px;
    border-radius: 3px 3px 0 0;
    background-color: grey;
    margin: 0 auto;
}

.graph-footer {
    padding: 15px 30px;
    margin-top: 10px;
}

.graph-source {
    margin: 0;
    color: #A7AAB1;
    font-size: 14px;
}

.widget-chart {
    margin: 40px 0 45px;
    background-color: #3E3D4D;
    position: relative;
}

.graph-cnews-logo {
    position: absolute;
    top: 51px;
    right: 30px;
    max-width: 82px;
}

.graph-cnews-icon {
    position: absolute;
    right: 30px;
    bottom: 30px;
    width: 100px;
    opacity: .6;
    top: 85px;
}

.chartjs-render-monitor {
    width: 100%;
}

.canvas-container {
    width: 100%;
    flex-basis: 100%;
    flex-grow: 1;
}


.graph-body:before, .graph-body:after, .graph-container:before, .graph-container:after {
    content: "";
    background-image: url(https://filearchive.cnews.ru/img/cnews/2021/03/12/1izobrazhenie58.png);
    background-position: center;
    background-size: contain;
    background-repeat: repeat-x;
    height: 10px;
    width: 100%;
    display: inline-block;
    position: absolute;
    top: 100%;
    left: 0;
}

.graph-body:before, .graph-container:before {
    bottom: 100%;
    top: auto;
}

.graph-body:before, .graph-body:after {
    background-image: url(https://filearchive.cnews.ru/img/cnews/2021/02/08/linepatterngrey3.svg);
}

.graph-legends-container {
    display: flex;
    column-gap: 15px;
}

.graph-legends-container .legend-container {
    flex: 1;
}

.graph-lines-desc img {
    max-height: 80px;
}

.graph-lines-desc-text {
    margin: 10px 0 0;
    font-size: 13px;
    color: #A7AAB1;
    text-align: center;
    min-height: 36px;
}

.widget-chart-33 .graph-lines-container {
    flex-direction: column;
    align-items: initial;
    min-height: auto;
}

.widget-chart-33 .graph-line {
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    margin-left: 0;
    margin-right: auto;
    width: 100%;
}

.widget-chart-33 .graph-line-shape {
    height: 30px;
    width: 100%;
    margin: initial;
    border-radius: 0 3px 3px 0;
}

.widget-chart-33 .graph-line + .graph-line {
    margin-top: 15px;
}

.widget-chart-33 .graph-line-number {
    margin-left: 10px;
    margin-right: 0;
    width: 80px;
    text-align: left;
}

.widget-chart-33 .graph-line-title {
    margin-right: 10px;    
    text-align: left;
    min-width: 150px;
    flex-basis: 150px;
}

.widget-chart-33 .graph-body {
    padding: 20px 30px;
}

.widget-chart-33 .graph-single-container {
    max-width: 100%;
}

.text-note:before,
.text-note:after {
    content: "";
    background-image: url(https://filearchive.cnews.ru/img/cnews/2021/03/12/1izobrazhenie58.png);
    background-position: center;
    background-size: contain;
    background-repeat: repeat-x;
    height: 10px;
    width: 100%;
    display: inline-block;
    position: absolute;
    top: 100%;
    left: 0;
}

.text-note {
    background-color: #F4F5F5;
    padding: 40px 20px;
    position: relative;
    margin: 50px 0;
}

.text-note h2 {
    font-size: 22px;
    margin: 0 0 15px;
    line-height: 1.2;
}

.text-note ul {
    padding-left: 20px;
    margin-bottom: 0;
    list-style: none;
}

.text-note li,
.text-note p {
    position: relative;
    margin: 20px 0;
    font-size: 16px;
    line-height: 1.65;
    color: #212121;
}

.text-note li:before, .text-note li:after {
    content: "";
    background-color: white;
    border: 1px solid #999999;
    display: inline-block;
    width: 10px;
    height: 10px;
    box-sizing: border-box;
    position: absolute;
    border-radius: 50%;
    left: -20px;
    top: 8px;
}

.text-note:before {
    bottom: 100%;
    top: auto;
}

.text-note li:last-of-type {
    margin-bottom: 0;
}

.article_body .text-note h2:first-of-type {
    margin-top: 0;
}

.person-desc-block {
    max-width: 616px;
    margin: 20px 0;
}

.person-desc-block:after, .person-desc-block:before {
    content: "";
    display: table;
    clear: both;
}

.person-desc-block p, .person-desc-block li {
    color: white;
}

.person-desc-block .line_pattern, .section_mainnews .person-desc-block .line_pattern {
    margin-bottom: 0;
}

.person-desc-text {
    background-color: #3E3D4D;
}

.person-desc-body {
    position: relative;
    padding: 30px 20px;
}

.person-desc-list {
    padding-left: 20px;
    list-style: none;
}

.person-desc-list li {
    position: relative;
    margin-bottom: 28px;
    font-size: 14px;
}

.person-desc-list li:nth-of-type(1n+4) {
    display: none;
}

.person-desc-list li:nth-of-type(3), .person-desc-list li:last-of-type {
    margin-bottom: 0;
}

.openable-block-opened .person-desc-list li:nth-of-type(3) {
    margin-bottom: 28px;
}

.person-desc-open .person-desc-list li:nth-of-type(1n+4) {
    display: block;
}
 
.person-desc-list li:before {
    content: "";
    border: 1px solid #999999;
    display: inline-block;
    width: 10px;
    height: 10px;
    box-sizing: border-box;
    position: absolute;
    border-radius: 50%;
    left: -20px;
    top: 8px;
}

.person-desc-name, .article_body .person-desc-name {
    font-weight: 700;
    font-size: 24px;
    margin: 0 0 20px;
    line-height: 1.4;
}

.person-desc-photo {
    float: right;
    margin-right: -133px;
    margin-left: 45px;
    position: relative;
}

.person-desc-photo:before {
    content: "";
    background-color: #3e3d4d;
    background-image: url(https://filearchive.cnews.ru/img/cnews/2021/05/11/1.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    top: 10px;
    left: -12px;
}

.person-desc-photo:after {
    content: "";
    background-color: white;
    width: 113px;
    height: 100%;
    position: absolute;
    top: 10px;
    right: 0;
    z-index: 1;
}

.person-desc-photo img {
    width: 200px;
    position: relative;
    z-index: 2;
}

.person-desc-body:after {
    content: "";
    background-image: url(https://filearchive.cnews.ru/img/cnews/2021/02/08/linepatterngrey3.svg);
    background-position: center;
    background-size: cover;
    background-repeat: repeat-x;
    height: 10px;
    width: 100%;
    display: inline-block;
    position: absolute;
    top: calc(100% - 10px);
    left: 0;
}

.person-desc-footer {
    padding: 15px 40px;
}

.person-btn-more, .article-btn.person-btn-more {
    background-color: #00A7B3;
    color: white;
    border: 0;
    padding: 12px 26px;
    transition: .3s;
    font-size: 12px;
    display: inline-block;
}

.person-btn-more:hover, .article-btn.person-btn-more:hover, .review-material-container .article-btn.person-btn-more:hover {
    color: white;
    background-color: rgba(0,167,179,.8);
}

.person-btn-more:after {
    content: "";
    background-image: url(https://filearchive.cnews.ru/img/cnews/2021/05/11/kontur_4042x.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 7px;
    height: 4px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

.person-desc-open .person-btn-more:after {
	transform: rotate(180deg);	
}

.article-speaker-quote {
    margin: 30px 0;
	max-width: 712px;
}

@media (max-width: 1100px) {
	.review-material-container .raw-html-embed {
		display: flex;
		flex-direction: column;
	}
	.article-speaker-quote {
		max-width: 100%;
	}
}

.article-speaker-quote p {
    font-size: 22px;
    font-weight: 600;
	padding: 20px 30px;
	line-height: 1.4;
} 

.article-speaker-quote:before, .article-speaker-quote:after {
	content: "";
	background-image: url(https://filearchive.cnews.ru/img/cnews/2021/04/21/sgruppirovat_150.png);
	width: 100%;
	height: 25px;
	display: block;
	background-size: contain;
    background-repeat: no-repeat;
}

.article-speaker-quote:after {
	background-image: url(https://filearchive.cnews.ru/img/cnews/2021/04/21/sgruppirovat_149.png);
	background-position: right;
}

.view-title {
    font-weight: 700;
    margin-bottom: 7px;
}

.view-link {
    text-align: right;
    margin-top: 20px;
}

@media (max-width: 1280px) {
    .graph-body-container {
        overflow-x: auto;
        overflow-y: hidden;
    }

    .widget-chart .graph-note-container {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 800px) {
	.person-desc-photo {
		margin-right: -65px;
	}

	.person-desc-photo:after {
		width: 45px;
	}

    .graph-title, .graph-text {
        max-width: 70%;
    }
}

@media (max-width: 720px) {
    .person-desc-photo {
    	float: none;
        margin: 0 0 30px 35px;
    }

    .person-desc-photo:after {
        display: none;
    }
}

@media (max-width: 576px) {
    .graph-container {
        margin: 50px -15px;
        /* font-family: "Montserrat", sans-serif; */
    }

    .graph-header {
        padding: 22px 15px 15px;
        min-height: auto;
    }

    .graph-cnews-logo {
        top: 25px;
        right: 15px;
        max-width: 45px !important;
    }

    .widget-chart .graph-note-container {
        grid-template-columns: repeat(1,1fr);
    }

    .graph-body, .widget-chart-33 .graph-body {
        padding: 20px 15px 15px;
        overflow-x: scroll;
        overflow-y: hidden;
    }

    .graph-lines-container
    {
        min-height: auto;
    }

    .widget-chart-33 .graph-line + .graph-line {
        margin-top: 7px;
    }

    .graph-footer {
        padding: 0px 15px 5px;
        margin: 0;
    }

    /* .graph-lines-container {
        min-height: 140px;
    } */

    .graph-lines-desc {
        margin: 3px 0 0;
    }

    .graph-lines-desc-text {
        font-size: 11px;
        margin: 8px 0 0;
    }

    .graph-title {
        font-weight: 600;
        font-size: 16px;
        line-height: 1.45;
        letter-spacing: 0.3px;
        max-width: 85%;
    }

    .graph-title, .graph-text {
        max-width: 80%;
    }

    .graph-text {
        margin: 9px 0 5px;
        font-size: 14px;
        line-height: 1.4;
    }

    .graph-note-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .graph-note-item {
        font-size: 12px;
        padding-right: 32px;
        margin: 7px 0;
        line-height: 1.4;
    }

    .graph-note-square {
        align-self: flex-start;
        flex-basis: 12px;
        min-width: 12px;
        width: 12px;
        height: 12px;
    }

    .graph-cnews-icon {
        right: 15px;
        bottom: 15px;
        width: 50px;
        top: auto;
    }

    .graph-source,
    .graph-lines-desc {
        font-size: 10px;
    }
    
    .widget-chart {
        margin: 20px -15px;
    }

    .graph-lines-desc img {
        max-height: 18px;
    }

    .graph-single-container+.graph-single-container {
        margin-left: 17px;
    }

    .graph-line-number {
        font-size: 11px;
    }

    .graph-line-shape {
        height: 120px;
    }

    .graph-lines-desc img {
        max-height: 40px;
        margin-top: 12px;
    }

    .text-note {
        padding: 40px 15px;
        margin: 40px -15px;
    }
}

@media (max-width: 360px) {
    .graph-single-container+.graph-single-container {
        margin-left: 10px;
    }

    .graph-lines-desc img {
        max-height: 35px;
    }
}
