
/*********************************************************************************************************
 * Custom Definitions for jQuery UI icon
 */
.noInitBorders  {
	background: transparent;
	border-style: hidden;
}
.customIcon20_20.ui-button-icon-only {
	/* Otherwise, there no height and width set if there is no button text.
	 * FWIW, the default jQuery CSS is missing these settings.
	 */
	width:	22px;
	height:	22px;
}
.customIcon20_20.ui-button-icon-only .ui-icon {
	margin-left:	-10px;		/* Half the icon width */
}
.customIcon20_20.ui-state-default  .ui-icon {
	width:			 20px;		/* Icon width */
	height:			 20px;		/* Icon height */
	margin-top:		-10px;		/* Half the icon height */
	background-position: 0 0;
}
.customIcon20_20.ui-state-hover  .ui-icon {
	background-position: 0 -20px;	/* Icon height */
}
.customIcon20_20.ui-state-active  .ui-icon {
	background-position: 0 -40px;	/* 2x icon height */
}

.customIcon40_40.ui-button-icon-only {
	/* Otherwise, there no height and width set if there is no button text.
	 * FWIW, the default jQuery CSS is missing these settings.
	 */
	width:	42px;
	height:	42px;
}
.customIcon40_40.ui-button-icon-only .ui-icon {
	margin-left:	-20px;		/* Half the icon width */
}
.customIcon40_40.ui-state-default  .ui-icon {
	width:			 40px;		/* Icon width */
	height:			 40px;		/* Icon height */
	margin-top:		-20px;		/* Half the icon height */
	background-position: 0 0;
}
.customIcon40_40.ui-state-hover  .ui-icon {
	background-position: 0 -40px;	/* Icon height */
}
.customIcon40_40.ui-state-active  .ui-icon {
	background-position: 0 -80px;	/* 2x icon height */
}

/*********************************************************************************************************
 * Definitions for Details page
 */

#chronTab {
	width: 100%;
	height: auto;
	background: #d2d2d2;
	border: 1px solid red;
}
#chronTab,
#chronTab td
{
	border: 1px solid #888;		/* Must match chronZoomTD color */
	padding: 0;
}

#chronViewerCell {
	position: relative;
}

#chronViewer 
{
    min-width: 100px;
    display: block;		/* This gets rid of the blank space below in the parent div */
}

#chronViewerSpinner
{
	position:	absolute;
	top:		61%;
	left:		50%;
}

#chronTrackChecklist-wrapper {
	position: absolute;
	margin-left: 0;
	margin-top:  0;
}

 /* Track drop down button look should be square (no radius) to fit input with the timeline layout */
#chronTrackChecklist-wrapper .ui-corner-all {
	/*-webkit-border-radius: 0;*/
	 /*-khtml-border-radius: 0;*/
	   /*-moz-border-radius: 0;*/
	        border-radius: 0;
}

#chronZoomTD,
#chronTimelineSearchTD,
#chronPlaybackSpeed {
	padding: 4px 7px 2px 7px;
	/*padding: 3px 7px;*/
	font-weight: bold;
	height: 24px;			/* Fix the height of the entire row */
	display: inline-block;
	vertical-align: top;
}

#chronZoomTD {
	border-right:  1px solid #888;		/* Must match chronTab color */
}

#chronTimelineSearchTD {
	padding: 3px 7px;
}

/*** Timeline Search ************************ */

.spanInputWithClearButton {
	position: relative;
}

#chronEventSearchClear {
	width:		auto	!important;
	background: transparent;
	border-style: hidden;
	position: absolute;
	right: 7px;
	top: 2px;
}

.chronEventSearchClearIE {		/* Override standard design */
	position:		relative	!important;
	padding-right:	0			!important;
	right:			0			!important;
	top:			0			!important;
}

#chronEventSearchInput {
	width: 120px;
	padding: 2px 18px 2px 2px;
	z-index: 1;
}

#selectFilter {
	margin-left: 10px;
}

