/* 
 * Login
 * Regis
 * menu
 * offcanvas
 * custom input checkbox 
 * to top
 * Custom Input File 
 */

:root {
  --color-white: #fff;
  --color-blue-drak: #0d6efd;
  --font-family-header-body: Fedra, Tahoma, sans-serif;
  --font-family-body: Segoe UI, Helvetica Neue, Helvetica, Arial, sans-serif;
  --border-color: #dfe1e5;
  --secondary-text-color: #707579;
  --color-grey-black: #424d56;
  --color-blue-light: #0a58ca;
  --color-dark-grey: rgb(54, 58, 64);
  --color-light-grey: rgb(54, 58, 64);
  --color-solid-dark: rgba(41, 41, 41, 1);
  --color-dark-2: #181d1d;
  --color-green-dark: #054a4b;
  --color-blue-dark: rgba(119, 209, 214, 1);
  --color-blue-black: #2d3748;
}

html {
  height: 100%;
}

body {
  font-size: 15px;
  /* background-color:#f2f4f7; */
  font-family: BasierCircle, sans-serif;
  height: 100%;
}

img {
  max-width: 100%;
}

*,
:active,
:hover {
  outline: none !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-family: var(--font-family-header-body);
}

ul {
  list-style: none;
}

a {
  cursor: pointer;
  text-decoration: none;
  color: var(--color-blue-light);
}

a:hover {
  text-decoration: none;
  color: var(--color-blue-light);
}

input:focus,
.btn:focus,
:focus[class*="btn-"] {
  outline: none;
  box-shadow: none !important;
}

.pass-check {
  position: absolute;
  right: 18px;
  font-size: 16px;
  color: #727272;
  top: 0px;
  height: 100%;
  display: flex;
  align-items: center;
}

.pass-check>i {
  cursor: pointer;
}

.bd-callout {
  background-color: var(--bd-callout-bg, var(--bs-gray-100)) !important;
  border-left: 0.25rem solid var(--bd-callout-border, var(--bs-gray-300)) !important;
}

.bd-callout-danger {
  --bd-callout-bg: rgba(var(--bs-danger-rgb), 0.075);
  --bd-callout-border: rgba(var(--bs-danger-rgb), 0.5);
}

.bd-callout-info {
  --bd-callout-bg: rgba(var(--bs-info-rgb), 0.075);
  --bd-callout-border: rgba(var(--bs-info-rgb), 0.5);
}

.bd-callout-warning {
  --bd-callout-bg: rgba(var(--bs-warning-rgb), 0.075);
  --bd-callout-border: rgba(var(--bs-warning-rgb), 0.5);
}

.badge-bg-danger {
  background-color: rgba(var(--bs-danger-rgb), 0.5);
}

.badge-bg-info {
  background-color: rgba(var(--bs-info-rgb), 0.5);
}

.badge-bg-warning {
  background-color: rgba(var(--bs-warning-rgb), 0.5);
}

.btn-header-more {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: all 0.2s ease-in-out;
  text-align: center;
  vertical-align: middle;
  color: #adb5bd;
  border-color: transparent;
  border-radius: 1rem;
  background-color: transparent;
  font-weight: 400;
  line-height: 1;
}

.btn-header-more::after {
  display: none;
}

.chart-content {
  width: 100%;
  position: relative;
}

.indicator {
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  border: 1px solid;
  border-radius: 100%;
}

.cl-solid-dark {
  background-color: var(--color-solid-dark);
}

.cl-blue-drak {
  color: var(--color-blue-dark);
}

.hour-content,
.mid-content .col-12>.rounded-4 {
  background-color: #3a3a3a96;
  font-size: 5px;
}

.hour-content>.title-hour {
  color: #fff;
  padding-left: 12px;
}

.mid-content .col-12>div>p {
  font-size: 19px;
  line-height: 22px;
}

.mid-content .col-12>.rounded-4,
.hour-content {
  box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%);
}

.line-hour {
  position: relative;
}

.line-hour .info-hour {
  position: absolute;
  padding: 4px 7px;
  top: -29px;
  background: #fff;
  font-size: 12px;
  border-radius: 15%;
  color: #000;
  display: none;
}

.line-hour:hover>.info-hour {
  display: block;
}

.line-hour>span {
  cursor: unset;
  background-color: #f20000;
  border: 1px solid #fff;
}

.line-hour2>span {
  cursor: unset;
  background-color: #FFA500;
  border: 1px solid #fff;
}

#long2>span {
  cursor: unset;
  background-color: #f20000;
  border: 1px solid #fff;
}

.long1>span {
  cursor: unset;
  background-color: #FFA500;
  border: 1px solid #fff;
}

/* 
Start Login 
*/
#bg-login {
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url("../img/bg_maps4.png");
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  /* justify-content: center; */
}

