:root {
    --main-color: #EF7F1B;
    --main-color-rgb: 239, 127, 27;
    --second-color: #303030;
    --text-color: #212529;
    --sidebar-background-color: #474747;
    --sidebar-width: 220px;
    --sidebar-collapsed-width: 60px;
    --text-hover-color: var(--main-color);

    --bs-primary-rgb: var(--main-color-rgb);
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.error {
    background-color: var(--second-color);
    color: #fff;
}

body.error .error-logo img {
    margin: 0 auto;
    width: 100%;
    max-width: 80px;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 75px;
    overflow: visible;
}

main > .row {
    flex: 1;
    display: flex;
    min-height: 0;
}

main > .row > .main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: visible;
    padding-bottom: 30px;
}

main > .row > .main-content > .row:last-child {
    flex: 1;
}

.navbar .nav-link:hover {
    color: var(--main-color) !important;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--main-color);
    --bs-btn-border-color: var(--main-color);
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #31d2f2;
    --bs-btn-hover-border-color: #25cff2;
    --bs-btn-focus-shadow-rgb: 11, 172, 204;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #3dd5f3;
    --bs-btn-active-border-color: #25cff2;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: var(--main-color);
    --bs-btn-disabled-border-color: var(--main-color);
}

.btn-primary:hover {
    --bs-btn-color: #fff;
    --bs-btn-bg: #31d2f2;
    --bs-btn-border-color: #25cff2;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: var(--main-color);
    --bs-btn-hover-border-color: var(--main-color);
    --bs-btn-focus-shadow-rgb: 11, 172, 204;
}

.btn-outline-primary {
    --bs-btn-color: var(--main-color);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--main-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--main-color);
    --bs-btn-hover-border-color: var(--main-color);
    --bs-btn-focus-shadow-rgb: 243, 164, 36;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--main-color);
    --bs-btn-active-border-color: var(--main-color);
}

.btn-outline-primary:hover {
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--main-color);
}

.form-check-input:checked {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

a {
    color: var(--main-color);
    text-decoration: none;
}

a:hover {
    color: var(--text-hover-color);
}

main .header, #footer {
    background-color: #F5F5F5;
}

main .header {
    padding: 8px;
}

main .header .breadcrumb {
    margin-bottom: 0;
}

select, input, .form-select, .form-control, .input-group-text,.btn, div.modal-content, *{
    border-radius: 0;
}

.btn-info{
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--main-color);
    --bs-btn-border-color: var(--main-color);
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #31d2f2;
    --bs-btn-hover-border-color: #25cff2;
    --bs-btn-focus-shadow-rgb: 11, 172, 204;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #3dd5f3;
    --bs-btn-active-border-color: #25cff2;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: var(--main-color);
    --bs-btn-disabled-border-color: var(--main-color);
}

div.card{
    border-radius: 0px;

}

div.card-mod{
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin: 1rem auto 0;
    height: 100%;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: visible;
}


div.card-header{
    color: #fff;
    border-radius: 0 !important;
}

div.card-header:not(.bg-dark){
    color: #333;
}

div.card-header i.fa{
    color: var(--main-color);
}
div.card-footer{
    background-color:#fff;
}

.menu {
    list-style: none;
    padding: 0;
}

.menu-item {
    margin-bottom: 0px;
}

.menu-link {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px;
    border-radius: 4px;
}

.menu-link:hover {
    background-color: #34495e;
}

.submenu {
    list-style: none;
    padding-left: 20px;
    margin-top: 5px;
    display: none;
}

.submenu-item {
    margin-bottom: 5px;
}

.submenu-link {
    color: #bdc3c7;
    text-decoration: none;
    display: block;
    padding: 5px;
    border-radius: 4px;
}

.submenu-link:hover {
    background-color: #34495e;
}

.menu-item:hover .submenu {
    display: block;
}

nav.navbar{
    border-radius: 0 !important;
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
  background-color: var(--main-color);
}

.navbar li:hover{
    background-color: #E7E7E7;
}
.navbar-brand{
    padding: 0px;
}

div.copyright-mini{
    filter: grayscale(100%) opacity(50%);
}
div.copyright-mini:hover{
    filter: grayscale(0%) opacity(100%);
}
div.copyright-mini img{
    height: 20px;
}

.text-primary {
    --bs-text-opacity: 1;
    color: var(--main-color) !important;
}
.text-comp {
    --bs-text-opacity: 1;
    color: var(--main-color) !important;
}