#chronEventSearchLeft,
#chronEventSearchRight {
	height: 20px;
	width: 20px;
	vertical-align: middle;		/* Needed for Chrome, IE & Safari to make button not stick above */
}

#chronEventNoMatch,
#chronEventNoMatch,
#chronEventMultipleMatches {
	vertical-align: middle;		/* Needed for Chrome, IE & Safari to make button not stick above */
}

/* Override for Firefox */
@-moz-document url-prefix() {
	#chronEventSearchLeft,
	#chronEventSearchRight {
		vertical-align: 0;		/* Not needed for Firefox */
	}
}

#chronSearchButtons {
	/*padding-right: 100px;*/		/* prevent selection a bit after buttons */
	display: inline-block;		/* to include all child areas */
}

#chronPlaybackSpeed {
	float: right;
}

.chronZoomLessIcon {
	background-image: url(/Content/images/Timeline/_ZoomLess.png) !important;	/* Override jQuery icons set */
}

.chronZoomMoreIcon {
	background-image: url(/Content/images/Timeline/_ZoomMore.png) !important;	/* Override jQuery icons set */
}

#chronZoomSlider {
	display: inline-block;
	width: 120px;
	margin: 0 8px 4px 6px;
	top: -2px;
}
 /*Override for Firefox */
@-moz-document url-prefix() {
	#chronZoomSlider {
		top: 5px;
	}
}
/* Override for Chrome, Safari & Opera */
/*@media screen and (-webkit-min-device-pixel-ratio:0) {*/
	/*#chronZoomSlider {*/
		/*margin-bottom: -2px;*/
	/*}*/
/*}*/


#chronPlaybackSpeedButtons {
	display: inline-block;
}

#chronPlaybackSpeedButtons .ui-button-text {
	padding: 0.1em 0.4em;
}

#chronScrollRow {
	padding-top: 2px;
}

#chronScrollSlider {
	margin-left: 0;
	padding-left: 0;
	width:100px;
	display: inline-block;
	/*float: left;*/
}

#chronScrollLeft {
	margin-left: 110px;
}

/* Event Tiptext related */
#chronTip {
	/*max-width:		300px;*/
	padding-top:	3px;
	padding-bottom:	3px;
}
#chronTipTable {
	/*max-width:	400px;*/
	border-spacing: 0;
}
#chronTipTable td {
	padding:		0;
}
/*#chronTipFirstLine {*/
	/*display: table-row;*/
	/*background-color: #444;*/
/*}*/
#chronTipIconTD {
	width:1px;		/* Force min width */
	vertical-align: top;
}
#chronTipIcon {
	margin-right:	0.2em;
}
#chronTipTitle {
	/*background-color: #bbccaa;*/
	vertical-align:	top;
	max-width:		240px;
	word-break:		break-all;		/* For IE to break a long single word */
	word-wrap:		break-word;		/* For FF & Chrome to break a long single word (not W3C) */
}
#chronTipTrackName {
	/*background-color: #ccaabb;*/
	float:			right;
	padding-left:	1em !important;
}
#chronTipSubTitle {
	clear:			both;
	font-style:		italic;
}
#chronTipBody {
	margin-top:		0.5em;
	max-width:		341px;
	clear:			both;
}
#chronTipImage {
	margin-top:		0.4em;
}

#rsrcNoCommandData {			/* CSS used in ChronViewer canvas only */
	display:		none;
	color:			#777777;
	font:			italic 12px Arial, Helvetica, sans-serif;
}

#rsrcTrackNames {				/* CSS used in ChronViewer canvas only */
	display:		none;
	color:			#000000;
	font:			normal 12px Arial, Helvetica, sans-serif;
}

/*********************************************************************************************************
 * Definitions for the Navigator
 */

#navigatorShowIt,
#navigator {
	vertical-align: top;
}

#navigatorShowIt {
	width:		21px;
	position:	relative;
	/*text-align:	center;*/
	cursor:		pointer;
	/*background-color: red;*/

}

#navigator {
	display:	none;
	width:		212px;
	text-align: right;

}

