html,
body {
  margin: 0;
  padding: 0;
}
.leaflet-left {
  left: 415px;
}
#map {
  position: fixed;
  width: 100%;
  height: 100%;
}
#content {
  position: fixed;
  max-height: 100%;
  width: 400px;
  padding: 10px;
}
.h-font {
  font-family: "Roboto", "Lucida Grande", Verdana, Arial, sans-serif;
}
.maintable table {
  border-collapse: collapse;
  border-style: dotted;
  border-width: 0px;
  font-size: 11px;
  width: 340px;
}
.maintable table tr:hover {
  background-color: #E5FFFA;
}
.maintable table tr.clicked {
  background-color: #C1FFF5;
}
.maintable table tr.onhover {
  background-color: #FFD7D1;
}
#tablesorter tr td {
  padding: 7px;
  border-collapse: collapse;
  border-style: dotted;
  border-width: 0px;
  font-size: 11px;
}
#tablesorter th {
  border-collapse: collapse;
  border-style: dotted;
  background-color: #CCFFFA;
  border-width: 1px;
  font-size: 12px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #57a837;
  margin: 0px;
  padding: 7px 15px;
  font-family: "Roboto", "Lucida Grande", Verdana, Arial, sans-serif;
}
.shadow {
  box-shadow: 0 0 7px 0 #000000;
}
.logo {
  width: 100%;
  display: block;
  box-shadow: 0 0 7px 0 #000000;
}
.logo:hover {
  box-shadow: 0 0 10px 0 #247504;
}
.button_bar {
  margin-top: 15px;
  width: 100%;
  height: 50px;
}
.btn-info-container{
  position: absolute;
  height: 30px;
  right: 12px;
  bottom: 22px;
}
.btn-show-info {
  width: 120px;
}
.button_bar .btn, .btn-show-info {
  height: 100%;
  display: block;
  background: #ffffff;
  border: none;
  border-radius: 0;
  font-size: 120%;
  font-family: "Roboto", "Lucida Grande", Verdana, Arial, sans-serif;
  float: left;
  box-shadow: 0 0 7px 0 #000000;
}
.button_bar .btn + .btn {
  margin-left: 5px;
}
.button-all-hide{
  width: 80px;
  text-align: center;
  cursor: pointer;
  border: solid 1px black;
  background-color: #efefef;
  border-radius: 4px;
  position: absolute;
  right: 35px;
}
.button-all-hide:hover{
  background-color: #c9c9c9;
}
.static-container-hide-button{

}
.static-hide-layer-button{
  width: 150px;
  text-align: center;
  cursor: pointer;
  border: solid 1px black;
  background-color: #efefef;
  border-radius: 4px;
  right: 35px;
}
.static-hide-layer-button:hover{
  background-color: #c9c9c9;
}
.info-block {
  margin-top: 15px;
  background: white;
  padding: 5px 7px;
  font-size: 90%;
  /* max-height: calc(100% - 181px); */
  overflow-y: auto;
  max-height: 47vh;
}

.info.legend {
  margin-bottom: 10px;
}

.info-tab{
  max-height: 530px;
}
#legend-div {
  max-height: 160px;
  min-width: 380px;
  width: 100%;
  overflow-x: auto;
  text-align: left;
}
#layers,
.maintable {
  /*max-height: 500px;*/
}
@keyframes stat-data-open {
  from {
    right: -400px;
    display: none;
  }
  to {
    right: 3px;
    display: block !important;
  }
}
#stat_data, #garbadge_stat_data, #summary_stat_data {
  display: block;
  position: fixed;
  width: 400px;
  right: 3px;
  top: 100px;
  height: calc(100% - 250px);
  background: white;
  animation-name: stat-data-open;
  animation-duration: 500ms;
}
#stat_data .close-btn, #garbadge_stat_data .close-btn, #summary_stat_data .close-btn {
  position: absolute;
  width: 20px;
  top: 0;
  bottom: 0;
  left: 0;
  border: none;
  background: white;
}
#stat_data .close-btn:hover, #garbadge_stat_data .close-btn:hover, #summary_stat_data .close-btn:hover {
  background: #57a837;
}
#stat_data .content, #garbadge_stat_data .content, #summary_stat_data .content {
  position: relative;
  left: 20px;
  padding: 5px 7px;
  overflow-y: auto;
  max-height: 100%;
}

.fixed-header-table #summary_table thead {
  position: fixed;
  margin-top: -170px;
}

.fixed-header-table #summary_table .num-td {
  width: 26px;
}

.fixed-header-table #summary_table .name-td {
  width: 128px;
}

.fixed-header-table #summary_table .type-td {
  width: 118px;
}

.fixed-header-table #summary_table .rel-rating-td {
  width: 114px;
  padding: 0;
}

.fixed-header-table #summary_table .start-garbadge-td {
  width: 92px;
}

