.kerala-element a {
	color: #333;
	text-decoration: none !important;
}

.kerala-element input,
.kerala-element button {
	outline: none;
}

.kerala-element * { -webkit-tap-highlight-color: rgba(0,0,0,0); }

.kerala-element {
	background-color: #fff;
	font-size: 0;
	overflow: hidden;
}

/* Fullscreen */
:-webkit-full-screen {
	width: 100%;
	height: 100% !important;
}

:-webkit-full-screen .kerala-fullscreen-button {
	background-image: url(images/fullscreen-exit.png);
}

/* Preloader */
.kerala-element.kerala-loading {
	background: #f4f4f4 url(images/loader.gif) no-repeat center;
}

.kerala-element.kerala-error {
	background: #f4f4f4 url(images/error-icon.png) no-repeat center;
}

.kerala-element > * {
	opacity: 1;
	-webkit-transition: opacity 0.6s;
	-moz-transition: opacity 0.6s;
	transition: opacity 0.6s;
}

.kerala-element.kerala-loading > * {
	opacity: 0;
}

/* Main elements */
.kerala-container {
	background-color: #f8f8f8;
	display: inline-block;
	overflow: hidden;
	position: relative;
	width: 70%;
	height: 100%;
}

:-webkit-full-screen .kerala-container {
	width: 80%;
}

.kerala-map {
	position: absolute;
	left: 0;
	top: 0;
	overflow: visible !important;
}

/* Map layer */
.kerala-layer {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	position: absolute;
}

.kerala-layer img {
	width: 100%;
}

.kerala-map .kerala-map-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.kerala-map.kerala-zoomable .kerala-map-image {
	cursor: url(images/openhand.cur), default;
}

.kerala-map.kerala-zoomable.kerala-dragging .kerala-map-image {
	cursor: url(images/closedhand.cur), move;
}

