@charset "UTF-8";

img,embed,object,video {
	max-width: 100%;
}

.visible {
	visibility: visible;
}

.invisible {
	visibility: hidden;
}

img {
	border-width: 0;
}

pre {
	white-space: pre-wrap;
}

body {
	border: 0 none;
	margin: 0;
	padding: 0;
	background-color: #1A2B3D;
	z-index: -1;
	height: 100%;
	background-repeat: no-repeat;
	background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0, #1A2B3D),
		color-stop(1, #375474), color-stop(1, #537197));
	background-image: -ms-radial-gradient(center, ellipse closest-side, #537197 0%, #1A2B3D
		100%);
	background-image: -moz-radial-gradient(center, ellipse closest-side, #537197 0%, #1A2B3D
		100%);
	background-image: -o-radial-gradient(center, ellipse closest-side, #537197 0%, #1A2B3D 100%);
	background-image: -webkit-gradient(radial, center center, 0, center center, 140, color-stop(0, #537197), color-stop(1, #1A2B3D));
	background-image: -webkit-radial-gradient(center, ellipse closest-side, #537197 0%,	#1A2B3D 100%);
	background-image: radial-gradient(ellipse closest-side at center, #537197 0%, #1A2B3D 100%);
	font: 14px Arial, Helvetica, Verdana, sans-serif;
}
div.setsaillink {
    cursor:pointer;
    text-decoration: underline;
    font-weight:bold;
    padding: 5px 0 5px 0;
    color:white;
}
div.setsailhightlight {
    color:#ff7777;
    
}
label {
	display: inline-block;
}

div.checkbox {
	white-space: nowrap;
	display: inline
}

img.helpimg {
	max-width: 50%;
	display: block;
	position: relative;
	padding-bottom: 5px;
}

img.helpimg.nofloat {
	float: none;
}

.active,.active2 {
	display: block;
	z-index: 100;
	position: relative;
}

.notactive,.notactive2 {
	display: none;
	z-index: 100;
}

.focusitem,.focusitem2 {
	position: relative;
	width: 100%;
	height: 180px;
	background-repeat: no-repeat;
	background-position: 0 0;
}

.focusitem,.focusitem>th,.focusitme>td,.focusit3m2,.focusitem2>th,.focusitem2>td
	{
	
}

.focusitem {
	width: 100%;
	height: 180px;
	top: -3px;
	left: -3px;
}

.focusitem2 {
	width: 474px;
	height: 180px;
	top: -3px;
}

.goleft,.goright {
	cursor: pointer;
	width: 100px;
	float: left;
	border: 1px solid;
}
#wrapper {
	min-height: 100%;
	height: auto;
	margin-top: 90px;
	margin-left: auto;
	margin-right: auto;
	border-color: #fff;
	border: ridge 4px #034;
	width: 100%;
	max-width: 960px;
	background-color: #113B64;
	width: expression(this.width <   741 ?   740 :   true);
	padding-bottom: 10px;
	overflow-x: visible;
	<?
	php
	if
	($holidaytime
	==
	"Christmas")
	{print
	"background-image
	:
	url(/images/seasonal/snow.gif);
	\n
	";
}

?>
}
#wrapper2 {
	min-height: 100%;
	height: auto;
	padding-top: 100px;
	margin-left: auto;
	margin-right: auto;
	border-color: #fff;
	border: ridge 4px #034;
	width: 100%;
	max-width: 960px;
	background-color: #113B64;
	width: expression(this.width <   741 ?   740 :   true);
	padding-bottom: 10px;
	overflow-x: visible;
	<?
	php
	if
	($holidaytime
	==
	"Christmas")
	{print
	"background-image
	:
	url(/images/seasonal/snow.gif);
	\n
	";
}

?>
}

#centerdiv {
	padding-top: 20px;
}

#centerdiv table {
	margin: auto;
	width: 325px;
	height: 150px;
	border: ridge 4px #aef;
	border-collapse: collapse;
}

#centerdiv table tr td {
	border: solid thin #fff;
	padding: 4px;
}

#btnLogin {
	margin-bottom: 5px;
	font-size: 114.29%;
	padding: 2px 5px;
}

