html, body {
	margin: 0px;
	padding: 0;
	font-family: 'Helvetica', Arial, sans-serif;
	font-weight: 400;
	font-size: 15px;
	color: rgb(69, 69, 69);
	-webkit-text-size-adjust: auto;
	line-height: 1.5em;
	position: relative;
}

header {
	position: absolute;
	top: 0;
	left: 0;
	padding: 10px 50px 5px 11px;
	color: #1f1f1f;
	border-bottom: 1px solid rgb(190,190,190);
	background: rgba(242, 242, 242, 0.95);
	min-height: 28px;
	z-index: 50;
	width: calc(100% - 61px);
}

a {
	color: #000;
}

a:hover {
}

a.button {
	border-radius: 3px;
	border: 1px solid rgb(140, 140, 140);
	background: rgb(96, 96, 96);
	padding: 3px 5px 3px 4px;
	color: rgb(255, 255, 255);
	text-decoration: none;
	font-size: 0.9em;
	margin: 0 0px 0px 0;
	white-space: nowrap;
	line-height: 2.2em;
	display: inline;
}

a.button:hover {
	background: rgb(211, 211, 211);
}

p {
	padding: 5px 0 10px 0;
}

h1 {
	padding: 0 15px 0 0;
	margin: 0;
	font-weight: 200;
	font-size: 1.15em;
	vertical-align: middle;
	display: inline;
}

h2 {
	padding: 30px 0px 0 0;
	margin: 0;
	font-weight: 400;
	font-size: 1.3em;
	line-height: 1.2em;
}

h3 {
	margin: 0;
	padding: 20px 0px 4px 0px;
	font-weight: 300;
	font-size: 1.2em;
}

.kml {
	position: absolute;
	top: 0;
	left: 0;
}

#warning {
	background: rgb(244, 226, 226);
	padding: 55px 10px 8px 10px;
}

.fa-exclamation-triangle {
	color: rgb(222, 0, 0);
	padding-right: 5px;
}

.login {
    margin: 0px auto;
    padding-top: 80px;
	width: 250px;
	font-size: 18px;
}

.login p {
	padding: 0;
	text-align: center;
}

.login input[type=text] {
	font-size: 18px;
	width: 40%;
}

.login input[type=submit] {
	background: rgb(6, 81, 170);
	border-radius: 5px;
	border: 0;
	padding: 5px;
	color: #FFF;
	margin: 0;
	width: 40%;
}

.lang a.active {
	color: rgb(255,255,255);
	background: rgb(179, 162, 51);
}

#admin {
	position: absolute;
	display: block;
	left: 0px;
	bottom: 0px;
	width: calc(100% - 40px);
	padding: 20px 20px 20px 20px;
	font-size: 14px;
	z-index:  1000;
	text-align: center;
}

#admin a {
	font-size: 1.2em;
	color: #FFF;
	margin: 5px;
	line-height: 3em;
	background: rgb(6, 81, 170);
	padding: 6px;
	white-space: nowrap;
	border: 1px solid rgb(113, 113, 113);
	border-radius: 5px;
	text-decoration: none;
}

div.moreMenu {
	float: right;
	display: inline-block;
	padding: 5px 10px 5px 10px;
}

div.moreMenu .dropdown {
	position: relative;
    display: inline-block;
	padding: 5px 8px 8px 8px;
}

div.moreMenu .dropdown:hover,
div.moreMenu .dropdown.hover,
div.moreMenu .share:hover {
	background-color: #f9f9f9;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

div.moreMenu .dropdown-content {
	text-align: right;
    display: none;
    position: absolute;
    background-color: #f9f9f9;
	border: 1px solid #e0e0e0;
	padding: 15px 0 0 0;
	top: 29px;
	right: 0px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1000;
}

div.moreMenu .dropdown-content a {
	display: block;
	text-decoration: none;
	padding: 10px 10px 10px 30px;
	line-height: 1em;
	white-space: nowrap;
}

div.moreMenu .dropdown-content a:hover,
div.moreMenu .dropdown-content a.hover{
	background: rgb(211, 211, 211);
}

td {
}

table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	table-layout: fixed;
}

th {
	text-align: left;
	font-size: 0.9em;
	font-weight: 200;
	vertical-align: top;
	overflow: hidden;
}

tr {
	height: 40px;
	vertical-align: top;
	-webkit-text-size-adjust: none;
}

tr:nth-child(even) {
   background-color: #f1f1f1;
}

tr.row:hover,
tr.row.hover {
	background: #e1ebfa;
}

