@font-face {
    font-family: RubikLight;
    src: url("/web/dist/css/fonts/Rubik-Light.ttf");
}

@font-face {
    font-family: RubikMedium;
    src: url("/web/dist/css/fonts/Rubik-Medium.ttf");
}

@font-face {
    font-family: RubikBold;
    src: url("/web/dist/css/fonts/Rubik-Bold.ttf");
}

@font-face {
    font-family: WorkSansLight;
    src: url("/web/dist/css/fonts/WorkSans-Light.ttf");
}

@font-face {
    font-family: WorkSansMedium;
    src: url("/web/dist/css/fonts/WorkSans-Medium.ttf");
}

body {
    height: auto !important;
    min-height: 0 !important;
    background-color: #f4f6f9;
}

.text-task-plus-tar {
    color: var(--sz-link);
    font-family: RubikBold;
    font-size: 17px;
    font-weight: bold;
    line-height: 0.75;
    vertical-align: bottom;
}

.preloader > .task-logo{
    /*-webkit-filter: grayscale(100%);*/
    /*filter: grayscale(100%);*/
    /*opacity: 0.5;*/
    height: 30px; width: auto;
}

.modal{
    z-index: 1100;
}

/** Egymásra nyíló modalok: a felső modal és a második backdrop az alsó modal fölé kerül */
#form-modal{
    z-index: 1101 !important;
}
.modal-backdrop:not(.chat-modal-backdrop).show ~ .modal-backdrop.show {
    z-index: 1100 !important;
}
/** form-modal2 (pl. Címke létrehozása) a legfelső: a második backdrop az alatta lévő modalt takarja, ne őt.
    A térbeli nézetben (rs-open) a relation-space.css rétegszámai érvényesek, ott nem írjuk felül. */
body:not(.rs-open) #form-modal2{
    z-index: 1103 !important;
}
body:not(.rs-open):has(#form-modal2.show) .modal-backdrop:not(.chat-modal-backdrop).show ~ .modal-backdrop.show {
    z-index: 1102 !important;
}

.select2-container:not(.select2){
    z-index: 1101 !important;
}
body:not(.rs-open):has(#form-modal2.show) .select2-container:not(.select2){
    z-index: 1104 !important;
}

.preloader{
    width: 100vw !important;
    z-index: 30001;
}

.szi.fa-tasks-alt{
    background: url("/web/dist/svg/tasks-alt.svg");
    height: 1.3rem;
    width: 1.3rem !important;
    display: block;
    float: left;
    filter: invert(1);
    margin-left: 0.7rem !important;
    margin-right: 0.6rem !important;
}

.szi.fa-file-csv{
    display: block;
    float: left;
    height: 1.2rem !important;
    width: 1.2rem !important;
    background: url("/web/dist/svg/file-csv.svg") no-repeat;
}
.szi.fa-file-csv::before{
    display: none !important;
}

.reset-alert ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 0;
}


.content-wrapper {
    background-color: #fff0;
}

.content-wrapper.kanban .container-fluid {
    height: calc(100% + 10px);
}

/* Oldalmenü nyila: csukva balra mutat (<), nyitva lefelé (v) – nyitás közben is (menu-is-opening) */
.sidebar li > a .fa-angle-left {
    -webkit-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
    transition: transform .2s ease-in-out;
}

.sidebar li.menu-open > a .fa-angle-left,
.sidebar li.menu-is-opening > a .fa-angle-left {
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.title-column {
    text-align: center;
}

.action-column {
    width: 80px;
    text-align: center;
}

div.required label:after {
    content: " *";
    color: red;
}

.was-validated .form-control:valid, .form-control.is-valid,
.was-validated .form-control:invalid, .form-control.is-invalid {
    background-position: right calc(1em + 0.1875rem) center;
}

.navbar-nav > .user-menu > .dropdown-menu > li.user-header > p {
    font-size: 14px;
}

.sz-profile {

}

.sz-profile .tab-content {
    background-color: #fff;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;

    padding: 1.25rem;
}

button:active, button:focus {
    outline: none !important;
}

button::-moz-focus-inner {
    border: 0 !important;
}

.main-header .sidebar-toggle:before {
    content: none;
}

.contact-box {
    max-width: 600px;
    margin: 0 auto;
}

.blank-box {
    width: 90%
}

.language-picker-row{
    right: 0.5em;
}

#event-form .note-editable{
    height: 13rem !important;
}

[role="gridcell"]:hover, .fc-timegrid-slot-lane:hover{
    background-color: rgba(var(--sz-primary-rgb), 0.1);
}

/** Ha az ikon (fa-icon) disabled akkor kap egy szürke jelet és a "tiltó" cursort */
.package-icon-disable {
    color: gray;
    cursor: no-drop;
}

