﻿.wattendance-clock-wrapper {
    display: grid;
    grid-template-columns: auto auto;
    margin: 10px;
}

.table-marcacoes {
    width: 320px;
}

    .table-marcacoes > h3 {
        font-weight: bold;
        border: 1px solid transparent;
        border-top-right-radius: 10px;
        border-top-left-radius: 10px;
        padding: 5px;
        background: var(--table-primary-color);
        color: var(--table-title-color);
        margin: 0;
        font-size: 24px
    }

    .table-marcacoes > .table-marcacoes-rows {
        font-size: 18px;
        padding: 5px;
        margin: 0;
        background: var(--table-secondary-color);
        color: var(--table-data-color);
        border-bottom-right-radius: 10px;
        border-bottom-left-radius: 10px;
        display: grid;
        grid-template-rows: repeat(auto);
        row-gap: 5px;
    }

    .table-marcacoes > .table-marcacoes-footer {
        display: grid;
        grid-template-columns: auto auto;
        background: var(--table-secondary-color);
        color: var(--table-data-color);
        border-radius: 10px;
        padding: 5px;
        margin-top: 10px;
    }

        .table-marcacoes > .table-marcacoes-footer > h3 {
            margin: 0;
            padding: 6px 5px;
            font-size: 16px;
            font-weight: bold;
        }

        .table-marcacoes > .table-marcacoes-footer > span {
            margin: 0;
            padding: 5px;
            font-size: 16px;
            font-weight: bold;
        }

.table-marcacoes-button {
    background: var(--table-button-background-color);
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
    font-size: 16px;
    cursor: pointer;
    color: var(--table-button-text-color);
}

    .table-marcacoes-button > span {
        font-weight: bold;
    }

    .table-marcacoes-button > i {
        float: right;
        font-size: 22px;
    }


/*
    Clock css
*/

.wattendance-clock-clock {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: var(--watch-color);
    /*margin: 100px auto 0px auto;*/
    position: relative;
    border: 20px solid var(--watch-border-color);
}

.wattendance-clock-center {
    background-color: var(--hand-color);
    position: absolute;
    left: calc(50% - 10px);
    top: calc(50% - 10px);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    z-index: 20;
}

.wattendance-clock-hour-hand {
    width: 10px;
    height: 75px;
    background-color: var(--hand-color);
    transform-origin: bottom center;
    border-radius: 4px;
    position: absolute;
    top: 60px;
    left: 125px;
    z-index: 10;
    transition-timing-function: cubic-bezier(0.1, 2.7, 0.58, 1);
    transform: rotate(360deg);
}

.wattendance-clock-minute-hand {
    width: 5px;
    height: 120px;
    background-color: var(--hand-color);
    transform-origin: bottom center;
    border-radius: 4px;
    position: absolute;
    top: 10px;
    left: 117px;
    z-index: 9;
    transition-timing-function: cubic-bezier(0.1, 2.7, 0.58, 1);
    transform: rotate(90deg);
}

.wattendance-clock-time {
    position: absolute;
    top: 45%;
    left: 15%;
    border: 1px solid #fff8dc;
    background-color: #fff;
    padding: 5px;
    display: block;
    box-shadow: inset 0px 2px 5px rgba(0,0,0,.4);
    border-radius: 5px;
    min-width: 50px;
    height: 15px;
    color: var(--text-color);
}


.wattendance-clock-clock ul {
    list-style: none;
    padding: 0;
}

    .wattendance-clock-clock ul li {
        position: absolute;
        width: 20px;
        height: 20px;
        text-align: center;
        line-height: 20px;
        font-size: 12px;
        color: var(--small-text-color);
    }

        .wattendance-clock-clock ul li:nth-child(1) {
            right: 22%;
            top: 6.5%;
        }

        .wattendance-clock-clock ul li:nth-child(2) {
            right: 6%;
            top: 25%;
        }

        .wattendance-clock-clock ul li:nth-child(3) {
            right: 1%;
            top: calc(50% - 10px);
            color: var(--text-color);
            font-size: 22px;
            font-weight: bold;
        }

        .wattendance-clock-clock ul li:nth-child(4) {
            right: 6%;
            top: 69%;
        }

        .wattendance-clock-clock ul li:nth-child(5) {
            right: 22%;
            top: 84%;
        }

        .wattendance-clock-clock ul li:nth-child(6) {
            right: calc(50% - 10px);
            top: calc(99% - 20px);
            color: var(--text-color);
            font-size: 22px;
            font-weight: bold;
        }

        .wattendance-clock-clock ul li:nth-child(7) {
            left: 22%;
            top: 84%;
        }

        .wattendance-clock-clock ul li:nth-child(8) {
            left: 6%;
            top: 69%;
        }

        .wattendance-clock-clock ul li:nth-child(9) {
            left: 1%;
            top: calc(50% - 10px);
            color: var(--text-color);
            font-size: 22px;
            font-weight: bold;
        }

        .wattendance-clock-clock ul li:nth-child(10) {
            left: 6%;
            top: 25%;
        }

        .wattendance-clock-clock ul li:nth-child(11) {
            left: 22%;
            top: 6.5%;
        }

        .wattendance-clock-clock ul li:nth-child(12) {
            right: calc(50% - 10px);
            top: 1%;
            color: var(--text-color);
            font-size: 22px;
            font-weight: bold;
        }