#header {
  background-color: var(--theme-color);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  margin: 0;
  max-height: 500px;
  box-shadow: 0 0 0px 1px rgba(0, 0, 0, 0.2);
  position: fixed;
  width: 100vw;
  top: 0;
  z-index: 9999;
}
#header.row,#header.row:before,#header.row:after{
  content: unset;
}
#header #title {
  margin: 0;
  background: #fff;
  padding: 0 12px;
  color: var(--theme-color);
  font-weight: bold;
  display: flex;
  align-items: center;
  font-size: 1.3em;
  letter-spacing: 1px;
}
#header #header_user {
  padding: 0;
  font-size: 14px;
  text-align: right;
  align-items: stretch;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: space-between;
  gap: 16px;
}
#header #header_user font:nth-child(2) {
  font-style: italic;
}

#header_logo_container {
  background: #fff;
  padding: 0 12px;
  display: flex;
  align-items: center;
}
#header_logo_container #profile_image_container {
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #f2f2f2;
  margin-bottom: 10px;
}

#htms {
  cursor: pointer;
}
.htms_list {
  /*display:none;*/
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
}
.htms_list li {
  padding: 7px;
  background: #dcdee3;
  margin-bottom: 3px;
}
.htms_list li a {
  text-decoration: none;
}
.htms_list li:hover {
  background: #b0b2b7;
}
#vms {
  /*margin-top:3px;*/
}
.htms_list li.active {
  background: var(--theme-color);
}
.htms_list li.active a {
  color: #fff;
}

/*.leaflet-control-layers{
	left: 0;
    top: 10vh;
}*/

@-webkit-keyframes slide-down {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-10px); /*translateY(-100%);*/
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
  }
}
@-moz-keyframes slide-down {
  0% {
    opacity: 0;
    -moz-transform: translateY(-10px); /*translateY(-100%);*/
  }
  100% {
    opacity: 1;
    -moz-transform: translateY(0);
  }
}



#navbar_dropdown {
  height: inherit;
  position: relative;
  padding: 0;
  width: auto;
  display: flex;
  align-items: center;
}
#navbar_dropdown #username_content {
  display: inline-block;
  color: #fff;
  height: inherit;
  line-height: 30px;
  cursor: pointer;
}

#navbar_dropdown #username_content:hover {
  font-weight: bold;
}

#navbar_dropdown #navbar_dropdown_content {
  position: absolute;
  right: 0;
  background: #fff;
  top: 40px;
  border: 1px solid #f2f2f2;
  width: 18vw;
  padding: 10px;
  box-shadow: 0 0 3px 0px rgba(0, 0, 0, 0.1);
  display: none;
  -webkit-animation: slide-down 0.3s ease-out;
  -moz-animation: slide-down 0.3s ease-out;
}
#navbar_dropdown #navbar_dropdown_content.active {
  display: block;
}

#navbar_dropdown_content a {
  display: block;
  font-size: 12px;
  color: var(--theme-color);
  padding: 10px;
  text-decoration: none;
  text-align: left;
  letter-spacing: 1px;
  /* border-bottom: 1px solid #f2f2f2; */
}
#navbar_dropdown_content a > i {
  margin-right: 10px;
}

#navbar_dropdown_content a:hover {
  background: #f2f2f2;
  border-radius: 4px;
  font-weight: bold;
}



.left-menu-container {
  text-align: center;
  margin: 0;
  width: 100vw;
  margin-top: 30px;
}


#profile_image_container {
  text-align: center;
  padding: 15px;
  margin-bottom: 10px;
  border-bottom: 1px solid #f2f2f2;
}
#profile_image_container span {
  font-size: 34px;
  background: #2a676b;
  /* padding: 10px; */
  border-radius: 50%;
  display: inline-block;
  width: 60px;
  height: 60px;
  color: #fff;
  padding: 6px 0;
}
#profile_image_container img {
  padding: 2px;
  border: 1px solid var(--theme-color)29;
  font-size: 40px;
  background: #2a676b;
  /* padding: 10px; */
  border-radius: 50%;
  display: inline-block;
  width: 60px;
  height: 60px;
  color: #fff;
  border: 1px solid #f2f2f2;
  background: none;
}

