html, body, #wrapper, #map {
	height: 100%;
	width: 100%;
	margin: 0px;
	padding: 0px;
}

.gm-style-iw {
	font-size: 120%
}
.gm-style-iw,
.gm-style-iw div {
	overflow:hidden!important;
}
.gm-style-iw-c,
.gm-style-iw-d {
	max-width: 100% !important;
}

div.customControl {
	width: 150px;
}

div.weatherButton {
	width: 48px;
	height: 48px;
	padding: 0px;
	margin: 10px;
	background-color: #FFF;
	border-radius: 24px;
	border: 1px solid #000;
}
div.weatherButton:hover {
	background-color: #DDD;
}

div.weatherButton div#weatherIcon {
	width: 48px;
	height: 48px;
	padding: 0px;
	margin: 0px;
	background-size: 36px 36px;
	background-position: center center;
	background-repeat: no-repeat;
	cursor: pointer;
}

div.refreshButton div#optionsButton,
div#searchButton {
	background-color: #fff;
	border-radius: 2px;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
	font-weight: 500;
	cursor: pointer;
	font-size: 30px;
	color: rgb(25,25,25);
	margin: 10px;
	margin-right: 0px;
	text-align: center;
	padding: 0px 8px;
}

div.customControl div.options_header {
	background-color: #fff;
	border: 2px solid #fff;
	border-radius: 2px;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
	font-weight: 500;
	cursor: pointer;
	position: relative;
	color: rgb(25,25,25);
	margin: 10px;
	margin-bottom: 0px;
	text-align: center;
	padding: 8px;
	width: 100%;
	background-image: url('https://maps.gstatic.com/mapfiles/arrow-down.png');
	background-position: right 4px center;
	background-repeat: no-repeat;
	padding-right: 16px;
}

div.customControl div.notify_hide {
	background-color: white;
	z-index: -1;
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
	position: absolute;
	top: 100%;
	text-align: left;
	padding: 14px;
	padding-top:0px;
	margin: 10px;
	width: 100%;
	margin-top: 0px;
	overflow-x: hidden;
}

div.customControl div.notify_hide div.options_category {
	font-weight:bold;
	margin-top: 10px;
	font-size: 120%;
}

div.customControl div.notify_hide div.options_category:first-child {
	margin-top: 0px;
}

div.customControl div.notify_hide div {
	padding-top: 4px;
}

div.customControl div.notify_hide input[type="range"] {
	width: 105px;
}

div.customControl div.notify_hide input[type="checkbox"] {
	vertical-align: middle;
}

div#searchButton input[type="text"],
div.customControl div.notify_hide input[type="text"],
div.customControl div.notify_hide select {
	width: 144px;
	border: 1px solid #333;
	padding: 2px;
	font-family: "Courier New", Courier, monospace;
	font-size: 100%;
	margin-top: 3px;
	border-radius: 2px;
}

div#searchButton input[type="text"] {
	font-size: 26px;
	vertical-align:top;
	margin-left: 40px;
}

div.customControl div#invasionFilter {
	overflow-y: scroll;
	max-height: 60px;
}
div.customControl div#invasionFilter div {
	text-indent: 20px;
}

div.customControl div.notify_hide select {
	width: 150px;
}

div.customControl div.notify_hide input[type="button"] {
	width: 100%;
	margin-top: 10px;
	font-weight: bold;
}

div.customControl span.find_button,div.customControl span.sliderText,div.customControl span.info_button {
	position: absolute;
	right: 0px;
	line-height: 21px;
	font-weight: bold;
	font-size: 120%;
	white-space: nowrap
}

div.customControl span.find_button,
div.customControl span.info_button {
	cursor: pointer;
	font-weight: normal;
	margin-top: 2px;
	padding: 0px 3px;
	margin-right: 5px;
}

div.customControl span.info_button {
	font-size: 1.5em;
}

div.customControl span.find_button {
	color: #FFF;
	background-color: #000;
	border-radius: 2px;
}

div.pokeWindow,
div.raidWindow,
div.invasionWindow,
div.taskWindow {
	min-width: 300px;
	min-height: 148px;
	margin-bottom: 10px;
	margin-right: 10px;
}

div.gymWindow,
div.taskWindow {
	min-height: 160px;
	text-align: center;
}

div.gymWindow div.exMarker,
div.taskWindow div.pokestop-task {
	font-size: 18px;
}

