body{margin:0px;padding:0px;font-family:Helvetica,Arial,sans-serif;}#map{width:100%;height:100%;position:absolute;top:0;left:0;}#legend{position:absolute;z-index:4;bottom:12px;right:5px;padding:10px;background-color:white;}#legendHed{font-weight:bold;padding-bottom:5px;}#legendSubhed{padding-bottom:5px;font-size:12px;}.legendBookCheckbox{display:inline-block;line-height:18px;height:12px;position:relative;top:-2px;cursor:pointer;}.legendBook{height:18px;width:100%;line-height:18px;font-size:12px;cursor:pointer;color:#666;}.legendBook.selected,.legendBook:hover{color:#000;}.legendBookColor{display:inline-block;width:12px;height:12px;margin-left:5px;margin-right:5px;}.legendBookTitle{display:inline-block;line-height:24px;font-size:12px;position:relative;top:-2px;font-style:italic;}.gm-style .gm-style-iw{max-width:300px;font-weight:normal;padding:5px;font-family:Helvetica,sans-serif;}.bookPlace{font-weight:bold;font-size:14px;padding:10px 0;}.bookTitle{text-transform:uppercase;font-style:italic;font-size:11px;font-weight:normal;line-height:1.5em;}.bookAuthor{text-transform:uppercase;font-size:11px;line-height:1.5em;margin-bottom:5px;}.bookLink{text-transform:uppercase;color:#aaa;padding:10px 0;font-size:11px;}.bookLink a{color:#aaa;}.bookQuote{font-size:12px;line-height:19px;}#legendShowAll{font-size:12px;color:#2473b5;cursor:pointer;padding-top:2px;color:#666;}#legendShowAll:hover{font-weight:bold;}#legendBooksMobile{display:none;}@media only screen and (max-width: 700px) {#legend{display:none;}#legendBooksMobile{display:block;position:absolute;bottom:0;background:rgba(200,200,200,.5);padding:5px 0;width:100%;z-index:5;text-align:center;}#legendBooksMobile select{max-width:90%;font-size:16px;}.gm-style .gm-style-iw{padding:2px;}}
@font-face {
  font-family: 'Proxima Nova';
  src: url('../Fonts/Mark Simonson - Proxima Nova Regular.otf');
}
body {
  font-family:  'Proxima Nova';

}
@font-face {
  font-family: 'Proxima Nova';
  font-weight: bold;
  src: url('../Fonts/Mark Simonson - Proxima Nova Bold.otf');
}

.siteName {
  font-weight: bold;
  font-size: 1.2em;
  display: inline-block;
}
.currentLocation {
  display: inline-block;

}
.imageAttribution {
  font-size: 10px;
  padding-top: 2px;

}

.infoWindowDescription a.factoid {
  font-weight: bold;
  color: #00a19b;
  text-decoration: none;

}
#legend {
  position: absolute;
  z-index: 5;
  bottom: 12px;
  right: 0px;
  padding: 5px;
  background-color: white;
  width: 250px;
  font-size: 12px;
}
#legendHed {
  font-weight: bold;
  padding-bottom: 5px;
  font-size: 16px;
}
#legendBody {
  line-height: 16px;
  width: 245px;
  cursor: pointer;
}

.gmnoprint img {
    max-width: none; 
}
.reigning {
  border: solid 5px #ff5f00;
  color: #ff5f00;
}
.wavering {
  border: solid 5px #ffb700;
  color: #ffb700;
}
.toppled {
  border: solid 5px #5c6670;
  color: #5c6670;
}
.contested {
  border: solid 5px #3e8ede;
  color: #3e8ede;

}
#infoWindow {
  font-family: "Proxima Nova", Helvetica, Arial, sans-serif;
  width: 400px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  position: absolute;
  background-color: white;
  z-index: 200;
  cursor: pointer;
}
#infoWindow * {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -webkit-box-sizing: border-box;

}
.infoWindowContainer {
  width: 100%;
}
.infoWindowHeader {
  padding-left: 9px;
  padding-top: 9px;
  padding-bottom: 9px;
  padding-right: 9px;
  height: 52px;
  width: 100%;
  border-bottom: 5px solid;
}
.infoWindowHeaderName {
  font-size: 9.5px;
  text-transform: uppercase;
}
.infoWindowHeaderCapital { 
  font-size: 20px;
  line-height: 18px;
}
.infoWindowHeaderGroup {
  height: 47px;
}
.infoWindowHeaderLeft .infoWindowHeaderGroup {

}
.infoWindowHeaderLeft .infoWindowHeaderGroup {
  float: left;
}
.infoWindowHeaderRight .infoWindowHeaderGroup {
  float: right;
}
.infoWindowHeaderRight .infoWindowHeaderGroup:nth-child(2) {
  margin-right: 6px;

}
.infoWindowHeaderGroup img {
  position: relative;
  top: 1px;
  left: -2px;

}
.infoWindowHeaderValue span {
  position: relative;
}

