.link-generator-container {
    --tooltip-background-color: #555;
    --tooltip-color: #fff;
    --primary-color: var(--bs-primary, green);
    --emph-color: var(--bs-secondary, lightgreen);
    width: 100%;
    max-width: 30em;
    border-style: solid;
    border-radius: 15px;
    border-color: var(--primary-color);
    padding: 0.5em 0.5em 0.5em 0.5em;
    margin: 0 auto;
}

.link-generator-element {
    width: 100%-2em;
    padding: 0em 1em 0em 1em;
    margin: 1em 0em 1em 0em;
    line-height: 150%;
}

.info-icon-container {
    display: inline-block;
}

.link-field {
    width: 100%;
    height: 5em;
    resize: none;
}

.oneline-input-table {
    width: 100%;
}

.oneline-input-table > tbody > tr > td:nth-child(2) {
    text-align: right;
}

.institution {
    width: 15em;
}

.link-generator-heading {
    font-size: large;
    font-weight: bold;
}

.button-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.generic-button {
    margin: 0.3em;
    padding: 0.1em 0.4em;
    border-width: 0.5px;
    border-style: solid;
    border-radius: 2px;

}

.generic-button:hover {
    border-width: 1px;
    margin: calc(0.3em - 0.5px);
    cursor: default;
}

.seperator {
    color: var(--primary-color);
}

/* Tooltip */
/*===========================================================================*/
/* Tooltip container */
.tooltip {
    position: relative;
    color: var(--primary-color);
    display: inline-block;
}

.tooltip:hover {
    color: var(--emph-color);
}

/* Tooltip text */
.tooltip .tooltiptext {
    line-height: normal;
    visibility: hidden;
    width: 200px;
    font-size: 80%;
    background-color: var(--tooltip-background-color);
    color: var(--tooltip-color);
    text-align: center;
    padding: 0.5em 0.5em;
    border-radius: 6px;

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

    /* 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: var(--tooltip-background-color) transparent transparent transparent;
}

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

/* Popup */
/*===========================================================================*/

/* Popup container */
.popup {
    position: relative;
    display: inline-block;
    cursor: pointer;
  }
  
  /* The actual popup (appears on top) */
  .popup .popuptext {
    visibility: hidden;
    width: 160px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -80px;
  }
  
  /* Popup arrow */
  .popup .popuptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
  }
  
  /* Toggle this class when clicking on the popup container (hide and show the popup) */
  .popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s
  }
  
  /* Add animation (fade in the popup) */
  @-webkit-keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
  }
  
  @keyframes fadeIn {
    from {opacity: 0;}
    to {opacity:1 ;}
  }

/* Info Icon */
/*===========================================================================*/

.gg-info {
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: scale(70%);
    width: 20px;
    height: 20px;
    border: 2px solid;
    border-radius: 40px;
}
.gg-info::after,
.gg-info::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    border-radius: 3px;
    width: 2px;
    background: currentColor;
    left: 7px
}
.gg-info::after {
    bottom: 2px;
    height: 8px
}
.gg-info::before {
    height: 2px;
    top: 2px
}