:root {
	--main-bg-color: whitesmoke;
	--primary-action-color: #3498db; /*rgba(238, 130, 58, 0.795);*/
	--secondary-action-color: #e74d3cc7; /*rgba(216, 112, 147, 1);*/
	--action-color: #e74d3c; /*rgba(216, 112, 147, 1);*/
}

.error {
	border-color: #e74d3c9a;
}

.devborder {
    border-color: rgb(94, 94, 94);
    border-radius: 3px;
    border-width: 1px;
    border-style: dotted;
}

h1, h2 {
    font-family: 'Poiret One';
}

h4 {
    font-family: 'Open Sans';
}


p {
    font-family: 'Source Sans Pro';
    font-size: 16px;
}

.noma {
	margin: 0px;
}

.nopa {
	padding: 0px;
}

.xsmall-tm {
	margin-top: 5px;
}

.small-tm {
	margin-top: 10px;
}

.logo-image {
	animation: rotation-logo 30s infinite;
	float: left;
	height: 48px;
	width: 48px;
	margin-right: 15px;
}

/* Navbar customization */

.navbar-distansen {
	margin:15 0 25 0px;
	padding:0px;
}

/* Search controls */

.search-box {
    width:100%;
    margin: 0px;
}

.search-bar {
	background-color: white;
	border-style: none;
	border-style: solid;
	width: 85%;
    height: 40px;
	padding: 5px 5px 5px 15px;
	margin: 0px;
	font-size: 14px;
	border-radius: 40px 0px 0px 40px;
	border-color:#ccc;
	border-width:1px 0px 1px 1px;
	float: left;
}

.search-bar:focus {
	outline-color: transparent;
	outline-style: none;
	background-color: white;
}

.search-button{
	background-color: white;
	border-style: none;
	border-style: solid;
    height: 40px;
	padding: 5px 5px 5px 5px;
	padding-left: 0px;
	margin: 0px;
	font-size: 14px;

	border-radius: 0px 40px 40px 0px;
	border-color:#ccc;
	border-width:1px 1px 1px 0px;
	cursor: pointer;
	float: left;
}

.search-button:focus {
	outline-color: transparent;
	outline-style: none;	
}

.head-button {
	background-color: var(--primary-action-color);
    color: white;
	height: 40px;
	line-height: 40px;
    margin:0px;
    padding-left: 8px;
	padding-right: 8px;
	font-size: 14px;
	border-radius:15px;
	text-align: center;
    cursor: pointer;
    float: left;
}

.head-button:hover {
	animation: pulse-pink 2s infinite;
}

.copy-button{
	background-color: var(--secondary-action-color);
    color: white;
	height: 40px;
	font-size: 14px;
	line-height: 40px;
	padding-left: 8px;
	padding-right: 8px;
	border-radius: 8px;
	text-align: center;
	cursor: pointer;
}

.save-button {
	background-color: var(--action-color);
	font: 500 18px Roboto, Arial, sans-serif;

    color: #fff;
	height: 40px;
    margin: 0px;
	
	line-height: 40px;
	padding-left: 10px;
	padding-right: 10px;
	border-radius: 6px;
	margin-bottom: 12px;
	text-align: center;
	cursor: pointer;
	/* display: none; */
}

.visible {
	display: block;
}

/* Map canvas and controls */

.map_canvas {
	height: 450px;
	border-radius: 20px;
}
		
#LabelControl {
	box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, .05);
	background-color: white;
	border-style: none;
	border-radius: 2px;
	cursor: default;
	text-align: left;
	margin-top: 5px;
	margin-left: 6px;
	height: 37px;
}

#LabelControlText {
	font: 500 18px Roboto, Arial, sans-serif;
	color: #222;
	padding-left: 14px;
	padding-right: 14px;
	padding-top: 8px;
	padding-bottom: 8px;
}

#ResetControl, #UndoControl, #FlagControl{

	box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
	background-color: white;
	border-style: none;
	border-radius: 2px;
	cursor: default;
	text-align: left;
	margin-top: 1px;
	margin-right: 5px;
	width: 40px;
	height: 40px;
}

#ResetControlText, #UndoControlText, #FlagControlText {
	font: 500 18px Roboto, Arial, sans-serif;
	color: #444;
	padding-left: 8px;
	padding-right: 8px;
	padding-top: 8px;
	padding-bottom: 8px;
}

#ResetControl:hover, #UndoControl:hover, #FlagControl:hover {
	position: relative;
	font-size: 20px;
	cursor: pointer;
	animation: pulse-white 2s ease-in-out;
}

@keyframes rotation-logo {
	0% {
		transform: rotate(0deg);
	}
	25% {
		transform: rotate(-50deg);
	}
	50% {
		transform: rotate(10deg);
	}
	75% {
		transform: rotate(-32deg);
	}
	100% {
		transform: rotate(00deg);
	}
}

@keyframes pulse-pink {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(216, 112, 147, 0.7);
	}
	
	70% {
		transform: scale(1);
		box-shadow: 0 0 0 10px rgba(216, 112, 147, 0);
	}
	
	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0  rgba(216, 112, 147, 0);
	}
}

.label-animation {
	animation: pulse-white 0.3s infinite;
}

@keyframes pulse-white {
	0% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
	}
	
	70% {
		transform: scale(1.1);
		box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
	}
	
	100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
	}
}