.fixed-header-table #summary_table .delta-garbadge-td {
  width: 89px;
  padding-right: 0;
}

.fixed-header-table #garbadge_stat_data .content {
  padding-top: 0;
}

#garbadge_stat_data {
  width: 800px;
}

#summary_stat_data .content {
  max-width: 930px;
  padding-top: 0;
  padding-left: 0;
}

.garbage-placeholder-div {
  display: none;
}

.fixed-header-table .garbage-placeholder-div {
  height: 90px;
  display: block;
}


.summary-placeholder-div {
  display: none;
}

.fixed-header-table .summary-placeholder-div {
  height: 170px;
  display: block;
}

.years-selector-container {
  position: fixed;
  z-index: 3;
  background: #fff;
  width: 772px;
  height: 30px;
  line-height: 25px;
  margin-top: -5px;
}

.fixed-header-table #garbage_table thead {
  position: fixed;
  margin-top: -67px;
}

.fixed-header-table #garbage_table .num-th {
  min-width: 27px;
  max-width: 27px;
}

.fixed-header-table #garbage_table .name-th {
  min-width: 313px;
  max-width: 313px;
}

.fixed-header-table #garbage_table .gabadge-th {
  min-width: 432px;
  max-width: 432px;
}

.fixed-header-table #garbage_table .val-gabadge-th {
  min-width: 108px;
  max-width: 108px;
}

.fixed-header-table #garbage_table td.val-gabadge-th div{
  padding-left: 8px;
}

#summary_stat_data .summary-main-table-header,  .garbage-main-table-header {
  min-height: 40px;
  background: #f0f0f0;
}

#summary_stat_data .summary-main-table-header th, .garbage-main-table-header th {
  text-align: center;
  padding: 5px;
}

#summary_stat_data {
  width: 960px;
}

#summary_stat_data td {
  padding: 5px;
}

.table-row-with-border th {
  border: 1px solid #000000;
}

.white-border th {
  border-color: #ffffff
}

.rating-rel {
  border: 1px solid #f0f0f0;
  text-align: center;
}

.rating-1, .rating-gp-5 {
  background-color: #017500;
}

.rating-2, .rating-gp-4 {
  background-color: #87c947;
}

.rating-3, .rating-gp-3 {
  background-color: #ffff03;
}

.rating-4, .rating-gp-2 {
  background-color: #ffb802;
}

.rating-5, .rating-gp-1 {
  background-color: #ff0001;
}
/* шматок */
/* added css for cadastre Popup */
.cadInfo .cadNum {
  font-weight: bold;
}
.cadInfo .featureCont {
  min-height: 200px;
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 16px;
  text-align: center;
}
.cadInfo .featureCont .first {
  width: 100px;
  font-weight: bold;
}
.cadInfo .featureCont table {
  text-align: left;
}
.cadInfo .featureCont td {
  border-bottom: 1px solid #ddd;
  height: 20px;
  padding-left: 10px;
  padding-right: 10px;
}
.cadInfo .ShowObjectLabel {
  position: relative;
  top: -3px;
  margin-left: 4px;
}
.cadInfo .cadNav {
  min-height: 60px;
}
.cadInfo .cadNav .cadCount {
  width: 75%;
  padding: 0px 10px 0px 10px;
  text-align: center;
  float: left;
}
.cadInfo .cadNav .cadLeft {
  float: left;
  cursor: pointer;
  padding-left: 3px;
  color: #2372B9;
  font-weight: bold;
  font-size: large;
}
.cadInfo .cadNav .cadRight {
  position: absolute;
  right: 20px;
  padding-right: 3px;
  cursor: pointer;
  color: #2372B9;
  font-weight: bold;
  font-size: large;
}
.cadInfo .button:hover {
  background-color: #eee;
}
.cadInfo .button {
  padding: 4px;
  position: relative;
  cursor: pointer;
  border: solid 1px #eee;
  border-radius: 4px;
  box-shadow: 0px 3px 4.7px 0.3px rgba(0, 0, 0, 0.24);
}
.cadInfo .operCont {
  position: relative;
  height: 34px;
}
.cadInfo .operCont a {
  left: 138px;
  padding: 0px;
  position: absolute;
}
.cadInfo .operCont svg {
  fill: #757575;
  height: 24px;
  width: 24px;
  margin-left: 4px;
  margin-right: 4px;
  margin-top: 4px;
}
.cadInfo .notVisible {
  visibility: hidden;
}
.cadInfo button:hover {
  background-color: #eee;
}
.cadInfo button {
  padding: 8px;
  background-color: inherit;
  margin-left: 4px;
  position: relative;
  outline: none;
  cursor: pointer;
  border: solid 1px #eee;
  border-radius: 4px;
  box-shadow: 0px 3px 4.7px 0.3px rgba(0, 0, 0, 0.24);
}
.cadInfo input {
  margin-top: 12px;
}
.custom-popup {
  width: 100%;
  /*overflow-x: auto;*/
}