a {
	color: #fff;
	text-decoration: underline;
	font-weight: bold;
}

#header img {
	border: 0;
	z-index: 150;
}

#header img#logo,#games img#gheader {
	position: relative;
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-width: 75%;
	z-index: 100;
}

#header { <?php if ($holidaytime == "Christmas") {print
	"background-image:url(/images/seasonal/snow.gif);\n ";
	
}

else {
	print "background-image: url(/site2/img/main_header.jpg);
	\n
	";
}

?>
background-position
:
0
 
0;
background-repeat
:repeat-x
;

	
height
:
87px;

	
float
:top
;

	
padding-top
:
10px;


}
.clearfix {
	clear: both;
}
.clearfix:after {
	content: "";
	display: block;
	clear: both;
}

#header,#news,#shgmenu,#shgmenu2,#shgmenu3,#shgmenu4,#filler,#games,#aboutevents,#aboutsafeharborgames,#advListings
	{
	width: 100%;
}

#header div,#news div,#shgmenu div,#shgmenu2 div,#shgmenu3 div,#shgmenu4 div,#games #gamespanel div,#aboutevents div,#aboutsafeharborgames div,#gamessupported div,#advListings div
	{
	position: relative;
}

#header div.top {
	top: 0;
}

#header div.bottom {
	top: 42px;
}

#header div.left {
	left: 10px;
	width: 200px;
}

#header div.right {
	width: 100%;
}

#header img,#games img {
	position: absolute;
}

#games #gamespanel div img {
	position: relative;
}

#games #gamespanel div {
	position: absolute;
	line-height: 0.5em;
}

#news {
	position: relative;
	top: 0;
	z-index: 0;
	height: auto;
	background-color: transparent;
	color: #fff;
	border-top: ridge 4px #034;
	border-bottom: ridge 4px #034;
}

#aboutevents,#aboutsafeharborgames,#advListings {
	position: relative;
	top: 0px;
	padding: 5px 0;
	width: 97%;
	z-index: 0;
	background-color: #AABEFF;
	text-align: center;
	font-size: 100%;
	border: solid 2px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 15px;
}

#advListings {
	text-align: left;
}

div.bodyevents img {
	float: left;
	margin: 2px 10px 2px 2px;
}

div.bodyevents {
	text-align: left;
}

#gamessupported {
	position: relative;
	top: 10px;
	padding: 5px 0;
	width: 98%;
	z-index: 0;
	background-color: #AABEFF;
	text-align: center;
	font-weight: normal;
	border: solid 2px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 15px;
}

#adsformat {
	position: absolute;
	padding: 5px 0;
	width: 194px;
	height: 600px;
	top: 100px;
	z-index: 200;
	background-color: #AABEFF;
	text-align: center;
	font-weight: bold;
	border: solid 2px;
	margin-left: 0;
	border-radius: 15px;
}

div.body,div.header {
	clear: both;
	line-height: 1.2em;
}

div.header,#aboutevents div.headerevents,iframe div.header {
	text-align: left;
	margin: 5px 0;
	padding: 2px 5px;
	font: italic bold;
	background-color: #052F58;
	color: #fff;
}

div.body,iframe div.body {
	text-align: left;
	margin: 0 5px;
	padding: 2px 5px 10px 5px;
}

iframe div.body {
	text-indent: 20px;
}

div.body img {
	position: relative;
	display: block;
	float: left;
	margin-right: 5px;
}

div.body ul,div.body ol {
	margin-left: 20px;
	padding: 0 5px;
	background-color: transparent;
	text-indent: 0px;
	font-size: 100%;
}

div.body ul li,div.body ol li {
	padding: 0;
	margin: 5px 0;
	font-size: 100%;
}

div.body a {
	color: #000;
	line-height: 1.5em;
}

div.body p {
	text-indent: 30px;
}

div.body table tr th {
	text-align: center;
}

div.body,div.header,div.body b,div.body form,div.body a {
	font-size: 100%;
}

div.body form input,div.body form,form input,form input[type=checkbox],form select
	{
	min-height: 2.0em;
}

div.body form input[type=checkbox],div.body form input[type=radio] {
	height: 20px;
	width: 20px;
	vertical-align: text-bottom;
}

