﻿@charset "UTF-8";
/*primary-color: #1667a0*/
/*primary-color: #009970*/
/****Màn hình ipad loại bé hiển thị theo chiều dọc (Portrait)****/
/****Màn hình điện thoại Iphone Plus****/
/****Màn hình điện thoại Iphone****/
/****Màn hình điện thoại loại bé****/
.section-infographic {
  background: #fff;
}

.label-bold {
  font-weight: 600;
  font-size: 16px;
}
@media only screen and (max-width: 769px) {
  .label-bold {
    font-size: 12px;
  }
}

#thongKe .nav-item {
  background: #efefef;
  width: 50%;
  text-align: center;
}
#thongKe .nav-item .nav-link {
  color: #58636f;
  line-height: 40px;
  padding: 0;
  position: relative;
}
@media only screen and (max-width: 769px) {
  #thongKe .nav-item .nav-link {
    font-size: 10px;
  }
}
#thongKe .nav-item .nav-link i {
  margin-right: 5px;
}
@media only screen and (max-width: 769px) {
  #thongKe .nav-item .nav-link i {
    display: none;
  }
}
#thongKe .nav-item .nav-link.active {
  color: #2bc27d;
  background: #fff;
}
#thongKe .nav-item .nav-link.active#toantinh-tab:after {
  content: url(/assets/images/thongke/rectangle.png);
  position: absolute;
  right: -13px;
  top: -8px;
}
#thongKe .nav-item .nav-link.active#chitiet-tab:before {
  content: url(/assets/images/thongke/rectangle.png);
  left: -13px;
  position: absolute;
  top: -8px;
  transform: scaleX(-1);
}

.infographic {
  padding: 16px;
}
.infographic > div {
  box-shadow: 0 0 8px #ccc;
  height: 100%;
}
.infographic .title {
  text-transform: uppercase;
  font-weight: 600;
  padding-bottom: 10px;
  font-size: 14px;
  padding: 0.6rem;
  width: 90%;
  border-bottom-right-radius: 30px;
  margin-bottom: 0;
}
@media only screen and (max-width: 769px) {
  .infographic .title {
    font-size: 12px;
  }
}
.infographic .title.tt {
  background-color: #9fefca;
}
.infographic .title.dnn {
  background-color: #efda9f;
}
.infographic .title.cn {
  background-color: #f2bfb3;
}
.infographic .title.ts {
  background-color: #bececc;
}
.infographic .title.ln {
  background-color: #81e6a6;
}
.infographic .title.tl {
  background-color: #b4ddf2;
}
.infographic .title.ntm {
  background-color: #f0f2b4;
}
.infographic .title i {
  margin-right: 5px;
}
.infographic .graphic p {
  text-align: center;
}
.infographic .graphic p:first-child {
  font-size: 0.9rem;
  height: 50px;
}
@media only screen and (max-width: 769px) {
  .infographic .graphic p:first-child {
    font-size: 13px;
  }
}
.infographic .graphic .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.infographic .graphic .item p {
  font-size: 14px;
  padding-top: 4px;
  margin-bottom: 0;
}
@media only screen and (max-width: 769px) {
  .infographic .graphic .item p {
    font-size: 12px;
  }
}
.infographic .graphic .item p:first-child {
  margin-top: 1rem;
}
.infographic .graphic .item p:last-child {
  font-size: 1.5rem;
  font-weight: 600;
}
.infographic .graphic .item p:last-child i {
  margin-right: 5px;
  font-size: 20px;
  display: inline-block;
}
.infographic .graphic .item p:last-child i.fa-caret-up {
  color: forestgreen;
}
.infographic .graphic .item p:last-child i.fa-caret-down {
  color: firebrick;
}
.infographic .graphic .item p:last-child span {
  font-size: 20px;
  display: inline-block;
}
@media only screen and (max-width: 769px) {
  .infographic .graphic .item p:last-child span {
    font-size: 16px;
  }
}
.infographic .graphic img {
  height: 60px;
  width: 60px;
}

.section-chart {
  display: flex;
  min-height: calc(100vh - 95px);
  overflow: hidden;
}

