/*
Theme Name: annovation
Template: Divi
Version: 1.0.0
Description: Annovation Divi child theme
*/

@import url("../Divi/style.css");

/* ===========================
   Tablica kvadratura - my-table
   =========================== */

table.my-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    margin: 1.5rem 0;
}

table.my-table thead tr {
    background-color: #998675;
}

table.my-table thead th {
    color: #ffffff;
    font-weight: 500;
    padding: 12px 20px;
    letter-spacing: 0.03em;
}

table.my-table thead th:last-child {
    text-align: right;
}

table.my-table tbody tr {
    border-bottom: 1px solid rgba(153, 134, 117, 0.15);
    transition: background 0.15s;
}

table.my-table tbody tr:last-child {
    border-bottom: none;
}

table.my-table tbody tr:hover {
    background-color: rgba(153, 134, 117, 0.07);
}

table.my-table td {
    padding: 10px 20px;
    font-size:18px;
}

table.my-table td:first-child {
    text-align: left;
}

table.my-table td:nth-child(2) {
    text-align: right;
    white-space: nowrap;
    width: 1%;
}

/* Floor header redovi (Prizemlje, 1. kat...) */
table.my-table tr.kv-floor td {
    background-color: rgba(153, 134, 117, 0.1);
    color: #998675;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 10px 20px;
    text-align: left;
    font-weight:700;
}

table.my-table tr.kv-floor:hover {
    background-color: rgba(153, 134, 117, 0.1) !important;
}

/* Ukupno redovi */
table.my-table tr.kv-total {
    border-top: 1.5px solid rgba(153, 134, 117, 0.4) !important;
    border-bottom: none !important;
}

table.my-table tr.kv-total td {
    font-weight: 700;
    text-align: right;
}

table.my-table col:nth-child(3),
table.my-table td:nth-child(3),
table.my-table th:nth-child(3) {
    display: none;
}