div.body form input[type=submit] {
	padding: 5px;
	margin: 5px;
	clear: both;
}

div.body div.header {
	text-align: left;
	text-indent: 0;
	margin: 5px 15px 0;
	padding: 2px 5px;
	font: italic bold 14px;
	background-color: transparent;
	font-weight: 700;
	color: #052F58;
	clear: both;
}

div.body div.body {
	margin: 0 15px;
	clear: both;
}

.highlightquote {
	display: block;
	background: rgba(255, 255, 255, 0.35);
	border: solid thin rgba(0, 0, 0, 0.35);
	width: 95%;
	padding: 0.5em;
	margin-left: auto;
	margin-right: auto;
}

#news #leftpanel {
	height: auto;
	width: 50%;
	float: left;
}

#news #rightpanel {
	height: auto;
	width: 50%;
	float: right;
	background-color: #113B64;
}

div.linkline {
	color: #00;
	display: inline;
	padding-right: 20px;
}

div.skinnylinkline {
	color: #00;
	display: inline;
	padding-right: 5px;
}

div.adtimeline {
	display: inline;
	display: inline-block;
	position: relative;
	padding: 10px;
	margin: 10px;
	border: solid thin black;
	font-size: 100%;
}

div.linkline a,div.skinnylinkline a {
	color: black;
	font-size: 100%;
}

div.bottombanner {
	display: inline;
	padding-right: 20px;
	float: left;
}

div.bottombannerends {
	width: 20%;
	padding-right: 0px;
}

div.bottombannercenter {
	width: 60%;
	padding-right: 0px;
	text-align: center;
}

div.bottombannerends img {
	display: block;
	width: 110px;
	margin-left: auto;
	margin-right: auto;
}

div.yachtclublinks,a.yachclublinks {
	display: inline;
	display: inline-block;
	padding-right: 10px;
	height: 25px;
	min-width: 55px;
	white-space: nowrap;
	text-align: left;
	font-size: 100%;
}

div.unbreaking {
	white-space: nowrap;
	font-size: inherit;
	float: left;
	vertical-align: middle;
	margin-right: 5px;
	margin-bottom: 10px;
}

div.unbreaking input {
	width: 150px;
}

div.breakline {
	clear: both;
	font-size: inherit;
	margin-bottom: 10px;
}

div.gridlike {
	display: inline;
	display: inline-block;
	padding-right: 20px;
	white-space: nowrap;
	min-width: 120px;
	height: 40px;
	font-size: 114.29%;
	vertical-align: middle;
}

div.gridlike a,div.yachtclublinks a {
	color: black;
	vertical-align: middle;
}

div.gridlike img {
	padding-left: 20px;
	display: inline;
	float: none;
	left: 0px;
	vertical-align: middle;
}

#news #rightpanel table,#news #leftpanel table {
	background-color: transparent;
	height: 100%;
	width: 100%;
}

#news #rightpanel table,#new #leftpanel table {
	padding-left: 4px;
}

#news #rightpanel table table,#news #leftpanel table table {
	border-width: 0;
}

#news #rightpanel table tr td,#news #rightpanel table tr td div,#news #leftpanel table tr td,#news #leftpanel table tr td div
	{
	padding: 0;
	margin: 0;
}

#shgmenu,#shgmenu2,#shgmenu3,#shgmenu4 {
	touch-action: none;
	position: relative;
	top: 0;
	height: 25px;
	background-color: #E4EEF8;
	z-index: 10;
	margin-bottom: 5px;
}

#shgmenu div.right,#shgmenu2 div.right,#shgmenu3 div.right,#shgmenu4 div.right
	{
	padding-top: 5px;
	margin-right: 60px;
	color: #000;
	font-weight: 700;
	text-align: right;
	height: 20px;
}

#shgmenu li.right,#shgmenu2 li.right,shgmenu3 li.right,#shgmenu4 li.right
	{
	display: block;
	float: right;
	padding-right: 50px;
}

#shgmenu li.right a,#shgmenu2 li.right a,#shgmenu3 li.right a,#shgmenu4 li.right a
	{
	border-width: 0;
}

#shgmenu ul.extra200 {
	width: 200px;
}

