﻿.f-dg-table > tbody {
    vertical-align: inherit;
}

.f-dg-table {
    width: 100%;
    margin-bottom: 1rem;
    vertical-align: top;
}

.grid-collapse .more-tables thead {
    z-index: 9
}

.TableResizeAndMove .tr-active td:not(.grid-tools,.fixedtdcollapse,.row-exception,.row-exception-warn) {
    background-color: #b5b5b5;
}

.grid-settings-icon {
    cursor: pointer;
    font-size: 20px;
}

.f-dg-table th input:focus {
    outline: none;
    border-color: black;
    outline: 0;
    box-shadow: none;
}



.f-dg-table th input {
    outline: none;
    /* user-select: none; */
    border: 1px solid silver;
    border-radius: 4px;
    width:100%;
}

.grid-searchbar {
    background: silver;
    padding: 2px 3px;
    align-items: center;
    display: flex;
    border-radius: 3px;
    gap: 2px
}

.grid-search {
    outline: 0;
    vertical-align: text-top;
    width: 180px;
}

.search-div input {
    border: 0;
    min-width: 0;
    border-radius:5px;
}

.search-div i {
    cursor: pointer;
    font-size: 16px;
    margin: auto 5px
}

.search-div {
    align-items: center;
    border: 1px solid silver;
    border-radius: 5px;
    display: flex;
    flex-wrap: nowrap;
    background: white;
}

.grid-searchbar span {
    white-space: nowrap;
}

.grid-search, .grid-searchbar-btn, .grid-searchbar span {
    padding: 4px;
    height: 25px;
}

.grid-searchbar-btn, .grid-searchbar span {
    border-radius: 3px;
}

.grid-searchbar-btn {
    background: white;
    font-size: 15px;
    cursor: pointer;
}

.page-item.active .page-link:hover, .page-item .page-link:hover {
    background-color: #4c4b4b;
    color: #fff
}

/*select:focus, input:focus, textarea:focus {
    background-color: lightgoldenrodyellow;
}*/

div.more-tables, .no-more-tables {
    padding: 5px;
    background: #fff;
    border-radius: 6px;
}

.f-dg-table .fixedth, .f-dg-table .grid-tools, .fixedtdcollapse, .fixedthcollapse {
    background-color: #ddd;
}

.more-tables tbody td.grid-tools:first-child, .more-tables thead th.fixedth:first-child, .more-tables thead th.fixedthcollapse:last-child, .more-tables tbody td.fixedtdcollapse:last-child {
    position: sticky;
    z-index: 2
}

.more-tables thead th.fixedthcollapse:last-child, .more-tables tbody td.fixedtdcollapse:last-child {
    right: 0
}

.more-tables tbody td.grid-tools:first-child, .more-tables thead th.fixedth:first-child {
    left: 0;
    transform: translateX(-1px)
}

.more-tables tbody tr:last-child td.fixedtdcollapse:last-child {
    border-radius: 0 0 6px 0
}

table .collapse-btn {
    background-color: #fff;
    outline: none;
    border: 0;
    width: 25px;
    margin: auto;
    color: #000
}

    table .collapse-btn:focus {
        outline: none
    }

td.grid-collapse-fix .no-more-tables {
    width: -webkit-fill-available;
    width: -moz-available
}

#grid-tools select {
    margin: 0
}

td.grid-collapse-fix .no-more-tables #grid-tools, td.grid-collapse-fix .more-tables #grid-tools {
    z-index: 5;
    margin: auto;
    position: relative;
    padding: 2px
}

.no-more-tables .grid-collapse {
    display: block
}

table .btn.collapse-btn:hover {
    background-color: silver;
    color: #000;
    outline: none
}

.more-tables thead th.fixedthcollapse:last-child {
    border-radius: 0 6px 0 0
}

.more-tables thead th.fixedth:first-child {
    border-radius: 6px 0 0 0
}

.more-tables tbody tr:last-child td.grid-tools:first-child {
    border-radius: 0 0 0 6px
}

.more-tables thead th.fixedth:first-child {
    border-radius: 6px 0 0 0
}

.page-item .page-link {
    z-index: 1;
    color: #fff;
    background-color: #202020;
    border: none;
    margin: 0 2px;
    border-radius: 5px;
    font-size: 15px;
    padding: 3px 10px;
    color: #fff;
    font-weight: 400
}

.pagination label {
    font-size: 12px;
    padding: 0;
    margin: auto
}

.pagination {
    background: darkslategrey;
    color: #fff;
    padding: 2px;
    border-radius: 5px;
    margin: 0
}

.page-item.disabled .page-link {
    background-color: #000;
    color: #fff
}

.page-item.active .page-link {
    background-color: #747474;
    color: #fff
}

.no-more-tables table > tbody > tr > td, .no-more-tables table > tbody > tr > th, .no-more-tables table > tfoot > tr > td, .no-more-tables table > tfoot > tr > th, .no-more-tables table > thead > tr > td, .no-more-tables table > thead > tr > th {
    padding: 2px
}

.data-title {
    display: block
}