/** Data.toggle modalos hozzáadás/szerkesztés... színezése */
a[data-toggle="modal"]:not(.btn), a[data-confirm]:not(.btn), .action-column > a, a[data-confirm-message]:not(.btn) {
    /*color: var(--sz-link);*/
}
.card-primary:not(.card-outline) > .card-header a.dropdown-item {
    /*color: var(--sz-primary);*/
}
a[data-toggle="modal"]:not(.btn):hover, a[data-confirm]:not(.btn):hover, .action-column > a:hover, a[data-confirm-message]:not(.btn):hover {
    opacity: 0.7;
}

a[disabled] {
    /*pointer-events: none;*/
    cursor: no-drop !important;
    opacity: 0.5;
}

/** Dropdown active / onclick lenyomás */
.dropdown-item.active, .dropdown-item:active {
    color: #fff !important;
    text-decoration: none;
    background-color: var(--sz-primary);
}

/** Footerben lévő p tagok marginja 0 */
.card-footer p {
    margin-bottom: 0;
}

/** Ha aktív az ikon akkor szitárkék */
.package-icon-enable {
    color: var(--sz-primary);
}

.text-szitar-blue {
    color: rgb(20, 95, 130) !important;
}

.text-szitar-green {
    color: #91D139 !important;
}

/** Ikonok piros színezése */
.icon-red {
    color: #dc3545;
}

/** Position absolute top and start */
/** Top */
.top-0 {
    top: 0!important;
}
.top-50 {
    top: 50%!important;
}
.top-100 {
    top: 100%!important;
}

/** Start */
.start-0 {
    left: 0!important;
}
.start-50 {
    left: 50%!important;
}
.start-100 {
    left: 100%!important;
}

/** Opacity */
.opacity-100 {
    opacity: 1;
}
.opacity-75 {
    opacity: .75;
}
.opacity-50 {
    opacity: .5;
}
.opacity-25 {
    opacity: .25;
}
.opacity-0 {
    opacity: 0;
}

.card.card-deleted {
    opacity: 0.5;
}

.grid-companies-deleted {
    opacity: 0.7;
    background-color: rgba(255, 0, 0, 0.2) !important;
}

.grid-companies-suspended {
    opacity: 0.7;
    background-color: rgb(255, 243, 205) !important;
}

/** Modal header overflow hide */
.modal-header {
    overflow: hidden;
}

/** Szitárosítás */

a:not(.btn, .filing-icon-color, .inline-filing-icon-color) {
    color: var(--sz-link);
}
a:hover:not(.list-group-item) {
    opacity: 0.7;
}

.card-primary.card-outline {
    border-top: 3px solid var(--sz-primary);
}

.card-primary:not(.card-outline) > .card-header {
    background-color: var(--sz-primary);
}

.btn-primary {
    background-color: var(--sz-primary);
    border-color: rgba(var(--sz-primary-rgb), 0.8);
}

.btn-outline-primary {
    color: var(--sz-primary);
    border-color: rgba(var(--sz-primary-rgb), 0.8);
}
.btn-outline-primary:hover, .btn-outline-primary:not(:disabled):not(.disabled).active {
    color: #fff;
    background-color: var(--sz-primary);
    border-color: rgba(var(--sz-primary-rgb), 0.8);
}

.alert-primary {
    background-color: var(--sz-primary);
    border-color: rgba(var(--sz-primary-rgb), 0.8);
}

[class*="sidebar-dark-"] {
    background-color: #0a2b35 ;
}
.layout-navbar-fixed .wrapper .sidebar-dark-primary .brand0E1A2D-link:not([class*="navbar"]) {
    background-color: var(--sz-primary);
}

[class*="sidebar-dark"] .brand-link {
    border-bottom: 1px solid white;
}



[class*="sidebar-dark"] .form-control-sidebar::placeholder {
    color: white;
}