#shgmenu ul.extra300 {
	width: 300px;
}

#shgmenu ul.extra140 {
	width: 140px;
}

#shgmenu2,#shgmenu3,#shgmenu4 {
	display: none;
}

#filler {
	position: relative;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

#games {
	z-index: 0;
	height: auto;
	top: 0;
	text-align: center;
	font: 12px Helvetica, sans-serif;
	padding-top: 0px; <? php if ($holidaytime != "Christmas"){?>
	/* IE10+ */ background-image : -ms-radial-gradient( center, ellipse
	farthest-corner, #66819C 0%, #113B64 100%);
	/* Mozilla Firefox */
	background-image: -moz-radial-gradient(center, ellipse farthest-corner, #66819C 0%,
		#113B64 100%);
	/* Opera */
	background-image: -o-radial-gradient(center, ellipse farthest-corner, #66819C 0%, #113B64
		100%);
	/* Webkit (Safari/Chrome 10) */
	background-image: -webkit-gradient(radial, center center, 0, center center, 286,
		color-stop(0, #66819C), color-stop(100, #113B64));
	/* Webkit (Chrome 11+) */
	background-image: -webkit-radial-gradient(center, ellipse farthest-corner, #66819C 0%,
		#113B64 100%);
	/* W3C Markup */
	background-image: radial-gradient(ellipse farthest-corner at center, #66819C 0%, #113B64
		100%);
	<?
	php
}

?>
}
#gamespanel {
	position: relative;
	text-align: left;
	z-index: 5;
	height: 210px;
	width: 764px;
	margin-left: auto;
	margin-right: auto;
	background-color: transparent;
}

#gamespanel div {
	font-size: 12px;
}

#games img#panel {
	top: -10px;
}

#games div#spades {
	float: left;
	top: 20px;
	text-align: center;
	color: white;
	width: 90px;
	height: 102px;
	line-height: 1em;
}

#games div#euchre {
	float: left;
	margin-left: 14%;
	top: 20px;
	text-align: center;
	color: white;
	width: 90px;
	height: 102px;
	line-height: 1em;
}

#games div#canasta {
	float: left;
	margin-left: 28%;
	top: 20px;
	z-index: 0;
	text-align: center;
	color: white;
	width: 90px;
	height: 102px;
	line-height: 1em;
}
#games div#domino {
	float: left;
	margin-left: 42%;
	top: 72px;
	z-index:0;
	text-align:center;
	color: white;
	width: 90px;
	height: 102px;
	line-height:1em;
}
#games div#yahtzee {
	float: left;
	margin-left: 56%;
	top: 20px;
	text-align: center;
	color: white;
	width: 90px;
	height: 102px;
	line-height: 1em;
}

#games div#backgammon {
	float: left;
	margin-left: 70%;
	top: 20px;
	text-align: center;
	color: white;
	width: 90px;
	height: 102px;
	line-height: 1em;
}

#games div#pachisi {
	float: left;
	margin-left: 84%;
	top: 20px;
	text-align: center;
	color: white;
	width: 90px;
	height: 102px;
	line-height: 1em;
}

#games div#cribbage {
	float: left;
	top: 124px;
	text-align: center;
	color: white;
	width: 90px;
	height: 102px;
	line-height: 1em;
}

#games div#ginrummy {
	float: left;
	margin-left: 14%;
	top: 124px;
	text-align: center;
	color: white;
	width: 90px;
	height: 102px;
	line-height: 1em;
}

#games div#hearts {
	float: left;
	margin-left: 28%;
	top: 124px;
	text-align: center;
	color: white;
	width: 90px;
	height: 102px;
	line-height: 1em;
}

#games div#pinochle {
	float: left;
	margin-left: 56%;
	top: 124px;
	text-align: center;
	color: white;
	width: 90px;
	height: 102px;
	line-height: 1em;
}

#games div#commandhq {
	float: left;
	margin-left: 70%;
	top: 124px;
	text-align: center;
	color: white;
	width: 90px;
	height: 102px;
	line-height: 1em;
}

#games div#trivia {
	float: left;
	margin-left: 84%;
	top: 124px;
	text-align: center;
	color: white;
	width: 90px;
	height: 102px;
	line-height: 1em;
}

