/* CSS Document */



html { overflow: -moz-scrollbars-vertical; 
}

body {
	background: #222222 url(images/bg.jpg) repeat-x;
	font-family: Arial, Helvetica, sans-serif;
	margin: 5px 0px 10px;
	color: #444;
}

@media print {
	#nav {
		display: none;
	}
}

a {
	color: #14A7DA;
	font-weight: bold;
	text-decoration: underline;
	scroll-margin-top: 44px; /* Offset because of the top nav */
}

a:hover {
	color: #444;
	text-decoration: underline;
}

a img
{
  border : 0;
}

/* img rounding */
img.rndcrnr {
	border-radius:10px;
}

img.rndbrdr {
	border:1px solid black; 
	border-radius:10px;
}

/* vid rounding */
video.rndcrnr {
	border-radius:10px;
}

.site_main {
	background: #FFF url(images/site_main.jpg) repeat-y;
	background-position: center;
	border-collapse: collapse;
	margin-left: auto;
	margin-right: auto;
	width: 970px;
	text-align: center;
}

.site_main #header {
	background: url(images/header.jpg) no-repeat;
	background-position: center;
	background-size: auto;
	height: 109px;
	max-width: 100%;
	padding: 0px;
}

.site_main #nav {
	background: #FFF url(images/nav_bg.jpg) repeat-x;
	text-align:	center;
	text-transform: uppercase;
}

.nav_fixed {
	position: fixed;
	top: 0;
	width: 100%;
	max-width: 970px;
	background: #FFF url(images/nav_bg.jpg) repeat-x;
	text-align:	center;
	height: 44px;
	text-transform: uppercase;
}

.site_main #nav a {
	color: #FFFFFF;
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
	border-left: 1px solid #74D1F5;
	border-right: 1px solid #066688;
	padding: 12px 14px;
}

.site_main #nav a:hover {
	background: #222222 url(images/nav_bg_over.jpg) repeat-x;
	color: #FFFFFF;
}

.site_main #nav ul {
	list-style: none;
	padding: 9px 0px 13px 0px;
	margin: 0px;
}

.site_main #nav li {
	display: inline;
	margin: 0px -2px;
}

/*  Index Content */

.site_content_idx {
	background: url(images/idx_bg.jpg) no-repeat;
	text-align: left;
	font-size: 12px;
	padding: 10px 210px 10px 30px;
	height: 100%;
}

.site_content_idx h1 {
	color: #14A7DA;
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
	margin: 0px 0px 10px;
	padding: 0px;
}

.site_content_idx h2 {
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
	margin: 0px;
	padding: 0px;
}

.site_content_idx p {
	margin: 10px 0px;
}

.site_content_idx #container { 
	background: url(images/idx_grey_bg.jpg) no-repeat;
	padding: 10px 0px 0px;
} 

.site_content_idx #left {
	float: left;
	border-right: 1px dotted #CCC;
	width: 240px;
	height: 276px;
	margin-bottom: 10px;
}

.site_content_idx #right {
	float: right; 
	border-left: 1px dotted #CCC;
	width: 240px;
	height: 276px;
	margin-bottom: 10px;
}

.site_content_idx #right h1 {
	font-size: 16px;
	text-align: center;
	margin: 0px;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.site_content_idx #middle {
	float: left;
	width: 248px;
	height: 276px;
	border-collapse: collapse;
}

.site_content_idx #left p, .site_content_idx #right p, .site_content_idx #middle p {
	margin: 0px 10px 10px;
}

.site_content_idx #left a, .site_content_idx #right a, .site_content_idx #middle a {
	margin-left: 10px;
}

.site_content_idx #left h1, .site_content_idx #middle h1 {
	font-size: 16px;
	text-align: center;
	padding: 0px 0px 10px;
	margin: 0px;
}

.site_content_idx #left h2, .site_content_idx #right h2, .site_content_idx #middle h2 {
	color: #444;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	margin: 0px 0px 0px 10px;
	padding: 0px 0px 5px;
}

/* */

