
body{
  font-family:  "Open Sans", sans-serif, Microsoft JhengHei;
  color: #4b505a;
  line-height: 1.8;
  font-size: 14px;
  position: relative;
  margin: 0;
  min-height: 100vh;
}

a {
  color: rgba(220, 120, 120, .85);
  text-decoration:none;
}

.a-publication {
  color: rgba(220, 120, 120, .85);
  font-size: 12px;
}

.a-publication:visited {
  color: rgba(150, 50, 50, .85);
  font-size: 12px;
}

li{
  list-style-type: none;
}

table {
  width: 100%;
	border-collapse: separate;
	border-spacing: 0;
  border-radius: 10px;
  border: 2px solid rgba(220, 120, 120, .85);
  margin: 10px;
}

td {
	border: 1px solid rgba(220, 120, 120, .85);
  	padding: 10px 30px;
  	background-color: #FFF;
  	color: rgba(220, 120, 120, .85);
}

tr:first-child td:first-child{
  border-top-left-radius: 10px;
}

tr:last-child td:first-child{
  border-bottom-left-radius: 10px;
}

tr:first-child td:last-child{
  border-top-right-radius: 10px;
}

tr:last-child td:last-child{
  border-bottom-right-radius: 10px;
}

.table-head {
  background-color: rgba(220, 120, 120, .85);
  color: #FFF;
}

.table-div-red {
  background-color: rgba(180, 80, 80, .85);
  padding: 10px;
  color: white;
}

.table-div-green {
  background-color: rgba(80, 180, 80, .85);
  padding: 10px;
  color: white;
}

.table-small-word{
  font-size: 10px;
}

.container{
  width: 1000px;
  position: relative;

  left: 50%;
  transform: translateX(-50%);
}

.big-info{
  width: 500px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 40px;
  font-weight: 800;
}

.header{
  height: 400px;
  overflow: hidden;
  position: relative;
  background-position: center;
  background-size: cover;
}

.dimmed {
  height: 100%;
  overflow: hidden;
  top: 0;
  left: 0;
  right: 0;
  position: absolute;
  background-position: center;
  background-size: cover;
}

.dimmed:after {
  content: " ";
  z-index: 0;
  display: block;
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
}

.dimmed>img{
  overflow: hidden;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  -webkit-transform: translate(-50%,-50%);
      -ms-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
  z-index: -2;
}

.logo-wrap{
  display:inline-block;
  margin: 30px;
  width: 250px;
  height: 70px;
  overflow: hidden;
  color: #fff;
  font-weight: 600;
}

.logo-wrap img{
  width: auto;
  height: 100%;
}

.nav{
  display:inline-block;
  color: #fff;
  margin: 30px;
  font-size: 12px;
  float: right;
}

.nav>a{
  color: #fff;
  margin-left: 20px;
  font-weight: 500;
  
  text-transform: uppercase;
  text-decoration: none;
}

.nav-right{
  width: 100px;
  position: -webkit-sticky;
  position: sticky;
  top: 200px;
  right: 10%;
  color: rgba(250, 100, 100, .8);
  margin: 30px;
  font-size: 16px;
  float: right;
  background-color: rgba(250, 250, 250, .8);
  z-index: 1;
}

.nav-btns {
  padding: 10px;
  border: rgba(200, 200, 200, .8) .5px solid;
}

.nav-btns:hover{
  background-color: rgba(50, 50, 50, .8);
  border: rgba(250, 150, 150, .8) 4px solid;
}

.nav-btns img{
  max-width:100%;
  max-height:100%;
}

.dropbtn{
  color: #fff;
  margin-left: 20px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
}

.dropdown{
  position: relative;
  display: inline-block;
}

.dropdown-content{
  display: none;
  position: absolute;
  background-color: rgba(200, 200, 200, .7);
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 20px 20px;
  text-decoration: none;
  display: block;
}


/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: rgba(200, 200, 200, .3);
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  font-weight: 700;
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: #3e8e41;}