#columns {
	left: 632px;
	top: -25px;
	height: 59px;
	width: 125px;
	z-index: 200;
	background-image: url(/site2/img/columns2.png);
	background-repeat: no-repeat;
	cursor: pointer;
}

#aboutshg {
	position: relative;
	top: 30px;
	color: #fff;
	text-align: top;
	width: 100%;
	padding-top: 0px;
	padding-bottom: 25px;
	min-height: 80px;
	margin-left: auto;
	margin-right: auto;
}

#advListings {
	top: 10px;
}

.listingClass {
	margin-left: 20px;
	margin-top: 10px;
	float: left;
	padding: 10px;
	min-width: 200px;
	min-height: 300px;
	top: 0px;
	background-color: transparent;
}

#listingLists,#listingLists ul,#listingLists ul li ul {
	margin-left: 20px;
	color: #ffffff;
	background-color: transparent;
	font-size: 12px;
}

#listingLists li,#listingLists ul li,#listingLists li a,#listingLists ul li a
	{
	line-height: 1.5em;
	color: black;
	font-size: 12px;
}

#aboutshg img {
	width: auto;
	margin-left: auto;
	margin-right: auto;
}

#ldialog {
	display: none;
	position: absolute;
	top: 140px;
	width: 220px;
	left: 600px;
	margin-left: auto;
	margin-right: auto;
	z-index: 50;
	background-color: transparent;
	background-color: #29537C;
	color: #fff;
	border: double thick #fff;
}

#ldialog form {
	width: 90%;
	font-size: 100%;
	line-height: 1.4em;
	margin-left: auto;
	margin-right: auto;
}

#ldialog form input {
	width: 100%;
	font-size: 100%;
}

#ldialog form input[type=submit] {
	width: 102%;
}

#ldialog a {
	font-size: 85.71%;
}

#numbers1 {
	display: block;
	top: -90px;
	height: 20px;
	width: 150px;
	z-index: 50;
	left: 19%;
	text-align: center;
	martgin-left: auto;
	margin-right: auto;
	font-weight: 700;
	color: #fff;
	background-color: transparent;
}

#numbers1 a,#numbers2 a {
	line-height: 1.4em;
}

#numbers2 {
	display: block;
	top: -65px;
	height: 20px;
	width: 100px;
	left: 68%;
	z-index: 50;
	font-weight: 700;
	color: #fff;
	text-align: center;
	background-color: transparent;
}

