/* Values with ! are for Firefox, the second ones are for IE */
body, div {
	margin: 0px;
	padding: 0px;
	font-family: Arial, Helvetica, sans-serif;
}

textarea {
	overflow: auto;
	font-family: Arial, Helvetica, sans-serif;
}

h1 {
	font-size: 1.5em;
}

h2 {
	font-size: 1.2em;
}

h3 {
	font-size: 1.2em;
	margin: 0;
}

p {
	margin: 0;
	padding: 0;
}

/* @ExtJS override */
.x-grid3-hd-inner {
	font-weight: bold;
}

/* @ul @li @ol */
ul.tslists {
	margin-left: 20px;
	list-style-type: disc;
}

ul.tslists li {
	margin-left: 20px;
}

ol.tslists {
	margin-left: 20px;
	list-style-type: decimal;
}

ol.tslists li {
	margin-left: 20px;
}

th {
	font-weight: bold;
}

/* eo @ul @li @ol */
.bold {
	font-weight: bold;
}

.readonly {
	color: #aaa;
	font-style: italic;
}

.div_mainouterbox {
	background-color: white;
}

.div_mainbox {
	background-color: white;
}

.div_top_box {
	vertical-align: middle;
	height: 100px;
	border-bottom: 0px;
	border-top: 0px;
	border-left: 0px;
	border-right: 0px;
	border-style: dotted;
	border-color: black;
	padding-top: 5px;
	padding-bottom: 0px;
	padding-left: 5px;
	padding-right: 10px;
	/*background-color: #ccccdd;*/
	clear: both;
}

.div_top_nav {
	padding-left: 10px;
	padding-bottom: 25px;
}

.div_top_nav_element {
	font-size: 0.8em;
	float: right;
	padding: 5px;
	font-family: Helvetica;
}

/* The Logout button is an input on a form. */
.div_top_nav_element input {
	font-family: Helvetica;
	font-weight: bold;
	color: black;
	background-color: white;
	text-decoration: underline;
	border: none;
}

.div_top_nav_element a:hover {
	color: #84C02A;
	text-decoration: underline;
}

.div_top_nav_element input:hover {
	color: #84C02A;
	text-decoration: underline;
}

.div_title {
	font-size: 19px;
	font-weight: bold;
	float: left;
}

.otisslogo {
	height: 100px;
	width: 65px;
	background: url("/treesurvey/images/pear_otiss_small_logo-f28851ba287cb7b56aa76baf3e46a6dc.png")
		no-repeat;
	background-size: contain;
}

.otisslogo:hover {
	height: 100px;
	width: 150px;
	background: url("/treesurvey/images/pear_otiss_logo-22d55c09615a13cd1a245914f58a44c4.png") no-repeat;
	background-size: contain;
}

.div_info_bar {
	vertical-align: middle;
	height: 25px;
	border-bottom: 1px;
	border-top: 0px;
	border-left: 0px;
	border-right: 0px;
	border-style: dotted;
	border-color: black;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 10px;
	padding-right: 10px;
	text-decoration: none;
	font-size: 13px;
	vertical-align: middle;
	clear: both;
}

.div_nav_expired {
	border: 0px;
	padding: 10px;
	font-size: 13px;
}

.div_nav_select {
	border: 0px;
	padding: 10px 0px 0px 5px;
	font-size: 13px;
	z-index: 9999;
}

.div_nav_buttons {
	height: 25px;
	border-bottom: 1px;
	border-top: 0px;
	border-left: 0px;
	border-right: 0px;
	border-style: dotted;
	border-color: black;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 10px;
	padding-right: 10px;
	vertical-align: middle;
	clear: both;
}

.div_nav_button {
	float: left;
	vertical-align: middle;
	width: 110px;
	margin-right: 10px;
	border-right: 1px;
	border-left: 1px;
	border-top: 1px;
	border-bottom: 1px;
	padding: 2px;
	border-style: solid;
	border-color: #cccccc;
	background-color: #eeeeee;
	display: block;
	text-decoration: none;
	font-weight: bold;
	font-size: 15px;
}

.div_nav_button a {
	padding: 0px;
}

.div_nav_button a:link {
	text-decoration: none;
}

.div_nav_button a:active {
	text-decoration: none;
}

.div_nav_button a:visited {
	text-decoration: none;
}

.div_nav_button a:hover {
	text-decoration: underline;
}

