﻿#document-container
{
    position: relative;
    top: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    background: lightgray;
}

#document-control-bar
{
    border: 1px solid gray;
    border-radius: 5px;
    position: fixed;
    bottom: 2px;
    height: 50px;
    margin-left: 7px;
    background: #ffd;
    z-index: 10;
}

#document-control-bar ul
{
    list-style-type: none;
    padding: 0;
}

.document-control-group
{
    margin: 0 5px 0 5px;
    float: left;
}

.results-group
{
    background-color: transparent;
    
}

.document-control
{
    height: 24px;
    width: 24px;
    margin: 2px;
    padding: 0;
    float: left;
}

.document-control:hover
{
    cursor: pointer;
}

#document
{
    position: relative;
    margin: 0;
    padding: 0;
}

.document-page
{
    position: relative;
    border: 1px solid lightgray;
    margin: 1mm 0 1mm 1mm;
}

.document-page-current
{
    box-shadow: 0 0 5px yellow;
}

mark
{
    background-color: yellow;
    box-shadow: 0 0 5px yellow;
}

.document-page-iframe
{
    border-style: none;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.document-page-loading
{
    background: white url(../Content/images/loading.gif) no-repeat center;
}

#document-fields-container
{
    display: none;
    padding: 0;
    margin: 0;
    position: fixed;
    left: 12px;
    right: 14px;
    top: 38px;
    background-color: transparent;
}

#document-fields
{
    background-color: white;
    border: 2px solid gray;
    border-radius: 5px;
	max-height: 500px;
	overflow: auto;
}

#document-fields mark
{
    color: Black;
}

#document-fields-table
{
    width: 100%;
    padding: 5px;
    margin: 0;
}

#document-fields-table tr
{
    padding: 2px;
    margin: 0;
}

#document-fields-table tr:nth-child(even)
{
    background-color: #eee;
}

#document-fields-table td
{
	width: 50%;
}

.doc-fields-name
{
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 10pt;
    font-weight: bold;
    color: gray;
    text-align: right;
    white-space: nowrap;
    padding-right: 3px;
    border-right: 1px solid gray;
}

.doc-fields-value
{
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 10pt;
    padding-left: 3px;
}

#document-attachments-container
{
    display: none;
    padding: 0;
    position: fixed;
    bottom: 60px;
    background-color: transparent;
}

#document-fields-close
{
    display: inline;
    position: absolute;
    top: -7px;
    right: -8px;
}

#document-attachments-close
{
    display: inline;
    position: absolute;
    top: -7px;
    right: -11px;
}

#document-attachments
{
    height: 100%;
    width: 100%;
    background-color: white;
    border: 2px solid gray;
    border-radius: 5px;
}

#document-attachments-list
{
    list-style: none;
    width: 100%;
    padding: 5px;
    margin: 0;
}

#document-attachments-list img
{
    vertical-align: middle;
}

#document-attachments-list a
{
    text-decoration: none;
    font-family: Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 10pt;
}

#document-attachments-list a:normal { color: gray; }
#document-attachments-list a:active { color: gray; }
#document-attachments-list a:visited { color: gray; }
#document-attachments-list a:hover { color: blue; }

#pageno_input
{
    width: 4em;
    text-align: center;
}

#doc_fields
{
    background: url(../Content/images/docnav.png) 0 0;
}

#doc_attachments
{
    background: url(../Content/images/docnav.png) -24px 0;
}

#hits_back_results
{
    background: url(../Content/images/docnav.png) -48px 0;
}

#hits_back_first
{
    background: url(../Content/images/docnav.png) -72px 0;
}

#hits_back_prev
{
    background: url(../Content/images/docnav.png) -96px 0;
}

#back_toc
{
    background: url(../Content/images/docnav.png) -120px 0;
}

#back_first
{
    background: url(../Content/images/docnav.png) -144px 0;
}

#back_prev
{
    background: url(../Content/images/docnav.png) -166px 0;
}

#forward_next
{
    background: url(../Content/images/docnav.png) -192px 0;
}

#forward_last
{
    background: url(../Content/images/docnav.png) -216px 0;
}

#forward_toc
{
    background: url(../Content/images/docnav.png) -240px 0;
}

#hits_forward_next
{
    background: url(../Content/images/docnav.png) -264px 0;
}

#hits_forward_last
{
    background: url(../Content/images/docnav.png) -288px 0;
}

#hits_forward_results
{
    background: url(../Content/images/docnav.png) -312px 0;
}

#page_images
{
    background: url(../Content/images/docnav.png) -360px 0;
}

#page_notes
{
    background: url(../Content/images/docnav.png) -408px 0;
}

#doc_pdflink
{
    background: url(../Content/images/docnav.png) -432px 0;
}

#db_contents
{
    background: url(../Content/images/docnav.png) -456px 0;
}

#db_results
{
    background: url(../Content/images/docnav.png) -456px 0;
}

#doc_top
{
    background: url(../Content/images/docnav.png) -480px 0;
}

#doc_accesslink
{
    background: url(../Content/images/docnav.png) -504px 0;
}

.favorite-on 
{
    background: url(../Content/images/docnav.png) -528px 0;    
}

.favorite-off
{
    background: url(../Content/images/docnav.png) -552px 0;    
}

#page-notes-container
{
    position: fixed;
    display: none;
    top: 0;
    bottom: 0;
    right: 0;
    width: 25%;
    min-width: 200px;
    max-width: 400px;
    z-index: 10;
    margin: 0;
    padding: 5px;
    opacity: 0.95;
    background-color: #f2f2f2;
    border-left: 2px solid gray;
}

#page-notes-header
{
    background-color: #defeff;
    border: 1px solid lightgray;
    margin: 0 0 5px 0;
    padding: 5px;
}

#page-notes-content 
{
    position: absolute;
    top: 3em;
    bottom: 0;
    width: 100%;
    overflow: auto;
}

#page-notes-title 
{
    display: inline;
}

#page-notes-close
{
    display: inline;
    position: absolute;
    right: 10px;
}

#note-editor-dialog 
{
    display: none;
    position: fixed;
    left: 15%;
    right: 15%;
    top: 20%;
    bottom: 25%;
    opacity: 0.97;
    z-index: 100;
}

#cke_note-editor
{
    box-shadow: 5px 5px 10px 0 rgba(0,0,0,255);
}

#note-editor-dialog-close
{
    position: absolute;
    top: 5px;
    right: 5px;
}

#notes-list 
{
    list-style: none;
    margin: 0 1mm 0 0;
    padding: 0;
}

#notes-list li
{
    margin: 0;
    padding: 0;
}

#modal-screen 
{
    display: none;
    z-index: 10;
    background-color: Black;
    opacity: 0.5;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0;
    padding: 0;
    cursor: not-allowed;
}

.generated-document 
{
    background-color: #f8f8f8;
    border: 1px solid lightgray;
    margin: 0;
    padding: 0;
}

.generated-document table 
{
    margin: 0;
}

.generated-document table tr:nth-child(odd)
{
    background-color: #efefef;
}

.generated-document td 
{
    padding: 2mm;
    vertical-align: top;
}

.gen-doc-name 
{
    border-right: 1px solid lightgray;
    white-space: nowrap;
    font-weight: bold;
    text-align: right;
}

.gen-doc-value 
{
}

/* video markup */

.video-document-container
{
}

.video-document
{
    background-color: White;
}

.video-player
{
    margin-left: 4cm;
    padding: 2mm 0 2mm 0;
    width: 860px;
    height: 480px;
    z-index: 10;
}

.video-transcript-container 
{
    position: relative;
    bottom: 0;
    height: 300px;
    overflow: auto;
}

.video-transcript 
{
    font-family: Helvetica, Arial, Sans-Serif;
    font-size: 10pt;
}

.video-transcript-footer 
{
    height: 80px;
}

.video-speech
{
    margin: 0 2cm 0 4cm;
    padding: 0 1mm 1mm 1mm;
    position: relative;
    cursor: pointer;
}

.video-audience 
{
    margin: 0 2cm 1mm 4cm;
    color: gray;
    font-style: italic;
    margin: 3mm 0 3mm 4.5cm;
}

.video-non-speech
{
    color: gray;
    font-style: italic;
}

.video-speaker 
{
    position: absolute;
    top: 2px;
    left: -150px;
    width: 130px;
    text-align: right;
    color: gray;
    font-size: 9pt;
}

.video-hilite 
{
    border: 1px dotted gray;
    background-color: #eee;
    padding: 5px;
    border-radius: 5px;
}

.video-selected 
{
    background-color: blue;
    color: silver;
}

.ui-widget-overlay
{
    background: black !important;
}


/* New Document Page */

#document-control-bar-top {
  border-bottom: solid 1px #acacac;
  height: 24px;
  padding: 5px;
  position: fixed;
  top: 0;
  width: 839px;
  margin-left: 0;
  background: #fff;
  z-index: 10;
}