.no-more-tables table, .no-more-tables thead, .no-more-tables tbody, .no-more-tables th, .no-more-tables td, .no-more-tables tr {
    display: block
}

    .no-more-tables thead th {
        position: absolute;
        display: none
    }

        .no-more-tables thead th.fixedth {
            z-index: 2;
            display: block;
            position: relative;
            width: auto;
            float: left;
            border: none;
            height: auto;
            margin-right: 4px;
            top: 1px;
            padding: 0;
            border-radius: 3px
        }

    .no-more-tables tr td.grid-tools {
        position: relative;
        border-radius: 5px;
        margin: 0;
        float: left;
        width: auto;
        padding: 4px;
        padding-left: 0;
        height: auto;
        border: none;
        z-index: 1
    }

.no-more-tables .nodata {
    display: block
}

.no-more-tables td {
    border-bottom: 1px solid #eee;
    position: relative;
    display: flex;
    justify-content: space-between;
    white-space: normal;
    text-align: left
}

.no-more-tables tr {
    border-bottom: 1px solid
}

.no-more-tables .fbtn_control {
    display: flex;
    width: fit-content;
    position: relative;
    z-index: 1
}

.no-more-tables thead th.fixedth .fbtn {
    font-size: 20px;
    border-radius: 2px;
    margin: 5px
}

.no-more-tables .fbtn {
    font-size: 20px;
    margin-left: 5px
}

.no-more-tables td input[type="text"], .no-more-tables td label, .no-more-tables td input[type="date"], .no-more-tables td input[type="tel"], .no-more-tables td input[type="number"], .no-more-tables td select, .no-more-tables td input[type="checkbox"], .no-more-tables td textarea {
    margin: 0
}

.no-more-tables td textarea {
    width: 100%;
    margin-left: 10px
}

.more-tables button.btn.btn_save {
    margin: auto
}

#grid-tools {
    background: #fff;
    position: sticky;
    z-index: 99;
    border-bottom: 1px solid silver;
    padding-bottom: 4px
}

.more-tables table > tbody > tr > td, .more-tables table > tbody > tr > th, .more-tables table > tfoot > tr > td, .more-tables table > tfoot > tr > th, .more-tables table > thead > tr > td, .more-tables table > thead > tr > th {
    padding: 2px 4px;
}

.more-tables table > thead > tr > th {
    position: relative;
}

.data-title {
    display: none
}

.response {
    background: #fff;
    overflow: auto
}

.grid-collapse-col {
    width: fit-content;
    padding: 5px;
    background-color: white;
    display: flex;
    gap: 5px;
    line-height: 2;
    border-radius: 5px;
}

.grid-tools .control_wrapper {
    width: 100%;
}

.grid-settings {
    background: transparent;
    position: relative;
}

    .grid-settings .dropdown-menu {
        max-height: 301px;
        overflow: auto;
        right: 0;
        top: 28.4px;
    }

        .grid-settings .dropdown-menu table thead th {
            background-color: white;
        }
        /*.grid-settings .dropdown-menu table thead th:nth-child(1){
        width:100px;
    }*/

        .grid-settings .dropdown-menu table td {
            border-top: 1px solid silver
        }

.grid-settings-body {
    max-height: 235px;
    overflow: auto;
    border-bottom: 1px solid silver;
    margin-bottom: 5px;
}

.grid-settings-body {
    width: 350px;
}

    .grid-settings-body table {
        width: 100%;
    }

@media (max-width:380px) {
    .grid-settings-body {
        width: 200px;
    }
}

.grid-refresh-btn {
    transition: transform .7s ease-in-out;
}

    .grid-refresh-btn:before {
        -webkit-transition: all 500ms 0s ease-in-out;
        transition: all 500ms 0s ease-in-out;
        display: inline-block;
    }

    .grid-refresh-btn:hover::before {
        transform: rotate(360deg);
    }

.grid-settings .f-collapse-button, .grid-refresh-btn, .grid-filter-clear-btn {
    background: silver;
    padding: 0;
    border-radius: 4px;
    width: 29px;
    height: 26px;
    border: none;
    font-size: 1rem;
}

.f-grid-filter-clear-btn {
    float: right;
    height: 20px;
    font-size: 22px;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
}

.f-grid-filter-header {
    margin: auto;
    height: 20px;
    width: 100%;
}

.grid-collapse-header {
    font-weight: 600;
    border-right: solid;
    background-color: silver;
    white-space: nowrap;
    padding: 0 5px;
    border-radius: 5px 10px 10px 5px;
}

.grid-collapse-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.grid-collapse-fix .f-collapse-body.dropdown-menu:not(.collapse) {
    z-index: 85;
}

.more-tables table tbody td:not(.grid-tools,.fixedtdcollapse,.grid-collapse-fix ) {
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis
}

.TableResizeAndMove.zebra tr:not(.tr-active):nth-of-type(even) {
    background: #f2f2f2
}

.f-dg-table .grid-collapse, .grid-collapse-cols {
    background-color: gray;
    overflow: auto
}

.grid-collapse, .grid-collapse-cols, div.collapse.in {
    display: table-row
}