.div_nav_selected {
	float: left;
	width: 110px;
	margin-right: 10px;
	border-right: 1px;
	border-left: 1px;
	border-top: 1px;
	border-bottom: 1px;
	padding: 2px;
	border-style: solid;
	border-color: #cccccc;
	background-color: #CCE0AF;
	text-decoration: none;
	font-weight: bold;
	font-size: 15px;
}

.div_nav_selected a:link {
	text-decoration: none;
}

/*
* Login Page
*/
.div_login_page_row {
	clear: both;
	font-size: 1.2em;
	padding-top: 4px !important;
}

.div_login_page_col1 {
	float: left;
	width: 6em;
}

.div_login_page_colx {
	float: left;
	width: 17em;
}

.div_login_page_colx input {
	font-size: 1.0em;
	width: 100%;
}

.div_login_button {
	padding: 4px 30px;
	color: #ffffff;
	text-decoration: none;
	background-color: #007BCA;
	border-radius: 6px;
	font-size: 1.1em;
}

/*
*
*/
.div_home_page {
	border: 0px solid black;
	margin: 0;
	padding: 0 5px 0 5px;
	float: left;
	width: 800px;
	background-color: white;
}

.div_main_frame {
	background-color: white;
	-webkit-print-color-adjust: exact;
	min-height: 200px;
	float: left;
	font-size: 15px;
	padding: 10px;
}

/* This is over-riding the jQuery ui CSS
.div_main_frame table {
	font-size: 35px;
}
*/
.div_ads {
	width: 164px !important;
	width: 184px;
	height: 100%;
	float: right;
	padding: 10px;
	border: 0px;
}

.div_footer {
	height: 20px !important;
	height: 30px;
	padding-top: 10px;
	padding-bottom: 0px;
	padding-left: 10px;
	padding-right: 10px;
	border-top: 0px;
	border-bottom: 0px;
	border-left: 0px;
	border-right: 0px;
	border-style: dotted;
	border-color: black;
	font-size: 10px;
	vertical-align: middle;
	clear: both;
}

.div_width_650px {
	width: 650px;
	/*background-color: red;*/
}

/* For printing, avoid using background-colour and background-images because (a) Edge does not support them and
(b) they required special settings on Firefox/Chrome etc. Use this to position the legend titlebar and table in the foreground
and add an <img> of a white rectangle behind them.*/
.map_legend_foreground {
	position: relative;
	z-index: 10;
	border: 3px solid #444444;
	background-color: white;
	padding: 0px;
}

.map_legend_table {
	min-width: 145px;
	font-size: 13px;
	font-weight: normal;
	text-decoration: none;
	white-space: nowrap;
	padding: 3px 10px 3px 3px;
	border-spacing: 0px 0px;
}

/* A class for OL Base Maps. */
.map_no_change {
	
}
/* A class for OL Base Maps = changed to black and white by using a CSS filter. */
.map_greyscale {
	filter: grayscale(100%);
}

/* Add grid lines to the cells */
.x-treegrid-col {
	border-right: 1px solid #D0D0D0;
	border-bottom: 1px solid #D0D0D0;
}

/* This fix the grid line alignment when a column is hidden */
.x-treegrid-hd-hidden {
	display: none;
}

/* Give a fainted highlight on the row that is expanded */
.x-tree-node-expanded {
	border-right: 1px solid #D0D0D0;
	background-color: #F4F4F4;
	border-top-color: #EDEDED;
	border-bottom-color: #EDEDED;
}

.x-form-item.x-color-palette {
	width: 350px;
	height: 100px;
	cursor: pointer;
}

/* Use these myTable classes with the bootstrap classed myCol-n where the sum of all the 'n' in a row is 12 */
.myTable {
	display: table;
	margin: 0 auto;
	padding: 10px 0px;
	vertical-align: middle;
	text-align: center;
}

.myRow {
	display: table-row;
	padding: 0px 0px;
	vertical-align: middle;
	text-align: center;
}

.myCell {
	display: table-cell;
	padding: 10px 10px;
	vertical-align: middle;
	text-align: center;
}

.myCol-8 {
	width: 66.66%;
}

.myCol-6 {
	width: 50%;
}

.myCol-4 {
	width: 33.33%;
}

.myCol-3 {
	width: 25%;
}

/*******************************************************************************************************
 * Photos
 */
.photoUploadForm {
	width: 500px;
	float: left;
}

.photoUploadHelp {
	margin-left: 20px;
	width: 400px;
	float: left;
}

.photoTools {
	padding-top: 10px;
}

.photoGallery {
	padding-top: 10px;
	height: auto;
	width: auto;
	overflow-x: scroll;
}