#document-control-bar-top a {
	color:#000;
	text-decoration:none;
}


#document-control-bar-top div {
  vertical-align: middle;
}

#document-control-bar-top .document-control {
	padding: 0 24px 0 0;
	float:left;
	font-size: 12px;
	width:auto;
	height: 24px;

}


#document-control-bar-top,
#document-control-bar {
	background: #efefef !important;
}

#db_contents.document-control {
	visibility: visible;
}

#db_contents,
#back_toc,
#forward_toc {
	background:none !important;
}

#doc_fields.document-control,
#doc_attachments.document-control,
#doc_pdflink.document-control,
#doc_accesslink.document-control,
#doc_accesslink.document-control {
	height: 24px;
    width: 24px;
    margin: 0 2px;
    padding: 0;
    float: left;
}


#document-container {
	background: #fff;
	
}


.document-control-label {
	width: 60px;
	float:left;
	text-align: right;
	font-size:12px;
	padding: 5px 0;
	font-weight: bold;
}

#document-control-bar {
  border-top: solid 1px #acacac;
  border-bottom: none;
  border-right: none;
  border-left: none;
  border-radius: 0;
  position: fixed;
  bottom: 0;
  padding: 5px;
  width: 839px !important;
  margin-left: 0;
  background: #fff;
  z-index: 10;
}
.document-control-new {
  height: 24px;
  width: 100px;
  margin: 2px;
  padding: 0;
  float: left;
  text-align: center;
}
.document-control-group {
  margin: 0 auto;
}