[class*="sidebar-dark-"] .sidebar a, [class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link {
    color: white;
}

.nav-flat.nav-sidebar > .nav-item .nav-treeview .nav-item
> .nav-link, .nav-flat.nav-sidebar > .nav-item > .nav-treeview .nav-item > .nav-link {
    padding-left: 1.5rem;
}

[class*="sidebar-dark"] .btn-sidebar:hover {
    background-color: rgb(11, 73, 101);
}

/** V2.6.x*/
[class*="sidebar-dark"] .form-control-sidebar, [class*="sidebar-dark"] .btn-sidebar {
                background-color: rgba(255,255,255,0.1);
                border: none;
                color: white;
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active, .sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active {
    background-color: #91D139;
    color: #0a2b35;
}

/*.nav-flat .nav-item > .nav-link.active > .nav-icon {*/
/*    color: #0a2b35;*/
/*}*/



 .sidebar {
    background: url("/web/dist/img/sidebar/header-bg-sm.png") no-repeat  bottom 0 left;
}

[class*="sidebar-dark-"] .brand-image>img {
    width: auto; height: 25px
}
[class*="sidebar-dark"] .brand-text {
    margin: 0 0 0 4px;
}

[class*="sidebar-dark"] .brand-text > img{
    opacity: 1;
    max-height: 18px; width: auto;
}

[class*="sidebar-dark"] .brand-link {
     line-height: 1.3;

}
[class*="sidebar-dark-"] .nav-flat .nav-item .nav-treeview > .nav-item > .nav-link, [class*="sidebar-dark-"] .nav-flat .nav-item .nav-treeview > .nav-item > .nav-link.active {
    border-color: rgba(255, 255, 255, 0.9);
}


.brand-link .brand-image {
    margin-top: 2px;
}

.content-background {
    position: fixed;
    top:0; left:0;
    width:100%; height: 100%;

    background-image: url('/web/dist/img/main/bg-r2.png');
    background-repeat: no-repeat;
    background-attachment: fixed;

    background-position: bottom 0 right 0;
/*    opacity: 0.5;*/

}
[class*="sidebar-dark"] .btn-sidebar {

}

.btn:not(.btn-sidebar) {
    border-radius: var(--sz-radius-btn);
    border: none;
}
/* A körvonalas gombok (btn-outline-*) kerete megmarad – különben csak
   szövegnek látszanának, és nem lehetne megkülönböztetni őket az
   információs elemektől. A szín a Bootstrap btn-outline-* osztályából jön. */
.btn[class*="btn-outline-"]:not(.btn-sidebar) {
    border: 1px solid;
}

.btn-group .btn {
    /*font-family: WorkSansLight;*/
    font-weight: 400;
}
.btn-primary {
    /*background-color: #91D139  ;*/
    background-color: var(--sz-link)  ;
    /*color: #0E1A2D;*/
    color: #fff;
    border-radius: var(--sz-radius-btn);
    border: none;
}
/* rámutatáskor EGY sötétebb kék mindenhol (--sz-primary-hover, #104c68) */
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--sz-primary-hover)!important;
    color: #fff;
}
.btn-outline-primary:hover, .btn-outline-primary:not(:disabled):not(.disabled):active {
    background-color: var(--sz-primary-hover);
    border-color: var(--sz-primary-hover);
    color: #fff;
}

.btn-danger {
    border-radius: var(--sz-radius-btn);
    border: none;
}

.btn-success, .btn-success:focus, .btn-success:active, .btn-success:hover {
    background-color: #91D139!important;
    color: #0E1A2D!important;
}

.btn:hover {
    opacity: .7;
}

.btn:active {
    filter: grayscale(0.6);
    opacity: .9!important;
}

.btn-sm {
    padding: 0.3rem 0.8rem;
}

.bg-info {
    background-color: var(--sz-link)!important;
}

.dark-blue-text {
    color: #0E1A2D!important;
}

.light-green-bg {
    background-color: #91D139;
}

.light-green-text {
    color: #91D139;
}

.light-blue-text {
    color: var(--sz-link)!important;
}

.light-blue-bg {
    background-color: var(--sz-link) !important;
}

.input-group-sm > .input-group-append > .btn {
    padding: 0.1rem 0.5rem;
    font-size: 0.875rem;
    line-height: 2;
    border-radius: 0.2rem;
}

/** END of v2.6.x*/

.layout-navbar-fixed .wrapper .sidebar-dark-primary .brand-link:not([class*="navbar"]) {
    background-color: #0a2b35;
}



/** Szitárosítás */
.task-icon {
    display: inline-block;
}

