/*
 * Skin: mmp
 * ----------
        #242755
        #824393
        #0D4F80
        #3BBEE7
 */
  /*@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');*/
  @import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
 :root{
     --basic-white: #fff;
     --basic-font-color: rgb(45, 48, 50);
     --basic-primary-color:#003A81;
     --primary:#003A81;
     --basic-secondary-color:#C00415;
     --basic-thertiary-color:#3FBFE7;
     --basic-link-color:rgb(19, 40, 76);
     --basic-error: #ff0000;
     
     /*shapes*/
     --border-radius: .5em;
 }
html,body,*{
    font-size:16px;
    line-height:1.4;
    font-family: Lato;
    font-weight:400;
    /*content-visibility: auto;*/
}
body{
     color:var(--basic-font-color);
 }
ul{
    list-style: none;
}
.skin-ien a:not(.btn){
    color: var( --basic-link-color);
}
 h1,h2,h3,h4,h5,h6{
     color:var(--basic-primary-color);
     font-weight:300;
 }
 .skin-ien .btn-primary{
     border-color:var(--basic-primary-color);
     background-color:var(--basic-primary-color);
 }
 .skin-ien .btn-primary:hover{
     background-color: #002e67;
    border-color: #002e67;
 }
 .skin-ien .btn-warning{
     color:#fff;
 }
 .skin-ien .btn-success{
     border-color: #10a37f;
     background-color: #10a37f;
 }
 .skin-ien .btn-success:hover{
     background-color: #0d8266;
    border-color: #0d8266;
 }
 .skin-ien .btn-danger{
     border-color: #C00415;
     background-color: #C00415;
 }
 .skin-ien .btn-danger:hover{
     background-color: #9a0311;
    border-color: #9a0311;
 }
 .page-item.active .page-link {
    color: #fff;
    background-color: #003A81;
    border-color: #003A81;
}
.text-primary {
    color: #003A81!important;
}
.text-gray {
    color: #ced4da!important;
}
.brand-link{background-color:var(--basic-white) !important;}
.brand-link.ien-brand{padding:0}
.brand-link .brand-image{
    margin:0;
    height:80px;
    max-height: max-content;
    margin: .25em 1em .5em;
}
.skin-ien.sidebar-collapse .sidebar-ien .brand-link.ien-brand{
    height:100px;
    display: flex;
    align-items: center;
}
.skin-ien.sidebar-collapse .brand-link .brand-image{
    max-height:35px;
    margin: .5em;
}
.skin-ien.sidebar-collapse .sidebar-ien.sidebar-focused.brand-link .brand-image,
.skin-ien.sidebar-collapse .sidebar-ien:hover .brand-link .brand-image
{
    max-height:80px;
    margin: .5em 1em;
}
.basic-primary-color{color:var(--basic-primary-color)}
.basic-secondary-color{color:var(--basic-secondary-color)}
.basic-thertiary-color{color:var(--basic-thertiary-color)}
.skin-ien .brand-text{
    display:none !important;
    visibility: hidden !important;
    align-items: center;
    justify-content: flex-start;
}
.skin-ien .main-header .navbar-nav .nav-item .dropdown-menu-lg{
    max-width:420px !important;
}

