@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;900&family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* { 
	padding: 0; 
	margin: 0; 
	box-sizing: unset!important;
	-webkit-box-sizing: unset!important;
    -moz-box-sizing: unset!important;
}
:root {
	--lavand: #b99fff;
	--violet: #5721b5;
	--orange: #eea247;
	--orange-max: #ff5b00;
}
html {
	scroll-behavior: smooth;
}
body { 
	font-family: 'Noto Sans', sans-serif; 
	background: white;
	min-width: 1200px;
	
}

summary { 
	display: list-item!important; 
	font-size: initial!important;
}
ul { list-style: initial; }

.divider {clear: both;}
.hidden { display: none; visibility: hidden; }
.line-divider { display: block; }
.relative-block { position: relative; top: 0; }
.flexbox { display: flex; }
.round { border-radius: 100%; }
.center {  margin-left: auto; margin-right: auto; }

.w1200 { width: 100%; max-width: 1200px; }
.w895 { width: 100%; max-width: 895px; }
.w588 { width: 100%; max-width: 588px; }
.w380 { width: 100%; max-width: 380px; }

.bold { font-weight: bold; }
p, li { font-size: 18px; line-height: 32px; margin-bottom: 20px; }
p.text-large { font-size: 24px; line-height: 36px; margin-bottom: 36px; }
p.note { font-style: italic; }
.arrows {
	width: 110px;
	height: 29px;
	margin: 15px 0 5px;
}

a { color: var(--blue); }
a:hover { color: var(--life); }

hr { width: 250px; size: 1px; margin-bottom: 15px; }

h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; }
h2 { text-transform: uppercase; }
h2.rotated {
	font-size: 30px;
    line-height: 30px;
	font-weight: 400;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	position: sticky;
	top: 120px;
}
h2.rotated::after {
	content: "";
	display: inline-block;
	width: 34px;
	height: 302px;
	margin: 15px 0 0 0;
	background: url(i/dsi-arrow-vertical.svg) no-repeat;
}
h3 { 
	font-size: 32px;
	font-weight: 900;
	line-height: 42px;
	text-transform: uppercase;
}
h4 {
    font-size: 24px;
    line-height: 32px;
	text-transform: uppercase;
}

#chart-tooltip {
	font-size: 14px;
	line-height: 18px;
	font-weight: normal;
	width: 280px;
	max-width: 280px;
	pointer-events: none; 
	background: rgba(255,255,255,.9);
	color: black;
	position: absolute;
	top: 30px; 
	left: 30px;
	padding: 10px 15px 15px;
	border-radius: 3px;
	display: none;
	z-index: 9999;
}
#chart-tooltip .tt-sphere {
	background: black;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.075em;
	color: rgba(255,255,255,.6);
	margin: -10px -15px 0;
	padding: 10px 15px;
}
#chart-tooltip .tt-details { display: flex; align-items: stretch; justify-content: space-between; } 
#chart-tooltip .tt-place { padding: 10px 15px 0 0; }
#chart-tooltip .tt-direction { 
	font-weight: 800;
	text-transform: uppercase;
	margin-bottom: 3px;
 } 
#chart-tooltip .tt-value { 
	padding: 10px 15px 15px;
	margin: 0 -15px -15px 0;
	background: rgba(0,0,0,.1);
	color: black;
	font-size: 24px;
	font-weight: 800;
	min-width: 60px;
	text-align: right;
 } 
#chart-tooltip .note {
	font-size: 13px;
	font-style: italic;
	opacity: .6;
}



/* HEADER */
header {
	margin: 0;
	color: white;
	background-color: var(--violet);
	background-image: url(i/dsi-cross-pattern.svg);
	background-attachment: fixed;
	padding-bottom: 80px;
}
header a img { margin-top: 28px; }
#title-text { margin-top: 170px; }
#header-pic {
	width: 504px;
	height: 154px;
}
#title-text h1 {
	font-size: 62px;
	font-weight: 900;
	line-height: 90px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: white;
	margin: 25px 0 75px;
}
#header-arrows { max-width: 170px; }