.task-icon path {fill: #fff;}

.task-icon svg {
    stroke-width: 0;
    margin: -10px -3px 0 0;
    width: 29px;
    height: 29px;
}



.navbar-nav > .user-menu > .dropdown-menu > .user-body {
    border-bottom: none;
    font-size: 0.8em;
}

.navbar-nav > .user-menu > .dropdown-menu > .user-body a {
    color: var(--sz-primary)!important;
}

.navbar-nav > .user-menu > .dropdown-menu > .user-body .row>div { padding: 0.5rem 0;}

.navbar-nav > .user-menu .user-image { margin-right: 0}

.navbar-custom-menu .company-logo {
    max-height: 2.5rem;
}

.recurrence-monthly input[type="radio"]{
    margin: 6px;
}

.recurrence-monthly input[type="radio"]:not(:checked) ~ div{
    color: #6c757d;
}

.recurrence-monthly .form-control-sm{
    font-size: 1rem !important;
    padding-bottom: 0.1em !important;
    padding-top: 0.1em !important;
}

.recurrence-monthly [type="radio"]{
    margin-top: 9px !important;
    margin-bottom: 24px !important;
}
.recurrence-monthly .text{
    margin-top: 3px !important;
}

footer .browsers {
    display: flex;
    align-items: center;
    margin-right: 7px;
}
/* Alkalmazás telepítése (lábléc): kerek, a rendszer kékjében keretezett ikongomb (a böngésző szürke gombja helyett);
   rámutatáskor kékkel kitöltve, fehér ikonnal */
.install-btn{
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid rgba(20, 95, 130, .35);
    border-radius: 50%;
    background: #fff;
    color: #145f82;
    font-size: .8rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.install-btn:hover,
.install-btn:focus-visible {
    background: #145f82;
    border-color: #145f82;
    color: #fff;
    outline: none;
}

.install-btn:focus:not(:focus-visible) {
    outline: none;
}

.install-btn:active {
    box-shadow: 0 0 0 .2rem rgba(20, 95, 130, .2);
}

footer .browsers img {
    height: 20px;
}

.loader-content:after {
    display:block;
    content: '';
    border-bottom: solid 2px #fff0
}


.loader-content-loading:after {
    display:block;
    content: '';
    border-bottom: solid 2px #145f82;
    animation: bottom-border 3s ease infinite 0.2s;
    transform: scaleX(0);
}

.body-loader {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
}
.body-loader .loader-img {
    position: fixed;
    top: 25%;
    left: calc(50% - 160px);
}

.loader {
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% - 250px);
    height: 100%;
    background-color:rgba(0, 0, 0, 0.15);
    z-index: 1022;
}

.loader .loader-img {
    position: absolute;
    top: 10%;
    left: calc(50% - 125px);
}

.modal-loader {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #eceaea;
    background-image: url("/web/dist/img/ajax-loader.gif");
    background-size: 50px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    z-index: 95;
    opacity: 0.4;
    filter: alpha(opacity=40);
    transition: width 0.3s ease-in-out;
}
.modal-header > img {
    height: 32px;
    width: auto;
    }
.modal-header > h5 {

}
.modal-body {
    min-height: 150px;
}
.modal-content{
    word-break: break-word;
}

body.sidebar-collapse .loader {
    width: calc(100% - 4.6rem);
}
body.sidebar-closed .loader {
    width: 100%;
}

.border-box{
    box-sizing: border-box;
}

.custom-control-label::before {
    background-color: #fff0;
    box-shadow: none;
    border: 1px solid var(--sz-primary);
}

.was-validated .custom-control-input:valid:checked ~ .custom-control-label::before,
.custom-control-input.is-valid:checked ~ .custom-control-label::before {
    border-color: var(--sz-primary);
    background-color: var(--sz-primary);
}

.custom-control-label::before, .custom-file-label, .custom-select {
    transition: background-color 0.25s ease-in-out, border-color 0.25s ease-in-out
}

.custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--sz-primary);
    background-color: var(--sz-primary);
}

.user-form .field-user-email.hide-asterisk > label::after{
    display: none;
}

.user-form .field-user-email > label::after{
    content: " *";
    color: red;
}

div.task-body div[class$="-label"] {
    font-weight: bold;
}

div.task-body div[class$="-label"]:after {
    content: ":\00a0";
}

div.info-icons > div {
    margin-right: 1rem !important;
}

label[for^="checklist_"] {
    margin: 0;
    font-weight: normal !important;
}

.task-view hr {
    margin-top: 0.3rem;
    margin-bottom: 0.3rem;
}

/* a licenc lejárati jelzése információs elem, nem gomb: legfeljebb 4 px */
#license-expiration-badge{
    padding: 4px 8px;
    border: 2px solid #dc3545;
    border-radius: var(--sz-radius-info);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.thin-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.thin-scrollbar::-webkit-scrollbar-track {
    background: rgba(128, 128, 128, 0.2);
}

.thin-scrollbar::-webkit-scrollbar-thumb {
    background-color: rgba(128, 128, 128, 0.5);
    border-radius: 20px;
}

#idleAlert {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.8s ease-in-out;
    z-index: 9999;
    display: none; 
    opacity: 0;
    transform: translateX(-50%) translateY(100px); 
}

#idleAlert.active {
    display: block; 
    opacity: 1;
    transform: translateX(-50%) translateY(0); 
}

@keyframes bottom-border {
    0% {transform: scaleX(0);}
    30% {transform-origin:100% 50%;}
    50% {transform: scaleX(1);}
    70% {transform-origin:0% 50%;}
}

