@font-face {
    font-family: Oswald;
    src: url(fonts/Oswald-Light.ttf) format('truetype');
    font-weight: light;
	font-style: normal;
}

@font-face {
    font-family: PT Sans;
    src: url(fonts/PT_Sans-Web-Bold.ttf) format('truetype');
    font-weight: bold;
	font-style: normal;
}

.visible-graphic{
  width: 100%;
  max-width: 800px;
  min-width: 660px;
  /*height: 460px;*/
  margin: 0 auto;
  overflow: auto;
  position: relative;
}

.graph-name{
  font-size: 20px;
  text-align: center;
  font-weight: bold;
}

.select-graph{
  height: 30px;
  background-color: #fff;
  font-size: 15px;
  border-radius: 0;
  border: 1px solid #ccc;
  outline: 0;
}

.download-error{
  color: red;
  text-align: center;
}
.graphic-error{
  margin: 0 auto;
  color: red;
}

.table {
    display: flex;
}

.cell{
    height: 17px;
    padding: 5px;
    text-align: center;
  	font-family: PT Sans;
    font-size: 13px;
}

.column{
    width: 130px;
    min-width: 130px;
}

.table .cell:nth-child(2n){
    background-color: #F5F5F5;
}

.index-back{
    position: relative;
    border: 1px solid white;
    border-radius: 21px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    height: 40px;
    width: 40px;
    font-size: 35px;
    color: white;
}

.index-back-hint{
  position: absolute;
  top: -83px;
  left: 20px;
  width: 0;
  height: 0;
  background-size: cover;
  transition: width 0.5s, height 0.8s;
}

.table-header{
  display: flex;
}

.table-header .cell{
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    border-bottom: 2px solid grey;
    width: 120px;
    min-width: 120px;
    font-size: 13px;
}

.column:nth-of-type(1){
  font-weight: bold;
}

.select-box{
  margin-left: 5px;
}

.select-box a{
  color: black;
}

.index-back:hover .index-back-hint{
  width: 100px;
  height: 100px;
  transition: width 0.5s, height 0.8s;
}

.index-back-hint-error{
  top: 20px;
}

.table-wrapper{
  overflow: auto;
}

.reason-wrapper{
  margin-left: 5%;
}

.notLoad{
  font-size: 24px;
  font-weight: bold;
}

.reason{
  margin-top: 10px;
  font-size: 20px;
}

.graphic-info{
  display: flex;
  height: 385px;
  margin-top: 25px;
  padding-left: 5%;
  padding-right: 5%;
  align-items: center;
}

.graphic-name{
  font-family: Oswald;
  font-weight: Light;
  font-size: 40px;
  max-width: 660px;
  color: white;
  width: 100%;
  margin-top: 10px;
}

.graphic-code{
  font-family: PT Sans;
  font-weight: bold;
  font-size: 18px;
  color: white;
  display: flex;
  align-items: center;
}