.photoContainer {
	padding: 5px;
	height: 200px;
	width: 290px;
	float: left;
	border: 1px solid #99BBE8;
	background-color: white;
}

.photoContainerSelected {
	padding: 5px;
	height: 200px;
	width: 290px;
	float: left;
	border: 1px solid #99BBE8;
	background-color: #D6EAFF;
}

.photoContainerName {
	float: left;
	width: 70%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.photoContainerImage {
	display: block;
	height: 140px;
	width: auto;
	max-width: 100%;
	max-height: 140px;
	margin-left: auto;
	margin-right: auto;
}

.photoContainerNoImage {
	height: 140px;
	line-height: 140px;
	text-align: center;
}

.photoContainerNoImage p {
	line-height: 1.5;
	display: inline-block;
	vertical-align: middle;
}

.photoContainerLeft {
	width: 65%;
	float: left;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.photoContainerRight {
	float: right;
}

.photoContainerCaption {
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/*******************************************************************************************************
 * Top Bar
 */

/* Add scrollbar to the Select Estate dropdown list in top-bar.jsp */
#estate-select-optionsId-menu {
	max-height: 80vh;
}

/*******************************************************************************************************
 * jQuery-UI tabs 
 */
.ui-tabs-vertical {
	
}

.ui-tabs-vertical .ui-tabs-nav {
	padding: .2em .1em .2em .2em;
	float: left;
	width: 150px;
}

.ui-tabs-vertical .ui-tabs-nav li {
	clear: left;
	width: 100%;
	border-bottom-width: 1px !important;
	border-right-width: 0 !important;
	margin: 0 -1px .2em 0;
	outline-width: 0px;
}

.ui-tabs-vertical .ui-tabs-nav li a {
	display: block;
	width: 100%;
	outline-width: 0px;
}

.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active {
	padding-bottom: 0;
	padding-right: .1em;
	border-right-width: 1px;
}

.ui-tabs-vertical .ui-tabs-panel {
	padding: 1em;
	float: right;
}

/* specific forms */
.ui-tabs-report {
	width: 850px;
}

.ui-tabs-report .ui-tabs-panel {
	width: 650px;
}

.ui-tabs-mapsearch {
	width: 700px;
}

.ui-tabs-mapsearch .ui-tabs-panel {
	width: 500px;
}

/*******************************************************************************************************
 * These are our extra OTISS classes, to fit into the same style. The JQuery ui customisations are in the jquery-ui.css.
 *
 * Main Page forms use ui-form to make the forms similar to the UI modal dialog ui-dialog-XXX styles.
 */
.page-title {
	font-size: 1.2em;
	font-weight: bold;
}

.readmorebtn {
	margin-left: 20px;
	margin-bottom: 5px;
}

.readmoretitle {
	
}

.readmoretext {
	
}

.ui-form {
	padding: 5px 5px 5px 5px;
	border: 2px solid #99BBE8;
}

.ui-form .ui-form-titlebar {
	position: relative;
	background: #CCD8E7;
	padding: .4em 1em;
	margin-bottom: .5em;
	font-weight: bold;
}

.ui-form .ui-form-buttonpane {
	position: relative;
	background: #CCD8E7;
	background-image: none;
	margin-top: .4em;
	padding: .4em 1em;
}

.ui-form .ui-form-buttonpane .ui-form-buttonset {
	float: right;
}

.ui-form .ui-form-buttonpane button {
	margin: .5em .4em .5em 0;
	cursor: pointer;
}

.ui-form fieldset {
	border: 1px solid #cccccc;
}

.ui-form legend {
	font-size: 0.9em;
}

.ui-form a {
	color: blue;
}

.ui-dialog a {
	color: blue;
}

/*
 * Both the Main Page and modal Dialog forms use ui-form-XXX to add our own standardised layout to the forms.
*/
.ui-error {
	color: red;
}

/* for input type=text, input type=number, textarea */
.ui-form-input {
	margin-bottom: 2px;
	width: 300px;
	padding: .1em;
}

/* for a label */
.ui-form-label {
	font-weight: bold;
	text-align: right;
}

/* for the td enclosing label */
.ui-form-label-td {
	font-weight: bold;
	text-align: right;
	padding-right: 4px;
}

.ui-form-notes {
	font-size: 0.9em;
}

/* We put a gif on the left of the <fieldset> <legend> and use the gif and the border to show the open/closed status */
.ui-fieldset-closed {
	border-color: #888888;
	border-width: 1px 0 0 0 !important;
	margin-bottom: 5px;
}

.ui-fieldset-open {
	border-color: #888888;
	border-width: 1px;
	margin-bottom: 5px;
}

.ui-legend-closed {
	margin-left: 10px;
	padding-left: 20px;
	background-image: url(/treesurvey/images/fieldset_open-7fcf3e476f0b936924b5b8fb271735b9.gif);
	background-repeat: no-repeat;
	background-position: left center;
}

.ui-legend-open {
	margin-left: 10px;
	padding-left: 20px;
	background-image: url(/treesurvey/images/fieldset_close-f841b790c2c66cc3b39d6a9ec14b2804.gif);
	background-repeat: no-repeat;
	background-position: left center;
}

/* icons for buttons */
.ui-button .ui-icon-add-small {
	background-image: url(/treesurvey/images/add_small-b000b3e0374af8dc938e72708355f68a.png);
	width: 16px;
	height: 16px;
}

/* make a widget look as if its disabled. Tooltip and click actions still work. */
.ui-state-looks-disabled {
	opacity: 0.5;
}

/*******************************************************************************************************
 * Filter form at the top of most pages
 */
.filterFormlabel {
	font-weight: bold;
	text-align: right;
	margin-left: 10px;
}

.filterFormExplanation {
	padding-top: 2px;
	font-size: 12px;
}

/*******************************************************************************************************
 * Account Settings
 */
.accountForm {
	width: 600px;
	float: left;
}

.accountForm .ui-form-label-td {
	width: 175px;
}

.accountHelp {
	margin-left: 20px;
	width: 400px;
	float: left;
}

/*******************************************************************************************************
 * Estate  Settings
 */
.estateForm {
	width: 500px;
}

.estateForm .ui-form-label-td {
	width: 175px;
}

.estateHelp {
	margin-left: 20px;
	width: 400px;
	float: left;
}

.estateMobileForm {
	
}

.estateMobileForm .ui-form-label-td {
	width: 20%
}

/* 
 * variations for specific forms 
*/
.customFieldBulkForm table {
	border-collapse: separate;
	border-spacing: 10px 5px;
}

.customFieldBulkForm table tbody td {
	vertical-align: top;
}

.customFieldBulkForm p {
	font-size: 0.9em;
	margin-bottom: 10px;
}

.customFieldForm .ui-form-label-td {
	width: 125px;
}

.dxfReportForm .ui-form-label-td {
	width: 125px;
}

.estateColoursForm .ui-form-label-td {
	width: 125px;
}

.geoRefMapLayerForm .ui-form-label-td {
	width: 90px;
}

.geoRefInspectionsForm .ui-form-label-td {
	width: 90px;
}

.mapLayerCreateForm .ui-form-label-td {
	width: 150px;
}

.mapLayerEditForm .ui-form-label-td {
	width: 150px;
}

.mapLayerEditForm table {
	border-collapse: separate;
	border-spacing: 4px 4px;
	/* horz, vert. */
}

.mapLayerSelectTypeForm table {
	border-collapse: separate;
	border-spacing: 10px 10px;
	/* horz, vert. */
}

.registerUserForm .ui-form-label-td {
	width: 175px;
}

.siteForm .ui-form-label-td {
	width: 150px;
}

.surveyForm .ui-form-label-td {
	width: 175px;
}

.apiEditForm .ui-form-label-td {
	width: 150px;
}

/* The BNG survey Form - the criteria questions. */
table.bngSheets th {
	border-bottom: black 1px solid;
}
table.bngSheets td {
	border-bottom: black 1px solid;
}
table.bngSheets label {
	text-align: left;
}

/*******************************************************************************************************
 * J
*/
.inspectionMultiSelectable .ui-selecting {
	background: #707070;
}

.inspectionMultiSelectable .ui-selected {
	background: #EEEEEE;
	color: #000000;
}

.inspectionMultiSelectable {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

/* For the jQuery combox boxes, use max-height to add the scrollbar */
.ui-autocomplete.ui-front {
	max-height: 300px;
	overflow-y: auto;
	/* prevent horizontal scrollbar */
	overflow-x: hidden;
	/* add padding to account for vertical scrollbar */
	z-index: 1000 !important;
	white-space: nowrap;
}

.custom-combobox {
	position: relative;
	display: inline-block;
}

.custom-combobox-toggle {
	position: absolute;
	top: 0;
	bottom: 0;
	margin-left: -1px;
	padding: 0;
}

.custom-combobox-input {
	margin: 0;
	padding: 5px 10px;
}