body{
    font-family: 'Open Sans', sans-serif;
}

a.icon-pulpit{
    border: 1px solid grey;
    padding: 25px;

}
div.menu i.fa{
    color: var(--main-color);
}

.btn-pulpit{

}

div.menu a.btn{
    margin: 17px 30px;
    width: 250px;
    padding: 12px 2px;
    box-shadow: 0 6px 6px -6px #666;
    border-radius: 0px;
    box-shadow: 5px 5px 10px;
}
div.menu a.btn:hover{
    color: #fff;
    background-color: #343A40;
    box-shadow: 0 3px 3px -4px #666;
}

.btn-default:hover{
    color: #fff;
    background-color: #333;
    box-shadow: 0 3px 3px -6px #666;
}
.btn-default i.fa{
    color: var(--main-color)
}

a.btn-mini {
    padding: 4px 8px;
    margin-bottom: 5px;
}

div.title-page {
    display: inline-block;
    font-weight: bold;
    font-size: 22px;
    padding: 6px 4px;
}
div.actions-page{
    display: inline-block;
        float: right;
}

table.table-hover th{
    /*text-align: center;*/
}
table.table-hover td{
    /*text-align: center;*/
}

.panel-ns{
    margin: 5% auto 5% auto;
        border-radius: 0px;
        box-shadow: 5px 5px 10px;
}

.panel-ns>.panel-heading {
    background-color: #333;
    color: #fff;
    border-color: #ddd;
    border-radius: 0px;
}

.panel-ns>.panel-body{
    padding: 0 15px 15px 15px;
    overflow: auto;
}
div.panel-heading i.fa{
    color: var(--main-color);
}
div.panel-heading a i.fa{
    color: #fff;
}
div.panel-heading a i.fa:hover{
    color: var(--main-color);
}

.panel-ns2:hover>.panel-heading {
    background-color: #333;
    color: #fff;
    border-color: #ddd;
}

#footer{
    padding: 0px 10px;
    font-size: 11px;
    line-height: 13px;

    text-align: right;
    position: fixed;
    bottom: 0;
    left: 0;

    color: #333;
    width: 100%;
    z-index: 999;
;
}

table.table-user td{
    padding-left: 25px;
}
table.table-ns{
border-top: 1px solid gray;
border-bottom: 4px solid #f1f1f1;
}
table.table-ns th{
background-color: #f1f1f1;
}
table.table-ns th a{
    color: #000;
}
table.table-ns th i{
    color: #E2001A;
}


ul.pagination li.active_ns a{
 background-color: #000000;
 color: #fff;
}

.pagination>a{
    color: #000;
}

.pagination>li>a, .pagination>li>span {
    color: #333;

}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    background-color: #666;
    border-color: #333;
}
ul.konf{
    display: block;
    margin: 0px;
    padding: 0 0 0 10px;
    font-size: 12px;
    line-height: 1.2;
    color: #555;
    list-style-type: none;
}

ul.konf li{
    margin: 0;
    padding: 0;
}

ul.konf label{
    font-weight: normal;
}

#newProduct a:hover{
    color: #fff;
    background-color: #333;
    box-shadow: 0 3px 3px -6px #666;
    font-weight: bold;
    padding-left: 30px;
}
#newProduct i.fa{
    color: var(--main-color);
}
div.news img {
    padding: 5px;
    background-color: #fff;
    border: 1px solid #999;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
#popimg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: none;
}
#popimg img {
    margin: 3% auto 3% auto;
    padding: 10px;
    background-color: #fff;
    height: 90%;
}
b.download i{
    color: #000;

}
div.form-control{
    overflow: hidden;
    line-height: 160%;
}
div.modal-dialog{
    overflow: hidden;
    border-radius: 0px;
}
i.info{
    color: var(--main-color);
}
i.fa-info-circle{
    color: var(--main-color);
}

.btn-menu{
    margin: 10px;
}

.produkt-pozycja-img {
    border: none;
    background: none;
}

.produkt-element-pozycje {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    align-items: center;
}

.produkt-pozycja {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    float: left;
    display: block;
    margin: 10px 0;
}

.news {
    margin-bottom: 1rem;
    margin-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,.1);
}

.news .title {
    margin-top: 0;
}

.news .date {
    margin-top: 1rem;
}

.home-footer {
    width: 100%;
    background-color: #000000;
    padding: 30px 0;
    color: #fff;
    position: relative;
    margin-top: -3%;
    font-family: Ubuntu;
}

