

/*==========================*/
/* Media query for responsive layout */
@media screen and (max-width: 600px) { /* Adjust the breakpoint as needed */
    .Dropdownscontrols {
        display: flex;
        flex-direction: column; /* Stack elements vertically */
        align-items: inherit; /* Align items to the start */
        /*align-self: center;*/
  /*overflow: scroll;*/
width:260px;

    }

    .Dropdownscontrols-container {
        width: calc(100% - 10px); /* Full width minus left margin */
        align-items: inherit; /* Align items to the start */
        /*box-sizing: border-box;*/
        /*margin-bottom: 10px; /* Add margin between dropdowns */
        /*margin-left: 1px; /* Add left margin */
    }
}


/*================================*/
/* Customize Intro.js tooltip box */
.introjs-tooltip {
      width: 600px;
      /*height: 300px;*/
      background-color: #e0ecf4;
    /*color: #000000;*/
    border-radius: 5px;
    text-align:justify;
    /*padding: 15px;*/
    font-size: 16px;
    line-height: 1.5; /* Tooltip line height */
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);*/
    /*z-index:999;*/
}

/* Customize Intro.js tooltip arrow */
.introjs-arrow {
    border-color: #3498db transparent transparent transparent;
    /*z-index:999;*/
}

/* Customize Intro.js tooltip buttons */
.introjs-tooltipbuttons {
    text-align: center;
    /*z-index:999;*/
}

/* Customize Intro.js button */
.introjs-button {
    /*background-color: #e0ecf4;*/
    color: #ccc;
    border: solid #ccc;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    /*z-index:999;*/
}

/* Style for the "Next" button */
.introjs-nextbutton {
    background-color: #e0ecf4;
    /*z-index:999;*/
}

/* Style for the "Done" button */
.introjs-donebutton {
    background-color: #e0ecf4;
    /*z-index:999;*/
}

.introjs-overlay, .introjs-helperLayer {
      pointer-events: none;
    }
.introjs-overlay .introjs-helperLayer {
      pointer-events: auto;
    }
    
body {
    margin: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}
    
#rotate-message {
    display: none;
    background-color: #000;
    color: #fff;
    font-size: 24px;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    z-index: 1000;
}
 /*   
#map,
    #manual-input-box,
        .corner-button {
          display: none;
}
   */ 
.corner-button {
    position: fixed;
      /*width: 50px;  Adjust the width as needed */
      /*height: 50px;  Adjust the height as needed */
    /*background-color: #3498db;  Adjust the background color as needed */
    color: #fff; /* Adjust the text color as needed */
    text-align: center;
    line-height: 25px; /* Should be equal to the height for centering text */
    cursor: pointer;
    z-index:1001;
}
    
.top-left {
    top: 5px;
    left: 0;
    width:30px;
    z-index:1001;
    /* display: inline-block; or inline-flex */
}
.top-left1 {
    top: 10px;
    left: 30px;
    /*width:500px;*/
    height:50px;
    z-index:1001;
    /*display: inline-block;  or inline-flex */
}
    /*============================*/
.language-selector {
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 10px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0px 0px 5px #888;
    cursor: pointer;
    z-index: 9999;
}
    
.language-options {
    position: absolute;
    bottom: 60px;
    right: 10px;
    width: 120px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0px 0px 5px #888;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 1001;
}
    
.language-options.active {
    opacity: 1;
    visibility: visible;
    right: -10px;
}
    
.language-option {
    display: block;
    padding: 5px;
    text-align: center;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
}
    
.language-option:last-child {
    border-bottom: none;
}
.language-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Adjust the margin as needed */
}
    
.flag-icon {
    margin-right: 2px; /* Adjust the margin between the icon and text */
}
    
.language-name {
    font-size: 14px; /* Adjust the font size of the language name */
}
    
    /*============================*/
    
.top-right {
    top: 0;
    right: 0;
    width:400px;
    z-index:1001;
}
    