.header-title-wrapper{
  display: block;
  position: absolute;
  font-weight: 600;
  color: #fff;
  top: 140%;
  left: 50%;
  font-size: 24px;
  transform: translateX(-50%);
  text-align: center;
}

.body-container{
  min-height: 600px;
  margin: 30px;
  font-size: 16px;
  line-height: 1.8;
  padding-top: 20px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(0,0,0,.1);
  border-top: 1px solid rgba(0,0,0,.1);
}

.em-title{
  font-size: 20px;
  font-weight: 600;
  line-height: 2;
}

.em-subtitle{
  color: rgba(170, 170, 170, .9);
  font-size: 14px;
  font-weight: 600;
  line-height: 2;
  border-bottom: rgba(200, 200, 200, .9) 3px solid;
  margin-bottom: 20px;
}

.article-with-title{
  position: relative;
  padding: 30px;
  margin: 30px;

}

.article-with-title:hover{
  box-shadow: rgba(200, 80, 80, .1) 0 0 .5em;
}

.article-with-title li{
  line-height: 30px;
  margin-left:-30px;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
  color: rgba(220, 120, 120, .85);
}

.article-with-title li::before{
  content: "";
  display:inline-block;
  width:16px;
  height:16px;
  border-radius: 16px;
  background:#666;
  color:#fff;
  text-align:center;
  margin-right:16px;
}

.title-text{
  color:rgba(50, 50, 50, 1);
  font-size: 24px;
  font-weight: 600;
}

.title-text:after {
  content: "";
  display: block;
  width: 50%;
  padding-top: 10px;
  margin-bottom: 10px;
  border-bottom: 3px solid rgba(200, 80, 80, .7);
}

.title-text-white{
  font-size: 18px;
  font-weight: 600;
}

.title-text-white:after {
  content: "";
  display: block;
  width: 50%;
  padding-top: 5px;
  margin-bottom: 5px;
  border-bottom: 2px solid rgba(250, 250, 250, .99);
}

.subtitle-text{
  background:rgba(200, 80, 80, .7);
  display:block;
  color: white;
  padding: 10px;
  font-size: 16px;
  font-weight: 600;
}

.footer{
  position: relative;
  height: 300px;
  width: 100%;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  background-position: center center;
  background-size: cover;
}

.sitemap, .contact{
  display: inline-block;
  width: 40%;
  color: #fff;
  margin: 30px;
}

.contact{
  float: right;
}