.idx_header {
	/*color: #14A7DA;*/
	background-image: url('images/page_section_header.png');  
	background-repeat: no-repeat;
	background-size: 100% 100%;
	color: #FFFFFF;
	line-height: 38px;
	text-transform: uppercase;
	font-family: Arial, sans-serif;
	font-size: 16px;
	font-weight: bold;
	margin: 0px;
	padding: 0px;
	height: 38px;
	width: 100%;
	max-width: 730px;
}

/*  End Index Content */

/*  Content */

.site_content {
	background: url(images/content_bg.jpg) no-repeat;
	text-align: left;
	font-size: 12px;
	padding: 10px 30px 10px;
	height: 100%;
}

.site_content h1 {
	color: #14A7DA;
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
	margin: 0px;
	padding: 0px;
}

.site_content h2 {
	/*color: #14A7DA;*/
	background-image: url('images/page_section_header.png');  
	background-repeat: no-repeat;
	background-size: 100% 38px;
	color: #FFFFFF;
	line-height: 38px;
	text-transform: uppercase;
	font-family: Arial, sans-serif;
	font-size: 16px;
	font-weight: bold;
	margin: 0px;
	padding: 0px;
	height: 38px;
	width: auto;
}

.site_content #menu {
	background: url(images/fun_header.jpg) no-repeat;
	background-position: top;
	margin: 0px;
	padding: 8px 10px 10px;
	line-height: 20px;
}

.site_content #menu a {
	background: url(images/arrow.jpg) no-repeat;
	background-position: left;
	text-decoration: none;
	padding-left: 8px;
}

.site_content #menu a:hover {
	background: url(images/arrow_over.jpg) no-repeat;
	background-position: left;
	text-decoration: none;
	padding-left: 8px;
}

.site_content #menu ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
}

.site_content #menu li {
	display: inline;
	margin-right: 8px;
}

.site_content iframe {
	width: 100%;
	height: 100%;
}

.site_content #vid_container {
	text-align: center;
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.site_content #vid_frame {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
    right: 0;
}

.site_content #vid_nav_container {
	display:flex; 
	align-items: center;
	text-align: center;
	width:100%;
}

.site_content #vid_nav_item {
	width:50%;
}

.page_banner td {
	vertical-align: top; 
	text-align: center;
}

.page_banner img {
	padding-bottom: 5px;
}

.associations img {
	float: left;
	margin-left: 43px; 
	border: 0px;
}

.associations li {
	margin-left: -10px;
}

.header {
	background: url(images/fun_header.jpg) no-repeat;
	color: #444;
	font-size: 16px;
	font-weight: bold;
	text-transform: uppercase;
	margin: 0px;
	padding: 10px 10px 0px;
	height: 24px;
}

.header_lower {
	background: url(images/fun_header.jpg) no-repeat;
	color: #444;
	font-size: 16px;
	font-weight: bold;
	margin: 0px;
	padding: 10px 10px 0px;
	height: 24px;
}

.header_half {
	background: url(images/fun_header_half.jpg) no-repeat;
	color: #444;
	font-size: 16px;
	font-weight: bold;
	text-transform: uppercase;
	margin: 0px;
	padding: 10px 10px 0px;
	height: 24px;
}

.header_half_lower {
	background: url(images/fun_header_half.jpg) no-repeat;
	color: #444;
	font-size: 16px;
	font-weight: bold;
	margin: 0px;
	padding: 10px 10px 0px;
	height: 24px;
}

.header_half_sub {
	color: #444;
	font-size: 12px;
	font-weight: bold;
	margin: 0px;
	padding: 0px 2px 10px 2px;
	height: 16px;
}

.header_sub {
	color: #444;
	font-size: 12px;
	font-weight: bold;
	margin: 0px;
	padding: 2px 11px 2px;
	height: 16px;
}

.section {
	color: #444;
	font-size: 16px;
	font-weight: bold;
	text-transform: uppercase;
	margin: 0px;
	padding: 10x 10px 0px;
	height: 50px;
}

.content {
	text-align: left;
	padding: 0px 10px 0px;
	margin: 0px 0px 0px;
}

.content p {
	margin: 0px 0px 15px;
}

.content .icons-flex {
	padding: 0px;
	margin: 20px 0;
}

.icons {
	margin: 0px;
	font-weight: bold;
	text-align: center;
}

