/* E-faunalert - custom styles */
body {
  background-color: #E5E5E5;
  color: #343a40;
}
a, a:hover {
  color: #343a40;
}
.link {
  color: #007bff;
  margin: auto;
}

.link:hover {
  text-decoration: none;
  color: #007bff;
  background-color: #f4f4f4;
}
a:hover {
  text-decoration: none;
}
img {
  max-width: 100%;
}

/* Menu */

hr {
  width: 100%;
  border-top: 1px solid #E5E5E5;
}

.nav-item .material-icons {
  color: #A9B3C9;
}

.list-group-item {
  padding: 1.2rem 1.25rem;
  border-color: transparent;
}

.list-group-item.active {
  background-color: #f8f9fa;
  color: #495057;
  border-color: transparent;
}

.noti__item{
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.noti__item .quantity {
  position: absolute;
  display: inline-block;
  top: -4px;
  right: -7px;
  height: 15px;
  width: 15px;
  line-height: 15px;
  text-align: center;
  background: #ff4b5a;
  color: #fff;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  font-size: 12px;
}

.dropdown-menu {
  border: none;
}


.form-control {
  height: calc(2em + .75rem + 4px);
  border: 1px solid #ddd;
}
.button {
  border-radius: 0.2rem;
  font-size: 0.8em;
  font-weight: 500;
  -ms-flex-align: center!important;
  align-items: center!important;
  margin-bottom: auto;
  padding: 10px 4px;
  border: none;
  height: 44px;

}
.button:focus {
  outline: none;
}

.btn-dark {
  background-color: black;
  color: white;
}
.btn-light {
  background-color: white;
  color: black;
}

.btn-danger {
  background-color: #FF0000;
  color: white;
}


/* Utils */

.text-xl {
  font-size: 2rem;
}

.heading-title {
  font-size: 1.8rem;
}
.text-l {
  font-size: 1.5rem;
}
.text-m {
  font-size: 1rem;
}
.text-s {
  font-size: 0.9rem;
}

.text-muted {
  color: #a6a4a2;
}
.text-error {
  color: #FF0000;
}

.text-admin {
  color: #E65525;

}


.max-w-300 {
  max-width: 300px;
}
.max-w-200 {
  max-width: 200px;
}
.min-w-150 {
  min-width: 150px;
}


.line-clamp {
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.relative {
  position: relative;
}

.pin-b-l {
  position: absolute;
  left: 0;
  bottom: 0;
}

@media (max-width: 768px) {
  .navbar .nav-item.dropdown {
    position: inherit;
  }
  .navbar .nav-item.dropdown .dropdown-menu {
    margin-right: 4px;
  }
}

.collapsing {
  transition: none !important;
}

.fade-in {
  animation: fadeIn ease 1s;
  -webkit-animation: fadeIn ease 1s;
  -moz-animation: fadeIn ease 1s;
  -o-animation: fadeIn ease 1s;
  -ms-animation: fadeIn ease 1s;
  }
  @keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
  }
  
  @-moz-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
  }
  
  @-webkit-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
  }
  
  @-o-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
  }
  
  @-ms-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
  }

#filter_scope {
  max-width: -webkit-fill-available;
}

.bg-light {
  background-color: #f5f6f7!important;
}

/* Custom boostrap select */
  
.bootstrap-select .btn.btn-light, .bootstrap-select .btn.btn-light:active  {
  border: 1px solid #ddd;
  padding: 0.7rem .75rem;
  border: 1px solid #ddd;
  background-color: #dae0e500;
}

#filters .dropdown-item.active, #filters .dropdown-item:active {
  color: #495057;
  text-decoration: none;
  background-color: #f8f9fa;
}

#filters .bootstrap-select, #filters .daterange {
  max-width: 35%;
}

.bootstrap-select .dropdown-toggle .filter-option-inner-inner {
  font-size: 0.9em;
}

@media (max-width: 896px) {
  #filters .bootstrap-select, .daterange {
    max-width: 100%;
    margin-right: 0px!important;
    margin-left: 0px!important;
    margin-bottom: 4px!important;
  }
}

.bootstrap-select .dropdown-menu {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.bootstrap-select .dropdown-item {
  padding: 0.8rem 1.5rem;
}

.bootstrap-select .dropdown-menu {
  max-height: 300px;
} 


/* Custom boostrap select: Multiple  */

.bootstrap-select.show-tick .dropdown-menu li a span.text {
  margin-left: 18px;
}
.bootstrap-select.show-tick .dropdown-menu .selected span.check-mark {
  left: 15px;
  position: inherit;
}

.bootstrap-select.show-tick .dropdown-menu span.check-mark  {
  font-family: 'Material Icons';
}
.bootstrap-select.show-tick .bs-ok-default:after {
  content: '';
  display: contents;
  content: "check_box_outline_blank";
}

.bootstrap-select.show-tick .dropdown-menu .selected span.check-mark:after  {
  content: '';
  display: contents;
  content: "check_box";
}

.bootstrap-select.show-tick .dropdown-menu li a span.check-mark,  .dropdown-item {
  display: flex;
}



/* Daterangepicker */

.daterangepicker td.active, .daterangepicker td.active:hover {
  background-color: black;
  border-color: transparent;
  color: #fff;
}

.daterangepicker .button {
  margin-left: 4px;
  text-transform: uppercase;
  padding: 12px 4px;
}

.daterange  {
  color: #212529;
}
.daterange.form-control:focus  {
  color: #212529;
  border-color: #ddd;
  box-shadow: 0 0 0 0.2rem rgb(255 255 255 / 25%);
}

/* Tables */

.page-item .page-link, .page-item .page-link:hover {
  color: black;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: black;
  border-color: black;
}

.bootstrap-table .fixed-table-container .table thead th .th-inner,  .bootstrap-table  .table td {
  padding: 0.25rem .75rem;
}

.bootstrap-table .form-control {
  height: calc(2em + .75rem + 0px);
}

.bootstrap-table  .table thead th, .bootstrap-table .table-bordered td, .bootstrap-table .table-bordered th {
  border: 1px solid transparent;
  border-bottom: 2px solid transparent;
}

.badge {
  width: fit-content;
}
.badge-light {
  background-color: #ececec;
}

a.badge-light:focus, a.badge-light:hover {
  background-color: #ddd;
  cursor: pointer;
}

.table-hover tbody tr:hover {
  background-color: rgb(0 0 0 / 2%);
}

.pagination .page-link, .pagination .page-link .material-icons {
    display: flex;
    align-items: center;
    font-size: 16px;
    height: 34px;
}


table tr {
  cursor: pointer;
}

/* Tabs */

.nav-tabs a.nav-link.active {
  color: black;
}

/* Modals */

.close {
  font-size: 2rem;
  opacity: 1;
}
.close span:hover {
  background-color: #f4f4f4;
  border-radius: 100%;
}

.modal-header, .modal-footer {
  border:none;
}