/* =common */
	html, body {
		margin: 0;
		padding: 0;
	}
	h1 {
		margin: 1.2em 0 0.8em;
		font-size: 2em;
		font-weight: normal;
		line-height: 120%;
	}
	h2 {
		/*margin: 1em 0 1em;*/
		margin: 1em 0 0.5em;
		font-size: 1.2em;
			font-size: 1.5em;
		font-weight: bold;
		line-height: 120%;
	}
	h3 {
		margin: 1em 0 0.7em;
			margin: 1em 0 0.2em;
		font-size: 1.15em;
	}
	h4 {
		margin: 0 0 0.5em;
		font-size: 0.9em;
		text-transform: uppercase;
		letter-spacing: 1px;
	}
	p {
		margin: 0 0 1em;
	}
	ul {
		margin: 0 0 1em;
		padding: 0;
		list-style-type: none; 
	}
		ul.list li {
			padding-left: 10px;
			background: transparent url(../img/bg-bullet01.png) no-repeat 0 8px;
		}

	ol {
		margin: 0 0 1em;
		padding-left: 35px;
	}
	ol ol {
		margin: 0;
	}
	a {
		color: #03a;
		text-decoration: none;
		overflow: hidden;
	}
	a:hover {
		color: #900;
		text-decoration: underline;
	}
	form {
		margin-bottom: 1em;
	}
	fieldset {
		margin: 0 0 1em;
		padding: 0;
		border: none;
	}
	legend {
		display: block;
		width: 100%;
		margin: 1em 0;
		padding: 1em 0 0;
		font-size: 1.1em;
		font-weight: bold;
		color: #4f7831;
		border-bottom: 1px solid #acacac;
		/* background: #fee; */
	}
	label {
		/* float: left;
		display: block;
		width: 168px;
		margin-right: 20px;
		padding: 3px 0;
		font-size: 1em;
		line-height: 140%;
		text-align: right;
		color: #555;
		cursor: pointer; */
		display: block;
		font-size: 0.8571em;
		line-height: 160%;
	}
	.rowWrap label {
		/* float: none;
		display: inline;
		width: auto;
		margin-right: 0px; */
	}
	.required {
		color: #f07a14;
	}
	input.txt, textarea, select {
		padding: 3px;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 1em;
		background: #fff;
		border: 1px solid #999;
		border-radius: 3px;
	}
	input.txt {
		width: 95%;
	}
	textarea {
		width: 95%;
		height: 80px;
		overflow: auto; /* remove ie's default scrollbar */
	}
	input.txt:hover, textarea:hover, select:hover,
	input.txt:focus, textarea:focus, select:focus {
		 border: 1px solid #333;
	}
	option {
		background-color: transparent;
	}
	form .row {
		padding: 0 0 5px ;
	}
	form .row:hover label {
		/* color: #4f7831; */
	}
	button {
		width: 40%;
		height: 30px;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 0.8751em;
		font-weight: bold;
		color: #ccc;
		background-color: #666;
		border: 0;
		cursor: pointer;
		border-radius: 3px;
	}
	button:hover {
		color: #fff;
		background-color: #333;
	}
	input.txt, button {
		vertical-align: middle;
	}

	.validationError {
		display: inline-block;
		margin-top: 0.5em;
		padding: 0.2em 0.5em;
		color: #fff;
		background-color: #900;
		border-radius: 3px;
	}

	img {
		border: 0;
	}
	
	.last {
		margin-right: 0 !important;
	}
	
	.clr:after {
		content:".";
		display: block;
		height: 0;
		clear: both;
		visibility: hidden;
		font-size:0;
		line-height:0;
	}
/* =common */

html {
	height: 100%;
	/*background: #fff;*/
	background: #efdfc9 url(../img/site-background01.jpg) no-repeat center 0;
}
body {
	height: 100%;
	font-family: Arial, "Helvetica", sans-serif;
	font-size: 87.5%;
		color: #888;
	color: #666;
	line-height: 160%;
}

#wrap {
	width: 980px;
	margin: 0 auto;
}