.graphic-datasets-wrapper{
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.graphic-picture{
    max-width: 300px;
    max-height: 300px;
  	height: 100%;
  	width: 100%;
    margin-left: 20px;
    background-size: cover;
}

.graphic-fieldset, .goal-fieldset{
  display: flex;
  width: 300px;
  border-radius: 10px;
  flex-direction: column;
  border: 1px solid grey;
}

.graphic-page-wrapper{
  display: flex;
  max-width: 100%;
  margin-top: 10px;
}

.graphic-dashboard{
  margin-top: 30px;
  display: flex;
  justify-content: flex-end;
  padding: 0 5px;
}

.graphic-dashboard a{
  color: black;
}

.fieldset-button{
  width: 100px;
  background-color: lightyellow;
  border: 1px solid grey;
  border-radius: 5px;
  padding: 6px;
  cursor: pointer;
}

.fieldset-button-wrapper{
  display: flex;
  justify-content: space-between;
  margin: 5px 0;
}

.graphic-error{
  height: 42px;
}

.index-back-error{
  color: black;
  border: 1px solid black;
  margin-top: 20px;
}

.tabs{
  overflow: auto;
  width: 100%;
  padding: 1px 5px 5px 5px;
  margin-left: 20px;
}

.tabs > div, .tabs > input {
  display: none;
}
.tabs label {
  padding: 4px 15px;
  border: 1px solid #aaa;
  line-height: 28px;
  cursor: pointer;
  background: #fff;
  border-radius: 10px 10px 0 0;
  }
  .tabs input[type="radio"]:checked + label {
    border-bottom: 2px solid #fff;
  }
  .tabs > input:nth-of-type(1):checked ~ div:nth-of-type(1), 
	.tabs > input:nth-of-type(2):checked ~ div:nth-of-type(2), 
	.tabs > input:nth-of-type(3):checked ~ div:nth-of-type(3), 
	.tabs > input:nth-of-type(4):checked ~ div:nth-of-type(4) {
  
  	 display: block;
     padding: 5px;
     border: 1px solid #aaa;
     border-radius: 0 10px 10px 10px;
   }



   .popup {
       position: absolute;
       display: inline-block;
       cursor: pointer;
       top: 40px;
       left: 0;
       width: 100%;
   }

   .popup .popuptext {
       visibility: hidden;
       width: 100%;
      background-color: rgba(85,85,85,0.95);
       color: #fff;
       text-align: center;
       border-radius: 6px;
       padding: 8px 0;
       position: absolute;
       z-index: 1;
       top: -40px;
       display: flex;
       flex-direction: row;
       align-items: center;
       justify-content: space-between;
   }

   .popup .show {
       visibility: visible;
       -webkit-animation: fadeIn 1s;
       animation: fadeIn 1s
   }

   @-webkit-keyframes fadeIn {
       from {opacity: 0;}
       to {opacity: 1;}
   }

   @keyframes fadeIn {
       from {opacity: 0;}
       to {opacity:1 ;}
   }
.close-popup{
  margin-right: 10px;
  background-color: white;
  color: black;
  border-radius: 10px;
  width: 20px;
  height: 20px;
  font-size: 19px;
}

.row{
  display: flex;
  width: 100%;
}

.passport-name{
    width: 20%;
    text-align: center;
    border: 1px solid grey;
    padding: 5px;
    margin-top: -1px;
    min-width: 120px;
}

.row:nth-of-type(1) .passport-name{
  border-radius: 5px 0 0 0;
}

.row:nth-of-type(1) .passport-data{
  border-radius: 0 5px 0 0;
}

.row:nth-last-of-type(1) .passport-name{
  border-radius: 0 0 0 5px;
}

.row:nth-last-of-type(1) .passport-data{
  border-radius: 0 0 5px 0;
}

.passport-data{
    width: calc(80% - 24px);
    border: 1px solid grey;
    margin-left: -1px;
    margin-top: -1px;
    padding: 5px;
}

.passport-provider{
  border-bottom: 1px solid lightgrey;
  /*padding: 5px;*/
}

.passport-provider:nth-last-of-type(1){
  border: none;
}

.passport{
  padding: 5px;
}

.graphic-fieldset, .goal-fieldset {
    width: 100%;
    max-width: 300px;
    min-height: 0;
    display: block;
    position: relative;
    margin: 0 auto;
    padding: 0;
    background-color: #fefffa;
    overflow: hidden;
    padding-bottom: 10px;
}
.graphic-fieldset h2, .goal-fieldset h2 {
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 1px;
    display: block;
    margin: 0;
    padding: 10px 25px;
    cursor: pointer;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.msg {
  position: relative;
  overflow: hidden;
  opacity: 1;
  transform: translate(0, 0);
  padding: 0 25px;
  display: flex;
  flex-direction: column;
}

.msg p {
  color: rgba(48, 69, 92, 0.8);
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 1px;
  padding: 0 20px
}

.msg label {
  padding: 3px 0;
  cursor: pointer;
}

.graphic-fieldset ul, .goal-fieldset ul {
  list-style: none;
  perspective: 900;
  padding: 0;
  margin: 0;
}
.graphic-fieldset ul li, .graphic-fieldset ul li {
  position: relative;
  padding: 0;
  margin: 0;
}
.graphic-fieldset ul li:nth-of-type(1), .goal-fieldset ul li:nth-of-type(1) {
  animation-delay: 0.5s;
}
.graphic-fieldset ul li:nth-of-type(2), .goal-fieldset ul li:nth-of-type(1) {
  animation-delay: 0.75s;
}
.graphic-fieldset ul li:nth-of-type(3), .goal-fieldset ul li:nth-of-type(1) {
  animation-delay: 1s;
}
.graphic-fieldset ul li:last-of-type, .goal-fieldset ul li:nth-of-type(1) {
  padding-bottom: 0;
}

.graphic-fieldset ul li i, .goal-fieldset ul li i {
  position: absolute;
  transform: translate(-6px, 0);
  margin-top: 16px;
  right: 25px;
}

.graphic-fieldset ul li i:before, .graphic-fieldset ul li i:after, .goal-fieldset ul li i:before, .goal-fieldset ul li i:after {
  content: "";
  position: absolute;
  background-color: black;
  width: 3px;
  height: 9px;
}

.graphic-fieldset ul li i:before, .goal-fieldset ul li i:before {
  transform: translate(-2px, 0) rotate(45deg);
}
.graphic-fieldset ul li i:after, .goal-fieldset ul li i:after {
  transform: translate(2px, 0) rotate(-45deg);
}

.graphic-fieldset > ul > li > input[type=checkbox], .goal-fieldset > ul > li > input[type=checkbox] {
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
}

.graphic-fieldset ul li input[type=checkbox]:checked ~ div.msg, .goal-fieldset ul li input[type=checkbox]:checked ~ div.msg {
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  transform: translate(0, 50%);
}

.graphic-fieldset ul li input[type=checkbox]:checked ~ i:before, .goal-fieldset ul li input[type=checkbox]:checked ~ i:before {
  transform: translate(2px, 0) rotate(45deg);
}
.graphic-fieldset ul li input[type=checkbox]:checked ~ i:after, .goal-fieldset ul li input[type=checkbox]:checked ~ i:after {
  transform: translate(-2px, 0) rotate(-45deg);
}

div.msg, ul li i:before, ul li i:after {
    transition: all 0.5s ease-in-out;
}

label{
  {
  vertical-align: baseline;
  font-family: inherit;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  outline: 0;
  padding: 0;
  margin: 0;
  border: 0;
  } 
}

.graphic-question{
  width: 20px;
  height: 20px;
  margin-left: 10px;
  position: relative;
  cursor: pointer;
}

.graphic-question img{
  width: 100%
}

.graphic-proxy{
  min-width: 0;
  height: 0;
  color: black;
  background-color: white;
  position: absolute;
  left: 20px;
  border-radius: 10px;
  cursor: default;
  overflow: auto;
}

.graphic-question:hover .graphic-proxy{
  overflow: auto;
  width: 450px;
  height: auto;
  padding: 10px 20px;
  transition: height 4s;
  
}

.graphic-download-button{
  width: 50px;
  height: 50px;
  border-radius: 10px;
  margin: 20px auto 0 auto;
  background-image: url('../images/download-button.svg');
  background-size: contain;
  cursor: pointer;
}

.graphic-download-PDF{
  width: 50px;
  height: 50px;
  border-radius: 10px;
  margin: 20px auto 0 auto;
  background-image: url('../images/xls.svg');
  background-size: contain;
  cursor: pointer;
}

.printBTN{
  width: 50px;
  height: 50px;
  border-radius: 10px;
  margin: 20px auto 0 auto;
  background-image: url('../images/print.svg');
  background-size: contain;
  cursor: pointer;
}

.graphic-pdf-button{
  width: 50px;
  height: 50px;
  border-radius: 10px;
  margin: 20px auto 0 auto;
  background-image: url('../images/pdf.svg');
  background-size: contain;
  cursor: pointer;
}

.dashboard{
  width: 50px;
  height: 50px;
  border-radius: 10px;
  margin: 20px auto 0 auto;
  background-image: url('../images/table.svg');
  background-size: contain;
  cursor: pointer;
}

.graphic-sdmxml-button{
  width: 50px;
  height: 50px;
  border-radius: 10px;
  margin: 20px auto 0 auto;
  background-image: url('../images/xml.svg');
  background-size: contain;
  cursor: pointer;
}

.graphic-download-button:hover::after, .printBTN:hover::after, .graphic-download-PDF:hover::after, .dashboard:hover::after, .graphic-pdf-button:hover::after, .graphic-sdmxml-button:hover::after{
  position: relative;
  content: attr(data-title);
  background-color: white;
  bottom: 25px;
  left: 15px;
  border: 1px solid grey;
  border-radius: 5px;
  padding: 5px;
  box-shadow: 0 10px 10px 0 rgba(0,0,0,0.5);
  font-size: 15px;
}

.graphic-download-error{
  color: red;
  text-align: center;
}
.map-wrapper{  	
  	padding: 5px;  	
	display: flex;
  	justify-content: space-between;
  	position: relative;
}
.mapYears{
	height: 30px;
  
  	background-color: #ffffff; font-size: 15px; 
    border-radius: 0; 
    border: 1px solid #ccc;
    outline:none;
}

#mapLabel{
	display: none;
}
path:hover{
	fill: rgba(0,0,255, 0.2)!important;
}

.mapValue{
	position: absolute;
  	z-index: 1;
  	font-size: 35px;
  	display: none;
}
.republic{
 	position: absolute;
	top: 10px;
    left: 100px;
  	font-size: 28px;
}
#brest{
	top: 460px;
    right: 520px;

}
#republic{
	text-align: center;
    position: inherit;
  border: none;
}
#vitebsk{
	right: 295px;
    top: 100px;
}
#grodno{
	top: 290px;
    right: 545px;
}
#gomel{
	right: 225px;
    top: 460px;
}
#mogilev{
	right: 165px;
    top: 300px;
}
#minsk{
	top: 215px;
    right: 366px;
    border: 1px solid black;
    border-radius: 10px;
    background-color: white;
    padding: 3px;
    z-index: 0;
    min-width: 40px;
  	text-align: center;
  	cursor: default;
}
#minsk::before, #minsk::after {
    content: '';
    position: absolute;
    left: 12px;
    bottom: -21px;
    border: 11px solid transparent;
    border-top: 10px solid black;
   }