#welcomediv {
	display: block;
	position: relative;
	height: 20px;
	width: 100%;
	z-index: 0;
	margin-top: 10px;
	background-color: transparent; <? php if ($holidaytime !=
	"Christmas"){?>
	/* IE10+ */ background-image : -ms-radial-gradient( center, ellipse
	farthest-corner, #66819C 0%, #113B64 100%);
	/* Mozilla Firefox */
	background-image: -moz-radial-gradient(center, ellipse farthest-corner, #66819C 0%,
		#113B64 100%);
	/* Opera */
	background-image: -o-radial-gradient(center, ellipse farthest-corner, #66819C 0%, #113B64
		100%);
	/* Webkit (Safari/Chrome 10) */
	background-image: -webkit-gradient(radial, center center, 0, center center, 286,
		color-stop(0, #66819C), color-stop(100, #113B64));
	/* Webkit (Chrome 11+) */
	background-image: -webkit-radial-gradient(center, ellipse farthest-corner, #66819C 0%,
		#113B64 100%);
	/* W3C Markup */
	background-image: radial-gradient(ellipse farthest-corner at center, #66819C 0%, #113B64
		100%);
	<?
	php
}

?>
}
#welcomediv div {
	position: relative;
	width: 250px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	font-weight: 700;
	color: #add8e6;
	font-size: 114.29;
	text-decoration: underline;
}

#submit {
	padding: 2px 2em;
	position: relative;
	margin-top: 5px;
}

.smallertext {
	font-size: 80%;
}

table.yachtclubwins {
	padding: 0;
	margin: 0;
	top: 0;
}

table.yachtclubwins th {
	text-align: left;
	font: 12px Helvetica,sans-serif;
	color: #F3E36C;
	font-weight: 700;
	padding: 0;
}

table.yachtclubwins td {
	text-align: left;
	padding:0px;
	font: 12px Helvetica,sans-serif;
}

div.leftadstyle,div.rightadstyle {
	z-index: 200;
	position: absolute;
	left: 10px;
	top: 100px;
	width: 160px;
	height: 600px;
	background-color: transparent;
	border: solid 0 #fff;
	display: block;
	text-align: center;
	color: white;
	border-width: 0px;
}

div.mobilead1a {
	width: 336px;
	height: 280px;
	margin-left: auto;
	margin-right: auto;
	background-color: transparent;
}

div.mobilead1b {
	width: 95%;
	max-width: 300;
	height: 250px;
	margin-left: auto;
	margin-right: auto;
	background-color: transparent;
}

div.mobilead2 {
	height: 100px;
	width: 95%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 5px;
	background-color: transparent;
	display: block;
	clear: both;
}

div.mobilead2a {
	height: 100px;
	width: 95%;
	max-width: 320px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 5px;
	background-color: transparent;
	display: block;
}

div.hidden {
	display: none;
}

table td span.advertisement {
	color: white;
	text-align: center;
	width: 100%;
	display: block;
}

div.midadstyle {
	position: relative;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

div.leftadstyle div,div.rightadstyle div {
	position: relative;
	left: -1px;
	top: -1px;
	width: 100%;
	height: 151px;
	border: solid thin #fff;
}

div.leftadstyle ul li a,div.leftadstyle ul li ul li a {
	color: #000;
}

div.leftadstyle ul li {
	font-weight: 700;
	padding-top: 5px;
	padding-bottom: 5px;
}

div.leftadstyle ul li ul li {
	padding-top: 0;
	padding-bottom: 0;
}

div.leftadstyle ul {
	padding-left: 5px;
}

div.leftadstyle ul li ul {
	padding-left: 10px;
}

#bgapproved {
	position: relative;
	float: right;
	background-color: transparent;
	height: 115px;
	width: 115px;
	top: -174px;
	margin-right: 10px;
	background-size: 100% 100%;
	background-image: url(/site2/img/blcapprovedlogo.gif);
	cursor: pointer;
}

#header div.right_smaller,#header div.right_smaller2,#header div.right_fat_smaller2
	{
	width: 100%;
}

#header div.right_fat_smaller2 {
	display: none;
}

#header div.right_smaller img {
	right: 10px;
}
#header div.right img {
	right: 10px;
}
#header div.right_smaller2 img {
	right: 105px;
}

#header div.right_fat_smaller2 img {
	right: 5px;
	width: 85px;
}

input#secretcode {
	font-size: 257%;
	width: 5em;
	vertical-align: top;
	background-color: #aaaaaa;
	top: 0px;
}

span#spannote,span.spannote {
	font-size: 100%;
	font-weight: bold;
	display: block;
	margin-top: 10px;
}

#eventlisting {
	position: relative;
	z-index: 9;
	width: 100%;
	top: 0px;
	margin: 0 auto;
	height: 8em;
	overflow: auto;
	font-weight: bold;
	background-color: #BBCCFF;
	overflow-x: hidden;
	padding-right: 0px;
	border: 4px inset #ccccff;
	font-size: 85.71%;
	font-family: "Times New Roman";
	scrollbar-face-color: #ddddff;
	/*/ obviously change this to whatever you want /*/
	scrollbar-arrow-color: #486A97;
	scrollbar-highlight-color: #486A97;
	scrollbar-3dlight-color: #333333;
	scrollbar-shadow-color: #486A97;
	scrollbar-darkshadow-color: #000077;
	scrollbar-track-color: #CCCCCC;
	text-wrap: none;
	white-space: nowrap;
}

#eventlisting table td,#eventlisting table td a {
	font-size: 100%;
	font-family: "Times New Roman";
	text-wrap: none;
	white-space: nowrap;
	line-height: 1.2em;
	color: #000000;
}

#eventlisting table td {
	padding-right: 10px;
}

#eventlisting table {
	width: 100%;
}