#chart-filter {
  min-width: 25%;
  max-width: 25%;
  background: #fff;
  position: relative;
  margin-left: -25%;
  transition: margin-left 0.5s cubic-bezier(0, 0, 0.2, 1);
  box-shadow: 2px 0 4px #ccc;
}
@media only screen and (max-width: 769px) {
  #chart-filter {
    margin-left: -81%;
    z-index: 2;
    position: absolute;
    min-width: 80%;
    max-width: 80%;
    top: 60px;
    height: 102%;
  }
}
#chart-filter.active {
  margin-left: 0;
}
@media only screen and (max-width: 769px) {
  #chart-filter.active {
    margin-left: 0px;
  }
}
#chart-filter #search-chitieu, #chart-filter select {
  font-size: 14px;
}
@media only screen and (max-width: 769px) {
  #chart-filter #search-chitieu, #chart-filter select {
    font-size: 12px;
  }
}
#chart-filter .chart-filter-toggle {
  position: absolute;
  right: 0;
  display: none;
  padding: 10px;
}
@media only screen and (max-width: 769px) {
  #chart-filter .chart-filter-toggle {
    display: block;
  }
}
#chart-filter .chart-filter-toggle:hover {
  opacity: 0.8;
  cursor: pointer;
}
#chart-filter .chart-filter-header {
  justify-content: space-between;
  border-bottom: solid 1px #777;
  align-items: end;
  /* span:last-child {
      text-decoration: underline;
      color: cornflowerblue;

      &:hover {
          opacity: 0.8;
          cursor: pointer;
      }
  }*/
}
#chart-filter .chart-filter-header span:first-child {
  text-transform: uppercase;
  color: #777;
  font-size: 16px;
  font-weight: 600;
}
@media only screen and (max-width: 769px) {
  #chart-filter .chart-filter-header span:first-child {
    font-size: 12px;
  }
}
#chart-filter ul.nav {
  justify-content: space-between;
}
#chart-filter button.nav-link {
  padding: 5px 10px;
  font-size: 0.85rem;
  border: none;
  border-radius: 5px !important;
  outline: none;
}
@media only screen and (max-width: 769px) {
  #chart-filter button.nav-link {
    font-size: 10px;
  }
}
#chart-filter .form-group label:first-child {
  /*text-transform: uppercase;
  color: #777;
  font-weight: 700;
  margin-top: 20px;*/
}
#chart-filter .form-group .btn-reset {
  float: right;
  text-decoration: underline;
  font-size: 14px;
  color: #007bff;
  font-style: italic;
  cursor: pointer;
}
@media only screen and (max-width: 769px) {
  #chart-filter .form-group .btn-reset {
    font-size: 12px;
  }
}
#chart-filter .group-cap1 {
  font-weight: 600;
  margin: 5px 0;
}
#chart-filter .group-cap2 {
  font-weight: 500;
  color: #777;
  margin: 15px 0 5px 0;
}
#chart-filter .group-list {
  border-left: solid 1px #ccc;
}
#chart-filter .group-list .form-check {
  padding-left: 1.5rem;
  margin: 5px 0;
}
#chart-filter .tab-content .btn-action {
  float: right;
}
#chart-filter .tree-index {
  max-height: calc(100vh - 400px);
  overflow-y: auto;
  /* Tùy chỉnh thanh cuộn */
  /* Tùy chỉnh phần thân của thanh cuộn */
  /* Tùy chỉnh phần nền của thanh cuộn */
}
#chart-filter .tree-index::-webkit-scrollbar {
  width: 6px; /* Chiều rộng */
}
#chart-filter .tree-index::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2); /* Màu sắc */
  border-radius: 6px; /* Bo tròn cạnh */
}
#chart-filter .tree-index::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.1); /* Màu sắc */
}

#chart-wrapper {
  min-width: 45%;
  flex: 1;
  position: relative;
}
#chart-wrapper .chart-wrapper-header {
  justify-content: space-between;
  border-bottom: solid 1px #777;
  align-items: end;
}
#chart-wrapper .chart-wrapper-header span {
  text-transform: uppercase;
  color: #777;
  font-size: 1.25rem;
  font-weight: 700;
}
#chart-wrapper .chart-wrapper-header ul {
  margin: 0;
}
#chart-wrapper .chart-wrapper-header ul li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  width: 30px;
  border-radius: 3px;
  background-color: aliceblue;
  margin-right: 5px;
  color: #356289;
}
#chart-wrapper .chart-wrapper-header ul li:hover {
  opacity: 0.8;
  cursor: pointer;
}
#chart-wrapper .chart-graph {
  height: 50%;
  text-align: center;
  background-color: #fff;
}
#chart-wrapper #chart-table {
  height: 50%;
  background-color: #fff;
}
#chart-wrapper #chart-table table {
  white-space: nowrap;
}
#chart-wrapper #chart-table table thead th {
  font-size: 15px;
  border: 1px solid #dee2e6;
  background-color: #5EBAAD;
  color: #fff;
  font-weight: 600;
}
#chart-wrapper #chart-table table tbody td {
  font-size: 14px;
  border: 1px solid #dee2e6;
  color: #555;
}
#chart-wrapper #btn-exp {
  float: right;
  display: inline-block;
  padding: 6px 17px;
  background-color: #499e49;
  margin-bottom: 10px;
  border-radius: 4px;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
}
#chart-wrapper #btn-exp i {
  margin-left: 6px;
}

#chart-map {
  min-width: 30%;
  margin-right: -30%;
}
#chart-map.active {
  margin-right: 0%;
}

/*Tree*/
.trees {
  margin-left: 10px;
  margin-bottom: 0;
}

.trees li {
  border-left: dotted 1px #bcbec0;
  padding: 1px 0 1px 25px;
  position: relative;
}