/* see http://www.w3schools.com/cssref/tryit.asp?filename=trycss3_transform-origin */
#navigatorShowItText {
	/*height: 500px;			*//* Debug */
	/*border: 1px solid black;	*//* Debug */
	/*background-color: red;	*//* Debug */
	-webkit-transform: rotate(-90deg);
	   -moz-transform: rotate(-90deg);
	    -ms-transform: rotate(-90deg);
	     -o-transform: rotate(-90deg);
	        transform: rotate(-90deg);
	-webkit-transform-origin: 0 0;
	   -moz-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	     -o-transform-origin: 0 0;
	        transform-origin: 0 0;
	white-space: nowrap;
	font-weight: bold;
	position: absolute;
	top: 386px;
}

#navigatorShowButton,
#navigatorHideButton {
	height:		16px;
	width:		16px;
	margin:		2px;
}

#navigatorShowButton.ui-state-default,
#navigatorHideButton.ui-state-default {
	background: transparent;			/* No button background in the default state for these buttons */
}

#navigatorShowButton.ui-state-hover,
#navigatorHideButton.ui-state-hover {
	background: #BEBEBE;				/* Todo: rollover highlight must SYNC MANUALLY with jQuery's normal .ui-state-hover */
}

#navigatorTitle {
	margin: 3px 0 0 6px;
	color: #1F1F1F;
	font-size: 1.15em;
	font-weight: bold;
	position: absolute;
	z-index: 1;
}

#chronNav {
	margin:			0 10px 6px 12px;
}

#chronHome {
	float:			left;
	left:			-17px;
}

#chronBack {
	float:			left;
	margin-left:	4px;
	z-index:		1;					/* Needs to be higher than the home button because of overlap */
}

.chronHomeIcon {
	background-image: url(/Content/images/Timeline/_HomeButton.png) !important;	/* Override jQuery icons set */
}

.chronBackIcon {
	background-image: url(/Content/images/Timeline/_BackButton.png) !important;	/* Override jQuery icons set */
}

#navigatorSpinner {
	position:	absolute;
	top:		50%;
	left:		50%;
}

/*********************************************************************************************************
 * Definitions for Chronicle Widgets
 */

.chronButton_ShowHide {
	position: absolute;
	top: 0;
	left: 0;
	display:  none;
	border-style: hidden;
	width:        13px !important;
	height:       14px !important;
	margin:       4px  !important;
}

.chronButton_ShowHide .ui-icon {
	background-image: url(/Content/themes/base/images/ui-icons_ffffff_256x240.png);
	left: 47%;		/* Tweak to get it centered on Chrome/FF/IE on PC/Mac, default is 50% */
}

.chronButton_ShowHide.ui-state-default {
	background: rgba(186,147,103,0.7);
}

.chronButton_ShowHide.ui-state-hover {
	background: rgba(236,190,137,1);
}


/*********************************************************************************************************
 * Definitions for the Command Overlay
 */

#chronCommandsWrapper {
	position:		absolute;
	left:			0;
	top:			50%;
	opacity:		1;
	margin-top:		-70px;	/* Half of #chronCommands's height */
}
#chronCommandsButton {
	position:		absolute;
	left:			0;
	right:			0;
	top:			0;
	width:			13px;
	height:			14px;
	margin: 4px;
}
#chronCommandsButton .ui-icon {
	background-image: url(/Content/themes/base/images/ui-icons_ffffff_256x240.png);
	left: 47%;		/* Tweak to get it centered on Chrome/FF/IE on PC/Mac, default is 50% */
}
#chronCommandsButton.ui-state-default {
	background: rgba(186,147,103,0.7);
}
#chronCommandsButton.ui-state-hover {
	background: rgba(236,190,137,1);
}


/*********************************************************************************************************
 * Definitions for the Keyboard Overlay
 */

.chronKbd {
	position:         absolute;
	left:             0;    /* entire width */
	right:            0;    /* entire width */
	/*display:          none;*/
	cursor:           move;
	text-align:       left;
	/*background-color: rgba(128, 0, 0, 0.5);*/
}

