@import "nullstyle.css";
@import "variables.css";

body {
    background-color: var(--light-gray);
}

.white{
    background-color: white;
}
.title {
  /* height: 100px; */
  display: flex;
  justify-content: center;
  align-items: center;
}

.name {
  width: 35%;
  /* margin-left: auto;
  margin-right: auto; */
  font-size: calc(2rem + 0.390625vw);
  color: var(--body-color);
  line-height: 3rem;
  font-weight: 600;
}

.analytics {

  background-position: center;
  background-size: cover;
  min-height: 300px;
}
.content {
  padding: 50px 0;
}

.news_container {
  /* сюда фото фона */
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.piechart {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  height: 10%;
  flex-direction: column;
}

.map {
  display: flex;
  justify-content: center;
  flex: 2;
  height: 10%;
  flex-direction: column;
}

#svg131 {
  width: 100%;
  margin: -8% 0;
}

.legenda {
  background-color: var(--main-color);
  box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
  border-radius: 1rem;
  text-align: center;
}
.legenda p{
  color: white;
}
.first_line {
  display: flex;
}
.second_line {
  display: flex;
}
.Legend-colorBox {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-block;
}
.legenda {
  display: flex;
  justify-content: center;
}

.Legend {
  padding: 0 5px;
}

.chart {
  width: 400px;
  height: 350px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background: transparent;
  padding: 20px;
  box-sizing: border-box;
}

.bar {
  width: 60px;
  background-color: var(--main-color);
  transition: height 1s ease;
}

.bar:before {
  /* content: attr(data-value) "%"; */
  display: block;
  color: #fff;
  text-align: center;
}

.line2 {
  /* margin-top: 40px; */
}

.pie {
  display: flex;
  justify-content: center;
  flex: 2;
  height: 10%;
  flex-direction: column;
}

.pie2 {
  display: flex;
  justify-content: center;
  flex: 2;
  height: 10%;
  flex-direction: column;
  padding: 40px 10px;
  padding-bottom: 15px;
}

.text {
  background-color: var(--light-blue-color);
  color: var(--light-color);
}

.barchart svg {
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

polyline {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: dash 5s ease-in forwards;
  animation-iteration-count: 10;
  animation-direction: alternate;
}

@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}

.barchart {
  display: flex;
  justify-content: center;
  flex: 2;
  height: 10%;
  flex-direction: column;
  margin-bottom: 25px;
  /* padding: 64px 0; */
}

.barchart path {
  fill: black;
}

.welcome {
  background-color: var(--main-color);
  background-position: center;
  background-size: cover;
}

.first {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 6rem;
  margin-top: 3rem;
}
.bg-transparent {
    background-color: transparent;
}
.items-space-around {
    display: flex;
    justify-content: space-around;
}


.second {
  margin-bottom: -1.5rem;
}

