/* FLHurricane home page mobile layout.
 * Loaded only by index.php at viewport widths <= 760px so the desktop site
 * and shared forum pages keep their legacy layout unchanged.
 */

html,
body {
	max-width: 100%;
	overflow-x: hidden;
}

body {
	font-size: 14px;
	background-color: #fff;
}

/* Stack the legacy absolute-positioned header rows instead of overlaying them. */
#cfhc_mainpageheader {
	position: relative;
	width: 100%;
	background: #003366;
}

#cfhc_header {
	position: relative;
	top: auto;
	left: auto;
	right: auto;
	float: none;
	box-sizing: border-box;
	width: 100%;
	height: 60px;
	padding-right: 158px;
	overflow: hidden;
}

#cfhc_header h1 {
	box-sizing: border-box;
	margin: 0;
	padding: 7px 6px 5px 8px;
	font-size: 15px;
	line-height: 1.25;
}

#headertagline {
	display: none;
}

#floatersat {
	top: 0;
	right: 0;
	width: 106px;
	height: 60px;
}

#floatersat img {
	display: block;
	max-width: 106px;
}

.cfhc-js #mobile-menu-toggle {
	display: block !important;
	position: absolute;
	top: 8px;
	right: 112px;
	z-index: 4;
	box-sizing: border-box;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 6px;
	background: #1c4885;
	color: #fff;
	cursor: pointer;
}

#mobile-menu-toggle:hover,
#mobile-menu-toggle:focus-visible {
	background: #2e6aad;
	outline: 2px solid #fff;
	outline-offset: 1px;
}

.mobile-menu-icon,
.mobile-menu-icon::before,
.mobile-menu-icon::after {
	position: absolute;
	left: 9px;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	content: "";
	transition: transform 0.15s ease, top 0.15s ease, opacity 0.15s ease;
}

.mobile-menu-icon {
	top: 18px;
}

.mobile-menu-icon::before {
	top: -6px;
	left: 0;
}

.mobile-menu-icon::after {
	top: 6px;
	left: 0;
}

body.mobile-menu-open .mobile-menu-icon {
	background: transparent;
}

body.mobile-menu-open .mobile-menu-icon::before {
	top: 0;
	transform: rotate(45deg);
}

body.mobile-menu-open .mobile-menu-icon::after {
	top: 0;
	transform: rotate(-45deg);
}

#p-personal {
	position: relative;
	top: auto;
	left: auto;
	box-sizing: border-box;
	width: 100%;
	height: auto;
	min-height: 24px;
	font-size: 12px;
}

#p-personal div.pBody,
#p-personal ul,
#p-personal li {
	height: auto;
	min-height: 24px;
}

#p-personal ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

#p-personal li {
	float: none;
	line-height: 24px;
}

#p-personal li a {
	display: block;
	padding: 0 8px;
}

#cfhc_mainpageheader > br {
	display: none;
}

#titlemessageline,
#lastcaneline {
	position: relative;
	top: auto;
	left: auto;
	right: auto;
	float: none;
	box-sizing: border-box;
	width: 100%;
	height: auto;
	min-height: 0;
	padding: 5px 8px;
	text-align: left;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

#titlemessageline {
	background: #1c4885;
}

#titlemessage {
	display: block;
	padding: 0;
	font-size: 13px;
}

#lastcaneline {
	background: #234167;
	font-size: 11px;
}

#mobile-current-storms {
	display: block !important;
	box-sizing: border-box;
	width: 100%;
	padding: 6px 8px;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	background: #234167;
	color: #fff;
	text-align: center;
	line-height: 1.3;
}

#mobile-current-storms > strong {
	display: block;
	margin-bottom: 3px;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

#mobile-current-storm-list a {
	color: #fff;
}

#mobile-current-storm-list .cslstormname,
#mobile-current-storm-list .csladv,
#mobile-current-storm-list .cslnormal {
	margin-right: auto;
	margin-left: auto;
}

#mobile-current-storm-list img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 4px auto;
}

#mobile-current-storms.has-active-storms + #lastcaneline {
	display: none;
}

.no-active-storms-message {
	font-size: 12px;
}

/* Remove the desktop three-column offset and give news the full viewport. */
#cfhc_main {
	margin-top: 0;
	width: 100%;
}

#cfhc_content {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	border-left: 0;
	border-right: 0;
}

#cfhc_contentwrapper {
	float: none;
	width: 100%;
	margin: 0;
}

#cfhc_contentholder,
#cfhc_weatheradvisorypopupcontainer,
#mainnewsandblogcontainer,
#newscontainer {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	max-width: 100%;
}

#cfhc_weatheradvisorypopupcontainer {
	overflow: hidden;
	line-height: 1.35;
}

#cfhc_weatheradvisorypopupcontainer table {
	width: 100% !important;
	max-width: 100% !important;
	table-layout: auto;
}

#cfhc_weatheradvisorypopupcontainer td,
#cfhc_weatheradvisorypopupcontainer th {
	overflow-wrap: anywhere;
}

/* The article body has an inline 190px desktop sidebar margin. */
#mainnewsandblogcontainer .articlecontent {
	box-sizing: border-box;
	width: auto !important;
	max-width: 100%;
	margin-right: 0 !important;
	overflow-wrap: anywhere;
}

.cfhc_newsheader {
	box-sizing: border-box;
	min-height: 72px;
	padding: 7px 8px 8px;
	background-position: center;
}

.cfhc_newsheader img.icon {
	margin: 0 9px 5px 0;
}

.cfhc_newsheader h1 {
	margin: 0 0 4px;
	font-size: 22px;
	line-height: 1.05;
}

.cfhc_newsheader h4 {
	margin: 0;
	font-size: 13px;
	line-height: 1.35;
}

#mainnewsandblogcontainer img,
#mainnewsandblogcontainer video,
#mainnewsandblogcontainer iframe,
#cfhc_weatheradvisorypopupcontainer img {
	max-width: 100% !important;
	height: auto;
}

#mainnewsandblogcontainer table {
	max-width: 100% !important;
}

/* The script moves this same menu below the header on mobile; keep it collapsed
 * there instead of leaving it at the bottom of the news. */
#leftmenucontainer {
	position: static;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	border-bottom: 3px solid #3c78b5;
	background: #f7f7f5;
}

.cfhc-js #leftmenucontainer {
	display: none;
}

.cfhc-js body.mobile-menu-open #leftmenucontainer {
	display: block;
}

#leftmenucontainer .flh-nav,
#leftmenucontainer .portlet {
	box-sizing: border-box;
	width: 100%;
}

#leftmenucontainer .flh-nav {
	font-size: 100%;
}

#rightnav,
#rightnav-expand {
	display: none !important;
}

#cfhc_mainpagefooter {
	clear: both;
	width: 100%;
}