.home-footer a {
    text-decoration: none;
    color: inherit;
}

.home-footer a:hover {
    color: #e20612;
}

.home-footer .title {
    margin-top: 0;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-size: 18px;
}

.home-footer .map {
    width: 100%;
    height: 250px;
}

.home-footer .contact .contact-address {
    font-size: 15px;
    text-align: center;
}

.home-footer .contact .contact-address span {
    display: block;
    text-align: center;
}

.home-footer .map {
    width: 100%;
    height: 250px;
    position: absolute;
    bottom: 0;
    right: 0;
}

.home-footer .map-box {
    position: static;
    height: 220px;
}

.home-footer .container {
    width: 100%;
}

.text-danger {
    color: red;
}

.product-card label {
    font-weight: bold;
}

.product-card .form-group a {
    text-decoration: none;
}

.hide {
    display: none;
}

.product-configuration label, .product-configuration-prices label {
    font-weight: bold;
}

#cookiesContainer{
    position: fixed;
    z-index: 1045;
    transition: 0.5s;
    bottom: 0;
    left: 0;
    width: 100%;
}

#cookiesContainer .cookiesBody{
    background-color: #ffffff;
    -webkit-box-shadow: 0 0 20px 3px rgba(30,30,30,0.5);
    box-shadow: 0 0 20px 3px rgba(30,30,30,0.5);
    padding: 15px;
}

#cookiesContainer .cookiesBody .cookiesText{
    width: 100%;
    height: calc(100% - 50px);
    overflow-y: auto;
    font-size: 20px;
    text-align: justify;
}

#cookiesContainer .cookiesBody .cookiesText a {
    text-decoration: none;
}

#cookiesContainer .cookiesBody .cookiesButtons {
    text-align: right;
    margin-top: 10px;
}

#cookiesContainer .cookiesBody .cookiesButtons .btn{
    font-size: 16px;
}

#cookieModal h1 {
    font-size: 2rem;
}

#cookieModal .nav-pills .nav-link.active {
    background-color: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
}

#cookieModal .nav-pills .nav-link {
    color: #000;
    border-radius: 0;
    margin: 5px 0;
}

#cookieModal .nav-pills .nav-link:hover {
    background-color: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
}

#cookieModal .tabs {
    border-right: 1px solid;
}

.navbar .bars-btn {
    display: inline-block;
    cursor: pointer;
    padding: 10px;
    background-color: transparent;
    border: none;
    margin: 5px;
}

.navbar .bars-btn:hover {
    background-color: rgba(239, 125, 0, 0.1);
}

.navbar .bars-btn .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--main-color);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar .bars-btn .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--main-color);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.sidebar-collapsed-init body .sidebar {
    width: var(--sidebar-collapsed-width);
    transition: none !important;
}

.sidebar-collapsed-init body aside.sidebar .menu-item .nav-link .menu-item-title, .sidebar-collapsed-init body aside.sidebar .sidebar-logo {
    display: none;
}

main aside.sidebar {
    position: fixed;
    top: 75px;
    left: 0;
    width: var(--sidebar-width);
    height: calc(100vh - 75px);
    background-color: var(--sidebar-background-color);
    color: white;
    padding: 0px 0 0;
    z-index: 1000;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: all 0.3s ease-in-out;
    box-shadow: 3px 0 10px rgba(0, 0, 0, 0.2);
}

main aside.sidebar .sidebar-logo {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #fff;
    text-align: center;
}

main aside.sidebar .sidebar-logo img {
    width: 50%;
    height: auto;
    max-width: 150px;
    margin: 0 auto;
}

main aside.sidebar .menu .menu-item {
    cursor: pointer;
}

main aside.sidebar .menu .menu-item .nav-link {
    padding: .75rem 1.25rem;
}

main aside.sidebar .menu .menu-item:hover .nav-link {
    background-color: var(--second-color);
}

main aside.sidebar .menu .menu-item.active .nav-link {
    border-left: 4px solid var(--main-color);
    background-color: var(--second-color);
}

main aside.sidebar .menu .menu-item .nav-link i {
    width: 25px;
    margin-right: .5rem;
}

body.show-sidebar main aside.sidebar {
    transform: translateX(0);
}

.main-content {
    width: 100%;
}


body.show-sidebar {
    main aside.sidebar {
        display: block;
    }
}

body.show-sidebar .navbar .bars-btn .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

body.show-sidebar .navbar .bars-btn .bar:nth-child(2) {
    opacity: 0;
}