/* sliding menu START */

	#page {
		position: relative; /* Set the position property so z-index will apply */
		z-index: 20; /* Make sure this is higher than #menu */

		background: #888 url(../img/site-background01.jpg) center 0;
		height: 100%;
	}
	
	#menuToggle {
		display: none;
		position: absolute;
		top: 45px;
		right: 10px;
		width: 30px;
		height: 30px;
		text-indent: -9999em;
		cursor: pointer;
		/*background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><g fill='#fff'><rect width='30' height='6'/><rect y='24' width='30' height='6'/><rect y='12' width='30' height='6'/></g></svg>");*/
		background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAzMCAzMCc+PGcgZmlsbD0nI2ZmZic+PHJlY3Qgd2lkdGg9JzMwJyBoZWlnaHQ9JzYnLz48cmVjdCB5PScyNCcgd2lkdGg9JzMwJyBoZWlnaHQ9JzYnLz48cmVjdCB5PScxMicgd2lkdGg9JzMwJyBoZWlnaHQ9JzYnLz48L2c+PC9zdmc+"); /* white */
		/*background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAzMCAzMCc+PGcgZmlsbD0nIzMzMDA2Nic+PHJlY3Qgd2lkdGg9JzMwJyBoZWlnaHQ9JzYnLz48cmVjdCB5PScyNCcgd2lkdGg9JzMwJyBoZWlnaHQ9JzYnLz48cmVjdCB5PScxMicgd2lkdGg9JzMwJyBoZWlnaHQ9JzYnLz48L2c+PC9zdmc+");*/ /* purple */
		/*background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAzMCAzMCc+PGcgZmlsbD0nIzAwMCc+PHJlY3Qgd2lkdGg9JzMwJyBoZWlnaHQ9JzYnLz48cmVjdCB5PScyNCcgd2lkdGg9JzMwJyBoZWlnaHQ9JzYnLz48cmVjdCB5PScxMicgd2lkdGg9JzMwJyBoZWlnaHQ9JzYnLz48L2c+PC9zdmc+");*/ /* black */
		/*background-image: url(../img/menutoggle.svg);*/
		background-size: contain;
		opacity: 0.85;
		z-index: 2;
	}

	.hamburger {
		fill: #00f;
	}

	#menuMobile {
		display: none;
		position: absolute;
		top: 0;
		right: 0;
		width: 240px;
		height: 100%;
		margin: 0;
		padding: 0;
		list-style: none;
		background: #000;
		z-index: 10; /* Make sure the z-index is lower than the #page */
	}
		#menuMobile .menuHeader {
			display: block;
			padding: 0.5em 1.5em;
			font-size: 1em;
			color: #777;
			background-color: #333;
		}
		#menuMobile a {
			display: block;
			padding: 0.5em 1.5em;
			font-size: 1.2em;
			color: #aaa;
		}
		#menuMobile a:hover, #menuMobile li.active a {
			color: #fff;
			background-color: #111;
			text-decoration: none;
		}

	.animating #menuMobile, .menu-visible #menuMobile {
		display: block;
	}

	.animating #page {
		transition: transform .25s ease-in-out;
		-webkit-transition: -webkit-transform .25s ease-in-out;
	}

	.animating.left #page {
		transform: translate3d( -240px, 0, 0 );
		-webkit-transform: translate3d( -240px, 0, 0 );
	}

	.animating.right #page {
		transform: translate3d( 240px, 0, 0 );
		-webkit-transform: translate3d( 240px, 0, 0 );
	}

	.menu-visible #page {
		right: 240px;
	}

/* sliding menu END */

header {
	position: relative;
	width: 980px;
	/*height: 240px;*/
	margin: 0 auto;
	/*padding: 1px 0;*/
	/*background-color: rgba(255,0,0, 0.3);*/
	z-index: 2;
}

#tagline {
	display: none;
}

header h2 {
	position: absolute;
	top: 27px;
	left: 0; 
	width: 315px;
	height: 98px;
	margin: 0;
	z-index: 1;
}
	header h2 a { /* logo */
		display: block;
		width: 100%;
		height: 98px;
		margin: 0;
		text-indent: -999em;
		background: transparent url(../img/bg-logo.png) no-repeat 0 0;
		z-index: 1;
	}

nav {
	padding-top: 160px;
}

#mainMenu {
	width: 100%;
	margin: 0;
	padding: 0;
	background: #101010 url(../img/bg-mainmenu.jpg) repeat-x left center;
	box-shadow: 0 0 10px #333;
}

	#mainMenu li {
		float: left;
		text-transform: uppercase;
		font-size: 1.2em;
		/*background: #222;*/
	}
		#mainMenu li:first-child {
			/*margin-left: 0;*/
		}
	#mainMenu li a {
		display: block;
		padding: 0 1em;
		height: 41px;
		line-height: 41px;
		font-weight: bold;
		color: #fff;
			color: #ccc;
		border-right: 1px #333 solid;
		text-shadow: 0 0 5px #000;
	}
	#mainMenu li a:hover, #mainMenu li.active a {
		color: #f7ef0f;
			color: #fff;
		text-decoration: none;
	}

#logo {
	z-index: 2;
	/*background-color: rgba(255,0,0, 0.5);*/
}
.backgroundsize #logo a {
	
}


#mainPic {
	position: relative;
	/*width: 98%;*/
	max-width: 1600px;
	margin: 0 auto;
	box-shadow: 0 0 10px #333;
	z-index: 1;
}
	#mainPic img {
		display: block;
		width: 100%;
	}

	.inner #mainPic {
		/*min-height: 150px;*/
	}


