/* ***** BEGIN LICENSE BLOCK *****
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
 *
 * The contents of this file are subject to the Mozilla Public License Version
 * 1.1 (the "License"); you may not use this file except in compliance with
 * the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the
 * License.
 *
 * The Original Code is VisKort.
 *
 * The Initial Developer of the Original Code is
 * IT- og Telestyrelsen / Danish National IT and Telecom Agency.
 * Portions created by the Initial Developer are Copyright (C) 2010
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):

 * Lars Klindt Mogensen
 * Morten Bødtkjer
 * Niels Kinnerup
 * Thomas Bergstedt
 *
 * Alternatively, the contents of this file may be used under the terms of
 * either the GNU General Public License Version 2 or later (the "GPL"), or
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 * in which case the provisions of the GPL or the LGPL are applicable instead
 * of those above. If you wish to allow use of your version of this file only
 * under the terms of either the GPL or the LGPL, and not to allow others to
 * use your version of this file under the terms of the MPL, indicate your
 * decision by deleting the provisions above and replace them with the notice
 * and other provisions required by the GPL or the LGPL. If you do not delete
 * the provisions above, a recipient may use your version of this file under
 * the terms of any one of the MPL, the GPL or the LGPL.
 *
 * ***** END LICENSE BLOCK ***** */

div.olLayerDiv {
   -moz-user-select: none 
}

.olLayerGoogleCopyright {
    left: 2px;
    bottom: 2px;  
}
.olLayerGooglePoweredBy {
    left: 2px;
    bottom: 15px;   
}
.olControlAttribution {
    font-size: smaller; 
    right: 3px; 
    bottom: 4.5em; 
    position: absolute; 
    display: block;
}
.olControlScale {
    right: 3px;
    bottom: 3em;
    display: block;
    position: absolute;
    font-size: smaller;
}
.olControlScaleLine {
   left: 10px;
   bottom: 15px;
   font-size: xx-small;
}
.olControlScaleLineBottom {
   border: solid 2px black;
   border-bottom: none;
   margin-top:-2px;
   text-align: center;
}
.olControlScaleLineTop {
   border: solid 2px black;
   border-top: none;
   text-align: center;
}

.olControlPermalink {
    right: 3px;
    bottom: 1.5em;
    display: block;
    position: absolute;
    font-size: smaller;
} 

div.olControlMousePosition {
    bottom: 0em;
    right: 3px;
    display: block;
    position: absolute;
    font-family: Arial;
    font-size: smaller;
}