#bg-login img {
  margin-bottom: 10px;
  max-width: 36%;
}

@media (max-width: 1310px) {
  #bg-login img {
    max-width: 40%;
  }
}

#bg-login .card {
  box-shadow: 0rem 0rem 5.1rem rgb(0 0 0 / 49%);
  width: 26%;
  border-radius: 30px;
  background-image: url("../img/partial_console_awanpintar_cloud.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: none;
  left: 7vw;
}

#bg-login .input-group {
  max-width: calc(100% - 88px);
}

#bg-login .login-inside {
  border: 5px solid #fff;
  border-radius: 30px;
}

#bg-login .form-floating>.form-control,
#bg-login .form-floating>.form-control-plaintext,
#bg-login .form-floating>.form-select {
  height: calc(3.2rem + 2px);
  line-height: 1.25;
}

#bg-login .input-group>.form-floating:not(:first-child)>.form-control,
#bg-login .input-group>.form-floating:not(:first-child)>.form-select {
  font-size: 0.9rem;
  background-color: #cccccc !important;
}

#bg-login .input-group-text {
  background-color: #e6e6e6;
  color: #525252;
}

#bg-login .form-floating>label {
  padding: 0.85rem 0.75rem;
  font-size: 0.9rem;
}

@media (max-width: 1400px) {
  #bg-login .card {
    width: 32%;
    left: 5vw;
  }
}

@media (max-width: 992px) {
  #bg-login img {
    max-width: 40%;
  }

  #bg-login {
    justify-content: center;
    background-image: url("../img/partial_console_awanpintar_BACK_untuk_tampilan_tab_mobile.jpg");
  }

  #bg-login .card {
    width: 100%;
    left: auto;
    max-width: 412px;
  }

  #bg-login .form-floating>.form-control,
  #bg-login .form-floating>.form-control-plaintext,
  #bg-login .form-floating>.form-select {
    height: calc(2.9rem + 2px);
  }

  #bg-login .input-group>.form-floating:not(:first-child)>.form-control,
  #bg-login .input-group>.form-floating:not(:first-child)>.form-select,
  #bg-login .input-group> :not(:first-child):not(.dropdown-menu):not(.form-floating):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    font-size: 12px;
  }

  .form-floating>label {
    font-size: 14px;
  }
}

#bg-login .btn-login {
  font-size: 0.8rem;
  width: 100%;
  max-width: 70%;
  background-color: #0586e1;
  border-color: transparent;
  padding: 6px 0px;
}

#bg-login .btn-login:hover {
  background-color: var(--color-blue-drak);
  border-color: var(--color-blue-drak);
}

#bg-login .form-control:focus {
  outline: none;
  border-color: #ced4da;
  -webkit-box-shadow: none;
  box-shadow: none;
}

/* 
End Login 
*/

/* 
Start Regis 
*/
#regis .left-side {
  background-image: url("../img/dummy_818x1079.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
  height: 100vh;
}

/* 
End Regis
*/

/* 
 menu
 */
#menu-top-side {
  overflow: hidden;
  overflow-y: auto;
}

.menu-top {
  z-index: 2;
  padding: 0px;
}

#menu-side {
  padding: 0px 12px;
  z-index: 1;
  color: #ffff;
}

#sidebar {
  z-index: 401;
  position: fixed;
  width: 213px;
  height: 100%;
  padding-top: 42px;
  background: var(--color-dark-grey);
}

#quit>a {
  padding: 0px 12px;
  max-width: max-content;
  color: var(--color-white);
}

#quit>a:hover {
  color: var(--color-dark-grey);
  background-color: var(--color-white);
}

#sidebar .list-group-item {
  margin: 5px 0px;
  padding: 10px 12px;
  /* overflow: hidden; */
  text-overflow: ellipsis;
  white-space: nowrap;
  background: transparent;
  color: #fff;
  border: 1px solid transparent;
  cursor: pointer;
}

#sidebar .list-group-item:nth-child(1) {
  margin-top: 0px;
}

#sidebar .list-group-item:hover,
#sidebar .list-group-item.show,
#top-main>nav button:hover,
#menu-side:hover {
  background: #fff;
  color: var(--color-dark-grey);
}

#sidebar>div.list-group {
  overflow-y: auto;
  overflow-x: hidden;
  background-color: var(--color-dark-grey);
}

#sidebar .dropdown-menu.show,
#sidebar .dropdown-menu.submenu {
  box-shadow: 4px 3px 7px 0px #cccccc38;
  position: fixed;
  left: 100%;
  margin-top: -41px;
}

#sidebar .dropdown-menu li>.dropdown-item {
  border-radius: 0.35rem;
  font-size: 0.95rem;
}

#sidebar .dropdown-menu li>.dropdown-item {
  padding: 0.25rem 0.75rem;
}