div.pokeWindow p,
div.raidWindow p,
div.invasionWindow p,
div.gymWindow p,
div.taskWindow p {
	margin: 3px;
	margin-top: 5px;
	white-space: nowrap;
}

div.pokeWindow p span#countdown,
div.invasionWindow p span#countdown,
div.raidWindow p span#countdown {
	font-family: "Courier New", Courier, monospace;
}

div.pokeWindow span.pokemon-title,
div.raidWindow span.pokemon-title,
div.invasionWindow span.pokemon-title,
div.taskWindow span.pokemon-title {
	font-size: 1.1em;
}

div.pokeWindow span.moves,
div.invasionWindow span.moves,
div.raidWindow span.moves {
	padding: 6px;
	padding-left: 28px;
	border-radius: 13px;
	background-repeat: no-repeat;
	background-position: 3px center;
	background-size: 24px 24px;
	margin-right: 3px;
	margin-bottom: 3px;
	font-style: italic;
	width: 94px;
	float: left;
}

div.invasionWindow span.moves {
	width: auto;
}

span.type-0 {
	/* Bug */
	background-image: url('/sources/types/bug.svg');
	background-color: #92BC2C;
}
span.type-1 {
	background-image: url('/sources/types/dark.svg');
	background-color: #595761;
	color: #FFF;
}
span.type-2 {
	background-image: url('/sources/types/dragon.svg');
	background-color: #0C69C8;
	color: #FFF;
}
span.type-3 {
	background-image: url('/sources/types/electric.svg');
	background-color: #F2D94E;
}
span.type-4 {
	background-image: url('/sources/types/fairy.svg');
	background-color: #EE90E6;
}
span.type-5 {
	background-image: url('/sources/types/fighting.svg');
	background-color: #D3425F;
}
span.type-6 {
	background-image: url('/sources/types/fire.svg');
	background-color: #FBA54C;
}
span.type-7 {
	background-image: url('/sources/types/flying.svg');
	background-color: #FBA54C;
}
span.type-8 {
	background-image: url('/sources/types/ghost.svg');
	background-color: #5F6DBC
}
span.type-9 {
	background-image: url('/sources/types/grass.svg');
	background-color: #5FBD58
}
span.type-10 {
	background-image: url('/sources/types/ground.svg');
	background-color: #DA7C4D;
}
span.type-11 {
	background-image: url('/sources/types/ice.svg');
	background-color: #75D0C1;
}
span.type-12 {
	background-image: url('/sources/types/poison.svg');
	background-color: #B763CF;
}
span.type-13 {
	background-image: url('/sources/types/normal.svg');
	background-color: #A0A29F;
}
span.type-14 {
	background-image: url('/sources/types/psychic.svg');
	background-color: #FA8581;
}
span.type-15 {
	background-image: url('/sources/types/rock.svg');
	background-color: #C9BB8A;
}
span.type-16 {
	background-image: url('/sources/types/steel.svg');
	background-color: #5695A3;
}
span.type-17 {
	background-image: url('/sources/types/water.svg');
	background-color: #539DDF;
}

div.pokeWindow p span.rightSide,
div.raidWindow p span.rightSide,
div.invasionWindow p span.rightSide,
div.taskWindow p span.rightSide {
	float: right;
	padding-left: 4px;
	font-size: 18px;
	line-height: 20px;
}

div.pokeWindow p span.rightSide,
div.invasionWindow p span.rightSide,
div.raidWindow p span.rightSide {
	height: 20px;
}

div.pokeWindow img.pokemon-image,
div.invasionWindow img.pokemon-image,
div.raidWindow img.pokemon-image {
	width: 96px;
	height: 96px;
	margin: 3px;
}

div.gymWindow img.gym-image {
	border-radius: 50%;
	width: 128px;
	height: 128px;
	margin: 3px;
	border: 3px solid #000;
}
div.taskWindow img.task-image {
	width: 128px;
	height: 128px;
	margin: 3px;
	float: left;
}

div.team_1,
div.team_2,
div.team_3 {
	background-image: url('src/teams/team-mystic-vector.svg');
	background-repeat: no-repeat;
	background-position: right bottom;
	background-size: 75px;
}

div.team_2 {
	background-image: url('src/teams/team-valor-vector.svg');
}
div.team_3 {
	background-image: url('src/teams/team-instinct-vector.svg');
}
	