.sidebar-ien{
     background-color:var( --basic-primary-color);
     display: flex;
     align-items: center;
     justify-content: center;
 }
 .sidebar-ien .sidebar{
     margin-top:100px !important;
 }
 .sidebar-ien a {
     color:var( --basic-thertiary-color);
 }
 .sidebar-ien .ien-brand{
     
 }
 .main-sidebar.sidebar-ien .nav-sidebar > .nav-item p,
  .main-sidebar.sidebar-ien:hover .nav-sidebar > .nav-item p,
  .main-sidebar.sidebar-ien.sidebar-focused .nav-sidebar > .nav-item p
 {
     display: flex;
     align-items: baseline;
     justify-content: space-between;
     flex-wrap: nowrap;
     width:100%;
 }
  .main-sidebar.sidebar-ien .nav-sidebar > .nav-item.menu-open  .fa.pull-right,
  .main-sidebar.sidebar-ien:hover .nav-sidebar >.nav-item.menu-open  .fa.pull-right,
  .main-sidebar.sidebar-ien.sidebar-focused .nav-sidebar > .nav-item.menu-open  .fa.pull-right{
      transform: rotate(-90deg);
      
  }
  .main-sidebar.sidebar-ien .nav-sidebar > .nav-item .fa.pull-right{
      transition:transform .3s ease-in-out
  }
 .sidebar-ien .nav-item > .nav-link {
     display:flex;
     align-items: baseline;
     justify-content: flex-start;
 }
 .sidebar-ien .navbar-link-ien{
     background-color:var(--basic-white);
     padding: 0;
     min-height:3.5em;
    background-size:80%;
    background-repeat:no-repeat;
    background-position:10% 50%;
 }
 .sidebar-ien .user-panel:not(.one-time-access){
     background:var( --basic-thertiary-color);
 }
 .sidebar-ien .user-panel .image{
     padding-left:0;
 }
 .sidebar-ien .user-panel .info {
    padding: 5px 5px 5px .8em;
}
.sidebar-ien .user-panel .info a{
    color:var(--basic-white);
}
.sidebar-ien .one-access .nav-link p{
    line-height:1.4;
    margin-bottom:0;
    padding-left:.8em;
}
.sidebar-ien:not(.one-access) a{
    display:flex;
    align-items: center;
    justify-content: center;
}
.sidebar-ien .one-access .nav-link p,
.sidebar-ien .one-access .nav-link pi{
     color:var(--basic-white);
}
.skin-ien .user-loged{
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: nowrap;
    gap:10px;
}
.skin-ien .user-loged span{
    font-weight:700;
    color: var(--basic-primary-color);
}
/*.skin-ien .user-loged a{
    color:#dc3545;
}
.skin-ien .user-loged a:hover{
    color:#fff;
}*/
 .login-page{
      background-image:linear-gradient(90deg,var(--basic-primary-color), #fff 75%);
      /*background-image:linear-gradient(90deg,var(--basic-primary-color),var(--basic-secondary-color));*/
      flex-direction: row;
      max-height:calc(100vh - 12em - 4px);
      position: relative;
 }
.login-wrapper{
    width:100%;
    /*height: 100%;*/
    /*background-image:linear-gradient(90deg,var(--basic-secondary-color), #fff);*/
    position:relative;
}
.login-page:before,
.login-page:after
{
    content:'';
    height:30%;
    position: absolute;
    z-index:1;
    left:0;
    top:0;
    width:100%;
    background:#fff;
}
.login-page:after{
    top:auto;
    bottom:0;
}
.login-wrapper-form{
    border-radius:var(--border-radius);
    box-shadow: 5px 5px 15px var(--basic-primary-color);
    z-index:2;
    border:1px solid var(--basic-primary-color);
    border-width: var(--border-radius) 0 0;
}
.skin-ien #error-form{
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}
.one-time{
    background:transparent;
    border-radius:var(--border-radius);
    min-height:50%;
    z-index:5;
    border:1px solid transparent;
}
.one-time h6{
    color:var(--basic-thertiary-color);
}
.one-time .danger{
    color:var(--basic-error);
    font-weight:300;
}
.one-time .btn.g-recaptcha{
    padding-left:0;
}
.content-wrapper {
    background-color: var(--basic-white)
}
.content-wrapper>.content {
    padding-bottom: 3rem;
}
.skin-ien .card-widget {
    border: 5px solid var(--basic-primary-color);
    border-width: 8px 0 0;
    border-radius: 8px;
    height:calc(100% - 20px);
    margin-top:10px;
    margin-bottom:10px;
}

.skin-ien .card-widget .card-tools button i{
    color:var(--basic-secondary-color);
}

.skin-ien .card-widget .card-header .user-block{
    color:var(--basic-primary-color);
}
.w2ui-grid .w2ui-grid-header{
/*    background-image: none;
    background-color: var(--basic-primary-color);
    border-color: var(--basic-primary-color);*/
}