.grid-collapse-fix #grid-tools {
    z-index: 0
}

.TableResizeAndMove th {
    background-color: #fff;
    vertical-align: baseline
}

.no-more-tables .grid-collapse.collapse.in, .grid-collapse.collapse.in .no-more-tables {
    display: block;
    width: 100%
}

.collapse-btn[aria-expanded=true] .fa-angle-up, .collapse-btn[aria-expanded=false] .fa-angle-down {
    display: none
}

.collapse-btn {
    border: 1px solid;
    border-radius: 5px;
    height: 25px;
    cursor: pointer;
    background-color: silver;
    outline: none;
    line-height: 15px;
    width: 40px;
    outline: none
}

    .collapse-btn:focus {
        box-shadow: none
    }

i.fbtn {
    cursor: pointer
}

/*th {
    white-space: nowrap
}*/

th.fixedth {
    width: 30px;
    min-width: 30px
}

.TableRowHighLight tr:hover td:not(.grid-tools,.fixedtdcollapse,.row-exception,.row-exception-warn) {
    background-color: lightgray;
    cursor: pointer
}

.editor_nav.toolbar ~ .more-tables .grid-collapse #grid-tools, .editor_nav.toolbar ~ .no-more-tables .grid-collapse #grid-tools {
    top: 0
}

.more-tables thead {
    position: sticky;
    top: 0;
    transform: translateY(-1px);
    z-index: 98
}

.more-tables .response::-webkit-scrollbar {
    width: .8em;
    height: .8rem
}

.more-tables .response::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 5px
}

.more-tables .response::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    border-radius: 5px
}

.more-tables .response {
    height: auto;
    margin-top: 2px;
    margin-bottom: 2px;
    border-bottom: 1px solid silver
}
.more-tables .response .dropdown-menu.filter-menu-body.show {
    max-height: 250px;
}

button.btn.grid-clear-btn {
    position: relative;
    font-size: 15px;
    height: auto;
    border-radius: 6px
}

li.list-unstyled .fbtn:hover {
    background-color: silver
}

li.list-unstyled .fbtn {
    border-radius: 3px;
    background: #fff;
    margin-bottom: 2px;
    width: 25px;
    height: 25px;
    text-align: center;
    padding: 3px;
    font-size: 1.2rem
}

ul.pagination .page-item .page-link, .pagination .form-control {
    line-height: 15px
}

.pagination select {
    padding: 1px
}

.search-div {
    align-items: center;
    border: 1px solid silver;
    border-radius: 5px;
    display: flex;
    flex-wrap: nowrap;
}

.fox_grid_search {
    border: 1px solid silver;
    border-radius: 6px;
    height: 20px;
    outline: 0;
    padding: 4px;
    vertical-align: text-top;
    width: 200px;
}

.search-div i {
    cursor: pointer;
    font-size: 16px;
    margin-right: 5px;
}

.search-div input {
    border: 0;
}

.table-responsive {
    background: white;
}


.fbtn_control {
    display: flex;
    z-index: 9999;
    background: silver;
    gap: 4px;
}

    .fbtn_control .open {
        width: 100%;
        transition: 1s ease-out;
    }
/*Táblázat betöltési animáció*/
.grid-loader::before {
    content: "\200b";
}

.grid-loader {
    width: 100%;
    padding: 2px 4px;
    height: inherit;
    background-color: rgba(66, 66, 66, 0.2);
    border-radius: 5px;
    animation: pulse-animation 1s linear infinite;
}

caption.loader {
    width: 25px;
    height: 25px;
    border: 5px solid black;
    border-bottom-color: transparent;
    border-radius: 100%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@media (max-width:480px) {
    .search-div {
        width: 120px;
    }
}

@keyframes pulse-animation {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.row-exception, .row-exception-warn {
    padding: inherit;
    font-size: 23px;
    text-align: center;
}

.row-errors-icon {
    color: red;
}

.row-warnings-icon {
    color: yellow;
}

.row-errors {
    color: white;
    background-color: red
}

.row-warnings {
    color: black;
    background-color: yellow
}

.row-errors, .row-warnings {
    padding: 5px;
    max-height: 120px;
    overflow: auto;
}

td.row-exception, td.row-exception:hover, td.row-exception-warn, th.exception, td.row-exception-warn:hover {
    background: darkred;
}

th.exception {
    min-width: 30px;
    max-width: 30px;
    width: 30px;
}

.TableResizeAndMove tr td.row-exception-warn ~ td {
    border-top: 4px solid yellow;
}

.TableResizeAndMove tr td.row-exception ~ td {
    border-top: 4px solid red;
}
.f-dg-sort-order{
    color:black;
}
.f-dg-sort{
    display:inline-flex;
    margin-left:5px;
    gap:4px;
    height:20px;
}
.grid-control-buttons {
    gap: 5px;
    display: flex;
    margin-left: auto;
    padding: 2px;
    border-radius: 5px;
    border: 1px solid silver;
}
span#f-grid-counter
{
    padding:inherit;
}
.grid-tools{
    padding:5px 0;
    border-radius:5px;
}