@media (min-width: 768px) {
    .modal-dialog:not(.modal-lg):not(.modal-xl) {
        max-width: 600px;
        margin: 30px auto;
    }
}

@media (max-width: 576px) {
    .contact-box {
        margin-top: .5rem;
        width: 90%;
    }
    .blank-box {
        margin-top: .5rem;
        width: 90%;
    }

    .contact-page-img{
        float: none !important;
        width: 70px !important;
        margin-top: 0 !important;
    }

    .navbar-custom-menu .company-logo {
        display: none;
    }

    #license-expiration-badge{
        font-size: 14px;
    }
}

input[type="checkbox"][name="task"] {
    appearance: none;
    margin: 0;    font: inherit;
    color: currentColor;
    width: 1.15em;
    height: 1.15em;
    border: 1px solid #ccc;
    border-radius: 0.35em;
    transform: translateY(-0.075em);
    display: inline-grid;
    place-content: center;
}
input[type="checkbox"][name="task"]:not(:disabled) {
    background-color: #fff;
}

input[type="checkbox"][name="task"]:hover {
    border-color: rgba(145,209,57,1)!important;
    box-shadow: 0 0 0 0.25rem rgba(145,209,57,0.4)!important;
}

input[type="checkbox"][name="task"]::before {
    content: "";
    width: 0.8em;
    height: 0.8em;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em #40a347;
    background-color: white;
    transform-origin: bottom left;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

input[type="checkbox"][name="task"]:checked::before {
    transform: scale(1);
}

.sz-expired-date {
    color: #ca2a19;
}

.milestone-title{
    color: black !important;
}

.modal-small {
    max-width: 450px !important;
}

.sz-task-iframe-div {
    height: 600px;
    overflow: hidden;
    box-shadow: 0 0 1em #000;
    border-radius: 0.3em;
    margin-bottom: 1em;
    background-color: #525659;
    position: relative;
}

.sz-task-iframe-txt {
    background-color: white !important;
}

.sz-task-file-iframe {
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    position: relative;
    top: -2px;
    left: -2px;
}

.sz-task-file-viewer {
    max-width: calc(100% + 2px);
    max-height: calc(100% + 2px);
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pl-8 {
    padding-left: 5rem;
}

.pr-8 {
    padding-right: 5rem;
}

.nav-sidebar > .nav-item .nav-icon.fas.fa-xs {
    font-size: 0.75em !important;
}

.nav-icon.ikt-icon {
    font-weight: bold;
    font-size: 0.75em !important;
    width: 1.3rem !important;
    padding: 2px 3px;
    margin-left: 0.5rem !important;
    border: 1px solid white;
    border-radius: 6px;
}

.sz-group-line {
    border-top: 1px dashed var(--sz-link) !important;
}

.sz-group-filing-line {
    border-top: 1px dashed #b8b4b4 !important;
}

#filingLog ul {
    list-style-type: square;
}
.sidebar-task-text-button {
    color: #91D139 !important;
    font-weight: bold;
    width: 100%;
    text-align: left;
    border-radius: 0 !important;
    padding: 0.4rem 0.8rem !important;
    /*border: 1px solid #91D139 !important;*/
}
.sidebar-task-text-button:hover {
    /*color: rgb(22 54 63) !important;*/
    /*background-color: #91D139 !important;*/
    opacity: 0.9 !important;
    /*border: 1px solid rgb(22 54 63) !important;*/
    background-color: rgba(255, 255, 255, 0.1);
}

.log-date {
    color: rgba(115, 115, 115, 0.8);
}

.sidebar-task-text-label {
    margin-left: 10px;
}

.noty_bar {
    border-radius: 100px;
}
.noty_body {
    margin-left: 10px;
}

/*#actionModal {*/
/*    display: none;*/
/*    position: fixed;*/
/*    top: -150px;*/
/*    left: 50%;*/
/*    transform: translateX(-50%);*/
/*    transition: top 0.5s ease;*/
/*    z-index: 1199;*/
/*}*/

/*#actionModal.show {*/
/*    top: 50px;*/
/*}*/

/*#actionModal .action-modal-content {*/
/*    background-color: #fff;*/
/*    padding: 1rem 1.5rem;*/
/*    border-radius: 8px;*/
/*    width: 100%;*/
/*    max-width: 350px;*/
/*    border: 1px solid #ccc;*/
/*    box-sizing: border-box;*/
/*    text-align: left;*/
/*    position: relative;*/
/*    font-family: Arial, sans-serif;*/
/*}*/

/*#actionModal .action-modal-close {*/
/*    position: absolute;*/
/*    top: 8px;*/
/*    right: 10px;*/
/*    font-size: 1rem;*/
/*    cursor: pointer;*/
/*    font-weight: bold;*/
/*}*/

/*#actionModal .action-modal-title {*/
/*    margin: 0 0 0.3rem 0;*/
/*    font-size: 1rem;*/
/*    color: #333;*/
/*}*/

/*#actionModal .action-modal-message {*/
/*    margin: 0;*/
/*    font-size: 0.9rem;*/
/*    color: #555;*/
/*}*/

/*#actionModal .action-modal-button, .action-modal-disallow {*/
/*    margin-top: 0.8rem;*/
/*    padding: 0.4rem 1rem;*/
/*    color: white;*/
/*    border: none;*/
/*    border-radius: 5px;*/
/*    cursor: pointer;*/
/*    font-size: 0.9rem;*/
/*}*/

/*#actionModal .action-modal-button:hover {*/
/*    background-color: #0056b3;*/
/*}*/
#actionModal {
    display: none;
    position: fixed;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    transition: top 0.5s ease, opacity 0.5s ease;
    z-index: 1199;
    opacity: 0;
}

