/* general */
.alert, .form-control, .navbar-toggler {
  border-radius: 2px !important;
}

@media (max-width: 767px) {
  .col-md-8 {
    margin-top: 1rem;
  }
}

#mainNav {
	background-color: var(--navbar-color);
}

.collapsable-nav-item {
	background-color: var(--sidenav-dark-color);
}

#mainNav #sideNav {
	background-color: var(--sidenav-color);
	width:250px;
	overflow:hidden;
	border-right: var(--sidenav-border);
}


#mainNav #sideNav a:hover {
	color: var(--sidenav-item-hover-color)!important;
}

#sideNav #sidenav-horizontal-rule {
	border-top: var(--sidenav-horizontal-rule);
}

#mainNav #sideNav li.active a {
	color: var(--sidenav-item-active-color)!important;
	background-color: var(--sidenav-item-active-bg)!important;
}

#mainNav #sideNav .nav-link {
	color: var(--sidenav-item-color);
	text-decoration: none!important;
}

#sideNav .text-info {
	color: var(--sidenav-icon-color)!important;
}

.collapsable-btn{
    display: flex;
    margin:9px 0px 9px 9px;
    align-items: flex-start;
	background-color: var(--sidenav-color);
	color: var(--sidenav-item-color);
	border: None;
}

#content-wrapper {
	background-color: var(--content-bg-color);
}

/* .nav-link-text:hover { */
/* 	color: var(--sidenav-item-active-color); */
/* } */

a {
  color: var(--link-color);
}

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

.scrollable-menu {
  height: auto;
  max-height: 40vh;
  overflow-x: hidden;
}
.list-group-item {
  padding: 8px 12px;
}

/* //#main-content { */
/* //  padding-bottom: 5%; */
/* //} */

body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    min-width: 300px;
    font-family: 'Nunito', sans-serif;
}

.nav-link-external span {
  color: var(--link-external-color);
}


@media only screen and (max-width: 600px) {
  .chart-btns {
    text-align: center;
  }
  .chart-btns .btn-group {
    margin-top: 3px;
  }
}

@media only screen and (min-width: 994px) {
  .old-filters-menu {
    margin: .125rem -18rem 0;
  }
}

.hidden {
  display: none
}

.js-plotly-plot .plotly, .js-plotly-plot .plotly div {
  margin: 0 auto !important;
}

/* data table */
#data-table td {
  font-size: 90%;
  padding: 5px;
}

/* loading */
.loading {
  opacity:    0.8;
  background: #000;
  width:      100%;
  height:     100%;
  z-index:    10;
  top:        0;
  left:       0;
  position:   fixed;
}

#globalLoading {
  z-index:    99999;
  bottom:      20px;
  right:       20px;
  position:   fixed;
  background-color: rgba(17, 17, 17, 0.8);
  padding: .5rem 1rem;
  border-radius: 5px;
  color: rgb(250, 250, 250);
  border: 1px solid rgb(78, 66, 78);
  width: 220px;
  text-align: center;
}
#globalLoading img {
    margin-right: 5px;
    width: 30px;
    height: 30px;
}

.loading-content {
  width: 100%;
  color: rgb(217, 209, 230);
  padding-top: 12.5rem;
  text-align: center;
  z-index: 9999;
}

@-moz-keyframes spin {
  from { -moz-transform: rotate(0deg); }
  to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
  from { -webkit-transform: rotate(0deg); }
  to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
  from {transform:rotate(0deg);}
  to {transform:rotate(360deg);}
}

.spin {
  -webkit-animation-name: spin;
  -webkit-animation-duration: 1500ms;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  -moz-animation-name: spin;
  -moz-animation-duration: 1500ms;
  -moz-animation-iteration-count: infinite;
  -moz-animation-timing-function: linear;
  -ms-animation-name: spin;
  -ms-animation-duration: 1500ms;
  -ms-animation-iteration-count: infinite;
  -ms-animation-timing-function: linear;
}

.filters {
  margin-top: 10px;
}

.modal-full {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.modal-content-full {
  background-color: rgb(250, 250, 250);
  height: auto;
  padding: 1%;
  min-height: 100%;
  border-radius: 0;
}

.fs-btn {
  z-index: 999;
  position: absolute;
  right: 20px;
  margin-top: 1.5rem;
}

.box-d {
    padding: 10px 20px;
    display: inline-block;
    border-radius: 2px;
    border: 1px solid rgb(203, 224, 230);
    color: rgb(70,70,70)
}

.dashboard-links a {
    margin-top: 4px;
}

 /* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 99999; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
    visibility: visible; /* Show the snackbar */

/* Add animation: Take 0.5 seconds to fade in and out the snackbar.
However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

[v-cloak] { display: none; }

.btn-group-xs > .btn, .btn-xs {
    padding  : .35rem .4rem;
    font-size  : .775rem;
    line-height  : .5;
    border-radius : .2rem;
}

.material-icons {
    vertical-align: middle;
    display: inline-flex;
}

.page-block {
    padding-bottom: 1rem;
}

.clickable:hover {
    cursor: pointer;
    font-weight: bold;
}

.content-wrapper {
    background-color: rgb(247, 247, 247);
}

.form-control {
  border-bottom: 2px solid rgb(32, 32, 32);
}

/* range slider style */
.slider {
  -webkit-appearance: none;  /* Override default CSS styles */
  appearance: none;
  width: 100%; /* Full-width */
  height: 18px; /* Specified height */
  background: #ececec; /* Grey background */
  outline: none; /* Remove outline */
  opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
  -webkit-transition: .2s; /* 0.2 seconds transition on hover */
  transition: opacity .2s;
}
.slider:hover {
  opacity: 1; /* Fully shown on mouse-over */
}
/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  width: 25px; /* Set a specific slider handle width */
  height: 25px; /* Slider handle height */
  background: #4CAF50; /* Green background */
  cursor: pointer; /* Cursor on hover */
  border-radius: 50%;
}
.slider::-moz-range-thumb {
  width: 25px; /* Set a specific slider handle width */
  height: 25px; /* Slider handle height */
  background: #4CAF50; /* Green background */
  border-radius: 50%;
  cursor: pointer; /* Cursor on hover */
}

.hoverpopup>div {
  display: none;
}

.hoverpopup:hover>div {
  display: block;
}
