﻿body {
    max-width: 1200px;
}

#warning {
    padding: 8px;
    background-color: yellow;
}

/* classes used for querying but not styling */
.grayNoVideo, .browseForVideoFile, .browseForCaptionFile {
}

table.outerLayout {
    width: 100%;
}

table.outerLayout td {
    vertical-align: top;
    padding-right: 12px;
    padding-bottom: 12px;
    padding-top: 12px;
    white-space: nowrap;
}

table.innerLayout {
    width: auto;
    height: 70px;
}

table.innerLayout td {
    padding: 0 0 6px 0;
    vertical-align: baseline;
}

/* a lot of crazy to leave the table row so it affects the layout of the overall table but hide it */
tr.hidden td, tr.hidden td * {
    visibility: hidden;
    height: 0px;
    max-height: 0px;
    line-height: 0;
    padding: 0;
    overflow: hidden;
}

button {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    min-width: 76px;
}

input[type=radio], input[type=checkbox] {
    position: relative;
    top: 1px;
}

label {
    margin-right: 0.5em;
    white-space: nowrap;
}

span#videoLength, span#elapsedTime {
    margin-right: 0.5em;
}

#videoElm {
    display: block;
    border: solid 1px #999;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    min-height: 297px;
}

.videoError {
    display: block;
    background-color: #999;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    min-height: 297px;
    color: white;
    text-align: center;
    padding: 12px;
}

#videoError {
	display: none;
}

#captionTitle {
    padding-top: 4px;
    padding-bottom: 4px;
}

#textCaptionEntry {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    line-height: 19px;
    border: 1px solid #999;
    padding: 3px 8px 5px;
    text-align: center;
    min-height: 50px;
    overflow: hidden;
}

#textCaptionEntry.playing {
    border-color: #666;
    background-color: #666;
    color: white;
}


.ie9 input[type=file], .ie10 input[type=file] {
    width: 87px;
    padding: 2px;
    vertical-align: middle;
    position: relative;
    top: -1px;
    font-family: 'Segoe UI' , Verdana, sans-serif;
    font-size: 14px;
}

.ie10 input[type=file] {
    width: 85px;
}

textarea, input[type=text] {
    font-family: 'Segoe UI' , Verdana, sans-serif;
    font-size: 14px;
}

textarea {
    line-height: 16px;
}

input[type=text] {
    line-height: 14px;
}

#videoURL, #ttURL {
    width: 225px;
}

#captionFileAndMarkup {
    display: none;
}

#captionFile {
    font-family: Consolas, monospace;
}

/* the list of captions */

#display {
    border: solid 1px #999;
    height: 374px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow: auto;
}

#display div {
    cursor: pointer;
    padding: 2px 0 3px 0;
    white-space: nowrap;
    overflow: hidden;
}

#display div:nth-child(odd) {
    background-color: #5BC2EC;
}

#display div:nth-child(even) {
    background-color: #bef;
}

#display div:hover {
    background-color: #ECA809;
}

#display div span {
    margin-left: 1em;
	display: inline-block;
	vertical-align: top;
}

#display div span:nth-child(3) {
    font-style: italic;
}
