@charset "UTF-8";
/* these define the icons used in various pages - lifted from framework7.css first (so that can be updated) */



/* following is supposed to remove the too much energy error message... */
.md .navbar a.link:before,
.md .toolbar a.link:before,
.md .subnavbar a.link:before,
.md .data-table-rows-select a.link:before,
.md .data-table-pagination a.link:before,
.md .searchbar-disable-button:before,
.md .searchbar .input-clear-button:before,
.md .notification-close-button:before {
  background-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 66%, rgba(255, 255, 255, 0) 66%);
}

.noChevron{
  --f7-list-chevron-icon-font-size: 0px; //used in various to remove chevron on left (unable to shift it right!)
  
}

.h22 {
  margin-top: 50px !important;
  font-size: 30.0 rem
}

.moorPopup{
  text-align:center;
  font-size:14px;
}

.moorTitle{
  font-size:16px;
  font-weight:bold;
  margin-bottom:4px;
}

.moorFacilities{
  margin-bottom:8px;
}

.moorButtons{
  display:flex;
  justify-content:space-between;
  gap:6px;
  margin:8px 0;
}

.moorBtn{
  flex:1;
  padding:8px;
  border-radius:6px;
  border:none;
  background:#0a84ff;
  color:white;
  font-size:13px;
}

.moorLogo img{
  width:85%;
  margin-top:6px;
}

.moorW3W{
  margin-top:6px;
  font-size:13px;
  word-break:break-word;
}

/* Floating button over map (bottom-right) */
.fab-stop {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 1000; /* above map */
  padding: 10px 16px;
  font-size: 14px;
}

#stopTrackingContainer {
  position: fixed;           /* fixed relative to viewport */
  bottom: 20px;              /* safe distance from bottom */
  right: 16px;               /* safe distance from right edge */
  z-index: 10000;
}

#stopTrackingBtn {
  min-width: 140px;          /* enough for text */
  font-size: 16px;           /* readable on iPhone */
  text-align: center;
  padding: 10px 16px;
}
/* Following to style map overlay icons */
.lockMarker {
  background: none !important;
  border: none !important;
}

/*following from chatGPT to mimic liquid glass*/
.lockMarker .icon-bg {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Default (light mode) glass effect */
  background: linear-gradient(
    145deg,
    rgba(90, 180, 255, 0.35),
    rgba(40, 100, 200, 0.25)
  );
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  box-shadow:
    inset 0 1px 3px rgba(255, 255, 255, 0.3),
    0 4px 12px rgba(0, 80, 180, 0.4),
    0 0 10px rgba(0, 150, 255, 0.25);
  transition: all 0.3s ease;
}

.lockMarker .icon-bg i {
  color: rgba(255, 255, 255, 0.95);
  text-shadow:
    0 0 6px rgba(100, 180, 255, 0.9),
    0 0 12px rgba(120, 200, 255, 0.5);
}

/* Hover or active state */
.lockMarker .icon-bg:hover {
  background: linear-gradient(
    145deg,
    rgba(120, 200, 255, 0.45),
    rgba(60, 140, 255, 0.35)
  );
  transform: scale(1.08);
  box-shadow:
    inset 0 1px 4px rgba(255, 255, 255, 0.4),
    0 6px 16px rgba(0, 100, 255, 0.5),
    0 0 12px rgba(100, 200, 255, 0.4);
}

