#form_display {
	padding-top: 20px;
	overflow: hidden;
}
.document_page{
	position:relative;
	margin:10px;
	font-size: 9pt;
}
#document_tabs{
	width: 220px;
	height: 1056px;
	outline: 1px solid black;
	display: none;
	position: relative;
	float: left;
	margin-top:10px;
}

.document_section{
	width: inherit;
	position: relative;
	margin-left: 40px;
}
.draggable_field_grid, .draggable_details{
	width: 88px;
	height: 48px;
}
.draggable_bucket_field_grid , .draggable_bucket_details {
	width: 88px;
	height: 48px;
}

.document_field{
	position: absolute !important;
	overflow:hidden;
}
.bucket{
	position: absolute;
}

.remove_doc_field{
	display: none;
    position: absolute;
    right: 4px;
	color:red;
}
.remove_doc_field:hover{
	cursor:pointer;
}
.edit_rich_text_button{
	padding-right: 3px;
	position: absolute;
	font-size: 130%;
    right: 1px;
	color: #009acd;
	cursor: pointer;
}
.edit_rich_text_button:hover{
	text-decoration: underline;
}
.sortable-placeholder, .extra_columns_hover, .details_extra_hover{
	background: black;
}

.details_column {
	float: left;
	position: relative;
	height:100%;
	border:none;
	//outline: 1px solid black
}
.details_document_field{
	/* TODO: this height is needed since _add_extra_containers assumes this height. so fix that eventually maybe probably */
	height:20px;
	white-space: nowrap;
	overflow: hidden;
	position: relative !important;
}

.details_extra{
	width: inherit;
}
.details_column_label{
	/* TODO: this height is needed since _add_extra_containers assumes this height. so fix that eventually maybe probably*/
	height:20px;
	white-space: nowrap;
	overflow: hidden;
	outline: 1px solid black;
	padding-left: 2px;
}
.document_field{
	overflow: hidden;
}

#details_bucket, #field_grid_bucket, #doc_extra{
	width: inherit;
}
.document_section.title h1
{
	letter-spacing: 0.1em;
	font-size: 17pt;
	color: black;
	display:inline-block;
	margin: 30px 0 0 6px;
}

.document_section.title .title_logo
{
	float: right;
}

.document_field .label
{
	padding-left: 2px;
	width: 130px;
	margin-right: 4px;
	display: inline-block
}
#document_tabs .document_field .label {
	width: 100%;
}

.document_field .value, .details_total_column
{
	overflow: hidden;
	text-overflow: clip;
	vertical-align: middle;
}

#custom_sections
{
	display: none;
}

.details_line{
	/*position: relative;*/
}
.details_line:hover .document_field,
.details_line:hover.lines_row,
.details_line:hover.lines_row + .partner_row
{
	background-color: #CDE0FA;
	cursor: pointer;
}
.current_line .document_field {
	background-color: gray !important;
	cursor: default !important;
}

.rich_text_content{
	height: inherit;
	width: inherit;
	overflow: hidden;
	padding: 2px;
}
.document_field .ui-icon {
	width: 10px;
	height: 10px;
}

/* Page Selector stylings (only visible in entry mode) */
#page_selector {
	position: relative;
	display: block;
	overflow-x: scroll;
	padding-top: 42px;
}
#page_selector:hover > .navigation {
	background: black url('/assets/css/images/arrow.png') no-repeat center center;
	opacity: 0.15;
	cursor: pointer;
}

#page_selector:hover .top_bar {
	position: absolute;
	background-color: transparent;
	background-image: none;
	opacity: 1.0;
	top: -20px;
	display: block;
	width: inherit;
	line-height: 20px;
	text-align: right;
	cursor: default;
}
.selector_bars {
	display: block;
	height: inherit;
	width: 60px;
}
.previous_page_selector {
	-webkit-transform: scaleX(-1);
	transform: scaleX(-1);
	position: absolute;
	left: 0px;
	top: 0px;
}
.next_page_selector {
	position: absolute;
	right: 0px;
	top: 0px;
}

.default_layout {
	color: #fc7474;
}
.doc_extra_section{
	width: 200px;
	margin: 5px 10px;
	background: #e6e6e6;
}
.current_section_field{
	margin-bottom:10px;
}
.footer_section{
	position: absolute; 
	bottom: 0; 
	left: 0;
}
.show_hide{
	position: absolute;
	right: 1px;
	margin: 0px 10px;
}
.document_border, .section_border{
	outline: 1px solid black;
}
.section_border + .section_border, .section_border + .details{
	margin-top: 1px;
}
.details_total_column{
	margin: 1px;
	font-weight: bold;
	border-top: 1px solid black;
}
.print_page{
	page-break-after:always !important;
}

.details_extra, .extra_columns{
	position: relative;
}
.doc_extra_line_element{
    min-width: 150px;
    margin-left: 10px;
    margin-top: 5px;
}
.center_text{
	text-align: center;
	margin: 0px;
}

.same_line{
	display: inline !important;
	margin: 0px !important;
}
