﻿@media only screen and (min-width: 1200px) {
  .container {
    min-width: 80%;
  }
}
/******* RESPONSIVE ********/
#leftpanel.show {
  width: 330px;
}
#leftpanel.full {
  width: 100%;
  z-index: 99;
}

.pDirect {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.pDirect .cKyBC {
  background-color: #17a2b8;
  padding: 8px;
  border: 1px solid #e4e3e3;
  border-radius: 5px;
  color: #fff;
}

.toggleIsland {
  right: 212px;
}

#legend_map {
  width: 150px;
}

#tabTongHop .box-dashboard {
  margin: 10px;
  background: #fff;
  height: calc(100vh - 123px);
  border: 1px solid #f1f1f1;
}
#tabTongHop .box-dashboard .box-filter {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border-bottom: 1px solid #ccc;
  padding: 7px;
}
#tabTongHop .box-dashboard .box-filter .btn {
  font-size: 0.8em;
  padding: 3px 5px;
  line-height: 1;
  height: 30px;
}
#tabTongHop .box-dashboard .box-content {
  height: 100%;
  position: relative;
}
#tabTongHop .box-dashboard .box-content .chart {
  height: 300px;
  border: 1px solid #f1f1f1;
}

#tbSolieu {
  width: 320px;
  position: absolute;
  bottom: 0;
  right: 4px;
  background: #fff;
  height: calc(100vh - 65px - 7px);
  z-index: 10;
}
#tbSolieu .hname, #tbSolieu .title {
  color: #2155ce;
  font-size: 1.2em;
  font-weight: 600;
  padding: 7px;
}
#tbSolieu .info {
  padding: 10px;
}
#tbSolieu p {
  border-bottom: 1px dashed #ccc;
  padding: 5px;
  line-height: 28px;
}
#tbSolieu .content {
  padding: 10px;
  overflow: auto;
}
#tbSolieu .content p {
  line-height: 28px;
}
#tbSolieu .content .slabel {
  font-weight: 600;
}

@media only screen and (max-width: 992px) {
  #sNbRows {
    padding: 0 !important;
  }
  #leftPanel.show {
    margin-left: 0;
  }
}
@media only screen and (max-width: 768px) {
  #ul2Tabs {
    margin-top: 40px;
  }
  #toggleLeftMenu {
    display: block;
  }
  .sidepanel {
    width: 100%;
  }
  .topToolMap {
    display: none;
  }
  .viewToolMap {
    display: block;
    position: absolute;
    z-index: 10;
    right: 19px;
    top: 77px;
    background: #2155ce;
    width: 30px;
    height: 30px;
    border-radius: 50%;
  }
  .viewToolMap i {
    color: #fff;
    font-size: 16px;
    padding: 7px;
    cursor: pointer;
  }
  #datastores {
    left: 5px !important;
    top: 10px;
    z-index: 10;
    width: 95vw;
  }
  #toolRight {
    right: 5px;
  }
  .ol-zoom.ol-unselectable.ol-control {
    top: 10px !important;
    bottom: unset !important;
    right: 5px !important;
  }
  #zoneIsland {
    right: 5px;
    bottom: 5px;
  }
}
@media only screen and (max-width: 390px) {
  #leftpanel.show {
    width: 300px;
  }
}