.chronKbd_init {
	/* Initial location */
	bottom:			  130px;
}

.chronKbd_small
{
	/*dummy*/
}

.chronKbd.chronKbd_onCtrlBar {
	left:     175px;
	right:    175px;
	overflow: hidden;
}

.chronKbd_small     .chronKbd_wrap,
.chronKbd_onCtrlBar .chronKbd_wrap
{
	/* Adjust based on .chronKbd_phrase*/
	height: 26px;
}

.chronKbd_wrap {
	position:    relative;
	white-space: nowrap;
	/*overflow: hidden;*/
}

/*.chronKbd_Keys {*/
	/*font-size: 0; *//* ignore white space in spans */
	/*overflow:  hidden;*/
	/*padding:   8px;*/
/*}*/

/*.chronKbd_Keys > span {*/
	/*margin:        0 1px;*/
	/*padding:       0 6px;*/
	/*border:        1px solid grey;*/
	/*background:    #ffffff;*/
	/*border-radius: 8px;*/
	/*font-size:     28px;*/
	/*display:       inline-block;*/
/*}*/

.chronKbd_small     .chronKbd_phrase,
.chronKbd_onCtrlBar .chronKbd_phrase
{
	font-size: 22px;
	line-height: 20px;      /* Fix height as different fonts are used */
}

.chronKbd_phrase
{
	font-size: 32px;
	line-height: 42px;      /* Fix height as different fonts are used */

	color:   rgba(255, 255, 255, 0.9);
	background-color: rgba(0, 0, 0, 0.5);
	/*padding: 0 8px;*/
	padding: 0 8px 1px 8px;
	left: 90%;              /* Start off hidden. Will be calculated */
	display: inline-block;
	position: absolute;
}

.chronKbd_dim
{
	color:   rgba(255, 255, 255, 0.4);
}

.chronKbd_mod,
.chronKbd_name,
.chronKbd_plus::before
{
	font-family: 'Segoe UI Light', 'Arial Unicode MS', sans-serif;
	font-weight: normal;
}

.chronKbd_plus::before
{
	font-style:  normal;
}

.chronKbd_mod,
.chronKbd_name
{
	font-style:  italic;
}

.chronKbd_key
{
	font-family: 'Segoe UI', 'Arial Unicode MS', sans-serif;
	font-weight:  bold;
}

.chronKbd_spc
{
	font-family: 'Arial Unicode MS', sans-serif;
	font-weight:  bold;
}

.chronKbd_arr
{
	font-family: 'Calibri', 'Consolas', 'Arial Unicode MS', sans-serif;
	font-weight:  bold;
}

.chronKbd_ent
{
	font-family: 'Cambria Math', 'Arial Unicode MS', sans-serif;
	font-weight:  bold;
}

.chronKbd kbd		/* Symbols for Windows, Command, Options,... */
{
	font-family: 'Segoe UI Symbol', 'Cambria Math', 'Arial Unicode MS', sans-serif;
}

.chronKbd_mod
{
	margin-right: 0.2em;		 /* Spacing after modifier. Also gives enough right padding in a single event display. */
}

.chronKbd_plus::before
{
	content: "+";
	margin-left: -0.1em;		/* Spacing before '+' */
	display: inline-block;		/* Tricky way to override text-decoration inherited potentially from chronKbd_underline (we never want underlining for '+') */
}

.chronKbd_mod.chronKbd_plus::before
{
	margin-right: -0.1em;		/* Spacing between '+' & modifier */
}

.chronKbd_underline
{
	text-decoration: underline;
}

.chronKbd_arr  + .chronKbd_mod,
.chronKbd_arr  + .chronKbd_name,
.chronKbd_key  + .chronKbd_mod,
.chronKbd_key  + .chronKbd_name,
.chronKbd_name + .chronKbd_mod,
.chronKbd_name + .chronKbd_name,
.chronKbd_name + .chronKbd_ent
{
	margin-left: 0.2em;			 /* spacing between chronKbd_* spans within a phrase */
}