div#hoverwindow {
	position: absolute;
	border: 2px solid #000;
	min-width: 200px;
	background-color: #999;
	z-index: 5;
	text-align: center;
	color: #FFF;
	padding: 5px;
	font-size: 0.9em;
	margin-left: 32px;
	font-family: Verdana, Geneva, sans-serif;
}

div#searchButton div.closeButton,
div#resultsBox div.closeButton,
div#forecastBox div.closeButton,
div#forecastBox div.refreshButton {
	height: 14px;
	width: 16px;
	line-height: 1.5;
	font-size: 14px;
	padding: 0px;
	margin-right: 5px;
	float: right;
	text-align:right;
	border: 0px;
	cursor: pointer;
}
div#searchButton div.closeButton {
	margin: 0px;
	margin-top: 2px;
}

div#forecastBox {
	position: absolute;
	width: 150px;
	background-color: white;
	height: 320px;
	bottom: 40px;
	right: 80px;
	z-index: 5;
	padding: 0px;
	color: rgb(25,25,25);
	border-radius: 2px;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
}

div#forecastBox div {
	float: left;
	width: 150px;
	margin: 0px;
	height: 64px;
	background-repeat: no-repeat;
	background-size: 52px 52px;
	background-position: 10px center;
	border-bottom: 1px dotted black;
	font-size: 16px;
}
div#forecastBox div:last-child {
	border-bottom: 0px;
}
div#forecastBox div p {
	margin-top: 0px;
	margin-bottom: 0px;
	text-indent: 64px;
	padding: 2px;
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
}
div#forecastBox div p:first-child {
	font-family: "Courier New", Courier, monospace;
	font-size: 12px;
	padding-bottom: 0px;
	line-height: 12px;
}
div#forecastBox div p img {
	width: 20px;
	height: 20px;
	margin-right: 3px;
}
span.subletter {
	vertical-align: baseline;
	font-size: x-small;
}

div#resultsBox {
	display: block;
	position: absolute;
	background-color: white;
	top: 10px;
	z-index: 2000;
	left: 200px;
	width: 400px;
	background-color: #fff;
	border: 2px solid #fff;
	border-radius: 2px;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
	color: rgb(25,25,25);
	margin-bottom: 0px;
	padding: 0px;
	height: 90%;
}
@media only screen and (max-width: 600px) {
	div#resultsBox {
		left: 0px;
		width: 100%;
		top: 0px;
	}
}

div#resultsBox div.resultsTitle {
	font-weight: 700;
	font-size: 120%;
	height: 20px;
	background-color: lightgray;
	padding: 5px;
	margin: 8px;
	border-radius: 2px 2px 0px 0px;
}

ul#resultsContainer {
	list-style: none;
	overflow-y: scroll;
	height: 90%;
	padding-left: 2px;
}

ul#resultsContainer li {
	background-image: url('src/gym.png');
	background-size: 24px 24px;
	background-repeat: no-repeat;
	padding-left: 30px;
	line-height: 24px;
	cursor: pointer;
}

ul#resultsContainer li:hover {
	font-weight:bold;
}

div#searchButton {
	min-width: 35px;
	min-height: 44px;
}

div#searchButton span.magnify {
	position: absolute;
	left: 0px;
	padding-left: 5px;
}

.contextmenu {
	visibility:hidden;
	background:#ffffff;
	border:1px solid #8888FF;
	z-index: 10;  
	position: relative;
	width: 170px;
}
.contextmenu div {
	padding-left: 5px;
	padding-right: 2px;
	white-space: nowrap;
	border: 2px solid #fff;
	border-radius: 2px;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
	cursor: pointer;
	color: rgb(25,25,25);
	font: 400 14px Roboto, Arial, sans-serif;
	text-decoration: none;
}
.contextmenu div:hover {
	font-weight:bold;
}

/* Google maps hack */
img[src*="#raid"] {
	background-image: url('/src/eggs/egg-normal.svg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: 32px 32px;
	top: 0px !important;
	padding: 5px 2px !important;
}

@media only screen and (min-width: 600px) {
	img[src*="#raid"] {
		filter: contrast(120%) drop-shadow(0px 0px 1px black);
	}
	img[src*="#raid3"],
	img[src*="#raid4"] {
		background-image: url('/src/eggs/egg-rare.svg');
	}

	img[src*="#raid5"] {
		background-image: url('/src/eggs/egg-legend.svg');
	}

	img[src*="#raid6"] {
		background-image: url('/src/eggs/egg-mega.svg');
	}
}