.bottom-left {
    bottom: 0;
    left: 0;
    width:600px;
    z-index:1001;
}
    
.bottom-right {
    bottom: 0;
    right: 0;
    width:400px;
    z-index:1001;
}

#ilsec,#ilsec1 {
    /*top:20px;*/
    width: 130px; 
    display: inline-block;

}
#osbsec,#osbsec1 {
    width: 250px; 
    display: inline-block;            
}
#sectorsec {
    width: 100px; 
    /*position: absolute;
    top: 5px;
    left: 5px;*/
    display: inline-block;            
}
#popupHeader,#popupHeader1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #02818a;
    padding: 5px;
    position: sticky;
    top: 0;
}
#popup,#popup1 {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 500px;
    overflow: auto; /* Enable scrolling for content */
    background-color: #fff; /* Set a background color */
    border: 1px solid #ccc; /* Add a border */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Add a box shadow for a nice effect */
    z-index: 9999;
}
    
#popupContent,#popupContent1{
    padding: 15px; /* Add padding to the content */
}
    
#ilDurum {
    max-height: 250px;
    width: 300px;
    overflow-y: scroll;
}
#OSBDurum {
    max-height: 250px;
    width: 300px;
    overflow-y: scroll;
}
#NearEnvironment {
    max-height: 250px;
    width: 300px;
    overflow-y: scroll;
}
#DominantSector {
    max-height: 250px;
    width: 300px;
    overflow-y: scroll;
}
.card {
    max-width: 150mm;
    max-height: 400mm;
}
    
.card-body {
    /* Adjust the styles as needed to fit the content within the specified dimensions */
    max-width: 100%; /* Ensures the content doesn't overflow horizontally */
    max-height: 100%; /* Ensures the content doesn't overflow vertically */
    overflow: auto; /* Adds a scrollbar if the content exceeds the dimensions */
}
.btn-link:focus,
    .btn-link:hover {
    text-decoration: none;
}
.tab-content {
    max-height: 200px; /* Set the maximum height for the tab content */
    overflow-y: auto;  /* Enable vertical scrolling within the tab content */
    padding: 20px;
    overflow-y: scroll; /* Enable vertical scrolling for overflow */
    
    }
    
.tab-pane {
    height: 150px;  /* Set a constant height for each tab */
}
.controls-container {
    position: absolute;
    bottom: 2px;
    right: 1px;
    display: flex;
}
.controls {
    margin-right: 1px;
    background-color: #e0f3db;
    padding: 2px;
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
.Zoomcontrols-container {
    position: absolute;
    bottom: 5px;
    left: 5px;
    display: flex;
}
.Zoomcontrols {
    background-color: #e0f3db;
    padding: 2px;
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    font-size: 12px;
}  
    
.Tabscontrols-container {
    position: absolute;
    top: 70px;
    left: 5px;
    display: flex;
}
.Tabscontrols {
    background-color: #e0f3db;
    padding: 2px;
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    font-size: 12px;
} 
    
#zoom-level {
    color: black;
    font-weight: bold;
}
#manual-input-box {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #d0d1e6;
    padding: 20px;
    border: 1px solid #ccc;
    z-index: 1000;
}
    
#gps-input {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}
.yellow-marker {
    background-color: #016c59;
    border-radius: 50%;
    width: 12px;
    height: 12px;
}
    
#tooltip {
    display: none;
    position: absolute;
    bottom: 100%;
    right: 220px;
    transform: translateX(50%);
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
}
#tooltip_print {
    display: none;
    position: absolute;
    bottom: 100%;
    right: 200px;
    transform: translateX(50%);
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
}
#tooltip_measure {
    display: none;
    position: absolute;
    bottom: 100%;
    right: 250px;
    transform: translateX(50%);
    background-color: #333;
    color: #666;
    padding: 5px;
    border-radius: 5px;
}
#tooltip_resetMap {
    display: none;
    position: absolute;
    bottom: 100%;
    right: 140px;
    transform: translateX(50%);
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
}
#tooltip_SelectLanguage {
    display: none;
    position: absolute;
    bottom: 100%;
    right: 120px;
    transform: translateX(50%);
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
}

    /*--------------*/
    
