/*
    This file made with PhpStorm by the author.
    home.css own by the author, Bencsik Matyas.
    Created on  : 2021.10.12., 13:17:46
    Author      : Bencsik Matyas

*/

.btn-tool {
    color: #adb5bd!important;
}

.chat-icon{
    color: rgb(20, 96, 130);
}

.btn-tool:hover {
    color: rgb(20,96,130)!important;
}

.dashboard-tool-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    padding-inline-start: 0;
}

.content .dropdown-item {
    padding: 0.25rem 0.25rem;
}

.card{
    word-break: break-word;
}

.card-title > a:hover{
    opacity: 0.2;
}

/* Fix form-control height issue for modern-select */
.form-control.modern-select {
    height: auto !important;
    min-height: calc(2.25rem + 2px) !important;
    line-height: 1.5 !important;
    padding: 0.375rem 2.5rem 0.375rem 0.75rem !important;
    color: #000 !important;
    background-color: #fff !important;
}

/* Ensure text visibility in modern-select */
select.modern-select {
    color: #000 !important;
    background-color: #fff !important;
    height: auto !important;
    min-height: calc(2.25rem + 2px) !important;
}

/* Force text visibility for selected options */
.modern-select option:checked,
.modern-select option:selected {
    color: #000 !important;
    background-color: #e9ecef !important;
}

[data-card="chat"] > .card-body{
    background-color: rgba(0, 0, 0, 0.02);
}
.two-chat{
    border-radius: 5px;
}
.two-chat > .card-footer{
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

span[class^="task-label-"] {
    font-size: 11px;
    font-weight: 500;
    padding: .1em .3em .15em;
    border-radius: .25em;
    cursor: default;
    margin-top: 0.2em;
}

span[class^="task-label-"]:not(:last-child) {
    margin-right: 5px;
}

ul[class^="todo-list"] > li:hover{
    background-color: rgba(20, 96, 130, 0.1);
}

.todo-list{
    max-height: 240px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
}

.custom-margin-top {
    margin-top: 2em;
}


.fc-view-harness{
    height: calc(100% - 40em) !important;
}

.fc-popover-body{
    height: 200px;
    overflow: auto;
}

.tooltip{
    z-index: 10001 !important;
}

.fc-button{
    background-color: rgb(20, 96, 130) !important;
    border-color: rgba(20, 96, 130, 0.8) !important;
}

.fc-more-link{
    font-weight: bold;
}

.fc-scroller {
    overflow: hidden !important;
}

.fc-event-main .fc-event-time{
    display: none;
}
thead .fc-scroller-harness{
    overflow: hidden !important;
}

tbody .fc-scroller-harness{
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    position: relative !important;
}

tbody .fc-scroller{
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: -17px !important; /* Increase/Decrease this value for cross-browser compatibility */
    overflow-y: scroll !important;
}

div.form-checklist-group {
    margin-bottom: 2px;
}
.form-checklist {
    padding: 0.2rem 0.2rem;
    height: 100%;
}

[data-card="chart"] [name="project-selector"]{
    background-color: rgba(255, 255, 255, 0) !important;
    color: white;
    padding-bottom: 0;
    padding-top: 0;
    height: calc(2rem + 2px);
}

[data-card="chart"] [name="project-selector"] option{
    color: #495057;
}

[data-card="chart"] .card-tools i{
    color: white;
}
[data-card="chart"] .card-tools button:hover i{
    color: #117a8b;
}

[data-card="chart"] hr{
    background-color: #17a2b8;
}

.fc-daygrid-week-number{
    font-size: 11px;
}

/** Mobilnézet kivételével a naptár minimalizálása */
@media screen and (min-width: 700px) {
    table.fc-col-header th, table.fc-scrollgrid-sync-table td{
        width: calc(100% - 4em) !important;
    }
    .fc-daygrid-body, .fc-scrollgrid-sync-table, .fc-col-header{
        width: 100% !important;
    }

    [role="gridcell"] .fc-event-title{
        display: none !important;
    }

    [role="gridcell"] .fc-daygrid-block-event{
        height: 7px !important;
    }
}

/** Mobilnézet */
@media screen and (max-width: 1400px) {
    .fc-daygrid-week-number, .file-extension{
        display: none;
    }
}
@media screen and (max-width: 1200px) {
    .calendar-and-chart{
        display: flex;
        flex-wrap: wrap;
    }
}

#event-form .invalid-feedback{
    display: block !important;
}

.event-control-icons{
    right: 1em;
    top: 1em;
}

.sz-text-pair {
    color: #ffab1d !important;
}
.sz-text-validate {
    color: #afa914 !important;
}
.sz-text-prioritisation {
    color: #669d37 !important;
}
.sz-text-accept {
    color: #158a53 !important;
}
.sz-text-transfer {
    color: #007364 !important;
}
.sz-text-compensation {
    color: #005a63 !important;
}
.sz-text-done {
    color: #044152 !important;
}



@media screen and (max-width: 576px) {
    .event-title{
        text-align: left !important;
    }

    .update-event{
        position: absolute;
        right: -0.1em;
        top: -0.6em;
    }
    .delete-event{
        position: absolute;
        right: 0.1em;
        top: 0.6em;
    }
}
