﻿@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

body{
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
}

html{
  /*height: 100%;*/
  width: 100%;
}

.navbar-brand{
  color: white; 
}

body.maklumat{
	background-image: linear-gradient(-50deg, rgba(254,231,178,255), white, rgba(255,242,215,255)); 
  /*animation: gradient 15s ease infinite;*/
  background-repeat: no-repeat; 
  background-size: cover;
  background-size: 400% 400%;
  height: 100vh;
}

body.home{
  background-color: #fff3db;
  /*background-image: linear-gradient(-50deg, rgba(254,231,178,255), white, rgba(255,242,215,255)); */
  /*animation: gradient 15s ease infinite;*/
  background-repeat: no-repeat; 
  background-size: cover;
  background-size: 400% 400%;
  height: 40vh;
}

body.login{
  background-image: linear-gradient(-50deg, rgba(254,231,178,255), white, rgba(255,242,215,255)); 
  animation: gradient 40s ease infinite;
  background-repeat: no-repeat fixed center; 
  background-size: cover;
  background-size: 400% 400%;
  height: 40vh;
}

body.popup{
  background-color: white;
}

footer{
  bottom: 0;
}

body.main{
  background-image: linear-gradient(-50deg, rgba(254,230,181,255), white); 
  animation: gradient 40s ease infinite;
  background-repeat: no-repeat; 
  background-size: cover;
  background-size: 1000% 1000%;
  height: 100vh;
}

ul.collapse.list-unstyled.first{
  background-color: #0e2f5c;
  padding-left: 15px;
}

ul.collapse.list-unstyled.second{
  background-color: #0e2f5c;
}

ul.collapse.list-unstyled.third{
  background-color: #123e7b;
  padding-left:25px;
}

a.dropdown-toggle.nav-link.inside{
  color:white; 
  padding-left:30px;
}

a.nav-link.left{
  color: white;
  padding-left: 30px;
}

i.fa-fa-bell-o{
  color: blue;
}

/*.tab-content {
  background-image: linear-gradient(-50deg, rgba(254,231,178,255), white, rgba(255,242,215,255)); 
  animation: gradient 25s ease infinite;
  background-repeat: no-repeat; 
  background-size: cover;
  background-size: 400% 400%;
}*/

div.wallpaper{
  background-image: url('../imgs/banner-gims.jpg'); 
  background-repeat: no-repeat;
  background-size: 100% 100%;
  height: 26vh;
}

.bg-image{
   background-image: url('../imgs/blur-banner.png');
   background-repeat: no-repeat;
   background-size: 100% 100%;
   height: auto;
}

.container.blur{
  padding-top: 40px;
  padding-bottom: 40px;
  color: white;
  transition: 0.5s;
}

.card.back-blur{
  margin-right: auto;
  margin-left: auto;
  box-shadow: 0px 4px 8px 0px #888;
  border-radius: 5px;
  border: none;
  backdrop-filter: blur(30px);
  background-color: rgba(61,54,48,0.2);
  padding: 10px;
}

.container.inputdata{
  margin-left:18%; 
  margin-top:5%; 
  padding: 10px;  
  box-shadow: 0px 4px 8px 0px #888; 
  border-radius: 10px; 
  max-width: 79%; 
  transition: 0.5s;
  background-color:white;
}

#sidebar.active {
        margin-left: -310px;
        transition: 0.5s;
    }

    #container2.active {
      margin-left: auto;
      transition: 0.5s;
      width: 100%;
    }

    #navbar2.active {
      margin-left: auto;
      width: 100%;
      transition: 0.5s;
    }

    #sidebarCollapse2 {
      display: none;
    }

    #sidebarCollapse2.active {
      display: inline-block;
      margin-top: 0.5%;
      margin-left: 2%;
      transition: 0.5s;
    }

.container.bg-text{
  z-index: 20;
  position: relative;
}

