
*{box-sizing:border-box;}

p{margin:0 0 10px;}

html, body { 
  font-family:"century gothic", "微軟正黑體";
	font-size:16px;
	border:none;
  width: 100%;
  height: 100%;
}

#cy {
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: #000;
}

#loading {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  text-align: center;
  margin-top: -0.5em;
  font-size: 2em;
  color: #fff;
}

#loading.loaded {
  display: none;
}

/*
button {
  font-size: 2em;
  background-color: #FC4C4C;
  color: #fff;
  border: 0;
  cursor: pointer;
  border-radius: 0.25em;
  font-family: helvetica neue, helvetica, arial, sans-serif;
  outline: 0;
}
*/

#clear {
  position: absolute;
  right: 0;
  top: 0;
  margin: 0.25em;
  visibility: hidden;
}

.title-text {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9999;
  margin: 0.5em;
  width: 20em;
  color: #ffffff;
  font-size:1.1em;
}

#search-wrapper {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9999;
  margin: 0.5em;
  width: 16em;
}

#search {
  width: 20em;
}

body.has-start #clear {
  visibility: visible;
}

#end {
  display: none;
}

body.has-start:not(.has-end) #end {
  display: inline;
}

body.has-start:not(.has-end) #start {
  display: none;
}

body.calc #loading {
  display: block;
}

.tt-dropdown-menu {
  background: #fff;
  width: 17em;
  border-radius: 0.25em;
  border: 1px solid #ccc;
  max-height: 20em;
  overflow: auto;
  margin-top: 0.5em;
}

.tt-dropdown-menu * {
  margin: 0;
  padding: 0;
}

.tt-suggestion {
  margin: 0;
  padding: 0;
  cursor: pointer;
}

.tt-suggestion + .tt-suggestion {
  border-top: 1px solid #ccc;
}

#info-card .ac-name {
  font-size: 1.1em;
}
#info-card .ac-type{
  font-size: 0.75em;
}
.ac-node-type,
.ac-milk,
.ac-country,
.ac-more {
  font-size: 0.75em;
  margin-bottom: 2px;
}

#info {
  position: absolute;
  left: 0;
  top: 3em;
  margin: 0.5em;
  background: rgba(236, 179, 255,0.22);/*#bbdbf7*/
  color: #ffffff;
  border-radius: 0.25em;
  border: 0px solid #ccc;
  width: 20em;
  height:630px;
  display: none;
  padding-left:5px;
}

#info-card{
	margin-top:5px;
	margin-left:5px;  

}
#info-card .num-big{
  font-size:1.3em;
}

#info p {
  margin-bottom: 0px;
  padding-top:2px;
  padding-left:3px;
  height:24px;
  line-height:12px;
}

#info p.ac-stats{  margin-bottom: 15px;}

#info hr{
  border: 1px solid rgba(236, 179, 255,0.35);
  margin: 15px 8px;
}

#info .tag-cloud{
  position: absolute;
  left: -8px;
  top: 170px;
  z-index: 9999;
  overflow:hidden;
  padding: 10px 10px;
}
#linkout {
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 0.25em;
  z-index: 999;
}

#reset,#zoom-in,#zoom-out,
#filter {
  width: 3em;
  margin: 0.5em;
  position: absolute;
  top: 0;
  z-index: 999;
}

#reset {
  right: 0;
}
#zoom-in{
  right: 4em;
}
#zoom-out {
  right: 8em;
}
#filter {
  right: 12em;
}

#reset i {
  transform: rotate(45deg);
}

#filters label {
  font-weight: normal;
  padding: 0 0.25em;
}

#filters strong {
  display: block;
}

#filters hr {
  margin: 0.25em 0;
}