.layer-static,.layer-static-group{
  text-decoration: underline;
  cursor: pointer;
}
.layer-static-group-td{
  vertical-align: top;
  padding-top: 20px;
}
.layer-static-container{
  max-width: 300px;
  padding: 10px 0 5px 0;
}
.layer-static-off{
  width: 14px;
  height: 14px;
  background-color: #e2e2e2;
  border: solid 1px black;
  margin-right: 10px;
  border-radius: 7px;
}

.layer-static-on {
  width: 14px;
  height: 14px;
  background-color: #9bf595;
  border: solid 1px black;
  margin-right: 10px;
  border-radius: 7px;
}

.layer-static-legend{
  max-width: 50px;
}

.layer-static-list tr{
  min-height: 65px;
}

.identify-content-property{
  height: 238px;
  overflow: auto;
  margin-top: 10px;
}

.identify-nav{
  display: table;
  font-weight: bold;
  height: 30px;
}
.identify-nav > div:nth-child(odd) {
font-size: 16px;
  color: #c3c3c3;
}
.identify-nav > div:nth-child(odd):hover {
  color: #999;
}
.identify-nav > div:nth-child(2) {
  color: #999;
}
.identify-nav > div {
  display: table-cell;
  vertical-align: middle;

}
.identify-nav-count{
  width: 100%;
  text-align: center;
}
.identify-nav-preview, .identify-nav-next{
  cursor: pointer;
}
.identify-content table{
  width: 100%;
  font-size: 12px;
}
.identify-content tr{
  height: 30px;
}
.identify-content tr:nth-child(odd){
  background: #f0f0f0;
}
.identify-content-td-value{

  text-align: center;
  vertical-align: middle;
}
.identify-content-td-name-value{
  padding-left: 5px;
  font-weight: bold;
}
.identify-content-td-name-value, .identify-content-td-value{
  width: 50%;
}
.identify-content-layerName{
  padding: 10px 5px 10px 0;
  border-top: 1px black solid;
  border-bottom: 1px black solid;
  font-size: 16px;
  font-weight: bold;
}

.identify-content-layerName > div{
  display: inline-block;
}
.leaflet-popup-content {
  margin: 13px 19px 10px 19px;
 }

.rating-table{
  width: 100%;
}

.rating-table > tr{
  height: 40px;
}

.rating-show-layer{
  cursor: pointer;
}

.rating-show-layer.checked{
  background-position: -228px -4px;
}
.rating-show-layer{
  background-image: url(./jstree/32px.png);
  background-position: -164px -4px;
  width: 24px;
  height: 24px;
}

.rating-layer-name{

}

.rating-show-rating{
  cursor: pointer;
}

.rating-list{
  width: 100%;
}
.rating-list > tbody >tr{
  height: 30px;
}

.rating-list > tbody>tr:nth-child(2n+2){
  background: #f0f0f0;
}

.rating-list-name{
  text-align: center;
  height: 50px;
  padding-top: 10px;
}

.rating-list-main{
  overflow-y: auto;
}

.passitem.oopt {
    font-size: small;
    padding: 10px;
    display: block;
    cursor: pointer;
  
}

input.search {
  background-image: url(/static/images/searchicon.png);
  background-position: 10px 10px;
  background-repeat: no-repeat;
  width: 100%;
  font-size: 14px;
  padding: 10px 18px 10px 38px;
  border: 1px solid #ddd;
  margin-bottom: 10px;
} 

/* Clearable text inputs */
.clearable{
  position: relative;
  display: inline-block;
  width: 100%;
}
.clearable input[type=text]{
  padding-right: 24px;
  width: 100%;
  box-sizing: border-box;
}
.clearable__clear{
  display: none;
  position: absolute;
  right: 0;
  top: 0;
  padding: 8px 8px;
  font-style: normal;
  font-size: 20px;
  user-select: none;
  cursor: pointer;
}
.clearable input::-ms-clear {  /* Remove IE default X */
  display: none;
}
.highlight {
  background-color: #fff34d;
  -moz-border-radius: 5px; /* FF1+ */
  -webkit-border-radius: 5px; /* Saf3-4 */
  border-radius: 5px; /* Opera 10.5, IE 9, Saf5, Chrome */
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7); /* FF3.5+ */
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7); /* Saf3.0+, Chrome */
}

.jstree-node.jstree-closed > .jstree-icon.jstree-ocl {
  background-position: 0;
  background-image: url(/static/images/plus.png);
}

.jstree-node.jstree-open > .jstree-icon.jstree-ocl {
  background-position: 0;
  background-image: url(/static/images/minus.png);
}

#content {
  width: 430px;
}

.eco-rating-header h4 {
  width: 67%;
  display: inline-block;
}

.eco-rating-header a {
  float: right;
  padding: 7px 0px;
}