.infoWindowBody {
  width: 100%;
  padding: 18px;
  overflow: auto;
}
.infoWindowImage {
  width: 33%;
  float: left;
  position: relative;
  left: -9px;
}
.infoWindowImage img {
  width: 100%;


}
.infoWindowDescription{
  color: #909c9c;
  font-size: 13.5px;
  line-height: 16.2px;
  width: 66%;
  float: right;
  height: auto;
}
.infoWindowDescription a {
  color: #909c9c;

}
.infoWindowDescription em {
  color: #00a19b;
  font-weight: bold;
}

.infoWindowCapitalName {
  text-transform: uppercase;
  color: #00a19b;
  font-weight: bold;
}
#legendimg {
}

#legendTopper {
  position: absolute;
  top: 10px;
  left: 50px;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  color: #69c9b9;
  height: 70px;
  width: 245px;
  padding: 12px;
  font-size: 26px;
  line-height: 28px;
  font-weight: bold;
}
#legendBody {
  height: 160px;
  padding: 12px;
  position: absolute;
  bottom: 15px;
  right: 0px;
  background-color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}
  #legendBody {
    top: 110px;
    left: 50px;
    right: auto;


  }
  #legendTopper {
    border-bottom: solid 5px #69c9b9;
  }

#legendBody th {
  font-size: 11px;
  line-height: 30px;
  text-transform: uppercase;
  width: 120px;
  text-align: left;
  color: #909c9c;
}
#legendBody td {
  width: 120px;
  color: #5c6670;
  font-weight: bold;
}
#legendBody tr {
  height: 19.6px;
}

#legendBody td.realm {
  color: #c5c6c8;
}
#legendBody td.realm.active {
  color: #5c6670;
}
#legendBody td.status {
  color: #c5c6c8;
}
.status_icon {
  height: 15px;
  width: 15px;
  background-repeat: no-repeat;
  display: inline-block;

}
#legendBody td[data-status="reigning"].active {
  color: #ff5f00;
}
#legendBody td[data-status="reigning"] .status_icon {
  background-image: url("../images/icon_reigning_grey.svg");
}
#legendBody td[data-status="reigning"].active .status_icon {
  background-image: url("../images/icon_reigning.svg");
}
#legendBody td[data-status="wavering"].active {
  color: #ffb700;

}
#legendBody td[data-status="wavering"] .status_icon {
  background-image: url("../images/icon_wavering_grey.svg");
}
#legendBody td[data-status="wavering"].active .status_icon {
  background-image: url("../images/icon_wavering.svg");
}
#legendBody td[data-status="toppled"].active {
  color: #5c6670;
}
#legendBody td[data-status="toppled"] .status_icon {
  background-image: url("../images/icon_toppled_grey.svg");
}
#legendBody td[data-status="toppled"].active .status_icon {
  background-image: url("../images/icon_toppled.svg");
}
#legendBody td[data-status="contested"].active {
  color: #3e8ede;
}
#legendBody td[data-status="contested"] .status_icon {
  background-image: url("../images/icon_contested_grey.svg");
}
#legendBody td[data-status="contested"].active .status_icon {
  background-image: url("../images/icon_contested.svg");
}

.infoWindowX {
  font-size: 16px;
  cursor: pointer;
  position: absolute;
  top: 5px;
  right: 8px;
  font-weight: bold;
}
#legendBodyX {
  display: none;

}

@media screen and (min-width: 500px) {
  .infoWindow {
    width: 420px;
  }
  #legendBody {
    right: 10px;
    bottom: 22px;
    left: auto;
    top: auto;
  }
  #legendTopper {
    right: 10px;
    bottom: 187px;
    left: auto;
    top: auto;

  }

}

@media screen and (max-width: 500px) {
  #legendBodyX {
    display: block;
    cursor: pointer;
    top: 8px;
    right: 8px;
    font-weight: bold;
    position: absolute;

    color: #69c9b9;
  }


}
@media screen and (max-width: 320px) {
  .infoWindowImage {
    width: 250px;
    left: -2px;
  }
  .infoWindowDescription {
    width: 100%;
    float: left;
    padding-top: 15px;

  }
  #legendTopper {
    width: 220px;
    height: 75px;

  }
  #legendBody {
    width: 220px;

  }

}

@media (max-width: 550px) {
  #legendBody {
    display: none;
  }
  #legendTopper {
    border-bottom: none;
    height: auto;
    padding: 5px 8px;
    font-size: 18px;
    line-height: 1.1em;
    width: auto;
    height: auto;
  }
}