/* NAVIGATION */
nav {
	height: 60px;
	padding-top: 10px;
	justify-content: center;
	align-items: flex-start;
}
nav .w1200 { margin-top: 5px; }
nav .item {
	display: inline-block;
	font-family: 'Montserrat', sans-serif;
	font-weight: 900;
	font-size: 20px;
	line-height: 22px;
	text-transform: uppercase;
	color: black;
	margin: 0 45px 0 0;
	cursor: pointer;
}
nav .item::after {
	content: "";
	display: block;
	border-bottom: solid 5px black;
	width: 0;
	margin: 3px auto 0;
	transition: width .25s;
}
nav .item:hover::after {
	width: 100%;
}
nav .item:last-child { margin-right: 0; }
nav.fixed {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
	background: linear-gradient(var(--violet) 5%, #5721b5cc 30%, #5721b577 60%, #5721b500 100%);
}
nav.default {
	position: absolute;
	width: 100%;
}

value { font-style: italic; }



/* ABOUT */
#about .wrapper {
	width: 800px;
	background: white;
	padding: 50px;
	margin: -175px 0 0 250px;
}
#about h2 {
	font-size: 32px;
	line-height: 42px;
	font-weight: 900;
	margin-top: 85px;
	margin-bottom: 20px;
	color: var(--violet);
}
#about .text-large { padding-right: 50px; }
#about ol {
	padding-left: 20px;
}
#about ol li {
	padding-left: 10px;
}
#about value { color: var(--orange-max); }



/* RESULTS */ 
#results {
	background: linear-gradient(to left, var(--lavand), white);
	padding: 120px 0 130px;
	position: relative;
}
#results::before {
	content: "";
	display: block;
	width: 480px;
	height: 890px;
	background: url(i/dsi-belarus.svg) no-repeat;
	position: absolute;
	top: -290px;
	right: 0;
}
#results .w1200.flexbox { align-items: flex-start; justify-content: flex-start; }
#results .w895 { margin-left: 75px; }
#results value { color: var(--violet); }
#results h3 { margin: 0 0 5px; }
#results .sphere { margin-bottom: 45px; }
#results .sphere { display: flex; }
#results .sphere img {
	width: 100px; height: 100px;
	margin-right: 15px;
}
#results summary {
	color: var(--violet);
	font-style: italic;
	margin-top: -10px;
	cursor: pointer; 
}
#results .conclusions details { margin-bottom: 25px; }
#results .conclusions details p { padding-left: 15px; }
#results .conclusions summary { margin-top: 0; }

#results .charts { margin: 15px 0 0; }
#results .charts .row {
	display: flex;
	justify-content: space-between;
	font-size: 16px;
	line-height: 18px;
}
#results .charts .row.sphere { 
	margin: 0; 
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
}
#results .charts .row.direction {
	background: rgba(0,0,0,.05);
	font-weight: bold;
	text-transform: uppercase;
}
#results .charts .row .info {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	width: 100%;
	margin-right: 10px;
	padding: 7px 0 5px;
}
#results .charts .row .info .name { width: 100%; margin-left: 8px; }
#results .charts .row .info .value { width: 60px; text-align: right; }
#results .charts .row .chart { min-width: 252px; }
#results .charts .row line.guide { stroke: black; stroke-opacity: .3; }
#results .charts .row line.base { stroke: black; }

#results .charts .row.head { opacity: .6; }
#results .charts .row.head polyline, #results .charts .row.head line { fill: none; stroke: black; }
#results .charts .row.head text { font-size: 14px; }

#results .terms { margin: 25px 0 15px; }
#results .terms .tb { margin-top: 10px; padding-left: 17px; }
#results .terms .tb-head, #results .terms .block, #results .terms .row  { display: flex; }

#results .terms .tb-head {
	font-family: 'Montserrat', sans-serif; 
	font-weight: 400; 
	font-size: 12px; 	
	padding-bottom: 3px;
	border-bottom: 1px solid black;
	margin-bottom: 15px;
	align-items: flex-end;
}
#results .terms .tb-head .col { width: 100%; }
#results .terms .tb-head .col:nth-child(1) { max-width: 150px; margin-right: 15px; }
#results .terms .tb-head .col:nth-child(2) { max-width: 200px; margin-right: 15px; }
#results .terms .block { 
	padding-bottom: 5px;
	border-bottom: 1px solid #00000066;
	margin-bottom: 15px; 
}
#results .terms .block-name { 
	font-family: 'Montserrat', sans-serif; 
	font-weight: 800; 
	font-size: 14px; 
	text-transform: uppercase; 
	width:100%;
	max-width: 150px;
	margin-right: 15px;
}
#results .terms .row { font-size: 14px; margin-bottom: 10px; }
#results .terms .indicator-name { 
	font-weight: 800;
	width:100%;
	max-width: 200px;
	margin-right: 15px;
}
#results .terms .indicator-explanation {  width:100%; }

