* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: #EDF0F4;
}

a {
    color: unset;
    text-decoration: none;
}

ul {
    padding: 0;
    margin: 0;
}

li {
    list-style: none;
}

nav {
    display: flex;
    align-items: center;
    padding: 2px 2%;
}

.menu {
    width: 100%;
    display: inline-flex;
}

.menu li a {
    display: block;
    padding: 8px 10px;
    font-size: 14px;
    transition: .2s;
    border-bottom: 3px solid transparent;
    margin: auto 3px;
}

.menu li a:hover {
    color: white;
    border-bottom: 2px solid white;
}

.logo {
    display: block;
    margin-right: 16px;
}

.logo img {
    max-width: 160px;
}

.active-page {
    border-bottom: 2px solid white !important;
}

.icons {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    position: relative;
}

.icons:before {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background-color: rgb(197, 197, 197);
    content: '';
}

.icons li {
    margin: auto 8px;
}

.icons li a {
    display: block;
    margin: auto 3px;
    padding: 3px;
}

.icons .material-symbols-outlined {
    font-size: 18px;
    color: rgb(230, 230, 230);
}

.profile {
    width: 32px;
    height: 32px;
    background: green;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 12px;
}

main {
    padding: 20px 0;
}

.widget {
    border-radius: 6px;
    height: 150px;
}

.big-widget {
    border-radius: 12px;
    height: 320px;
    overflow: auto;
}

.widget-number {
    font-weight: bold;
    font-size: 44px;
    margin-left: 24px;
    color: #a8a8a8;
}

.widget-icon {
    text-align: center;
}

.widget-icon .material-symbols-outlined {
    display: block;
    margin: auto;
    font-size: 70px;
    color: #a8a8a8;

}

.align-middle {
    font-size: 14px;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.sticky {
    position: sticky;
    top: 0;
}

.text-right {
    text-align: right;
}

.table-list {
    height: calc(100vh - 140px);
    overflow: auto;
}

.text-left {
    text-align: left !important;
}

.munkalap-skeleton,
.in-skeleton {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.pull-right {
    float: right;
}

.left-side {
    width: 250px;


}

.right-side,
.munkalap-datas {
    width: calc(100% - 250px);
    overflow: auto;
}

.customer-data {
    width: 250px;
    border-left: 1px solid #d7e2ed;
    height: calc(100vh - 110px);
    overflow: auto;

}

.bd-right {
    border-right: 1px solid #d7e2ed;
    height: calc(100vh - 45px);
    overflow: auto;
}

img {
    width: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1em;
}

.gallery-grid a img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.munkalap-datas {
    height: calc(100vh - 110px);

}

.all-munkalap {
    padding: 1em 2em;
    border-bottom: 1px solid #d7e2ed;
    display: block;
    color: #555;
}

.all-munkalap b {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    /* number of lines to show */
    line-clamp: 1;
    -webkit-box-orient: vertical;
}


.all-munkalap:hover {
    background: #d7e2ed;
}

.active-munkalap {
    background: #d7e2ed;

}

.timesTable {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border: 1px solid #ddd;
}

.timesTable th,
.timesTable td {
    text-align: left;
    padding: 16px;
}

.timesTable tr:nth-child(even) {
    background-color: #f2f2f2;
}

.customer-data li {
    margin: 12px 0;
    display: block;
}

.created-time {
    font-size: 14px;
    color: #555;
}

.form-group {
    margin-top: 2em;
}

.work-time {
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.work-hour {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #303030;
    color: white;
    padding: 5px 16px;
    border-top-left-radius: 12px;
}

.work-time i {
    position: absolute;
    right: 10px;
    top: 1em;
    font-size: 13px;
}

.comment {
    padding-right: 55px;
    margin-top: 16px;
    font-weight: 500;
    font-size: 15px;
}

.worker {
    font-size: 14px;
}

.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 250px;
    width: calc(100% - 500px);
    padding: 12px 0;
    background: white;
    z-index: 100;
    border-top: 1px solid #d7e2ed;
}

.pb-8 {
    padding-bottom: 8em;
}

.last_title {
    font-size: 13px;
}


.delete-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgb(158, 17, 17);
    color: white;
    padding: 4px;
    z-index: 2;
    border-radius: 3px;
}

.delete-image .material-symbols-outlined {
    font-size: 14px;
}

.image-box {
    position: relative;
}

@media(max-width: 1280px) {
    .bottom-bar {
        left: 200px;
        width: calc(100% - 400px);

    }

    .left-side {
        width: 200px;

    }

    .right-side,
    .munkalap-datas {
        width: calc(100% - 200px);
    }

    .customer-data {
        width: 200px;
    }

    .pb-8 .col-md-6 {
        width: 100%;
    }

    .all-munkalap b {
        font-size: 13px;

    }

    .light-text,
    .munkatars-nev {
        font-size: 12px;

    }

    .menu {
        overflow: auto;
        white-space: nowrap;

    }

    .menu::-webkit-scrollbar {
        height: 4px;
    }

}

@media(max-width: 1024px) {
    .menu::-webkit-scrollbar {
        display: none;
    }

    .left-side {
        position: fixed;
        top: 0;
        left: 0;
        transform: translateX(-18rem);
        width: 18rem;
        z-index: 100;
    }

    .customer-data {
        position: fixed;
        top: 0;
        right: 0;
        width: 20rem;
        transform: translate(20rem);
    }

    .munkalap-datas,
    .right-side,
    .bottom-bar {
        width: 100%;
        left: 0;
    }

    .customer-data,
    .bd-right,
    .munkalap-datas {
        overflow: unset;
        height: unset;
    }

    .table-list {
        height: unset;
    }

    .menu li {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 100;
    }

    .menu {
        position: fixed;
        top: 50px;
        left: 0;
        width: 100%;
        background: #303030;
        z-index: 100;
    }

    main {
        padding-top: 90px;
    }

    nav {
        justify-content: space-between;
        padding: 10px;
    }

    .workstable thead {
        display: none;
    }

    .big-widget {
        height: unset;
    }

    .workstable tbody tr {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        position: relative!important;
        margin: 12px 0;
        background: white !important;
        border-radius: 12px;
    }


    .workstable tbody tr td {
        border-bottom: 0 !important;
    }

    .created-cell {
        grid-column: span 3;
        font-size: 12px !important;
    }

    .name-cell {
        grid-column: span 3;
    }

    .status-cell {
        position: absolute;
        top: 5px;
        right: 5px;
        background: transparent;
    }

    table.dataTable.table-striped>tbody>tr.odd>* {
        box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.0) !important;
    }

    .workstable {
        background-color: transparent !important;
    }

    .last-cell,
    .actions-cell {
        display: none;
    }

    .customer-cell {
        grid-column: span 3;
    }
    .mobile-100{
        width: 100%!important;
        margin-bottom: 8px;
    }
    .bottom-bar .col-4{
        width: 50%;
    }
}