#document-control-bar {
}


input#pageno_input {
  background-color: #fff !important;
  float:left;
  height: 18px;

}

#results-wrapper {
	font-size:14px;
}

/* Mobile styles */

@media only screen and (max-width: 599px) {

  
	/* in-iframe styles */


	.Section1 img,
	.Section1 div,
	.MsoNormal {
		max-width: 100%;
		overflow: hidden;
	}

  
  .document-control-group {
	margin: 0 5%;
	width: 90%;
  }
  


	
	li#page.document-control-group,
	li#doc.document-control-group {
		width: 100%;
	}
	
  #document-control-bar-top,
  #document-control-bar {
    width: 100%;
	height:auto;
  }
  
  #document-control-bar-top {
	  padding-left: 40px;
  }
  
  	
	#document-control-bar {
		background: #fff;
		height: 
	}
  
  .document-control-group {
	margin: 0 5%;
	width: 90%;
  }
  
	.video-player {
		float: none;
		margin-left: 0;
		width: 100vw;
		max-height: 400px;
		z-index: 10;
	}

	.video-transcript-container {
		float:none;
	}

	.document-page {
		-webkit-overflow-scrolling: touch;
		overflow-y: scroll; 
		overflow-x: scroll; 
	}

	.document-page-iframe
	{
		-webkit-overflow-scrolling: touch;
		overflow-y: scroll !important; 
		overflow-x: scroll !important; 
		height: 150% !important;
		width: 150% !important;
	}

	iframe#i-doc.document-page-iframe {
		height: 100% !important;
		width: 100% !important;
	}

	.document-page-iframe {
		overflow: scroll !important;
	}

	#document {
	margin: 85px 0 0 0 !important;

	}	

	.video-player {
		width: 100vw !important;
		float:none !important; 
		height: auto !important;
	}
	 .video-transcript-container {
		 width: 100vw !important;
		 float:none !important;
		 

	}
	
	
}
