/* Fluid layout for the public site. Desktop rules in all.css stay in place above 980px. */

.nav-toggle {
	display: none;
}

iframe,
embed,
object,
video {
	max-width: 100%;
}

#popup-email {
	width: 440px;
	max-width: calc(100vw - 32px) !important;
	padding: 0;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 22px 50px rgba(8, 28, 58, 0.38);
	overflow: hidden;
	box-sizing: border-box;
	color: #243140;
}
#popup-email .close-holder {
	right: 8px;
	top: 10px;
	z-index: 2;
}
#popup-email .close {
	width: 32px;
	height: 32px;
	text-indent: 0;
	background: none;
	color: #fff;
	font-size: 0;
	line-height: 30px;
	text-align: center;
	text-decoration: none;
	border-radius: 4px;
}
#popup-email .close:before {
	content: "\00d7";
	font-size: 28px;
	font-weight: normal;
	line-height: 30px;
}
#popup-email .close:hover {
	background: rgba(255, 255, 255, 0.16);
}
#popup-email h2 {
	margin: 0;
	padding: 20px 52px 6px 24px;
	background: #1965b1;
	color: #fff;
	font: bold 20px/1.3 Arial, Helvetica, sans-serif;
}
#popup-email .popup-lead {
	margin: 0;
	padding: 0 24px 16px;
	background: #1965b1;
	color: #d6e6f7;
	font: 13px/1.4 Arial, Helvetica, sans-serif;
}
#popup-email form {
	padding: 18px 24px 22px;
}
#popup-email .signup-field {
	margin: 0 0 14px;
}
#popup-email .signup-submit {
	margin: 6px 0 0;
}
#popup-email span.label,
#popup-email span.spacer,
#popup-email span.multiple,
#popup-email span.button {
	float: none;
	display: block;
	width: auto;
	padding: 0;
}
#popup-email span.label {
	margin: 0 0 6px;
	font: bold 13px/1.3 Arial, Helvetica, sans-serif;
	color: #314154;
}
#popup-email span.control {
	display: block;
}
#popup-email input[type="text"],
#popup-email select {
	width: 100%;
	height: 40px;
	margin: 0;
	padding: 8px 10px;
	box-sizing: border-box;
	border: 1px solid #c9d4e0;
	border-radius: 4px;
	background: #fff;
	font: 15px/1.3 Arial, Helvetica, sans-serif;
	color: #243140;
}
#popup-email input[type="text"]:focus,
#popup-email select:focus {
	border-color: #1965b1;
	outline: none;
	box-shadow: 0 0 0 3px rgba(25, 101, 177, 0.18);
}
#popup-email input[type="submit"] {
	width: 100%;
	height: 42px;
	padding: 0 16px;
	border: 0;
	border-radius: 4px;
	background: #1965b1;
	color: #fff;
	font: bold 15px/42px Arial, Helvetica, sans-serif;
	cursor: pointer;
}
#popup-email input[type="submit"]:hover {
	background: #144f8c;
}

@media (max-width: 980px) {
	#wrapper,
	.shadow,
	.shadow-bottom,
	#footer {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	.shadow {
		padding: 0;
		background: #fff;
	}

	.shadow-bottom {
		display: none;
	}

	#wrapper .inner-wrapper {
		margin-bottom: 0;
	}

	#header {
		height: auto;
		padding: 12px 12px 0;
		box-sizing: border-box;
	}

	.logo,
	#header .form-holder,
	.nav {
		position: static;
	}

	.logo {
		display: block;
		margin: 0 0 10px;
	}

	.logo img {
		max-width: 100%;
		height: auto;
	}

	#header .form-holder {
		width: auto;
		margin: 0 0 10px;
	}

	.nav {
		overflow: visible;
	}

	.nav li {
		margin: 0 1px 4px 0;
	}

	#subheader {
		height: auto;
	}

	#splash {
		height: auto !important;
	}

	#splash li {
		position: relative !important;
		width: 100% !important;
	}

	#splash img,
	#subheader img,
	#content img,
	.content-box img,
	.tabs img,
	.photos img,
	#sidebar img {
		max-width: 100%;
		height: auto !important;
	}

	#subheader .info-holder {
		position: relative;
		top: auto;
		left: auto;
		width: auto;
		height: auto;
		margin: 12px;
		background: #f4f8fc;
	}

	#about-page #subheader,
	#products-page #subheader {
		height: auto;
		min-height: 110px;
		background-size: cover;
		background-position: center top;
	}

	h1.title {
		margin-left: 12px;
		margin-right: 12px;
		padding-top: 28px;
		font-size: 24px;
	}

	#main {
		overflow: visible;
		padding: 9px 12px 0;
	}

	#content,
	#content-wide,
	#content.wide,
	#products-page #content,
	#sidebar,
	#products-page #sidebar,
	.tabs .columns .left,
	.tabs .columns .right,
	.photos,
	.descr,
	.copy,
	.wide,
	.row2,
	.product-container,
	.thumbnail,
	.size-box,
	.product-box,
	.img-frame-box,
	.img-frame-box .img-frame-holder {
		float: none;
		width: auto;
		max-width: 100%;
		height: auto;
		margin-right: 0;
	}

	.content-box .right,
	.services {
		float: none;
	}

	.product {
		position: static;
	}

	.content-box,
	.tabs .tabs-content .frame {
		overflow-x: auto;
	}

	.tabs .tabset li,
	.tabs .tabset .tab {
		float: none;
	}

	.tabs .tabset {
		display: flex;
		flex-wrap: wrap;
	}

	.tabs .tabset li {
		flex: 1 1 150px;
		min-width: 140px;
	}

	.tabs .tabset .tab {
		display: block;
		width: auto;
		box-sizing: border-box;
	}

	.sidebox {
		width: auto;
	}

	.sidebox h3 {
		white-space: normal;
	}

	#footer {
		height: auto;
		margin: 16px 0 0;
		padding: 12px;
	}

	#footer .text,
	#footer .info-area,
	.info-area .products,
	.bottomnav {
		float: none;
		width: auto;
	}

	.info-area .products {
		border-left: 0;
		padding: 10px 0 0;
	}

	.bottomnav li {
		float: none;
		display: inline-block;
		margin: 0 10px 6px 0;
	}

	input[type="text"],
	input[type="email"],
	input[type="password"],
	textarea,
	select {
		max-width: 100%;
		box-sizing: border-box;
	}

	#results,
	#cat_table,
	hr.powered {
		width: 100% !important;
		max-width: 100%;
		box-sizing: border-box;
	}

	table {
		max-width: 100%;
	}
}

@media (max-width: 720px) {
	.nav-toggle {
		display: inline-block;
		background: #1965b1;
		color: #fff;
		border: 0;
		padding: 8px 14px;
		margin: 0 0 8px;
		font: bold 14px Arial, Helvetica, sans-serif;
		cursor: pointer;
	}

	.nav {
		display: none;
		margin: 0 0 8px;
	}

	#header.nav-open .nav {
		display: block;
	}

	.nav li,
	.nav li a {
		float: none;
		display: block;
	}

	.nav li {
		margin: 0 0 2px;
	}

	.nav li a {
		padding: 10px 12px;
	}

	.search-form .txt {
		width: 46%;
	}

	.announcement {
		padding-left: 8px;
		padding-right: 8px;
		line-height: 1.4;
	}
}