.kerala-locations {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.kerala-pin {
	background-image: url(images/pin.png);
	background-size: 18px 24px;
	background-repeat: no-repeat;
	background-position: center;
	width: 18px;
	height: 24px;
	margin-top: -23px;
	margin-left: -9px;
	position: absolute;
}

.kerala-pin.iconpin {
	background-image: url(images/pin-large.png);
	background-size: 30px 42px;
	color: #fff;
	font-size: 14px;
	font-weight: normal;
	line-height: 36px;
	text-align: center;
	width: 30px;
	height: 42px;
	margin-top: -42px;
	margin-left: -15px;
}

.kerala-pin.orange { background-image: url(images/pin-orange.png); }
.kerala-pin.yellow { background-image: url(images/pin-yellow.png); }
.kerala-pin.green { background-image: url(images/pin-green.png); }
.kerala-pin.blue { background-image: url(images/pin-blue.png); }
.kerala-pin.purple { background-image: url(images/pin-purple.png); }

.kerala-pin.iconpin.orange { background-image: url(images/pin-orange-large.png); }
.kerala-pin.iconpin.yellow { background-image: url(images/pin-yellow-large.png); }
.kerala-pin.iconpin.green { background-image: url(images/pin-green-large.png); }
.kerala-pin.iconpin.blue { background-image: url(images/pin-blue-large.png); }
.kerala-pin.iconpin.purple { background-image: url(images/pin-purple-large.png); }

.kerala-pin.circular {
	background-image: none;
	background-color: #fb7575;
	border-radius: 6px;
	box-shadow: 0 -2px 0 rgba(0, 0, 0, 0.1) inset;
	width: 12px;
	height: 12px;
	margin-left: -6px;
	margin-top: -6px;
}

.kerala-pin.transparent {
	background-image: none;
	background-color: #fb7575;
	border-radius: 10px;
	width: 20px;
	height: 20px;
	margin-left: -10px;
	margin-top: -10px;
	opacity: 0.5 !important;
}

.kerala-pin.kerala-animate {
	-webkit-animation: bounce-in 0.4s forwards;
	animation: bounce-in 0.4s forwards;
}

@-webkit-keyframes bounce-in {
	0%   {margin-top: -120px; opacity: 0;}
	33%  {margin-top: -25px; opacity: 1;}
	66%  {margin-top: -30px;}
	100% {margin-top: -23px; opacity: 1;}
}

/* Minimap */
.kerala-minimap {
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 2px;
	position: absolute;
	width: 140px;
	margin: 10px;
	bottom: 0;
	right: 0;
	opacity: 0.5;
	overflow: hidden;
	-webkit-transition: opacity 0.6s;
	-moz-transition: opacity 0.6s;
	transition: opacity 0.6s;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.kerala-minimap img {
	width: 100%;
}

.kerala-minimap-overlay {
	background-color: rgba(0, 0, 0, 0.4);
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.kerala-minimap .kerala-minimap-active {
	position: absolute;
	opacity: 1;
	top: 0;
	left: 0;
	-webkit-transition: clip 0.1s;
	-moz-transition: clip 0.1s;
	transition: clip 0.1s;
}

.kerala-minimap-background {
	-webkit-filter: blur(2px);
}

/* Clear Button */
.kerala-clear-button {
	background-color: #fff;
	background-image: url(images/reset.png);
	background-size: 16px 16px;
	background-repeat: no-repeat;
	background-position: center;
	border: 1px solid #eee;
	border-bottom: 1px solid #ddd;
	border-radius: 3px;
	margin: 10px;
	width: 28px;
	height: 28px;
	position: absolute;
	bottom: 0;
	left: 0;
}

.kerala-clear-button:active {
	background-color: #eee;
}

/* Zoom Buttons */
.kerala-zoom-buttons {
	margin: 10px;
	position: absolute;
	left: 0;
	bottom: 40px;
}

.kerala-zoom-buttons a {
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: center;
	border: 1px solid #eee;
	border-bottom: 1px solid #ddd;
	color: #fff !important;
	display: block;
	font-size: 14px;
	font-weight: bold;
	cursor: pointer;
	text-align: center;
	line-height: 24px;
	width: 28px;
	height: 28px;
}

.kerala-zoom-buttons a:active {
	background-color: #f4f4f4;
}

.kerala-zoom-buttons a.kerala-disabled {
	background-color: #eee;
	cursor: default;
}

a.kerala-zoomin-button {
	background-image: url(images/plus.png);
	background-size: 10px 10px;
	border-radius: 3px 3px 0 0;
}

a.kerala-zoomout-button {
	background-image: url(images/minus.png);
	background-size: 10px 10px;
	border-radius: 0 0 3px 3px;
	border-top: none;
}

/* Fullscreen Button */
.kerala-fullscreen-button {
	background-color: #fff;
	background-image: url(images/fullscreen.png);
	background-repeat: no-repeat;
	background-position: center;
	border: 1px solid #eee;
	border-bottom: 1px solid #ddd;
	border-radius: 2px;
	margin: 10px;
	width: 28px;
	height: 28px;
	position: absolute;
	top: 0;
	left: 0;
}

/* Levels */
.kerala-levels {
	position: absolute;
	top: 0;
	right: 0;
	margin: 10px;
	overflow: hidden;
}

.kerala-levels > * {
	border: 1px solid #eee;
	display: block;
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.kerala-levels-select {
	background-color: #fff;
	border-top: none;
	color: #666;
	margin: 0;
	padding: 6px 2px;
	font-size: 14px;
	outline: none;
}

.kerala-levels a {
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
	height: 24px;
	width: 100%;
}

.kerala-levels a:active {
	background-color: #f8f8f8;
}

.kerala-levels .kerala-levels-up {
	background-image: url(images/arrow-up.png);
	background-size: 8px 4px;
	border-radius: 3px 3px 0 0;
}

.kerala-levels .kerala-levels-down {
	background-image: url(images/arrow-down.png);
	background-size: 8px 4px;
	border-top: none;
	border-radius: 0 0 3px 3px;
}

.kerala-levels a.kerala-disabled {
	background-color: #eee;
	cursor: default;
}

/* Sidebar */
.kerala-sidebar {
	background-color: #f8f8f8;
	width: 30%;
	height: 100%;
	float: left;
	position: relative;
}

:-webkit-full-screen .kerala-sidebar {
	width: 20%;
}

/* Search */
.kerala-search-form {
	background-color: #f8f8f8;
	border-bottom: 1px solid #eee;
	border-right: 1px solid #f4f4f4;
	padding: 14px 12px;
	margin: 0;
	width: 100%;
	position: absolute;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.kerala-search-input {
	background-image: url(images/viewer.png);
	background-size: 17px 16px;
	background-repeat: no-repeat;
	background-position: 8px;
	border: 2px solid #eee;
	border-radius: 2px;
	font-size: 14px;
	font-family: inherit;
	line-height: 20px;
	height: 38px;
	margin: 0;
	padding: 8px 32px;
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;

	-webkit-transition: border-color 0.1s;
	-moz-transition: border-color 0.1s;
	transition: border-color 0.1s;
}

.kerala-search-input:focus {
	border-color: #6ed8dd;
}

.kerala-search-clear {
	background-image: url(images/cross.png);
	background-size: 8px 8px;
	background-repeat: no-repeat;
	background-color: transparent;
	background-position: center;
	border: none;
	cursor: pointer;
	display: none;
	position: absolute;
	top: 14px;
	right: 14px;
	margin: 2px 0;
	width: 34px;
	height: 34px;
}

.kerala-not-found {
	color: #bbb;
	display: none;
	font-size: 13px;
	padding: 0 30px;
	position: absolute;
	text-align: center;
	top: 100px;
}

/* List */
.kerala-list-container {
	padding-top: 67px;
	height: 100%;
	overflow-y: auto;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.kerala-list {
	list-style: none;
	padding: 0;
	margin: 0;
	overflow-y: auto;
	height: 100%;
}

.kerala-list-container ol {
	border-color: #eee;
	list-style: none;
	padding: 0;
	margin: 0;
}

.kerala-list-container li {
	border-color: inherit;
}

.kerala-list-category > a {
	background-color: #888;
	box-shadow: 0 -2px 0 rgba(0, 0, 0, 0.05) inset;
	color: #fff;
	display: block;
	font-size: 14px;
	line-height: 26px;
	padding: 10px 12px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	box-sizing: border-box;
}

.kerala-list-category ol {
	border-bottom: 2px solid #eee !important;
}

.kerala-list-thumbnail {
	border-radius: 2px;
	float: left;
	margin-right: 10px;
}

.kerala-list-category > a .kerala-list-count {
	background-color: rgba(0, 0, 0, 0.1);
	border-radius: 2px;
	float: right;
	font-size: 12px;
	font-weight: bold;
	line-height: 20px;
	padding: 0 6px;
	margin-left: 10px;
	text-align: center;
	margin-top: 4px;
	-webkit-transition: border-radius 0.2s;
	-moz-transition: border-radius 0.2s;
	transition: border-radius 0.2s;

}

.kerala-list-location {
	border-bottom: 1px solid #eee;
	margin: 0;
}

.kerala-list-location > a {
	background-color: #fff;
	border-left: 1px solid transparent;
	display: block;
	font-size: 14px;
	padding: 10px;
	min-height: 50px;
	-webkit-transition: border 0.2s;
	-moz-transition: border 0.2s;
	transition: border 0.2s;
}

.kerala-list-location > a:hover {
	background-color: #f4fcfc;
	border-left: 2px solid;
	border-color: inherit;
}

.kerala-list-location h4 {
	color: #444;
	font-size: 16px;
	font-weight: normal;
	margin: 4px 0 8px 0;
	text-align: left;
}

.kerala-list-location span { /* 42 -20 13 30*/
	color: #bbb;
	font-size: 13px;
	font-weight: normal;
}

/* Tooltip */
.kerala-tooltip {
	background-color: #fff;
	border-radius: 2px;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
	display: none;
	max-width: 350px;
	min-width: 120px;
	margin-top: -76px;
	padding: 16px;
	position: absolute;
	-webkit-transition: margin 0.1s;
	-moz-transition: margin 0.1s;
	transition: margin 0.1s;
}

.kerala-tooltip-title {
	color: #333;
	font-size: 20px;
	font-weight: normal;
	margin: 0 30px 12px 0;
}

.kerala-hovertip {
	min-width: 30px;
	padding: 6px 14px;
	pointer-events: none;
}

.kerala-hovertip .kerala-tooltip-title {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
	text-align: center;
}


.kerala-bottom .kerala-tooltip-triangle {
	border-color: transparent transparent #fff transparent;
	border-width: 0 7px 8px 7px;
	top: 0;
	margin-top: -8px;
}

.kerala-tooltip-content {
	max-height: 460px;
	overflow-y: auto;
}

.kerala-tooltip-content p {
	margin-top: 0;
}

.kerala-tooltip-image {
	width: 46%;
	height: 100%;
	/*margin: 5px 20px 5px 0;*/
	margin: -16px 16px -16px -16px;
	float: left;
}

.kerala-tooltip-description,
.kerala-tooltip p {
	color: #000;
	font-size: 13px;
	line-height: 20px;
}

.kerala-tooltip-link {
	background-color: #6CB5F4;
	border-radius: 2px;
	color: #fff !important;
	float: right;
	font-size: 14px;
	line-height: 32px;
	padding: 0 12px;
	margin-top: 10px;
	-webkit-transition: background-color 0.2s;
	-moz-transition: background-color 0.2s;
	transition: background-color 0.2s;
}

.kerala-tooltip-link:hover {
	background-color: #888;
}

.kerala-tooltip img {
	max-width: 100%;
}

.kerala-tooltip-close {
	background-image: url(images/cross.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 8px 8px;
	background-color: transparent;
	border: none;
	cursor: pointer;
	float: right;
	margin: -10px -14px 0 0;
	padding: 10px 12px;
	width: 10px;
	height: 10px;
	opacity: 0.5;
	-webkit-transition: opacity 0.2s;
	-moz-transition: opacity 0.2s;
	transition: opacity 0.2s;
}

.kerala-tooltip-close:hover {
	opacity: 1.0;
}

.kerala-tooltip-triangle {
	border-color: #fff transparent transparent transparent;
	border-style: solid;
	border-width: 8px 7px 0 7px;
	width: 0;
	height: 0;
	position: absolute;
	bottom: 0;
	left: 50%;
	margin-bottom: -8px;
	margin-left: -7px;
	-webkit-transition: left 0.1s;
	-moz-transition: left 0.1s;
	transition: left 0.1s;
}

/* Tooltip down */
.kerala-tooltip-down .kerala-tooltip-triangle {
	border-width: 0 7px 8px 7px;
	border-color: transparent transparent #fff transparent;
	top: 0;
	margin-top: -8px;
}

/* Coordinates */
.kerala-coordinates {
    display: none;
	background-color: rgba(255, 255, 255, 0.9);
	color: #333;
	position: absolute;
	margin: 10px;
	margin-left: -80px;
	padding: 4px 6px;
	font-size: 14px;
	top: 0;
	left: 50%;
	pointer-events: none;
}

/* Responsive layout */
@media all and (max-width: 667px) {
	.kerala-container,
	.kerala-sidebar {
		width: 100%;
	}

	.kerala-tooltip {
		max-width: 240px;
	}

	.kerala-minimap {
		width: 120px;
	}

	.kerala-element {
		height: auto !important;
	}

	.kerala-fullscreen-button {
		display: none;
	}

	.kerala-search-form {
		border-right: none;
	}
}

/* RETINA */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
	.kerala-search-clear,
	.kerala-tooltip-close {
		background-image: url(images/cross@2x.png);
	}

	.kerala-levels .kerala-levels-up {
		background-image: url(images/arrow-up@2x.png);
	}

	.kerala-levels .kerala-levels-down {
		background-image: url(images/arrow-down@2x.png);
	}

	a.kerala-zoomin-button {
		background-image: url(images/plus@2x.png);
	}

	a.kerala-zoomout-button {
		background-image: url(images/minus@2x.png);
	}

	.kerala-search-input {
		background-image: url(images/viewer@2x.png);
	}

	.kerala-pin { background-image: url(images/pin@2x.png); }
	.kerala-pin.orange { background-image: url(images/pin-orange@2x.png); }
	.kerala-pin.yellow { background-image: url(images/pin-yellow@2x.png); }
	.kerala-pin.green { background-image: url(images/pin-green@2x.png); }
	.kerala-pin.blue { background-image: url(images/pin-blue@2x.png); }
	.kerala-pin.purple { background-image: url(images/pin-purple@2x.png); }

	.kerala-pin.iconpin { background-image: url(images/pin-large@2x.png); }
	.kerala-pin.iconpin.orange { background-image: url(images/pin-orange-large@2x.png); }
	.kerala-pin.iconpin.yellow { background-image: url(images/pin-yellow-large@2x.png); }
	.kerala-pin.iconpin.green { background-image: url(images/pin-green-large@2x.png); }
	.kerala-pin.iconpin.blue { background-image: url(images/pin-blue-large@2x.png); }
	.kerala-pin.iconpin.purple { background-image: url(images/pin-purple-large@2x.png); }

	.kerala-clear-button {
		background-image: url(images/reset@2x.png);
	}
}

/* Map */
.kerala-element svg {
	width: 100%;
	height: 100%;
}

.kerala-element svg a {
	cursor: pointer;
}

.kerala-active,
a.kerala-active > path,
g.kerala-active > * {
	fill: #343F4B;
	opacity: 1.0;
}

.kerala-clickable:not(g),
g.kerala-clickable > * {
	cursor: pointer;
	opacity: 0.4;
	-webkit-transition: opacity 0.2s;
	-moz-transition: opacity 0.2s;
	transition: opacity 0.2s;
}

.kerala-clickable:not(g):hover,
g.kerala-clickable:hover > * {
	opacity: 0.8;
}

.kerala-map-image *[id^=nopointer] {
	pointer-events: none;
}

[id^=landmarks] .kerala-clickable {
	cursor: pointer;
}