#eventlisting a,#eventlisting a:link,#eventlisting a:visited,#eventlisting a:active,#eventlisting a:hover
	{
	
}

@media screen and (max-width: 959px) {
	#wrapper, #wrapper2 {
		border-width: 0px;
	}
	div.bottombanner {
		float: none;
		display: block;
	}
	div.bottombannerends,div.bottombannercenter {
		width: unset;
	}
	#rightpanel,#columns,#bgapproved {
		display: none;
		border-bottom-width: 0px
	}
	#numbers1a div {
		margin-left: inherit;
		margin-right: inherit;
		left: 18%;
	}
	#news #leftpanel,#news #leftpanel,.focusitem2 {
		width: 100%;
		margin-left: auto;
		margin-right: auto;
	}
	#gamespanel {
		height: 210px;
	}
	#SHGMyAccount {
		display: none;
		border-bottom-width: 0px;
		top: 0px;
	}
	#SHGMenuAbout {
		display: none;
	}
	#ldialog {
		right: 5px;
		margin-right: 0px;
	}
	div.yachtclublinks {
		height: 30px;
	}
	table tr th,table tr td {
		min-height: 1.5em;
	}
	form input[type=checkbox],form input[type=radio] {
		height: 20px;
		width: 20px;
	}
}

@media screen and (max-width: 850px) {
	#shgmenu {
		display: none;
	}
	#menu_wrapper {
		display: block;
	}
	#numbers1a div {
		left: 10%;
	}
	#welcome2div div {
		margin-left: inherit;
		margin-right: inherit;
		left: 50%;
	}
	#altmenu {
		display: block;
	}
	#header div.left,#header div.bottom,#header div.right_smaller,#header div.right_smaller2
		{
		display: none;
	}
	#header div.smaller img {
		display: none;
		right: 150px;
	}
	#midad {
		display: none;
	}
	#header div.right_fat_smaller2 {
		display: block;
	}
	#header div.right_fat_smaller2 img {
		right: 50px;
	}
	#numbers1 {
		left: 10%;
	}
	#numbers2 {
		left: 70%;
	}
}

@media screen and (max-width: 770px) {
	div.linkline {
		display: block;
		padding-bottom: 10px;
	}
	div.skinnylinkline {
		display: block;
		display: inline-block;
		height: 40px;
		padding-right: 20px;
	}
	#ldialog {
		top: 200px;
		width: 250px;
	}
	#SHGMenuGamePages,#SHGMenuDonate,#SHGMenuGuidelines,#SHGMenuApplications
		{
		display: none;
		border-bottom-width: 0px;
		top: 0px;
	}
	#SHGMenuAbout {
		display: none;
	}
	span#spannote {
		margin-top: -10px;
	}
	* {
		font-size: 14px;
	}
	#news,#leftpanel,#rightpanel {
		height: 140px;
	}
}

@media screen and (max-width: 760px) {
	#header {
		height: 150px;
	}
	#header div.right_fat_smaller2 img {
		top: 90px;
		right: 0px;
		left: 0px;
		margin-left: auto;
		margin-right: auto;
	}
	#games {
		top: 0px;
	}
	#gamespanel {
		height: 325px;
		width: 95%;
		top: 20px;
	}
	#gamespanel div {
		width: 90px;
	}
	#gamespanel div img {
		width: 100%;
		top: 0px;
	}
	#games div {
		padding-top: 0px;
	}
	#games div#spades {
		float: left;
		top: 0px;
	}
	#games div#euchre {
		float: left;
		margin-left: 20%;
		top: 0px;
	}
	#games div#canasta {
		float: left;
		margin-left: 40%;
		top: 0px;
		z-index: 0;
	}
	#games div#domino {
		float: left;
		margin-left: 60%;
		top: 0px;
		z-index: 0;
	}
	#games div#pinochle {
		float: left;
		margin-left: 80%;
		top: 0px;
	}
	#games div#backgammon {
		float: left;
		margin-left: 0px;
		top: 110px;
	}
	#games div#pachisi {
		float: left;
		margin-left: 20%;
		top: 110px;
	}
	#games div#cribbage {
		float: left;
		top: 110px;
		margin-left: 40%;
	}
	#games div#ginrummy {
		float: left;
		margin-left: 60%;
		top: 110px;
	}
	#games div#hearts {
		float: left;
		margin-left: 80%;
		top: 110px;
	}
	#games div#yahtzee {
		float: left;
		margin-left: 0%;
		top: 220px;
	}
	#games div#commandhq {
		float: left;
		margin-left: 20%;
		top: 220px;
	}
	#games div#trivia {
		float: left;
		margin-left: 40%;
		top: 220px;
	}
	#welcomediv {
		top: 0px;
	}
	#filler {
		top: 0px;
	}
	#header div.bottom {
		top: 132px;
	}
	#header div.left {
		left: 10px;
		width: 200px;
	}
	#header div.right {
		width: 100%;
	}
	#numbers1 {
		top: -25px;
		left: 5%;
	}
	#numbers2 {
		top: 0px;
	}
	div.yachtclublinks {
		height: 40px;
	}
}

