/* Red Light scheme (Default) */
/* Can be forced with data-theme="light" */
[data-theme="light"],
:root:not([data-theme="dark"]) {
  --primary: #b01c2e;
  --primary-hover: #d42136;
  --primary-focus: rgba(175, 41, 39, 0.125);
  --primary-inverse: #fff;
}

/* Red Dark scheme (Auto) */
/* Automatically enabled if user has Dark mode enabled */
@media only screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --primary: #b01c2e;
    --primary-hover: #d42136;
    --primary-focus: rgba(175, 41, 39, 0.25);
    --primary-inverse: #fff;
  }
}

/* Red Dark scheme (Forced) */
/* Enabled if forced with data-theme="dark" */
[data-theme="dark"] {
  --primary: #b01c2e;
  --primary-hover: #d42136;
  --primary-focus: rgba(175, 41, 39, 0.25);
  --primary-inverse: #fff;
}

/* Red (Common styles) */
:root {
	--form-element-active-border-color: var(--primary);
	--form-element-focus-color: var(--primary-focus);
	--switch-color: var(--primary-inverse);
	--switch-checked-background-color: var(--primary);
}

form, button {
  margin: 0;
}

button {
  margin-bottom: .5em;
}

.navigation {
  background-position: left;
  background-color: #f0f0f0;
  height: 80px;
}

th {
  font-weight: bold;
}

.export {
  padding: 1.5em 2em;
}

.map {
  height: 500px;
  background: #f0f0f0;
}

.tab {
  position: relative;
  margin: 0 auto;
}

.submenu {
  display: table;
  border-bottom: 1px solid #333;
  margin-bottom: 2em;
  text-align: right;
  width: 100%;
}

.tabsel a {
  background: #d42136 !important;
  color: #fff !important;
}

.tab li {
  float: left;
  overflow: hidden;
  list-style-type: none;
  min-width: 150px;
  display: block;
  margin-right: 1px;
  margin-bottom: 0px;
  text-align: center;
  cursor: pointer;
  position: relative;
  color: #fff;
  background: #ccc;
  border-top-left-radius: 5px; 
  border-top-right-radius: 5px;
}

.tab li a {
  margin: 0;
  display: block;
  text-decoration: none;
  color: #000;
  padding: .5em;
}

.tab li a:hover {
  background:#d42136;
  color:#fff;
}

.userid {
  margin-top: 1em;
  float: right;
  color: #000;
  font-weight: bold;
}

.center {
  text-align: center;
}

.profile {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
}

.profile img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-menu {
  position: absolute;
  top: 110px;
  right: 10px;
  padding: 0 15px;
  background: #ccc;
  width: 200px;
  box-sizing: 0 5px 25px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  transition: 0.5s;
  visibility: hidden;
  opacity: 0;
}

.profile-menu.active {
  top: 80px;
  visibility: visible;
  opacity: 1;
}

.profile-menu::before {
  content: "";
  position: absolute;
  top: -5px;
  right: 30px;
  width: 20px;
  height: 20px;
  background: #ccc;
  transform: rotate(45deg);
}

.profile-menu ul li {
  list-style: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
}

.profile-menu ul li a {
  display: inline-block;
  text-decoration: none;
  color: #555;
  
  transition: 0.5s;
  font-size: .9em;
}

nav.container-fluid.navigation ul li ul {
  display: inline;
}

.profile-menu ul li:hover a {
  color: #d42136;
}

.circle {
  display: inline-block;
    background-color: #b01c2e;
    margin: 10px;
    border-radius: 50%;
}

.circle-inner {
  color: white;
  display: table-cell;
  vertical-align: middle; 
  text-align: center;
  text-decoration: none;
  height: 40px;
  width: 60px;  
  font-size: 20px;
}

.pages {
  text-align: center;
  margin-bottom: 1em;
}

.ppage {
  text-align: right;
  font-size: .9em;
}

.ppage select, .ppage option {
  font-size: .9em;
  padding: 8px;
  width: 100px;
}

.pagination {
  display: inline-block;
  margin: 0 auto;
  overflow: hidden;
}

.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 5px;
}

.pagination a.psel {
  background-color: #ccc;
  border-radius: 5px;
}

.pagination a:hover:not(.active) {
  background: #ddd;
}