body.show-sidebar .navbar .bars-btn .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


body.sidebar-collapsed main aside.sidebar {
    width: var(--sidebar-collapsed-width);
}

body.sidebar-collapsed main aside.sidebar .menu-item .nav-link span,
body.sidebar-collapsed main aside.sidebar .sidebar-logo {
    display: none;
}

body.sidebar-collapsed main aside.sidebar .menu-item .nav-link {
    text-align: center;
    padding: .75rem;
}

body.sidebar-collapsed main aside.sidebar .menu-item .nav-link i {
    margin-right: 0;
    width: auto;
}

.collapse-sidebar {
    margin: 1rem;
}

.collapse-sidebar .toggle-sidebar-collapse {
    background: transparent;
    color: var(--main-color);
    cursor: pointer;
    border-radius: 4px;
    padding: 6px 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--main-color);
    margin-left: auto;
}

.collapse-sidebar .toggle-sidebar-collapse:hover {
    background-color: var(--main-color);
    color: var(--second-color);
    border-color: var(--main-color);
}

.collapse-sidebar .toggle-sidebar-collapse i {
    transition: transform 0.3s;
}

.sidebar-collapsed-init body .collapse-sidebar .toggle-sidebar-collapse i, body.sidebar-collapsed .collapse-sidebar .toggle-sidebar-collapse i {
    transform: rotate(180deg);
}

.dashboard {
    display: flex;
    flex-direction: column;
}

.dashboard .dashboard-header {
    color: #000;
    font-weight: 600;
    border-bottom: 1px solid var(--bs-border-color-translucent);
    padding-bottom: 0.5rem;
    margin-bottom: .5rem;
}

.dashboard .dashboard-header i {
    color: var(--main-color);
}

.dashboard .dashboard-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dashboard .dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.dashboard .dashboard-card-body {
    padding: 1rem;
    flex-grow: 1;
}

.dashboard .dashboard-card-title {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: .5rem;
    font-weight: bold;
    text-align: center;
}

.dashboard .dashboard-card-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--main-color);
    text-align: center;
    line-height: 1;
}

.dashboard .dashboard-calendar {
    position: relative;
    border-top: 1px solid var(--bs-border-color-translucent);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: visible;
}

.dashboard .dashboard-watermark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 0;
}

.dashboard .dashboard-watermark img {
    width: auto;
    height: 80%;
    max-width: 80%;
}

.dashboard-calendar > *:not(.dashboard-watermark) {
    position: relative;
    z-index: 1;
}

.calendar-container {
    background-color: transparent;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 15px;
    max-width: 1200px;
    margin: 1rem auto 0;
    height: 100%;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: visible;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-nav-left, .calendar-nav-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.calendar-header .today-btn i {
    font-size: 1rem;
}

.calendar-header h3 {
    margin: 0;
    font-weight: 600;
    color: #000;
    font-size: 1.2rem;
}

.today-btn {
    background: transparent;
    cursor: pointer;
    border-radius: 4px;
    padding: 6px 10px;
    transition: background-color 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #000;
}

.change-month-btn {
    background: transparent;
    color: var(--main-color);
    cursor: pointer;
    border-radius: 4px;
    padding: 6px 10px;
    transition: background-color 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--main-color);
}

.change-month-btn:hover, .today-btn:hover {
    background-color: var(--main-color);
    color: var(--second-color);
    border-color: var(--main-color);
}

.calendar-grid {
    flex: 1;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "week-header day-names"
        "week-numbers day-cells";
}

/* Week Numbers Header */
.week-number-header {
    grid-area: week-header;
    background-color: rgba(248, 249, 250, 0.6);
    border-bottom: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    padding: 3px 8px;
    font-weight: bold;
    font-size: 0.8rem;
    text-align: center;
    color: #6c757d;
    border-top-left-radius: 4px;
    height: fit-content;
}

/* Day Names */
.day-names {
    grid-area: day-names;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: bold;
    background-color: rgba(248, 249, 250, 0.6);
    border-bottom: 1px solid #dee2e6;
    font-size: 0.9rem;
    padding: 3px 0;
}

.day-names .sunday {
    color: #e74c3c;
    font-weight: bold;
}

/* Week Numbers */
.week-numbers {
    grid-area: week-numbers;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #dee2e6;
    text-align: center;
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
    background-color: rgba(248, 249, 250, 0.6);
}