#actionModal.show {
    top: 50px;
    opacity: 1;
}

#actionModal .action-modal-content {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
}

#actionModal .action-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 1.2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

#actionModal .action-modal-close:hover {
    color: #333;
}

#actionModal .action-modal-icon {
    font-size: 2.5rem;
    color: var(--sz-primary);
    margin-bottom: 0.5rem;
}

#actionModal .action-modal-title {
    margin: 0 0 0.4rem;
    font-size: 1.1rem;
    font-weight: bold;
    color: #222;
}

#actionModal .action-modal-message {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: #555;
}

#actionModal .action-buttons {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

#actionModal .action-modal-button,
#actionModal .action-modal-disallow {
    padding: 0.5rem 1.2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
}

#actionModal .action-modal-button {
    background-color: #28a745;
    color: white;
}

#actionModal .action-modal-button:hover {
    background-color: #218838;
}

#actionModal .action-modal-disallow {
    background-color: #dc3545;
    color: white;
}

#actionModal .action-modal-disallow:hover {
    background-color: #c82333;
}

/* Összecsukott menüben a "Task CQ" felirat nem fér ki – de RÁHÚZÁSKOR vissza
   kell jönnie, ahogy a többi menüpont neve is. A korábbi szabály feltétel
   nélkül rejtette el, ezért a kinyílt menüben is csak a két ikon látszott. */
.sidebar-collapse .main-sidebar:not(:hover):not(.sidebar-focused) .task-cq-text {
    display: none;
}

#file-viewer-modal {
    z-index: 1101;
}

.nav-sidebar .nav-treeview > .nav-item > .nav-link.nav-link-ai {
    color: #91D139;
    font-weight: 600;
}

.nav-sidebar .nav-treeview > .nav-item > .nav-link.nav-link-ai .nav-icon,
.nav-sidebar .nav-treeview > .nav-item > .nav-link.nav-link-ai p {
    color: #91D139;
}

.nav-sidebar .nav-treeview > .nav-item > .nav-link.nav-link-ai:hover,
.nav-sidebar .nav-treeview > .nav-item > .nav-link.nav-link-ai:hover .nav-icon,
.nav-sidebar .nav-treeview > .nav-item > .nav-link.nav-link-ai:hover p {
    color: #a6e34f;
}

.nav-sidebar .nav-treeview > .nav-item > .nav-link.nav-link-ai.active,
.nav-sidebar .nav-treeview > .nav-item > .nav-link.nav-link-ai.active .nav-icon,
.nav-sidebar .nav-treeview > .nav-item > .nav-link.nav-link-ai.active p {
    color: #0a2b35;
}

/* ---- Saját AI-ikonok (nem Font Awesome) ----
   Egy ikoncsalád: azonos vonalvastagság és formavilág; a jobb alsó sarokban mindegyiken a kis robotfej (antenna,
   két szem, fülek – körülötte rés a fő alaktól) jelzi, hogy AI-funkció, a fő alak pedig, hogy melyik:
     - sz-ai-icon--projects : jegyzettábla pipával és listával + robot   (AI projektek: projektterv)
     - sz-ai-icon--filing   : irat behajtott sarokkal és sorokkal + robot (AI iratfeldolgozás: iratot olvas)
     - sz-ai-icon--report   : diagram tengelyekkel és oszlopokkal + robot (AI Riport: elemzés)
   CSS-maszk: az ikon mindig a környezete színét veszi fel (currentColor) – a menüben a zöld AI-kiemelést, aktív
   menüpontnál a sötétet, a címekben a kéket –, és a betűmérettel együtt méreteződik (1em). */
