﻿.form-group.required label:after { 
   content:" *";
   color:red;
}

.form-group.required .rblist label:after { 
   content:"";
}

.rblist label,
.chkTree label
{
    font-weight: normal;
}

/* Multichoice selection list tree */
ul.chkTree, ul.chkTree ul
{
	margin: 0; padding: 0;
	list-style-type: none;
}

ul.chkTree li ul li
{
	margin: 0 0 0 10px;
	color: #555555;
}


span.chkTreeHeading 
{
	
}

label.Error		{ color: #FF0000; }


div#overlaySaving 
{

	position: fixed; top: 0; left: 0; bottom: 0; right: 0;
	z-index: 1001;
	background-color: #BBB;
	opacity:0.90; filter:alpha(opacity=90);
}
    
    div.overlaySavingMessage
{
	position: absolute;
	top: 10%; left: 10%; right: 10%; height: 230px;
	background-color: #fff;
	text-align: center;
}
    
    
    
.tooltip-inner {
    max-width: 200px;
    /* If max-width does not work, try using width instead */
    width: 200px; 
}

@media (min-width: 576px) {
	.accordion-after-delete::after {
		display: none;
	}
}

/*
 * PositionPicker (Controls/PositionPicker.cs, Scripts/PositionPicker.js)
 */

/* The wrapper owns the height and the map fills it absolutely. Google Maps is happiest
   with a container of its own, and a percentage height on the map itself collapses if an
   ancestor is auto height. Capped so header, map and footer together stay inside the
   viewport on a short screen. */
div.dkpp-mapwrap
{
	position: relative;
	height: 55vh;
	min-height: 260px;
	max-height: 520px;
}

div.dkpp-map
{
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
}

/* Google Maps sizes its own tiles, and a max-width inherited from the page distorts them */
div.dkpp-map img
{
	max-width: none;
}

/* Marks the centre of the map, which is the position that gets picked */
span.dkpp-pin
{
	position: absolute;
	left: 50%; top: 50%;
	transform: translate(-50%, -100%);
	font-size: 2rem;
	color: #dc3545;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
	pointer-events: none;
}

/* Map / satellite switch, in the corner Google leaves free with mapTypeControl off */
button.dkpp-maptype
{
	position: absolute;
	top: 10px; left: 10px;
}

/* Static map under the field, showing the position that was picked */
div.dkpp-preview
{
	margin-top: 0.5rem;
	cursor: pointer;
	line-height: 0;
}

img.dkpp-previewimg
{
	width: 100%;
	height: auto;
	max-width: none;
	border: 1px solid #dee2e6;
	border-radius: 0.375rem;
}

/* Live map in place of the static one for a position picked on the satellite photo, which
   Static Maps will not serve in the EEA. Same proportions as the static image. */
div.dkpp-previewmapwrap
{
	position: relative;
	aspect-ratio: 640 / 200;
	overflow: hidden;
	border: 1px solid #dee2e6;
	border-radius: 0.375rem;
}

/* Only a picture: clicks go through to the preview, which opens the dialog */
div.dkpp-previewmap
{
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	pointer-events: none;
}

div.dkpp-previewmap img
{
	max-width: none;
}

/* The user's own position, when the browser hands it over */
div.dkpp-userdot
{
	width: 14px; height: 14px;
	border-radius: 50%;
	background-color: #1a73e8;
	border: 2px solid #fff;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
}