.week-number {
    padding: 2px 8px;
    background-color: rgba(248, 249, 250, 0.6);
    border-bottom: 1px solid #eee;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Day Cells */
.day-cells {
    grid-area: day-cells;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: minmax(70px, 1fr);
    gap: 1px;
    min-height: 0;
    overflow: hidden;
}

.day-cell {
    border: 1px solid #eee;
    padding: 2px;
    position: relative;
    overflow: hidden;
    transition: all 0.2s;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background-color: transparent;
}

.day-cell.has-events {
    cursor: pointer;
    transition: background-color 0.2s;
}

.day-cell.has-events:hover {
    background-color: #444;
    color: var(--main-color);
}

.day-icons-container {
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 2px;
}

.day-icon {
    font-size: 20px;
    color: var(--main-color);
}

.day-cell .day-number {
    font-size: 0.85rem;
    margin-bottom: 1px;
    text-align: right;
}

/* Special day cells */
.day-cell.today {
    background-color: rgba(240, 247, 255, 0.6);
    border-color: var(--main-color);
}

.day-cell.sunday {
    background-color: rgba(231, 76, 60, 0.05);
    border-color: rgba(231, 76, 60, 0.3);
}

.day-cell.sunday .day-number {
    color: #e74c3c;
}

.day-cell.holiday {
    background-color: rgba(52, 152, 219, 0.1);
    border: 1px dashed rgba(52, 152, 219, 0.5);
}

.day-cell.holiday .day-number {
    color: #3498db;
    font-weight: bold;
}

.day-cell.other-month {
    background-color: rgba(245, 245, 245, 0.4);
    color: #999;
}

/* Calendar Events */
.day-cell .events {
    font-size: 0.7rem;
    overflow: hidden;
    max-height: 35px;
}

.day-cell .event {
    background-color: var(--main-color);
    color: white;
    padding: 0 3px;
    margin-bottom: 1px;
    border-radius: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.65rem;
}

.holiday-event {
    background-color: rgba(52, 152, 219, 0.7) !important;
    font-size: 0.6rem !important;
    margin-top: 1px;
}

.day-cell.other-month .holiday-event {
    display: none;
}

.print-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.print-footer .print-footer-logo {
    width: 100px;
}

.print-footer .print-footer-logo img {
    width: 100%;
    height: auto;
}

.contact-page .content iframe {
    width: 100%;
    border: none;
}

/* Responsywność */
@media (max-width: 768px) {
    .calendar-container {
        padding: 10px;
    }

    .day-cell {
        min-height: 35px;
    }

    .day-cell .day-number {
        font-size: 0.75rem;
    }

    .holiday-event {
        font-size: 0.55rem !important;
    }

    .day-names div {
        font-size: 0.8rem;
    }

    .day-icon {
        font-size: 12px;
    }

    .calendar-header h3 {
        font-size: 1.2rem;
    }
}

@media all and (min-width: 992px) {
    main aside.sidebar {
        transform: translateX(0);
        height: 100%;
        box-shadow: none;
        top: 45px;
        overflow-y: auto;
    }

    body .main-content, #footer {
        margin-left: var(--sidebar-width);
        width: calc(100% - var(--sidebar-width));
        transition: margin-left 0.3s ease-in-out, width 0.3s ease-in-out;
    }

    .navbar .bars-btn {
        display: none;
    }

    main {
        margin-top: 45px;
        min-height: calc(100% - 45px);
    }

    body.sidebar-collapsed .main-content, body.sidebar-collapsed #footer, .sidebar-collapsed-init body .main-content, .sidebar-collapsed-init body #footer {
        margin-left: var(--sidebar-collapsed-width);
        width: calc(100% - var(--sidebar-collapsed-width));
    }
}

@media all and (max-width: 991.98px) {
    .navbar .bars-btn {
        display: inline-block;
    }

    body.show-sidebar:before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
}

@media all and (min-width: 768px){

}

@media all and (min-width: 992px) and (min-height: 700px) {
    .home-footer {
        position: fixed;
        bottom: 33px;
        margin-top: unset;
    }
}

@media all and (min-width: 992px){
    .home-footer .map {
        width: 50%;
        height: 100%;
        position: absolute;
        top: 0;
        right: 0;
    }
}

@media all and (max-width: 767.98px) {
    .produkt-pozycja {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .home-footer .contact .contact-address {
        margin-bottom: 1.5rem;
    }

    .dashboard .dashboard-card-value {
        font-size: 2.5rem;
    }
}

@media all and (max-width: 991.98px){
    .home-footer .contact {
        margin-bottom: 1rem;
    }
}
