body {
    font-family: helvetica neue, helvetica, liberation sans, arial, sans-serif;
    font-size: 15px;
}

h1 {
    opacity: 0.5;
    font-size: 1em;
    font-weight: bold;
}

#cy {
    position: absolute;
    left: 0;
    top: 60px;
    bottom: 0;
    right: 0;
    z-index: 800;
}

.my-legend .legend-title {
    position: absolute;
    top: 10px;
    right: 20px;
    margin-bottom: 5px;
    margin-right: 5px;
    font-weight: bold;
    font-size: 90%;
}

.my-legend .legend-scale ul {
    margin: 0;
    margin-right: 10px;
    padding: 0;
    position: absolute;
    top: 30px;
    right: 10px;
    list-style: none;
}

.my-legend .legend-scale ul li {
    font-size: 80%;
    list-style: none;
    margin-left: 0;
    line-height: 18px;
    margin-bottom: 2px;
}

.my-legend ul.legend-labels li span {
    display: inline-block;
    float: left;
    height: 16px;
    width: 30px;
    margin-right: 5px;
    margin-left: 0;
    border: 1px solid #999;
}

.my-legend a {
    color: #777;
}

.layoutButton {
    margin-left: 10px;
    background-color: #555;
    color: white;
    border: none;
    cursor: pointer;
    opacity: 0.8;
    padding: 7px 10px;
    width: 150px;
}

#graphml {
    background-color: #555;
    color: white;
    border: none;
    opacity: 0.8;
    cursor: pointer;
    padding: 7px 10px;
    width: 150px;

}

.midline {
    position: absolute;
    margin-top: 10px;
    z-index: 901;
}

.midleft {
    margin-left: 10px;
}

.line {
    position: absolute;
    margin-top: 50px;
    z-index: 900;
}

.removeHighlights {
    background-color: #555;
    color: white;
    padding: 7px 10px;
    border: none;
    cursor: pointer;
    opacity: 0.8;
    width: 150px;
    position: absolute;
    margin-bottom: 10px;
    margin-left: 15px;
}

/* Button used to open the contact form - fixed at the bottom of the page */
.open-button {
    background-color: #555;
    color: white;
    padding: 7px 10px;
    border: none;
    cursor: pointer;
    opacity: 0.8;
    width: 150px;
}

/* The popup form - hidden by default */
.form-popup {
    display: none;
    position: absolute;
    top: 30px;
    left: 5px;
    width: 400px;
    border: 3px solid #f1f1f1;
    z-index: 999;
}

/* Add styles to the form container */
.form-container {
    max-width: 420px;
    padding: 10px;
    background-color: white;
}

/* Full-width input fields */
.form-container input[type=number] {
    width: 30%;
    padding: 7px 7px;
    border: none;
    background: #f1f1f1;
}

/* When the inputs get focus, do something */
.form-container input[type=text]:focus,
.form-container input[type=password]:focus {
    background-color: #ddd;
    outline: none;
}

/* Set a style for the submit/login button */
.form-container .btn {
    background-color: #4CAF50;
    color: white;
    padding: 5px 5px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
    opacity: 0.8;
}

/* Add a red background color to the cancel button */
.form-container .cancel {
    margin-top: 10px;
    background-color: #ff5b49;
}

/* Add some hover effects to buttons */
.form-container .btn:hover,
.open-button:hover,
.layoutButton:hover,

#graphml:hover {
    opacity: 1;
}

.options {
    margin-top: 5px;
    margin-bottom: 30px;
    margin-left: 5px;
}

.radio {
    margin-left: 20px;
}

.edgeCrossing {
    position: absolute;
    left: 10px;
    top: 155px;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; 
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #ddd;
    text-align: center;
    padding: 8px 8px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

.infoImg {
    position: absolute;
    margin-left: 165px;
    margin-top: -57.5px;
    width:18px;
    height:18px;
}

.tooltipImg {
    position: relative;
    display: inline-block;
}

.tooltipImg .tooltipImgtext {
    visibility: hidden;
    width: 400px;
    background-color: black;
    color: #ddd;
    text-align: left;
    padding: 8px 8px;
    border-radius: 6px;
    position: absolute;
    z-index: 999;
}

.tooltipImg:hover .tooltipImgtext {
    visibility: visible;
}