body {
    background: #EEEEEE;
    color: #222222;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    height: 100vh;
    overflow-y: hidden;
}

@keyframes ease-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1, h2 {
    font-family: 'Open Sans Condensed', sans-serif;
    margin: 0;
}

h1 {
    font-size: 32pt;
    text-transform: uppercase;
}

@media only screen and (max-width: 768px) {
    h1 {
        font-size: 24pt;
    }
}

h1.fade-title {
    font-size: 36pt;
    animation: ease-up .75s ease-in-out;
}

h2 {
    opacity: .6;
}

@media only screen and (max-width: 768px) {
    h3 {
        font-size: 12pt;
    }
}

h4 {
    font-family: 'Roboto', sans-serif;
    color: rgba(255, 255, 255, .8);
    font-weight: normal;
    font-size: 14pt;
    margin: 0;
}

#app {
    height: calc(100vh - 223px);
}

.rec-dot {
    display: inline-block;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    background: #f44336;
}

.list-container {
    height: 100%;
    margin-top: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.searchbox {
    outline: none;
    box-sizing: border-box;
    padding: 12px;
    width: calc(100% - 8px);
    margin-left: 4px;
    margin-right: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 14pt;
    font-weight: bold;
    border: 2px solid #DDD;
    border-radius: 4px;
    transition: all .1s ease-in-out;
}

.searchbox:focus {
    box-shadow: 0 0 4px #f44336;
}

@media only screen and (max-width: 768px) {
    .searchbox {
        font-size: 12pt;
    }
}

.recording-counter {
    box-sizing: border-box;
    padding: 8px 16px 8px 16px;
    background: rgba(0,0,0,.07);
    border-radius: 4px;
    margin: 4px;
    margin-top: 16px;
    text-align: left;
}

@media only screen and (max-width: 768px) {
    .recording-counter {
        padding: 8px;
        text-align: center;
    }
}

.recording-counter > select {
    box-sizing: border-box;
    float: right;
    font-family: 'Roboto', sans-serif;
    border: 1px solid #DDD;
    border-radius: 2px;
    width: 25%;
}

@media only screen and (max-width: 768px) {
    .recording-counter > select {
        float: none;
        display: block;
        width: 100%;
        margin-top: 8px;
    }
}

.recordings-grid-container {
    position: relative;
    height: 100%;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 4px;
    margin: 4px;
    margin-bottom: 0;
    border-radius: 2px 2px 0 0;
    background: rgba(0,0,0,.07);
}

.recordings-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

@media only screen and (max-width: 768px) {
    .recordings-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.schedule-label {
    animation: ease-up .25s ease-in-out;
    position: relative;
    box-sizing: border-box;
    text-align: left;
    font-size: 11pt;
    background-color: #3F51B5;
    padding: 8px 16px 8px 8px;
    color: white;
    border-radius: 2px;
    margin: 4px;
    cursor: pointer;
}

.schedule-label.hidden {
    background: rgb(125, 131, 161);
}

.schedule-label > i {
    float: right;
}

.recording-box {
    animation: ease-up .25s ease-in-out;
    position: relative;
    box-sizing: border-box;
    padding: 16px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .24);
    text-align: left;
    margin: 4px;
    border-radius: 2px;
    user-select: none;
    cursor: pointer;
    transition: all .15s ease-in-out;
}

.recording-box:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .24);
    background: #E1F5FE;
}

.recording-box > h2 {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    opacity: 1;
    font-size: 14pt;
    margin-right: 8px;
}

.recording-box > h3 {
    margin: 0;
    font-weight: normal;
    font-size: 12pt;
    opacity: .64;
}

.modal-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
}

.modal-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .4);
}

.modal-container > i {
    position: absolute;
    right: 16px;
    top: 8px;
    font-size: 18pt;
    cursor: pointer;
}

.detail-modal {
    position: relative;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 32px;
    background: white;
    border: 2px solid #CCC;
    width: calc(100% - 32px);
    max-width: calc(800px - 32px);
    max-height: calc(100% - 64px);
    margin-top: 32px;
    overflow-y: auto;
}

@media only screen and (max-width: 768px) {
    .detail-modal {
        padding: 4px;
    }
}

.modal-contents {
    animation: ease-up .25s ease-in-out;
}

.detail-modal > h1 {
    font-size: 24pt;
}

div.recording-title {
    box-sizing: border-box;
    padding: 8px 16px 8px 16px;
    background: #f44336;
    color: #FFF;
    text-align: left;
    border-radius: 4px 4px 0 0;
    margin-top: 32px;
}

div.recording-title > h3 {
    display: inline;
    margin: 0;
}

div.recording-title > h3 > span {
    font-weight: normal;
    margin-left: .25em;
}

div.recording-title > a {
    float: right;
}

div.recording-title > a:link, div.recording-title > a:hover, div.recording-title > a:visited {
    color: #FFF;
}

div.recording-title > a > i {
    margin-left: .25em;
}

@media only screen and (max-width: 768px) {
    div.recording-title {
        margin-top: 16px;
    }
}

table {
    border: 1px solid #DDD;
    border-top: none;
    border-radius: 0 0 4px 4px;
    border-collapse: collapse;
}

th {
    background: #EEE;
}

th, td {
    text-align: center;
    padding: 8px;
}

.exit-x {
    position: absolute;
    right: 8px;
    top: 4px;
    cursor: pointer;
}

.archive-list-container {
    box-sizing: border-box;
    display: inline-block;
    overflow: auto;
    height: 100%;
}

table.v3-archive-table {
    border: none;
    margin: 0 auto;
}

table.v3-archive-table > tbody > th {
    position: sticky;
    top: 0;
    background: rgb(175, 175, 175);
}
table.v3-archive-table > tbody > tr:nth-child(even) {
    background-color: white;
}

table.v3-archive-table > tbody > th, table.v3-archive-table > tbody > tr > td {
    text-align: left;
}