.icons img, .icons form {
	border: 0px;
	margin: 0px 15px;
	margin-top: 5px;
}

.icons>div {
	display: inline-block;
	vertical-align: top;
}

.icons table {
	margin: auto;
}

.footer {
	text-align: right;
	margin: 10px;
}

.footer a {
	background: url(images/arrow_up.jpg) no-repeat;
	background-position: right;
	font-size: 10px;
	text-decoration: none;
	padding: 0px 7px 0px 0px;
}

.footer a:hover {
	background: url(images/arrow_up_over.jpg) no-repeat;
	background-position: right;
	padding: 0px 7px 0px 0px;
}

.rfi {
	font-size: 16px;
	text-decoration: none;
	text-align: left;
	padding: 0px 0px 0px 10px;
}

.rsq {
	position: absolute; 
	bottom: 0; 
	right: 0;
	font-size: 12px;
	text-decoration: none;
	text-align: right;
	padding: 0px 0px 0px 0px;
}

.lsq {
	position: absolute; 
	bottom: 0; 
	right: 50%;
	font-size: 12px;
	text-decoration: none;
	text-align: right;
	padding: 0px 0px 0px 0px;
}

/*  End Content */

/*  Footer */
.site_footer {
	background: #222222 url(images/footer_bg.jpg) no-repeat;
	padding: 0px 30px 0px;
	height: 72px;
}

.site_footer #copy {
	float: left;
	font-size: 10px;
	color: #999;
	font-weight: bold;
	margin: 2px 0px 0px;
}

/*  End Footer */

.fltrt { 
	float: right;
	margin: 0px 0px 10px 10px;
}

.idx_fltrt { 
	float: right;
	margin-right: 10px;
}

.idx_fltlft {
	float: left;
	margin-left: 10px;
}

.fltlft {
	float: left;
	margin-right: 10px;
}

.clearfloat {
	clear: both;
    height: 0;
    font-size: 1px;
    line-height: 0px;
}

.clearfloat2 {
	clear: both;
    height: 0px;
    font-size: 1px;
    line-height: 0px;
	display: inline;
}

.anchor {
	display: block; 
	height: 45px; 
	margin-top: -45px;
}

.pdf-thumbnail {
    max-width: 100%;
    height: auto;
    display: block;
}

.icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.icons > div {
    flex: 0 1 auto;
    max-width: 200px;
}

/* Flexbox layout for project thumbnails */
.icons-flex {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: flex-start;
    width: auto;
}

.icons-flex > div {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icons-flex a {
    display: block;
    width: 100%;
}

.pdf-thumbnail {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pdf-thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.thumbnail-caption {
    margin-top: 10px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

/* Flexbox styling for page_banner */
.page_banner {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    justify-content: center;
    margin: 0;
}

.page_banner > div {
    flex: 1 1 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page_banner img {
    width: 100%;
    max-width: 209px;
    height: auto;
}

/* Mobile responsive for page_banner */
@media (max-width: 768px) {
    .page_banner {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .page_banner > div {
        flex: 1 1 calc(50% - 10px);
    }
}

/* Grid styling for promos section */
.promos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 10px;
}

.promos-grid > div {
    padding: 5px;
    margin-bottom: 5px;
    overflow: hidden;
    height: 250px;
}

.promos-grid img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery, .product-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

.gallery a, .product-gallery a {
    display: inline-block;
}

.gallery img,
.gallery video,
.product-gallery img {
    height: 215px;
    max-width: 100%;
    width: auto;
    display: block;
}

@keyframes roll {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@-webkit-keyframes roll {
    from { -webkit-transform: rotate(0deg); }
    to   { -webkit-transform: rotate(360deg); }
}

.barrelRollElement.barrel_roll {
    animation: roll 2s linear;
    -webkit-animation: roll 2s linear;
    transform-origin: center center;
}

<!--[if IE]>
<style type="text/css"> 
/* place css fixes for all versions of IE in this conditional comment */
.site_content_idx #left, .site_content_idx #right { padding-top: 30px; }
.site_content_idx #middle { zoom: 1; padding-top: 1px; border-collapse: collapse; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]-->
