﻿.context_window {
  --hbar_width: 30px;
  position: relative;
  background-color: white;
  border: 1px solid var(--color-gray-300);
  padding-bottom: 2px;
  padding-top: 2px;
}
.context_window .items {
  position: relative;
}
.context_window .close_context {
  background-color: white;
  height: 20px;
  position: relative;
  margin-top: -2px;
}
.context_window .close_context .close_btn {
  background-image: url(../../images/basic/cancel_dark.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 15px;
  width: 15px;
  height: 15px;
  position: absolute;
  top: 2px;
  right: 2px;
  background-color: transparent;
  transition: background-color 0.3s;
}
.context_window .close_context .close_btn:hover {
  background-color: red;
  background-image: url(../../images/basic/cancel_white.png);
}
.context_window .hbar {
  position: absolute;
  top: 0px;
  left: 0px;
  bottom: 0px;
  width: var(--hbar_width);
  background-color: var(--color-whitesmoke);
}
.context_window .group_text_center_full {
  height: 1px;
  width: calc(100% - 40px);
  margin-left: 35px;
  margin-top: 10px;
  margin-bottom: 5px;
  background-color: lightgray;
}
.context_window .group_text_center {
  display: flex;
  width: calc(100% - 40px);
  height: 20px;
  align-items: center;
  justify-content: end;
  margin-left: 35px;
  font-size: 9pt;
  font-weight: 500;
  color: #444;
}
.context_window .group_text_center::before {
  content: "";
  width: 100%;
  height: 1px;
  margin-right: 5px;
  background-image: -webkit-linear-gradient(top, #fff, lightgray, #fff);
  background-image: -moz-linear-gradient(top, #fff, lightgray, #fff);
  background-image: -ms-linear-gradient(top, #fff, lightgray, #fff);
  background-image: -o-linear-gradient(top, #fff, lightgray, #fff);
  background-image: linear-gradient(top, #fff, lightgray, #fff);
}
.context_window .group_text_center::after {
  content: "";
  width: 15px;
  height: 1px;
  margin-left: 5px;
  background-image: -webkit-linear-gradient(top, #fff, lightgray, #fff);
  background-image: -moz-linear-gradient(top, #fff, lightgray, #fff);
  background-image: -ms-linear-gradient(top, #fff, lightgray, #fff);
  background-image: -o-linear-gradient(top, #fff, lightgray, #fff);
  background-image: linear-gradient(top, #fff, lightgray, #fff);
}
.context_window .ctx_item {
  height: var(--hbar_width);
  position: relative;
  background-color: transparent;
  transition: background-color 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 9pt;
}
.context_window .ctx_item .ctx_item_image {
  width: var(--hbar_width);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.context_window .ctx_item .ctx_item_image img {
  max-width: 22px;
  max-height: 22px;
}
.context_window .ctx_item .ctx_item_text {
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-left: 5px;
  margin-right: 10px;
  pointer-events: none;
}
.context_window .ctx_item:hover {
  background-color: rgba(0, 0, 0, 0.07);
}
.context_window .ctx_item input[type=checkbox] {
  pointer-events: none;
  margin-left: auto;
  margin-right: 6px;
}
.context_window .ctx_item_hover {
  background-color: rgba(0, 0, 0, 0.07);
}
.context_window .ctx_item_disabled {
  pointer-events: none;
  opacity: 0.5;
  -webkit-filter: grayscale(60%);
  filter: grayscale(60%);
}
.context_window .sub_ctx {
  padding-right: var(--hbar_width);
  background-position: right 8px center;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 6'><path stroke-width='1.2' fill='transparent' stroke='rgb(70,70,70)' d='M 1 0 L 4 3, 1 6'/></svg>");
  background-size: 8px;
}