#Tooltip_Membership {    
    display: none;
    position: absolute;
    top: -40px; /* Adjust this value to position the tooltip above the button */
    left: 60%; /* Center the tooltip horizontally */
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    
}    
    
#tooltip_HelpCenter_Chat {
    display: none;
    position: absolute;
    bottom: 100%;
    right: 47px;
    transform: translateX(50%);
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
}
    
#tooltip_HelpCenter_Mail {
    display: none;
    position: absolute;
    bottom: 100%;
    right: 45px;
    transform: translateX(50%);
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
}            
    
    /*-------------*/
    /* Default styling for leaflet-control-measure */
.leaflet-control-measure {
    position: absolute;
    z-index: 1000;
    right: 2px;
    bottom: 50px;
    width: 130px;
    overflow: visible; /* Ensure overflow is visible to display text outside the button */
}
.leaflet-control-measure:after {
    /*content: "Ölçüm Araçları";*/
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap; /* Prevent text from wrapping */
}
.leaflet-control-measure:before {
    content: "Ölçüm Araçları"; /* Add your desired text here */
    font-weight: bold; /* Set the text to bold */
    display: block; /* Ensure it takes the full width and allows text-align to work */
    font-size: 14px; /* Adjust the font size for the content */
    background-color: #333;
    color: #fff;
}
    
    
#map {
    height: 100vh;
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
    /* Custom styles for the measure control */
.leaflet-control-measure-toggle {
    width: 30px;
    height: 30px;
    line-height: 30px;
}
.leaflet-control-measure-content {
    width: 400px;
}
    
.chat-box {
    display: none;
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 10px;
    text-align: left; /* Align text left */
    margin-left:2px;
    z-index:1001;
    background-color: #fff; /* White background color */
}
    
.chat-header {
    background-color: #3498db;
    color: #fff;
    padding: 1px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    align-items: center;
    z-index:1001;
}
    
.chat-title {
    flex: 1; /* Take up remaining space */
    margin: 0; /* Remove default margin */
    z-index:1001;
}
    
.close-button {
    cursor: pointer;
    z-index:1001;
}
    
.chat-body {
    height: 200px;
    overflow-y: scroll;
    padding: 1px;
}
    
.chat-footer {
    display: flex;
    padding: 1px;
}
    
.chat-footer input {
    flex: 1;
    padding: 8px;
}
    
.chat-footer button {
    padding: 2px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.message {
    padding: 10px;
    margin-bottom: 5px;
}
    
.user-message {
    background-color: #e6f7ff; /* Light blue background for user messages */
}
    
.bot-response {
    background-color: #f0f0f0; /* Light gray background for bot responses */
}
.mail-box {
    display: none;
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 210px;
    height:280px;
    border: 1px solid #ccc;
    border-radius: 10px;
    text-align: left; /* Align text left */
    margin-left:5px;
    z-index:1001;
    background-color: #fff; /* White background color */
}
.mail-header {
    background-color: #3498db;
    color: #fff;
    padding: 1px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    align-items: center;
    z-index:1001;
}
.mail-title {
    flex: 1; /* Take up remaining space */
    margin: 1px; /* Remove default margin */
    z-index:1001;
}
.close-button {
    cursor: pointer;
    z-index:1001;
}
.mail-body {
    height: 240px;
    /*width:400px;*/
    overflow-y: scroll;
    padding: 1px;
}
    
.mail-footer {
    display: flex;
    padding: 1px;
}
    
.mail-footer input {
    flex: 1;
    padding: 8px;
}
    
.mail-footer button {
    padding: 8px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.mail-body textarea {
    /*width: 280px;
    height: 80px;*/
    resize: none;
    margin-bottom: 1px;
    z-index:1001;
}