.olControlStyledOverviewMapContainer {
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.olControlStyledOverviewMapElement 
{
    padding: 10px 12px 26px 14px;
    background-color: #CDDDB2;
    -moz-border-radius: 10px 0 0 0;
    margin: 0px 0px 0px 0px;
    border-top: solid 1px #99BA34;  
    border-left: solid 1px #99BA34;      
}
   

.olControlStyledOverviewMapMinimizeButton {
    right: 0px;
    bottom: 0px;
}    

.olControlStyledOverviewMapMaximizeButton {
    right: 0px;
    bottom: 0px;    
}

.olControlStyledOverviewMapExtentRectangle {
    overflow: hidden;
    background-image: url("img/blank.gif");
    cursor: move;
    border: solid 2px #333333;
}
.olControlStyledOverviewMapRectReplacement {
    overflow: hidden;
    cursor: move;
    background-image: url("img/overview_replacement.gif");
    background-repeat: no-repeat;
    background-position: center;
}

.olLayerGeoRSSDescription {
    float:left;
    width:100%;
    overflow:auto;
    font-size:1.0em;
}
.olLayerGeoRSSClose {
    float:right;
    color:gray;
    font-size:1.2em;
    margin-right:6px;
    font-family:sans-serif;
}
.olLayerGeoRSSTitle {
    float:left;font-size:1.2em;
}

.olPopupContent {
    padding:5px;
    overflow: auto;
}    
.olControlNavToolbar { 
    width:0px;
    height:0px;
}    
.olControlNavToolbar div { 
  display:block;
  width:  28px;
  height: 28px;
  top: 300px;
  left: 6px;
  position: relative;
}

.olControlNavigationHistoryPreviousItemActive { 
   background-image: url("img/view_previous_on.png");
   background-repeat: no-repeat;
   width:  24px;
   height: 24px;
}
.olControlNavigationHistoryPreviousItemInactive { 
   background-image: url("img/view_previous_off.png");
   background-repeat: no-repeat;
   width:  24px;
   height: 24px;
}
.olControlNavigationHistoryNextItemActive { 
   background-image: url("img/view_next_on.png");
   background-repeat: no-repeat;
   width:  24px;
   height: 24px;
   
}
.olControlNavigationHistoryNextItemInactive { 
   background-image: url("img/view_next_off.png");
   background-repeat: no-repeat;
   width:  24px;
   height: 24px;
   
}

.olControlNavToolbar .olControlNavigationItemActive { 
  background-image: url("img/panning-hand-on.png");
  background-repeat: no-repeat;
}
.olControlNavToolbar .olControlNavigationItemInactive { 
  background-image: url("img/panning-hand-off.png");
  background-repeat: no-repeat;
}
.olControlNavToolbar .olControlZoomBoxItemActive { 
  background-image: url("img/drag-rectangle-on.png");
  background-color: orange;
  background-repeat: no-repeat;
}
.olControlNavToolbar .olControlZoomBoxItemInactive { 
  background-image: url("img/drag-rectangle-off.png");
  background-repeat: no-repeat;
}
.olControlEditingToolbar  {
    float:right;
    right: 0px;
    height: 30px; 
    width: 200px;
}
.olControlEditingToolbar div { 
  float:right;
  width:  24px;
  height: 24px;
  margin: 5px;
}
.olControlEditingToolbar .olControlNavigationItemActive { 
  background-image: url("../../Images/OpenLayers/editing_tool_bar.png");
  background-repeat: no-repeat;
  background-position: -103px -23px; 
}
.olControlEditingToolbar .olControlNavigationItemInactive { 
  background-image: url("../../Images/OpenLayers/editing_tool_bar.png");
  background-repeat: no-repeat;
  background-position: -103px -0px; 
}
.olControlEditingToolbar .olControlDrawFeaturePointItemActive { 
  background-image: url("../../Images/OpenLayers/editing_tool_bar.png");
  background-repeat: no-repeat;
  background-position: -77px -23px; 
}
.olControlEditingToolbar .olControlDrawFeaturePointItemInactive { 
  background-image: url("../../Images/OpenLayers/editing_tool_bar.png");
  background-repeat: no-repeat;
  background-position: -77px -0px; 
}
.olControlEditingToolbar .olControlDrawFeaturePathItemInactive { 
  background-image: url("../../Images/OpenLayers/editing_tool_bar.png");
  background-repeat: no-repeat;
  background-position: -51px 0px; 
}
.olControlEditingToolbar .olControlDrawFeaturePathItemActive { 
  background-image: url("../../Images/OpenLayers/editing_tool_bar.png");
  background-repeat: no-repeat;
  background-position: -51px -23px; 
}
.olControlEditingToolbar .olControlDrawFeaturePolygonItemInactive { 
  background-image: url("../../Images/OpenLayers/editing_tool_bar.png");
  background-repeat: no-repeat;
  background-position: -26px 0px; 
}
.olControlEditingToolbar .olControlDrawFeaturePolygonItemActive { 
  background-image: url("../../Images/OpenLayers/editing_tool_bar.png");
  background-repeat: no-repeat;
  background-position: -26px -23px ;                                                                   
}

.olHandlerBoxZoomBox {
    border: 2px solid red;
    position: absolute;
    background-color: white;
    font-size: 1px;
    opacity: 0.50;  /* FF */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";  /* IE8 */
	filter: alpha(opacity=50);  /* IE5-7 */
}  

/* 
 * Due to current limitations in the OpenLayers code, you can only
 * replace this image with another image which is 17px x 17px. 
 */   
.olPopupCloseBox {
  background: url("../../Images/OpenLayers/close.gif") no-repeat;
  cursor: pointer;
}

.olControlNoSelect {
 -moz-user-select: none;
}

.olControlScaleLineBugFixedBottom {
   border: solid 2px black;
   border-bottom: none;
   margin-top:-2px;
   text-align: center;
}

.olControlScaleLineBugFixedTop {
   border: solid 2px black;
   border-top: none;
   position:-2px;
   text-align:center;
}

.olControlScaleLineBugFixed {
   left: 10px;
   bottom: 15px;
   font-size: xx-small;
}
/* Layout openlayers layerswitcher */

.olLayerSwitcher_mainDiv
{
    position:absolute;
    top:0px;
    right:0px;
    width:207px;
    font-family:Verdana;
    font-size:7pt;   
    font-weight:bold;   
    color:black;
    -moz-border-radius: 0 0 0 10px;
    border-left: solid 1px #99BA34; 
    border-bottom: solid 1px #99BA34; 
    background-color:Transparent;   
}
.olLayerSwitcher_layersDiv
{
	background-color: #CDDDB2;   
    color:black;
    padding: 18px 0px 0px 0px;
    width:100%;
    height:100%;   
    -moz-border-radius: 0 0 0 10px;
}
.olLayerSwitcher_baseLayersDiv
{
    color: #333333;
    padding: 0px 10px 5px 10px; 
    border-bottom: solid 1px #99BA34;   
}
.olLayerSwitcher_dataLayersDiv
{
    color: #333333;
    padding: 3px 10px 3px 10px;
    overflow:auto;
    height:100%;  
}
.olLayerSwitcher_filtersDiv
{
	background-color: #CDDDB2;   
    color:black;
    padding: 2px 0px 0px 0px;
    width:100%;
    height:100%;   
    -moz-border-radius: 0 0 0 10px;
}
.olControlInfoBox_container
{
	font-size: 8pt;
	color: #333333;
	height: 100px;	
	width: 250px;
	overflow: auto;
	background-color: #CDDDB2;
	z-index: 1000;
}
.olControlInfoBox_list
{
	font-size: 8pt;
}
.olControlInfoBox_header
{
	padding: 2px 10px 10px 25px;
	margin: 5px 10px 0px 12px;
	width: 150px;
	background: url("../../Images/OpenLayers/info_icon_small.gif") no-repeat;
	background-color: #CDDDB2;	
}
.olControlInfoBox_header a 
{
	color: #669411;
	cursor: pointer;
	background: url("../../Images/OpenLayers/backlink_logo.gif") no-repeat;
	padding: 0px 5px 2px 14px;
}

.olControlInfoBox_listElement
{
	color: gray;
	padding: 0px 5px 0px 14px;
	width: 150px;
	margin-left: 25px;
	height: 16px;
}

.olControlInfoBox_listElement_loaded
{
	color: #669411;
	cursor: pointer;
	font-weight: bold;
	background: url("../../Images/OpenLayers/info_element_loaded.gif") no-repeat;
	padding: 0px 5px 2px 14px;
	margin-left: 25px;
	width: 150px;
	height: 16px;
}

.olControlInfoBox_listElement_nodata
{
	color: black;
	padding: 0px 5px 2px 14px;
	margin-left: 25px;
	height: 16px;
}

.olControlInfoBox_detail
{
	position: absolute;
	margin-top: 0px;
	font-size: 8pt;
}

.olControlInfoBox_customInfo
{
	font-size: 8pt;
	padding: 5px 5px 5px 5px;
	color: #333333;
	max-width: 270px;
	background-color: #CDDDB2;
    overflow:auto;	
	z-index: 1000;
}

.olControlInfoBox_linkContianer
{
}

.olControlInfoBox_address
{
    margin-top: 4px;
	margin-left: 6px;	
	margin-bottom: 4px;
}

.olControlInfoBox_linkGeneratorsLeft
{
}

.olControlInfoBox_linkGeneratorsRight
{
}

.olControlInfoBox_linkGeneratorsStd
{
	width: 220px;
	margin-left: 6px;
	background-color: #D7E8BB;
	border: solid 3px #CDDDB2; 
	height: 15px;
}

.olControlPrintButton
{
    position:absolute;
    top:0px;
    right: 240px;
    width: 29px;
    height: 18px;
    background-image: url(../../Images/OpenLayers/printicon.png);
}

.olControlVirtualEarthButton
{
    position:absolute;
    top:0px;
    right: 274px;
    width: 29px;
    height: 18px;
    background-image: url(../../Images/OpenLayers/bingmaps.png);
}

.olControlLoadingPanel {
        background-image:url(../../Images/OpenLayers/loading.gif);
        position: absolute;
		top:5px;
		left: 50px;
        width: 195px;
        height: 11px;
        background-position:center;
        background-repeat:no-repeat;
        display: none;
}

/*Godadgang*/
.olControlInfoBox_combinedContainer
{
	font-size: 8pt;
	color: #333333;
	height: 100px;	
	width: 240px;
	overflow: auto;
	background-color: #CDDDB2;
	z-index: 1000;
}

.olControlInfoBox_combinedInfo
{
	font-size: 8pt;
	padding: 0px;
	color: #333333;
	max-width: 270px;
	background-color: #CDDDB2;
    overflow:auto;	
	z-index: 1000;
}

