@import "results_tab.css";
@import "details.css";
@import "map.css";

html, body { width: 100%; height: 100%; margin: 0; font-size: 13pt; overflow: hidden; } 

body {
	background-color: white;
	font-family: arial, sans-serif;
}

footer {
	/* Dojo overrides this but having it in the stylesheet as well prevents the
	   footer from starting jumping during while page is loading */
	position: absolute;
	bottom: 0;
	width: 100%;
}

#global_layout
    { width: 100%; height: 100%; }


.otm_tool {
	background-repeat: no-repeat;
	cursor: pointer;
	font-size: 10pt;
	text-decoration: underline;
	padding-left: 18px !important;
	border: none;
	background-color: transparent;
}


#toolbar {
	display: flex;
	flex-wrap: wrap;
	text-align: left;
	border-bottom: 3px solid #bfbfbf;
	margin-bottom: -1px /* In Chrome/Edge on hdpi screen, there's a thin white line without this */;
}
#toolbar > * { flex: 0 0 0 /* basis=0 for ie */; }
#toolbar .spacer { flex-grow: 1; }

#toolbar .otm_tool { padding-bottom: 16px; }

body:not(.showing-results) #toolbar .otm_hide_panels { visibility: hidden; }

#toolbar .envelope {
	/* Custom icon based on Tundra .dijitEditorIconNewPage */
	background-image: url(/images/envelope.png);
}
#toolbar .otm_hide_tabs   .otm_tool { background-image: url('../images/slide_left.png'); }
#toolbar .otm_hide_panels .otm_tool { background-image: url('../images/slide_right.png'); }

#toolbar .otm_hide_tabs.reversed   .otm_tool { background-image: url('../images/slide_right.png'); }
#toolbar .otm_hide_panels.reversed .otm_tool { background-image: url('../images/slide_left.png'); }

#toolbar .otm_hide_tabs,
#toolbar .otm_hide_panels {
	border: 1px solid transparent;
	padding-right: 0 !important /* avoid neighbors shifting on hover */;
	padding-left: 0 !important /* avoid neighbors shifting on hover */;
}
#toolbar .otm_hide_tabs:not(.dijitHover) {
	border-right-style: solid;
	border-right-color: #9b9b9b !important;
}
#toolbar .otm_hide_panels:not(.dijitHover) {
	border-left-style: solid;
	border-left-color: #9b9b9b !important;
}


#left_pane {
	font-size: 75%;
}

.dijitTreeLabel {
	width: 15em;
	word-wrap: normal !important;
	white-space: normal !important;
	cursor: pointer;
}


.otm_treenode .otm_treenode {
	margin-left: 20px;
}

.otm_tree_leaf {
	padding-left: 20px;
	display: -moz-inline-stack;
	display: inline-block;

}

.nihilo .otm_tree_leaf {
	background-position: -36px -0.25em !important; /* overrides dojo settings and makes them font-size aware */
}

.tundra .otm_tree_leaf {
	background-repeat: no-repeat;
	background-position: 0 -0.25em !important;
}

#left_pane .dijitTreeIsLast {
	background-position: 0 -.25em !important; /* again, make a dojo theme font-size aware */
}

.otm_tree_hot {
	cursor: pointer;
}

/*
 * selection tab
 */

.otm_selection_preview {
	width: 100px;
	height: 100px;
	border: solid 1px black;
}

.otm_selection_preview_container {
	text-align: left;
	display: -moz-inline-stack;
	display: inline-block;
	vertical-align: middle;
}

.otm_selection_preview_container .dijitButton {
	margin-bottom: .5em;
	margin-left: .25em;
}

.otm_selection_preview_container span.dijitButtonNode {
	width: 12em;
}


.otm_selection_button {
	width: 90%;
	margin-top: .5em;
}

.otm_selection_button span.dijitButtonNode, .otm_selection_button button, .otm_selection_button span {
	width: 100%;
}

.otm_selection_button span span {
	width: auto;
}


#analysis_dialog_contents {
	width: 600px;
	height: 300px;
}

#analysis_dialog, #analysis_dialog td {
	font-size: .7em;

}

#analysis_dialog td {
	text-align: left;
	vertical-align: top;
}

#analysis_dialog td div.label {
	font-weight: bold;
}

.dijitDialogCloseIcon {
	display: none;
}

.selectionDialog .dijitDialogCloseIcon {
	display: block;
}

.search_result_dialog_title {
	font-size: 75%;
	font-weight: bold;
}

.search_result_layer {
	font-size: 75%;
	font-style: italic;
}

.otm_layer_select_container {
	width: 100%;
	text-align: center;
}