.chronKbd_name + .chronKbd_key
{
	margin-left: 0.3em;			/* spacing between chronKbd_* spans within a phrase */
}

.chronKbd_control
{
	/*left:       11px;*/
	top:        6px;
	width:      19px !important;
	height:     18px !important;
	background: url(/Content/images/Kbd_Control.png) no-repeat;
}

.chronKbd_control:hover
{
	box-shadow:  0 0 14px #CCC, inset 0 0 4px #FFF;
	border-radius: 3px;
}

.chronKbd_control.dimmed
{
	opacity: 0.7;
}



/*********************************************************************************************************
 * Definitions for the Video Player
 */

#videoPlayerCell {
	padding:	12px !important;
}

#chronVideoWrapper {
	position:relative;
	display: inline-block;		/* This allow centering of block */

	/* 2013-07-08 Needed for VideoJS */
	width: 100%;
	height: 100%;
	text-align: center;

	overflow: hidden;   /* Needed to contain the Keyboard Overlay phrases from spilling outside. */
}

#chronVideoFullScreen:-webkit-full-screen {
	width:		100%		!important;
	height:		100%		!important;
	padding:	0			!important;
	background-color: black;
}

#chronVideoFullScreen:-moz-full-screen {
	width:		100%		!important;
	height:		100%		!important;
	padding:	0			!important;
	/*display:	table-cell;*/
}

#chronVideoFullScreen:fullscreen {
	width:		100%		!important;
	height:		100%		!important;
	padding:	0			!important;
	/*display:	table-cell;*/
}

#seekingIcon, #seekingIconBG {
	position:   absolute;
	display:	none;
	z-index:	5;
}
#seekingIcon {
	left:   50%;
	top:    50%;
	margin: -20px 0 0 -20px;
}

#seekingIconBG {
	left:   50%;
	top:    47.5%;
	margin: -16px 0 0 -45px;
}

.chronVideo_control_noAudio
{
	cursor:     default		!important;
	top:        8px;
	left:       11px;
	background: url(/Content/images/NoAudio.png) no-repeat;
}

/*********************************************************************************************************
 * Generic scrollbar modifications to the jQuery slider widget
 */
/*.scroll-bar-wrap { padding: 0 0px 0 0px; margin: 0 20px 0 20px; }*/
.scroll-bar-wrap { padding: 0 0 0 0; margin: 0 0 0 0; }
.scroll-bar-wrap .ui-slider { background: none; border:0; height: .8em; margin: 0 auto;	}
.scroll-bar-wrap .ui-handle-helper-parent { position: relative; width: 100%; height: 100%; margin: 0 auto; }
.scroll-bar-wrap .ui-slider-handle { top: -1px; height: 0.8em; }
.scroll-bar-wrap .ui-slider-handle .ui-icon { margin: -8px auto 0; position: relative; top: 50%; }


/*********************************************************************************************************
 * Definitions for the Embed Dialog
 */
#embedButton {
	font-size: 12px;
	height: 25px;
	vertical-align: top;
}
.ui-state-default#embedButton { border: 2px solid #afafaf; background: #EEEEEE;	color: #212121; }
.ui-state-hover#embedButton   { border: 2px solid #999999; background: #bebebe; color: #212121; }
.ui-state-active#embedButton  { border: 2px solid #aaaaaa; background: #e6e6e6; color: #212121; }
.ui-corner-all#embedButton { -moz-border-radius: 0; -webkit-border-radius: 0; -khtml-border-radius: 0; border-radius: 0; }

#embedDialog {
	display: none;
}

#embedDialog,
#embedDialog div,
#embedDialog textarea {
	margin-top: 10px;
}

#embedText {
	display: block;
	width: 99%;
	height: 5.4em;
}

#embedSizeList {
	margin-right: 1em;
}

#embedCustomInputs input {
	width: 3em;
}

#embedCustom {
	margin: 1em;
}

#embedStartTime {
	width:   5em;
}

select#embedSizeList option {
	padding-right: 6px;
}
