/* =========================================================
   GOLD DEFAULT TABLE
   ========================================================= */

.defaultTbl {
    border-collapse: separate;
    border-spacing: 2px;
    background: #b7954e;
    border: 1px solid #80652f;
    border-radius: 6px;
    overflow: hidden;

    box-shadow:
        0 2px 5px rgba(60,40,10,.25);
}


/* =========================================================
   MAIN TABLE HEADING
   ========================================================= */

.defaultTbl > tbody > tr:first-child > th {
    text-align: center;
    font-family: Muli, Verdana, sans-serif;
    font-size: 17px;
    font-weight: bold;
    color: #fff8e8;

    background: linear-gradient(
        to bottom,
        #9a793d 0%,
        #85652f 48%,
        #725522 100%
    );

    padding: 8px 10px;

    /* Strong raised / outdented effect */
    border-top: 2px solid rgba(255,255,255,.50);
    border-left: 2px solid rgba(255,255,255,.30);
    border-right: 2px solid rgba(62,40,8,.55);
    border-bottom: 3px solid rgba(62,40,8,.65);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.15),
        0 2px 3px rgba(60,40,10,.35);
}


/* =========================================================
   CAPTION ROW / CELLS
   ========================================================= */

.defaultTbl tr.caption td,
.defaultTbl td.caption {
    font-family: Muli, Verdana, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;

    /* Flat gold - deliberately no gradient */
    background-color: #a4864b;

    /* Very subtle diagonal texture */
    background-image: repeating-linear-gradient(
        135deg,
        rgba(70,45,10,.075) 0px,
        rgba(70,45,10,.075) 1px,
        transparent 1px,
        transparent 5px
    );

    padding: 6px 8px;

    /* Recessed / indented effect */
    border-top: 1px solid rgba(255,255,255,.28);
    border-left: 1px solid rgba(255,255,255,.20);
    border-right: 1px solid rgba(70,45,10,.38);
    border-bottom: 1px solid rgba(70,45,10,.45);

    box-shadow:
        inset 1px 1px 2px rgba(60,40,10,.12),
        inset -1px -1px 1px rgba(255,255,255,.08);
}


/* =========================================================
   NORMAL TABLE CELLS
   ========================================================= */

.defaultTbl td {
    font-family: Muli, Verdana, sans-serif;
    font-size: 12px;
    color: #51401f;

    background: linear-gradient(
        to bottom,
        #d2b477 0%,
        #c8aa6b 50%,
        #bfa05b 100%
    );

    padding: 6px 8px;

    /* Recessed / indented cell edges */
    border-top: 1px solid rgba(255,255,255,.30);
    border-left: 1px solid rgba(255,255,255,.20);
    border-right: 1px solid rgba(70,45,10,.35);
    border-bottom: 1px solid rgba(70,45,10,.45);

    box-shadow:
        inset 1px 1px 2px rgba(70,45,10,.10),
        inset -1px -1px 1px rgba(255,255,255,.08);
}


/* =========================================================
   ROW HOVER
   ========================================================= */

.defaultTbl tr:hover td:not(.caption) {
    background: linear-gradient(
        to bottom,
        #d0b477 0%,
        #c5a665 50%,
        #b99754 100%
    );
}


/* Keep caption cells flat when hovering */

.defaultTbl tr:hover td.caption,
.defaultTbl tr.caption:hover td {
    background-color: #a4864b;

    background-image: repeating-linear-gradient(
        135deg,
        rgba(70,45,10,.075) 0px,
        rgba(70,45,10,.075) 1px,
        transparent 1px,
        transparent 5px
    );
}


/* =========================================================
   FORM CONTROLS - GOLD / RAISED
   ========================================================= */

.defaultTbl input[type="text"],
.defaultTbl input[type="email"],
.defaultTbl input[type="number"],
.defaultTbl input[type="date"],
.defaultTbl input[type="datetime-local"],
.defaultTbl input[type="month"],
.defaultTbl input[type="time"],
.defaultTbl input[type="password"],
.defaultTbl input[type="search"],
.defaultTbl input[type="tel"],
.defaultTbl input[type="url"],
.defaultTbl select,
.defaultTbl textarea {
    box-sizing: border-box;

    font-family: Muli, Verdana, sans-serif;
    font-size: 12px;
    color: #ffffff;

    background: linear-gradient(
        to bottom,
        #c9a65e 0%,
        #b38e46 50%,
        #a17d38 100%
    );

    border: 1px solid #80632e;

    /* Raised / outdented edges */
    border-top: 2px solid #dfc993;
    border-left: 2px solid #d2b878;
    border-right: 2px solid #765924;
    border-bottom: 2px solid #684d1d;

    border-radius: 6px;

    box-shadow:
        inset 1px 1px 2px rgba(70,45,10,.22),
        0 2px 3px rgba(60,40,10,.35);

    outline: none;
}


/* =========================================================
   TEXT INPUTS
   ========================================================= */