.otm_layer_select_dropdown .dijitSelectLabel {
	overflow: hidden;
	width: 16em;
	text-align: left;
}

.otm_layer_select_dropdown .dijitMenuItemLabel {
	font-size: 75%;
}

.otm_start_tab_scroll {
	padding-top: 4px;
	overflow-y: auto;
	overflow-x: hidden;
}

/* 
 * for the buffer settings
 */
.otm-buffer-input-label {
	padding-left: 2em;
	width: 8em;
	display: inline-block;
}

.otm-buffer-settings-title {
	margin-top: 1em;
	font-weight: bold;
	font-size: 1.1em;
}

.otm-go-button {
	background-image: url('../images/lightning.png');
	height: 16px;
	width: 16px
}

#analysis_dialog_go .dijitButtonText {
	font-weight: bold;
/*	color: #FFCD2B;*/
}

.otm-confirm-selection {
	background-image: url('../images/check.png');
	height: 16px;
	width: 16px;
}
.otm_analysis_button {
	height: 3em !important;
}

.close_button {
}

.otm_settings_buttons {
	font-size: 14px;
}

.otm_catalog_label {
	margin-right: .5em;
}

.otm_catalog_controls {
	text-align: right;
	white-space: nowrap;
}

.otm_catalog_in_zoom {
	font-weight: bold;
	color: black;
}

.otm_catalog_out_zoom {
	font-weight: bold;
	color: #A2A2A2;
}

.otm_catalog_odd_row td {
}

.otm_catalog_even_row td {
}

.OTMControlNorthArrow {
	top: 3px;
	right: 3px;
	opacity: .75;
	/* and for IE */
	filter: alpha(opacity = 75);
}

.olControlMousePosition {
	background-color:white;
	bottom:5px !important;
	padding:3px;
	right:5px !important;
	opacity: 0.8;
	filter: alpha(opacity = 80);
}


.olControlScaleLine {
	opacity: 0.8;
	filter: alpha(opacity = 80);
	background-color: white;
	padding: 3px;
	left: 5px !important;
	bottom: 5px !important;
}




.otm_highlight_tool {
	color: #0000aa !important;
	font-weight: bold;
}

.otm_popup_content .tool_container {
	text-align: center;
}

.otm_popup_content .otm_tool {
	display: block;
	width: 150px;
}

.otm_popup_content .otm_with_spacer {
	margin-top: 1.5em;
}

.otm_popup_content .otm_minor_link {
	font-size: .8em;
}

.otm_popup_content .otm_advanced_link {
	font-size: .70em;
}

.otm_highlight_tool .dijitButtonContents {
	color: #0000aa !important;
	font-weight: bold;
}


.otm_popup_change_settings {
	font-size: 13.5px;
}

.otm_layer_title {
	position: relative;
	font-size: 8pt;
	display: inline-block;
	left: 0px;
	vertical-align: middle;

	white-space: normal;
	width: 170px;
}

.otm_legends_div {
	position: relative;
	left: 0px;
}

.otm_layer_controls {
	position: relative;
	display: inline-block;
	left: 30px;
	white-space: nowrap;
}

.otm_catalog_folder {
	margin-top: .5em;
	font-weight: bold;
}

.otm_catalog_labels {
	background-image: url(../images/catalog_labels.png);
	background-repeat: no-repeat;
	padding-left: 72px;
	padding-top: 35px;
	background-position: 33px -24px;
}
	

.otm_disabled {
	color: #AAA;
	background-color: #eee;
}

.otm_detailed_report_pane .otm_tool {
	font-size: 16px;
	font-weight: bold;
}
.otm_detailed_report_pane {
	text-align: center;
}


.otm_setting_dropdown .dijitSelectLabel {
	overflow: hidden;
	width: 10em;
	text-align: left;
}

.otm_setting_dropdown .dijitMenuItemLabel {
	font-size: 85%;
}


/* some stuff for previous shapes */
.previous.geographies table { width: 100%; }
.otm_previous_shape_entry {
	clear: left;
	font-size: 10pt;
	vertical-align: top;
}
.otm_previous_shape_entry td:first-child { width: 80px; }
.otm_previous_shape_entry img            {
	height: 80px;
	width: 80px;
}
.otm_previous_shape_entry .otm_delete {
	float: right;
	margin-top: -1px;
}
.otm_previous_shape_entry .otm_reuse {
	margin-bottom: 5px /* separation to next entry for long selection descriptions */;
}
.clearall .otm_tool {
	margin-top: 10px;
	background-image: url(../images/stop.png);
}

.otm_previous_shape_thumbnail {
	float: left;
	border: solid 1px black;
}

.otm_clear_tool_container {
	text-align: center;
	margin-top: .5em;
}

