﻿.astrend-toolbar-navbar {
    height: 30px;
    flex-wrap: nowrap;
    overflow: hidden;
    font-size: 14px;
}

.astrend-toolbar-navbar-nav {
    height: 25px;
    flex-wrap: nowrap;
    overflow: hidden;
}


.astrend-toolbar-nav-link {
    border: 1px solid transparent;
    outline: 0;
}

    .astrend-toolbar-nav-link.focusable:focus {
        border: 1px solid var(--bs-secondary-color);
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.2);
        border-radius: var(--bs-border-radius);
    }



.astrend-toolbar-ribbon-underline {
    border-bottom: 3px solid var(--bs-body-color);
}

.astrend-toolbar-tab {
    height: 90px;
    padding-top: 2px;
    padding-left: 10px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.astrend-toolbar-section {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.astrend-toolbar-section-content {
    height: 77px;
    display: flex;
}

.astrend-toolbar-section-label {
    height: 12px;
    width: 100%;
    text-align: center;
    font-size: 10px;
    line-height: 10px;
    padding: 0;
    margin: 0;
    --background-color: aquamarine;
}


.astrend-toolbar-separator {
    display: inline-block;
    height: 100%;
    width: 2px;
    margin: 3px 4px;
    border-right: 1px solid var(--bs-border-color);
}


.astrend-toolbar-button-separator {
    display: inline-block;
    height: 68px;
    width: 2px;
    margin: 0px 1px; /* top/bottom, right/left */
    border-right: 1px solid var(--bs-border-color);
}


.btn-transparent {
  --bs-btn-color: var(--bs-body-color);
  --bs-btn-border-color: transparent;

  --bs-btn-hover-color: var(--bs-body-color);
  --bs-btn-hover-bg: var(--bs-tertiary-bg);
  --bs-btn-hover-border-color: transparent;

  --bs-btn-focus-shadow-rgb: 108, 117, 125;

  --bs-btn-active-color: var(--bs-body-color);
  --bs-btn-active-bg: var(--bs-secondary-bg);
  --bs-btn-active-border-color: transparent;
  --bs-btn-active-border-color: var(--bs-border-color);
  --bs-btn-active-border-color: var(--bs-tertiary-color);


  --bs-btn-disabled-color: var(--bs-tertiary-color);
  --bs-btn-disabled-border-color: transparent;

    box-shadow: none;
}

    .btn-transparent.focusable:focus, .btn-transparent.focusable.focus {
        box-shadow: 0 0 0 2px gray;
    }



.astrend-toolbar-large-button {
    padding: 6px 6px 0px 6px !important;
    margin-right: 4px;
}



.astrend-toolbar-dropdown-scrollable {
    height: auto;
    max-height: calc(100% - 200px);
    overflow-x: hidden;
}


.astrend-toolbar-dropdown-item {
    padding: 3px 12px 3px 21px !important;
    max-width: 350px;
    text-overflow: ellipsis;
}


    .astrend-toolbar-dropdown-item:hover {
        background-color: var(--bs-tertiary-bg);
        /* bootstrap oryginalny kolor dla dropdown-item #f8f9fa*/
    }


.astrend-toolbar-small-button {
    padding: 2px !important;
    margin: 0px !important;
}



.astrend-quick-access-button {
}

    .astrend-quick-access-button:hover {
        background-color: var(--bs-primary-bg-subtle);
    }


.astrend-toolbar-vertical-group {
    height: 100%;
    display: inline-flex;
    flex-direction: column;
    vertical-align: top;
    justify-content: space-evenly;
}


.astrend-toolbar-vertical-grid-group {
    height: 100%;
    display: inline-grid;
    align-items: center;
    grid-template-columns: min-content min-content;
}


.astrend-toolbar-vertical-grid-group-label {
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
}

    .astrend-toolbar-vertical-grid-group-label.disabled, .astrend-toolbar-vertical-grid-group-label:disabled {
        opacity: 0.65;
        color: var(--bs-tertiary-color);
    }


.astrend-toolbar-horizontal-group {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
}


.astrend-toolbar-grid-group-2col {
    display: grid;
    grid-auto-flow: row;
    align-items: center;
    grid-column-gap: 5px;
    grid-template-columns: repeat(2, min-content);
}


.astrend-toolbar-spin-edit {
}

    .astrend-toolbar-spin-edit::after {
        position: absolute;
        top: 1px;
        right: 4px;
        transition: all .05s ease-in-out;
    }


    .astrend-toolbar-spin-edit:hover::after,
    .astrend-toolbar-spin-edit:focus-within::after {
        right: 1.2em;
    }


@-moz-document url-prefix() {
    .astrend-toolbar-spin-edit::after {
        right: 1.2em;
    }
}

.astrend-toolbar-spin-edit-percent::after {
    content: '%';
}



.astrend-toolbar-color-combo {
}


.astrend-toolbar-checkbox {
}


.astrend-toolbar-color-combo button.btn {
    overflow: hidden;
    white-space: nowrap;
    display: block;
    text-overflow: ellipsis;
}


@media (min-height: 500px) {
    .d-h500-grid-col2 {
        display: grid;
        grid-template-columns: repeat(2, min-content);
    }
}

@media (min-height: 780px) {
    .d-h780-block {
        display: block !important;
    }
}


.astrend-toolbar-chart-layout {
    width: 24px;
    height: 17px;
    margin-right: 16px;
    border: 1px solid var(--bs-body-color);
    background-color: var(--bs-body-color);
    display: inline-grid;
    gap: 1px;
}

    .astrend-toolbar-chart-layout div {
        background-color: var(--bs-body-bg);
    }