.trees li > label {
  position: relative;
  left: -11px;
  top: -1px;
  margin-bottom: 4px;
  display: flex;
  align-items: flex-start;
}
@media only screen and (max-width: 769px) {
  .trees li > label {
    top: 3px;
    font-size: 12px;
  }
}
.trees li > label span {
  padding-bottom: 1.5px;
}
.trees li > label.disabled {
  color: #000000;
  opacity: 0.5;
  pointer-events: none;
}

.trees li:before {
  content: "";
  width: 13px;
  height: 1px;
  border-bottom: dotted 1px #bcbec0;
  position: absolute;
  top: 13px;
  left: 0;
}

.trees li:last-child:after {
  content: "";
  position: absolute;
  width: 2px;
  height: 13px;
  background: #fff;
  left: -1px;
  bottom: 0px;
}

.trees li input {
  margin-right: 5px;
  margin-left: 5px;
  margin-top: 6.5px;
}
@media only screen and (max-width: 769px) {
  .trees li input {
    margin-top: 2.5px;
  }
}

.trees li.has-child > ul {
  display: none;
}

.trees li.has-child > input {
  opacity: 0;
  position: absolute;
  left: -14px;
  z-index: 9999;
  width: 100%;
  height: 30px;
  top: -5px;
}

.trees li.has-child > input + .tree-control {
  position: absolute;
  left: -4px;
  top: 6px;
  width: 8px;
  height: 8px;
  line-height: 8px;
  z-index: 2;
  display: inline-block;
  color: #fff;
  border-radius: 3px;
}

.trees li.has-child > input + .tree-control:after {
  font-family: "FontAwesome";
  content: "\f0fe";
  font-size: 12px;
  color: #183955;
  position: absolute;
  left: -1px;
  top: 3px;
}

.trees li.has-child > input:checked + .tree-control:after {
  font-family: "FontAwesome";
  content: "\f146";
  font-size: 12px;
  color: #183955;
  position: absolute;
  left: -1px;
  top: 3px;
}

.trees li.has-child > input:checked ~ ul {
  display: block;
}

.trees ul li.has-child:last-child {
  border-left: none;
}

.trees ul li.has-child:nth-last-child(2):after {
  content: "";
  width: 1px;
  height: 5px;
  border-left: dotted 1px #bcbec0;
  position: absolute;
  bottom: -5px;
  left: -1px;
}

.tree-alt li {
  padding: 4px 0;
}

/*multi range slider*/
#input-select-from,
#input-select-to {
  padding: 7px;
  margin: 0 5px;
  width: 50%;
}

.noUi-horizontal {
  height: 14px;
}
.noUi-horizontal .noUi-handle {
  height: 22px;
  top: -5px;
}
.noUi-horizontal .noUi-handle:before, .noUi-horizontal .noUi-handle:after {
  height: 14px;
  top: 3px;
}

/*highcharts*/
.highcharts-figure,
.highcharts-data-table table {
  min-width: 310px;
  max-width: 800px;
  margin: 1em auto;
}

#container {
  height: 400px;
}

.highcharts-data-table table {
  font-family: Verdana, sans-serif;
  border-collapse: collapse;
  border: 1px solid #ebebeb;
  margin: 10px auto;
  text-align: center;
  width: 100%;
  max-width: 500px;
}

.highcharts-data-table caption {
  padding: 1em 0;
  font-size: 1.2em;
  color: #555;
}

.highcharts-data-table th {
  font-weight: 600;
  padding: 0.5em;
}

.highcharts-data-table td,
.highcharts-data-table th,
.highcharts-data-table caption {
  padding: 0.5em;
}

.highcharts-data-table thead tr,
.highcharts-data-table tr:nth-child(even) {
  background: #f8f8f8;
}

.highcharts-data-table tr:hover {
  background: #f1f7ff;
}

#sidebarCollapse {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.4);
  padding: 3px;
  cursor: pointer;
}
#sidebarCollapse #ic-sidebarCollapse {
  text-align: center;
  height: 35px;
  width: 35px;
  background: white;
}
#sidebarCollapse #ic-sidebarCollapse i {
  transform: scaleX(1);
  line-height: 35px;
  font-size: 20px;
  transition: transform 1s cubic-bezier(1, -0.29, 0.14, 0.96);
  color: gray;
}
@media only screen and (max-width: 992px) {
  #sidebarCollapse #ic-sidebarCollapse i {
    transform: scaleX(-1);
  }
}

#leftpanel {
  transition: margin-left 0.5s cubic-bezier(0.72, 0.03, 0.27, 1.03);
  position: relative;
}

#sidebarClose {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.4);
  padding: 3px;
  cursor: pointer;
  display: none;
}
#sidebarClose #ic-sidebarClose {
  text-align: center;
  height: 35px;
  width: 35px;
  background: white;
}
#sidebarClose #ic-sidebarClose i {
  line-height: 35px;
  font-size: 20px;
  transition: transform 1s cubic-bezier(1, -0.29, 0.14, 0.96);
  color: gray;
}
@media only screen and (max-width: 992px) {
  #sidebarClose {
    display: block;
  }
}

#leftpanel {
  transition: margin-left 0.5s cubic-bezier(0.72, 0.03, 0.27, 1.03);
  position: relative;
}
