:root {
  --pcolor: #00bfa5;
  --pdark: #008e76;
  --tcolor: #f57f17;
  --tdark: #bc5100;
  --border: #DDD;
}

body {
    font-family: 'Roboto', arial, sans-serif;
    max-width: 650px;
    margin: 50px auto;
    color: #444;
    border: 1px solid var(--border);
    border-radius: 5px;
}

#display {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#timeDisplay {
    font-size: 5em;
}

#info {
    text-align: center;
    flex: 2;
}

body > div {
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

body > div:last-child {
    border-bottom: none;
}

button {
    background-color: var(--pcolor);
    border: none;
    border-radius: 2px;
    min-width: 70px;
    height: 30px;
    color: white;
    font-weight: bold;
    padding: 0 10px;
    margin-right: 20px;
}

button:hover {
    background-color: var(--pdark);
}

button.secondary{
    background-color: var(--tcolor);
}

/******************************************************
*              INTERVAL LIST
******************************************************/
#intervalWrapper {
    max-height: 250px;
    overflow: auto;
}

#intervalContainer {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
}

#intervalContainer th {
    padding: 20px;
    text-align: left;
    font-weight: normal;
}

#intervalContainer > .timer-list-item > td {
    border-bottom: 1px solid var(--border);
}

#intervalContainer > .timer-list-item:first-child {
    border-top: 1px solid var(--border);
}

#intervalContainer > .timer-list-item:last-child {
    padding: 20px 20px 0 20px;
    border-bottom: none;
}

#intervalContainer > .timer-list-item > td {
    padding: 20px;
}

#intervalContainer > .timer-list-item.current {
    background-color: #EEE;
}

/******************************************************
*                    MISC
******************************************************/

.hide {
    display: none;
}

i {
    cursor: pointer;
}

#addBtn {
    margin-right: 20px;
}