#content {
	width: 980px;
	margin: 0 auto;
	/*background: #000 url(../img/bg-content.jpg) no-repeat center 0;*/
		background-color: #eee;
	/*background-color: rgba(0,0,255, 0.5);*/
	box-shadow: 0 0 10px #333;
	z-index: 1;
}

#contentWrap {
	width: 95%;
	margin: 0 auto;
}

#mainCont {
	float: left;
	width: 66%;
		width: 69%;
}

h1 {
	color: #fff;
		color: #333;
}

h2 {
	color: #f7ef0f;
		color: #333;
}
h3 {
	color: #ddd;
		color: #555;
}

h1 a {
	color: #333;
	text-decoration: none;
}
	h1 a:hover {
		color: #333;
		text-decoration: none;
	}

img.fullWidth,
img.responsive {
	width: 100%;
	max-width: 100%;
	height: auto;
}

.articlePicCont {
	margin: 1em 0;
}

#calendarFrm {
	/*margin-top: 2.2em;*/
	min-height: 100px;
}

.teamList {

}
	.teamList li {
		float: left;
		width: 30%;
		margin: 0 3% 3% 0;
		/*background: #ddd url(../img/team-badge.png) no-repeat center 25%;
		background-size: 60%;*/
		background-color: #ddd;
		border-radius: 2px;
	}
		.teamList li:hover {
			background-color: #ddd;
			text-decoration: none;
			box-shadow: 0 0 2px #666;
		}
	.teamList a {
		display: block;
		width: 100%;
		/*padding-top: 150px;
		padding-bottom: 10px;*/
		padding: 1em 0;
		font-size: 1.2em;
		text-align: center;
		color: #000;
	}
		.teamList a:hover {
			text-decoration: none;
		}

	.teamList.byDivision {
		display: none;
	}
	
.bulletinData {
	width: 100%;
	margin-bottom: 1em;
	font-size: 1em;
	border: 1px #ccc solid;
	background-color: #fff;
	border-collapse: collapse;
}
	.bulletinData tr:nth-child(2n+1) {
		background-color: #ddd;
	}
	.bulletinData th {
		padding: 0.2em 0.4em;
		font-size: 1em;
		font-style: normal;
		font-weight: normal;
		text-align: left;
		color: #fff;
		border: 1px #ccc solid;
		background-color: #333;
	}
	.bulletinData td {
		padding: 0.2em 0.4em;
		font-size: 1em;
		line-height: 1.2;
		vertical-align: top;
		color: #666;
		border: 1px #ccc solid;
	}

	.button {
		display: inline-block;
		padding: 0.5em 1em;
		font-size: 1.2em;
		font-weight: bold;
		color: #aca;
		/*color: #ccc;*/  /* grayed out */
		background-color: #060;
		/*background-color: #999;*/ /* grayed out */
		border-radius: 3px; 
	}
		.button:hover {
			position: relative;
			top: -3px; /* grayed out */
			color: #fff; 
			/*color: #ccc;*/ /* grayed out */
			background-color: #393;
			/*background-color: #999;*/  /* grayed out */
			text-decoration: none;
			box-shadow: 0 3px 3px #bbb;  /* grayed out */
		}

#secCont {
	float: right;
	width: 30%;
		width: 27%;
}

#secCont h2:first-child {
	font-size: 1.6em;
	font-weight: normal;
	margin: 1.7em 0 1.1em;
}

.subMenu {
	margin-bottom: 0;
	padding-bottom: 1em;
	border-bottom: 1px #999 dotted;
}
	.subMenu a {
		display: block;
		margin-bottom: 1px;
		padding: 5px 8px;
		font-size: 1.2em;
		color: #444;
		text-transform: uppercase;
		text-decoration: none;
	}
	.subMenu a:hover, .subMenu .active a {
		color: #fff;
		background: #444;
	}

.callNow {
	font-size: 1.5em;
	font-weight: bold;
}

#copyright {
	float: left;
}

#goFB {
	display: none;
	padding-left: 15px;
	color: #fff;
}

#designedBy {
	float: right;
	font-size: 0.75em;
}

#designedBy a {
	text-transform: uppercase;
	color: #fff;
}

footer {
	margin-bottom: 2em;
	background: #000;
	box-shadow: 0 0 10px #333;
}
	footer a {
		color: #ccc;
	}
	footer a:hover {
		color: #fff;
	}

#footerWrap {
	width: 95%;
	margin: 0 auto;
	padding: 1em 0;
	border-top: 1px #333 solid;
}