.defaultTbl input[type="text"],
.defaultTbl input[type="email"],
.defaultTbl input[type="number"],
.defaultTbl input[type="date"],
.defaultTbl input[type="datetime-local"],
.defaultTbl input[type="month"],
.defaultTbl input[type="time"],
.defaultTbl input[type="password"],
.defaultTbl input[type="search"],
.defaultTbl input[type="tel"],
.defaultTbl input[type="url"] {
    height: 31px;
    padding: 4px 8px;
}


/* =========================================================
   DROPDOWN
   ========================================================= */

.defaultTbl select {
    height: 31px;
    min-width: 130px;
    padding: 4px 8px;
    color: #ffffff;
}


/* =========================================================
   TEXTAREA
   ========================================================= */

.defaultTbl textarea {
    min-height: 60px;
    padding: 6px 8px;
    resize: vertical;
}


/* =========================================================
   INPUT HOVER
   ========================================================= */

.defaultTbl input[type="text"]:hover,
.defaultTbl input[type="email"]:hover,
.defaultTbl input[type="number"]:hover,
.defaultTbl input[type="date"]:hover,
.defaultTbl input[type="datetime-local"]:hover,
.defaultTbl input[type="month"]:hover,
.defaultTbl input[type="time"]:hover,
.defaultTbl input[type="password"]:hover,
.defaultTbl input[type="search"]:hover,
.defaultTbl input[type="tel"]:hover,
.defaultTbl input[type="url"]:hover,
.defaultTbl select:hover,
.defaultTbl textarea:hover {
    background: linear-gradient(
        to bottom,
        #d4b46f 0%,
        #bd9952 50%,
        #aa8540 100%
    );

    border-top-color: #ead6a8;
    border-left-color: #ddc58f;
}


/* =========================================================
   INPUT FOCUS
   ========================================================= */

.defaultTbl input[type="text"]:focus,
.defaultTbl input[type="email"]:focus,
.defaultTbl input[type="number"]:focus,
.defaultTbl input[type="date"]:focus,
.defaultTbl input[type="datetime-local"]:focus,
.defaultTbl input[type="month"]:focus,
.defaultTbl input[type="time"]:focus,
.defaultTbl input[type="password"]:focus,
.defaultTbl input[type="search"]:focus,
.defaultTbl input[type="tel"]:focus,
.defaultTbl input[type="url"]:focus,
.defaultTbl select:focus,
.defaultTbl textarea:focus {
    border-top-color: #f0dfb4;
    border-left-color: #e5d09a;
    border-right-color: #8a6b34;
    border-bottom-color: #725622;

    box-shadow:
        inset 1px 1px 2px rgba(60,40,10,.18),
        0 0 3px rgba(183,149,78,.55);
}


/* =========================================================
   PLACEHOLDER TEXT
   ========================================================= */

.defaultTbl input::placeholder,
.defaultTbl textarea::placeholder {
    color: rgba(255,255,255,.75);
    opacity: 1;
}


/* =========================================================
   CHECKBOXES / RADIO BUTTONS
   ========================================================= */

.defaultTbl input[type="checkbox"],
.defaultTbl input[type="radio"] {
    vertical-align: middle;
    accent-color: #a4864b;
}


/* =========================================================
   FILE INPUT
   ========================================================= */

.defaultTbl input[type="file"] {
    font-family: Muli, Verdana, sans-serif;
    font-size: 12px;
    color: #ffffff;
}


/* =========================================================
   BUTTONS - GOLD / ROUNDED / RAISED
   ========================================================= */

.defaultTbl input[type="submit"],
.defaultTbl input[type="button"],
.defaultTbl input[type="reset"],
.defaultTbl button,
.timesheetSearchButton {
    box-sizing: border-box;

    font-family: Muli, Verdana, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;

    padding: 6px 16px;

    background: linear-gradient(
        to bottom,
        #d2b471 0%,
        #bd9b56 45%,
        #a17d38 100%
    );

    /* Strong raised / outdented effect */
    border-top: 2px solid #ead6a8;
    border-left: 2px solid #ddc58f;
    border-right: 2px solid #72541f;
    border-bottom: 3px solid #624719;

    border-radius: 7px;

    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.30),
        0 2px 4px rgba(50,35,10,.40);

    cursor: pointer;
    outline: none;
}


/* =========================================================
   BUTTON HOVER
   ========================================================= */

.defaultTbl input[type="submit"]:hover,
.defaultTbl input[type="button"]:hover,
.defaultTbl input[type="reset"]:hover,
.defaultTbl button:hover,
.timesheetSearchButton:hover {
    background: linear-gradient(
        to bottom,
        #dfc486 0%,
        #c7a660 45%,
        #aa8641 100%
    );

    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.35),
        0 3px 5px rgba(50,35,10,.45);
}


/* =========================================================
   BUTTON ACTIVE / PRESSED
   ========================================================= */

.defaultTbl input[type="submit"]:active,
.defaultTbl input[type="button"]:active,
.defaultTbl input[type="reset"]:active,
.defaultTbl button:active,
.timesheetSearchButton:active {
    transform: translateY(1px);

    border-top-color: #72541f;
    border-left-color: #72541f;
    border-right-color: #ddc58f;
    border-bottom-color: #ddc58f;

    box-shadow:
        inset 1px 1px 3px rgba(50,35,10,.35);
}