#results .viz-box { 
	width: 100%;
	align-items: stretch; 
	margin-bottom: 60px;
}
#viz { width: 100%; }
#viz svg { overflow: visible; }
#viz .slice path {
	stroke-width: 1px;
	stroke: white;
	fill: none;
}
#viz .slice path.main-arc:hover {
	fill: var(--violet)!important;
}
#viz .slice path.hidden-arc { stroke: none; }
#viz .slice text {
	text-anchor: middle;
	font-size: 20px;
	font-weight: 800;
	fill: var(--violet);
	text-transform: uppercase;
	
}
#viz .slice text textPath { alignment-baseline: middle; }
#legend {
	width: 280px;
	margin-left: 75px;
	margin-top: 60px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
#legend .labels line, #legend polyline {
	fill: none;
	stroke: black;
}
#legend text {
	font-size: 18px;
}
#legend #pdf-links { margin-bottom: 30px; }
#legend a.button {
	font-size: 18px;
	line-height: 22px;
	color: var(--violet);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-align: left;
	text-decoration: none;
	padding: 15px 15px 20px;
	background: white;
	border: 1px solid var(--violet);
	box-shadow: 10px 10px 0 var(--violet);
	max-width: 190px;
	display: block;
	margin-bottom: 20px;
}
#legend a.button:hover { text-decoration: underline; }

#legend a.eng-version {
	font-style: italic;
	text-decoration: none;
	font-size: 14px;
	color: var(--violet);
	margin-left: -3px;
}
#legend a.eng-version:hover { color: var(--lavand);}



/* METHODOLOGY */
#methodology {
	background: url(i/dsi-waves-pattern.svg) bottom center no-repeat;
	background-attachment: fixed;
	background-color: var(--orange);
	padding: 120px 0 200px;
 }
#methodology .flexbox { align-items: flex-start; justify-content: space-between; }
#methodology .w895 {
	padding: 50px 50px 40px;
	background-color: var(--orange);
}
#methodology ul.icons { list-style: none; margin-bottom: 30px; }
#methodology .icons li { 
	display: flex; 
	align-items: flex-start; 
	padding-right: 120px;
}
#methodology .icons li img {
	width: 70px; height: 70px;
	margin-right: 15px;
}
#methodology .icons li div { margin-top: 5px; }
#methodology .icons li p { margin-bottom: 0; }

#methodology .note {
	padding-left: 25px;
	border-left: 5px solid #00000044;
}
#methodology h3 { margin: 60px 0 20px; }
#methodology ul.factors { padding-left: 25px; }
#methodology .factors li { font-style: italic; }
#methodology ul.scale {
	margin-top: -10px;
}
#methodology ul.scale li {
	display: flex;
	margin-bottom: 5px;
}
#methodology ul.scale li name {
	width: 100%;
	max-width: 180px;
	text-align: right;
	font-weight: 800;
	font-style: italic;
	margin-right: 15px;
}



/* RESILIENCE */
#resilience {
	background: linear-gradient(to left, var(--lavand), white);
	padding: 120px 0 130px;
}
#resilience .w1200 { align-items: flex-start; justify-content: space-between; }
#resilience ul {
	margin: -15px 0 20px;
	padding-left: 45px;
}
#resilience ul li {
	margin-bottom: 5px;
	padding-left: 15px;
}
#resilience ol {
	padding-left: 30px;
	list-style: decimal;
}
#resilience ol li {
	padding-left: 15px;
}
#resilience ol li::marker {
	font-weight: 800;
	font-size: 24px;
	color: var(--violet);
}
#resilience summary h4 { display: inline-block; margin: 30px 0 20px; }
#resilience ol h4 { color: var(--violet); }



/* AUTHORS */
#author { 
	padding: 120px 0 130px; 
	background: var(--orange);
	color: black;
}
#author .wrapper {
	align-items: flex-start;
	justify-content: space-between; 
}
#author .authors { 
	flex-direction: column;
	justify-content: space-between; 
	margin-right: 150px;
}
#author .authors img {
	width: 300px;
	height: 380px;
	margin: -15px 25px 0 0;
}
#author .author { margin-bottom: 45px; }
#author .author .info {
	margin-top: 70px;
}
#author .author h3 {
	margin: 0 0 10px -50px;
}



/* EXPERT */
#expert {
	background-color: var(--violet);
	color: white;
	padding: 120px 0 130px;
}
#expert h2 {
	font-size: 62px;
	line-height: 70px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 25px;
}
#expert h2::after {
	content: "";
	display: inline-block;
	height: 30px;
	width: 100%;
	min-width: 50px;
	max-width: 350px;
	margin: 0 0 5px 15px;
	background: url(i/dsi-white-arrow.svg) center right no-repeat;
}
#expert a:hover { color: var(--lavand); }



