/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
  color: #616063 !important;
}

a.btn{
  color: #FFF!important;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  
  border: .05rem solid #fff;
}

 .btn-showgraph{
  width: 220px;
  margin: 0 10px 0 10px;
 }

#loadingbar{
  top: 50px;
  height: 10px;
  position: relative;
  z-index: 9999999;
}


/*
 * Base structure
 */

html,
body {
  height: 100%;
  background-color: #f6f4f0;
}

body {
  display: -ms-flexbox;
  display: flex;
  color: #616063;
  background-color: #f6f4f0 !important;
  /*text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);*/
}

.cover-container {
  max-width: 100em;
}
.coverbg{
  background-color: rgba(255,255,255,.5) !important;
  border-radius: 10px;
  width: 100%;
  margin: 0 auto;
}


/*
 * Header
 */

header{
  padding-bottom: 9px;
  border-bottom: 2px solid #c3c1bd;
}

.masthead {
  margin-bottom: 2rem;
}

.masthead-brand {
  margin-bottom: 0;
}

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: rgba(0, 0, 0, .5);
  background-color: transparent;

  border-bottom: .25rem solid transparent;
}

.nav{
  position: relative;
  bottom: -49px !important;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #333;
  border-bottom-color: #333;
}

@media (min-width: 48em) {
  .masthead-brand {
    float: left;
  }
  .nav-masthead {
    float: right;
  }
  .coverbg{
    width: 80%;
  }
}

.row{
  width: auto !important;
  margin: 0 auto !important;
}

/*
 * Cover
 */
.cover {
  margin-top: 40px;
  padding: 1rem 1.5rem;
}
.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: 500;
}


/*
*  Custom Radio
*/
.custom-radio-block{
  padding-top: 20px;
  margin: 0 auto;
  width: 420px;
  padding-bottom: 60px;
  padding-left: 80px;
}
.custom-radio{
  float: left;
  /*width: 150px;*/
}

input[type=search] {
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    -webkit-appearance: auto !important;
}



/*
 * Footer
 */
.mastfoot {
  color: rgba(0, 0, 0, .5);
  padding: 0 24px 0 24px;
}

.nnf-title{
  padding-top: 20px;
}
.ucph-title{
  padding-top: 20px;
}
.horizon2020-title{
  padding-top: 18px;
}
.toxrisk-title{
  padding-top: 14px;
}
.fundinglogo{
  width:280px;
}

.center{
  text-align: center;
  margin: 0 auto !important;

}

/*
*  Cytoscape canvas and visualization of graph
*
*/

#cy {
  margin: 0 auto;
  height: 100%;
  min-height: 600px;
  width: 90%;
  left: 0;
  top: 0;
  background-color: rgba(255,255,255,.7); 
  background-image: url('../images/nodes_desc.png');
  background-size: 15%;
  background-repeat: no-repeat;
  background-position: bottom 30px right 30px; 
  background
/*
  background-image: url("../images/nodes_desc_small.png") !important;
  background-position: bottom right;
  background-repeat: no-repeat;
  background-attachment: local;
  border-radius: 10px;*/
}

#table{
  font-size: 0.8em !important;
  font-weight: 500;
  position: relative;
  top: 30px;
  padding-bottom: 30px;
}

/* Radio buttons - search page */
.center-col{
  text-align: center;
}


/* AUTOCOMPLETE */
.autocomplete-suggestions { border: 1px solid #999 !important; background: #FFF !important; overflow: auto !important; }

.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; }
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: normal; color: #3399FF; }
.autocomplete-group { padding: 2px 5px; }
.autocomplete-group strong { display: block; border-bottom: 1px solid #000; }

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
