@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&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');

body {
    font-family: "Barlow", sans-serif;
    margin: 0px;
}

button {
    padding: 15px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    background-color: #2b5087;
    border-radius: 10px;
    font-family: "Barlow", sans-serif;
    border: 0px;
}

a {
    text-decoration: none;
    color: inherit;
}

nav {
    position: relative;
    left: 0px;
    top: 0px;
    width: 100%;
    background-color: #fff;
    z-index: 90;
    margin: 0px;
    padding: 0px;
}

nav ul {
    position: relative;
    list-style: none;
    padding: 0px;
    margin: 0px;
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    background-color: #2b5087;
}

nav ul li {
    padding: 30px 0px;
    text-align: center;
    font-size: 18px;
    color: #fff;
    font-weight: 500px;
}

nav ul a:nth-child(even) li {
    border-right: 1px solid #6d8cbd;
    border-left: 1px solid #6d8cbd;
}

.pageContent {
    position: relative;
    padding: 20px;
}

.toptable {
    display: flex;
    align-items: center;
    grid-gap: 20px;
    padding: 10px 0px;
    margin-bottom: 20px;
}

.toptable .search input {
    background-color: #eaeaea;
    border: 0px;
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    border-radius: 10px;
    min-width: 500px;
    width: 100%;
    box-sizing: border-box;
}

.toptable h2 {
    font-size: 24px;
    margin: 0px;
    margin-top: -3px;
    font-weight: 600;
}

.table {
    border: 1px solid #eaeaea;
    border-radius: 15px;
    overflow: hidden;
}

.table .row {
    padding: 15px;
    font-weight: 500;
    display: grid;
    font-size: 16px;
    grid-template-columns: 40% repeat(4, 1fr);
    border-bottom: 1px solid #eaeaea;
    align-items: center;
}

.table.artikli .row {
    grid-template-columns: 35% repeat(5, 1fr);
}

.table .row.top {
    background-color: #eaeaea;
    font-weight: 500;
    border: 0px;
}

.table .row:last-child {
    border: 0px;
}

.table.artikli .row .item.n {
    font-weight: 600;
}

.table.artikli .row .item.n::after {
    content: ' / 'attr(ukupno);
    font-size: 14px;
    font-weight: 500;
}

.add h2 {
    font-size: 24px;
    margin: 0px;
    font-weight: 600;
}

.add .widget {
    padding: 20px;
    background-color: #eaeaea;
    border-radius: 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    margin: 20px auto;
}

.add .widget .input {
    position: relative;
}

.add .widget .input::before {
    content: attr(title);
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.add .widget .input input {
    background-color: #fff;
    border: 0px;
    padding: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
}

.add .widget .input select {
    background-color: #fff;
    border: 0px;
    padding: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
}

.popups.full {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 90;
    
}

.popups .popup {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #eaeaea;
    border-radius: 10px;
    min-width: 400px;
}

.popups .popup .inner {
    padding: 20px;
        display: grid;
    grid-gap: 10px;
}

.add .widget .input {
    position: relative;
}

.popups .popup .fa-times {
    position: absolute;
    right: 20px;
    top: 20px;
    color: darkred;
}

.popups .popup .inner .input::before {
    content: attr(title);
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.popups .popup .inner .input input {
    background-color: #fff;
    border: 0px;
    padding: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
}

.popups .popup .inner .input select {
    background-color: #fff;
    border: 0px;
    padding: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
}
