@media only screen and (max-width:6000px) {

    /* GENERAL DATE INPUT STYLING (applies to #rdr-time-start and #rdr-time-end) */
    #rdr-time-start,
    #rdr-time-end {
        background-color: rgb(29, 52, 76);
        /* Matches PerilGuard grey */
        color: #fff;
        /* White text */
        font-family: 'Open Sans', 'Roboto', Arial, sans-serif;
        border: none;
        border-radius: 6px;
        padding: 4px 8px;
        width: 145px;
        /* Optional: fixed width for alignment */
        font-size: 14px;
        box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.2);
    }

    /* Placeholder text inside the date inputs */
    #rdr-time-start::placeholder,
    #rdr-time-end::placeholder {
        color: #ccc;
    }

    /* Optional hover/focus state for better UX */
    #rdr-time-start:hover,
    #rdr-time-end:hover,
    #rdr-time-start:focus,
    #rdr-time-end:focus {
        outline: none;
        background-color: rgb(229, 132, 17);
    }


    /* Calendar container */
    .flatpickr-calendar {
        background-color: #2c3e50 !important;
        /* Same as modal background */
        color: #ccc !important;
        /* Modal grey text */
        border: none;
        border-radius: 12px;
        box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
        font-family: inherit;
        z-index: 9999;
    }

    /* Header (month/year) */
    .flatpickr-months {
        background-color: #2c3e50 !important;
        color: #ccc !important;
    }

    .flatpickr-month {
        font-weight: bold;
        color: #ccc !important;
    }

    .flatpickr-prev-month,
    .flatpickr-next-month {
        fill: #ccc !important;
        color: #ccc !important;
    }

    /* Weekday headers */
    .flatpickr-weekdays {
        background-color: #2c3e50 !important;
        border-bottom: 1px solid #444;
    }

    .flatpickr-weekday {
        color: #aaa !important;
    }

    /* Day grid */
    .flatpickr-day {
        background: transparent !important;
        color: #ccc !important;
        border-radius: 6px !important;
    }

    .flatpickr-day:hover {
        background-color: rgb(229, 132, 17) !important;
    }

    .flatpickr-day.today {
        border: 1px solid #ccc !important;
    }

    .flatpickr-day.selected,
    .flatpickr-day.startRange,
    .flatpickr-day.endRange {
        background-color: #3498db !important;
        color: white !important;
    }

    .flatpickr-day.inRange {
        background-color: #3b4d61 !important;
        color: white !important;
    }

    /* Disabled days */
    .flatpickr-day.flatpickr-disabled,
    .flatpickr-day.flatpickr-disabled:hover {
        color: #555 !important;
        background: transparent !important;
        cursor: not-allowed;
    }

    /* Time section (clock selectors) */
    .flatpickr-time {
        background-color: #2c3e50 !important;
        border-top: 1px solid #444;
    }

    .flatpickr-time input {
        background-color: #34495e !important;
        color: #ccc !important;
        border: none;
        border-radius: 4px;
    }

    .flatpickr-am-pm {
        color: #ccc !important;
    }

    #rdr-menu {
        min-width: 600px;
    }

    .rdr-current-time {
        font-size: 13px;
        color: #eee;
        margin-top: 4px;
    }

    .rdr-time-range {
        display: flex;
        gap: 10px;
        align-items: center;
        flex-wrap: wrap;
    }

    .rdr-time-input {
        width: 160px;
        padding: 4px 8px;
        border-radius: 4px;
        border: 1px solid #ccc;
        font-size: 14px;
    }

    .rdr-datetime-pickers {
        display: flex;
        flex-direction: column;
        /* Stack vertically */
        align-items: flex-end;
        /* Align inputs to the right */
        gap: 6px;
        /* Space between Start and End */
    }

    .rdr-picker-group {
        display: flex;
        flex-direction: row;
        /* Label and input on same line */
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        min-width: 250px;
        /* Ensures consistent alignment */
    }

    .rdr-time-label {
        color: white;
        font-size: 14px;
        white-space: nowrap;
    }

    .wind-barb {
        position: relative;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        transform-origin: center center;
    }

    .wind-barb svg {
        width: 28px;
        height: 28px;
    }

    .wind-speed {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 11px;
        font-weight: bold;
        font-family: 'Proxima Nova', sans-serif;
        color: white;
        pointer-events: none;
    }

    .maplibregl-popup.weather-obs-popup .maplibregl-popup-content {
        background-color: #1e1e1e;
        /* dark background */
        color: #ffffff;
        /* white text */
        padding: 8px;
        border-radius: 6px;
        font-size: 13px;
        font-family: 'Open Sans', sans-serif;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    }

    input[type="checkbox"] {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        width: 10px;
        height: 10px;
        min-width: 10px;
        min-height: 10px;
        border: 1px solid white;
        background-color: #29577B;
        cursor: pointer;
        position: relative;
    }

    /* Create the orange fill effect when checked */
    input[type="checkbox"]:checked {
        background-color: orange;
        border: 2px solid orange;
    }

    .mobile_932px {
        display: none;
    }

    body,
    .grid-container {
        transition-duration: 1.2s;
    }

    html {
        width: 100%;
        height: 100%;
        position: absolute;
    }

    body {
        height: 100%;
        margin: 0px;
        color: white;
        overflow-y: hidden
    }

    .desktop_1024px {
        width: 100%;
        height: 100%;
    }

    .website-container {
        width: 100%;
        height: 100%;
    }

    .MapContainer {
        position: fixed;
        height: 100%;
        width: 100%;
        z-index: 1;
    }

    .Map {
        height: calc(100% - 40px);
        width: 100%;
    }

    .grid-holder {
        display: absolute;
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 2;
    }

    .grid-container {
        display: grid;
        grid-template-columns: 40px repeat(3, 100px) 40px repeat(3, 100px) repeat(5, 1fr);
        grid-template-rows: 0px 10px 54px 45px 10px 120px 10px 130px 80px 80px 10px 120px 10px 120px 10px 100px 1fr;
        background-color: rgb(29, 52, 76);
        text-align: center;
        width: 100%;
        height: calc(100% - 40px);
        top: 40px;
        float: left;
        position: relative;
        overflow: auto;
        scrollbar-width: none;
    }

    .Info {
        height: 40px;
        width: 100%;
    }

    .InfoBox {
        height: 40px;
        width: 100%;
        background-color: rgba(44, 66, 94, 1);
        ;
    }


    .headers {
        margin-top: 6px;
        margin-bottom: 6px;
    }

    .scale {

        width: 600px;
        margin-left: auto;
        margin-right: auto;
    }


    /* .RadarRange, .DisplayType, .LoopControls, .LoopOptions, .Layers, .Functions, .Locations {
		text-align: left;
		padding: 0px px 0px;
	}

	.RadarRange, .DisplayType, .LoopControls {
		padding: 0px 10px;
	} */

    .RadarRangePanel,
    .DisplayTypePanel,
    .LoopControlsPanel,
    .LayersPanel,
    .FunctionsPanel,
    .loginInfoPanel,
    .ScaleBox,
    .dateFinderModal-content,
    .bottom-menu,
    .ScalePanel,
    .topMenu,
    .wise-popup-text-div,
    .detailedInfoPanel,
    .central-menu,
    .weatherObsPanel,
    .weatherObsPanelSettings,
    .RainGaugePanel,
    .modelsDiv {
        background: rgba(44, 66, 94, 0.75);
        border-radius: 16px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(1.8px);
        -webkit-backdrop-filter: blur(6.6px);
        border: 1px solid rgba(44, 66, 94, 0.69);
    }

    .RainGaugePanel {
        grid-column: 6/8;
        grid-row: 3/5;
        z-index: 3;
    }

    .weatherObsPanel {
        grid-column: 6/8;
        grid-row: 3/5;
        z-index: 3;
    }

    .weatherObsPanelSettings {
        grid-column: 6/8;
        grid-row: 6/7;
        z-index: 3;
    }

    .RadarRangePanel {
        grid-column: 2/5;
        grid-row: 3/5;
        z-index: 3;
    }

    .topMenu {
        grid-column: 6/9;
        grid-row: 3/5;
        z-index: 3;
        display: none;
    }

    .weatherObsHeading {
        margin: 6px;
    }

    #autoPoly-menu {
        grid-row: 3/7;
    }

    #showAllClearCB {
        background-color: white;
    }

    #showAllClearCB:checked {
        background-color: orange;
    }

    #autoPolyDelayInput {
        width: 50px
    }

    .topMenuContainer {
        margin: 5px;
        width: calc(100% - 10px);
        height: calc(100% - 10px);
        display: flex;
    }

    .leftSideTopMenu,
    .rightSideTopMenu {
        width: 48%;
    }

    #selectForecastText {
        font-size: 17px;
        margin: 5px;
    }

    .leftSideTopMenu select {
        width: 100%;
        padding: 5px;
        height: 30px;
        background-color: rgb(29, 52, 76);
        color: white;
        border: rgb(29, 52, 76);
        transition-duration: 0.2s;
        margin-top: 5px;
    }

    .detailedInfoPanel {
        position: fixed;
        top: 105px;
        /* Adjust the top position as needed */
        right: 105px;
        /* Position the panel 20px from the right edge */
        z-index: 3;
        width: 400px;
        justify-self: right;
        margin-right: 10px;
        color: white;
        display: none;
    }

    #detailedPanelTitle {
        padding: 20px;
        font-size: 18px;
        text-align: justify;
        background-color: rgba(29, 52, 76, 0.75);
    }

    #detailedPanelDesc {
        padding: 20px;
        font-size: 14px;
        padding-bottom: 60px;
        text-align: justify;
    }

    .RainGauge {
        height: 100%;
        width: 100%;
    }

    .RadarRange {
        height: 100%;
        width: 100%;
    }

    .minimise-ui {
        display: flex;
        top: 12px;
        position: absolute;
        left: 19px;
        font-size: 14px;
        z-index: 10;
    }

    .restoreUIBox {
        height: 30px;
        width: 30px;
        display: none;
        z-index: 3;
        top: 10px;
        left: 10px;
        position: absolute;
        background: rgba(44, 66, 94, 0.75);
        border-radius: 5px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(1.8px);
        -webkit-backdrop-filter: blur(6.6px);
        border: 1px solid rgba(44, 66, 94, 0.69);
    }

    .restoreUIIcon {
        top: 6px;
        left: 7px;
        position: absolute
    }

    #swatheInfo {
        font-size: 12px;
        display: none;
        z-index: 5;
        margin: 4px;
    }

    .Locations {
        position: fixed;
        top: 50px;
        text-align: center;
        z-index: 3;
        width: 670px;
        margin-left: calc(50% - 250px);
        margin-right: calc(50% - 250px);
    }

    .WindAnalysis {
        grid-column: 7/10;
        grid-row: 4/5;
        margin: 0;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        align-items: center;
        z-index: 3;
    }

    /* .Scale {
		grid-column: 8/10;
		grid-row: 20/22;
		margin: 10px;
		margin-left: auto;
		margin-right: auto;
		display: flex;
		align-items: center;	
		z-index: 3;	
	} */

    .ScaleGrid {
        display: grid;
        grid-template-columns: repeat(20, 1fr);
        grid-template-rows: 0px 10px 54px 45px 10px 120px 10px 130px 80px 80px 10px 120px 10px 120px 10px 100px 1fr;
        text-align: center;
        width: 100%;
        height: calc(100% - 40px);
        top: 40px;
        float: left;
        position: absolute;
        overflow: auto;
        pointer-events: none;
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }

    .ScaleGrid::-webkit-scrollbar {
        display: none;
        /* For Chrome, Safari, and Opera */
    }

    .ScalePanel {
        grid-column: 18/21;
        grid-row: 9/17;
        z-index: 3;
        width: 90px;
        height: 410px;
        justify-self: right;
        margin-right: 10px;
    }

    .ScaleImgCont {
        margin-top: 5px;
        margin-bottom: 5px;
        margin-left: 10px;
        margin-right: 10px;
        width: calc(100% - 20px);
        /* Set the width of the container */
        height: calc(100% - 10px);
        /* The height will adjust based on the aspect ratio */
        display: flex;
        justify-content: center;
        align-items: center;
        pointer-events: all;
    }

    .ScaleImgCont img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        /* Maintain aspect ratio without cropping */
    }

    .scale-fixed-size-screenshot {
        width: 37px !important;
        height: auto !important;
        object-fit: none !important;
        max-width: none !important;
        max-height: none !important;
    }

    /* 
	.Scale {
		position: fixed;
		bottom: 15px;
		text-align: center;
		z-index: 3;	
		width: 30%;
		margin-left: 40%;
		margin-right: 40%;
	} */



    .SearchBox {
        grid-column: 11/13;
        grid-row: 1/2;
        margin: 0;
        margin-left: auto;
        margin-right: auto;
        width: 75%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .controls {
        width: 80%;
        max-width: 600px;
        height: 25px;
    }

    .Dropdown {
        display: inline-block;
        position: relative;
        z-index: 16;
        margin: 5px;
    }

    .DropdownLayers,
    .DropdownLayers-C,
    .DropdownLayers-D,
    .DropdownLayers-E {
        display: inline-block;
        z-index: 16;
    }

    .DropdownLayers-B {
        display: inline-block;
        position: relative;
        z-index: 15;
    }

    .Dropdown-Content,
    .Dropdown-Content-D {
        display: none;
        position: absolute;
        width: 150px;
        overflow: auto;
        z-index: 22;
        transition: display 10s;
        background-color: #29577B;
    }

    .Dropdown-Content-F {
        display: none;
        position: absolute;
        width: 150px;
        overflow: auto;
        z-index: 30;
        transition: display 10s;
        background-color: #29577B;
    }

    .Dropdown-Content-Wide,
    .AutoPolyVersionDropdown {
        display: none;
        position: absolute;
        width: 200px;
        overflow: hidden;
        z-index: 22;
        transition: display 10s;
        background-color: #29577B;
    }


    /* .Dropdown-Content-D {
		display: none;
		position: absolute;
		width: 150px;
		height: 700px;
		overflow: auto;
		z-index: 22;
		transition: display 10s;
		color: white
	} */

    .Dropdown:hover .Dropdown-Content {
        display: block;
    }

    .DropdownLayers:hover .Dropdown-Content {
        display: block;
    }


    .DropdownLayers-B:hover .Dropdown-Content {
        display: block;
    }

    .DropdownLayers-C:hover .Dropdown-Content {
        display: block;
    }

    .DropdownLayers-D:hover .Dropdown-Content-D {
        display: block;
    }

    .DropdownLayers-E:hover .Dropdown-Content {
        display: block;
    }

    .DropdownLayers-F:hover .Dropdown-Content {
        display: block;
    }

    .DropdownLayers-C:hover .Dropdown-Content-Wide {
        display: block;
    }

    .AutoPolyVersionDropdownbutton:hover .AutoPolyVersionDropdown {
        display: block;
    }

    .Dropdown {
        display: inline-block;
        position: relative;
        z-index: 16;
    }

    .Swathe-Dropdown {
        display: none;
        position: relative;
        width: 276px;
        height: 150px;
        border-style: solid;
        border-width: 2px;
    }

    /* 1) Give the wrapper the same width-and-margin you had on the button */
    #climateButtonLayer {
        display: inline-block;
        /* sit side-by-side with your other buttons */
        width: 30%;
        /* same as #single and #Swathe */
        margin-right: 5%;
        /* same right-margin you used on #climateButton */
        position: relative;
        /* for absolutely-positioning the dropdown */
        vertical-align: top;
        /* line-up with its siblings */
    }

    /* 2) Shrink the real button to fill that wrapper completely */
    #climateButton {
        display: block;
        /* remove its inline-button quirks */
        width: 100%;
        height: 25px;
        /* same height as before */
        margin: 0;
        /* clear out the old margin-right */
    }

    /* 3) Finally, absolutely-position your menu under that wrapper */
    #climateButtonLayer .Dropdown-Content-F {
        position: absolute;
        top: 100%;
        /* drop right below the button */
        left: 0;
        display: none;
        /* or toggle via JS / :hover */
    }

    /* optional: show on hover */
    #climateButtonLayer:hover .Dropdown-Content-F {
        display: block;
    }

    .TimeFromTo {
        padding: 10px 5px;
        width: 280px;
        height: 33px;
    }

    #TimeFrom,
    #TimeTo {
        font-size: 14px;
        width: 40%;
        display: inline-block;
    }

    #To {
        width: 10%;
        font-size: 14px;
        display: inline-block;
        text-align: center;
    }

    .MaxDBZIO {
        padding: 5px 5px;
        width: 280px;
        height: 33px;

    }

    #MinDBZ {
        font-size: 14px;
        width: 45%;
        display: inline-block;
    }

    #MinDBZTxt {
        width: 45%;
        font-size: 14px;
        display: inline-block;
        text-align: center;
    }

    .DBZCalculate {
        padding: 15px 5px;
        width: 280px;
        height: 33px;
        text-align: center;
    }

    #DBZCalcBut {
        width: 45%;
        font-size: 14px;
        display: inline-block;
        text-align: center;
    }

    .Radar-Button {
        background-color: rgb(29, 52, 76);
        border: 1px solid rgb(29, 52, 76);
        padding: 5px 10px;
        font-size: 16px;
        color: white;
        z-index: 13;
        cursor: pointer;
        transition-duration: 0.2s;
    }

    .Radar-Button-Disabled {
        background-color: rgb(129, 129, 129);
        border: 1px solid rgb(129, 129, 129);
        padding: 5px 10px;
        font-size: 16px;
        color: white;
        z-index: 13;
        cursor: pointer;
        transition-duration: 0.2s;
    }

    .Radar-Location,
    .Map-Styles,
    .LayersBut3xDropDown {
        background-color: #29577B;
        border: 1px solid #29577B;
        padding: 5px 10px;
        font-size: 14px;
        color: white;
        width: 150px;
        overflow: visible;
        z-index: 6;
        cursor: pointer;
        text-align: left;
        transition-duration: 0.4s;
        position: relative;
        align-items: center;
        display: flex;
    }

    .LayersBut4xDropDown {
        background-color: #29577B;
        border: 1px solid #29577B;
        padding: 5px 10px;
        font-size: 14px;
        color: white;
        width: 200px;
        overflow: visible;
        z-index: 6;
        cursor: pointer;
        text-align: left;
        transition-duration: 0.4s;
        position: relative;
        align-items: center;
        display: flex;
    }

    .assetLabel,
    .CheckboxText,
    .mapcheckbox {
        margin-left: 5px;
    }

    .Radar-Location:hover,
    .Map-Styles:hover,
    .LayersBut3xDropDown:hover,
    .LayersBut4xDropDown:hover {
        background-color: #224a68
    }

    .LocSel,
    .GoToButton,
    .RadarRangeBut,
    .DisplayTypeBut,
    .LoopCont,
    .LoopDur,
    #modelrun,
    #colorScale,
    #loopMode,
    #model,
    #rainfallDays,
    #weatherObstype,
    #obsFilterMode,
    #filtersettings,
    #weatherObsduration {
        background-color: rgb(29, 52, 76);
        border: 1px solid rgb(29, 52, 76);
        color: white;
        text-align: center;
        padding: 3px 10px;
        text-decoration: none;
        font-size: 14px;
        cursor: pointer;
        float: left;
        transition-duration: 0.2s;
    }

    #DBZCalcBut,
    #TimeFrom,
    #TimeTo,
    #MinDBZ {
        border: 1px solid rgb(29, 52, 76);
        font-size: 14px;
        transition-duration: 0.2s;
    }

    #DBZCalcBut:hover {
        background-color: rgb(220, 220, 220);
    }

    .InfoBox {
        font-size: 16px;
        color: white;
        display: flex;
        /* Use flex to keep children aligned */
        height: 40px;
        box-sizing: border-box;
        /* Include padding inside height */
    }

    .DisplayInfoBox,
    .TimeInfoBox,
    .URLBox {
        flex: 1;
        /* Each takes 1/3 of the row */
        display: flex;
        align-items: center;
        /* Vertical centering */
        justify-content: center;
        /* Default, can override per box */
        padding: 0 9px;
        box-sizing: border-box;
        height: 100%;
    }

    .DisplayInfoBox {
        justify-content: flex-start;
    }

    .TimeInfoBox {
        justify-content: center;
    }

    .URLBox {
        justify-content: flex-end;
    }

    .ImgBox {
        padding-right: 5px;
        padding-top: 3px;
    }

    .ImgBox img {
        height: 100%;
        max-height: 21px;
        /* Never exceed parent */
    }


    /* Round Corners */
    #single,
    #ForecastLayerBut,
    #YearBut,
    #windButton {
        border-top-left-radius: 5px;
    }

    #single,
    #YearBut,
    #map,
    .Swathe-Dropdown,
    #MESH75,
    #radarButton {
        border-bottom-left-radius: 5px;
    }

    #climateButton,
    #DayBut,
    #PerilGuardBut,
    #windButton {
        border-top-right-radius: 5px;
    }

    #climateButton,
    #Hydro,
    #DayBut,
    .Swathe-Dropdown,
    #StormIntensity,
    #radarButton {
        border-bottom-right-radius: 5px;
    }

    .Radar-Button,
    .LayersBut3x,
    .LayersBut2x,
    .LayersBut,
    .FunctionBut,
    .FunctionButSm,
    #LoopDurBut,
    .LoopBut,
    #myProgress,
    #myBar,
    .grid-container,
    .userBut,
    .userInput,
    .controls,
    .Radar-Button-Disabled,
    .ScaleBox,
    .bottom-menu-play-pause-bt,
    #model,
    #modelrun,
    #colorScale,
    #loopMode,
    .rdr-dropdown,
    .Dropdown-Content-Wide,
    .Dropdown-Content,
    .Dropdown-Content-F,
    #selectForecastDayDropdown,
    .UpdateMessageButton,
    #copyPerilPostcodesBtn,
    #downloadPerilGeojson,
    .peril-bottom-button-options,
    .peril-mpl-copy-btn,
    .peril-mpl-view-btn,
    .copyImgMetadata {
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
    }

    #r64km,
    #r96km,
    #r128km,
    #r160km {
        width: 25%;
        font-size: 14px;
        height: 35px
    }

    #single,
    #Swathe {
        width: 30%;
        height: 25px;
    }

    #single {
        margin-left: 5%;
    }

    .RadarRangeBut:hover,
    .LocSel:hover,
    .GoToButton:hover,
    .DisplayTypeBut:hover:enabled,
    .LoopCont:hover,
    .LoopBut:hover,
    .LoopDur:hover:enabled,
    .LayersBut:hover,
    .LayersBut3x:hover,
    .FunctionBut:hover,
    .FunctionButSm:hover,
    .Radar-Button:hover,
    .bottom-menu-play-pause-bt:hover,
    .rdr-dropdown:hover,
    .topMenu select:hover,
    .peril-bottom-button-options:hover {
        background-color: rgb(229, 132, 17) !important;
        border-color: 1px solid rgb(229, 132, 17) !important;
        border-left: 1px solid rgb(229, 132, 17) !important;
        border-top-color: rgb(229, 132, 17) !important;
        border-bottom-color: rgb(229, 132, 17) !important;
        color: white;
    }

    .selected {
        background-color: rgb(0, 0, 0);
        color: white;
    }

    .DisplayTypeBut:disabled {
        background-color: rgb(200, 200, 200);
        border: 1px solid rgb(200, 200, 200);
        color: white;
        text-align: center;
        padding: 3px 10px;
        text-decoration: none;
        font-size: 14px;
        cursor: pointer;
        float: left;
        transition-duration: 0.2s;
    }

    .GoToButton {
        margin-left: 5px;
        padding: 6px 10px;
    }

    .DisplayTypePanel {
        grid-column: 2/5;
        grid-row: 6/7;
        z-index: 2;
    }

    .DisplayType {
        height: 100%;
        width: 100%;
    }

    .DisplayTypeBut {
        font-size: 14px;
    }

    #Witt,
    #MESH75,
    #ForecastLayerBut {
        width: 45%;
        margin-left: 5%;
    }

    /* #ForecastLayerBut {
		width: 90%;
		margin-left: 5%;	
		margin-right: 5%;
	} */

    #StormIntensity,
    #DBZ,
    #PerilGuardBut {
        width: 45%;
        margin-right: 5%;
    }

    .LoopControlsPanel {
        grid-column: 2/5;
        grid-row: 8/11;
        z-index: 3;
    }

    .LoopControls {
        height: 75%;
        width: 100%;
    }

    #YearBut,
    #DayBut,
    #MonthBut {
        width: 30%;
        font-size: 14px;
    }

    #YearBut {
        margin-left: 5%
    }

    #DayBut {
        margin-right: 5%
    }

    .LoopButtons {
        padding-top: 10%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;

    }

    .LoopBut {
        background-color: rgb(29, 52, 76);
        border: 1px solid rgb(29, 52, 76);
        color: white;
        padding: 5px 15px;
        text-align: center;
        text-decoration: none;
        font-size: 14px;
        cursor: pointer;
        transition-duration: 0.2s;
    }

    #TimeText,
    #LoopSpeedText,
    #OpacityText {
        display: inline-block;
        width: 100px;
        font-size: 12px;
        text-align: center;
        color: white;
    }

    #PositionSlider,
    #SpeedSlider,
    #OpacitySlider {
        width: 60%;
    }

    .LoopOptions {
        height: 20%;
        width: 100%;
        display: grid;
        grid-template-columns: auto auto;
    }

    #DateText {
        text-align: center;
        margin: 8px;
    }

    #LoopDurationText {
        font-size: 12px;
        grid-column: 1/2;
        display: inline-block;
        height: 30px;
        text-align: center;
    }

    #LoopDurBut {
        grid-column: 2/3;
        display: inline-block;
        height: 25px;
        width: 120px;
        margin-left: auto;
        margin-right: auto;
    }

    #LoopDurBut:disabled,
    #Witt:disabled,
    #MESH75:disabled,
    #DBZ:disabled,
    #StormIntensity:disabled {
        background-color: rgb(200, 200, 200) !important;
        border-color: rgb(200, 200, 200) !important;
    }

    #myProgress {
        margin: 0% 5%;
        width: 90%;
        background-color: rgb(230, 230, 230);
        grid-column: 1/3;
        height: 20px;
    }

    #myBar {
        width: 0%;
        height: 20px;
        background-color: rgb(29, 52, 76);
        text-align: center;
        line-height: 20px;
        color: white;
        font-size: 12px;
    }

    .LayersPanel {
        grid-column: 2/5;
        grid-row: 12/13;
        z-index: 5
    }

    .Layers {
        width: 100%;
        height: 100%;
    }

    .LayersBut,
    .FunctionBut {
        width: 30px;
        height: 30px;
        background-color: rgb(29, 52, 76);
        color: white;
        border: 1px solid rgb(29, 52, 76);
        transition-duration: 0.2s;
        margin-top: 5px;
        z-index: 10;
    }

    .FunctionButSm {
        background-color: rgb(29, 52, 76);
        color: white;
        border: 1px solid rgb(29, 52, 76);
        transition-duration: 0.2s;
        z-index: 10;
        width: 30px;
        height: 30px;
    }

    .LayersBut2x {
        width: 65px;
        height: 30px;
        background-color: rgb(29, 52, 76);
        color: white;
        border: 1px solid rgb(29, 52, 76);
        transition-duration: 0.2s;
        margin-top: 5px;
        z-index: 10;
    }

    .LayersBut3x {
        width: 100px;
        height: 30px;
        background-color: rgb(29, 52, 76);
        color: white;
        border: 1px solid rgb(29, 52, 76);
        transition-duration: 0.2s;
        margin-top: 5px;
        z-index: 5;
    }

    .userBut,
    .bottom-menu-play-pause-bt,
    .rdr-dropdown {
        height: 30px;
        background-color: rgb(29, 52, 76);
        color: white;
        border: 1px solid rgb(29, 52, 76);
        transition-duration: 0.2s;

    }

    .userInput {
        height: 24px;
    }


    .LayersBut,
    .FunctionBut,
    .LoopBut,
    .LayersBut3x {
        text-align: center;
    }

    #crosshairs,
    #bolt,
    #mapIcon,
    #globe,
    #save,
    #download,
    #video,
    #copy,
    #sync,
    #refresh,
    #marker,
    #back,
    #play,
    #forward {
        display: inline-block;
        text-align: center;
        vertical-align: middle;
    }

    /* apply CSS to the select tag of 
		.dropdown-container div*/

    .Functions select {

        -moz-appearance: none;

        -webkit-appearance: none;
    }


    .Functions select::-ms-expand {
        display: none;
    }

    .FunctionsPanel {
        grid-column: 2/5;
        grid-row: 14/15;
        z-index: 3;
    }

    .Functions {
        width: 100%;
        height: 100%;
    }

    .LoopCont {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }


    /* .Scale {
		grid-column: 1/10;
		grid-row: 9/10;
		text-align: center;
	} */

    #LoadingText {
        display: none;
        width: 100%;
        z-index: 3;
        font-size: 40px;
        position: fixed;
        top: 300px;
        text-align: center;
        color: black;
        pointer-events: none;
    }

    #FullScreenOverlay {
        display: none;
        width: 100%;
        z-index: 1000;
        position: fixed;
        text-align: center;
        background-color: rgba(0, 0, 0, 0.5);
        pointer-events: none;
    }

    #UpdateMessageBoxDiv {
        position: fixed;
        width: 100%;
        height: 100%;
        margin: 0px calc(max(370px, calc(50% - 300px)));
        z-index: 1001;
        display: none;
    }

    /* Message box */
    #UpdateMessageBox {
        position: fixed;
        top: 100px;
        background: rgba(44, 66, 94, 0.75);
        color: white;
        padding: 20px;
        border-radius: 8px;
        z-index: 1001;
        text-align: center;
        width: calc(100% - 600px);
        height: 60%;
        max-width: 800px;
    }

    #UpdateMessageHeading {
        margin-bottom: 5px;
        font-size: 30pt;
    }

    #UpdateMessageVersion {
        color: rgb(230, 230, 230);
        font-size: 14pt;

    }

    .UpdateMessageText {
        font-size: 14pt;
    }

    .UpdateMessageButton {
        width: 100px;
        height: 30px;
        background-color: rgb(29, 52, 76);
        color: white;
        border: rgb(29, 52, 76);
        transition-duration: 0.2s;
        margin-top: 5px;
        z-index: 1001;
    }

    .UpdateMessageButton:hover {
        background-color: rgb(229, 132, 17) !important;
        border-color: 1px solid rgb(229, 132, 17) !important;
        border-left: 1px solid rgb(229, 132, 17) !important;
        border-top-color: rgb(229, 132, 17) !important;
        border-bottom-color: rgb(229, 132, 17) !important;
        color: white;
    }

    .UpdateMessageButtons {
        margin-top: 20px;
    }


    /* Ensure the left and right buttons stay in their positions */
    .UpdateMessageButton.left {
        margin-right: calc(min(200px, 20%));
        /* Add spacing between the left and right buttons */
    }

    .UpdateMessageButton.right {
        margin-left: calc(min(200px, 20%));
        /* Push the Done button to the far right */
    }

    /* Highlight class for the focused element */
    .highlightUpdateMessage {
        position: relative;
        z-index: 1002;
        background-color: rgba(66, 99, 131, 0.75);
        /* Brighter highlight */
        border: 2px solid #fff;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    }


    .ContourScale {
        display: none;
        position: fixed;
        margin-top: calc(100vh - 180px);
        margin-left: calc(100% - 180px);
        margin-right: 30px;
        margin-bottom: 45px;
        z-index: 5;
        width: 150px;
        height: 110px;

    }

    .ScaleBox {
        position: absolute;
        height: 110px;
        width: 150px;
    }

    #cm2,
    #cm4,
    #cm6 {
        width: 70px;
        height: 20px;
        display: inline-block;
        margin: 2px;
        vertical-align: top;
    }

    .oval {
        width: 40px;
        height: 20px;
        background: #fffb06;
        border-radius: 50%;
        display: inline-block;
        margin: 2px;
    }

    #Oval2 {
        background: rgb(255, 251, 32);
    }

    #Oval4 {
        background: red;
    }

    #Oval6 {
        background: rgb(255, 0, 191);
    }

    .loginInfoPanel {
        grid-column: 2/5;
        grid-row: 16/17;
        z-index: 1;
    }

    .loginInfo {
        width: 100%;
        height: 100%;
    }

    #login-modal {
        max-height: calc(100vh - 210px);
        overflow-y: auto;
        background-color: rgba(44, 66, 94, 0.75);
        margin: auto;
        border: 1px solid rgba(44, 66, 94, 0.75);
        width: 600px;
        height: 500px;
        border-radius: 20px;
        box-shadow: 0 0 50px rgb(0 0 0 / 80%);
    }

    .login-form-form {
        display: flex;
        flex-direction: column;
        width: 200px;
        /* adjust to your preferred width */
        margin: 0 auto;
        /* centers the form horizontally if desired */
    }

    #passwordInput,
    #usernameInput {
        margin-bottom: 10px;
        /* space between inputs */
    }

    #loginBut {
        margin-top: 10px;
        /* space above the button */
        background-color: rgb(20 106 196);

    }

    #loginBut:hover {
        background-color: rgb(185, 108, 13);
    }

    .loginBlackText,
    .CheckboxText {
        color: white;
    }

    .loginLink {
        color: white;
    }

    .CheckboxText {
        vertical-align: text-top;
        display: inline;
    }

    .RadarRange,
    .RainGauge,
    .Locations,
    .DisplayType,
    .LoopControls,
    .LoopOptions,
    .Layers,
    #WeatherSettingsPopup,
    .Functions,
    .InfoBox,
    .loginInfo,
    .help-modal-content,
    #LoadingText,
    .SearchBox,
    .ScaleBox,
    .dateFinderModalClass,
    .modal,
    #models-close,
    .range__label,
    .autocomplete-container,
    .bottom-menu,
    #pointer-data,
    #rdr-pointer-data,
    .topMenu,
    .wiseInfoPointPopup,
    .detailedInfoPanel,
    #UpdateMessageBox,
    .postcode-hover-box,
    #divClimateScale {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    }

    .help-modal-class {
        position: fixed;
        z-index: 20;
        padding-top: 100px;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;

        background-color: rgba(0, 0, 0, 0.4);
    }

    .modal {
        position: fixed;
        z-index: 20;
        padding-top: 100px;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgb(0, 0, 0);
        background-color: rgba(0, 0, 0, 0.4);
        display: none;
    }

    #metGraphContent {
        max-height: calc(100vh - 210px);
        overflow: hidden;
        background-color: #fefefe;
        color: black;
        margin: auto;
        border: 1px solid #888;
        width: 1400px;
        height: 750px;
    }

    #myModal {
        display: block;
    }

    #helpModal {
        display: none;
    }


    .help-modal-content {
        max-height: calc(100vh - 210px);
        overflow-y: auto;
        background-color: #fefefe;
        color: black;
        margin: auto;
        border: 1px solid #888;
        width: 80%;
        height: 80%
    }

    .modal-content {
        max-height: calc(100vh - 210px);
        overflow-y: auto;
        background-color: #fefefe;
        margin: auto;
        border: 1px solid #888;
        width: 80%;
        height: 80%
    }

    .intro {
        text-align: left;
        padding-left: 5%;
        padding-right: 5%;
    }

    /* The Close Button */
    .close {
        color: #aaaaaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
    }

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

    #radar_select3,
    #hail_offset2 {
        max-width: 800px;
    }

    .annotation {
        font-size: 12px;
    }

    .satNameIcons {
        text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
        font-size: 14px;
        font-weight: bold;
    }

    /* Slider Range stuff */

    input[type=range] {
        height: 1px;
        -webkit-appearance: none;
        margin: 10px 0;
        width: 100%;
    }

    input[type=range]:focus {
        outline: none;
    }

    input[type=range]::-webkit-slider-runnable-track {
        width: 100%;
        height: 4px;
        cursor: pointer;
        animate: 0.2s;
        box-shadow: 1px 1px 1px #000000;
        background: #1d344c;
        border-radius: 3px;
        border: 1px solid #000000;
    }

    input[type=range]::-webkit-slider-thumb {
        box-shadow: 1px 1px 1px #000000;
        border: 1px solid #000000;
        height: 14px;
        width: 6px;
        border-radius: 3px;
        background: #FFFFFF;
        cursor: pointer;
        -webkit-appearance: none;
        margin-top: -6px;
    }

    input[type=range]:focus::-webkit-slider-runnable-track {
        background: #1d344c;
    }

    input[type=range]::-moz-range-track {
        width: 100%;
        height: 4px;
        cursor: pointer;
        animate: 0.2s;
        box-shadow: 1px 1px 1px #000000;
        background: #1d344c;
        border-radius: 3px;
        border: 1px solid #000000;
    }

    input[type=range]::-moz-range-thumb {
        box-shadow: 1px 1px 1px #000000;
        border: 1px solid #000000;
        height: 14px;
        width: 6px;
        border-radius: 3px;
        background: #FFFFFF;
        cursor: pointer;
    }

    input[type=range]::-ms-track {
        width: 100%;
        height: 4px;
        cursor: pointer;
        animate: 0.2s;
        background: transparent;
        border-color: transparent;
        color: transparent;
    }

    input[type=range]::-ms-fill-lower {
        background: #1d344c;
        border: 1px solid #000000;
        border-radius: 6px;
        box-shadow: 1px 1px 1px #000000;
    }

    input[type=range]::-ms-fill-upper {
        background: #1d344c;
        border: 1px solid #000000;
        border-radius: 6px;
        box-shadow: 1px 1px 1px #000000;
    }

    input[type=range]::-ms-thumb {
        margin-top: 1px;
        box-shadow: 1px 1px 1px #000000;
        border: 1px solid #000000;
        height: 14px;
        width: 6px;
        border-radius: 3px;
        background: #FFFFFF;
        cursor: pointer;
    }

    input[type=range]:focus::-ms-fill-lower {
        background: #1d344c;
    }

    input[type=range]:focus::-ms-fill-upper {
        background: #1d344c;
    }

    .mapboxgl-popup-content {
        color: black;
    }

    /* Create a custom checkbox */
    .checkmark {
        position: absolute;
        top: 0;
        left: 0;
        height: 25px;
        width: 25px;
        background-color: #eee;
    }

    /* Hide the datepicker container by default */
    .hidden {
        display: none;
    }

    /* Style the datepicker container */
    .hailDatepicker-container {
        position: fixed;
        z-index: 20;
        padding-top: 100px;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgb(0, 0, 0);
        background-color: rgba(0, 0, 0, 0.4);
        display: none;
    }

    #rememberMeDiv {
        display: flex;
        height: 30px;
        flex-wrap: wrap;
        align-content: space-around;
        justify-content: center;
    }

    #remember_me_text {
        height: 20px;
    }

    #remember_me1 {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        width: 12px;
        height: 12px;
        border: 1px solid #29577B;
        background-color: white;
        cursor: pointer;
        position: relative;
    }

    #remember_me1:checked {
        background-color: orange;
        border: 2px solid orange;
    }


    .dateFinderModalClass {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 20;
    }

    .dateFinderModal-content {
        /* background-color: #fff; */
        color: white;
        max-width: 80%;
        height: 800px;
        margin: 100px auto;
        padding: 20px;
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        text-align: center;
        overflow: auto;
    }

    #mapDateFinder {
        height: 500px;
        width: 800px;
        margin: auto;
    }

    #summerTypeLabel,
    #zoomOutLabel {
        margin-right: 30px;
    }

    #startYearInput {
        width: 200px;
    }

    #loadingContainer {
        width: 400px;
        margin: 0 auto;
        /* Center the loading container horizontally */
    }

    #loadingOutline {
        width: 100%;
        height: 30px;
        background-color: #9b9b9b;
        /* Grey outline color */
        border-radius: 15px;
        overflow: hidden;
        /* Hide overflow to constrain the loading bar within the outline */
        margin: 10px 0px;

    }

    #myhailDateProgress {
        width: 0;
        height: 100%;
        background-color: rgb(29, 52, 76);
        text-align: left;
        line-height: 30px;
        color: white;
    }

    #myHailDateBar {
        height: 100%;
        text-align: center;
    }

    .hailDateHidden {
        display: none;
    }

    #infoDateFinder,
    #infoCycloneSelect {
        width: 800px;
        text-align: center;
        margin: 0px auto 10px;
    }

    #calculateDateFinderModalBtn,
    #restartDateFinderModalBtn,
    #closeDateFinderModalBtn,
    #LightningDateFinderModalBtn {
        width: 100px;
        height: 30px;
        background-color: rgb(29, 52, 76);
        color: white;
        border: rgb(29, 52, 76);
        transition-duration: 0.2s;
        margin-top: 5px;
        z-index: 10;
        border-radius: 15px;
    }

    #calculateDateFinderModalBtn:hover,
    #restartDateFinderModalBtn:hover,
    #closeDateFinderModalBtn:hover,
    #LightningDateFinderModalBtn:hover {
        background-color: rgb(229, 132, 17) !important;
        border-color: 1px solid rgb(229, 132, 17) !important;
        border-left: 1px solid rgb(229, 132, 17) !important;
        border-top-color: rgb(229, 132, 17) !important;
        border-bottom-color: rgb(229, 132, 17) !important;
        color: white;
    }

    .dateFinderInput {
        height: 26px;
        border-radius: 8px;
        border-width: 0px;
    }

    .cycloneCheckbox {
        width: 50px;
        height: 15px;
        background-color: rgb(29, 52, 76);
        color: white;
        border: 1px solid rgb(29, 52, 76);
        transition-duration: 0.2s;
        margin-top: 5px;
        z-index: 10;
        border-radius: 15px;
        padding: 5px;
        cursor: pointer;
    }

    .cycloneCheckbox:checked {
        background-color: white;
        color: rgb(29, 52, 76);
    }

    .cycloneDropdown {
        width: 100px;
        height: 30px;
        background-color: rgb(29, 52, 76);
        color: white;
        border: 1px solid rgb(29, 52, 76);
        transition-duration: 0.2s;
        margin-top: 5px;
        z-index: 10;
        border-radius: 15px;
        cursor: pointer;
    }

    .cycloneDropdown:disabled {
        background-color: #ddd;
        /* Change the color for disabled state */
        color: #555;
        /* Change the text color for disabled state */
    }

    #data-table-div,
    #track-table-div {
        height: 600px;
        overflow-y: auto;
        width: 500px;
    }

    #data-table,
    #track-table {
        width: 500px;
        border-collapse: collapse;
        height: 600px;
    }

    #data-table th,
    #data-table td,
    #track-table th,
    #track-table td {
        padding: 8px;
        text-align: left;
        border-bottom: 1px solid #ddd;
    }

    #data-table tr:hover,
    #track-table tr:hover {
        background-color: rgb(29, 52, 76);
    }

    #data-table .selected,
    #track-table .selected {
        background-color: rgb(229, 132, 17);
    }

    .scrollable-table {
        max-height: 600px;
        overflow-y: auto;
    }

    #leftCycloneSelect,
    #rightCycloneSelect {
        width: 40%;
        display: inline-block;
    }


    /* Autocomplete Geocode */

    #autocomplete-container {
        margin-bottom: 20px;
        z-index: 5;
        width: 300px;
        margin-right: 60px;
        position: fixed;
        right: 0;
        margin-top: 10px;
    }

    #autocomplete-container-hailFinder {
        margin-bottom: 20px;
        z-index: 5;
        width: 300px;
        margin: 51%;
        position: fixed;
        /* right: 0; */
        margin-top: 10px;
    }

    .input-container {
        display: flex;
    }

    .input-container input {
        flex: 1;
        outline: none;
        background-color: white;
        border: 1px solid rgba(0, 0, 0, 0.2);
        padding: 10px;
        padding-right: 31px;
        font-size: 16px;
    }

    .autocomplete-items {
        position: absolute;
        border: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0px 2px 10px 2px rgba(0, 0, 0, 0.1);
        border-top: none;
        background-color: #fff;
        color: black;
        z-index: 99;
        top: calc(100% + 2px);
        left: 0;
        right: 0;
    }

    .autocomplete-items div {
        padding: 10px;
        cursor: pointer;
    }

    .autocomplete-items div:hover {
        /*when hovering an item:*/
        background-color: rgba(0, 0, 0, 0.1);
    }

    .autocomplete-clear-button {
        color: rgba(0, 0, 0, 0.4);
        cursor: pointer;
        position: absolute;
        right: 5px;
        top: 0;
        height: 100%;
        display: none;
        align-items: center;
        z-index: 5;
    }

    .autocomplete-clear-button.visible {
        display: flex;
    }

    .autocomplete-clear-button:hover {
        color: rgba(0, 0, 0, 0.6);
    }

    .autocomplete-items .autocomplete-active {
        /*when navigating through the items using the arrow keys:*/
        background-color: rgba(0, 0, 0, 0.1);
    }

    .weatherButtons {
        background: #fff;
        height: 33px;
        width: 33px;
        border: #dadada;
        border-width: 1px;
    }

    .weatherButtons:hover {
        background: #e6e6e6;
        transition: 0.2s;
    }

    .weatherIcons {
        width: 20px;
        border-radius: 3px;
        margin: 162px 10px 0 0;
        margin: 55px -20px 0px 0px;
        float: right;
    }

    .bottom-menu {
        position: fixed;
        width: 40vw;
        bottom: 50px;
        z-index: 1;
        margin: 10px;
        text-shadow: 0px 0px 5px black;
        color: white;
        font-size: 18px;
        font-weight: 500;
        text-align: center;
        left: 200px;
        right: 0;
        margin: auto;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 20px;
        padding-right: 20px;
        display: none;
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
    }

    #time-container,
    #rdr-time-container {
        display: flex;
        align-items: center;
        gap: 10px;
        /* Adjust the gap as needed */
    }

    #top-section,
    #rdr-top-section {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin-bottom: 10px;
        /* Adjust the margin as needed */
    }

    #time-container,
    #rdr-options-container {
        display: flex;
        align-items: center;
        gap: 10px;
        /* Adjust the gap as needed */
    }

    #buttons-container,
    #rdr-buttons-container {
        display: flex;
        align-items: center;
        gap: 10px;
        /* Adjust the gap as needed */
        padding-right: 20px;
    }

    #weather-time-slider {
        width: 98%;
        height: 1px;
        left: 0;
        right: 0;
        z-index: 1;
        filter: drop-shadow(0 0 7px #000a);
        margin-top: 10px;

    }

    #time-text {
        font-size: 16px;
        font-weight: 600;
    }

    #pointer-data,
    #rdr-pointer-data {
        width: 120px;
        font-size: 20px;
        font-weight: 900;
        color: #fff;
        text-shadow: 0px 0px 10px #0007;
        pointer-events: none;
        text-align: left;
        padding-left: 20px;

    }

    #variable-name {
        z-index: 1;
        position: fixed;
        font-size: 20px;
        font-weight: 500;
        margin: 5px 0px 0px 10px;
        color: #fff;
        text-shadow: 0px 0px 10px #0007;
    }

    .bottom-menu-play-pause-bt,
    .rdr-dropdown {
        padding-left: 15px;
        padding-right: 15px;
    }

    #model-buttons-container {
        text-align: left;
        font-size: 15px;
    }

    #metGraph-container {
        width: 1000px;
        height: 500px;
        border: 1px solid #ccc;
        margin-top: 20px;
        z-index: 999;
    }

    .wind {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: bold;
        border-radius: 4px;
        padding: 2px 6px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        gap: 6px;
    }


    .Obs-marker {
        color: white;
        border-radius: 8px;
        padding: 2px 6px;
        font-weight: bold;
        font-size: 12px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
        white-space: nowrap;
    }

    .rainfall-marker {
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        width: 30px;
        /* Adjust size as needed */
        height: 30px;
        /* Adjust size as needed */
        color: white;
        font-size: 12px;
        font-weight: bold;
        border: 2px solid white;
        /* Optional: to make the circle stand out */
    }

    .RainGaugeHeading {
        text-align: center;
        margin: 15px;
    }

    .rainfall-marker-popup-content {
        color: #000;
    }

    #rainfallDays {
        width: 130px;
        border-radius: 3px;
    }

    #weatherObstype,
    #weatherObsduration {
        width: 165x;
        text-align: left;
        border-radius: 3px;
    }


    #rainfallDays:hover {
        background-color: rgb(29, 52, 76) !important;
        border-color: 1px solid rgb(29, 52, 76) !important;
        border-left: 1px solid rgb(29, 52, 76) !important;
        border-top-color: rgb(29, 52, 76) !important;
        border-bottom-color: rgb(29, 52, 76) !important;
        color: white;
    }

    /* #rainfallDays:hover {
        background-color: rgb(229, 132, 17) !important;
        border-color: 1px solid rgb(229, 132, 17) !important;
        border-left: 1px solid rgb(229, 132, 17) !important;
        border-top-color: rgb(229, 132, 17) !important;
        border-bottom-color: rgb(229, 132, 17) !important;
        color: white;
    } */

    .rainfall-select-wrapper {
        position: relative;
        display: flex;
        justify-content: center;
    }

    .obs-select-wrapper {
        position: relative;
        display: flex;
        justify-content: center;
        margin-top: 4px;
    }

    .rainfall-spinner {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        visibility: hidden;
    }

    .weather-spinner {
        position: absolute;
        right: 6%;
        top: 60%;
        transform: translateY(-50%);
        visibility: hidden;
    }

    /* WISE options */

    .wiseInfoPointPopup {
        border-radius: 2px;
    }

    .wise-popup-text-div {
        padding: 12px 18px 18px 18px;
        border-radius: 5px;
    }

    .wise-popup-tip {
        align-self: center;
        border-top: none;
        height: 0;
        width: 0;
        z-index: 1;
        margin-top: -1px;
        margin-bottom: -1px;


        border-left: 10px solid transparent;
        border-right: 10px solid transparent;

        border-top: 10px solid rgba(44, 66, 94, 0.75)
    }

    /* .wise-popup-tip, .wise-popup-text-div {
		background: rgba(44, 66, 94, 0.75);
		box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
		backdrop-filter: blur(6.6px);
		-webkit-backdrop-filter: blur(6.6px);
		border: 1px solid rgba(44, 66, 94, 0.69);
	} */

    .wise-popup-title,
    .wise-popup-description {
        color: white;
        margin: 0px;
        font-size: 15px;
        text-align: justify;
    }

    .asset-marker {

        display: flex;
        justify-content: center;
        align-items: center;
        width: 50px;
        height: 20px;
        background: rgba(44, 66, 94, 0.75);
        font-size: 12px;
        font-weight: bold;
        border: rgba(44, 66, 94, 0.75);
        color: white;
        border-radius: 50% 50% 50% 50%;
    }

    .asset-marker-popup-content {
        color: #000;
    }


    /* The below is for the peril guard menu */

    #peril-menu {
        position: fixed;
        width: 40vw;
        top: 160px;
        z-index: 1;
        margin: 10px;
        text-shadow: 0px 0px 5px black;
        color: white;
        font-size: 18px;
        font-weight: 500;
        text-align: center;
        left: 200px;
        right: 0;
        margin: auto;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 20px;
        padding-right: 20px;
        display: none;
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
        /* display: grid; */
        grid-template-rows: auto 1fr auto;
        /* top (auto), middle (flexible), bottom (auto) */
        grid-template-columns: 1fr 1fr;
        /* two equal columns */
        grid-template-areas:
            "title title"
            "left right"
            "select select";
        gap: 10px;
        /* space between grid items */
    }

    #peril-postcode-master-list-menu,
    #peril-warning-date-list-menu {
        position: fixed;
        width: 40vw;
        top: 160px;
        z-index: 1;
        margin: 10px;
        color: white;
        font-size: 18px;
        font-weight: 500;
        left: 200px;
        right: 0;
        margin: auto;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 20px;
        padding-right: 20px;
        display: none;
        height: 700px;
        overflow: auto;
        flex-direction: column;
        text-align: left;

    }

    #peril-warning-date-list-menu.peril-warning-date-list-minimised {
        width: 450px;
        top: 100px;
        right: 120px;
        height: auto;
        left: unset;
        cursor: move;
    }

    #peril-warning-date-list-menu.peril-warning-date-list-minimised #peril-warning-date-list-title,
    #peril-warning-date-list-menu.peril-warning-date-list-minimised #peril-warning-date-list-datepicker {
        display: none;
        /* Hide these elements when minimized */
    }

    .close-button-peril-mpl {
        position: absolute;
        top: 10px;
        right: 20px;
        font-size: 24px;
        font-weight: bold;
        cursor: pointer;
        color: white;
        z-index: 999;
        background: transparent;
        border: none;
    }

    .minify-button-peril-mpl {
        position: absolute;
        top: 18px;
        right: 48px;
        font-size: 11px;
        cursor: pointer;
        color: white;
        z-index: 999;
        background: transparent;
        border: none;
    }

    .close-button-peril-mpl:hover,
    .minify-button-peril-mpl:hover {
        color: #ff4d4d;
    }

    .peril-mpl-type-text {
        font-size: 18px;
    }

    .peril-mpl-text {
        font-size: 14px;
    }

    #peril-title,
    #peril-postcode-master-list-title,
    #peril-warning-date-list-title {
        grid-area: title;
        /* additional styling for the title */
        text-align: center;
        font-weight: bold;
        padding: 10px;
        font-size: 20px;
    }

    #peril-left {
        grid-area: left;
        /* styling for left column */
        padding: 10px;
        text-align: left;
    }

    #peril-right {
        grid-area: right;
        /* styling for right column */
        padding: 10px;
        text-align: left;
    }

    #peril-select {
        grid-area: select;
        /* styling for bottom section */
        padding: 10px;
        text-align: center;
    }


    #peril-left label,
    #peril-right label {
        display: block;
        margin-bottom: 10px;
        /* Optional: adds space between labels */
    }

    input[type="datetime-local"],
    input[type="date"] {
        height: 30px;
        padding-left: 5px;
        padding-right: 5px;
        padding-top: 0px;
        padding-bottom: 0px;
        border-radius: 5px;
        border: 0px;
        /* font-size: 12px; */
        background-color: rgb(29, 52, 76);
        color: white;
        color-scheme: dark
    }

    .peril-popup {
        background: rgba(44, 66, 94, 0.75);
        border-radius: 16px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(6.6px);
        -webkit-backdrop-filter: blur(6.6px);
        border: 1px solid rgba(44, 66, 94, 0.69);

    }

    .peril-popup .maplibregl-popup-content {
        border: none;
        /* Remove default border if needed */
        box-shadow: none;
        /* Remove any default shadow */
        background-color: rgba(0, 0, 0, 0);
        width: 500px
    }

    .peril-popup .maplibregl-popup-tip {
        display: none;
        /* Hides the default arrow tip */
    }

    .peril-popup .maplibregl-popup-close-button {
        color: white;
        /* Hides the default arrow tip */
    }

    .peril-button-select label {
        display: inline-flex;
        align-items: center;
        margin-right: 1em;
        /* Optional: adds spacing between labels */
    }

    .peril-bottom-button-options {
        height: 30px;
        background-color: rgb(29, 52, 76);
        color: white;
        border: rgb(29, 52, 76);
        transition-duration: 0.2s;
        margin: 2px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .postcode-hover-box {
        position: absolute;
        pointer-events: none;
        background: rgba(40, 59, 94, 0.7);
        border-radius: 3px;
        padding: 6px;
        font-size: 18px;
        display: none;
        z-index: 3;

        white-space: nowrap;
        /* stop text wrapping */
        display: inline-block;
        /* size to fit text */
        min-width: max-content;
        /* optional: lock to text width */
    }


    #peril-embargo-info {
        background-color: rgba(44, 66, 94, 0.69);
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 5px;
        padding-bottom: 1px;
        border-radius: 10px;
        max-height: 400px;
        /* or whatever limit you want */
        overflow-y: auto;
        /* show vertical scrollbar when content exceeds */
        /* overflow-x: hidden;  hide horizontal scrollbar if you don’t need it */
        padding-right: 8px;
    }

    /* WebKit browsers (Chrome, Safari, Edge) */
    #peril-embargo-info::-webkit-scrollbar,
    #peril-postcode-master-list-menu::-webkit-scrollbar,
    #peril-warning-table-body::-webkit-scrollbar {
        width: 12px;
    }

    #peril-embargo-info::-webkit-scrollbar-track,
    #peril-postcode-master-list-menu::-webkit-scrollbar-track,
    #peril-warning-table-body::-webkit-scrollbar-track {
        background: #6383a5;
        border-radius: 6px;
    }

    #peril-embargo-info::-webkit-scrollbar-thumb,
    #peril-postcode-master-list-menu::-webkit-scrollbar-thumb,
    #peril-warning-table-body::-webkit-scrollbar-thumb {
        background-color: #6383a5;
        border-radius: 6px;
        border: 3px solid transparent;
        /* padding around the thumb */
        background-clip: content-box;
        /* so the border shows the track */
    }

    #peril-embargo-info::-webkit-scrollbar-thumb:hover,
    #peril-postcode-master-list-menu::-webkit-scrollbar-thumb:hover,
    #peril-warning-table-body::-webkit-scrollbar-thumb:hover {
        background-color: rgb(23, 52, 90);
    }

    /* Firefox */
    #peril-embargo-info,
    #peril-postcode-master-list-menu,
    #peril-warning-table-body {
        scrollbar-width: thin;
        /* “auto” or “thin” */
        scrollbar-color: #6383a5 rgb(23, 52, 90);
        /* thumb color | track color */
    }

    #downloadPerilGeojson {
        width: 200px;
        height: 30px;
        background-color: rgb(29, 52, 76);
        color: #ff8900;
        border: rgb(29, 52, 76);
        transition-duration: 0.2s;
        margin-top: 5px;
        z-index: 5;
        font-weight: bold;
    }

    #copyPerilPostcodesBtn,
    .peril-mpl-copy-btn,
    .peril-mpl-view-btn,
    .copyImgMetadata {
        width: 80px;
        height: 30px;
        background-color: rgb(29, 52, 76);
        color: #ff8900;
        border: rgb(29, 52, 76);
        transition-duration: 0.2s;
        margin-top: 5px;
        z-index: 5;
        font-size: 12px;
        font-weight: bold;
    }

    #copyPerilPostcodesBtn:hover,
    #downloadPerilGeojson:hover,
    .peril-mpl-copy-btn:hover,
    .peril-mpl-view-btn:hover,
    .copyImgMetadata:hover {
        background-color: rgb(23, 44, 66);
    }


    #peril-warning-date-list-datepicker {
        text-align: center;
    }

    #peril-warning-table-container {
        margin-top: 1rem;
        width: 100%;
        overflow-x: auto;
    }

    #peril-warning-table {
        width: 100%;
        border-collapse: collapse;
        background-color: rgb(42, 76, 111);
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        font-family: Arial, sans-serif;
        transition-duration: 0.4s;
    }

    #peril-warning-table tbody {
        display: block;
        max-height: 500px;
        /* Adjust to your preferred height */
        overflow-y: auto;
    }

    #peril-warning-table thead {
        background-color: rgb(29, 52, 76);
        color: white;
    }

    #peril-warning-table thead,
    #peril-warning-table tbody tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }

    #peril-warning-table tbody tr {
        transition: background-color 0.3s ease;
    }

    #peril-warning-table th,
    #peril-warning-table td {
        padding: 12px 16px;
        text-align: left;
        font-size: 15px;
    }

    #peril-warning-table tbody tr:nth-child(even) {
        background-color: rgb(35, 58, 87);
    }

    #peril-warning-table tbody tr:hover {
        background-color: rgb(29, 52, 76);
        cursor: pointer;
    }

    #peril-warning-table tbody td:last-child {
        text-align: center;
    }

    /* Column width adjustments */
    #peril-warning-table th:nth-child(1),
    #peril-warning-table td:nth-child(1) {
        width: 20%;
        /* Time */
    }

    #peril-warning-table th:nth-child(2),
    #peril-warning-table td:nth-child(2) {
        width: 15%;
        /* Warning Type */
    }

    #peril-warning-table th:nth-child(3),
    #peril-warning-table td:nth-child(3) {
        width: 10%;
        /* State */
    }

    #peril-warning-table th:nth-child(4),
    #peril-warning-table td:nth-child(4) {
        width: 45%;
        /* Title */
    }

    #peril-warning-table th:nth-child(5),
    #peril-warning-table td:nth-child(5) {
        width: 10%;
        /* Index */
    }

    /* Alert editor section  */

    .alert-switcher {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 8px 0 16px;
    }

    .alert-tabs {
        display: flex;
        gap: 8px;
    }

    .alert-tab {
        border: 1px solid rgb(29, 52, 76);
        padding: 6px 10px;
        border-radius: 8px;
        cursor: pointer;
        background-color: rgb(29, 52, 76);
        color: white;
    }

    .alert-tab-is-active {
        background-color: rgb(229, 132, 17);
        border-color: rgb(229, 132, 17);
        box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    }

    .tab-select,
    .tab-select-label {
        display: none;
    }

    .tab-panels .panel {
        padding: 6px 0;
    }

    .panel[hidden] {
        display: none !important;
    }

    #manage-lightning-alerts {
        display: none;
    }

    #manage-observation-alerts {
        display: none;
    }

    #editPointAlertModalContent {
        color: black;
    }


    .tabulator {
        font-family: "Helvetica Neue", Arial, sans-serif;
        font-size: 14px;
        border: 1px solid #2c3e50;
        box-shadow: none;
        background-color: #2c3e50;
    }


    .tabulator .tabulator-header {
        background-color: #2c3e50;
        /* dark blue */
    }

    .tabulator .tabulator-header .tabulator-col,
    .tabulator-col .tabulator-sortable .tabulator-col-sorter-element {
        background-color: #2c3e50 !important;
        /* same dark blue */
        color: #ffffff;
        /* white text */
        font-weight: 600;
        border-right: 1px solid #1a242f;
    }

    .tabulator .tabulator-header .tabulator-col:last-child {
        border-right: none;
    }

    .tabulator .tabulator-row:nth-child(odd) {
        background: #3d566e;
        color: #fff
            /* light grey */
    }

    .tabulator .tabulator-row:nth-child(even) {
        background: #2c3e50;
        /* dark blue */
        color: #fff;
        /* invert text for dark row */
    }

    .tabulator .tabulator-row:hover {
        background: #2b4457 !important;
        /* orange highlight on hover */
        color: #fff;
    }

    .tabulator-header-filter input {
        background-color: rgb(57, 81, 105) !important;
        color: #fff
    }

    .tabulator .tabulator-paginator,
    .tabulator .tabulator-footer,
    .tabulator .tabulator-page {
        background-color: #2c3e50 !important;
        color: white;
    }

    /* User Edit Modal for alerts */

    #closenewPointAlertContent,
    #closenewPointAlertContent {
        position: fixed;
        top: 5px;
        right: 20px;

    }

    .splitMapModal {
        display: flex;
        /* if you want them to stretch full height: */
        align-items: stretch;
        background: #fff;
        width: 1200px;
        /* or whatever fixed size you like */
        max-width: 89%;
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        position: fixed;
        padding: 5px 10px;
        box-sizing: border-box;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: 755px;
    }

    .splitMapModal>.userEditModalPointAlerts {
        /* one‐third of the available space */
        flex: 1 1 0;
        /* grow:1, shrink:1, base:0 */
        /* or enforce exact third: flex: 0 0 33.3333%; */
        overflow: auto;
        /* scroll if needed */
    }

    .splitMapModal>.Map {
        /* two‐thirds of the available space */
        flex: 2 1 0;
        /* grow:2, shrink:1, base:0 */
        /* or enforce exact two‐thirds: flex: 0 0 66.6667%; */
        overflow: hidden;
        /* or auto, as you prefer */
    }

    .singleUserEditModal {
        display: flex;
        /* if you want them to stretch full height: */
        align-items: stretch;
        background: #fff;
        width: 700px;
        /* or whatever fixed size you like */
        max-width: 89%;
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        position: fixed;
        padding: 5px 10px;
        box-sizing: border-box;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: 755px;
        color: black;
    }

    .singleSiteEditModal {
        overflow: auto;
        display: flex;
        /* if you want them to stretch full height: */
        align-items: stretch;
        background: #fff;
        width: 700px;
        /* or whatever fixed size you like */
        max-width: 89%;
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        position: fixed;
        padding: 5px 10px;
        box-sizing: border-box;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: 755px;
        color: black;
    }

    /* Make the main content flex to fill the row */
    .singleSiteEditModal>.userSiteModal {
        flex: 1 1 100%;
        min-width: 0;
        /* important so it can shrink in flex */
    }



    #mapPointAlertsEdit,
    #mapPointAlertsNew {
        overflow: hidden;
        height: 660px;
        margin-top: 50px;
        border-radius: 15px;
    }


    .userEditModalPointAlerts,
    .userSiteModal {
        background: #fff;
        /* or whatever fixed size you like */
        border-radius: 8px;
        box-sizing: border-box;

        background-color: #fff;
        padding: 20px;
        border-radius: 10px;
        z-index: 25;
    }

    /* 
    #pointAlertSearchBtn {
        position: fixed;
        z-index: 99;
        top: 325px;
        left: 368px;
    } */

    .userEditModalPointAlerts .form-group input[type="text"],
    .userSiteModal .form-row input[type="text"],
    .userSiteModal .form-row input[type="number"],
    .userSiteModal .threshold-row input[type="number"] {
        box-sizing: border-box;
        border-radius: 5px;
        border-color: black;
    }

    .userEditModalPointAlerts .form-group,
    .site_id_label {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
        overflow: visible;
        text-align: left;
        /* so the 1px border can render fully */

    }

    /* labels take up 30% of the row */
    .userEditModalPointAlerts .form-group>label,
    .site_id_label {
        width: 30%;
        margin: 0;
        /* override any default margins */
        font-weight: 500;
    }

    /* text inputs flex to fill the remaining 70% */
    .userEditModalPointAlerts .form-group input[type="text"] {
        flex: 1;
        padding: 8px 10px;
    }

    /* 1) Make the address row itself a flex container */
    .form-group.address-group {
        display: flex;
        align-items: center;
        margin-bottom: 1em;
        /* whatever spacing you use elsewhere */
    }

    /* 2) Give the label the same fixed width as your other labels */
    .form-group.address-group>label {
        flex: 0 0 105px;
        /* tweak 120px to match your other fields */
        margin-right: 0.5em;
    }

    /* 3) Turn the input+button wrapper into a flex box */
    .form-group.address-group .input-with-btn {
        display: flex;
        flex: 1;
        /* fill remaining space */
        align-items: center;
    }

    /* 4) Let the text‐box grow to fill all but the button */
    .form-group.address-group .input-with-btn input {
        flex: 1;
        min-width: 0;
        /* allow it to shrink cleanly */
    }

    /* 5) A little gap before the icon button */
    .form-group.address-group .input-with-btn button {
        margin-left: 0.5em;
    }

    .signup-message a {
        color: cornflowerblue;
        text-decoration: underline;
        /* optional, for clarity */
    }

    .userEditModalPointAlerts input[type="time"] {
        appearance: none;
        /* Remove default browser styles */
        -webkit-appearance: none;
        -moz-appearance: none;

        padding: 6px 10px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 14px;
        font-family: inherit;

        background-color: #fff;
        color: #333;

        transition: border-color 0.2s, box-shadow 0.2s;
    }

    .userEditModalPointAlerts input[type="time"]:focus {
        border-color: #ff9900;
        /* highlight color to match your buttons */
        box-shadow: 0 0 4px rgba(255, 153, 0, 0.5);
        outline: none;
    }

    .userEditModalPointAlerts .range-row {
        display: flex;
        align-items: center;
        gap: 8px;
        /* space between inputs and dash */
    }

    .userEditModalPointAlerts .range-row span {
        font-weight: bold;
        color: #666;
    }

    .threshold-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        /* label | input | meta (hex) */
        gap: 6px 12px;
        align-items: center;
        margin-bottom: 10px;
    }

    .threshold-row label {
        text-align: right;
        font-weight: 500;
    }

    .threshold-row input {
        width: 100%;
        padding: 4px 6px;
        box-sizing: border-box;
    }

    .threshold-row .meta {
        font-size: 0.85em;
        color: #666;
    }

    #mouse-spinner {
        font-size: 24px;
        color: #ff8900;
        display: none;
        pointer-events: none;
        z-index: 9999;
        position: fixed;
    }

    .copyImgMetadata {
        transition: background-color 0.3s ease;
    }

    .copyImgMetadata.flash {
        background-color: #30e736;
        /* green */
        color: white;
    }


}