#sidebar .dropdown-menu li>.dropdown-header {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
}

/* ============ menu view ============ */
@media all and (min-width: 991px) {

  /* .dropdown-menu li{ position: relative; 	} */
  .nav-item .submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -7px;
  }

  .nav-item .submenu-left {
    right: 100%;
    left: auto;
  }

  .dropdown-menu>li:hover>.submenu {
    display: block;
  }
}

/* ============ menu end// ============ */

/* ============ small menu devices ============ */
@media (max-width: 991px) {
  .dropdown-menu .dropdown-menu {
    margin-left: 0.7rem;
    margin-right: 0.7rem;
    margin-bottom: 0.5rem;
  }
}

/* ============ small menu .end// ============ */

#top-main {
  z-index: 1001;
  position: fixed;
  width: 100%;
  background: var(--color-dark-grey);
}

#top-main>nav {
  background-color: var(--color-dark-grey) !important;
  border-left: 1px solid #e6e6e8;
  border-radius: 0px !important;
}

#top-main>nav button {
  color: #fff;
}

#top-main>nav ul {
  min-width: max-content;
}

#main {
  /* padding-top: 10px; */
  position: absolute;
  left: 213px;
  width: calc(100% - 213px);
  min-height: 100vh;
}

#main:not(.cl-solid-dark) {
  background-image: url("../img/BAACKGROUND.jpg");
  background-position: bottom right;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

#main.cl-solid-dark {
  color: #fff;
}

#main,
#sidebar {
  -webkit-transition: all ease-out 0.5s;
  -moz-transition: all ease-out 0.5s;
  -o-transition: all ease-out 0.5s;
  transition: all ease-out 0.5s;
}

.slide>#main {
  width: calc(100% - 51px);
  left: 51px;
}

.slide>#sidebar {
  width: 51px;
}

#dragbar {
  background-color: #c5c5c5;
  height: 100%;
  float: right;
  width: 4px;
  position: absolute;
  top: 0px;
  right: 0px;
  cursor: col-resize;
  z-index: 1;
}

.navbar-toggler {
  font-size: 15px;
}

@media (max-width: 991px) {
  #sidebar {
    width: 51px;
  }

  #main {
    width: calc(100% - 51px);
    left: 51px;
  }

  #main>nav {
    width: calc(100% - 51px);
    position: fixed;
  }
}

@media (max-width: 767px) {
  #main>.container-fluid>.row:nth-child(1) a.btn {
    font-size: 14px;
  }

  .counterup {
    font-size: 16px;
  }
}

@media (max-width: 575.98px) {
  #bg-under-main .card-body>p {
    font-size: 47px;
  }

  body {
    font-size: 13px;
  }

  .navbar-toggler,
  #quit,
  #quit .dropdown-menu {
    font-size: 12px;
  }

  .navbar-toggler {
    padding: 0.25rem 0.55rem;
  }
}

@media (max-width: 397px) {
  #bg-under-main .card-body>p {
    font-size: 31px;
  }
}

/* 
 End menu
 */

/* 
offcanvas 
*/
.offcanvas-header {
  background: #0000fb29;
}

.offcanvas-body .nav-link {
  color: #4068a2;
}

.offcanvas-body .list-group-item {
  border-color: transparent;
  font-weight: bold;
  background: #fff;
}

.offcanvas-body .small-menu-link {
  border-top: 1px solid #e4e4e4;
  border-bottom: 1px solid #e4e4e4;
}

@media (min-width: 992px) {
  .navbar-expand-lg .offcanvas {
    position: fixed;
    visibility: hidden !important;
  }
}

/* 
  end Offcanvas 
  */