/* FOOTER */
footer {
	    background: black;
	    color: var(--violet);
	    padding: 40px 0 80px;
	}
	footer img { 
		max-width: 370px; 
	}
	footer ul { list-style: none; flex-direction: column; margin: 20px 0 0 5px; }
	footer li { display: flex; margin-bottom: 10px; line-height: 20px;  }
	footer a { 
		color: var(--violet); 
		text-decoration: none; 
		display: block; 
		margin: 0 25px 5px 0; 
		font-size: 18px;
		text-transform: uppercase;
	}
	footer a:hover { color: var(--lavand); }



@media screen and (max-width:1600px) {

	#results::before {
		background-size: 120%;
		width: 380px;
		height: 660px;
		top: -220px;
	}

}

@media screen and (max-width:1480px) {

	#results::before {
		background-size: 150%;
		width: 320px;
		height: 690px;
		top: -250px;
	}

}

@media screen and (max-width:1360px) {

	#results::before {
		background-size: 100%;
		width: 360px;
		height: 530px;
		top: -300px;
		left: 30px;
	}	

	.w1200 { max-width: 1100px; }
	.w895 { max-width: 895px; }
	.w588 { max-width: 530px; }
	.w380 { max-width: 360px; }

	header .w1200 { max-width: 900px; }
	nav .w1200 { display: flex; justify-content: space-between; }
	nav .item {
		font-size: 18px;
		margin: 0 0 0 0;
	}

}

@media screen and (max-width:1220px) {

	body { min-width: 320px; }
	
	#title-text { max-width: 460px; margin-top: 100px; }
	#title-text h1 { font-size: 60px; line-height: 70px; }
	#title-image .image { max-width: 450px; margin-top: -75px; }
	p.text-large { font-size: 20px; line-height: 32px; }
	p.text-basic, #mc-formula li, #mc-scale li, p.note { font-size: 16px; line-height: 24px; }

	h2 { font-size: 60px;  }
	h2.rotated { margin-right: 20px; }
	#expert h2::after { margin-left: 0; }
	.w1200 { max-width: 900px; }
	.w380 { max-width: 380px; }

	#author .authors { margin-right: 0; }

	#results, #methodology, #resilience, #author { padding: 80px 0 100px; }

}

@media screen and (max-width:1080px) {

	#header-arrows { max-width: 150px; }
	#header-pic { max-width: 400px; height: auto; }
	#about .wrapper { margin-left: 200px; }
	#results::before {
		background-size: 120%;
		background-position-x: right;
		width: 320px;
		height: 550px;
		top: -380px;
		left: 0;
	}
	#results .w895 { margin-left: 0; }
	#legend { margin-left: 0; margin-top: 20px; }
	#legend a { margin-bottom: 10px; }

}

@media screen and (max-width:1040px) {

	#results::before {
		background-size: 150%;
		width: 250px;
	}

}