#navbar_notification_container {
  padding: 0;
  position: relative;
  display: flex;
  align-items: center;
}

.navbar_notification_icon {
  color: #fff;
  display: block;
  font-size: 18px;
  line-height: 30px;
  position: relative;
}

.navbar_notification_icon #navbar_notification_badge {
  position: absolute;
  font-size: 10px;
  padding: 0;
  background: red;
  border-radius: 50%;
  text-align: center;
  font-weight: bold;
  width: 20px;
  height: 20px;
  line-height: 20px;
  right: -14px;
  display: none;
}
.navbar_notification_content {
  position: absolute;
  width: 30vw;
  right: 0;
  top: 50px;
  background: #fff;
  padding: 10px 5px;
  max-height: 60vh;
  overflow: auto;
  display: none;
  flex-direction: column;
  border: 1px solid #f2f2f2;
  box-shadow: 0 0 3px 0px rgba(0, 0, 0, 0.1);
  -webkit-animation: slide-down 0.3s ease-out;
  -moz-animation: slide-down 0.3s ease-out;
}

.navbar_notification_content.active {
  display: flex;
}

.navbar_notification_content .notification_item {
  text-align: left;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.navbar_notification_content .notification_item:hover {
  background: #f2f2f2;
  cursor: pointer;
}
.notification_item .notification_item_timeline {
  width: 15%;
  display: inline-block;
  /* flex-grow: 1; */
  text-align: center;
  padding-top: 10px;
  position: relative;
}
.notification_item_timeline .notification_item_icon {
  font-size: 20px;
  padding: 6px 6px;
  border: 1px solid #d8d8d8;
  border-radius: 50%;
  display: inline-block;
  text-align: center;
  line-height: 18px;
  background: #fff;
  z-index: 18;
  position: relative;
}

.notification_item_icon[data-type="rea"] {
  color: #d8d808;
  border: 1px solid #d8d808;
}

.navbar_notification_icon:hover {
  color: #dad3d3;
  cursor: pointer;
}
.notification_item_timeline .notification_item_vline {
  position: absolute;
  width: 2px;
  height: 100%;
  background: #dad8d84f;
  left: 50%;
  z-index: 0;
}
.notification_item_content {
  width: 85%;
  display: inline-block;
  padding: 10px 0;
  border-bottom: 1px solid #f2f2f2;
}
.notification_item_content .notification_item_content_desc {
  font-size: 14px;
  margin-bottom: 10px;
}
.notification_item_content_desc a {
  text-decoration: none;
  color: inherit;
}
.notification_item_content .notification_item_content_time {
  font-style: italic;
  color: #736d6d;
  font-size: 12px;
}
#noNewNotificationLabel {
  text-align: center;
  font-size: 12px;
  color: var(--theme-color)bd;
  letter-spacing: 2px;
}

.triangle {
  /* position: relative;
  margin: 3em;
  padding: 1em;
  box-sizing: border-box;
  background: #bada55;
  box-shadow: 0px 3px 3px 0 rgba(0, 0, 0, 0.4); */
  display: none;
}
.triangle.active {
  display: block;
}
.triangle::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  /* margin-left: -0.5em; */
  top: 50px;
  right: -8px;
  box-sizing: border-box;
  border: 5px solid black;
  border-color: transparent transparent #fff #fff;
  transform-origin: 0 0;
  transform: rotate(135deg);
  box-shadow: -2px 2px 3px 0 rgba(0, 0, 0, 0.1);
  z-index: 1;
}

#navbar_dropdown .triangle::after {
  right: 2px;
}

body.show-magic{
  animation: hidden-magic 1s ease-in-out infinite;
}
@-webkit-keyframes hidden-magic {
  0% {
    background-color: red;
  }
  20% {
    background-color: orange;
  }
  40% {
    background-color: yellow;
  }
  60% {
    background-color: green;
  }
  80% {
    background-color: blue;
  }
  100% {
    background-color: pink;
  }
}