.sz-ai-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    background-color: currentColor;
    -webkit-mask: var(--sz-ai-icon) center / contain no-repeat;
    mask: var(--sz-ai-icon) center / contain no-repeat;
}
/* (az SVG-k felépítése: a fő alakból egy kör ki van vágva a jobb alsó sarokban – mask –, és oda kerül a robotfej) */
.sz-ai-icon--projects {
    --sz-ai-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3Cmask id='m'%3E%3Crect width='24' height='24' fill='white'/%3E%3Ccircle cx='17.8' cy='17.3' r='6.6' fill='black'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url(%23m)' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3.5' width='14' height='18' rx='2'/%3E%3Crect x='7' y='2' width='6' height='3' rx='1'/%3E%3Cpath d='M7 10.5l1.6 1.6 3-3'/%3E%3Cpath d='M7 15.5h4'/%3E%3C/g%3E%3Cg transform='translate(12.8 12.6)' fill='black'%3E%3Crect x='4.4' y='0' width='1.2' height='2.4'/%3E%3Ccircle cx='5' cy='0.6' r='1'/%3E%3Crect x='-0.6' y='4' width='1.1' height='3' rx='0.5'/%3E%3Crect x='9.5' y='4' width='1.1' height='3' rx='0.5'/%3E%3Cpath fill-rule='evenodd' d='M2.5 2h5a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zM2.2 5.5a1.1 1.1 0 1 0 2.2 0a1.1 1.1 0 1 0-2.2 0zM5.6 5.5a1.1 1.1 0 1 0 2.2 0a1.1 1.1 0 1 0-2.2 0z'/%3E%3C/g%3E%3C/svg%3E");
}
.sz-ai-icon--filing {
    --sz-ai-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3Cmask id='m'%3E%3Crect width='24' height='24' fill='white'/%3E%3Ccircle cx='17.8' cy='17.3' r='6.6' fill='black'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url(%23m)' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2.5H6a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V7.5z'/%3E%3Cpath d='M14 2.5v5h5'/%3E%3Cpath d='M7.5 11.5h6M7.5 15h3.5'/%3E%3C/g%3E%3Cg transform='translate(12.8 12.6)' fill='black'%3E%3Crect x='4.4' y='0' width='1.2' height='2.4'/%3E%3Ccircle cx='5' cy='0.6' r='1'/%3E%3Crect x='-0.6' y='4' width='1.1' height='3' rx='0.5'/%3E%3Crect x='9.5' y='4' width='1.1' height='3' rx='0.5'/%3E%3Cpath fill-rule='evenodd' d='M2.5 2h5a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zM2.2 5.5a1.1 1.1 0 1 0 2.2 0a1.1 1.1 0 1 0-2.2 0zM5.6 5.5a1.1 1.1 0 1 0 2.2 0a1.1 1.1 0 1 0-2.2 0z'/%3E%3C/g%3E%3C/svg%3E");
}
.sz-ai-icon--report {
    --sz-ai-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3Cmask id='m'%3E%3Crect width='24' height='24' fill='white'/%3E%3Ccircle cx='17.8' cy='17.3' r='6.6' fill='black'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url(%23m)' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v16a2 2 0 0 0 2 2h16'/%3E%3Cpath d='M7.5 17v-5M11.5 17V7M16 17V4' stroke-width='2.6'/%3E%3C/g%3E%3Cg transform='translate(12.8 12.6)' fill='black'%3E%3Crect x='4.4' y='0' width='1.2' height='2.4'/%3E%3Ccircle cx='5' cy='0.6' r='1'/%3E%3Crect x='-0.6' y='4' width='1.1' height='3' rx='0.5'/%3E%3Crect x='9.5' y='4' width='1.1' height='3' rx='0.5'/%3E%3Cpath fill-rule='evenodd' d='M2.5 2h5a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zM2.2 5.5a1.1 1.1 0 1 0 2.2 0a1.1 1.1 0 1 0-2.2 0zM5.6 5.5a1.1 1.1 0 1 0 2.2 0a1.1 1.1 0 1 0-2.2 0z'/%3E%3C/g%3E%3C/svg%3E");
}
/* a menüben (nav-icon) a többi ikonnal egy méretben, középre */
.nav-sidebar .nav-link > .nav-icon.sz-ai-icon {
    /* kicsit nagyobb a többi ikonnál, hogy a sarokban lévő robotfej is kivehető legyen */
    height: 1.35rem;
    vertical-align: -0.3rem;
}

/* Ikon-gombokban (pl. a projektlista „AI projekt létrehozás” gombja) is nagyobb, hogy a robotfej látsszon */
.btn > .sz-ai-icon:only-child {
    width: 1.5em;
    height: 1.5em;
    vertical-align: -0.35em;
}

