/* 
 * Always set the map height explicitly to define the size of the div element
 * that contains the map. 
 */

#map {
    /*    width: 80%;*/
    /*    flex-grow: 1;*/
    height: 94.3vh;
    padding: 0px !important;
    /*    display: flex;*/
    /*    flex-direction: column;*/
    /*
    position: absolute;
    right: 0;
    bottom: 0;
*/
}


/* 
 * Optional: Makes the sample page fill the window. 
 */
html,
body {
    /*
    display: flex;
    flex-direction: column;
*/
    height: 100%;
    margin: 0;
    padding: 0;
    /*    overflow: hidden;  Prevents scrolling */
}


/*
.row>* {
   padding: 0 !important;
}
*/


#row1 {
    /*    height: 5vh; !important;*/
    border: 1px solid black;
}

#row2 {
    /*height: 90vh; !important;*/

}

#row3 {
    height: 5.7vh;
     !important;
    /*    height: 100%;*/
    /*    flex-grow: 1;*/
    border: 1px solid black;
    background: blue;
    color: white;
}


.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

#row1 {
    border: 1px solid black;
}

#row2 {
    flex: 0 0 94.3vh;
}

#row3 {
    flex: 1;
}

.top1 {
    background-color: #505f63;
    color: white;
    font-size: 18px;
    text-align: center;
    padding: 5px;
    /*    height: 5vh !important;*/
}

.top2 {
    /*    height: 5vh; !important;*/
    background-color: #5f6350;
    color: white;
    padding: 0px !important;
    font-size: 18px;
    text-align: center;
    /*    padding: 5px;*/
    display: flex;
    /*    height: 5vh !important;*/
}

#Amc {
    border: 1px solid black;
    /*    border-right: 0;*/
}

#con {
    border: 1px solid black
}


#vis {
    padding: 0px !important;


}

#vis1 {
    height: 35vh;
    border: 1px solid black;
    font-size: 20px;
    text-align: center;
    /*    display: flex;*/
    /* Use flexbox */
    justify-content: center;
    /* Center content horizontally */
    /*    align-items: center;*/
    /* Center content vertically */
    overflow-y: auto;
}

.accordion {
    border-radius: 0px !important;
    border-color: #dee2e6;
}

.SceCheck {
    display: flex;
}

.icons {
    display: flex;
}

.SceCheck > div {
    padding: 10px;
}

#vis2 {
    height: 60vh;
    border: 1px solid black;
    font-size: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    /* line-height: 500px; */
    flex-direction: column;
    align-items: stretch;
    padding: 5px;

    /*
    position: absolute;
    left: 0;
    top: 30%;
    width: 25%;
    height: 70%;
*/
    /*    line-height: 500px;*/


}




#GPT {
    position: fixed;
    bottom: 100px;
    right: 70px;
    display: flex;
    flex-direction: column;
    /* Stack elements vertically */
    justify-content: center;
    /* Center elements vertically */
    align-items: center;
    /* Center elements horizontally */
    text-align: center;
    /* Center text within the child div */
    font-size: 18px;
    font-weight: bold;
}


#GPT img {
    max-width: 50px;
    /* Adjust image width as needed */
    max-height: 50px;
    /* Adjust image height as needed */
}

/*need to revise.*/
#SOC_legend {
    max-width: 150px;
    position: relative;
    bottom: 280px;
    left: 8px;
}

#SOC_legend img {
    max-width: 200px;
    /* Adjust image width as needed */
    max-height: 300px;
    /* Adjust image height as needed */
}

.Scebtn {
    padding: 10px;
}

.cusbtn {
    color: white !important;
}

.anibtn {
    text-align: left;
    padding-left: 10px;
}

.upload {
    padding: 20px;
}

#banner {

    text-align: center;
    /* Centers text horizontally */
    display: flex;
    /* Use flexbox */
    justify-content: center;
    /* Center content horizontally */
    align-items: center;
    /* Center content vertically */
    width: 100%;
    /* Ensures banner takes up full width of the row */
}

/*pop up*/
/*

body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
}
*/

#popupBtn {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    color: white;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    width: 600px;
    text-align: left;
}

.closeBtn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

/*pop up end*/
/*slider year*/
#sliderYear {
    padding: 20px;
}

#sliderYear > label {
    float: left;
}

#dataMiles {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    writing-mode: vertical-lr;
    width: 100%;
    padding: 5px;
}


option {
    padding: 0;
    rotate: 270deg;
}

input[type="range"] {
    width: 100%;
    margin: 0;
}

/*slider year end*/

#row2 {
    position: relative;
    /* Needed to make child absolute positioning work */
}

#syncmapping {
    position: absolute;
    top: 35px;
    left: 5px;
    /*    background: white;*/
    padding: 5px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 150px;

}

#Logo {
    position: absolute;
    top: 2px;
    left: 2px;
    /* background: white; */
    padding: 8px;
    z-index: 10;
    /* display: flex; */
    align-items: center;
    justify-content: space-between;
    width: auto;
    background-color: blue;
    color: white;
    font-size: 18px;
    text-align: center;
    border-radius: 5px;
}

#Logo img {
    vertical-align: middle;
    margin-left: 8px;
    /* Adjust spacing */
}




#offcanvasHelp {
    width: 500px;
    /* Custom width */
    height: 60vh;
    /* 60% of viewport height */
    max-height: 500px;
    /* Optional: Max height */
    top: 100px;
    /* Moves the offcanvas 50px below the top boundary */
    height: calc(100% - 100px);
    /* Adjust height to fit within the viewport */
}