.otm_settings {
	white-space: nowrap;
}

.otm_setting_pane {
	display: inline-block;
	white-space: normal;
	min-width: 7em;
	max-width: 20em;
	vertical-align: top;
	font-size: 80%;
	height: 100%;
	margin-right: 5px;

	overflow: auto;

	position: relative;

	float: left;
}

.otm_fixed {
	position: absolute;
	top: 0px;
	background-color: #ccc;
	width: 100%;
}

.otm_setting_title {
	font-weight: bold;
	/*
	white-space: nowrap;
	*/
}

.otm_option_children {
	padding-left: 2em;
}

.otm_option_child_select {
	padding-left: 1em;
}

/* make the preview table look like the chart title, ticket #648 */
#table_panel .table_title {
	text-align: center;
	text-decoration: none;
	font-weight: bold;
}
#table_panel > * { margin: 5px; }
#table_panel > .dijitContentPane > a:first-child + table { margin-top: 8px; }

.otm_analysis_add, 
.otm_analysis_subtract,
.otm_analysis_intersect {
	margin-left: 1em;
	text-align: left;
}

#otm_setting_year {
	width: 10em !important;
}

#otm_setting_origin_dir,
#otm_setting_origin_type {
	width: 15em !important;
}

#otm_setting_job_type {
	width: 12em !important;
}

.otm_analysis_settings_option {
	padding-right: 2em;
}

.legend_chip {
	/*padding-top: 18px !important;*/
	height: 18px;
}

#otm_setting_analysis_type {
	width: 18.5em;
}

/* OTM Blocker intends to have a 95% transparent white background,
 using opacity or the alpha filter renders all child elements nearly white, which we don't want.
 - rgb: supported in all browsers since the dawn of CSS.
 - rgba: Opera 10+, Safari 2+, FF3+
 - filter: MSIE6,7
 - -ms-filter: MSIE8
 */
.otm_blocker { 
	position: absolute;
	z-index: 1000000;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,.90);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#E5000000, endColorstr=#E5000000);
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#E5000000, endColorstr=#E5000000)";
	color: white;
	font-size: 1.1em;
}


.otm_blocker a {
	display: block;
	margin-left: 1em;
}

.otm_blocker div.message {
	margin: .5em;
}

.otm_blocker .otm_close {
	margin-bottom: .75em;
	font-weight: bold;
}

.otm_blocker .otm_go {
	margin-top: .75em;
	font-weight: bold;
}

.import_pane .otm_tool {
	display: block;
	color: black;
}

.otm_blocker .otm_disabled {
	background: none !important;
	text-decoration: none;
	cursor: default;
}

.otm_invalid_entry {
	color: red;
	font-style: italic;
}


.otm_selector {
	text-align: center;
}

.otm_home_to_work,.otm_work_to_home,
.otm_home_to_work_hot,.otm_work_to_home_hot
{
	padding-left: 60px;
	padding-bottom: 16px;
	background-repeat: no-repeat;
	background-position: 2px 4px;
	text-decoration: none;
	cursor: pointer;
}

.otm_home_to_work {
	background-image: url(../images/left_arrow.png);
}

.otm_work_to_home {
	background-image: url(../images/right_arrow.png);
}

.otm_home_to_work_hot {
	background-image: url(../images/left_arrow_hot.png);
}

.otm_work_to_home_hot {
	background-image: url(../images/right_arrow_hot.png);
}


.otm_selector_panel {
	float: left;
	text-align: center;
	vertical-align: middle;
}

.otm_selector_label {
	font-weight: bold;
}

.projection_desc {
	font-size: .75em;
	font-style: italic;
	text-align: center;
}

.otm_option_description {
	padding-left: 2em;
	padding-right: 2em;
	font-size: 80%;
}

#otm_setting_analysis_type .otm_option_label {
	font-weight: bold;
}

.otm_setting_description {
	margin-bottom: .5em;
}

.otm_waiting {
	text-align: center;
}

.otm_confirm_button .dijitButtonText {
	font-weight: bold;
}

.otm_help_button {
	padding-left: 18px;
	line-height: 13px;
	font-size: 13px;
	background-image: url('../images/help.png');
	background-repeat: no-repeat;
	cursor: help;
}

.otm_help_tool_tip_x {
	float:right;
	color:#0000CC;
	cursor:pointer;
	padding-left: 1em;
}

.dijitTitlePaneTextNode .otm_help_button {
	background-position: 0 -2px;
}

.more_help {
	color: 009999;
}

.otm_help_contents {
	font-size: 10pt !important;
}

.otm_feedback_label {
	width: 10em;
	display: inline-block;
	float: left;
}

.otm_feedback_label span {
	font-size: 75%;
}

