
/*

This file controls the CSS of the maps, essentially for the HTML tooltips. 
The maps are generated using the Google Visualization API, specificaly the Geochart:
https://developers.google.com/chart/interactive/docs/gallery/geochart 

Here some of the default CSS rules for the tooltips are overwritten. 
You can customize the visual of the tooltips further editing the classes below.

The tooltips might also inherit some rules from your theme's CSS. 

You can customize your map further with extra CSS. Read more about it here:
http://cmoreira.net/interactive-world-maps-demo/advanced-customization/
In case you need to add custom styles, include them below:

CUSTOM STYLES START
*/

.iwm_map_canvas {
 
}


/* 
Placeholder before the map is loaded
When Visual Composer is being used the 
opacity changes to 1
*/

.iwm_placeholder {
  opacity: 0;
  background-color:#f5f5f5;
  width:100%;
 position: relative;
 list-style: none;
 text-align: center;
 vertical-align: middle;
 padding-top:25%;
 font-size: 0.8em;
}

.iwm_placeholder:after {
    padding-top: 25%; 
    display: block;
    content: '';
}


/* CUSTOM STYLES END */

.iwm_map_canvas li {
list-style: none !important;
}

.iwm_map_canvas text {
  stroke-width:0;
  cursor: pointer;
}

/* Reset for images used in the tooltip */

.iwm_map_canvas img {
 border:none;
 padding: 0;
 margin: 0;
 box-shadow: none;
}

/* workaround to prevent blinking when tooltip is hovered 
will make tooltip not clickable, so if you have html links, don't use this
*/
/*
.iwm_map_canvas .google-visualization-tooltip {
 pointer-events:none;
}
*/

/* This is the main tooltip class. It's the tooltip wrapper div */
.iwm_map_canvas .google-visualization-tooltip {
	margin: 0px;
	padding: 5px;
  color:#444;
  word-wrap: normal;
  z-index: 9999999999;
  font-family: inherit;
  margin-right:-50px;
  margin-bottom:-50px;
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  font-family: 'Arial';
}

.iwm_map_canvas .google-visualization-tooltip ul, 
.iwm_map_canvas .google-visualization-tooltip li, 
.iwm_map_canvas .google-visualization-tooltip img {
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  outline: 0;
  font-size: 100%;
  line-height: 1.5em;
  font-size: 1em;
  text-decoration: none;
  vertical-align: baseline;
  list-style: none;
}




/*The content of the tooltip is rendered by the API in an unordered list 
With 2 li entries, one for the title and other for the actual tooltip info.
*/

.iwm_map_canvas .google-visualization-tooltip-item-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.iwm_map_canvas  ul.google-visualization-tooltip-item-list {
	list-style: none;
	margin:0;
	padding:0;
}

.iwm_map_canvas li.google-visualization-tooltip-item {
	list-style: none;
	margin:0;
	padding:0;

}

.iwm_map_canvas .google-visualization-tooltip-item * {
	margin:0;
	padding:0;
  list-style: none;
}

/* This rule controls the Title info */
.iwm_map_canvas .google-visualization-tooltip-item-list
.iwm_map_canvas .google-visualization-tooltip-item:first-child {
  list-style: none;
  margin:0;
	padding:0;
}

/* to hide tooltip title */
/*
.iwm_map_canvas .google-visualization-tooltip-item:first-child { display:none;}
*/


/* Google Defaults */

/*
.google-visualization-tooltip-action: hover {
  background-color: #eeeeee;
}
.google-visualization-tooltip {
  border:solid 1px #bdbdbd;
  border-radius: 2px;
  background-color: white;
  position: absolute;
  font-size: 12px;
  padding: 0px;
  box-shadow: 0px 2px 2px 0px rgba(204, 204, 204, 0.6);
  -moz-box-shadow: 0px 2px 2px 0px rgba(204, 204, 204, 0.6);
  -webkit-box-shadow: 0px 2px 2px 0px rgba(204, 204, 204, 0.6);
}

.google-visualization-tooltip-item-list {
  list-style-type: none;
  margin: 1em 0 1em 0;
  padding: 0em;
}
.google-visualization-tooltip-item {
  margin: 0.65em 0em 0.65em 0em;
  padding: 0em 2em 0em 1em;
}
.google-visualization-tooltip-item-list
.google-visualization-tooltip-item:first-child {
  margin: 1em 0em 1em 0em;
}


*/