.question {
  width: 10%;
  font-size: 17px;

  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tablinks {
  background: transparent;
  color: var(--light-color);
  font-size: 18px;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  float: left;
  border: none;
  outline: none;
}

.tablinks:hover {
  color: var(--dark-gray);
}
.tablinks:focus {
  border: 3px solid var(--light-color);
}

.tab {
  overflow: hidden;
}
.fa-files:before {
  content: "\f0c5";
}
.fa-files {
  font-weight: 900;
}





 .graph {
	 display: block;
	 margin: 0 auto;
	 text-align: center;
}
 .sleep-good {
	 fill: #2de4e3;
}
 .sleep-bad {
	 fill: #ff666f;
}
 .sleep-medium {
	 fill: #6f5df6;
}
 .start-time, .end-time {
	 letter-spacing: 0.1em;
	 font-size: 0.75em;
}
 .axis {
	 shape-rendering: crispEdges;
}
 .axis path {
	 fill: none;
	 stroke: rgba(152,175,197,0.7);
}
 .axis text {
	 fill: #FFF;
	 font-size: 0.8em;
	 letter-spacing: 0.1em;
}
 .axis .x-axis-title {
	 letter-spacing: 0.45em;
}
 .title {
	 /*font-weight: 300;*/
	 /*letter-spacing: 0.4em;*/
	 /*text-transform: uppercase;*/
	 text-align: center;
	 /*font-size: 1em;*/
	 margin-bottom: 2.5em;
}
 .legend {
	 text-align: center;
	 font-size: 0.85em;
	 letter-spacing: 0.02em;
	 margin-bottom: 40px;
}
 .legend .bloq {
	 display: inline-block;
	 padding: 8px 20px;
	 padding-bottom: 10px;
}
 .legend .bloq + .bloq {
	 margin-left: 4px;
}
 .legend .blue {
	 background-color: #2de4e3;
}
 .legend .purple {
	 background-color: #6f5df6;
}
 .legend .red {
	 background-color: #ff666f;
}
.tabcontent{
    display: none;
}
button.active {
    background-color: #4B6BA1;
    border: 2px solid #bebebe;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    color: white;
}
.tabcontent .active{
    display: block;
}





.chartBarsWrap {
	padding-left: 40px;
	margin: 0 30px 0 20px;
  width: 100%;
}
.chartBars {
	position: relative;
	max-width: 800px;
	height: 530px;
	margin: 50px auto 100px;
}
.chartBars .bars {
	display: flex;
	justify-content: space-around;
	border-left: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
	width: 100%;
	height: 100%;
	padding: 0;
	padding: 0 1%;
	margin: 0;
}
.chartBars .bars li {
	display: inline-block;
	flex: 0 1 24%;
	height: 100%;
	margin: 0;
	text-align: center;
	position: relative;
	font-size: 10px;
  margin-right: 0.5rem;
}
.chartBars .bars li .bar {
	width: 100%;
	position: absolute;
	font-size: 0;
	padding-top: 18px;
	bottom: 0;
	height: 0;
	overflow: hidden;
	outline: 2px solid transparent;
	-webkit-transition: 1.5s height cubic-bezier(.6,.4,.4,1.1);
	transition: 1.5s height cubic-bezier(.6,.4,.4,1.1);
}
/* .chartBars .bars li .bar:after {
	font-size: 20px !important;
	vertical-align: top;
	color: rgba(255,255,255,0.8);
	margin-right: -8px;
} */
.chartBars .bars li b {
	color: #000000;
	width: 100%;
	position: absolute;
	bottom: -2em;
	left: 0;
	text-align: center;
}
.chartBars .numbers {
	width: 50px;
	height: 100%;
	margin: 0;
	padding: 0;
	display: inline-block;
	position: absolute;
	left: -50px;
}
.chartBars .numbers li {
	text-align: right;
	padding-right: 1em;
	list-style: none;
	height: 59px;
	position: relative;
	font-size: 13px;
	bottom: 11px;
	right: -9px;
	color: #000000;
}
.chartBars .numbers li:after {
	content: "\00af";
	position: relative;
	right: -5px;
	font-size: 20px;
	top: 7px;
	color: rgba(255,255,255,0.34);
}
.chartBars .numbers li:first-of-type {
	height: 63px;
	margin-top: -1px;
}
.chartBars1 .bar {
	border-top-right-radius: 30px;
}
.chartBars2 {
	max-width: 350px;
}
.chartBars2 .bars {
	padding: 0;
}
.chartBars2 .bars li {
	flex: 0 1 25%;
}
.chartBars2 .bars li .bar {
	box-shadow: 0 0 20px #222;
}
.chartBars3 {
	background: rgba(255,255,255,0.1);
	border-top: 1px solid #666;
	border-right: 1px solid #666;
}
.chartBars3 .bars {
	border-color: #666;
	padding: 0;
}
/* .chartBars3 .bars li .bar {
	border-top-right-radius: 3px;
	border-top-left-radius: 3px;
	font-size: 22px !important;
}
.chartBars3 .bars li .bar:after {
	font-size: .6em !important;
} */
.chartBarsWrap.chartBarsHorizontal {
	flex-direction: column;
	padding-left: 70px;
}
.chartBarsWrap.chartBarsHorizontal .bars b {
	color: #eee;
	width: 100%;
	position: absolute;
	bottom: initial;
	top: 1em;
	left: -102%;
	text-align: right;
}
.chartBarsWrap.chartBarsHorizontal .chartBars {
	height: 200px;
}
.chartBarsWrap.chartBarsHorizontal .chartBars .bars {
	border: 0;
}
.chartBarsWrap.chartBarsHorizontal .chartBars .bars .bar {
	width: 0;
	padding-top: 10px;
	height: 100% !important;
	text-align: right;
	font-size: 1.5em;
	-webkit-transition: 2s width cubic-bezier(0.6,0.4,0.4,1.1);
	transition: 2s width cubic-bezier(0.6,0.4,0.4,1.1);
}
.chartBarsWrap.chartBarsHorizontal .chartBars .bars .bar:after {
	font-size: .6em !important;
	margin-right: 20px;
}
.bars li .bar.greenBar {
	background-color: var(--main-color);
	/* background: radial-gradient(#0a4bad,var(--main-color)); */
}
/* .bars li .bar.greenBarFlat {
	background-color: var(--main-color);
} */
.bars li .bar.blueBar {
  background-color: var(--dark-gray);
	/* background: radial-gradient(#85eea4,rgb(163, 202, 190)); */
}
/* .bars li .bar.blueBarFlat {
	background-color: rgb(163, 202, 190);
} */
.bars li .bar.orangeBar {
	background-color: var(--main-color);
	/* background: radial-gradient(#c7c7c7,var(--dark-gray)); */
}
/* .bars li .bar.orangeBarFlat {
	background-color: var(--dark-gray);
} */
.bars li .bar.purpleBar {
  background-color: var(--dark-gray);
	/* background: radial-gradient(#e45959,var(--main-red)); */
}
/* .bars li .bar.purpleBarFlat {
	background-color: var(--main-red);
} */



.tooltip > .tooltipContent {
  display: block;
  position: absolute;
  background: none repeat scroll 0 0 #222;
  color: #F0B015;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.5em;
  padding: 16px 15px;
  min-width: 200px;
  max-width: 500px;
  top: 0;
  left: 50%;
  transform: translate(-50%,-110%);
  margin-left: 0;
  opacity: 0;
  filter: alpha(opacity=0);
  text-align: center;
  z-index: 2;
  text-transform: none;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease-in-out;
}
.tooltip:hover > .tooltipContent {
  opacity: 1;
  filter: alpha(opacity=100);
  z-index: 99;
  transform: translate(-50%,-130%);
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.tooltip .tooltipContent:after {
  border-color: #222 rgba(0,0,0,0);
  border-style: solid;
  border-width: 15px 15px 0;
  bottom: -15px;
  content: "";
  display: block;
  left: 50%;
  transform: translate(-50%,0);
  position: absolute;
  width: 0;
}



.legenda {
  display: flex;
  justify-content: center;
}
.legenda {
  text-align: center;
}


.Legend {
  padding: 1rem 1rem;
}
.first_line {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.Legend-colorBox {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-block;
  border: solid white 1px;
}

.Legend-label{
  color: white;
}

.doc {
    box-shadow: rgb(0 0 0 / 16%) 0 3px 6px, rgb(0 0 0 / 23%) 0 3px 6px;
    margin-top: 1rem;
    margin-left: 2rem;
    width: 50%;
    border: 0.1rem solid var(--main-color);
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    border-radius: 1rem;
    background-color: white;
}



.hvr-sink {
    display: inline-block;
    vertical-align: middle;
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgb(0 0 0 / 0%);
    transition-duration: 0.3s;
    transition-property: transform;
    transition-timing-function: ease-out;
}
.ikon2 {
    width: 10%;
    margin: 1rem;
}
.ikon2 img{
    width: 50%;
}
.doc .txt{
    margin: auto 1rem;
}

@media (max-width: 400px) {
    .tablinks {
        writing-mode: vertical-rl;
        text-orientation: mixed;
    }
    .question {
        width: 13%;
    }
    .container {
        min-width: 97%;
    }
    .doc {
        margin-left: 0;
        width: 100%;
    }

}