/* Optional subtle pulse animation */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(0, 150, 255, 0.25); }
  50% { box-shadow: 0 0 18px rgba(0, 180, 255, 0.45); }
}
.lockMarker .icon-bg {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* 🌙 Dark mode adjustments */
@media (prefers-color-scheme: dark) {
  .lockMarker .icon-bg {
    background: linear-gradient(
      145deg,
      rgba(40, 120, 255, 0.25),
      rgba(10, 60, 160, 0.2)
    );
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
      inset 0 1px 3px rgba(255, 255, 255, 0.15),
      0 4px 10px rgba(0, 60, 160, 0.5),
      0 0 12px rgba(80, 160, 255, 0.35);
  }

  .lockMarker .icon-bg i {
    color: rgba(230, 240, 255, 0.95);
    text-shadow:
      0 0 8px rgba(100, 180, 255, 0.9),
      0 0 16px rgba(120, 200, 255, 0.6);
  }
}


.yardMarker {
  background: none !important;
  border: none !important;
}

.yardMarker {
  background: none !important;
  border: none !important;
}

.yardMarker .icon-bg {
  background-color: white;
  color: red;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

.fuelMarker {
  background: none !important;
  border: none !important;
}

.fuelMarker .icon-bg {
  background-color: white;
  color: green;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

.anchorMarker {
  background: none !important;
  border: none !important;
}

.anchorMarker .icon-bg {
  background-color: white;
  color: blue;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

.bridgeMarker {
  background: none !important;
  border: none !important;
}

.bridgeMarker .icon-bg {
  background-color: white;
  color: #605795;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

.slipseMarker {
  background: none !important;
  border: none !important;
}

.slipsMarker .icon-bg {
  background-color: white;
  color: green;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

.pubsMarker {
  background: none !important;
  border: none !important;
}

.pubsMarker .icon-bg {
  background-color: white;
  color: brown;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

.fishingMarker {
  background: none !important;
  border: none !important;
}

.fishingMarker .icon-bg {
  background-color: white;
  color: grey;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
}


 /*following is to set the CSS not provided in F7 v4*/
 .navbar-inner {
 	background-color: #58D3F7;
 }
.toolbar-inner {
	background-color: #58D3F7;
	height: 45px !important;
  padding-top: 1px !important;
}
 .toolbar.toolbar-top.no-hairline {
 	height: 0px;
 }
.toolbar-caption { /*for the info on left hand of toolbar*/
	color: #007aff;
	font-size: 16px;
	margin-left: auto;
	margin-right: auto;
/* 	margin-top: 10px; */
}

//following is to remove teh space between navbar and first liner item
.navbar  {
margin-bottom: -40px !important; 
padding: 50px !important;
}


.page-content{
  margin: 0px !important;
  /* padding: 10px !important; */
}

//following is to remove teh space between navbar and first liner item
.noTopMargin{
  /* margin-top: 2px !important;
  margin-bottom: 2px !important; */
  margin: 5px !important;
  padding: 2px !important;

}

.aligncenter {
    text-align: center !important; /* used in index.html to get image in middle! */
}

.listChevron{
  float: right;
  margin-right: 20px;
--f7-list-media-item-padding-vertical: 1px !important;}

.list.item{
  font-size: x-large !important;
}


.listChevronAdvicePage{
  float: right;
  margin-right: 30px;
}

.panel-margin-left{
  margin-left: 25px!important;
  margin-right: 0px !important;
}

.no-margin {
	margin: -15px !important; /*removes excess space above UL elements*/
}
.small-margin {
	margin: 5px !important; /*removes excess space above UL elements*/
}

/* following is to hide info in popups on smaller screens (7,6, 7. 8) to enable tabbar to show */
@media (max-height: 1120px) {                  
   .notSmall {
      display: none;
   }
}

.item-media-toright {
	margin-left: 10px !important;	/*used to move icons away from left edge of screen*/
}
.item-media-none {
	margin-left: 0px;
}
/*end of CSS for F7 v4*/

/* following is used in tides.php */
	.size-20 { 
	font-size: 20px };


.testclick {
	cursor: pointer;
}

.bmf {
	font-weight: bold;
	text-align: center;
	font-size: 20px;
}
.bmf p {
	margin: 4px ;
}

.clear-btn {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 8px;
  background-color: greenyellow;
  color: black !important;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
}

.popup-w3w .touch-shield {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48px; /* match your navbar height */
  z-index: 99999;
  background: transparent;
  pointer-events: auto; /* important: capture taps */
}

.popup-w3w iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: none;
}

/* Make Clear All look like a button without triggering iOS tap-area rules */ 
.navbar .clear-btn { 
  background: var(--f7-theme-color); 
  color: #fff !important;
   padding: 6px 12px; border-radius: 
   8px; display: inline-block; 
 }

.clear-btn:active {
  opacity: 0.7;
}

/* Following for 'loading' message in weather.html */
/* Spinner wrapper */
.loading-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Spinner animation */
.spinner {
    width: 32px;
    height: 32px;
    border: 4px solid #ccc;
    border-top-color: #0078ff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Following for popups in Marinas and Moorings */

      div.timeline-item-date{      /*JM added to keep Marina mostly on one line...*/
width: 40% !important;	} 

    .greencol{
background-color: green;	}
.redcol{
background-color: red;	}
.yellowcol{
background-color: yellow;	}
.orangecol {
background-color: orange;	}

.Mpopup {
  position: absolute;
text-align: center;	
 padding: 1px;
 text-align: left;
 border-radius: 12px;	/*JM CHANGE/ADDITION*/
background: #D1F2EB;
 color: #333;
 box-shadow: 0 3px 14px rgba(0,0,0,0.4);  
 padding: 1px;
 text-align: left;
 border-radius: 12px;
 /* background-image: url("../images/websiteback2.png") !important; */
 /* background-color: blue; */
 border: 2px solid black;
 width: 300px; 
  
}

.yardRow{
  font-size: 18px;
}

/*Following copied from leaflet.css so JM changes can be applied to make popups look nicer!*/
/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;	
	}
	
	.block {
		margin: 0px 0 !important;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;	/*JM CHANGE/ADDITION*/
		/*background-image: url("../images/websiteback2.png") !important;*/
				/*background-color: blue;*/
		border: 2px solid black; /*JM CHANGE/ADDITION*/
    width: 320px; /*JM CHANGE/- largerf popu for RVPs*/
	
	}
.leaflet-popup-content {
	margin: 8px 9px;
	line-height: 1.4;
	margin-bottom: 2px;
	}
	
	
.leaflet-popup-content p {   /*reduce white space!*/
	margin: 4px 0;
	}
	
.leaflet-popup-content h4 {   /*reduce white space!*/
	margin: 4px 0;
	}
	
.leaflet-popup-content link {   /*reduce white space!*/
		margin: 4px 0;
		}
	
	
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: #D1F2EB;	/*JM CHANGE/ADDITION for popup background colour*/
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	
	}
	
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	padding: 4px 4px 0 0;
	border: none;
	text-align: center;
	width: 18px;
	height: 14px;
	font: 16px/14px Tahoma, Verdana, sans-serif;
	color: #c3c3c3;
	text-decoration: none;
	font-weight: bold;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover {
	color: #999;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	border-bottom: 1px solid #ddd;
	border-top: 1px solid #ddd;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}
.leaflet-oldie .leaflet-popup-tip-container {
	margin-top: -1px;
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}

.copy-w3w-link {
    color: #007aff !important;
    text-decoration: underline;
  }


.w3wlayout {
	visibility: hidden;
	font-size: 18;
	font-weight: bold;
	text-align: center !important;
	border: 2px solid blue;
	text-transform: uppercase;
}

.sheet-modal-bottom {
  padding-bottom: calc(env(safe-area-inset-bottom));
}

.sheet-modal-inner {
  overflow-y: auto;
  padding-bottom: env(safe-area-inset-bottom);
}

/*following to style message about forecast symbols in weather popup*/
.color-orange {
	color:  orange;;
}
.size-18 {
	font-size: 18px !important;
}

/*JM addition to put sponsor image in left, centre or right top of home page*/
.centralimage {
        position: fixed;
        top: 150px;
        left:50%;
		width: 20%;
        margin-right: -50%;
        transform: translate(-50%, -50%) 
}
.leftimage {		/*used to put logo below list on Advice page*/
        position: fixed;
        top: 100px;
        left:5%;
		width: 20%;
}
.rightimage {
        position: fixed;
        top: 100px;
        right:5%;
		width: 20%;
}
.bottomimage { 		/*used to put logo below list on Advice page*/
        position: fixed;
        left:5%;
		width: 20%;
}
.righticon {
	margin-right: 10px;
}

.member{          /*to style the word 'member' on map popups   !important needed to override F7 CSS*/
		font-family:"Gill Sans" sans-serif !important;
		text-transform:uppercase !important;
		font-weight:500; /*to get as close as poss to logo text...*/
		font-size:13 !important;
		vertical-align:middle;
		color:#002b7f !important; 
}

/* Following is for users route overlay and in attached notification - see thamesALLjson.js*/
.routeOverlay {
  background-color: white; //if this changes also amend plannerStylre colour in thamesALLJson.js fourth parametewr is opacity 
}


/* following two style the tooltips used for lock names and all popups (needed to avoid LeafletJS 1.8 small size!) */
.tooltipCSS {
	background-color: yellow !important;
	opacity: 0.95 !important;
  font-size: 14px !important;
}

.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	border: 0px solid transparent !important; /*removes the small pointing triangle from the side of the tooltip*/ 
	}

/*Layout for popups from F7 V2*/

.centerimage {
	display: block;
    margin-left: auto;
    margin-right: auto;
    }

.popup-zindex {
	z-index: 10000 !important;
}

.popup-mapall { 
	 width:300px;
	 position: sticky; 
		background-image: linear-gradient(to right top, #f0e82e, #c8ec4b, #a1ed68, #7beb85, #55e8a0, #35e3b1, #12dcc0, #00d5cb, #00cbd1, #00c1d4, #00b7d4, #28acd1);
		}
		/* @media (prefers-color-scheme: dark) {
		.pageBackLocks {
			 background-image: url("images/double-bubble-dark.png");

} */

	
}
.popup-layout {
	border: 2px solid black;
	border-radius: 8px !important;
/* 	background-color:#FFC !important; */
	/*line-height: 0.8;*/
	z-index: 99999;  /*puts the info popups above the lock etc popups…*/
		background-image: linear-gradient(to right top, #f0e82e, #c8ec4b, #a1ed68, #7beb85, #55e8a0, #35e3b1, #12dcc0, #00d5cb, #00cbd1, #00c1d4, #00b7d4, #28acd1);
		}
		/* @media (prefers-color-scheme: dark) {
		.pageBackLocks {
			 background-image: url("images/double-bubble-dark.png");
		
		}
} */

.button-feedback {
  border: 2px solid black;
  border-radius: 8px !important;
	background-color:rgb(0, 125, 255) !important; */

    }

//following to get rid of F7 stuff behind my close button on iOS
/* Override Framework7 iOS navbar hit area inside popups */
.ios .popup .navbar .left,
.ios .popup .navbar .right,
.ios .popup .navbar .navbar-pane,
.ios .popup .navbar .left[style],
.ios .popup .navbar .right[style] {
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}
.ios .popup .navbar .right[style],
.ios .popup .navbar .left[style] {
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.popup-layout-locks {
	text-indent: 1em !important;
	/*border: 1px solid black;
	border-radius: 1px;*/
	/*background-color:#FFC !important;*!/*/
	/* line-height: 1.0!important; */
  /* margin-top: 400px !important; */
	/*background-image: url("../images/websiteback2.png") !important;*/
}

.toolbar:not(.toolbar-bottom, .toolbar-top, .messagebar)::before {
  bottom: 500px !important;
}

.popover-otherpages{
  border: 3px solid green;
  border-style: solid;
  border-radius: 25px;
  padding-left: 20px;
  font-size: 18px;
  line-height: 0.75;	
  background-color: yellow;
}

.popover-otherpages p {
  color: blue;
}

.popover-facilities{
  border: 1px solid black;
  border-radius: 5px;
  padding-left: 20px;
  font-size: 18px;
  line-height: 0.75;	
  
}


.popover-layout {
	/* border: 1px solid black; */
	border-radius: 2px;
	/* padding-left: 1px; */
	font-size: 12px;
	line-height: 0.75;	
	height: 350px !important;	
}

.popover-layout h3{
  margin-top: 20px;
  margin-left: 5px
}

.popover-layout p{
  margin-left: 15px;
}

.popover-layout2 {
	border: 1px solid black;
	border-radius: 5px;
	padding-left: 20px;
	font-size: 12px;
	line-height: 1.25;	
	height: 350px !important;	
}

.weather-list {     /*used for locations on weather page*/
	height: 30px !important;
/* 	background-color: aliceblue; */
	border: 1px solid black;
	border-radius: 5px;
}

.weather-list-buttons {     /*used for buttons on weather page*/
	height: 70px !important;
	width: 100%;
}

.weather-list-tapmessage {     /*used for message on weather page*/
	height: 30px !important;
	background-color: aliceblue;
	border: 1px solid black;
	border-radius: 5px;
	width: 100%;
	text-align: center;
}

.weather-sheet-center{
margin-left: 10px;  /*used for lock detail popup */
/* margin-top: 10px; */
 }
 
  
}

.overlayicon-list {     /*used for locations on weather page*/
	height: 30px !important;
	background-color: aliceblue;
	border: 0.5px solid black;
	border-radius: 5px;
	width: 585px;
	text-align: justify;
}

.striker {     /*used for ensign striking time on weather page*/
	height: 100% !important;
	background-color: aliceblue;
/*	border: 1px solid black;*/
	font-size: 14px;
	font-weight: bold;
	border-radius: 5px;
	text-align: center;
}



/* === Icons === */
i.icon {
  display: inline-block;
  vertical-align: middle;
  background-size: 100% auto;
  background-position: center;
  background-repeat: no-repeat;
  font-style: normal;
  position: relative;
} /*JM CHANGES all icons changed to local PNG references in /img/ folder from origianl SVG*/

i.icon.icon-redensign {
  width: 40px;
  height: 27px;
  background-image: url("img/i-redensignnopole.png");
}


i.icon.icon-bmflogo {
  width: 29px;
  height: 29px;
  background-image: url("img/bmflogo.png");
}
i.icon.icon-buoy {
  width: 29px;
  height: 29px;
  background-image: url("img/i-buoy.jpg");
}

i.icon.icon-riverrules {
  width: 29px;
  height: 29px;
  background-image: url("img/i-riverrules.jpg");
}
i.icon.icon-soundsignals {
  width: 29px;
  height: 29px;
  background-image: url("img/i-soundsignals.png");
}
i.icon.icon-flagsignals {
  width: 29px;
  height: 29px;
  background-image: url("img/i-flagsignals.jpg");
}
i.icon.icon-rvp {
  width: 29px;
  height: 29px;
  background-image: url("img/i-rvp.png");
}
i.icon.icon-rtg {
  width: 29px;
  height: 29px;
  background-image: url("img/i-rtg.png");
}
i.icon.icon-tools {
  width: 29px;
  height: 29px;
  background-image: url("img/i-tools.jpeg");
}
i.icon.icon-firstaid {
  width: 29px;
  height: 29px;
  background-image: url("img/i-emergency.jpg");
}
i.icon.icon-whereami {
  width: 29px;
  height: 29px;
  background-image: url("img/i-whereami.jpg");
}
i.icon.icon-lifesaver {
  width: 29px;
  height: 29px;
  background-image: url("img/i-lifesaver.jpg");
}
i.icon.icon-lock {
  width: 33px;
  height: 33px;
  background-image: url("img/i-lock2.jpg");
}

i.icon.icon-riverconditions {
  width: 32px;
  height: 32px;
  background-image: url("img/i-riverconditions.jpg");
}
i.icon.icon-riverdraft {
  width: 29px;
  height: 29px;
  background-image: url("img/i-riverdraft.png");
}
i.icon.icon-journey {
  width: 29px;
  height: 29px;
  background-image: url("img/i-journey.jpg");
}
i.icon.icon-journey2 {
  width: 29px;
  height: 29px;
  background-image: url("img/i-journey2.jpg");
}
i.icon.icon-widgets {
  width: 36px;
  height: 36px;
  background-image: url("img/i-widgets.png");
}

i.icon.icon-mapping {
  width: 36px;
  height: 36px;
  background-image: url("img/i-mapping.jpg");
}
i.icon.icon-sponsor {
  width: 29px;
  height: 29px;
  background-image: url("img/i-sponsor.png");
}
i.icon.icon-facilities {		
  width: 35px;
  height: 35px;
  background-image: url("img/i-facilities.png");		/*size increased to fit FAB button*/
}

i.icon.icon-compass {
  width: 25px;
  height: 25px;
  background-image: url("img/i-compass.png");
}
i.icon.icon-home {
  width: 25px;
  height: 25px;
  background-image: url("img/i-home.png");
}
/*
i.icon.icon-advice {
  width: 25px;
  height: 25px;
  background-image: url("img/i-advice.png");
}
*/
i.icon.icon-closures{
  width: 30px;
  height: 30px;
  background-image: url("img/i-closures.png");
}

i.icon.icon-email {
  width: 30px;
  height: 30px;
  background-image: url("img/i-email.png");
}
i.icon.icon-speaking {
  width: 30px;
  height: 30px;
  background-image: url("img/i-speaking.png");
}

i.icon.icon-river {
  width: 25px;
  height: 25px;
  background-image: url("img/i-river.png");
}
i.icon.icon-fluvial {
  width: 35px;
  height: 35px;
  background-image: url("img/i-fluvial.png");
}

i.icon.icon-back-blue {
  width: 25px;
  height: 25px;
  background-image: url("img/i-back-blue.png");
}
i.icon.icon-back-white {
  width: 25px;
  height: 25px;
  background-image: url("img/i-back-white.png");
}
i.icon.icon-back-black {
  width: 25px;
  height: 25px;
  background-image: url("img/i-back-black.png");
}
i.icon.icon-bars-blue {
  width: 25px;
  height: 25px;
  background-image: url("img/i-bars-blue.png");
}
i.icon.icon-bars-white {
  width: 25px;
  height: 25px;
  background-image: url("img/i-bars-white.png");
}
i.icon.icon-bars-black {
  width: 25px;
  height: 25px;
  background-image: url("img/i-bars-black.png");
}
i.icon.icon-camera {
  width: 25px;
  height: 25px;
  background-image: url("img/i-camera.png");
}
/*Following icons are for mapall.html page*/

i.icon.icon-mapclear {
  width: 25px;
  height: 25px;
  background-image: url("img/i-mapclear.png");
}
i.icon.icon-maplocate {
  width: 30px;
  height: 30px;
  background-image: url("img/i-maplocate.png");
}

/* JM CHANGE all image URL modified for img folder inside css folder*/

i.icon.icon-red-ensign {
  width: 29px;
  height: 29px;
  background-image: url("img/i-red-ensign.jpg");
}

i.icon.icon-thumb {
  width: 29px;
  height: 29px;
  background-image: url("img/i-thumbs-down.png");
}
i.icon.icon-info {
  width: 29px;
  height: 29px;
  background-image: url("img/i-info.png");
}
i.icon.icon-terms {
  width: 29px;
  height: 29px;
  background-image: url("img/i-dictionary.jpg");
}

i.icon.icon-tides {
  width: 29px;
  height: 29px;
  background-image: url("img/i-tides.png");
}

i.icon.icon-pound {
  width: 29px;
  height: 29px;
  background-image: url("img/i-pound.png");
}
i.icon.icon-quotes {
  width: 29px;
  height: 29px;
  background-image: url("img/quote.png");
}
i.icon.icon-f7 {
  width: 29px;
  height: 29px;
  background-image: url("img/i-f7.png");
}
i.icon.icon-form-name {
  width: 29px;
  height: 29px;
  background-image: url("img/i-form-name.png");
}
i.icon.icon-form-password {
  width: 29px;
  height: 29px;
  background-image: url("img/i-form-password.png");
}
i.icon.icon-form-email {
  width: 29px;
  height: 29px;
  background-image: url("img/i-form-email.png");
}
i.icon.icon-form-calendar {
  width: 29px;
  height: 29px;
  background-image: url("img/i-form-calendar.png");
}
i.icon.icon-form-tel {
  width: 29px;
  height: 29px;
  background-image: url("img/i-form-tel.png");
}
i.icon.icon-form-gender {
  width: 29px;
  height: 29px;
  background-image: url("img/i-form-gender.png");
}
i.icon.icon-form-toggle {
  width: 29px;
  height: 29px;
  background-image: url("img/i-form-toggle.png");
}
i.icon.icon-form-comment {
  width: 29px;
  height: 29px;
  background-image: url("img/i-warning.png");
}
i.icon.icon-form-settings {
  width: 29px;
  height: 29px;
  background-image: url("img/i-form-settings.png");
}
i.icon.icon-form-url {
  width: 29px;
  height: 29px;
  background-image: url("img/i-form-url.png");
}

/*JM CHANGES all icons changed to local PNG references in /img/ folfer from origianl SVG*/
i.icon.icon-next-blue,
i.icon.icon-prev-blue,
i.icon.icon-next-white,
i.icon.icon-prev-white {
  width: 15px;
  height: 15px;
}
i.icon.icon-next-blue {
  width: 15px;
  height: 15px;
  background-image: url("img/i-forward-blue.png");
}
i.icon.icon-prev-blue {
  width: 15px;
  height: 15px;
  background-image: url("img/i-back-blue.png");
}
i.icon.icon-next-white {
  width: 15px;
  height: 15px;
  background-image: url("img/i-forward-white.png");
}
i.icon.icon-prev-white {
  width: 15px;
  height: 15px;
  background-image: url("img/i-back-white.png");
}
i.icon.icon-next-grey { /*NOTE made this bigger to look better on the boating advice section*/
  width: 20px;
  height: 20px;
  background-image: url("img/i-forward-grey.png");
  float:right;
  margin-right:5px;
  }
i.icon.icon-back-grey { /*NOTE made this bigger to look better on the boating advice section*/
  width: 20px;
  height: 20px;
  background-image: url("img/i-back-grey.png");
  margin-right:10px;
  }

i.icon.icon-plus {
  width: 25px;
  height: 25px;
  font-size: 31px;
  line-height: 20px;
  text-align: center;
  font-weight: 100;
}
.badge {
  font-size: 13px;
  display: inline-block;
  color: #000;
  background: #ddd;
  border-radius: 20px;
  padding: 1px 7px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.badge.badge-red {
  background: #ff3b30;
  color: #fff;
}
.badge.badge-green {
  background: #4cd964;
  color: #fff;
}
.badge.badge-black {
  background: #000;
  color: #fff;
}
.icon .badge {
  position: absolute;
  left: 100%;
  margin-left: -10px;
  top: -2px;
  font-size: 10px;
  padding: 1px 5px;
}

/*Button CSS here: http://css3buttongenerator.com */
.close-popup-button {
background: #3498db;
  background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
  background-image: -moz-linear-gradient(top, #3498db, #2980b9);
  background-image: -ms-linear-gradient(top, #3498db, #2980b9);
  background-image: -o-linear-gradient(top, #3498db, #2980b9);
  background-image: linear-gradient(to bottom, #3498db, #2980b9);
  -webkit-border-radius: 27;
  -moz-border-radius: 27;
  border-radius: 27px;
  font-family: Arial;
  color: #ffffff !important; /*important added to ensure white text in popup buttons*/
  font-size: 14px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
}

.more-weather-button { /*for weather page*/
background: #3498db;
  background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
  background-image: -moz-linear-gradient(top, #3498db, #2980b9);
  background-image: -ms-linear-gradient(top, #3498db, #2980b9);
  background-image: -o-linear-gradient(top, #3498db, #2980b9);
  background-image: linear-gradient(to bottom, #3498db, #2980b9);
  -webkit-border-radius: 27;
  -moz-border-radius: 27;
  border-radius: 27px;
  font-family: Arial;
  color: #ffffff !important;
  font-size: 12px;
  padding: 5px 10px 5px 10px;
  text-decoration: none;
  margin: 0px;
}

.show-on-map-button { /*for Locks page*/
background: #3498db;
  background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
  background-image: -moz-linear-gradient(top, #3498db, #2980b9);
  background-image: -ms-linear-gradient(top, #3498db, #2980b9);
  background-image: -o-linear-gradient(top, #3498db, #2980b9);
  background-image: linear-gradient(to bottom, #3498db, #2980b9);
  -webkit-border-radius: 27;
  -moz-border-radius: 27;
  border-radius: 27px;
  font-family: Arial;
  color: #ffffff !important;
  font-size: 10px;
  padding: 5px 10px 5px 10px;
  text-decoration: none;
}
.show-more-button {   /*for Locks page*/
background: #27EA8A;
  background-image: -webkit-linear-gradient(top, #27EA8A, #20a844);
  background-image: -moz-linear-gradient(top, #27EA8A, #20a844);
  background-image: -ms-linear-gradient(top, #27EA8A, #20a844);
  background-image: -o-linear-gradient(top, #27EA8A, #20a844);
  background-image: linear-gradient(to bottom, #27EA8A, #20a844);
    -webkit-border-radius: 27;
  -moz-border-radius: 27;
  border-radius: 27px;
  font-family: Arial;
  color: #ffffff !important;
  font-size: 10px;
  padding: 5px 10px 5px 10px;
  text-decoration: none;
}

.show-clear-button {
background: #34d93f;
background-image: -webkit-linear-gradient(top, #34d93f, #2bb83b);
background-image: -moz-linear-gradient(top, #34d93f, #2bb83b);
background-image: -ms-linear-gradient(top, #34d93f, #2bb83b);
background-image: -o-linear-gradient(top, #34d93f, #2bb83b);
background-image: linear-gradient(to bottom, #34d93f, #2bb83b);
-webkit-border-radius: 27;
-moz-border-radius: 27;
border-radius: 27px;
font-family: Arial;
color: #ffffff !important;
font-size: 14px;
padding: 7px 20px 7px 20px;
position: static;
text-decoration: none;}

.show-conditions-button {

background: #34d93f;
  background-image: -webkit-linear-gradient(top, #34d93f, #2bb83b);
  background-image: -moz-linear-gradient(top, #34d93f, #2bb83b);
  background-image: -ms-linear-gradient(top, #34d93f, #2bb83b);
  background-image: -o-linear-gradient(top, #34d93f, #2bb83b);
  background-image: linear-gradient(to bottom, #34d93f, #2bb83b);
  -webkit-border-radius: 27;
  -moz-border-radius: 27;
  border-radius: 27px;
  font-family: Arial;
  color: #ffffff !important;
  font-size: 14px;
  padding: 7px 20px 7px 20px;
  position: relative;
  text-decoration: none;}
  
.show-conditions-button-red {

background: #ed3f18;
  background-image: -webkit-linear-gradient(top, #ed3f18, #ed3f18);
  background-image: -moz-linear-gradient(top, #ed3f18, #ed3f18);
  background-image: -ms-linear-gradient(top, #ed3f18, #ed3f18);
  background-image: -o-linear-gradient(top, #ed3f18, #ed3f18);
  background-image: linear-gradient(to bottom, #ed3f18, #ed3f18);
  -webkit-border-radius: 27;
  -moz-border-radius: 27;
  border-radius: 27px;
  font-family: Arial;
  color: #ffffff !important;
  font-size: 14px;
  padding: 7px 20px 7px 20px;
  position: relative;
  text-decoration: none;}
 
.show-webemail-button {

background: #34d93f;
  background-image: -webkit-linear-gradient(top, #34d93f, #2bb83b);
  background-image: -moz-linear-gradient(top, #34d93f, #2bb83b);
  background-image: -ms-linear-gradient(top, #34d93f, #2bb83b);
  background-image: -o-linear-gradient(top, #34d93f, #2bb83b);
  background-image: linear-gradient(to bottom, #34d93f, #2bb83b);
  -webkit-border-radius: 27;
  -moz-border-radius: 27;
  border-radius: 27px;
  font-family: Arial;
  color: #ffffff !important;
  width: 40%;
  font-size: 14px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
}

.show-website-button {
	background: #34d93f;
	  -webkit-border-radius: 27;
	  -moz-border-radius: 27;
	  border-radius: 27px;
	  font-family: Arial;
	  color: #ffffff !important;
	  font-size: 14px;
	  padding: 10px 20px 10px 20px;
	  text-decoration: none;
	  /*following to override defaults from F7 so button matches otehrs on popup...*/
	  width: 55%;
	  box-shadow:  0px 0px #ffffff !important;
	  border-right: 0px #ffffff !important;
	  border-bottom: 0px #ffffff !important;
	  border-top: 0px #ffffff !important;
	  border-left: 0px #ffffff !important;
	}

.show-onMap-button {
  background: #41B0F6;
    -webkit-border-radius: 27;
    -moz-border-radius: 27;
    border-radius: 27px;
    font-family: Arial;
    color: #ffffff !important;
    font-size: 14px;
    padding: 10px 20px 10px 20px;
    text-decoration: none;
    /*following to override defaults from F7 so button matches otehrs on popup...*/
    width: 55%;
    box-shadow:  0px 0px #ffffff !important;
    border-right: 0px #ffffff !important;
    border-bottom: 0px #ffffff !important;
    border-top: 0px #ffffff !important;
    border-left: 0px #ffffff !important;
  }

.show-accordian-button {
  background: #58D3F7;
    -webkit-border-radius: 27;
    -moz-border-radius: 27;
    border-radius: 27px;
    font-family: Arial;
    color: black !important;
    font-size: 15px;
    padding: 10px 20px 10px 20px;
    display: block; /* Makes the button a block element */
    margin: 0 auto; /* Centers horizontally */
    text-decoration: none;
    /*following to override defaults from F7 so button matches others on popup...*/
    width: 80%;
    box-shadow:  0px 0px #ffffff !important;
    border-right: 0px #ffffff !important;
    border-bottom: 0px #ffffff !important;
    border-top: 0px #ffffff !important;
    border-left: 0px #ffffff !important;
  }

// show-weather-button (renamed show-weather-green) at end with other related css
	
.show-tides-button {

background: -moz-linear-gradient(268deg, rgba(153,218,255,1) 0%, rgba(0,128,128,1) 100%); /* ff3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(153,218,255,1)), color-stop(100%, rgba(0,128,128,1))); /* safari4+,chrome */
background: -webkit-linear-gradient(268deg, rgba(153,218,255,1) 0%, rgba(0,128,128,1) 100%); /* safari5.1+,chrome10+ */
background: -o-linear-gradient(268deg, rgba(153,218,255,1) 0%, rgba(0,128,128,1) 100%); /* opera 11.10+ */
background: -ms-linear-gradient(268deg, rgba(153,218,255,1) 0%, rgba(0,128,128,1) 100%); /* ie10+ */
	-webkit-border-radius: 27;
  -moz-border-radius: 27;
  border-radius: 27px;
  font-family: Arial;
  color: #ffffff !important;
  font-size: 14px;
  padding: 7px 20px 7px 20px;
  text-decoration: none;}

.tidebuttons {
	width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.streamLineRed{
  width: 125px;
  background: red;
  height: 4px;
}

.streamLineYellow{
  width: 125px;
  background: yellow;
  height: 4px;
}

.streamLineGreen{
  width: 125px;
  background: green;
  height: 4px;
}

.streamLineBlue{
  width: 125px;
  background: blue;
  height: 4px;
}

.streamLineBlack{
  width: 125px;
  background: black;
  height: 4px;
}

.streamLineAqua{
  width: 125px;
  background: aqua;
  height: 4px;
}

.streambuttonstrong {
	width: 250px;
	background-color: red;
	border-radius: 27px;
	font-family: Arial !important;
	color: #ffffff !important;
	text-align: center;
}

.streammoving {
	width: 250px;
	background-color: #ffcc00;
	border-radius: 27px;
	font-family: Arial !important;
	color: #ffffff !important;
	text-align: center;
}

.streamgreen {
  width: 250px;
  background-color: green;
  border-radius: 27px;
  font-family: Arial !important;
  color: #ffffff !important;
  text-align: center;
}


.bridgecaution {
	width: 150px;
	background-color: red;
	font-family: Arial !important;
	color: #ffffff !important;
	text-align: center;
}
.bridgeyellow {
	width: 150px;
	background-color: yellow;
	font-family: Arial !important;
	color: #ffffff !important;
	text-align: center;
}
.bridgegreen {
	width: 150px;
	background-color: green;
	font-family: Arial !important;
	color: #ffffff !important;
	text-align: center;
}
.whatsnewtitle {
	margin: 0 16px;
	line-height: 1.2;
	text-align: left;
	font-size: 20px;
	
}.whatsnewversion {
	margin: 0 16px;
	line-height: 1.2;
	text-align: left;
	font-size: 15px;
	padding-bottom: 15px;
}

table.mapicons {
  width: 585px;
  background-color: #FFFFFF;
  border-collapse: collapse;
  border-width: 1px;
  border-color: #FFCC00;
  border-style: solid;
  color: #000000;
}

table.mapicons td, table.mapicons th {
  border-width: 1px;
  border-color: #FFCC00;
  border-style: solid;
  padding: 3px;
  height: 30px;
}

table.mapicons thead {
  background-color: #FFCC00;
}

li { /* used to space out line items in popup */
   margin:8px 8px; 
 line-height: 1.2;  
}


/* Following for Light/Dark Mode changes generate gradients at mycolor.space */

/* page background images    NOTE: move images to css/images */
÷
/* FA icon colors */

.jpThamesIcon{
	color: red;
	}
/* @media (prefers-color-scheme: dark) {
.jpThamesIcon{
	color: #ef4444;
	} */
}

/*Set colour for background of selected overlays in mapall*/

.facilitiescolor { //NO LONGER USED!! see code in buttonXXX.js
	background-color: #F0F8FF;
}
/* @media (prefers-color-scheme: dark) {
.facilitiescolor {
	background-color: grey;
}
} */

.facilitiescoloroff { //NO LONGER USED!! see code in buttonXXX.js
	background-color: #FFF;
}
/* @media (prefers-color-scheme: dark) {
.facilitiescoloroff {
	background-color: #1c1c1c;
}
} */

.helpAdvice {
	background-color: blue;
}
/* @media (prefers-color-scheme: dark) {
.helpAdvice {
	background-color: #1c1c1c;
}
} */
.advicePagePadding{
  padding-left: 5px;
}

.icon-center-fix {
  position: absolute;
  top: 30%;
  left: 32%;
  transform: translate(-49%, -49%);
  font-size: 1.75rem;
  line-height: 1.75rem;
}

.icon-center-fix-map {
  position: absolute;
  top: 30%;
  left: 32%;
  transform: translate(-49%, -49%);
  font-size: 1.75rem;
  line-height: 1.75rem;
}


/* === iOS 26–style Close Button (Framework7-safe) === */
.ios26-close {

  display: inline-flex !important;
  align-items: center;
  justify-content: center !important;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffffff !important;
  color: #000000 !important;
  border: 0px solid #ffffff !important; //only way to get rid of black border coming from unknown!!!
  font-size: 22px;
  font-weight: 600;
  /* line-height: 1; */
  padding: 0px !important;
  line-height: 40px;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 20000; /* above panels & overlays */
}

/* Optional: slightly bold “X” centering tweak */
.ios26-close::before {
  font-family: 'Framework7 Icons' !important;
  content: 'xmark'; /* use icon name, not Unicode */  font-weight: normal;
  font-size: 24px;
  position: relative;
  //top: -1px;
  left: 1px;
  display: inline-block;
}

/* === Smaller Variant - used to close more info popup in Locks */
.ios26-close.small {
  /* width: 25px !important;
  height: 25px !important; */
  font-size: 10px !important;
  font-weight: 600;
  //border: 1px solid #000000 !important;
  //border-radius: 50%;
  min-width: 25px !important;
  padding: 0px !important;
  line-height: 0px;
  margin-right: 0px;
}

.ios26-close.small::before {
  font-family: 'Framework7 Icons' !important;
  content: 'xmark'; /* use icon name, not Unicode */  font-weight: lighter;
  font-size: large;
  position: relative;
  top: 1px; /* optical centering */
  left: 0.5px;

  /* font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif; */
}

.ios26-close {
  pointer-events: auto !important;
  touch-action: manipulation;
}

.popup-w3w {
  display: flex;
  flex-direction: column;
  height: 100vh; /* full viewport */
}

.popup-w3w .view {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.popup-w3w .page {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.popup-w3w .navbar {
  flex: 0 0 auto; /* keeps navbar height */
  z-index: 2;
}

.popup-w3w .page-content {
  flex: 1 1 auto;       /* take remaining space */
  display: flex;
  flex-direction: column;
  padding: 0;           /* remove default padding */
}

.popup-w3w iframe {
  flex: 1 1 auto;       /* fill page-content */
  width: 100%;
  border: none;
  display: block;
  min-height: 0;        /* very important for flex children in Safari */
}

.popup-w3w .navbar .right {
  background: transparent !important;
  width: auto !important;
  height: auto !important;
  flex: 0 0 auto !important;
}

.popup-w3w .navbar .right a,
.popup-w3w .navbar .right .link,
.popup-w3w .navbar .right .icon-only {
  background: transparent !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}


/* Force the table and first column to be left aligned */
.popup.otherPages .tableForPopup table {
  width: 100%;
  text-align: left !important;   /* table-level alignment */
}

/* Column 1 */
.popup.otherPages .tableForPopup table td:first-child,
.popup.otherPages .tableForPopup table th:first-child {
  text-align: left !important;
  padding-left: 0 !important;   /* remove Framework7 padding */
}

/* Make links inside column 1 full width and left-aligned */
.popup.otherPages .tableForPopup table td:first-child a {
  display: flex !important;
  justify-content: flex-start !important; /* force left */
  align-items: center;
  gap: 10px;
  text-align: left !important;
  color: #000 !important;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 0 !important;   /* adjust vertical spacing */
}

/* Ensure icons stay properly aligned */
.popup.otherPages .tableForPopup table td:first-child i {
  font-size: 1.6em;
  min-width: 32px;
  text-align: center;
  margin-right: 8px;
}

/* Hover / tap animation */
.ios26-close:hover {
  transform: scale(1.05);
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

/* Remove all default padding/margin */
.no-padding-popup .page-content,
.no-padding-popup .page,
.no-padding-popup .view {
  padding: 0 !important;
  margin: 0 !important;
  height: 100%;
  overflow: hidden;
}

  /* Safe FAB styling */
.safe-fab {
position: fixed !important;
bottom: 20px !important;       /* distance from bottom */
left: 50% !important;          /* center horizontally */
transform: translateX(-50%) !important;
z-index: 99999 !important;     /* always on top */
/* width: 70px !important;
height: 70px !important; */
border-radius: 50% !important;
/* background: #0077b6 !important;  */
display: flex !important;
justify-content: center !important;
align-items: center !important;
box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
}

.safe-fab a {
width: 100% !important;
height: 100% !important;
display: flex !important;
justify-content: center !important;
align-items: center !important;
color: white !important;
font-size: 32px !important;     /* icon size */
text-decoration: none !important;
}

.safe-fab a:active, .safe-fab a:focus {
transform: scale(0.95);
}

.home-fab {
position: fixed !important;
bottom: 20px !important;       /* distance from bottom */
left: 10% !important;          /* center horizontally */
transform: translateX(-50%) !important;
z-index: 99999 !important;     /* always on top */
/* width: 70px !important;
height: 70px !important; */
border-radius: 50% !important;
/* background: #0077b6 !important;  */
display: flex !important;
justify-content: center !important;
align-items: center !important;
box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
}

.home-fab a {
width: 100% !important;
height: 100% !important;
display: flex !important;
justify-content: center !important;
align-items: center !important;
color: white !important;
font-size: 32px !important;     /* icon size */
text-decoration: none !important;
}

.home-fab a:active, .home-fab a:focus {
transform: scale(0.95);
}

.tableForPopup table {
  border: 1px solid #dededf;
  height: auto;
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 1px;
  text-align: left;
}

.tableForPopup th {
  border: 1px solid #dededf;
  background-color: #eceff1;
  color: #000000;
  padding: 5px;
}
.tableForPopup td {
  border: 1px solid #dededf;
  background-color: #ffffff;
  color: #000000;
  padding: 5px;
}

.tableForPopup td:first-child { width: 50%; }
.tableForPopup td:last-child  { width: 50%; }

.tableForPopup td {
  padding: 6px;
  text-align: left;
}

.tableForPopup button,
.tableForPopup a.buttonLike {
  width: 100%;                /* fill cell */
  display: block;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  padding: 0.6em 0;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  color: #fff;
}

.tableForPopup td:first-child a {
  font-size: 22px !important;
  line-height: 1.3 !important;
}


/* Following to style buttons on weather/conditions page */
/* CSS entries names to match output of scrape.php */

@keyframes bounceArrow { /* part of css to animate yellow board arrows */
  0%   { transform: translateY(0); }
  50%  { transform: translateY(6px); }
  100% { transform: translateY(0); }
}

/* .accordion-item-content {
  font-size: 30px !important;
} */

.navbar .title{
  font-size: 25px !important;
}

/* for index.html conditions summary */
#thamesBar {
  display: flex;
  width: 100%;
  height: 16px;
  background: #ddd;
  padding: 0;
  box-sizing: border-box;
}

#thamesBar .marker {
  height: 100%;
  background: #42a5f5; /* default blue */
}

#thamesBar .dummy {
  background: inherit;
}

#fluvialBarContainer {
  display: flex;
  justify-content: center; /* centers the bar horizontally */
  margin-top: 8px;
}

#fluvialBar {
  display: flex;
  height: 16px;
  /* width will be automatic depending on number of segments */
}

#fluvialBar .segment {
  width: 150px;
  height: 100%;
  margin-right: 1px;
  /* default hidden; color applied only when JSON provides a value */
}

#fluvialBar .segment:last-child {
  margin-right: 0;
}

.redStyle { /*for Weather page*/
background: red;
  -moz-border-radius: 27;
  border-radius: 27px;
  font-family: Arial;
  color: #000000 !important;
  width: 60%;
  font-size: 14px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
}
.redStyle::after { /* to match space taken by up/down arrow in yellow*/
  content: "\00a0"; 
  margin-left: 6px;
  color: black !important;
  font-size: 1.2em;
}

.greenStyle {
  background: #34d93f;
  border-radius: 27px;
  font-family: Arial;
  color: #000000 !important;
  width: 60%;
  font-size: 14px;
  padding: 10px 20px;
  text-decoration: none;
}

.greenStyle::after {
  content: "✔";
  color: white;
  margin-left: 6px;
  display: inline-block;
  width: 1em;
  line-height: 1;
  vertical-align: middle;
}

.greenStyleNoTick {
  background: #34d93f;
  border-radius: 27px;
  font-family: Arial;
  color: #000000 !important;
  width: 60%;
  font-size: 14px;
  padding: 10px 20px;
  text-decoration: none;
}

.yellowStyleU { /*for Weather page*/
background: #ffeb3b;
  -moz-border-radius: 27;
  border-radius: 27px;
  font-family: Arial;
  color: #000000 !important;
  width: 60%;
  font-size: 14px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
}

a.yellowStyleU::after {
  content: "↑";
  display: inline-block;
  margin-left: 6px;
  color: black;
  font-size: 1.2em;
  animation: bounceArrow 1.0s ease-in-out infinite;
}
a.yellowStyleU:hover::after {
  transform: translateY(6px); /* more visible movement */
}


.yellowStyleD { /*for Weather page*/
background: #ffeb3b;
  -moz-border-radius: 27;
  border-radius: 27px;
  font-family: Arial;
  color: #000000 !important;
  width: 60%;
  font-size: 14px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
}

a.yellowStyleD::after {
  content: "↓";
  display: inline-block;
  margin-left: 6px;
  color: black;
  font-size: 1.2em;
  animation: bounceArrow 1.0s ease-in-out infinite;
}
a.yellowStyleD:hover::after {
  transform: translateY(6px); /* more visible movement */
}

.yellowStyleFluvial { /*for tidal buttons page*/
background: #ffeb3b;
  -moz-border-radius: 27;
  border-radius: 27px;
  font-family: Arial;
  color: #000000 !important;
  width: 60%;
  font-size: 14px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
}
.yellowStyleFluvial::after { /* to match space taken by up/down arrow in yellow*/
display: inline-block;
width: 1em; /* Adjust as needed */
visibility: hidden; /* Hidden by default */
content: "\00a0"; /* Non-breaking space placeholder */
}


.blueStyle { /*for Weather page*/
background: #42a5f5;
  -moz-border-radius: 27;
  border-radius: 27px;
  font-family: Arial;
  color: #000000 !important;
  width: 60%;
  font-size: 14px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
}
.blueStyle::after { /* to match space taken by up/down arrow in yellow*/
display: inline-block;
width: 1em; /* Adjust as needed */
visibility: hidden; /* Hidden by default */
content: "\00a0"; /* Non-breaking space placeholder */
}

.greyStyle { /*for Teddington in Weather page*/
background: #bfc5c9;
  -moz-border-radius: 27;
  border-radius: 27px;
  font-family: Arial;
  color: #000000 !important;
  width: 60%;
  font-size: 14px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
}
.greyStyle::after { /* to match space taken by up/down arrow in yellow*/
display: inline-block;
width: 1em; /* Adjust as needed */
visibility: hidden; /* Hidden by default */
content: "\00a0"; /* Non-breaking space placeholder */
}

.blueStyleFluvial { /*for tidal buttons page*/
background: #42a5f5;
  -moz-border-radius: 27;
  border-radius: 27px;
  font-family: Arial;
  color: #000000 !important;
  width: 60%;
  font-size: 14px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
}
.blueStyleFluvial::after { /* to match space taken by up/down arrow in yellow*/
display: inline-block;
width: 1em; /* Adjust as needed */
visibility: hidden; /* Hidden by default */
content: "\00a0"; /* Non-breaking space placeholder */
}

.blackStyleFluvial { /*for tidal buttons page*/
background: black;
  -moz-border-radius: 27;
  border-radius: 27px;
  font-family: Arial;
  color: #ffffff !important;
  width: 60%;
  font-size: 14px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
}
.blackStyleFluvial::after { /* to match space taken by up/down arrow in yellow*/
display: inline-block;
width: 1em; /* Adjust as needed */
visibility: hidden; /* Hidden by default */
content: "\00a0"; /* Non-breaking space placeholder */
}

/* following for help/advice popup */
.greenStyleHelp { /*for Weather page*/
background: #34d93f;
  -webkit-border-radius: 27;
  -moz-border-radius: 27;
  border-radius: 27px;
  font-family: Arial;
  color: #000000 !important;
  width: 60%;
  font-size: 25px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
}

.redStyleAdvice { /*for Weather page*/
background: red;
  -webkit-border-radius: 27;
  -moz-border-radius: 27;
  border-radius: 27px;
  font-family: Arial;
  color: #000000 !important;
  width: 60%;
  font-size: 25px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
}

.blueStyleHome { /*for Weather page*/
background: #42a5f5;
  -webkit-border-radius: 27;
  -moz-border-radius: 27;
  border-radius: 27px;
  font-family: Arial;
  color: #000000 !important;
  width: 60%;
  font-size: 25px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
}

.blackStyleAbout { /*for Weather page*/
background: black;
  -webkit-border-radius: 27;
  -moz-border-radius: 27;
  border-radius: 27px;
  font-family: Arial;
  color: white !important;
  width: 60%;
  font-size: 25px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
}



#weatherPopup p {
  margin: 4px 0;
  line-height: 1.25;
}
#weatherPopup img {
  line-height: 0 !important;
}


  .navbar .title {
  text-align: center !important;
  width: 100%;
}	

/* Remove iOS/MD circle for navbar icons */
.navbar .link.icon-only,
.navbar .link.icon-only i {
  background-color: transparent !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
}
.ios .navbar .link.icon-only,
.ios .navbar .link.icon-only i {
  background: none !important;
  box-shadow: none !important;
}
.navbar .icon-button,
.navbar .icon-button i {
  background: none !important;
  box-shadow: none !important;
}


/* following to remove the blue tinge on (fab) buttons */
:root {
  --f7-glass-shadow-fab: inset -3px -3px 0px -3.5px #fff,
                         inset 3px 3px 0px -3.5px #fff,
                         inset 0px 0px 0px 0.5px rgba(255, 255, 255, 0.5),
                         inset 3px 3px 10px -2px rgba(0,0,0,0.15),
                         inset -3px -3px 10px -2px rgba(0,0,0,0.15),
                         inset 0 0 5px 1px #fff,
                         0 0 15px 4px rgba(0,0,0,0.2);
}


/* Ensure image is flush to top */
/* .popup-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* or 'contain' if you want full image visible */
} */