.WordUp {
  width: 100%;
  padding: 20px 40px;
  margin-top: 10px;
  margin-bottom: 5px;
  box-sizing: border-box;
  text-align: center;
  transform: translatey(-0px);
  animation: up 6s ease-in-out infinite;
}

.WordDown {
  width: 100%;
  padding: 20px 40px;
  box-sizing: border-box;
  text-align: center;
  transform: translatey(-0px);
  animation: down 6s ease-in-out infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes up {
  0% {
    // box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6);
    transform: translatey(0px);
  }
  50% {
    // box-shadow: 0 25px 15px 0px rgba(0,0,0,0.2);
    transform: translatey(-20px);
  }
  100% {
    // box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6);
    transform: translatey(0px);
  }
}

@keyframes down {
  0% {
    // box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6);
    transform: translatey(0px);
  }
  50% {
    // box-shadow: 0 25px 15px 0px rgba(0,0,0,0.2);
    transform: translatey(5px);
  }
  100% {
    // box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6);
    transform: translatey(0px);
  }
}

.reveal{
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 3s all ease;
  }

  .reveal.active{
    transform: translateY(0);
    opacity: 1;
  } 

  @keyframes enter {
    from {
      opacity: 0.5;
    }
    to {
      opacity: 1;
    }
  }

  @keyframes left {
    from {
      transform: translateX(-100px);
      opacity: 0.5;
    }
    to {
      transform: translateX(0px);
      opacity: 1;
    }
  }

  @keyframes right {
    from {
      transform: translateX(100px);
      opacity: 0.5;
    }
    to {
      transform: translateX(0px);
      opacity: 1;
    }
  }

  @keyframes up {
    from {
      transform: translateY(100px);
      opacity: 0.5;
    }
    to {
      transform: translateY(0px);
      opacity: 1;
    }
  }

.nav-link li a:hover{
	color: blue;
	background-color: white;
}

.container-fluid.paparandata {
  margin-top:70px; 
  margin-left: 16.5%; 
  height: 100px; 
  max-width: 83%;
  transition: 0.5s;
}

div.container-fluid.mainpage{
  margin-top: 3%; margin-left: 17%; height: 100px; max-width: 82%; transition: 0.5s;
}


h4.notification{
  color: black;
  font-size: 16px;
  margin-top: 3px;
}

.container.frame{
  /*margin-top: 30px;
  margin-bottom: 60px;*/
}

i.fa.fa-sign-out{
  font-size: 26px;
  color: white;
}

i.fas.fa-sign-out-alt{
  font-size: 26px;
  color: white;
}

a.notification-link:hover{
  color: white;
  background-color: #007bff;
}

a.nav-link.sub{
  color: white;
}

a.nav-link.sub:hover{
  font-weight: bold;
}

a.nav-link.main{
  color: white;
}

a.nav-link.main:hover{
  font-weight: bold;
}

a.notification-link:hover h4{
  color: white;
  background-color: #007bff;

}

a.notification-link:hover p{
  color: white;
  background-color: #007bff;
}

p.notification {
  color: #5f6564;
  font-size: 15px
}

p.notification-title {
  margin-top: -13px;
  color: #404040;
  font-size: 15px
}

h5.notification-divider{
  margin-left: 10px;
  color: black;
  font-size: 16px;
  margin-top: 3px;
}

.valid {
  color: green;
}

.nav-tabs.home{
  border: none;
}

a.forgot {
  color: white;
}

a.forgot: hover{
  color: white;
  font-weight: bold;
  text-decoration: none !important;

}

.valid:before {
  position: relative;
  left: -35px;
  content: "✔";
}

/* Add a red text color and an "x" when the requirements are wrong */
.invalid {
  color: red;
}

.invalid:before {
  position: relative;
  left: -35px;
  content: "✖";
}

.message {
  display:none;
  background: #f1f1f1;
  color: #000;
  position: relative;
  padding: 20px;
  margin-top: 10px;
}

.nav-item.mytabs{
  background-color: white;
}

/*.nav.nav-tabs.home{
  border: none;
  color: white;
  background-color:  #07173b;
}*/

/*.nav-tabs .home .nav-link, .nav-tabs .nav-link.active, .nav-tabs .nav-link{
  background-color: #07173b;
}*/

/*.nav-tabs .home .nav-link, .nav-tabs .nav-link.active, .nav-tabs .nav-link:hover {
    border: 0;
    color: gray;
}*/

/*.nav-tabs .home .nav-link.active {
    background-color: #07173b;
    color: white;
}*/

.nav.flex-column.sidebar{
  box-shadow:1px 0 10px -2px #888 ; 
  width:16%; 
  height:100%;
  max-height: 1000%; 
  position: fixed; 
  overflow-y: scroll;
  z-index: 100; 
  font-size: 16px;
  background-color: #07173b;
  transition: 0.5s;
}

.navbar-brand{
  padding-left: 10px;
}

.navbar.navbar-expand-md.form{
  box-shadow:0 4px 2px -2px #888; 
  width:85%; 
  margin-left:16%; 
  position:fixed; 
  z-index: 500; 
  background-color: white;
  transition: 1s;
}

.card.data{
  box-shadow: 0px 4px 8px 0px #888;
  background-color: #07173b;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.card.sektor{
  box-shadow: 0px 4px 8px 0px #888;
  background-color: #07173b;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.datahome span{
  color: white;
  font-size: 30px;    
  line-height: 48px;
  display: block;
  font-weight: 700;
  margin-left: 80px;
  margin: auto;
}

.datahome p{
  color: white;
}

.datasektor{
  color: white;    
  line-height: 48px;
  font-weight: 700;
  margin-left: 80px;
  margin: auto;
}

.card.frame{
  width: 100%;
  background-color: transparent;
  border: none;
  margin-top: -18px;
  margin-left: auto;
  margin-right: auto;
}

.card-body.frame{
  padding-top: -30px;
}

.home iframe{
  display: block;  
  border-radius: 10px;
  box-shadow: 0px 4px 8px 0px #888;
}

.fas.fa-city{
  color:white; 
  display: inline-block; 
  padding: 0.5em 0.6em; 
  margin-top: -15px;
}

.container.objektif{
  margin-top: 60px;
  margin-bottom: 60px;
  transition: 0.5s;
}

.container-fluid.sektor{
  background-color: #eaeaea;
  transition: 0.5s;
}

.container-fluid.data{
  background-color: #eaeaea;
  transition: 0.5s;
}

.container-fluid.maps{
  background-color: #eaeaea;
  transition: 0.5s;
}

.container.kontak{
  padding-top: 60px;
  padding-bottom: 60px;
  transition: 0.5s;
}

.dropdown-toggle::after {
  float: right;
  margin-top: 10px;
}

::-webkit-scrollbar {
    width: 1px;
    height: 5px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: gray;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}

.tab-content{
  background-color: white;
  border-radius: 1px;
  height : 700px;
}

.nav.nav-tabs.top{
  box-shadow:0 4px 2px -2px #888;
  width:85%; 
  margin-left:15%; 
  position: fixed; 
  background-color: white; "
}

/*.nav.nav-tabs.inside{
  box-shadow:0 4px 2px -2px #888;
  margin-top: 20px;
  margin-left: 20px;
  overflow: hidden; 
  position: fixed; 
  background-color: white;
}*/

.container.laporan{
  margin-left:18%; 
  margin-top:2%;
  overflow: hidden;
  max-width: 80%;  
  padding: 4px;
 /* box-shadow: 0px 4px 8px 0px #888; */
  border-radius: 10px; 
  transition: 0.5s;
}

.container.dashboard{
  margin-left:18%; 
  margin-top:4%;
  overflow: hidden;
  max-width: 80%;  
  padding: 4px;
 /* box-shadow: 0px 4px 8px 0px #888; */
  border-radius: 10px; 
  transition: 0.5s;
  
}

.container.admin{
  margin-left:18%; 
  margin-top:5%;
  overflow: hidden;
  max-width: 80%;  
  padding: 4px;
 /* box-shadow: 0px 4px 8px 0px #888; */
  border-radius: 10px; 
  transition: 0.5s;
}

.container.topdown{
  margin-left:18%; 
  margin-top:5%;
  overflow: hidden;
  max-width: 80%;  
  padding: 4px;
 /* box-shadow: 0px 4px 8px 0px #888; */
  border-radius: 10px; 
  transition: 0.5s;
}

.container.laman{
  margin-top: 13%; transition: 0.5s;
}

.card.loginform{
  box-shadow: 0px 4px 8px 0px #888;
  background-color: #07173b;
  transition: 0.5s;
}

.fa.fa-home{
  color: white;
}

.fas.fa-key{
  color: white;
}

.language.login{
  color: white;
}

.d-flex.login{
  color: white;
}

.register{
  color: white;
}

.register:hover{
  color: white;
}

.link-language.login{
  color: white;
}

a.arrow{
  color: white !important;
}

.container-fluid.main{
  width: 100%;
  transition: 0.5s;
}

.nav-style{
  overflow: hidden; 
  position: relative;  
  z-index: 10;
}

.resetpass{
  color: white;
}

.yes{
  color: white;
}

.nav.nav-tabs.inside{
  border-radius: 10px;
}

ul.components {
    padding: 20px ;
    /*border-bottom: 1px solid #47748b;*/
}

table{
  counter-reset: tableCount;
}

.autoincrement:before{
  content: counter(tableCount);
  counter-increment: tableCount;
}

.language{
  float: right;
  text-align: right;
}

.language-info{
  float: right;
  text-align: right;
  margin-top: 3%;
  margin-right: 50px;
}

.language-infomain{
  float: right;
  text-align: right;
}


  
.wave:hover:before {
  top: 15px;
}
  
@keyframes wave {
  0% {
               transform: translate(-50%) rotate(-180deg);
      
  }
    
    
  100% {
            transform: translate(-50%) rotate(360deg);
  }
}

.user{
  background-color: #333131; padding: none; border: #333131;
}

.id{
  border-radius: 50%;
  position: relative;
  top: -5px;
  left: -5px;
}

.chartMenu {
  width: 100vw;
  height: 20px;
  background: #1A1A1A;
  color: rgba(255, 26, 104, 1);
}
.chartMenu p {
  padding: 10px;
  font-size: 20px;
}
.chartCard {
  width: 100vw;
  height: calc(50vh - 30px);
  background: rgba(255, 26, 104, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.chartBox {
  width: 100px;
  padding: 20px;
  border-radius: 20px;
  border: solid 3px rgba(255, 26, 104, 1);
  background: white;
}

.no-data {
  margin-top: 80px;
  font-size: 16px;
  font-style: italic;
}

@media (max-width:  480px){
  .container.inputdata{
    margin-left:18%; 
    margin-top:9%; 
    padding: 10px;  
    box-shadow: 0px 4px 8px 0px #888; 
    border-radius: 10px; 
    max-width: 79%; 
    transition: 0.5s;
    background-color:white;
  }

  div.container-fluid.mainpage{
    margin-top: 9%; 
    margin-left: 17%; 
    height: 100px; 
    max-width: 82%;
  }

  .container.laporan{
    margin-left:18%; 
    margin-top:4%;
    overflow: hidden;
    max-width: 80%;  
    padding: 4px;
   /* box-shadow: 0px 4px 8px 0px #888; */
    border-radius: 10px; 
  }
}

@media (max-width:  768px){
  .container.inputdata{
    margin-left:18%; 
    margin-top:9%; 
    padding: 10px;  
    box-shadow: 0px 4px 8px 0px #888; 
    border-radius: 10px; 
    max-width: 79%; 
    transition: 0.5s;
    background-color:white;
  }

  div.container-fluid.mainpage{
    margin-top: 9%; 
    margin-left: 17%; 
    height: 100px; 
    max-width: 82%;
  }

  .container.laporan{
    margin-left:18%; 
    margin-top:4%;
    overflow: hidden;
    max-width: 80%;  
    padding: 4px;
   /* box-shadow: 0px 4px 8px 0px #888; */
    border-radius: 10px; 
  }
}

@media (max-width:  1024px){
  .container.inputdata{
    margin-left:18%; 
    margin-top:9%; 
    padding: 10px;  
    box-shadow: 0px 4px 8px 0px #888; 
    border-radius: 10px; 
    max-width: 79%; 
    transition: 0.5s;
    background-color:white;
  }

  div.container-fluid.mainpage{
    margin-top: 9%; 
    margin-left: 17%; 
    height: 100px; 
    max-width: 82%;
    transition: 0.5s;
  }

  .container.topdown{
    margin-left:18%; 
    margin-top:8%;
    overflow: hidden;
    max-width: 80%;  
    padding: 4px;
   /* box-shadow: 0px 4px 8px 0px #888; */
    border-radius: 10px; 
    transition: 0.5s;
  }


  .container.laporan{
    margin-left:18%; 
    margin-top:9%;
    overflow: hidden;
    max-width: 80%;  
    padding: 4px;
   /* box-shadow: 0px 4px 8px 0px #888; */
    border-radius: 10px; 
    transition: 0.5s;
  }

  .container.dashboard{
    margin-top:8%;
    overflow: hidden;
    max-width: 80%;  
    padding: 4px;
   /* box-shadow: 0px 4px 8px 0px #888; */
    border-radius: 10px; 
    transition: 0.5s;
  }

  .container.admin{
    margin-left:18%; 
    margin-top:8%;
    overflow: hidden;
    max-width: 80%;  
    padding: 4px;
   /* box-shadow: 0px 4px 8px 0px #888; */
    border-radius: 10px; 
    transition: 0.5s;
  }

  #sidebar.active {
      margin-left: 0px;
      transition: 0.5s;
  }

  #sidebar {
    margin-left: -310px;
    transition: 0.5s;
  }

  #navbar2 {
      margin-left: auto;
      width: 100%;
      transition: 0.5s;
    }

  #navbar2.active {
      margin-left: 16%;
      width: 85%;
      transition: 0.5s;
    }

  #container2.active {
      margin-left: 18%;
      transition: 0.5s;
      width: 100%;
    }

  #container2 {
      margin-left: auto;
      transition: 0.5s;
      width: 100%;
    }

}

