.toolltip {
    display: none;
    position: absolute;
    width: 80px;
    height: 30px;
    padding: 2px;
    font: 12px sans-serif;
    text-align: center;
    background: orange;
    border: 0;
    border-radius: 10px;
}

#divToolTip {
    padding: 5px;
    display: block;
    width: auto;
    color: black;
    /* text-align: center; */
    height: 285px;
    overflow-y: auto;
    z-index: 5;
    position: absolute;
    background: white;
    display: none;
    font-size: 20px;
}

.introSpiralSVG {
    overflow: visible !important;
    height: 100vh; 
    width: 100vw;
}

.spiralSvg {
    overflow: visible !important;
    /* height: 100vh; */
    /* width: 100vw; */
}

/* .spiralSvg {
  animation: roll 5s infinite linear;
} */

@keyframes roll {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}


/* landing page style */
#landingPagespiral {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    text-align: center;
    /* font-size: 5em; */
    display: block;
    /* width: 100vw; */
    /* background-color: springgreen; */
    font-family: sans-serif;
}


/* container style */
.container {
    /* margin: 10px !important; */
    /* background-color: salmon; */
}


/* hide languages dropdown  before load introScro*/
#translateToLanguage {
    display: none;
}

#selDataset {
    display: none;
}

* {
    margin: 0;
}

html,
body {
    height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
}

.content {
    flex: 1;
    display: flex;
    width: 100%;
    height: 100%;
    /* background-color: royalblue; */
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dropdown-wrapper {
    width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dropdown-logo img {
    width: 400px;
}

.dropdown-bar {
    margin: 30px 0;
    position: relative;
    width: 100%;
}

.dropdown-bar #introScreeLangDropdown {
    height: 50px;
    width: 100%;
    border: 1px solid #d0d0d0;
    border-radius: 100px;
    padding: 0 50px;
    outline: 0;
    box-shadow: 0 0 0 0 rgba(136, 136, 136, 0);
    font-size: 18px;
    transition: box-shadow .3s;
}

@media only screen and (max-width: 600px) {
    .dropdown-wrapper {
        width: 90vw;
    }
    .dropdown-logo img {
        width: 90vw;
    }
    text#svg_foreground {
        font-size: 7px !important;
    } 
    #svgcontainer_body {
    width: 100%;
    text-align: center;
    padding: 0px 15px;
}
}

/**
*   Landscape for mobile view 
*/
/* @media screen and (orientation:landscape)
and (min-device-width: 319px) 
and (max-device-width: 600px) {


} */

/* for Mobile Landscape View  */
@media (min-width: 481px) and (max-width: 767px) {
  
    .side-panel{
        width: 25% !important;
    }

    #infobox {
        width: 100%;
    }
  }

/* for Mobile Portrait View  */
@media only screen and (max-width: 600px) {
    .side-panel{
        width: 100% !important;
    }
    #infobox {
        width: 100% !important;
    }
  }

/* for Desktop View  */
.side-panel{
    z-index: 1; 
    position: absolute; 
    float:left; 
    top: 2px; 
    left: 2px; 
    margin-left: 0px; 
    width: 25%;
    padding: 5px 25px;
}

.jimThanksPosition {
    position : absolute;
    font-size: 14px;
    margin: 5px;
    text-decoration-line: none;
    bottom: 0px;
    right: 0px;
}

.full-container{
    width:  100%;
    height: 100%;
}


/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

#analysisModal {
    z-index: 10001; /* Ensure it's above other elements including tooltips */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
    max-width: 600px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    pointer-events: auto; /* Allow interaction with modal content */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

/* Analysis Container Styles */
.analysis-container {
    font-size: 12px;
    width: 100%;
}

.analysis-link {
    color: #007bff;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    /* padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease; */
    margin-right: 4px;
    font-size: 12px;
    padding: 3px 0;
    border-bottom: 1px solid #eee;
    width: 100%;
}

.analysis-link:hover {
    text-decoration: underline;
    /* background-color: #f0f0f0; */
}

/* Modal Content */
#modalContent {
    max-height: 60vh;
    overflow-y: auto;
    line-height: 1.6;
    padding: 10px;
    background-color: #fff;
    border-radius: 4px;
    margin-top: 10px;
}

/* Ensure the tooltip stays open when hovering over the modal */
#divToolTip:hover {
    display: block !important;
}