tr.row.typeVisit:hover {
	background: #fae1ea;
}

td,th {
	padding: 5px 10px 5px 15px;
	border-bottom: 1px solid rgb(224,224,224);
	-webkit-text-size-adjust: none;
}

.address tr {
	vertical-align: top;
}

.row > td > a {
	border-radius: 3px;
	border: 1px solid rgb(211, 211, 211);
	background: rgb(230, 230, 230);
	padding: 3px 5px 3px 4px;
	color: rgb(88, 88, 88);
	text-decoration: none;
	margin: 0 10px 15px 0;
	white-space: nowrap;
	line-height: 2.2em;
}

td > a:hover {
	background: rgb(217, 217, 217);
}

.userMenu {
	padding: 0 0 0 15px;
	position: absolute;
	top: 1px;
	right: 0px;
	text-align: right;
	z-index: 100;
}

.userMenu a {
	padding: 3px 4px 0px 4px;
	color: rgb(88, 88, 88);
	text-decoration: none;
	margin: 0 3px 0px 3px;
	white-space: nowrap;
}

.userMenu a:hover,
.userMenu a.hover {
	color: rgb(255,255,255);
	background: rgb(180, 180, 180);
}

.userMenu select {
	max-width: 200px;
	font-size: 14px;
	border-radius: 3px;
	padding: 3px 25px 3px 4px;
	color: rgb(88, 88, 88);
	text-decoration: none;
	margin: 0 3px 10px 3px;
}

form p > label {
	width: 15em;
    display: inline-block;
	padding-right: 10px;
	vertical-align: top;
}

.addresses {
	margin: 0px auto;
	padding: 10px;
	width: calc(100% - 20px);
	max-width: 480px;
}

.address {
	padding: 10px 10px 10px 42px;
	margin: 0 0 15px 0;
	border: 1px solid rgb(214, 214, 214);
	position: relative;
}

.address .icon{
	position: absolute;
	left: 8px;
	width: 20px;
	text-align: center;
}

.icon.novisit {
	color: rgb(217, 47, 0);
}

.icon.dovisit {
	color: rgb(106, 200, 0);
}

input,
textarea,
select {
	font-size: 16px;
}

form p > input {
	width: 100%;
	max-width: 300px;
}

input[type=radio]) {
	width: auto;
	max-width: auto;
}

form input[type=submit] {
	background: rgb(6, 81, 170);
	border-radius: 5px;
	border: 0;
	padding: 5px;
	color: #FFF;
	margin-left: 235px;
}

form textarea {
	font-family: 'Courier', monospace;
	width: 100%;
	max-width: 400px;
	height: 150px;
}

select.error,
input.error,
textarea.error {
    border: 2px solid #f00;
}

select.valid,
input.valid,
textarea.valid {
}

#map {
	width: 100%;
	height: 100%;
}

#map.withAddresses {
	height: 75%;
	border-bottom: 1px dotted #000;
}

.changeLang {
	background: rgb(255, 255, 255);
	color: rgb(38, 38, 32);
	display: inline-block;
	padding: 1px 6px 0 6px;
	font-size: 1em;
	font-weight: bold;
	border-radius: 6px;
	line-height: 1.4em;
}

footer {
	margin: 100px 0 0 20px;
	font-size: 0.9em;
	color: rgb(193, 189, 189);
}

.print {
	display: none;
}

.clear {
	clear: both;
}



@media screen and (max-device-width: 760px),  screen and (max-width: 760px) {

}

@media print {
	.print {
		display: block;
	}

	.screen,
	nav,
	.userMenu,
	.leaflet-control-container,
	.search,
	.button,
	div.moreMenu,
	p {
	  display: none;
	}

	header {
	  background: #FFF;
	}

	footer {
	  margin: 0;
	}

	select {
	  display: inline;
	  appearance: none;
	  appearance: none;
	  -moz-appearance: none;
	  -webkit-appearance: none;
	  border: 0;
	  background: initial;
	  font-size: 1em;
	  width: initial;
	  font-family: 'Helvetica', Arial, sans-serif;
	}

	.admin_map header,
	.map_territories header,
	.map_territories h2 {
	  display: none;
	}

	.admin_map #map {
		height: 162mm;
		text-align: center;
	}

	.map_territories #map {
		height: 170mm;
	}

	.addresses h3 {
		padding-top: 5mm;
	}

	body.printing header,
	body.printing footer,
	body.printing h2 {
		display: none;
	}

	body.printing .site {
		margin: 0;
	}
}