@media screen and (max-width:960px) {

	.w1200, .w895, .w588, .w380 { max-width: 90%; }
	.w1200, .w895, .w588 { max-width: 100%; padding: 0; }
	header .flexbox { max-width: 90% }
	header .w1200 { max-width: unset; width: unset; margin: 0 20px; }
	nav.flexbox { flex-wrap: nowrap; max-width: unset; }
	nav .w1200.wrapper { max-width: unset; width: 100%; margin: 0px 20px 0; }
	#title-text h1 { font-size: 50px; line-height: 55px; margin-bottom: 15px; }
	#title-text { max-width: 85%; margin-bottom: 35px; }

	#about .wrapper { margin: -80px 20px 0; width: unset; }

	nav { height: 100px; }
	nav .wrapper { flex-wrap: wrap; justify-content: flex-start; }
	nav .item { font-size: 16px; line-height: 16px; margin: 0 15px 5px 0; }
	nav .item::after { border-bottom-width: 3px; margin-top: 1px; }
	nav.fixed { background: linear-gradient(var(--violet) 30%, #5721b577 60%, #5721b500 100%); }

	#results::before {
		display: none;
	}

	h2 { font-size: 40px; line-height: 50px; }
	h2.rotated { margin-left: 20px; font-size: 25px; }
	h2.rotated::after {
		background-size: 70%;
		background-position-x: center;
		height: 212px;
	}
	img { margin-left: auto; margin-right: auto; }
	h4 { max-width: 800px; margin-left: auto; margin-right: auto; }
	.w588 h4{ padding: 0 20px; }

	#results .wrapper, #methodology .w895, #resilience .w895, #author .w895 { margin-right: 20px; }
	#results .sphere img { width: 75px; height: 75px; }

	#author { padding-bottom: 60px; }

	#expert .w1200, footer .w1200 { max-width: unset; width: unset; margin: 0 20px; }

}

@media screen and (max-width:760px) { 

	#title-text { max-width: unset; }
	footer li { flex-wrap: wrap;}
	#results .sphere img { width: 45px; height: 45px; }
	#methodology .icons li { padding-right: 0; }
	#author .authors img { width: 230px; height: 290px; margin: 0 0; }
	#author .author h3 { margin-left: -20px;}

	#results .terms .tb-head { display: none; }
	#results .terms .block { flex-direction: column; }
	#results .terms .block-name { max-width: unset; margin-bottom: 10px; }

}

@media screen and (max-width:650px) {

	p.text-large {
		font-size: 16px;
		line-height: 26px;
	}

	p.text-basic, #indicator-description .desc .text, #mc-formula li, #mc-scale li, #author .author p, #auth-thanks #ryhor p { font-size: 14px; line-height: 24px; }

	footer ul { display: block; }
	footer .mainbox li { margin: 0 auto 10px; }

	h2 { font-size: 36px; line-height: 42px; }
	h3 { font-size: 32px; line-height: 38px; }
	#header-pic { max-width: 300px; }
	#header-arrows { max-width: 120px; }

	#about .wrapper { margin: -80px 0 0; padding: 50px 20px; }

	#results .viz-box { flex-direction: column-reverse; align-items: center; }
	#legend svg { margin-bottom: 15px; }

	#title-text h1 { font-size: 40px; line-height: 45px; margin-top: 0; }
	p, p.note, li { font-size: 14px; line-height: 20px; }
	p.text-large { font-size: 18px; line-height: 26px; }

	#results .sphere img { width: 0; height: 0; margin: 0; }

	#author .author { flex-direction: column; }
	#author .authors img { width: 200px; height: 250px; margin: 0 0; }
	#author .author .info { margin-top: -20px; }
	#author .author h3 { font-size: 24px; line-height: 32px; margin-left: 0; }

	#expert h2 { font-size: 40px; line-height: 50px; }
	#expert h2::after {
		background-size: 80%;
		background-position-x: left;
		width: 300px;
	}
	#results h3, #methodology h3 { font-size: 28px; line-height: 36px; }
	h4 { font-size: 18px; line-height: 24px; }
	#results .charts .row .chart { display: none; }
	#methodology .w895 { padding: 30px 20px; }
	h2.rotated { margin-left: 10px; margin-right: 10px; font-size: 18px; top: 80px; }
	h2.rotated::after { height: 152px; background-size: 50%; margin: 10px -7px 0; }

	#viz { pointer-events: none; }
	
	footer a { font-size: 14px; margin: 0 15px 5px 0; }
	#legend svg { max-width: 180px; margin: 0 auto 10px; }

	#legend a { font-size: 14px; line-height: 20px; max-width: 150px; margin: 0 auto 10px; }
	#legend a.eng-version { margin: 0 auto; display: block; max-width: unset; text-align: center; }

}

@media screen and (max-width: 510px) {

	nav { height: 80px; }
	nav.fixed { background: linear-gradient(var(--violet) 40%, #5721b566 70%, #5721b500 100%); }
	#nav-about { display: none; } 
	#nav-expert { display: none; } 
	nav .w1200.wrapper { margin-top: 5px; }
	#title-text h1 { font-size: 32px; line-height: 42px; }
	#about h2, #expert h2 { font-size: 28px; line-height: 36px; }

	#results .terms .row { flex-direction: column; }
	#results .terms .indicator-name { margin-bottom: 5px; max-width: unset; }

	#methodology .icons li img {
		width: 40px;
		height: 40px;
		margin-right: 10px;
	}

}

@media screen and (max-width: 400px) {
	
	#title-text h1 { font-size: 28px; line-height: 36px; }
	#about h2, #expert h2 { font-size: 24px; line-height: 32px; }
	#results h3, #methodology h3 { font-size: 20px; line-height: 28px; }

	footer { padding: 60px 15px 80px; }
	footer img { margin-bottom: 40px; }
	nav { align-items: center; }
	nav div { margin: 0 10px; }
	#nav-author { margin-right: 10px; }

	#methodology .icons li img {
		width: 30px;
		height: 30px;
		margin-right: 5px;
	}

	#cni-logo, #cni-logo-footer { max-width: 250px; }

}