.round { -moz-border-radius: 15px; -webkit-border-radius: 15px; border-radius: 15px; }
.shadow { box-shadow: 0px 0px 5px #C0C0C0; -webkit-box-shadow: 0px 0px 5px #C0C0C0; -moz-box-shadow: 0px 0px 5px #C0C0C0; }

.left { float: left }
.clear { clear: both }
.center{
	margin:0 auto;
}
.table{
	display:table !important;
}
.b{
	border:1px solid #060;
}
.r{
	border:1px solid #F00;
}
h1,h2,h3,h4,h5,h6,p,div{
	margin:0;
	padding:0;
}

ul,li{
	list-style-type: none;
	margin: 0;padding: 0;
}
a{text-decoration: none;}
.2d{
transform:rotate(30deg);
-ms-transform:rotate(30deg); /* IE 9 */
-moz-transform:rotate(30deg); /* Firefox */
-webkit-transform:rotate(30deg); /* Safari and Chrome */
-o-transform:rotate(30deg); /* Opera */
}
/**************************/
body{
	background-image:url(../images/bg/mainBg.png);
	margin:0;
	padding:0;
	color:#FFF;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	z-index:-1000;
	background-position:top;
	background-repeat:repeat;
	
}

div.wrapper{
	width:1180px;
	height:auto;
	margin:0 auto;	
}
div.header {
	width: 1180px;
	height: 120px;
	margin: 0 auto;
	
}
div.menuBar{
	width:1180px;
	margin:0 auto;
	height:44px;
}
div.menu{
	height:inherit;
	width:195px;
	float:left;
	-moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;
	margin-left:1px;
	overflow:hidden;
	background-image:url(../images/bg/menubar.png);
	height:44px;
	text-align:center;
	text-shadow:1px 1px 1px black;
	line-height:2; 
	font-weight:bold;
	font-size:20px;
	
}
li.menu{
	height:inherit;
	width:195px;
	float:left;
	-moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;
	margin-left:1px;
	overflow:hidden;
	background-image:url(../images/bg/menubar.png);
	height:44px;
	text-align:center;
	text-shadow:1px 1px 1px black;
	line-height:2; 
	font-weight:bold;
	font-size:20px;
	list-style-type: none;	
}

div.menuBar ul{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

div.menuBar ul li a{
	text-decoration:none;
	color:#FFF;
}


div.wrapper div.menuBar ul li ul{
	text-decoration:none;
	list-style-type: none;
	position: absolute;
	display:  none;
	z-index: 1000;
	margin-top: 3px;
	
}

div.menuBar ul li ul li{
	display: block;
	clear: both;
}

div.wrapper div.menuBar ul li:hover ul{
	display: block;
}

div.menu a{
	text-decoration:none;
	color:#FFF;
	
}
div.backGroundBar{
	height:44px;
	width:100%;
	background-image:url(../images/bg/bgBar.png);
	position:absolute;
	top:121px;
	z-index:-10;
}

div.body{
	height:630px;
	width:100%;
	margin-top:30px;
}

div.body.endless {
	height:100%;
}

div.leftPanel{
	float:left;
	width:300px;
	height:inherit;
	display:table;
	background-image:url(../images/bg/yellowbackground.png);
    overflow:hidden;
}
div.middlePanel{
	float:left;
	width:550px;
	height:inherit;
	display:table;
	margin-left:15px;
	background-image:url(../images/bg/yellowbackground.png);
    overflow:hidden;
	padding-left:20px;
	padding-right:20px;
}
div.rightPanel{
	float:left;
	width:250px;
	height:inherit;
	display:table;
	margin-left:15px;
	background-image:url(../images/bg/yellowbackground.png);
	overflow:hidden;
	padding-left:10px;
}

div.footer {
	margin: 15px 0;
	overflow: hidden;
}

div.footer .sponsorThumb img {
	width: auto;
    height: 60px;
	margin: auto;
    display: block;
}

div.footer .sponsorThumb {
	display: inline-block;
	width: 19%;
}

div.note{
	background-image:url(../images/bg/note.png);
	width:252px;
	height:210px;
    
}
div.noteCover{
	overflow:hidden;
	margin:30px 10px;
	position:relative;
	top:25px;
	height:170px;
	
}

div.noteCover2{
	overflow:hidden;
	position:relative;
	top:25px;
	height:150px;
	
}

.noteHeader{
	color:#36F;
	font-size:32px;
	font-weight:bold;
	font-family: 'Tangerine', serif;	
	margin-left:15px;
}
.noteMesg{
	color:#000;
	margin-top:10px;
	font-size:14px;
	margin:15px;
	font-family: 'Bilbo', cursive;
	text-align:center;
	text-transform:uppercase;
	
}

div.rightNote{
	background-image:url(../images/bg/rnote.png);
	width:242px;
	height:200px;
}

div.PicSlideShow{
	width:252px;
	height:132px;
	overflow:hidden;
	display:table;
	margin:40px 0px 10px 5px;
}
div.PicSlideShow .pic{
	width:auto;
	height:inherit;
	float:left;
	overflow:hidden;
}
div.membersArea{
	width:255px;
	height:120px;
	margin-top:40px;
	background-image:url(../images/Membersarea.png);
	 -moz-border-radius: 15px; -webkit-border-radius: 15px; border-radius: 15px;
}

div.animationDiv{
	width:548px;
	height:242px;
	overflow:hidden;
	margin-top:20px;
}

div.contentDiv{
	width:548px;
	height:343px;
	margin-top:10px;
	
}

div.contentDiv div.content p{
	margin-top:10px;	
}

div.contentDiv div.content {
	margin-top:50px;	
}

.headingTitle{
	color:#39F;
	text-align:center;
	font-size:22px;
	text-decoration:none;
}
.content{
	color:#000;
	text-align:justify;
	font-size:16px;
}
.PicSlideShow2{
	width:232px;
	height:76px;
	margin-top:10px;
	margin-left:2px;
}
div.faceBookLink{
	height:108px;
	width:232px;
}

div.news_leftPanel{
	float:left;
	width:650px;
	height:inherit;
	display:table;
	background-image:url(../images/bg/yellowbackground_news.png);
    overflow:hidden;
}
div.news_rightPanel{
	float:left;
	width:470px;
	height:inherit;
	display:table;
    overflow:hidden;
	margin-left:50px;
}

div.contactUs_rightPanel{
	float:left;
	width:470px;
	height:inherit;
	display:table;
    overflow:hidden;
	margin-left:50px;
	background-image:url(../images/bg/yellowbackground_news.png);
	color:#000;
	text-align:center;
	
}

div.teams_bg{
	
	width:1180px;
	height:inherit;
	display:table;
	background-image:url(../images/bg/yellowbackground_team.png);
    overflow:hidden;
	margin-top:-20px;
}

div.teamDiv{
	width:285px;
	float:left;
	height:490px;
}

div.height420{
	width:285px;
	height:420px;
	overflow: auto;
	
}

.borderRight{
	border-right:5px solid #ab8b63;
}
.dayName{
	color:#39F;
	text-align:center;
	font-size:20px;
	border-bottom:5px solid #ab8b63;
	border-top:5px solid #ab8b63;
	margin-bottom:30px;
	/*text-shadow:1px 1px 1px #000;*/
	
}
div.teamDiv .teamName{
	font-size:16px;
	color:#39F;
	text-align:left;
	margin-left:20px;
	margin-right:5px;
	font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
	margin-top:5px;
	line-height:1;
	
}

div.teamDiv .teamName a {
	color:#39F;
	text-decoration:none;
	cursor: pointer;
}

div.teamDiv .teamName a:hover {
	color:#009;
	text-decoration:none;
	text-shadow:1px 1px 1px #FFF;
}

div.team_leftPanel{
	float: left;
	width: 480px;
	height: inherit;
	display: block;
	background-image: url(../images/bg/yellowbackground_news.png);
    overflow: hidden;
	min-height: 630px;
	margin-left: 10px;
}
div.team_rightPanel{
	float: left;
	width: 655px;
	height: inherit;
	display: block;
	background-image: url(../images/bg/yellowbackground_news.png);
    overflow: hidden;
	margin-left: 30px;
	min-height: 630px;
}

div.teamImage {
	display: block;
	-moz-border-radius: 15px; 
	-webkit-border-radius: 15px; 
	border-radius: 15px;
	padding: 10px;
	text-align: center;
}
div.teamImage img{
	-moz-border-radius: 15px; 
	-webkit-border-radius: 15px; 
	border-radius: 15px;
	width: auto; 
	height: auto; 
	max-width: 460px;
	max-height: 300px; 
}

table.Ladder{
	margin-top:40px;
	font-weight:bold;
	width:600px;
	overflow:hidden;
	
}
table.Ladder tr td{
	
	/* border-top:3px solid #ab8b63;
	border-right:2px solid #ab8b63; */
	text-align:center;
	border: none;
}

div.LadderTitle{
	font-size:18px;
	font-weight:bold;
	margin:0 auto;
	text-align:center;
	margin-top:10px;
	color:#000;
}

.team_title{
	color:#039;
	padding:5px 10px;
	font-size:12px;
}
td.team_value{
	color:#333;
	font-size:14px;
	padding-bottom:5px;
	padding-top:5px;
	padding-left:5px;
	padding-right:5px;
}

div.fixtureDiv{
	margin:15px;
}
.fixture_title{
	color:#039;
	padding:5px 10px;
	font-size:12px;
}
table.fixtureTBL tr td{
	/*
	border-top:3px solid #ab8b63;
	border-right:1px solid #ab8b63; */
	text-align:center;padding-left:5px;
	padding-right:5px;
	border: none;
	
}
table.fixtureTBL{
	width:450px;
	overflow:hidden;
}

div.teamInfoname{
	color:#000;
	font-family:Arial, Helvetica, sans-serif;
	margin-left:5px;
	margin-top:5px;
	width:400px;
	height:110px;
}

div.teamInfoname div.teamName{
	font-size:56px;
	font-family: 'Gochi Hand', cursive;
	font-style:italic;
	text-align:center;
	
}

div.teamInfoname div.dayDivision{
	font-size:20px;
	
	text-align:center;
	
}


span.red{
	 color: red;
}

/**********************Team photo gallery *****************/

div.titleGallery{
	height: 500px;
	width: 300px;
	float: left;
	overflow: auto;
}

div.titleGallery a{
	color: #111;
	font-size: 12px;
	margin-left: 20px;
	margin-top: 10px;
	font-weight: bold;
	
}

div.titleGallery ul li{
	border-bottom: 1px dotted #333333;
   
    margin: 3px 10px;
	
}

div.titleGallery ul li:hover a{
	color: #5D98C2;
}

div.titleGallery h2{
	color: #5D98C2;
	font-size: 20px;
	margin-left: 20px;
	margin-top: 10px;
	font-weight: bold;
	margin-bottom: 15px;
	background-color: #E2B568;
	padding: 5px 10px;
	width: 190px;
	box-shadow: 0px 0px 10px #C0C0C0; -webkit-box-shadow: 0px 0px 10px #C0C0C0; -moz-box-shadow: 0px 0px 10px #C0C0C0; 
}

div.teamphotoGallery{
	overflow:hidden;
	margin:5px auto;
	display:table;
	padding-left:1px;
	height: 500px;
	width: 840px;
	float: left;
margin-left: 20px;
border-left: 1px groove grey;
}


div.photo{
	float:left;
	margin:10px;
	float: left;
	overflow: hidden;
	height: 90px;
	width: 110px;
	border: 5px solid grey;
	

}


div.teamphotoGallery div.photo img{
	height: 90px;
	width: 110px;
	overflow: hidden;
	
	
}


div.photo:hover {
	cursor: pointer;
}

.random-sponsor {
	    text-align: center;
    padding: 20px;
}

div.news_leftPanel .contactForm input[type="submit"] {
	margin-left: 0 !important;
	background: #dd9933;
	border: 1px solid #7e4f07;
	color: #fff;
	cursor:pointer;
}
	div.news_leftPanel .contactForm input[type="submit"]:hover {
    background: #bd780f;
}
	
/******************************************************/

/*** non mobile mode **/
.menu-mobile {
	display: none;
} 

.nav-trigger {
	display: none; 
}

.mobilePanel {
	display: none;
}

@media (max-width: 415px) {

	/* main page */
	.mobilePanel {
		display: block;
		background-image: url(../images/bg/yellowbackground.png);
    	overflow: hidden;
		width: initial;
		float: none;
		margin-top: 10px;
	}

	.mobilePanel .note {
		margin: auto !important;
	}

	.sponsors {
		width: 100%;
		margin-top: -145px !important;
		position: relative;
		z-index: 1;
	}

	.content span {
		text-align: initial;
	}
	div.menuBar {
		display:none !important;
	}
  div.wrapper {
	  width: 100%;
    	padding-bottom: 80px;
  }
  div.header {
	  width: auto;
	  height: auto;
  }
  div.header img {
	  max-width: 100%;
	  max-height: 100%;
	  margin: 0 !important;
	  float: right;
	  height: 80px;
	  padding-bottom: 10px;
  }
  div.leftPanel {
	  float: none !important;
	  display: none;
		width: 100% !important;
    	height: auto !important;
		
  }
  div.leftPanel .note {
	  display: none;
  }
  div.leftPanel .PicSlideShow {
	  display: none;
  }
  div.membersArea {
	  margin: 0 auto 20px auto;
  }
  div.membersArea > div {
	  margin-top: 25px !important;
  }
  div.body {
	  height: inherit !important;
	  margin-top: 0;
	  padding-left: 5px;
	  padding-right: 5px;
	  position: relative;
	  overflow: hidden;
  }
  div.middlePanel {
	  	width: 100% !important;
	  	float: none !important;
		margin-left: 0 !important;
    	margin-top: 10px;
  }
  div.middlePanel div.animationDiv {
	  width: auto;
	  height: auto;
		border-radius: 10px;
  }
  div.middlePanel div.animationDiv img {
	  max-width: 100%;
	  max-height: 100%;
  }
  div.middlePanel div.contentDiv {
	  width: auto;
	  height: auto;
	  margin-bottom: 20px;
	  margin-top: 20px;
  }
  div.rightPanel {
	  width: initial;
	  float: none;
	  padding-left: 0;
	  display: inherit;
	  margin-bottom: 10px;
	  margin-top: 10px;
	  margin-left: 0px;
  }
  div.rightPanel div.rightNote {
	  margin: auto;
  } 
  div.rightPanel div.PicSlideShow2 {
	  display: none;
  }
  div.footer {
	  display: none;
  }
  div.faceBookLink {
	  padding: 0;
	  margin-bottom: 20px;
  }
	/*** menu  ***/

	/* Navigation Menu - Background */
	ul.menu-mobile {
	/* critical sizing and position styles */
		width: 100%;
		height: 100%;
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 0;
		display: initial;

		/* non-critical appearance styles */
		list-style: none;
		background: #111;
	}

	/* Navigation Menu - List items */
	li.menu-mobile-item {
	/* non-critical appearance styles */
		width: 200px;
		border-top: 1px solid #353535;
		border-bottom: 1px solid #000;
	}

	li.menu-mobile-item > ul {
		display: none;
	}

	li.menu-mobile-item a {
	/* non-critical appearance styles */
		display: block;
		padding: 1em;
		background: linear-gradient(135deg, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
		color: white;
		font-size: 1.2em;
		text-decoration: none;
		transition: color 0.2s, background 0.5s;
	}

	li.menu-mobile-item a:hover {
		color: #c74438;
		background: linear-gradient(135deg, rgba(0,0,0,0) 0%,rgba(75,20,20,0.65) 100%);
	}

	/* Site Wrapper - Everything that isn't navigation */
	.site-wrap {
	/* Critical position and size styles */
		min-height: 100%;
		min-width: 100%;
		background-color: #f9d593;
		background-image: url(../images/bg/mainBg.png);
		position: relative;
		top: 0;
		bottom: 100%;
		left: 0;
		z-index: 1;
	}

	/* Nav Trigger */
	.nav-trigger {
	/* critical styles - hide the checkbox input */
		position: absolute;
		clip: rect(0, 0, 0, 0);
		display: initial;
	}

	label[for="nav-trigger"] {
	/* critical positioning styles */
		position: absolute;
		left: 20px;
    	top: 25px;
		z-index: 2;
	
		/* non-critical apperance styles */
		height: 30px;
		width: 30px;
		cursor: pointer;
		background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' x='0px' y='0px' width='30px' height='30px' viewBox='0 0 30 30' enable-background='new 0 0 30 30' xml:space='preserve'><rect width='30' height='6'/><rect y='24' width='30' height='6'/><rect y='12' width='30' height='6'/></svg>");
		background-size: contain;
	}

	/* Make the Magic Happen */
	.nav-trigger + label, .site-wrap {
		transition: left 0.2s;
	}

	.nav-trigger:checked + label {
		left: 215px;
	}

	.nav-trigger:checked ~ .site-wrap {
		left: 200px;
		box-shadow: 0 0 5px 5px rgba(0,0,0,0.5);
	}

	body {
		/* Without this, the body has excess horizontal scroll when the menu is open */
		overflow-x: hidden;
	}

	/* Micro reset */
	*,*:before,*:after{-webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; margin:0; padding:0;}
	html, body { height: 100%; width: 100%; }


	/* teams.php */
	div.teams_bg {
		background-color: rgba(251,228,163,0.5);
		background-image: initial;
		width: 100%;
		border-radius: 20px;
    	margin-top: 0;
	}

	div.scrollholder {
		width: 100% !important;
		height: 100% !important;
		overflow: initial !important;
	}

	div.teamDiv {
		width: 100%;
		height: 100%;
	}

	div.scroll {
		position: relative !important;
	}

	div.borderRight {
		border-right: none;
	}
	div.teamDiv .teamName a {
		color: #1364b5;
		padding-left: 10px;
		font-size: 20px;
		padding: 10px 0 10px 0;
		display: block;
	}
	div.teamDiv .teamName {
		margin: 5px 10px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.48);
	}
	div.teamDiv .teamName:last-child {
		border-bottom: 0;
	}

	div.dayName {
		background-color: #f1d9ad;
		padding: 5px;
		margin-bottom: 10px;
		border-width: 3px;
	}
	body, .site-wrap {
		background-position: top;
	}
	.backGroundBar {
		display: none;
	}

	/* team_url */

	div.LadderTitle {
		padding: 0 20px;
	}

	.mobile-scroll {
		overflow-x: scroll;
	}

	table.Ladder {
		padding-left: 10px;
	}

	table.Ladder tr td {
		text-align: left;
		padding-left: 0px;
	}

	.fixtureTBL td:nth-child(5) {
		display: none;
	}

	.fixtureTBL tr:last-child td {
		border-bottom: 0;
	}

	div.teamInfoname {
		top: 0;
		width: 100%;
		margin-left: -10px;
	}
	div.teamImage {
		margin-top: 130px;
	}
	div.team_leftPanel {
		width: 100%;
    	display: block;
		float: none;
		margin-left: inherit;
		min-height: inherit;
	}	
	div.team_leftPanel .fixtureDiv table {
		width: 100%;
	}

	div.team_rightPanel {
		width: 100%;
		float: none;
		margin-left: 0;
		margin-top: 10px;
		margin-bottom: 10px;
		display: block;
		padding: 10px 0 20px 0;
		min-height: inherit;
	}

	div.team_rightPanel table.Ladder {
		margin-top: 20px
	}

	table.fixtureTBL tr td {
		border-bottom: 1px solid rgba(255, 255, 255, 0.6);
		padding-top: 6px;
		padding-bottom: 6px;
	}

	/* about us */
	div.picDivv {
		width: 46% !important;
		float: left;
    	margin: 10px 2% 2% 2% !important;
	}

	div.middlePanel div.contentDiv div.content {
		margin-top: 30px;
	}

	/* news / contactUs */
	div.news_leftPanel {
		width: 100%;
		display: block;    
		padding: 5px;
		float: none;
	}
	div.news_leftPanel .content {
		margin-left: 10px;
    	margin-right: 10px;
	}

	div.news_leftPanel .content table {
		width: 100%;
		margin-bottom: 30px;
		border: 1px solid white;
    	padding: 10px;
	}

	div.news_leftPanel .contactForm table .formtitle {
		width: auto;
    	white-space: nowrap;
	}
	div.news_leftPanel .contactForm {
		margin-top: 0;
    	margin-left: 0;
		height: 100%;
		width: 100%
	}

	div.news_leftPanel .contactForm input[type="text"],
	div.news_leftPanel .contactForm textArea
	{
		width: 100%;
	}
	div.news_leftPanel .contactForm input[type="submit"] {
		margin-left: 0 !important;
	}

	div.news_rightPanel {
		width: 100%;
		margin: 0;	
		float: none;	
	}

	div.news_rightPanel img {
		margin-top: 20px !important;
		max-width: 100%;
	    max-height: 100%;
		height: auto;
    	width: auto;
	}

	div.news_leftPanel > div {
		margin: 0 0 10px 0 !important;
	}
	
	div.news_leftPanel .headingTitle {
		margin: 20px 10px !important;
	}
	div.contactUs_rightPanel {
		width: 100%;
		margin-left: 0;
		margin-top: 10px;
    	display: block;
		float: none;
	}
	div.contactUs_rightPanel iframe {
		width: auto;
	}

	/* registration */
	div.contactForm table tr,
	div.contactForm table tr .field select {
		width: 100%;
	}
	.moon img {
		width: auto;
		height: auto;
		max-width: 100%;
		max-height: 100%;
	}
}

@media (max-width: 360px) {
	h1.headingTitle {
		font-size: 32px !important;
		margin: 20px auto !important;
	}
}