﻿:root {
}

* {
    box-sizing: border-box;
}

html {
}

body {
}

a {
}

.et-preview{

    /* TABLE */
    --et-width: 100%;
    --et-margin: 0;
    --et-border-collapse: collapse;

    --et-font-family: sans-serif;
    --et-font-size: 16px;
    --et-line-height: 1.4;

    --et-bg: transparent;
    --et-color: inherit;

    --et-border: none;
    --et-radius: 0;
    --et-shadow: none;

    /* HEADER */
    --et-header-bg: transparent;
    --et-header-color: inherit;
    --et-header-font-size: inherit;
    --et-header-border: none;

    /* BODY */
    --et-body-bg: transparent;
    --et-body-color: inherit;
    --et-body-font-size: inherit;

    /* CELLS */
    --et-cell-border: none;
    --et-cell-padding-x: 8px;
    --et-cell-padding-y: 6px;

    /* ROWS */
    --et-row-bg: transparent;
    --et-row-border: none;
    --et-stripe-bg: transparent;
    --et-hover-bg: transparent;

    width: var(--et-width);
    margin: var(--et-margin);
    border-collapse: var(--et-border-collapse);

    font-family: var(--et-font-family);
    font-size: var(--et-font-size);
    line-height: var(--et-line-height);

    background: var(--et-bg);
    color: var(--et-color);

    border: var(--et-border);
    border-radius: var(--et-radius);
    box-shadow: var(--et-shadow);
}

/* HEADER */

.et-preview thead{
    background: var(--et-header-bg);
    color: var(--et-header-color);
    font-size: var(--et-header-font-size);
    border: var(--et-header-border);
}

/* BODY */

.et-preview tbody{
    background: var(--et-body-bg);
    color: var(--et-body-color);
    font-size: var(--et-body-font-size);
}

/* CELLS */

.et-preview th,
.et-preview td{
    border: var(--et-cell-border);
    padding: var(--et-cell-padding-y) var(--et-cell-padding-x);
}

/* ROWS */

.et-preview tr{
    background: var(--et-row-bg);
    border-bottom: var(--et-row-border);
}

.et-preview tbody tr:nth-child(even){
    background: var(--et-stripe-bg);
}

.et-preview tbody tr:hover{
    background: var(--et-hover-bg);
}


.editor{
    display:grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap:20px;
    margin-bottom:40px;
}

/* sekcja */

.et-section{
    border:1px solid #e5e7eb;
    border-radius:10px;
    padding:16px;
    background:#fafafa;
}

.et-section-title{
    font-weight:700;
    margin-bottom:12px;
    font-size:14px;
    text-transform:uppercase;
    letter-spacing:.04em;
}

/* control */

.et-control{
    display:flex;
    flex-direction:column;
    margin-bottom:2px;
}

.et-control label{
    font-size:13px;
    margin-bottom:1px;
}

.et-control input{
    padding:6px;
}