@media screen and (max-width: 520px) {
	#news {
		display: none;
		border-bottom-width: 0px
	}
	#gamespanel {
		height: 435px;
		width: 95%;
	}
	#gamespanel div {
		width: 90px;
		
	}
	#gamespanel div img {
		width: 100%;
		top: 0px;
	}
	#games div#spades {
		float: left;
		top: 0px;
	}
	#games div#euchre {
		float: left;
		margin-left: 95px;
		top: 0px;
	}
	#games div#canasta {
		float: left;
		margin-left: 190px;
		top: 0px;
		z-index: 0;
	}
	#games div#domino {
		float: left;
		margin-left: 285px;
		top: 0px;
		z-index: 0;
	}	
	#games div#pinochle {
		float: left;
		margin-left: 0px;
		top: 110px;
	}
	#games div#backgammon {
		float: left;
		margin-left: 95px;
		top: 110px;
	}
	#games div#pachisi {
		float: left;
		margin-left: 190px;
		top: 110px;
	}
	#games div#cribbage {
		float: left;
		top: 110px;
		margin-left: 285px;
	}
	#games div#ginrummy {
		float: left;
		margin-left: 0px;
		top: 220px;
	}
	#games div#hearts {
		float: left;
		margin-left: 95px;
		top: 220px;
	}
	#games div#yahtzee {
		float: left;
		margin-left: 190px;
		top: 220px;
	}
	#games div#commandhq {
		float: left;
		margin-left: 285px;
		top: 220px;
	}
	#games div#trivia {
		float: left;
		margin-left: 0px;
		top: 330px;
	}
	#aboutsafeharborgames {
		width: 100%;
	}
}

@media screen and (max-width: 400px) {
	#ldialog {
		margin-right: 0px;
		right: 5px;
	}
	#gamespanel {
		height: 435px;
		width: 95%;
		top: 20px;
	}
	#gamespanel div {
		width: 90px;
		margin-width:
	}
	#gamespanel div img {
		width: 100%;
		top: 0px;
	}
	#games div#spades {
		float: left;
		top: 0px;
	}
	#games div#euchre {
		float: left;
		margin-left: 95px;
		top: 0px;
	}
	#games div#canasta {
		float: left;
		margin-left: 190px;
		top: 0px;
		z-index: 0;
	}
	#games div#domino {
		float: left;
		margin-left: 0px;
		top: 110px;
		z-index: 0;
	}
	#games div#pinochle {
		float: left;
		margin-left: 95px;
		top: 110px;
	}
	#games div#backgammon {
		float: left;
		margin-left: 190px;
		top: 110px;
	}
	#games div#pachisi {
		float: left;
		margin-left: 0px;
		top: 220px;
	}
	#games div#cribbage {
		float: left;
		top: 220px;
		margin-left: 95px;
	}
	#games div#ginrummy {
		float: left;
		margin-left: 190px;
		top: 220px;
	}
	#games div#hearts {
		float: left;
		margin-left: 0px;
		top: 330px;
	}
	#games div#yahtzee {
		float: left;
		margin-left: 95px;
		top: 330px;
	}
	#games div#commandhq {
		float: left;
		margin-left: 190px;
		top: 330px;
	}
	#games div#trivia {
		float: left;
		margin-left: 0px;
		top: 440px;
	}
}