#minsk::after {
    border-top: 9px solid black;
    bottom: -20px; 
}
#minsk:hover{
	background-color: rgba(0,0,255, 0.2)!important;
}

#minsk-region{
	right: 380px;
    top: 327px;
}
@media screen and (max-width: 900px) {
  .table-header{
    justify-content: flex-start;
  }
  .table{
    justify-content: flex-start;
  }
}

@media screen and (min-width: 901px) {

}

@media screen and (max-width: 768px) {
  .index-back{
    order: 1;
    margin: 30px 0 40px 20px;
    position: absolute;
    left: 5%;
  }
  .graphic-code{
    margin-top: 0px;
  }
  .graphic-name{
    margin-top: 0px;
  }
  .graphic-datasets-wrapper{
  	margin-top: 55px;
  	order: 3;
    height: auto;
  }
  .graphic-info{
    height: auto;
    flex-direction: column;
    justify-content: flex-start;
  	padding-bottom: 30px;
  }

  .graphic-picture {
  	width: 250px;
  	height: 250px;
 	order: 2 !important;
  	margin-left: 0;
  	margin-top: 100px;
  }

  .graphic-page-wrapper{
    flex-direction: column;
  }

  .tabs{
    margin-top:20px;
    margin-left: 0;
    padding: 0;
  }
  .graphic-proxy{
    bottom: 20px;
  }
  .graphic-question:hover .graphic-proxy{
    width: 320px;
  
  }
}

@media screen and (max-width: 480px) {
  	.graphic-datasets-wrapper{
  		margin-top: 30px;
  		order: 3;
    	height: auto;
  	}
  	.graphic-picture{
    	width: 200px;
    	height: 200px;
	}
    .graphic-question{
      display: none;
    }
}

.toPrint {
  position: fixed;
  left:0;
  bottom:0;
  width: auto;
  height: auto;
  overflow: visible;


}
.toPrint div div, .toPrint div div div {
		font-size: 10px;
} 
@media print>{
  @page { size: landscape; }
}

.mapValue{
  border: 1px solid black;
  border-radius: 10px;
  background-color: white;
  text-align: center;
  padding: 3px;
  min-width: 40px;
  cursor: pointer;
}

path {
  cursor: pointer;
}

.controls-graph label{
  padding: 0;
  border: none;
  display: flex;
  align-items: center;
}

.controls-graph{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}