* {-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0;
	padding: 0;}

/* Fix Android */
body {-webkit-animation: bugfix infinite 1s;}

@-webkit-keyframes bugfix { 
  from {padding:0;} 
  to {padding:0;} }

/* Hide checkbox */
input[type=checkbox] {
   position: absolute;
   top: -9999px;
   left: -9999px;}

/* Like a link would behave */
label {cursor: pointer;
  user-select: none;}

input[type=radio] {display: none;}

html,body {font-family: arial;
	font-size: 20px;
	width: 100%;
	height: 100%;
	margin: 0;
	border: 0;}

div.nav-bar-mobile {display: block;
	position: fixed;
	z-index: 3;
	background-color: #666666;
	height: 2.2em;
	width: 100%;}

#nav-nbf-logo {display: inline-block;
	height: 2.15em;
	float: left;
	margin-top: .05em;
	margin-left: .05em;
	border: none;}
	
.nav-image {display: inline-block;
	float: left;
	height: 1.7em;
	margin: .25em .2em;
	border: none;}

/*#nav-nbf-facebook {display: inline-block;
	float: left;
	height: 1.7em;
	margin: .25em .1em;
	border: none;}*/
	
/*#nav-nbf-condition {display: inline-block;
	float: left;
	height: 1.7em;
	margin: .25em .1em;
	border: none;}*/
	
/*#nav-nbf-ballbuster {display; inline-block;
	float: left;
	height: 1.7em;
	margin: .25em .1em;
	border: none;}*/

/*#nav-nbf-ballbuster {display: none;}*/

.hamburger-icon {position: absolute;
	right: 0;
	display: block;
	float: right;
	height: 2.2em;
	width: 2.2em;
	padding-top: .18em;
	font-size: 1.2em;
	text-align: center;
	color: white;
	text-shadow: 0 0 .3em black;}

#nav-condition-toggle:checked + div {display: block;}

#nbf-condition-wrapper {display: none;
	position: relative;
	width: 90%;
	min-width: 250px;
	max-width: 400px;
	top: 2.2em;
	left: 5%;
	height: 10em;
	border: 3px solid #318e02;
	border-top: 1px;
	box-shadow: 0 0 0 3px #efd13c;
	border-radius: 5px 5px 5px 5px;
	z-index: 5;}

#nbf-condition-head {width: 100%;
	color: #efd13c;
	background-color: #318e02;
	font-size: 16px;
	font-weight: 800;
	text-align: center;
	height: 25px;
	line-height: 25px;}
	
#close-condition {position: absolute;
	top: 2px;
	right: 0;
	border: 2px solid #efd13c;
	color: #c37e43;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 900;
	text-align: center;
	height: 20px;
	width: 20px;
	line-height: 17px;}

#nbf-condition-frame {border: 0;
	height: calc(100% - 25px);
	width: 100%;}

#nav-menu-list {position: absolute;
	width: 100%;
	top: 2.2em;
	left: 0;}

#nav-menu-list, .nav-dropdown, .nav-sub-dropdown, .nav-sub-dropdown-sub {display: none;
	margin: 0;
	padding: 0;}

.nav-bar {margin: 0;
	padding: 0;}

#nav-bar-toggle:checked + .nav-menu {display: block;}

.nav-bar li:first-child {border-style: solid;
	border-color: #555555;
	border-width: 1px 0;}
	
.nav-bar li {border-style: solid;
	border-color: #555555;
	border-width: 0 0 1px;}
	
.nav-bar li, .nav-bar li a, .nav-bar li label {
	position: relative;
	display: block;
	color: white;
	text-decoration: none;
	background-color: #666666;
	text-shadow: 1px 1px 0 rgba(0, 0, 0, .125);
	z-index: 4;}
	
.nav-bar li a, .nav-sub li a, .nav-bar li label {padding: 0.5em 1.5em;}

.nav-toggle::after, .nav-sub-toggle::after, .nav-sub-toggle-sub::after
{   content: "▸";
	position: absolute;
	right: 0;
	top: 0;
	height: 2.2em;
	width: 2.2em;
	padding-top: .15em;
	font-size: 1.5em;
	text-align: center;
	color: white;
	text-shadow: 0 0 .3em black;}

.nav-toggle-dropdown:checked + .nav-toggle::after, .nav-toggle-sub-dropdown:checked + .nav-sub-toggle::after, .nav-toggle-sub-dropdown-sub:checked + .nav-sub-toggle-sub::after
{	content: "▾";
	position: absolute;
	right: 0;
	top: 0;
	height: 2.2em;
	width: 2.2em;
	padding-top: .15em;
	font-size: 1.5em;
	text-align: center;
	color: white;
	text-shadow: 0 0 .3em black;}

.nav-toggle-dropdown:checked + .nav-toggle {background-color: #888888;}

.nav-toggle-dropdown:checked ~ .nav-dropdown {display: block;}

ul.nav-dropdown li a, ul.nav-dropdown li label {background-color: #888888;
	padding-left: 2.6em;}

ul.nav-dropdown li:first-child {border-top: none;
	border-bottom: none;}
	
ul.nav-dropdown li {border-bottom: none;}

.nav-dropdown .nav-sub-dropdown-li {border-bottom: 1px solid #777777;
	border-top: 1px solid #777777;}

/*.nav-dropdown .nav-sub-dropdown-li:first-child {}*/

ul.nav-sub-dropdown li a {background-color: #aaaaaa;
	padding-left: 3.7em;}

.nav-dropdown .nav-image-li a {height: 2.2em;
	padding: .15em;
	text-align: center;}

#spn-logo, #login-image, #rules-spn-logo, #alberta-logo {height: 100%;}
	
.nav-toggle-sub-dropdown:checked + .nav-sub-toggle {background-color: #aaaaaa;}

.nav-toggle-sub-dropdown:checked ~ .nav-sub-dropdown {display: block;}

/*li.nav-sub-dropdown-li-sub:first-child {}*/

li.nav-sub-dropdown-li-sub {border-top: 1px solid #999999 !important;
	border-bottom: 1px solid #999999 !important;}

/*li.nav-sub-dropdown-li-sub label:first-child {border-top: 1px solid #999999 !important;}*/
	
li.nav-sub-dropdown-li-sub label {background-color: #aaaaaa !important;
	padding-left: 3.7em !important;}
	
ul.nav-sub-dropdown-sub li a {background-color: #cccccc;
	padding-left: 4.8em;}
	
.nav-toggle-sub-dropdown-sub:checked + .nav-sub-toggle-sub {background-color: #cccccc !important;}

.nav-toggle-sub-dropdown-sub:checked ~ .nav-sub-dropdown-sub {display: block;}

#mobile-content {/*overflow: hidden;*/
	position: fixed;
	display: block;
	top: 2.2em;
	left: 0;
	height: calc(100% - 2.2em);
	width: 100%;
	z-index: 1;
	border: 0;
	background-color: #318e02;}

#mobile-content-frame {background-color: #f5fffa;
 	border: 0;
 	left: 0;
 	height: 100%;
 	width: 100%;}

/*#mobile-footer {background-color: #666666;
	color: white;
	text-align: center;
	display: block;
	position: fixed;
	top: calc(100% - 1.8em);
	height: 1.8em;
	width: 100%;
	z-index: 2;}*/
	