@media (max-width:  1200px){
  .container.inputdata{
    margin-left:18%; 
    margin-top:9%; 
    padding: 10px;  
    box-shadow: 0px 4px 8px 0px #888; 
    border-radius: 10px; 
    max-width: 79%; 
    transition: 0.5s;
    background-color:white;
  }

  div.container-fluid.mainpage{
    margin-top: 9%; 
    margin-left: 17%; 
    height: 100px; 
    max-width: 82%;
  }

  .container.laporan{
    margin-left:18%; 
    margin-top:4%;
    overflow: hidden;
    max-width: 80%;  
    padding: 4px;
   /* box-shadow: 0px 4px 8px 0px #888; */
    border-radius: 10px; 
  }
}

@media (max-width:  1500px){
  .container.inputdata{
    margin-left:18%; 
    margin-top:9%; 
    padding: 10px;  
    box-shadow: 0px 4px 8px 0px #888; 
    border-radius: 10px; 
    max-width: 79%; 
    transition: 0.5s;
    background-color:white;
  }

  div.container-fluid.mainpage{
    margin-top: 9%; 
    margin-left: 17%; 
    height: 100px; 
    max-width: 82%;
  }

  .container.laporan{
    margin-left:18%; 
    margin-top:4%;
    overflow: hidden;
    max-width: 80%;  
    padding: 4px;
   /* box-shadow: 0px 4px 8px 0px #888; */
    border-radius: 10px; 
  }
}