/*#farmmapDivv {
    height: 1000px;
    width: 100%;
    margin: 0;
    border: solid 1px red;
    overflow: hidden;
    padding: 0;
    position: static;
}*/

.olAddMapHelpPolygonImg, .olControlDrawFeaturePolygonItemInactive {
    background-position: -26px -1px;
    background-image: url("/OL/theme/default/img/editing_tool_bar.png");
    background-repeat: no-repeat;
    cursor: pointer;
    height: 22px;
    margin: 0 0 5px 5px;
    width: 24px;
    display: inline-block;
}

.olControlDrawFeaturePolygonItemActive {
    background-position: -26px -26px;
    background-image: url("/OL/theme/default/img/editing_tool_bar.png");
    background-repeat: no-repeat;
    cursor: pointer;
    height: 22px;
    margin: 0 0 5px 5px;
    width: 24px;
    display: inline-block;
}


.olAddMapHelpPointImg, .olControlDrawFeaturePointItemInactive {
    background-position: -76px -1px;
    background-image: url("/OL/theme/default/img/editing_tool_bar.png");
    background-repeat: no-repeat;
    cursor: pointer;
    height: 22px;
    margin: 0 0 5px 5px;
    width: 24px;
    display: inline-block;
}

.olControlDrawFeaturePointItemActive {
    background-position: -76px -26px;
    background-image: url("/OL/theme/default/img/editing_tool_bar.png");
    background-repeat: no-repeat;
    cursor: pointer;
    height: 22px;
    margin: 0 0 5px 5px;
    width: 24px;
    display: inline-block;
}

div.myLocationPanel {
    background-color: #00008B;
    background-position: center;
    top: 19px; left: 50px;
    width: 28px;
    height: 28px;
}

div.myLocationPanel .olMyLocationItemActive  {
    background-image: url("/img/ic_location_on_white_24dp.png");
    width: 28px;
    height: 28px;
    border: inset 2px #cccccc;
}

div.myLocationPanel .olMyLocationItemInactive {
    background-image: url("/img/ic_location_on_white_24dp.png");
    width: 28px;
    height: 28px;
    border: outset 2px #cccccc;
}

div.myFullscreenPanel {
    background-color: #00008B;
    background-position: center;
    top: 19px; left: 84px;
    width: 28px;
    height: 28px;
}

div.myFullscreenPanel .olFullscreenItemActive  {
    background-image: url("/img/ic_fullscreen_white_24dp.png");
    width: 28px;
    height: 28px;
    border: inset 2px #cccccc;
}

div.myFullscreenPanel .olFullscreenItemInactive {
    background-image: url("/img/ic_fullscreen_white_24dp.png");
    width: 28px;
    height: 28px;
    border: outset 2px #cccccc;
}

.olControlPanel {
    right: 0px;
    top: 0px;
//    width: 30px;
//    height: 30px;
}

.farmGridColorField {
    font-weight: bold;
}
.darkbg {
    background-color: #666666;
}

.ux-filtered-column {
    font-style: italic !important;
    font-weight: bold !important;
}

#laukasTooltip {
    position: fixed;
    visibility: hidden;
    background-color: white;
    padding: 5px;
    border: solid 1px black;
    z-index: 100;
}

a.x-color-picker-item { overflow: hidden; }

#laukasTooltip div.ttTitle { font-weight: bold; font-size: larger; color: red;}
#laukasTooltip div.ttLayer { font-style: italic; }
#laukasTooltip div.ttLayer:before { content: '('; }
#laukasTooltip div.ttLayer:after { content: ')'; }
#laukasTooltip div.ttComment1 {}
#laukasTooltip div.ttArea:after { content: 'ha'; }

#printTaskForm div.ttTitle { font-weight: bold; font-size: larger; color: red;}
#printTaskForm div.ttLayer { font-style: italic; }
#printTaskForm div.ttLayer:before { content: '('; }
#printTaskForm div.ttLayer:after { content: ')'; }
#printTaskForm div.ttComment1 {}
#printTaskForm div.ttArea:after { content: 'ha'; }



	.textoutline
	{
		color: white;
		text-shadow:
		-1px -1px 0 #000,
		1px -1px 0 #000,
		-1px 1px 0 #000,
		1px 1px 0 #000;  
	}



@media print {

	#printTask {
		position: fixed !important;
    top: 0 !important;
    left: 0 !important;
	}
	[id^="loginpanel"] {
			display:none;
	}
	
	[id^="FarmMapMainTabPanel"] {
			display:none;
	}
	[id^="ext-quicktips-tip"] {
			display:none;
	}
	[id^="headercontainer-"] {
			display:none;
	}
	/*[id^="ext-element-"]:last-child  {
			display:none;
	}*/
	[id^="ext-element-"]:last-child {
			display:none;
	}
	
	
	[id^="fm.viewport"] {
			display:none;
	}
	
	/*[id^="ext-gen"] {
			display:none;
	}
	[id^="loadmask-"] {
			display:none;
	}
	[id^="toolbar-"] {
			display:none;
	}*/
	
	[id^="OpenLayers_Control_"] {
		display:none;
	}
	#formPrint-body{
		height: 100% !important;
	}
	#farmmap_is_loading {
		display:none;
	}
	/*
		[id^="formPrint"] {
			width: 210mm !important;
	}
	[id^="mapPrint"] {
			width: 210mm !important;
	}
	[id^="printTask"] {
			width: 210mm !important;
	}
/*	#printTask, #mapPrint {
		display: block; width: 100%; height: 100%;
	}*/
	
	/*#printTask, #printTask-body, #printTask-outerCt, #printTask-innerCt {
		width: 100% !important;
		height: 100% !important;
	}
	#printTask_header {
		width: 100% !important;
	}
	
	#mapPrint, #mapPrint-body, #mapPrint-outerCt, #mapPrint-innerCt {
		width: 100% !important;
		height: 80% !important;
	}
	#mapPrint_header {
		width: 100% !important;
	}*/
}