/* Beta jelzés a menüben (AI Riport). A sötét sidebaron világos, keretes forma. */
.nav-beta-badge {
    background: rgba(20, 95, 130, 0.18);
    border: 1px solid var(--sz-link);
    color: #7fd0f0;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 1px 6px;
    border-radius: 9px;
}
/* Aktív menüelemnél a háttér világos (lime), ezért a badge sötét kitöltést kap,
   hogy a felirata ott is olvasható maradjon. */
.nav-link.active .nav-beta-badge {
    background: #0a2b35;
    border-color: #0a2b35;
    color: #fff;
}

/* Nyomtatási iframe: a böngésző nyomtatási előnézete új lap nyitása nélkül, az
   aktuális oldal fölött jelenik meg. A képernyőn kívülre van tolva, de valódi,
   lapszélességnyi mérettel, mert a lapokra osztáshoz méreteket kell mérni benne. */
.print-frame {
    position: fixed;
    left: -20000px;
    top: 0;
    width: 994px;
    height: 760px;
    border: 0;
}

/* Képernyőn kívüli renderelés (pl. nyomtatási Gantt előállítása). A méret miatt
   nem lehet display:none, mert akkor nincs számított stílus és geometria. */
.offscreen-render {
    position: absolute;
    left: -20000px;
    top: 0;
    width: 1600px;
}

/* ============================================================================
   Oldalsáv: rendezett ikonsor összecsukott állapotban
   ========================================================================= */

@media (min-width: 992px) {
    /* Az ikonok középre, egységes szélességgel. */
    .sidebar-mini.sidebar-collapse .main-sidebar:not(:hover):not(.sidebar-focused) .nav-sidebar .nav-link {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }

    /* A nav-flat eltérő behúzást ad a fő- és az almenü ikonjainak (.55rem és
       .4rem). Nyitott menüben ez a tagolást segíti, összecsukva viszont ettől
       lesz fűrészfogas az ikonsor. */
    .sidebar-mini.sidebar-collapse .main-sidebar:not(:hover):not(.sidebar-focused) .nav-sidebar .nav-link > .nav-icon {
        width: 100%;
        margin: 0;
        text-align: center;
    }

    /* A lenyíló nyíl abszolút pozicionált, ezért a felirat nullázása NEM
       tünteti el: a keskeny sávban az ikon mellé lógna. */
    .sidebar-mini.sidebar-collapse .main-sidebar:not(:hover):not(.sidebar-focused) .nav-sidebar .nav-link > .right,
    .sidebar-mini.sidebar-collapse .main-sidebar:not(:hover):not(.sidebar-focused) .nav-sidebar .nav-link > p > .right {
        display: none;
    }

    /* A számláló buborék nem fér ki, de az információ ne vesszen el: jelzőponttá
       zsugorodik az ikon sarkában. */
    .sidebar-mini.sidebar-collapse .main-sidebar:not(:hover):not(.sidebar-focused) .nav-sidebar .nav-link .badge {
        position: absolute;
        top: .35rem;
        right: .6rem;
        width: 8px;
        min-width: 8px;
        height: 8px;
        padding: 0;
        margin: 0;
        border-radius: 50%;
        font-size: 0;
        line-height: 0;
        overflow: hidden;
    }

    /* A "Task CQ" gomb nem menüpont, ezért a fenti szabályok nem érintik – de
       összecsukva ugyanúgy középre kell kerülnie, mint a többi ikonnak.
       A gomb bal-jobb belső margója egyenlő, ezért elég a középre igazítás; a
       címke saját bal margóját viszont nullázni kell. */
    .sidebar-mini.sidebar-collapse .main-sidebar:not(:hover):not(.sidebar-focused) .sidebar-task-text-button {
        text-align: center;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar:not(:hover):not(.sidebar-focused) .sidebar-task-text-label {
        margin-left: 0;
    }

    /* A toll ikon jobb margója (Bootstrap .mr-2) a felirattól választaná el.
       Felirat nélkül ez a fél rem balra húzná a látszólagos középpontot. Az
       !important itt azért kell, mert a Bootstrap segédosztály maga is az. */
    .sidebar-mini.sidebar-collapse .main-sidebar:not(:hover):not(.sidebar-focused) .sidebar-task-text-label .mr-2 {
        margin-right: 0 !important;
    }
}

/* Az AdminLTE a becsukott almenüt max-height: 0-val és elhalványítással tünteti
   el. Kivágás nélkül a tartalom átlátszón ugyan, de ott marad – és kattintható.
   Ezért levágjuk. Ráhúzáskor a magasság visszaáll, a kivágás nem zavar. */
.sidebar-collapse .nav-collapse-hide-child .menu-open > .nav-treeview {
    overflow: hidden;
}
