/*This isn't needed but if DOM elements above the #mapModule div are changed, then
some position aboslute elements might need to be changed */
#leyend {
    display: flex;
    margin-top: 20px;
}
#leyend div span{
    width: 17px;
    height: 17px;
    float: left;
    margin-top: 5px;
    margin-right: 9px;
}
#leyend div {
    margin-left: 20px;
}
#mapModule {
    background: transparent;
    width: 100%;
    position:relative;
}

#mapModule #loading {
    margin: 0px auto;
    position:absolute;
    top:50%;
    transform:translate(0,-50%);
    height:500px;
}

#main {
    position: relative;
    display:none;
}

#legend {
    position: absolute;
    top:-75px;
    left:-10px;
    border: none;
    border-radius:10px;
	background-color: transparent;
}

#legend p {
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 36px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 15px !important;
  color: #636363;
  background-color: transparent;
}
#sunburstMenu {
    background-color: white;
    border: solid 5px #ccabab;
    border-radius: 10px;
    width: 4em;
    height: 4em;
    position: absolute;
    top: 10px;
    right: 10px;
}

#sunburstMenu .instruction {
    font-size:1.5em;
}

#sunburstMenu #instruction {
    display:none;
    text-align:center;
}

#sunburstMenu {
    background-color: white;
    border: solid 5px #ccabab;
    border-radius: 10px;
    width: 4em;
    height: 4em;
    position: absolute;
    top: 10px;
    right: 10px;
}

#sunburstMenu .instruction {
    font-size:1.5em;
}

#sunburstMenu #instruction {
    display:none;
    text-align:center;
}

#sunburstMenu #label {
    position: absolute;
    border-radius: 5px;
    border: solid 1px #ccabab;
    background-color: #eeeeee;
    padding: 3px 5px;
    display: none;
}

#sunburstMenu #overall {
    display: none;
    padding: 1em;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    stroke:black;
    font-size:200%;
}

#sunburstMenu #overall span {
    padding: 20px;
    border-radius: 5px;
    border: solid 1px #ecabab;
    font-size: 1.2em;
}


#policyToggle ul {
    float: right;
}

#policyToggle li {
    display: inline;
    padding: 0 20px;
    color: #666;
    font-size: 200%;
}

#policyToggle li.selected {
    color: #07aac5;
}

#policys {
    width: 100%;
    height: 50px;
    background-color: #eeeeee;
}

.sun {
    stroke-width: 2px;
    stroke: white;
    fill: white;
}

.axis {
    fill: black;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.domain {
    stroke: #000;
    stroke-opacity: .3;
    stroke-width: 10px;
    stroke-linecap: round;
}

.slider .handle {
    fill: #fff;
    stroke: #000;
    stroke-opacity: .5;
    stroke-width: 1.25px;
    cursor: crosshair;
}

#map {
    width: 100%;
    background: transparent;
    height:65%;
}

.overlay {
    fill: none;
    pointer-events: all;
}

.country {
    fill: #cdcdcd;
    stroke-width: .03em;
	/*stroke: #ccabab;*/	
	stroke: #fff;
}

.boundary {
    stroke-width: 1px;
    stroke: #ccabab;
    fill: none;
}


#map #tooltip {
    opacity: 0.00001;
    position: absolute;
    background: white;
    font-size: 13px;
    color: black;
    line-height: 18px;
    padding-bottom: 11px;
    width: 182px;
    height: auto;
    pointer-events: none;
    border: solid 0.1em black;
    /*border-radius:10px;*/
	margin-top: 60px;
	-webkit-box-shadow: 4px 6px 17px 0px rgba(5,5,5,0.29);
	-moz-box-shadow: 4px 6px 17px 0px rgba(5,5,5,0.29);
	box-shadow: 4px 6px 17px 0px rgba(5,5,5,0.29);
}

#cname{
    font-size:22px;
}

#map #tooltip #flag {
    display: block;
    margin: 10px;
    width: 30px;
	border: solid 1px #8e7777;
    padding:0;
}

#map #tooltip h3 {
    margin-top:8px;
    margin-bottom: 6px;
}

#map #tooltip p{
    margin-bottom: 3px!important;
}

#map #tooltip #cname {
    margin-left: 10px;
    margin-top
}

#map #tooltip span {
    padding: 0px 10px;
}

#map #tooltip #description2 {
    float: right;
}

.zoomControl {
    position: absolute;
    right:15px;
    top:1em;
}

.zoomControl i {
    display: inline;
    color: #B1B1B1;
}

#leftButtons {
    position: absolute;
    top:  1em;
    right: 1em;
}

#leftButtons div i {
    color: #ccabab;
}

#leftPanel {
    position: absolute;
    width: 260px;
    background-color: #fff;
    top: 55px;
    height: 900px;
}

#leftPanel {
    left: -375px;
    border: solid 2px #cca;
	padding: 20px;
}

#leftPanel h1 {
    text-align: center;
}

#leftPanel i {
    float: right;
}

#leftPanel #countryDetail * {
    position: absolute;
}

#leftPanel #countryDetail #cname {
    top: 100px;
}

#leftPanel #countryDetail i {
    float: left;
    color: #cacaca;
    top: 850px;
    left: 100px;
}

hr {
    margin: 20px;
}

.hide {
    opacity: 1 e-6;
}

.scroll {
    overflow-y: scroll;
    height: 90%;
}

.primary-1 {
    fill: #80CAAA
}

.primary-2 {
    fill: #50AB84
}

.primary-0 {
    fill: #31946A
}

.primary-3 {
    fill: #1A8054
}

.primary-4 {
    fill: #09663E
}

.secondary-1-1 {
    fill: #849DC6
}

.secondary-1-2 {
    fill: #5574A4
}

.secondary-1-0 {
    fill: #385A8F
}

.secondary-1-3 {
    fill: #22457C
}

.secondary-1-4 {
    fill: #113162
}

.secondary-2-1 {
    fill: #FFDDA2
}

.secondary-2-2 {
    fill: #F9C974
}

.secondary-2-0 {
    fill: #D8A448
}

.secondary-2-3 {
    fill: #BB8526
}

.secondary-2-4 {
    fill: #95640E
}

.complement-1 {
    fill: #FFBCA2
}

.complement-2 {
    fill: #F99A74
}

.complement-0 {
    fill: #D87148
}

.complement-3 {
    fill: #BB5026
}

.complement-4 {
    fill: #95340E
}