.sitemap-col{
  display: inline-block;
  margin-right: 10px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.sitemap-col a:visited{
  color: white;
}

.sitemap-col a{
  color: white;
}

.search-form{

  width: 700px;
  margin: 30px;
  position:relative;
  left: 50%;
  transform: translateX(-50%);
}

.search-form-label{
  font-size: 18px;
  font-weight: 700;
  width: 600px;
  margin: 5px 0;
  border-bottom: rgba(250, 100, 100, .6) 3px solid;
  color: rgba(250, 100, 100, .6);
  text-transform: capitalize;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.form-input{
  display: inline-block;
  font-size: 18px;
  border-radius: 40px;
  border: rgba(250, 100, 100, 1) 4px solid;
  padding: 10px;
  margin-bottom: 30px;
  background: rgba(250, 250, 250, .9);
  width: 600px;
  height: 30px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.form-input-big{
  display: inline-block;
  font-size: 16px;
  border-radius: 40px;
  border: rgba(250, 100, 100, 1) 4px solid;
  padding: 10px;
  margin-bottom: 30px;
  background: rgba(250, 250, 250, .9);
  width: 600px;
  height: 400px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.form-input:focus{
  box-shadow: 0 0 .5em rgba(250, 100, 100, .6);
}

.form-error{
  background: rgba(250, 100, 100, .8);
  padding: 10px;
  margin: 10px;
  color: azure;
  width: 550px;
  position: relative;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
}

.form-checkbox {
  display: inline-block;
  position: relative;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 18px;
}

select {
  display: inline-block;
  width: 625px;
  padding: 10px;
  margin-bottom: 30px;
  font-size: 18px;
  border: rgba(250, 100, 100, 1) 4px solid;
  border-radius: 40px;
  height: 60px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url(down_arrow.png) 96% / 5% no-repeat;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* CAUTION: IE hackery ahead */
select::-ms-expand {
    display: none; /* remove default arrow in IE 10 and 11 */
}

select:focus{
  box-shadow: 0 0 .5em rgba(250, 100, 100, .6);
}

.submit,
.submit-a{
  display: inline-block;
  border: none;
  border-radius: 40px;
  padding: 10px;
  font-size: 18px;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  vertical-align:middle;
  position: relative;
  color:white;
  cursor: pointer;
  width: 200px;
  height: 100%;
  margin: 30px 7px;
  background: rgba(250, 100, 100, 1);
  transition: background 250ms ease-in-out,
              transform 150ms ease;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.submit:hover{
  background: rgba(220, 80, 80, .8);
}

.submit-a{
  right:0;
  padding: 13px 3px;
  /*padding: 10px;*/
}

.g{
  background: rgba(100, 220, 80, 1) ;
}

.g:hover{
  background: rgba(80, 200, 60, 1);
}

.b{
  background: rgba(100, 100, 220, 1) ;
}

.button-bar{
  margin-top: 40px;
  border-top: dimgrey dotted 4px ;
  padding: 10px;

}

.results-info{
  margin-bottom: 20px;
  padding: 10px;
  text-align: center;
  background: rgba(150, 250, 150, .2);
}

.results-warning{
  margin-bottom: 20px;
  padding: 10px;
  text-align: center;
  background: rgba(250, 150, 150, .2);
}

.compound-list{
  width: 95%;
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 10px;
  border: 2px solid rgba(200, 200, 200, .9);
  background: rgba(250, 150, 150, .1);
  color: rgba(100, 100, 100, 1);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transition: background .5s, color .7s, border .7s; /* For Safari 3.1 to 6.0 */
  transition: background .5s, color .7s, border .7s;
}

.compound-list:hover{
  background: rgba(250, 150, 150, .9);
  border: 2px solid rgba(250, 150, 150, 1);
  color: white;
}

.group-label{
  background: white;
  text-align: center;
  float: right;
  display: inline-block;
  width: 170px;
  height: 30px;
  line-height: 30px;
  border-radius: 30px;
  font-weight: 600;
}

.group-label-blue{
  background: rgb(100, 150, 250);
  color: rgb(250, 250, 250);
}

.group-label-green{
  background: rgb(100, 200, 100);
  color: rgb(250, 250, 250);
}

.pagination{
  display: inline-block;
  margin-bottom: 10px;
}

.pagination a{
  color: rgba(100, 100, 100, 1);
  float: left;
  padding: 8px 16px;
  text-decoration: none;
}

.pagination a.active {
  background-color: rgba(210, 80, 80, .8);
  color: white;
}

.pagination a:hover:not(.active) {
  background-color: rgba(200, 80, 80, .7);
  color: white;
}

.pagination a {
  transition: background-color .3s;
}

.detail-block{
  margin-top: 5px;
  padding-left: 20px;
  border-left: rgba(200, 80, 80, .7) 3px dotted;
}

.detail-block h2{
  background: rgba(200, 80, 80, .7);
  padding:10px;
  color:white;
  font-size: 20px;
}

.detail-block p{
  display: inline-block;
}

.detail-block li{
  margin-left: 20px;
  list-style-type:square;
}

.detail-index {
  background: rgba(200, 80, 80, .3);
  border: 5px solid rgba(200, 80, 80, .8);
  padding:10px;
  margin: 10px 10px 10px 0;
  font-weight: 550;
  color:rgba(200, 80, 80, .8);
  font-size: 16px;
  display: inline-block;
}

.detail-title{
  color:rgba(150, 150, 150, 1);
  padding: 10px;
  font-size: 28px;
  font-weight: 600;
  border-bottom: rgba(200, 80, 80, .7) 3px solid;
}

.detail-subtitle{
  color:rgba(150, 150, 150, 1);
  padding: 5px;
  margin-right: 5px;
  font-size: 14px;
  font-weight: 500;
  border-bottom: rgba(200, 80, 80, .7) 3px solid;
}

.ref-block{
  margin: 10px 10px 10px 0;
  border-bottom: rgba(80, 80, 80, .7) 3px dashed;
}

.ref-title{

}

.collapsible {
  cursor: pointer;
  outline: none;
}

.collapsible > input[type="checkbox"] {
  display: none;
}

.collapsible > input[type="checkbox"]:checked ~ .collapsible-content {
  max-height: 100%;
  overflow: auto;
  border: solid 4px #696969;
  background: rgba(80, 80, 80, .02);
}

.collapsible label {
  cursor: pointer;
  display: block;
}

.collapsible-content {
  padding: 0 18px;
  border: 0;
  overflow-y: hidden;
  max-height: 0;
  transition: max-height 0.2s ease-in-out;
}

.handle label:hover, .handle label:focus, .handle:hover, .handle:focus{
  background-color: #555;
}

.collapsible .handle label:before {
  content: ' ';
  display: inline-block;

  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid currentColor;

  vertical-align: middle;
  margin-right: .7rem;
  transform: translateY(-2px);

  transition: transform .2s ease-in-out;
}

.collapsible > input[type="checkbox"]:checked ~ .handle label:before {
  transform: rotate(90deg) translateX(-3px);
}

.active:after {
  content: "\2212";
}

.DB-barplot{
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.DB-doughnut{
  display: inline-block;
  width: 300px;
}

.DB-doughnut-left{
  position: relative;
  left: 10%;
  transform: translateX(-50%);
}

.DB-doughnut-right{
  position: relative;
  left: 30%;
  transform: translateX(-50%);
}

.external-link{
  height: 100%;
  width: 150px;
  text-align: center;
  display: inline-block;
  padding: 10px;
}

.external-link a{
  margin: 10px;
  font-size:22px;
  font-weight: 700;
  text-align: center;
  vertical-align: center;
  color: rgba(100, 100, 100, 1);
  display: inline-block;
}

.external-link-icon{
  width: 150px;
  height: 50px;
  border: rgba(100, 100, 100, 1) 2px solid;
  display: inline-block;
  float: left;
}

.drugbank-icon{
  background: url(db_icon.png) no-repeat center;
  background-size: cover;
}

.pubchem-icon{
  background: url(pubchem_icon.jpg) no-repeat center;
  background-size: cover;
}

.pharmGKB-icon{
  background: url(pGKB_icon.png) no-repeat center;
  background-size: cover;
}

.sider-icon{
  background: url(sider_icon.png) no-repeat center;
  background-size: contain;
}

.link {
  stroke: #000;
  stroke-width: 10px;
}

.node {
  cursor: move;
  fill: #ccc;
  stroke: #000;
  stroke-width: 0;
}

.node.fixed {
  fill: #f00;
}

.AC-photo{
  position: relative;
  display: inline-block;
  width: 20%;
  height: 20%;
  border-radius: 100%;
  border: rgba(200, 80, 80, .7) 10px solid;
}

.AC-text{
  position: relative;
  display: inline-block;
  margin: 30px;
  width: 65%;
}

.AC-text h2{
  text-transform: capitalize;
  font-weight: 800;
  font-size: 24px;
  color: rgb(100, 100, 100);
  padding-bottom: 10px;
  border-bottom: dimgrey 2px solid;
}

.AC-text div{
  width: 40%;
  display: inline-block;
  font-size: 18px;
}

.AC-text p{
  width: 50%;
  display: inline-block;
  font-size: 18px;
}