/*  contence related */
	
	#benchmark {
		position: absolute;
		top: 5px;
		right: 5px;
		padding: 5px 10px;
		font-weight: bold;
		background: #fff;
		border: 1px solid #999;
	}

	.manage {
		/*float: right;
		display: block;
		width: 40px;
		margin-top: 3em;*/
		position: absolute;
		top: 2em;
		right: 0;
	}
		#mainCont, #secCont {
			position: relative;
		}

	a.edit, a.delete, a.addchild, a.send {
		float: left;
		display: block;
		width: 16px;
		height: 16px;
		margin: 0 1px 0 0;
		text-indent: -999em;
		line-height: 0;
	}
	a.edit {
		background: transparent url(../img/icn-edit.png) no-repeat center center;
	}
	a.delete {
		background: transparent url(../img/icn-delete.png) no-repeat center center;
	}
	a.addchild {
		background: transparent url(../img/icn-add.png) no-repeat center center;
	}
	a.send {
		background: transparent url(../img/icn-send.png) no-repeat center center;
	}
	
/*  contence related */

#viewportWidth span {
	display: none;
}

/* ========================== */
/* ===== iPad portrait ====== */
/* ========================== */
/* a */
@media screen and (min-width: 601px) and (max-width: 784px) {
	#viewportWidth {
		background-color: #afa;
	}
	#viewportWidth #v-a {
		display: inline;
	}
}

/* ========================== */
/* ========= fluid ========== */
/* ========================== */
/* b */
@media screen and (min-width: 301px) and (max-width: 1001px) {
	#viewportWidth {
		background-color: #faa;
	}
	#viewportWidth #v-b {
		display: inline;
	}

	#wrap {
		width: 98%;
		margin: 0 auto;
	}

	header {
		width: 100%;
	}

	#content {
		width: 100%;
	}

	#footerWrap {
		width: 95%;
	}
}

/* c */
@media screen and (min-width: 301px) and (max-width: 871px) {
	#viewportWidth #v-c {
		display: inline;
	}

	/*#mainCont {
		width: 55%;
	}

	#secCont {
		width: 40%;
	}*/

	.teamMenu li {
		width: 48%;
		margin: 0 2% 2% 0;
	}

}

/* d */
@media screen and (min-width: 301px) and (max-width: 751px) {
	#viewportWidth #v-d {
		display: inline;
	}

	#mainMenu {
		/*width: 98%;*/
		/*background: transparent url(../img/bg-mainmenu03.png) repeat-x left center;*/
	}

	#mainMenu li {
		/*width: 33%;*/
		font-size: 1em;
			font-size: 0.95em;
	}

}

/* e */
@media screen and (min-width: 301px) and (max-width: 451px) {
	#viewportWidth #v-e {
		display: inline;
	}

	.backgroundsize #mainMenu {
		/*margin: 1em auto -1em;*/
	}
}

/* ========================== */
/* ========= MOBILE ========= */
/* ========================== */
/* f */
@media screen and (max-width: 600px) {
	#viewportWidth {
		background-color: #aaf;
	}
	#viewportWidth #v-f {
		display: inline;
	}

	#menuToggle {
		display: block;
	}

	#mainCont,
	#secCont {
		float: none;
		width: 100%;
		padding-top: 1px;	
		margin-bottom: 1em;
	}

	nav {
		padding-top: 120px;
	}

	header h2 {
		top: 10px;
		left: 0; 
		/*width: 98%;
		height: 120px;*/
	}
		header h2 a { /* logo */
			display: block;
			/*width: 100%;*/
			height: 100%;
			/*background-image: url(../img/bg-logo-mobile.png);*/
			background-position: center left;
			background-repeat: no-repeat;
			/*background-size: contain;*/
		}

	#mainMenu {
		/*background-image: none;*/
		/*display: none;*/
	}

	#mainMenu li {
		/*float: none;*/
		/*width: 33.3333%;*/ /* !!! works only for 3 main menu items */
		display: none;
	}
		li#mm_calendar, li#mm_teams, li#mm_standings, li#mm_playoffs, li#mm_registration, li#mm_login {
			display: block;
		}
		#mainMenu li a {
			/*width: 100%;*/
			height: 30px;
			/*padding: 0 1em;*/
				padding: 0 0.2em;
			line-height: 30px;
			text-align: center;
			background-image: url(../img/bg-mainmenu.jpg);
			border: 0;
			/*border-bottom: 1px #333 solid;*/
		}

	.flex-control-nav {
		display: none;
	}

	.teamList li {
		float: left;
		width: 48.5%;
		margin: 0 3% 3% 0;
		background-size: 60%;
	}

	.teamList li:nth-child(2n+1) { /* elements on left */
		clear: left;
	}
	.teamList li:nth-child(2n+0) { /* elements on right */
		clear: right;
		margin-right: 0;
	}
}

/* g */
@media screen and (max-width: 350px) {
	#viewportWidth #v-g {
		display: inline;
	}
	
}