/* 
Start custom input checkbox 
*/
.checkbox-custom {
  display: block;
  position: relative;
  padding-left: 27px;
  cursor: pointer;
  font-size: 13px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.checkbox-custom input {
  position: absolute;
  opacity: 0;
  left: 4px;
  top: 5px;
  cursor: pointer;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 19px;
  width: 19px;
  background-color: #dddddd;
}

.checkbox-custom:hover input~.checkmark {
  background-color: #ccc;
}

.checkbox-custom input:checked~.checkmark {
  background-color: #1fb067;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-custom input:checked~.checkmark:after {
  display: block;
}

.checkbox-custom .checkmark:after {
  left: 6px;
  top: 3px;
  width: 7px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* 
  custom input checkbox 
  */

#info-login .modal-header>i {
  color: #bb2d3b;
  font-size: 50px;
}

/* 
Start to top 
*/
.scrool-back-top {
  position: fixed;
  cursor: pointer;
  right: 22px;
  bottom: 22px;
  display: none;
  z-index: 1;
}

.scrool-top {
  margin-right: 6px;
  font-size: 20px;
  color: #949ca1;
  border: 2px solid #949ca1;
  -ms-transform: rotate(-15deg);
  /* IE 9 */
  transform: rotate(-15deg);
  transition-delay: 0;
  transition: all 0.6s;
  padding: 3px 9px;
  margin-bottom: 5px;
}

.scrool-back-top:hover .scrool-top {
  background-color: var(--color-dark-grey);
  border-color: var(--color-dark-grey);
  border-bottom-color: #949ca1;
  transform: rotate(0deg);
  color: var(--color-white);
  margin-bottom: 0px;
}

.scrool-back-top:hover {
  box-shadow: 0 6px 6px -6px transparent;
  transition: box-shadow 0.9s ease-in-out;
}

/* 
End to top 
*/

/* 
Start Custom Input File 
*/
.file-btn {
  width: 100%;
  position: relative;
  background-color: #fff;
  border: rgb(199, 199, 199);
  text-align: center;
  height: 39px;
  border-style: dashed;
}

@media (max-width: 992px) {
  .file-btn {
    height: auto;
  }
}

.is-invalid>.file-btn {
  border-color: #dc3545;
}

.is-invalid>.invalid-feedback {
  display: block;
}

.set-file {
  border-style: solid;
  background-color: #f1f1f15e;
}

.set-file:hover,
.file-btn:hover {
  background-color: #f1f1f1;
}

.file-btn input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.file-btn i {
  font-size: 125px;
  color: #6363630f;
  position: absolute;
}

.file-btn b {
  font-size: 15px;
  color: #949494;
}

.file-btn:hover i {
  color: #6363631f;
}

.set-file i,
.set-file b,
.file-btn:hover b {
  color: rgb(68, 68, 68) !important;
}

.set-file i {
  font-size: 42px;
  position: relative;
}

/* 
End Custom Input File  
*/

.form-control.is-invalid,
.was-validated .form-control:invalid {
  background-image: none;
}

#main.cl-solid-dark .card {
  border-radius: 22px;
  background-image: linear-gradient(#1c1c1c, #353535);
  overflow: auto;
}

#main.cl-solid-dark .card.top-card-map {
  border-radius: 56px;
}

#main.cl-solid-dark .card.top-card-map #map {
  background: transparent;
  width: 100%;
}

#main.cl-solid-dark .card.top-card-map .leaflet-tile-container {
  display: none;
}

#main.cl-solid-dark .card table {
  text-align: left;
  font-size: 14px !important;
  color: rgba(255, 255, 255, 1);
}

#main.cl-solid-dark .col-12>p,
#main.cl-solid-dark .view-attack p {
  font-size: 18px;
}

#main.cl-solid-dark .view-attack .total {
  border: 1px solid rgba(112, 112, 112, 1);
  font-weight: bold;
  color: rgba(255, 0, 43, 1);
}

#main.cl-solid-dark .view-attack .total>span {
  font-size: 12px;
}

@media (min-width: 991px) {
  #main.cl-solid-dark .card:not(.top-card-map) {
    height: calc(100% - 40px);
  }
}

#main.cl-solid-dark .leaflet-container {
  height: 400px;
  background-color: transparent;
  width: 600px;
  max-width: 100%;
  max-height: 100%;
}

#main.cl-solid-dark .country-slide>div:first-child>div {
  border-bottom: 1px solid rgba(112, 112, 112, 1);
}

#main.cl-solid-dark .pad-attack {
  padding: 0px 31px;
}

@media (max-width: 1399.98px) {
  #main.cl-solid-dark .pad-attack {
    padding: 0px;
  }
}

#main.cl-solid-dark .country-slide .pad-attack:not(:first-child) span {
  font-size: 12px;
}

#main.cl-solid-dark .placeholder {
  cursor: unset;
}

#main.cl-solid-dark .leaflet-bar a {
  color: rgba(35, 35, 37, 1);
  border-bottom-color: transparent;
}

#main.cl-solid-dark .leaflet-bar a:not(:hover) {
  background-color: rgba(123, 123, 123, 1);
}

#main.cl-solid-dark .leaflet-touch .leaflet-bar a:last-child {
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}

#main.cl-solid-dark .leaflet-touch .leaflet-bar a:first-child {
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

#main.cl-solid-dark .legend i {
  width: 18px;
  height: 18px;
  float: left;
  margin-right: 8px;
  opacity: 0.7;
}

#main.cl-solid-dark .leaflet-touch .leaflet-control-layers,
#main.cl-solid-dark .leaflet-touch .leaflet-bar {
  border-color: transparent;
}

.popover-body {
  padding: 8px !important;
  font-size: 12px;
}

.active>.page-link,
.page-link.active {
  background-color: #6d747e;
  border-color: #9e9e9f;
}

.page-link {
  color: #414141;
}

.page-link:hover {
  color: #414141;
}

.active>.page-link:hover {
  color: #fff;
}