﻿/*	Hudson Bay Mountain Weather
*	husonbaymountainweather.com
*	Boostrap 5.3.0
*	October 15, 2025
*/
/* ***** General Content ***** */
/* padding on left for all container-xxl on screens less than 1400px */
@media (max-width: 1399px) {
  	.container-xxl, .container-fluid {
  		padding-left: 1em;
  	}
}
a {color: #22439A;text-decoration:none;font-weight: 300;-webkit-transition: all .2s ease-in-out;-moz-transition: all .2s ease-in-out;-ms-transition: all .2s ease-in-out;-o-transition: all .2s ease-in-out;transition: all .2s ease-in-out;}
a:active, a:focus {outline: 0; border: none; -moz-outline-style: none;}
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6 {font-weight:500;} /* originally at 300 */
/* modify alert text color - alerts use the subtle variant */
.alert-primaryinfo {background-color:#b7c9e2 !important;}
.alert {color: #222 !important;}
.alert-link {color: #222 !important;}
/* modify btn-primary class color background and text */
.btn-primary {border:none;background-color:#3366cc !important;color: #fff !important;font-weight: 300 !important;}
.btn-primary:hover {background-color:#5e81ac !important;color: #fff !important;}
/* modify btn-info class color background and text */
.btn-info {border:none;background-color:#b7c9e2 !important;color: #034F84 !important;font-weight: 500 !important;}
.btn-info:hover {background-color:#5e81ac !important;color: #fff !important;}
/* modify table-dark for background color */
.table-dark {
  --bs-table-color: #fff;
  --bs-table-bg: #AC5E61;
  --bs-table-border-color: #383838;
  --bs-table-striped-bg: #2d2d2d;
  --bs-table-striped-color: #fff;
  --bs-table-active-bg: #383838;
  --bs-table-active-color: #fff;
  --bs-table-hover-bg: #333333;
  --bs-table-hover-color: #fff;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}
.table-special {
/* based on table-primary and primary-subtle colours line 1938 */
  --bs-table-color: #00384a; /* Tottenham Navy */
  --bs-table-bg: RGB(216, 222, 233, 0.8); /* steel blue transparency 155*/
  --bs-table-border-color: #1a98c1;
  --bs-table-striped-bg: #d8dee9; /* light steel blue */
  --bs-table-striped-color: #00384a; /* Tottenham Navy */
  --bs-table-active-bg: #1a98c1;
  --bs-table-active-color: #fff;
  --bs-table-hover-bg: #1395bf;
  --bs-table-hover-color: #fff;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}
.table-success-subtle {
 /* based on table-success and success-subtle colours line 1966*/
  --bs-table-color: #1b452a;
  --bs-table-bg: #d9eee1;
  --bs-table-bg: rgba(217, 238, 225, 0.8);
  --bs-table-border-color: #56b479;
  --bs-table-striped-bg: #e2e2e2;
  --bs-table-striped-color: #1b452a;
  --bs-table-active-bg: #56b479;
  --bs-table-active-color: #fff;
  --bs-table-hover-bg: #51b275;
  --bs-table-hover-color: #fff;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}
.table-success-modgreen {
 /* based on table-success and a different green colours line 1966*/
  --bs-table-color: #1b452a;
  --bs-table-bg: #438c73;
  --bs-table-bg: rgba(67, 140, 115, 0.8); 
  --bs-table-border-color: #56b479;
  --bs-table-striped-bg: #e2e2e2;
  --bs-table-striped-color: #1b452a;
  --bs-table-active-bg: #56b479;
  --bs-table-active-color: #fff;
  --bs-table-hover-bg: #51b275;
  --bs-table-hover-color: #fff;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}
/* local enhancements */
.rounded {border-radius: 5px !important;}
div.hbm-half-bottom-margin p {margin-bottom: 0.5rem;}
.hbm-small {font-size: 0.9rem;}
.hbm-smaller {font-size: 0.75rem;}
.hbm-tiny, .local-smaller {font-size: .675rem;}
@media (min-width: 1400px) {
  	#hbm-smaller {font-size: 0.85rem;}
}
.localPoint {cursor: pointer;}
/* ***** Banner ***** */
header#weather-banner {
	background-image: url('../img/core/wxbackground.jpg');
	background-repeat: no-repeat;
	background-position: center center;
}
/* hbm-wxsnip styles and placement */
#hbm-wxsnip, #hbm-wxsnip-alt {
	font-weight: 500;
	min-width:125px;
}
@media (min-width: 992px) {
  	#hbm-logopos {position:absolute; top:1rem;left:0;}
  	#hbm-wxsnip {position:absolute; top:1.26rem;right:0;}
  	#hbm-wxsnip-alt {position:absolute; top:.26rem;right:0;}
}
/* ***** Menu ***** */
/* menu color when active etc. */
.navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link.active i  {
  color: #80daeb; /* medium sky blue */
}
/* menu dropdown-item spacing */
#hbmMenuItems li a {
padding-top: 5px !important;
padding-bottom: 5px !important;
margin-top: 5px !important;
margin-bottom: 5px !important;
}

/* fix scroll to bottom (dropdown items extending beyond viewport mobile devices) */
@media (max-width: 992px) {
  	.navbar {overflow: auto;max-height: 85vh; align-items: start;}
}
@media (max-width: 320px) {
	#local-navbar-brand-text {
		display: none;	
	}
}
li#hbmw-menu-seperator {
	border-bottom: none;
	border-right: 1px dashed var(--bs-secondary-border-subtle);
}
@media (max-width: 991px) {
	li#hbmw-menu-seperator {
		border-right: none;
		border-bottom: 1px dashed var(--bs-secondary-border-subtle);
	}	
}
/* sponsor image sizing */
.supporter {
	height:48px;
	width:auto;
	-webkit-transition: transform 0.5s ease-out;
	transition: transform 0.5s ease-out;	
}
.supporter:hover {auto;transform:scale(1.3)}
@media (max-width: 575px) {
	.supporter {height:32px; width:auto;}
}
/* tooltip start at line 5769 */
.tooltip {
  --bs-tooltip-font-size: 0.8rem; /*0.875rem;*/
  --bs-tooltip-color: var(--bs-white);
  --bs-tooltip-bg: #415a77; /* var(--bs-gray-700); */
  --bs-tooltip-border-radius: 5px; /*var(--bs-border-radius);*/
  --bs-tooltip-opacity: 0.95; /*0.9;*/
  /*font-family: Roboto;*/
}
.hbmw-tooltip-line {line-height:1;margin:3px 0;border-top: 1px solid #ececec;}

/*	Alternative box background colors using the alert style ***** */
.alert-green {
	color: #fcfcfc;
	background-color: #18bc9c;
}
.alert-blue {
	color: #fcfcfc;
	background-color: #3e9ddc;
}
.alert-yellow {
	color: #fcfcfc;
	background-color: #f39c12;
}
.alert-red {
	color: #fcfcfc;
	background-color: #e74c3c;
}
.alert-orange {
	color: #fcfcfc;
	background-color: #ff6600;
}

/* ***** Current Conditions ***** */
.cur-icon {
	/*width:64px; height:auto;*/
	width:72px; height:auto;
}

/* // Footer ------------------------------------------------*/
/*logo divider */
#hbmw-footer {
	/* Controls the positioning and whitespace around the logo */
	left: 48.5% !important;
	padding: 20px;
	background: #fff;
}
@media (max-width: 992px) {
	#hbmw-footer {
		left: 47% !important;
	}
}
#footer {background:url(../img/core/mountain-landscape.png) repeat-x left bottom;}
.forecast-providers {height:32px; width:auto;}

/* scroll to top */
.scrollToTop{
	padding:0px; 
	text-decoration: none;
	position:fixed;
	right:5px;
	bottom: 10px;
	display:none;
	opacity: 0.6;
	filter:Alpha(opacity=60)
}
.scrollToTop:hover{
	text-decoration:none;
}
@media (max-width: 767px) {
	.scrollToTop img {
		width: 48px; height: auto;	
	}
}
/* scroll to top */
