img {
    filter: var(--filter-blackSvg-to-textColor);
    height: 1.2em;
}
button{
    background-color: transparent;
    border: 1px solid transparent;
    outline: none;
    color: var(--color-text);
}
button span{
    font-size: var(--font-size)
}
body {
    font-family: Tahoma;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

button:focus {
    outline: none;
    border: 1px solid var(--color-highlight);
}

button:hover {
    background-color: var(--color-btn-hover);
    border: 1px solid var(--color-light);
}
button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

input {
    background-color: var(--color-altbase) !important;
    color: var(--color-highlightedtext);
    border: 1px solid transparent;
}
td input {
    padding-left: 3px;
    padding-right: 3px;
}
td input[type="text"]{
    height: 1.5rem !important;
}
td .lim-dropdown {
    padding: 0 !important;
}
td .lim-dropdown .text{
    border-right: 1px solid var(--color-base);
} 
input:focus {
    outline: var(--color-highlight);
    border: 1px solid var(--color-highlight);
}
.toolButton {
    padding: 2px;
    width: calc(1.2em + 8px);
    border: 1px solid transparent;
    height:  calc(1.2em + 8px);
}
.toolButton:hover {
    border: 1px solid var(--color-gray-5);
}
.text-button{
    border: 1px solid var(--color-dark);
    border-radius: 2px;
    background-color: var(--color-window);
    background-image: var(--text-button-gradient);
    color: var(--color-highlightedtext);
    outline: none;
    padding: 0.1rem;
    font-size: var(--font-size);
    font-family: Tahoma;
    width: 9rem;
    margin: 5px;
    overflow: hidden;
}
.text-button[disabled]{
    color: var(--color-text-disabled);
}
.text-button:not([disabled]):hover{
    border: 1px solid var(--color-dark)!important;
    filter: brightness(1.03);
    border-radius: 1px;
}
input.errorText, #errorText{
    color: var(--color-error);
    padding-left: 1rem;
    overflow: auto;
    margin: 0.5rem 0;
    font-family: Tahoma;
}
code {
    font-family: monospace;
    padding-bottom: 1rem;
    color: var(--color-code);
}
.key-word {
    color: var(--color-keyword);
}
.feature-menu{

    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.feature-menu.closed {
    align-items: center;
}
.feature-menu.open {
    align-items: flex-start;
    z-index: 100;
}
.feature-menu-wrapper {
    position: relative;
    display:flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: start;
    background-color: var(--color-base);
    width: 6rem;
}
.menu-closed{
    width: 100%;
    height: 1.25rem;
}
.menu-closed .container{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: start;
}
.feature-menu div.container {
    background-color: var(--color-base);
    min-width: 5rem;
}
.container div {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}
.feature-menu div.container button {
    height: 1rem;
}
.feature-menu div {
    padding: 1px;
}
.delete-button {
    padding: 0;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.open{
    transform: translate(0, -0.6rem);
    position: absolute;
    left: 1px;
    z-index: 100;
}
.open div {
    width: 29.8vw;
    padding-left: 1px;
    padding-top: 1px;
}
.open div span {
    transform: scale(0.7) translate(-6px,-2px)
}
.feature-menu-wrapper span {
    transform: scale(0.7);
}
th {
    padding-left: 3px;
}
.container {
    max-height: 10rem;
    overflow-y: auto;
    overflow-x: hidden;
}
.menu-closed .container span {
    transform: scale(0.7) rotate(45deg) translate(-1px);
}
.feature-menu:hover .menu-closed .container span{
    color: var(--color-accent)
}