.right{
    text-align: right;
}
.center{
    text-align: center;
}
.skin-ien .exellDataBox{
    transition: all .5s linear;
    opacity:1;
}
.hidden{
    display:none;
    opacity:0;
    visibility:hidden;
}
.skin-ien .btn-toolbar.table-group .btn-group>.btn-group:not(:last-child)>.btn,
.skin-ien .btn-toolbar.table-group .btn-group>.btn:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: 4px;
    border-bottom-right-radius:4px;
}
.skin-ien .btn-toolbar.table-group .btn-group>.btn-group:not(:first-child)>.btn, 
.skin-ien .btn-toolbar.table-group .btn-group>.btn:not(:first-child) {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.skin-ien .btn-toolbar.table-group .btn-group>.btn-group:not(:first-child), 
.skin-ien .btn-toolbar.table-group .btn-group>.btn:not(:first-child) {
    margin-left: .2em;
}
.skin-ien .switch-units .unit-active{
    color:var(--primary);
    font-weight:700;
    text-decoration: underline;
}

.skin-ien .table-bordered.edit-mode,
.skin-ien .table-bordered.edit-mode td{
    /*border-color:#ffc107;*/
    border-color:rgba(16, 163, 127, .7);
}
.skin-ien .myTab.caption-top caption {
    padding-top: .75rem !important;
    padding-bottom: .75rem !important;
    caption-side: top;
    display: table-caption;
    position: relative;
}
.skin-ien .myTab.caption-top caption span{
    line-height: 1.4;
    font-size:1em;
}
.skin-ien .myTab.caption-top caption .unit{
    font-weight:700;
}
.skin-ien .data__table--th{
    white-space: nowrap;
    text-align: center;
    background:beige;
}
.skin-ien .data__table--th.data__table--th-hours{
    padding-left:1em;
    padding-right:1em;
}
.skin-ien .data__table--cell{
    white-space: nowrap;
    text-align: right;
    padding:.25em;
    vertical-align: middle;
    box-sizing: content-box !important;
}
.skin-ien .data__table--cell-value{
    background:transparent;
    border-width:0;
    text-align: right;
    box-sizing: content-box;
    width:100%;
    /*width:auto;*/
    max-width: 100%;
}
.skin-ien .data__table--cell-value:focus,
.skin-ien .data__table--cell-value.editable{
    background:#fff;
    border-radius:3px;
    border-width:1px;
}
.skin-ien tr.bordered{
   
}
.skin-ien td.selected,
.skin-ien  .data__table--th-cols.selected,
.skin-ien .data__table--th-rows.selected{
   background: rgba(16, 163, 127, .3);
}
.skin-ien .table-responsive{
    min-height:50vh;
    max-height:100vh;
}

.skin-ien .table-ien .table-cell-header{
    font-weight:700;
    color:var(--basic-primary-color);
    background-color:rgba(230,230,230,1);
}
.skin-ien .table-ien .table-cell-header.table-cell-header-col{
    text-align: center;
}
.skin-ien .table-ien .table-cell-header.table-cell-header-row{
    text-align: right;
}
.skin-ien .table-ien th,
.skin-ien .table-ien td{
    white-space: nowrap;
}
.skin-ien .table-ien {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

.skin-ien .table-ien .table-row {
    display: table-row;
}

.skin-ien .table-ien .table-cell {
    display: table-cell;
    padding: .2rem 0.4rem;
    border: 1px solid #ddd;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    line-height:1.4;
}

.skin-ien .table-ien input[type="text"] {
    width: auto;
    height: 100%;
    border: none;
    text-align: center;
    display: inline-block;
    min-width: 80px;
    max-width: 100%;
    line-height:1.4;
    background: transparent;
    font-size:1rem;
    margin:0 auto;
}
.skin-ien .table-ien input[type="text"]:focus{
    border:1px solid var(--basic-primary-color);
    color:var(--basic-primary-color);
    font-weight:700;
}
.skin-ien .table-ien .table-row-1,
.skin-ien .table-ien .table-header-row {
    position: sticky;
    top: -1px;
    /*background-color: #ddd;  Aby tło było widoczne, możesz dostosować kolor */
    z-index: 3; /* Aby upewnić się, że wiersz zawsze będzie nad innymi */
}
.skin-ien .table-ien .table-cell.table-col-1 {
    position: sticky;
    left: -1px;
    /*background-color: #ddd;  Opcjonalnie, aby tło było widoczne */
    z-index: 1; /* Aby kolumna była zawsze nad innymi */
}
.skin-ien .table-ien .table-row-0 .table-cell.table-row-0.table-col-0{
    position:sticky;
    left:-1px;
    top:-1px;
    z-index:3;
}
.skin-ien .table-ien .table-cell.table-col-1,
.skin-ien .table-ien .table-cell.table-row-1{
    font-weight:700;
    color:var(--basic-primary-color);
    background-color:rgba(230,230,230,1);
}


.skin-ien .table-ien .table-row:nth-child(odd) {
    background-color: #efefef; /* Jaśniejsze tło dla nieparzystych wierszy */
}

/*.skin-ien .table-ien .table-row:nth-child(even) {
    background-color: #e6e6e6;  Ciemniejsze tło dla parzystych wierszy 
}*/

/* Webkit (Chrome, Safari, Edge) */
.skin-ien .table-responsive::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

.skin-ien .table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.skin-ien .table-responsive::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

/* Firefox */
.skin-ien .table-responsive {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

[class^="w2ui-icon-"]::before, [class*=" w2ui-icon-"]::before{
    display:block !important;
}
.prices-status{
    display:inline-flex;
    align-items: center;
    justify-content: flex-start;
    font-size:16px;
    line-height:1.4;
    width:100%;
    height:100%;
    border:none;
}
/*
.prices-status::after {
  content: '';
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4em;
  height: 1.4em;
  margin-left:.25em;
  background-color: red;  Kolor tła dla prices-status-empty 
  clip-path: circle(50% at 50% 50%);  Kształt przekreślonego koła 
  clip-path:circle(50%);
  border: 2px solid white;  Obramowanie przekreślonego koła 
  box-sizing: border-box;  Obramowanie jest brane pod uwagę przy obliczaniu szerokości i wysokości 
}

.prices-status.prices-status-ok::after {
  content: '';
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4em;
  height: 1.4em;
  margin-left:.25em;
  background-color: green;  Kolor ptaszka dla prices-status-ok 
  clip-path: polygon(17% 54%, 28% 43%, 38% 54%, 70% 22%, 81% 33%, 38% 75%, 17% 54%);
  padding:2px;
}*/


/*EXCEL container*/
.excel-container {
    display: table; /* Ustawienie na table */
    border: 1px solid #ccc;
    font-family: Arial, sans-serif;
    background: #fff;
    width: 100%; /* Szerokość tabeli */
}

.excel-row {
    display: table-row; /* Wiersze tabeli */
    width: 100%;
}

.excel-header-row {
    font-weight: bold;
    background-color: #f1f1f1;
}

.excel-header-cell, .excel-cell {
    display: table-cell; /* Komórki tabeli */
    border: 1px solid #ddd;
    text-align: center;
    vertical-align: middle;
    padding: 5px;
    box-sizing: border-box;
    width: 80px; /* Ustalona szerokość dla komórek */
    min-height: 40px; /* Minimalna wysokość komórek */
}

.excel-header-cell {
    background: #f1f1f1;
    font-weight: bold;
}

.excel-cell input {
    border: none;
    width: 100%;
    height: 100%;
    text-align: center;
    box-sizing: border-box;
    font-size: 14px;
    background: transparent;
}

.excel-cell input:focus {
    outline: none;
    background: #e6f7ff;
}
.skin-ien .w2ui-toolbar table.w2ui-button .w2ui-tb-image{
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-content{
     display:flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     gap:2em;
     width: 100%;
     height: 100%;
     background: rgba(0,0,0,0.8);
     position: fixed;
     top:0;
     left:0;
     z-index:50000;
}
.block-content p{
    color:#fff;
    font-size:2em;
    line-height: 1.4;
    animation: beat 2s linear infinite;
}

.block-content .circle-wait{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width:8em;
    height:8em;
    aspect-ratio:1/1;
    background-color:transparent;
    border:1px solid #003A81;
    border-width:0 3px 1px 0;
    border-radius: 50%;
    animation: circleWait 1s linear infinite backwards;
}
.block-content .circle-wait::before,
.block-content .circle-wait::after{
    position: absolute;
    content: '';
    aspect-ratio:1/1;
    display: block;
    background-color:transparent;
    margin:1em;
    border-radius:50%;
    border-style: solid;
    border-width: 0 0 3px 1px;
    overflow:hidden;
}
.block-content .circle-wait::before{
    width:90%;
    border:1px solid #C00415;
    border-width: 3px 1px 0 0;
     animation:circleWait 5s linear infinite;
}
.block-content .circle-wait::after{
    width: 80%;
    border:1px solid #fff;
    border-width: 0 0 1px 3px;
     animation: circleWait 3s linear infinite backwards;
}
.block-content span{
    padding:1em;
    opacity:0;
    color: #fff;
    font-size:1.2em;
    line-height: 1.4;
}
.block-content:not(.hidden) span{
    animation: showError 1s linear 30s forwards;
}
.block-content.hidden{
    /*display:none;*/
/*    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;*/
}

@keyframes circleWait{
    0%{
        /*transform: scale(0.9);*/
        transform:rotate(0);
    }
    100%{
        transform:scale(1.1);
        transform:rotate(360deg);
    }
}
@keyframes beat{
    0%,100%{
        transform: scale(1)
    }
    50%{
        transform: scale(1.05)
    }
}

@keyframes showError{
    0%{
        opacity:0;
    }
    100%{
        opacity:1;
    }
}