/* --- SYSTEM-ONLY SETTINGS, DO NOT EDIT! --- */
html, body {
	height: 100%;
	min-height: 100%;
  overflow: auto;
  overscroll-behavior: auto;
}


body {
	font-family: 'Roboto Slab', Georgia, serif;
	font-size: 76%;
  display: flex;
  flex-direction: column;
}

body, table, form, img {
	padding: 0;
	margin: 0;
	border: 0;
}

.flux-strike {
	text-decoration: line-through;	
}

td {
	vertical-align: top;
}

input {
	font-family: Arial,Helvetica,sans-serif;
}

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

#access, .accessibility {
	position: absolute;
	height: 0;
	overflow: hidden;
}

img {
	max-width: 100%;
	height: auto;
}


/* --- TEXT STYLES --- */
h1, h2, h3, h4, h5, h6, p,
.main, .sub, .normal, .footer {
	margin: 0;
	padding: 0;
	font-style: normal;
	font-weight: normal;
	text-decoration: none;
	line-height: 1.4em;
}

p, .normal, .small {
	margin: 0;
	padding: 0;
	font-style: normal;
	font-weight: normal;
	text-decoration: none;
	line-height: 1.4em;
}

/* --- page title --- */
h1 {
	padding: 30px 30px 0 30px;
	color: #000;
	font-size: 32px;
	font-weight: 700;
	text-align: left;
	background: rgba(255,255,255,0.7);
}

.home h1 {
	display: none;
}

/* --- main heading --- */
h2, .main, .flux-form-field-formitem-header-main .flux-label {
	margin: 20px 0 0 0;
	color: #000;
	font-size: 26px;
	font-weight: 700;
}

.home h2, .home .main {
	font-weight: 400;
}

.region-intro h2, .region-intro .main {
	font-size: 26px;
	font-family: 'Open Sans',Arial, Helvetica, sans-serif;
	color: #fff;
	font-weight: 400;
}

.region-park h2 {
	float: left;
	color: #000;
	max-width: 250px;
	background: rgba(255,255,255,0.7);
	padding: 32px 29px 75px 29px;
	text-align: left;
	line-height: 1.2em;
	margin-bottom: 70px;
}

.region-events h2,
.region-blueprints h2 {
	float: right;
	color: #fff;
	max-width: 250px;
	background: rgba(0,0,0,0.7);
	padding: 32px 29px 75px 29px;
	text-align: right;
	line-height: 1.2em;
	margin-bottom: 70px;
}

.region-themes h2 {
	color: #000;
	max-width: 860px;
	line-height: 1.2em;
	margin: 30px auto 10px;
	text-align: center;
}

/* --- sub heading --- */
h3, .sub {
	margin: 20px 0 0 0;
	color: #000;
	font-size: 21px;
	font-weight: 700;
}

.home h3, .home .sub {
	font-weight: 400;
}

/* --- sub heading --- */
h4, .smallersub {
	margin: 20px 0 0 0;
	color: #000;
	font-size: 17px;
	font-weight: bold;
}

/* --- normal text --- */
p, .default {
	margin: 10px 0 0 0;
	color: #000;
	font-size: 14px;
}

/* --- small text --- */
.small {
	margin: 10px 0 0 0;
	font-size: 13px;
}

/* --- site tagline --- */
#tagline h2 {
	margin: 20px 0 0 0;
	color: #741810;
	font-size: 24px;
	font-weight: 700;
}

/* --- text in people section, kickstarter home page --- */
#section-people h2, #section-people .main, 
#section-people h3, #section-people .sub, 
#section-people h4, #section-people .smallersub, 
#section-people p, #section-people .small, 
#section-kickstarter h2, #section-kickstarter .main, 
#section-kickstarter h3, #section-kickstarter .sub, 
#section-kickstarter h4, #section-kickstarter .smallersub, 
#section-kickstarter p, #section-kickstarter .small,
#section-kickstarter .flux-label, #section-kickstarter .flux-description {
	color: #fff;	
}


/* ------------------------------- NORMAL TEXT LINKS ------------------------------- */
/* should contain only colour definitions, no font, size, weight, etc */
a:link {
	color: #000;
	text-decoration: underline;
	font-weight: 700;
}

a:visited {
	color: #000;
	text-decoration: underline;
	font-weight: 700;
}

a:hover {
	color: #000;
	text-decoration: none;
	font-weight: 700;
}

a:active {
	color: #000;
	text-decoration: underline;
	font-weight: 700;
}

.region-intro a:link,
.region-intro a:visited,
.region-intro a:active,
.region-intro a:hover,
.region-people a:link,
.region-people a:visited,
.region-people a:active,
.region-people a:hover {
	color: #fff;
}

/* ------------------------------- HORIZONTAL RULE ------------------------------- */
hr {
	margin: 10px 0;
	border: none;
	height: 1px;
	color: #3f3f3f;
	text-align: left;
	background-color: #777777;
}


/* ------------------------------- LOGIN BOX ------------------------------- */

.loginbox {
  padding: 15px 40px 25px 40px;
	width: 300px;
	background: #fff;
	box-shadow: 0 0 7px -1px rgba(138, 138, 138, 0.2);
}

.loginbox form>div  {
	padding-left: 22px;
}

.loginbox .login-error {
	text-align: center;
}

.loginbox .login-error span {
	display: inline-block;
	margin: -5px 0 12px 27px;
	border-radius: 3px;
	border: 1px solid #ffd7e5;
	padding: 5px 9px;
	font-size: 1.1em;
	background: #fff4f8;
}

.loginbox label {
	display: block;
	margin-bottom: 12px;
}

.loginbox label span {
	display: inline-block;
	width: 65px;
	color: #5a5a5a;
}

.loginbox label input {
	border-radius: 3px;
	border-top: 1px solid #abadb3;
	border-right: 1px solid #dbdfe6;
	border-bottom: 1px solid #e3e9ef;
	border-left: 1px solid #e2e3ea;
	padding: 2px 0;
	text-indent: 4%;
	background: #fff;
}

.loginbox label input:hover,
.loginbox label input:focus {
	border-top: 1px solid #5794bf;
	border-right: 1px solid #b7d5ea;
	border-bottom: 1px solid #c7e2f1;
	border-left: 1px solid #c5daed;
}

.loginbox label input:focus {
	box-shadow: 0 0 4px 1px rgba(168, 233, 58, 0.8);
}

.loginbox label input {
	font-size: 1.3em;	
}

.loginbox .submit {
	margin-left: 68px;
}

/* ------------------------------- TEMPLATE ADDITIONAL ELEMENT STYLES ------------------------------- */
/* --- standard table styles --- */
.table-standard {
	border-collapse: collapse;
	min-width: 300px;
	width: 100%;
}

.table-standard th, 
th.table-standard {
	padding: 8px;
	border: 1px solid #666;
	background: #EEE;
}

.table-standard td {
	padding: 12px;
	border: 1px solid #666;
}

.region-intro {
	display: flex;
	flex-flow: row wrap;
	width: 100%;
	align-items: center;
	align-content: center;
	justify-content: center;
	gap: 30px
}

#section-intro .flux-image-left {
	display: inline-block;
	margin: 0;
}

#section-intro .table-standard {
	width: 30%;
	max-width: 500px;
	
	border-collapse: collapse;
	min-width: 200px;
	position: relative;
	z-index: 1000;
}

#section-intro .table-standard th, 
#section-intro th.table-standard {
	padding: 8px;
}

#section-intro .table-standard td {
	padding: 10px 50px 50px;
	border: 4px solid #fff;
	background: rgba(0,0,0,0.7);
}

#section-people .table-standard {
	border-collapse: collapse;
	min-width: 300px;
	max-width: 700px;
	position: relative;
	margin: 0 auto;
}

#section-people .table-standard th, 
#section-people th.table-standard {
	padding: 8px;
	background: none;
	border: none;
}

#section-people .table-standard td {
	padding: 0;
	border: none;
	text-align: left;
}

#section-people .table-standard td img {
	float: left;
	padding: 20px 35px 120px 0;
}

/* --- featured table --- */

.table-feature {
	border-collapse: collapse;
	min-width: 300px;
	width: 100%;	
	background: #eee;
}

.table-feature th {
	text-align: left;
	color: #fff !important;
	background: #666;
	padding: 0 12px 12px 12px;
	border: 1px solid #666;
	
}
 .table-feature th * {
	 color: #fff !important;
}

.table-feature td {
	padding: 12px;
	border: 1px solid #666;
}



/* --- frameless table --- */
.table-frameless {
	border: none;
	border-spacing: 1px;
	min-width: 300px;
}

.table-frameless th, 
th.table-frameless {
	padding: 8px;
	background: #EEE;
}

.table-frameless td {
	padding: 8px;
}

.table-frameless td, 
td.table-frameless {
	border: none;
}

.flux-showinvisible .table-frameless td,
.flux-showinvisible td.table-frameless,
.flux-showinvisible .table-frameless th,
.flux-showinvisible th.table-frameless {
	border-left: 1px dotted #AAA;
	border-bottom: 1px dotted #AAA;
}

.flux-showinvisible .table-frameless {
	border-right: 1px dotted #AAA;
	border-top: 1px dotted #AAA;	
}

#section-people .table-frameless {
	border: none;
	border-spacing: 1px;
	min-width: 300px;
	max-width: 600px;
	padding-right: 110px;
	margin: 0 auto;
	display: inline-block;
	vertical-align: top;
}

#section-people .table-frameless th, 
#section-people th.table-frameless {
	padding: 8px;
	background: #EEE;
}

#section-people .table-frameless td {
	padding: 8px;
	text-align: left;
}

#section-people .table-frameless td, 
#section-people td.table-frameless {
	border: none;
}

#section-people .table-frameless td img {
	padding: 0;
}

#section-people td h4 {
	margin-top: 0;
}

#section-people .image-no-resize img {
	max-width: 160px !important;	
}




/* --- presentation table --- */
.table-presentation {
	border: none;
	border-spacing: 1px;
	min-width: 100px;
}

.table-presentation th, 
th.table-presentation {
	background: #EEE;
}

.table-presentation td {
	vertical-align: middle;
}

.table-presentation td, 
td.table-presentation {
	border: none;
}

.table-presentation td h2, 
.table-presentation td h3,
.table-presentation td p {
	padding-bottom: 0;	
}


.flux-showinvisible .table-presentation td,
.flux-showinvisible td.table-presentation,
.flux-showinvisible .table-presentation th,
.flux-showinvisible th.table-presentation {
	border-left: 1px dotted #AAA;
	border-bottom: 1px dotted #AAA;
}

.flux-showinvisible .table-presentation {
	border-right: 1px dotted #AAA;
	border-top: 1px dotted #AAA;	
}


/* table glossary */

/* --- standard table styles --- */
.table-glossary {
	width: 100%;
	box-sizing: border-box;
	border-collapse: collapse;
	margin-bottom: 15px;
}

.table-glossary th {
	box-sizing: border-box;
	padding: 0;
	border: 1px solid black;
	text-align: left;
	color: red;
}

.table-glossary th p {
	font-weight: bold;
	font-size: 14px;
	color: red;
}

.table-glossary td {
	box-sizing: border-box;
	padding: 0;
	border: 1px solid black;
	text-align: left;
}

#pagebody .table-glossary th,
#pagebody .table-glossary td {
	border: none;	
}


/* ------------------------------- TEMPLATE LAYOUT-ONLY STYLES ------------------------------- */

.announce {
	background: #09324a;
	color: #fff;
	font-weight: bold;
	padding: 5px 10px;
}

.announce a {
	color: #fff;
}


#pagebody {
	color: #000;
	font-size: 14px;
	text-align: center;
	background: #fff;
	position: relative;
}

#pagebody.standard {
	background: #a6bdb5 url(../jpg/2016-home-park-bg.jpg) bottom center no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

#header {
	width: 100%;
	height: 164px;
	box-shadow: 0 1px 2px 0 rgba(2, 2, 2, 0.5);	
}

.header>div {
	display: flex;	
	flex-direction: row;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: center;
}

.header {
	background: #fff;
}

#logo {
	display: inline-block;
	padding: 20px 0 10px;
	width: auto;
	height: auto;
}

#logo img {
	padding: 0 0 4px 0;	
}

#logo h2,
#logo h3,
#logo p {
	margin: 0;
	color: #000;
	font-size: 15px;
	font-weight: 400;
	text-align: center;
}

#tagline h2,
#tagline h3,
#tagline p {
}

#section-intro {
	min-height: 400px;
	background: #96a45f url(../jpg/2016-home-intro-bg.jpg) center center no-repeat;
	background-size: cover;
}

.region-intro {
	padding: 15px;
}

#section-park {
	min-height: 400px;
	background: #a6bdb5 url(../jpg/2016-home-park-bg.jpg) bottom center no-repeat;
	background-size: cover;
	padding: 20px 0 20px;
}

#section-events {
	min-height: 400px;
	background: #738798 url(../jpg/2016-home-events-bg.jpg) center center no-repeat;
	background-size: cover;
	overflow: auto;
	width: 100%;
}

#section-blueprints {
	min-height: 400px;
	background: #897672 url(../jpg/2016-home-blueprints-bg.jpg) center center no-repeat;
	background-size: cover;
	overflow: auto;
}

#section-people {
	display: none;
	min-height: 900px;
	background: #b11817;
	background-size: cover;
}

#section-kickstarter {
	min-height: 400px;
	background: #c95a1c;
	background-size: cover;
}
.region-kickstarter {
	max-width: 650px;
	text-align: left;
	line-height: 1.2em;
	margin: 0 auto;
	padding: 15px;
}

#section-kickstarter-bottom {
	min-height: 800px;
	background: #96a45f url(../jpg/2016-home-kickstarter-bg.jpg) center center no-repeat;
	background-size: cover;
}

.region-kickstarter-bottom {
	max-width: 790px;
	text-align: left;
	line-height: 1.2em;
	margin: 70px auto auto;
	padding: 15px;
}

.content-width {
	box-sizing: border-box;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 15px 80px;
}

.standard .content-width,
.header .content-width {
	max-width: 980px;
	padding: 0;
}

#section-park .content-width {
	padding: 15px 20px;
}

#section-events .content-width,
#section-blueprints .content-width {
	padding: 15px 30px;
}

#section-themes .content-width {
	padding: 15px 40px;
}

#pagebody .content-regions {
	box-sizing: border-box;
	width: 100%;
	max-width: 980px;
	padding: 30px 30px 60px 30px;
	background: rgba(255,255,255,0.7);
	min-height: 500px;
	text-align: left;
}

#sidecolumn {
	width: 239px;
	background: url(../png/side-column-strip-bg.png) repeat-y center top;
	position:absolute;
	top: 158px;
	bottom: 101px;
	right: 0;
}

#sidecolumn-content {
	background: url(../png/sidecolumn-strip-top.png) repeat-y center top;	
	min-height: 602px;
	padding: 112px 33px 0 33px;
	box-sizing: border-box;
}

#sidecolumn-content h3 {
	text-transform: uppercase;
	margin-top: 0;
	font-size: 18px;
	font-weight: 700;
	color: #741810 !important;
	
}

#pagebody #box-contact {
	float: right;
	width: 27%;
	max-width: 265px;
	padding: 0 18px;
	background: #d9d8d9;
	overflow: hidden;
}

.flux-form-layout-indicate-required-star .flux-required .flux-indicator {
	left: 0;
	background: url(../gif/flx-formfieldmandatory-star.gif) no-repeat;	
}

.flux-form-field .flux-label {
	font-size: 14px;	
}

.flux-form-field-formitem-header-main .flux-label {
	font-size: 21px;
	font-weight: normal;
}

.flux-form-field-formitem-submit button {
	color: #fff;
	font-size: 17px;
	background: #741810;
	padding: 6px 30px;
	border: none;
	min-width: 150px;
	text-transform: lowercase;
	margin-top: 5px;
}

#pagebody #box-join {
	float: right;
	width: 265px;
	padding: 0 18px;
	background: #d9d8d9;
}

#sidecolumn  #box-contact,
#sidecolumn  #box-join {
	width: auto;
	float: none;
	margin-top: 20px;
}

#sidecolumn  #box-join {
	padding-top: 18px;
}

#device-assist {
	display: none;	
}

.region-buttons {
	clear: both;
	display: table;
	width: 100%;
	box-sizing: border-box;
	border-spacing: 18px;
	border-collapse: separate;
	table-layout: fixed;
}

.button-desktop {
	display: table-cell;
	height: 100%;	
	vertical-align: middle;
	background: #741810; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzc0MTgxMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM5YTJkMjkiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: linear-gradient(to bottom,  #741810 0%,#9a2d29 100%); /* W3C */
	border-radius: 8px;
	border: solid 1px #4c0200;
	font-size: 16px;
}

.button-mobile {
	display: none;	
}

.footer {
	flex-shrink: 0;
	min-height: 101px;
	background: #09324a;
	bottom: 0;
	width: 100%;
}

.footer * {
	color: #fff;	
}

.footer a:link, .footer a:visited {
	color: #fff;
	font-weight: normal;
}

.footer a:hover, #footer a:active {
	color: #fff;
	font-weight: normal;
}

#backtotop {
	display: block;
	padding: 10px 15px;
	text-align: right;
	text-transform: uppercase;
	font-size: 15px;	
}


#copyright {
	padding: 18px;
}


.flux-image-centre {
	text-align: center;	
}


.flux-image-left img,
.flux-image-centre img,
.flux-image-right img,
.flux-image-wrapleft img,
.flux-image-wrapright img {
	max-width: 100%;
	height: auto;	
}

.region-main {
	padding: 0 0 10px 0;	
}

.region-main .flux-image-left img,
.region-main .flux-image-centre img,
.region-main .flux-image-right img,
.region-main .flux-image-wrapleft img,
.region-main .flux-image-wrapright img {
	max-width: 100%;
	height: auto;	
}

.region-main .flux-image-left,
.region-main .flux-image-centre,
.region-main .flux-image-right,
.region-main .flux-image-wrapleft,
.region-main .flux-image-wrapright {
	margin: 5px;
	position: relative;
	top: -5px;
	left: -5px;
}



/* ---------------------------- MISC ---------------------------- */

#social {
	float: right;
	max-width: 400px;
	padding: 10px;
	box-sizing: border-box;
}

.region-main > ul li {
	padding: 0 0 5px 0;
	line-height: 1.5em;
}

/* NAVIGATION */

.main-nav {
	display: inline-block;
	position: relative;
	z-index: 2;
	clear: both;
}

.main-nav-menu {
	display: none;	
}

.main-nav>ul {
	padding: 0;
	font-size: 14px;
	line-height: 17px;
	display: block;
}

.main-nav>ul li {
	position: relative;
	text-align: center;
	white-space: nowrap;
	display: inline-block;
	padding: 0 10px;
	margin: 0 0 10px 0;
}

.main-nav>ul li.first {
}

.main-nav>ul li.last {
	
}

.main-nav .link-item a {
	font-size: 20px;
	display: block;
	padding: 7px 0 6px 0;
	text-decoration: none;
}

.main-nav .link-item a:link,
.main-nav .link-item a:visited,
.main-nav .link-item a:hover,
.main-nav .link-item a:active {
	color: #67180f;
	font-weight: 400;
}

.main-nav .link-item a:hover,
.main-nav .link-item a:active {
	text-decoration: underline;	
}

.main-nav .current .link-item a:link,
.main-nav .current .link-item a:hover,
.main-nav .current .link-item a:active,
.main-nav .current .link-item a:visited {
	text-decoration: underline;
}

.main-nav .first .link-item a {
}

.main-nav li .link-control {
	display: none;	
}

.main-nav .dropdown {
	position: absolute;
	z-index: 10;
	display: none;	
	width: 200px;
	background: #f8f8f8;
	border: 1px solid #e5e2e2;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	
}

.main-nav .last .dropdown {
	margin-left: -102px;	
}

.main-nav li:hover .dropdown {
	display: block;
}

.main-nav ul.dropdown {
	margin: 0;
	padding: 0;
}

.main-nav .dropdown li {
	display: block;
	margin: 0;
	padding: 0;
	height: auto;
	width: auto;
	text-align: left;
	white-space: normal;
}

.main-nav .dropdown li a {
	display: block;
	padding: 10px 15px;
	color: #444;
	font-size: 14px;
}

.main-nav .dropdown li .last a {
	border: none;	
}

.main-nav .dropdown li a:link,
.main-nav .dropdown li a:visited {
	text-decoration: none;
	font-weight: 400;
}

.main-nav .dropdown li a:hover,
.main-nav .dropdown li a:active {
	background: #e9e9e9;
	text-decoration: underline;
	font-weight: 400;
}

.main-nav .dropdown li .current a:link,
.main-nav .dropdown li .current a:visited {
	color: #d13d34;
}

/* --- sub nav 1 --- */

#subnav {
	background: #f7f6ef;
	padding: 10px;
}

.subnav-header {
  display: inline-block;
	font-size: 15px;
	font-weight: bold;
	color: #0079b1;
  margin: 0;
  padding: 10px;
}

.subnav1 {
  display: inline-block;
	list-style: none;
	margin: 0;
  padding: 0;
	font-size: 14px;
	font-weight: normal;
}

.subnav1 li {
	display: inline-block;
	padding: 10px;
}

.subnav1 a {
	font-weight: normal;
}

.subnav1 li a:link, .subnav1 li a:visited {
	color: #741810;
	text-decoration: none;
}

.subnav1 li a:hover, .subnav1 li a:active  {
	color: #741810;
	text-decoration: underline;
}

.subnav1 .active a:link, .subnav1 .active a:visited {
	color: #741810;
	text-decoration: underline;
	font-weight: bold;
}

.subnav1 .active a:hover, .subnav1 .active a:active  {
	color: #741810;
	text-decoration: underline;
	font-weight: bold;
}

/* --- sub nav 2 --- */
.subnav2 {
	margin: 0;
	padding: 6px 0 0 20px;
	font-size: 12px;
	font-weight: normal;
}

.subnav2 li {
	display: block;
	padding: 6px 0;
	border: none;
}

.subnav2 a {
}

.subnav2 li a:link, .subnav2 li a:visited {
	color: #741810;
	text-decoration: underline;
}

.subnav2 li a:hover, .subnav2 li a:active  {
	color: #741810;
	text-decoration: underline;
}

.subnav2 .current a:link, .subnav2 .current a:visited {
	color: #741810;
	text-decoration: underline;
}

.subnav2 .current a:hover, .subnav2 .current a:active {
	color: #741810;
	text-decoration: underline;
}

/* ---- card display listers ------*/
.card {
	display: inline-block;
	margin: 10px;
}

.card img {
	border-radius: 13px;
	box-shadow: 2px 2px 4px 1px rgba(0, 0, 0, 0.5);
	display: inline-block;
}

#section-intro,
#section-general,
#section-park,
#section-events,
#section-blueprints,
#section-themes,
#section-people,
#section-kickstarter {
	flex: 1 0 auto;	
}



#section-intro .item01 {
	position: relative;
	z-index: 1;
	top: -74px;
	left: 658px;
	transform: rotate(2deg);
}

#section-intro .item02 {
	position: relative;
	z-index: 3;
	top: 155px;
	left: 376px;
	transform: rotate(2deg);
	
}

#section-intro .item03 {
	position: relative;	
	z-index: 2;
	padding: 70px 0 170px 0;
	transform: rotate(-2deg);
}

#section-intro .card-list {
	position: relative;
	margin-top: -490px;
}

#section-events .card-list,
#section-blueprints .card-list {
	float: left;
	padding-top: 65px;
}

#section-events .card,
#section-blueprints .card {
	margin: 0 20px 69px 20px;	
}

#section-themes .card {
	margin: 40px 13px;	
}

.card-detail-note {
	display: none;	
}



/* ---- buttons  ------*/

.button,
.button-desktop a:link,
.button-desktop a:visited,
.button-mobile a:link,
.button-mobile a:visited {
	display: block;
	background: #741810; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzc0MTgxMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM5YTJkMjkiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: linear-gradient(to bottom,  #741810 0%,#9a2d29 100%); /* W3C */
	border-radius: 8px;
	padding: 20px;
	color: #fff;
	font-size: 16px;
	text-decoration: none;
	text-transform: uppercase;
	height: 100%;
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #4c0300;
}

.button-desktop a:hover,
.button-desktop a:active,
.button-mobile a:hover,
.button-mobile a:active {
	display: block;
	background: #a0170b; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2EwMTcwYiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNiZTNmNDUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: linear-gradient(to bottom,  #a0170b 0%,#be3f45 100%); /* W3C */
	border-radius: 8px;
	border: 1px solid #741810;
	padding: 20px;
	color: #fff;	
	text-decoration: none;
	text-transform: uppercase;
	height: 100%;
	width: 100%;
	box-sizing: border-box;
}

#pagebody .image-no-resize img {
	max-width: none;
}


/* --- youtube --- */

.youtube, 
.youtube img {
	position: relative;
	z-index: 1;
	display: inline-block;
}

.youtube iframe {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
}


/* --- countdown --- */
#countdown-wrap {
	position: absolute;
	right: 5%;
	top: 15px;
	border: 1px solid black;
	padding: 0 10px 15px 10px;
}

#countdown-wrap p {
	clear: both;
	font-weight: bold;
	font-size: 16px;
	color: #c5c5c5;
	text-align: center;	
	padding-top: 15px;
}

#countdown-wrap p em {
	color: #939393;
	font-style: normal;
	font-weight: bold;
	font-size: 15px;
}

.countdown {
	width: 250px;
	text-align: center;
	letter-spacing: 0;
	position: static;
	margin: 0 auto;
	font: 700 36px Tahoma, Arial,sans-serif;
}

.countdown .segment {
	position: relative;
	float: left;
	padding: 0 0 0 9px;
}

.countdown .digit-slot {
	position: relative;
	float: left;
	width: 22px;
	height: 45px;
	overflow: hidden;
}

.countdown .digit {
	position: absolute;
	text-align: center;
	color: #c5c5c5;
}

.countdown .title {
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #c5c5c5;
	line-height: 12px;
	clear: both;
}
.home .countdown .digit,
.home .countdown .title,
.home #countdown-wrap p {
	color: #888;
}

.countdown .divider {
	position: absolute;
	top: 18px;
	left: 5px;
	width: 1px;
	height: 36px;
	background-color: #f5f5f5;
}

.countdown .Days .divider {
	display: none;
}


#glossary {
	display: flex;
	flex-flow: column;
}

.glossary-entry {
	order: 2;
}

.glossary-entry p {
	font-size: 14px;	
}

.glossary-exact-match {
	order: 1;
	margin: 15px 0 30px ;
	padding: 0 15px 15px 15px;
	border: 2px solid black;
	background: #fff;
}

.glossary-exact-match::after {
	position: absolute;
	content: "Other mentions:";
	font-size: 15px;
	display: block;
	padding: 30px 0 5px 0;	
	font-weight: bold;
	margin-left: -15px;
}

.glossary-filter-label {
	font-size: 15px;
	font-weight: bold;	
}

#glossary-filter {
	font-size: 15px;
	padding: 10px 30px 10px 5px;
	vertical-align: middle;
}

#glossary-reset {
	position: relative;
	left: -30px;
	margin-right: -30px;

	display: inline-block;
	box-sizing: border-box;
	width: 25px;
	height: 25px;
	background: url(../png/icon-reset.png) no-repeat;
	cursor: pointer;
	vertical-align: middle;
	overflow: hidden;
	text-indent: -10em;
}

#glossary .highlight {
	color: #C06;
	font-weight: bold;	
}

#card-listing.panorama .card-entry, .image-card, .image-card-5 {
	display: inline-block;	
	margin: 0 0 5px 0 !important;
	width: 24%;	
}

.image-card-5 {
	width: 19%;	
}

.image-card img, .image-card-5 img {
	border-radius: 3.5%;
	border: none;
	box-shadow: 0 3px 4px 0 rgba(2, 2, 2, 0.5);	
}

.card-count-theme,
.panorama-theme {
	max-width: 700px;	
}

.card-count-theme div,
.panorama-theme div {
	display: inline-block;
	width: 47px;
	height: 48px;
	text-indent: -1000px;
	background-image: url(../png/unfair-scoring-themes-3-states.png);
	overflow: hidden;
}

.panorama-theme a {
	display: block;
	width: 100%;
	height: 100%;	
	cursor: pointer;
}

#pack-A { background-position: 0 0; }
#pack-B { background-position: 0 -70px; }
#pack-C { background-position: 0 -140px; }
#pack-D { background-position: 0 -210px; }
#pack-E { background-position: 0 -280px; }
#pack-F { background-position: 0 -350px; }
#pack-G { background-position: 0 -420px; }
#pack-H { background-position: 0 -490px; }
#pack-J { background-position: 0 -630px; }
#pack-K { background-position: 0 -700px; }
#pack-L { background-position: 0 -770px; }
#pack-M { background-position: 0 -840px; }
#pack-N { background-position: 0 -910px; }
#pack-O { background-position: 0 -980px; }
#pack-P { background-position: 0 -1050px; }
#pack-Q { background-position: 0 -1120px; }
#pack-R { background-position: 0 -1190px; }
#pack-S { background-position: 0 -1260px; }
#pack-T { background-position: 0 -1330px; }
#pack-U { background-position: 0 -1400px; }
#pack-V { background-position: 0 -1470px; }
#pack-W { background-position: 0 -1540px; }
#pack-X { background-position: 0 -1610px; }
#pack-Y { background-position: 0 -1680px; }
#pack-Z { background-position: 0 -1750px; }
#pack-promosneakpeek { background-position: 0 -1820px; }
#pack-gamechanger { background-position: 0 -1890px; }

#pack-A.selected { background-position: -140px 0; }
#pack-B.selected {	background-position: -140px -70px; }
#pack-C.selected {	background-position: -140px -140px; }
#pack-D.selected {	background-position: -140px -210px; }
#pack-E.selected {	background-position: -140px -280px; }
#pack-F.selected {	background-position: -140px -350px; }
#pack-G.selected {	background-position: -140px -420px; }
#pack-H.selected {	background-position: -140px -490px; }
#pack-J.selected {	background-position: -140px -630px; }
#pack-K.selected {	background-position: -140px -700px; }
#pack-L.selected {	background-position: -140px -770px; }
#pack-M.selected {	background-position: -140px -840px; }
#pack-N.selected {	background-position: -140px -910px; }
#pack-O.selected {	background-position: -140px -980px; }
#pack-P.selected {	background-position: -140px -1050px; }
#pack-Q.selected {	background-position: -140px -1120px; }
#pack-R.selected {	background-position: -140px -1190px; }
#pack-S.selected {	background-position: -140px -1260px; }
#pack-T.selected {	background-position: -140px -1330px; }
#pack-U.selected {	background-position: -140px -1400px; }
#pack-V.selected {	background-position: -140px -1470px; }
#pack-W.selected {	background-position: -140px -1540px; }
#pack-X.selected {	background-position: -140px -1610px; }
#pack-Y.selected {	background-position: -140px -1680px; }
#pack-Z.selected {	background-position: -140px -1750px; }
#pack-promosneakpeek.selected {	background-position: -140px -1820px; }
#pack-gamechanger.selected {	background-position: -140px -1890px; }

#pack-A.inactive { background-position: -70px 0; }
#pack-B.inactive {	background-position: -70px -70px; }
#pack-C.inactive {	background-position: -70px -140px; }
#pack-D.inactive {	background-position: -70px -210px; }
#pack-E.inactive {	background-position: -70px -280px; }
#pack-F.inactive {	background-position: -70px -350px; }
#pack-G.inactive {	background-position: -70px -420px; }
#pack-H.inactive {	background-position: -70px -490px; }
#pack-J.inactive {	background-position: -70px -630px; }
#pack-K.inactive {	background-position: -70px -700px; }
#pack-L.inactive {	background-position: -70px -770px; }
#pack-M.inactive {	background-position: -70px -840px; }
#pack-N.inactive {	background-position: -70px -910px; }
#pack-O.inactive {	background-position: -70px -980px; }
#pack-P.inactive {	background-position: -70px -1050px; }
#pack-Q.inactive {	background-position: -70px -1120px; }
#pack-R.inactive {	background-position: -70px -1190px; }
#pack-S.inactive {	background-position: -70px -1260px; }
#pack-T.inactive {	background-position: -70px -1330px; }
#pack-U.inactive {	background-position: -70px -1400px; }
#pack-V.inactive {	background-position: -70px -1470px; }
#pack-W.inactive {	background-position: -70px -1540px; }
#pack-X.inactive {	background-position: -70px -1610px; }
#pack-Y.inactive {	background-position: -70px -1680px; }
#pack-Z.inactive {	background-position: -70px -1750px; }
#pack-promosneakpeek.inactive {	background-position: -70px -1820px; }
#pack-gamechanger.inactive {	background-position: -70px -1890px; }

.card-count-options {
	display: inline-block;
	min-width: 120px;
	padding: 10px;
	color: #fff;
	background: #000;
	font-weight: bold;
	margin: 10px 5px;
	border-radius: 4px;
	text-align: center;
	font-size: 14px;
	text-transform: uppercase;
}

.card-count-options.selected {
	background: #2da247;	
}

#card-listing-counts table {
	display: block;
	width: auto;
}

#card-listing-counts tbody {
	display: flex;	
	flex-direction: column;
}

#card-listing-counts tr {
	display: flex;	
	flex-direction: row;
	border-bottom: 1px solid black;	
}

#card-listing-counts .card-qty-total {
	flex: 0 1;
	text-align: right;
	padding: 2px 8px;
}

#card-listing-counts td {
	display: flex;
	flex-direction: row;
	flex: 1 1;
}

#card-listing-counts .built-in {
	order: 1;	
}

#card-listing-counts div {
	display: none;
}


#card-listing-counts div.card-type {
	display: inline-block;
	width: 255px;
}

#card-listing-counts div.card-title {
	display: inline-block;
}


.stat-dateranges a {
	display: inline-block;
	padding: 3px 5px;
}

.stat-dateranges a.current {
	background: #ab2422;
	color: #fff;
	text-decoration: none;
}


.stat-popularity {
	display: table;	
	table-layout:fixed;
	width: 100%;
	margin: 0 0 -1px 0;
}

.stat-popularity .stat-name {
	display: table-cell;
	font-size: 15px;
	font-weight: bold;
	white-space: nowrap;
	padding: 3px 5px 3px 0;
	width: 80px;
}

.stat-popularity .stat-percentage {
	display: table-cell;
	font-size: 13px;
	white-space: nowrap;
	padding: 3px 5px 3px 5px;
	width: 30px;
	text-align: right;
}

.stat-popularity .stat-bar {
	display: table-cell;
	border: 1px solid black;
	height: 15px;
	vertical-align: middle;
}

.stat-popularity .stat-bar-fill {
	background: #ab2422;
	height: 75%;
}

.stat-popularity.stat-game-changers .stat-name {
	width: 130px;
}

.stat-popularity.stat-themes-all-time .stat-bar-fill {
	background: #7d1b19;
}

.stat-popularity.stat-players .stat-bar-fill {
	background: #a3671e;
}

.stat-popularity.stat-game-changers .stat-bar-fill {
	background: #00ae52;
}

.card-header {
	float: left;
}

.card-header h3 {
	margin: 5px 0 3px;	
}

.card-header h4 {
	margin: 3px 0 10px;	
}

.card-notes {
	clear: left;
}

.card-entry {
	display: inline-block;
	margin: 7px;
	max-width: 285px;
}

.card-detail .card-entry {
	margin-left: 40px;	
}

.card-entry img {
	border-radius: 13px;
	box-shadow: 2px 2px 4px 1px rgba(0, 0, 0, 0.5);
}

.card-entry {
	position: relative;	
}

.card-detail .card-entry {
	float: right;
	
}

.switch-view {
	float: right;
	border: solid 1px #4c0200;
	background: #741810; /* Old browsers */
	border-radius: 8px;
	vertical-align: middle;
}

.switch-view a {
	display: inline-block;
	padding: 8px;
	color: #fff;
	text-align: center;
	cursor: pointer;
	text-decoration: none;
}

.question {
	margin-top: 10px;
	padding: 10px;
	clear: both;
}

.question > h4 {
	margin-bottom: -25px;
}

.question .answer-toggle {
	text-align: right;	
}

.question .answer-toggle span {
	display: inline-block;
	padding: 5px;
	background: #666;
	color: #fff;
	font-size: 12px;	
	cursor: pointer;
}

.question .answer-toggle span:nth-child(2){
	display: none;
}

.question.open .answer-toggle span:nth-child(1){
	display: none;
}

.question.open .answer-toggle span:nth-child(2){
	display: inline-block;
}


.question .answer {
	height: 0;
	overflow: hidden;
	border-top: 2px solid #666;
	background: #fff;
}

.question.open .answer {
	height: auto;
	border: 2px solid #666;
	padding: 15px 20px;
}

.card-qty {
	box-sizing:border-box;
	position: absolute;
	
	right: 3px;
	bottom: 8px;
	font-size: 18px;
	text-align: center;
	padding: 4px 5px 0 5px;
	background: #eee;
	border-radius: 30px;
	width: 36px;
	height: 36px;
	font-family: 'Roboto Slab', Georgia, serif;
	font-weight: bold;
	
	border: 2px solid #000;
}

.searchbox label {
	font-size: 15px;
	font-weight: bold;
}

.searchbox input, .searchbox button {
	font-size: 15px;
	padding: 10px 5px 10px 5px;
	vertical-align: middle;
	margin-right: 2px;
}

/* --- GAME HISTORY --- */

.overlay {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(255,255,255,0.7);
  display: none;
}
  
.centerpanel {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}
  
.interface {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
  
.gamepanel {
  position: relative;
	box-sizing: border-box;
  width: 100%;
  max-width: 360px;
  height: 100%;
  max-height: 620px;
  border: 1px solid #999;
  padding: 0 0 43px 0;
  text-align: center;
  pointer-events: none;
}
  
.milestone .gamepanel,
.games .gamepanel {
  background: #fff;
  pointer-events: all;
}
  
.screen {
  position: static;  
  height: 100%;
}
  
.close-button {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  font-size: 25px;
  padding: 5px 10px 15px 15px;
  color: #000;
}
  

.menu {
  display: none;
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 43px;
  transform: translate(-50%, 0);  
  width: 200px;
  border: 1px solid #999;
  border-bottom: none;
  font-size: 18px;
  background: #fff;
	box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.3);
  pointer-events: all;
}
  
.menu-item {
  border-bottom: 1px solid #999;
  padding: 10px;
  cursor: pointer;
}
  
.dialogs {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-align: left;
  pointer-events: none;
}
  
.dialog {
  display: none;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  background: #fff;
  border: 1px solid #999;
  padding: 0 30px 73px 30px;
  font-size: 15px;
  pointer-events: all;
}
  
.view {
  text-align: right;
  line-height: 10px;
}

.view span {
  text-align: left;
  display: inline-block;
  text-indent: -10000px;
  background: center center / contain url("../png/unfair-icon-view.png") no-repeat;
  margin: 0 0 0 8px;
  cursor: pointer;
  overflow: hidden;
}

.milestone {
  display: inline-block;
  vertical-align: middle;
}
  
.milestone .view span {
  width: 27px;
  height: 22px;
}
  
.game-record .view span {
  width: 30px;
  height: 25px;
} 

  
  
.game-record.testing td {
  color: #32548A;  
}

.overlay.testing td {
  color: #000;  
}
  
.claim {
  position: relative;
  padding: 8px; 
  background: #ddd;
  border-radius: 6px;
  text-align: center;
  max-width: 100px;
}

.claim::before {
  display: inline-block;
  content: " ";
  width: 15px;
  height: 15px;
  position: absolute;
  background: #ddd;
  transform: rotate(45deg);
  bottom: -8px;
  margin-left: -7px;
}

.claim div {
  position: relative;
  border: 2px outset #333;
  border-radius: 3px;
  background-color: #32548A;
  color: white;
  padding: 5px 0;
}
 
.playercount5 .claim {
  font-size: 13px;  
}
  
.claimed1 .names .player-1,
.claimed2 .names .player-2,
.claimed3 .names .player-3,
.claimed4 .names .player-4,
.claimed5 .names .player-5 {
  border-bottom: 2px dotted #32548A !important;
}

.unclaimed1 .names .player-1,
.unclaimed2 .names .player-2,
.unclaimed3 .names .player-3,
.unclaimed4 .names .player-4,
.unclaimed5 .names .player-5 {
  font-style: italic;
}
  
  
.delete {
  margin: 0 auto;
  position: relative;
  border: 2px outset #333;
  border-radius: 3px;
  background-color: #32548A;
  color: white;
  padding: 5px 0;
  max-width: 90px;
  text-align: center;
}
  
  
.games {
  border-collapse: collapse;
  width: 100%;
  max-width: 600px;
  border-top: 2px solid #000;
  margin: 5px 0;
}
  
.game-record>td {
  border-bottom: 2px solid #000;  
  padding: 15px 8px;
}
  
.arrow {
	display: inline-block !important;
	margin: 0 3px;
	width: 11px;
	height: 11px;
	border-right: 3px solid #000;
	border-bottom: 3px solid #000;
	transform: rotate(-45deg);
}


#button-back .arrow {
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
	transform: rotate(135deg);
}

.final-details .divider td {
  overflow: hidden;
  border-top: 2px solid #999;	
  border-bottom: 2px solid #999;	
  padding: 0;
}

.final-details .divider td div {
  min-height: 2px;
}  

.final-details .divider .testing-msg {
  display: none;
}
  
.testing .final-details .divider .testing-msg {
  display: block;
  text-align: center;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: bold;
  color: #32548A;
}
  
html, body {
  background-color: inherit;
}
  
.stats-themes {
  display: flex;  
  height: 40px;
  border: 1px solid black;
  margin: 10px 0 25px 0;
 	align-items: flex-end;
  gap: 1px;
  position: relative;
  flex: 1;
}
  
.stats-theme {
  background: #32548A;
  width: 4%;
  text-align: center;
}

.stats-theme div {
  position: absolute;  
  top: 40px;
  width: 4%;
}
  
  
.button-menu {
	display: flex;
	position: absolute;
  z-index: 2;
	bottom: 0;
	box-sizing: border-box;
	width: 14%;
	height: 100%;
	padding: 10px;
	justify-content: center;
 	align-items: center;
	color: #333;
	background: #f0f0f0;
	cursor: pointer;
  left: 43%;
  font-weight: bold;
}  
  
.controls {
  left: 0;
  pointer-events: all;
  
}
  
.deleted .overlay {
  filter: grayscale(1.0);
}

.deleted .screen {
  opacity: 0.3;
}

.deleted .menu-item {
  cursor: default;
  opacity: 0.3;
}
  
.button-proceed,
.button-cancel {
	display: flex;
	position: absolute;
	bottom: 0;
	box-sizing: border-box;
	width: 50%;
	height: 100%;
	padding: 10px 30px;
	text-align: right;
	justify-content: flex-end;
 	align-items: center;
	color: #333;
	background: #fff;
	cursor: pointer;
}

.button-cancel {
	left: 0;
	text-align: left;
	justify-content: flex-start;
}
  
.button-proceed {
  right: 0;
}
  
.games-records input[type=checkbox],
.games-records input[type=radio] {
  position: static;
}
  
.section {
  padding: 10px 0 10px 0;
  position: relative; 
}
  
.section h4 {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  padding: 11px 15px;
  background: rgba(255,255,255,0.7); 
  margin-top: 0;
  cursor: pointer;
}
  
.section h5 {
  font-size: 14px;
  font-weight: bold;
  margin-top: 5px;
}
  
.section .summary,
.section .detail {
  padding: 6px 15px 3px 15px;  
}

.section .detail {  
  display: none;  
}
  
.section.open .detail {
  display: block;    
  border-top: 1px dotted #999;
}
  
.section .caret {
  position: absolute;
  top: 10px;
  right: 0;
  padding: 15px 15px;
  cursor: pointer;
}

.section.open .caret {
  top: 7px;
}

.section.open .arrow {  
  transform: rotate(45deg);
}


.section td {
  text-align: right;
}
  
.section td:nth-child(1) {
  text-align: left;  
}
  
.record-theme-header {
  padding-top: 5px;
  font-weight: bold;
}

.record-theme-data {
  padding-left: 10px;  
}




/* tablet portrait view */
@media (max-width: 1020px) {

	#pagebody {
		background-image: none;
	}
	
	iframe {
		max-width: 100%;
	}
	
	#pagebody #box-contact,
	#pagebody #box-join {
		max-width: 220px;
		padding: 0 18px 0 9px;
	}

	.header>div {
		display: block;
	}

	.main-nav {
		display: block;
	}
	
	.main-nav .link-item a {
		font-size: 18px;
	}

	h1 {
		font-size: 32px;
	}
	
	/* --- main heading --- */
	h2, .main, .flux-form-field-formitem-header-main .flux-label {
		margin: 20px 0 0 0;
		color: #000;
		font-size: 37px;
		font-weight: 700;
	}
	
	.home h2, .home .main {
		font-weight: 400;
	}
	
	.region-intro h2, .region-intro .main {
		font-size: 26px;
		font-family: 'Open Sans',Arial, Helvetica, sans-serif;
		color: #fff;
		font-weight: 400;
	}

	.region-intro a:link,
	.region-intro a:visited,
	.region-intro a:active,
	.region-intro a:hover {
		color: #fff;
	}
	
	.region-park h2 {
		float: left;
		color: #000;
		max-width: 250px;
		background: rgba(255,255,255,0.7);
		padding: 32px 29px 75px 29px;
		text-align: left;
		line-height: 1.2em;
		margin-bottom: 70px;
	}
	
	.region-events h2,
	.region-blueprints h2 {
		float: right;
		color: #fff;
		max-width: 250px;
		background: rgba(0,0,0,0.7);
		padding: 32px 29px 75px 29px;
		text-align: right;
		line-height: 1.2em;
		margin-bottom: 70px;
	}
	
	.region-themes h2 {
		color: #000;
		max-width: 860px;
		line-height: 1.2em;
		margin: 30px auto 10px;
		text-align: center;
	}
	
	/* --- sub heading --- */
	h3, .sub {
		margin: 20px 0 0 0;
		color: #000;
		font-size: 22px;
		font-weight: 700;
	}
	
	.home h3, .home .sub {
		font-weight: 400;
	}
	
	/* --- sub heading --- */
	h4, .smallersub {
		margin: 20px 0 0 0;
		color: #000;
		font-size: 17px;
		font-weight: bold;
	}
	
	/* --- normal text --- */
	p, .default {
		margin: 10px 0 0 0;
		color: #000;
		font-size: 14px;
	}
	
	/* --- small text --- */
	.small {
		margin: 10px 0 0 0;
		font-size: 13px;
	}
	
	/* --- site tagline --- */
	#tagline h2 {
		margin: 20px 0 0 0;
		color: #741810;
		font-size: 24px;
		font-weight: 700;
	}
	
	/* --- text in people section, kickstarter home page --- */
	#section-people h2, #section-people .main, 
	#section-people h3, #section-people .sub, 
	#section-people h4, #section-people .smallersub, 
	#section-people p, #section-people .small, 
	#section-kickstarter h2, #section-kickstarter .main, 
	#section-kickstarter h3, #section-kickstarter .sub, 
	#section-kickstarter h4, #section-kickstarter .smallersub, 
	#section-kickstarter p, #section-kickstarter .small,
	#section-kickstarter .flux-label, #section-kickstarter .flux-description {
		color: #fff;	
	}

	.flux-image-wrapleft,
	.flux-image-wrapright {
		max-width: 40%;
	}

	.flux-image-wrapleft img,
	.flux-image-wrapright img {
		max-width: 100%;
		height: auto;
	}
	
	.flux-form-field-formitem-header-main .flux-label {
		font-size: 17px;
	}
	
	#sidecolumn {
		display: none;
		position: fixed;
	}
	
	.card-header {
		float: none;		
	}

}

/* phone view */
@media (max-width: 720px) {

	h1 {
		padding: 15px 15px 0 15px;
		font-size: 28px;
	}
	
	.standard h2 {
		margin-top: 0;
		font-size: 28px;
	}

	#section-park .content-width {
		padding: 0;
	}

	#countdown-wrap {
		clear: both;
		position: static;
		overflow: visible;
	}

	.table-frameless td, 
	td.table-frameless {
		display: block;
	}

	#section-intro .table-standard {
		position: static;
		width: 100%;
		box-sizing: border-box;
		min-width: 0;
		max-width: 300px;
		margin: 10px auto 0 auto;
	}
	
	#section-intro .table-standard td {
    padding: 10px 15px 20px;	
	}

	#section-intro .item01, 
	#section-intro .item02, 
	#section-intro .item03, 
	#section-intro .item04 {
		position: static;
	}


	#section-intro .card-list {
		margin: 0;		
	}
	
	
	#section-people .table-standard td img {
		float: none;
		padding: 15px 0 0 0;
	}

	#social {
		float: none;
	}


	#logo {
		width: 100%;
		position: static;
		box-sizing: border-box;
		line-height: 1px;
	}

	#logo img {
		max-width: 100%;
		height: auto;
	}
	
	.main-nav {
		clear: both;
	}	

	#tagline {
		display: block;
		position: relative;
		overflow: hidden;
		width: 50px;
		height: 50px;
		padding: 0;
		margin: 15px 15px 25px 15px;
	}
	
	#tagline h2 {
		text-indent: -999em;
	}
	
	#tagline a {
		position: absolute;
		top: 0;
		left: 0;
		width: 50px;
		height: 50px;
		background: url(../phone-icon.html) no-repeat;
		overflow: hidden;
		padding: 50px;
	}

	#device-assist {
		display: block;	
		clear: both;
		padding: 5px 18px 0 18px;
	}
	
	#device-assist a:link,
	#device-assist a:hover,
	#device-assist a:active,
	#device-assist a:visited {
		display: block;
		margin: 10px 0;
		background: #309acc;
		color: #fff;
		font-size: 18px;
		padding: 8px 15px;
		border-radius: 6px;
		text-transform: lowercase;
		text-decoration: none;
		text-align: center;
		font-weight: normal;
	}
	
	.region-buttons {
		display: block;
		padding: 5px 18px 0 18px;
	}
	
	.button-desktop {
		display: block;
		height: auto;	
	}

  #pagebody .content-regions,
	#pagebody #sidecolumn,
	#pagebody #box-contact,
	#pagebody #box-join,
	#pagebody .region-main,
	#pagebody .region-notes,
	#pagebody .region-stats {
		width: auto;
		max-width: none;
		padding: 10px;
		margin: 0;
		float: none;
	}
	
	#pagebody .region-main,
	#pagebody .region-stats,
	#pagebody .region-notes {
		padding: 15px;
	}
	
	.button-mobile {
		display: block;	
	}
	
	#backtotop {
		display: block;
		background: #727272;
		padding: 10px 15px;
		text-align: right;
		text-transform: uppercase;
		font-size: 15px;
	}
	
	#copyright,
	#company {
		float: none;
		clear: both;
		position: static;
		margin: 0;
		width: auto;
		text-align: left;
		padding: 5px 15px;
	}

	.main-nav {
		height: auto;
		box-shadow:         none;	
	}

	.main-nav-menu {
		display: block;
		padding: 15px 0 12px 0;
		text-align: center;
		color: #fff;
		text-transform: uppercase;
		background: #87231a; /* Old browsers */
		/* IE9 SVG, needs conditional override of 'filter' to 'none' */
		background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzg3MjMxYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjQlIiBzdG9wLWNvbG9yPSIjNzQxODEwIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iOTYlIiBzdG9wLWNvbG9yPSIjNzQxODEwIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzg3MjMxYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
		background: linear-gradient(to bottom,  #87231a 0%,#741810 4%,#741810 96%,#87231a 100%); /* W3C */
		border-top: #741810;
		font-size: 14px;
		text-shadow: 1px 1px 1px #000;
		cursor: pointer;
		border-bottom: 1px solid #a5a5a5;
	}

	.main-nav-menu-button {
		display: inline-block;	
		margin: 0 10px;
		width: 13px;
		border-top: 2px solid #fff;
		border-bottom: 2px solid #fff;
		padding: 2px 0;
		vertical-align: middle;
		box-shadow: 0 1px 1px 0 rgba(51, 51, 51, 0.50);
	}
	
	.main-nav-menu-button div {
		height: 2px;
		background: #fff;
	}

	.main-nav .main-nav-items,
	.dropdown {
		display: none;
	}
	
	.main-nav>ul {
		display: block;
		margin: 0;
		padding: 0;
		height: auto;
		width: 100%;
		background: #e8e8e8;
	}
	
	.main-nav>ul li {
		position: relative;
		display: block;
		margin: 0;
		padding: 0;
		height: auto;
		width: 100%;
		text-align: left;
	}
	

	.main-nav>ul li.first,
	.main-nav>ul li.last {
		padding: 0;
	}
	
	.main-nav .link-item a,
	.main-nav .dropdown li a,
	.main-nav .dropdown li .last a {
		display: block;
		padding: 18px;
		font-size: 17px;
		color: #4e4e4e;
		border-bottom: 1px solid #a5a5a5;
	}

	.main-nav .link-item a:link,
	.main-nav .link-item a:visited {
		color: #4e4e4e;
	}

	
	.main-nav .link-item a:hover,
	.main-nav .link-item a:active {
		background: none;
		color: #0083c0;
		text-decoration: underline;
	}
	
	.main-nav .current .link-item a:link,
	.main-nav .current .link-item a:visited {
		background: none;
		color: #0083c0;
	}
	
	.main-nav li.compound .link-control,
	.main-nav li.compound.current .link-control.active {
		position: absolute;
		z-index: 2;
		display: block;
		top: 0;
		right: 0;
		width: 53px;
		height: 53px;
		border-left: 2px solid #a5a5a5;
		background: url(../gif/main-nav-controls.gif) -3px -4px no-repeat;
		cursor: pointer;
	}
	
	.main-nav li.compound.current .link-control,
	.main-nav li.compound .link-control.active {
		background: url(../gif/main-nav-controls.gif) -3px -64px no-repeat 
	}

	.main-nav .dropdown {
		position: relative;
		top: 0;
		left: 0;
		z-index: 3;
		
		display: none;
		width: auto;
		background: #f5f5f5;
	}
	
	.main-nav .last .dropdown {
		margin-left: 0;	
	}
	
	.main-nav li:hover .dropdown {
		display: none;
	}	

	.main-nav .dropdown li a,
	.main-nav .dropdown li .last a {
		padding: 10px 15px 10px 40px;
		border-bottom: 1px solid #dedede;
	}
	
	.main-nav .dropdown li .last a {
		border-bottom: 1px solid #bcbcbc;
	}
	
	.main-nav .dropdown li a:hover,
	.main-nav .dropdown li a:active {
		color: #0083c0;
		text-decoration: underline;
	}

	.main-nav .current .dropdown,
	.main-nav li.current:hover .dropdown {
		display: block;		
	}
	

	.stat-dateranges a {	
		font-size: 18px;	
	}
	
	.card-entry {
		max-width: none;
	}
	
	.card-detail .card-entry {
		float: none;
		width: auto;
		text-align: center;
		display: block;
		margin: 7px 0;
	}
	
	.card-detail .card-entry p {
		text-align: left;
	}
	
	.card-notes {
		clear: both;
	}
	
	.card-detail-note {
		display: block;
		position: absolute;
		top: -2px;
		left: 0;
		width: 100%;
		text-align: center;
	}

	.card-detail-note div {
		display: inline-block;
		background: #fff;
		padding: 5px 10px;
		border-top: 3px solid #666;
		border-bottom-left-radius: 5px;
		border-bottom-right-radius: 5px;
		opacity: 0.7;
	}
	
	
	#card-listing.panorama .card-entry, .image-card, .image-card-5 {
		width: auto;	
	}

	.flux-image-wrapleft,
	.flux-image-wrapright {
		max-width: 100%;
    float: none;
	}  
  
}

/* phone landscape view */
@media (max-width: 600px) {

	#card-listing-counts td {
		flex-direction: column;
	}
	
}

/* phone portrait view */
@media (max-width: 400px) {

	#pagebody .region-main {
		padding: 10px;
	}
	
	h1 {
		float: none;
		padding: 10px 10px 0 10px;
		font-size: 24px;
	}
	
	h2,	
	.region-park h2,
	.region-events h2,
	.region-blueprints h2,
	.region-themes h2 {
		float: none;
		margin-bottom: 50px;
		padding: 32px 29px 32px 29px;
		font-size: 22px;
		text-align: left;
	}
	
	.region-intro h2,
	.region-themes h2 {
		font-size: 22px;
		padding: 0;
	}
	
	h2, .standard h2 {
		margin-top: 0;
		margin-bottom: 0;
		padding: 0;
		font-size: 22px;
	}
	
	#logo {
		padding: 0;
	}
	
	#logo div {
		display: inline-block;
		width: 45%;
		vertical-align: middle;
	}
	#logo img {
		padding: 5px 0 0 0;
	}
	
	#logo h2 {
		display: inline-block;
		padding-left: 5%;
		width: 45%;
		font-size: 12px;
		vertical-align: middle;
	}

	.main-nav {
		clear: both;
	}
	#tagline {
		margin: 15px;
	}

	#section-intro .item03 {
		padding: 20px 0 30px 0;
	}
	
	#section-events .card-list,
	#section-blueprints .card-list {
		float: none;
		padding-top: 0;
	}

	.image-card, .image-card-5 {
		width: auto;
	}	
	
	.image-card img, .image-card-5 img {
		width: 100%;
	}	
	
	.stat-dateranges a {	
		display: block;
		width: 150px;

	}

  #subnav {
   padding: 2px 0; 
  }
  
  .subnav-header {
   padding: 3px 0 0 0; 
  }
  
  .subnav1 {
   display: block; 
  }
  
  .subnav li {
    padding: 5px;  
  }
  
  .gamepanel {
    max-width: none;
    max-height: none;
  }  
  
  h1 {
   font-size: 22px; 
  }
  
  .game-record>td {
   padding: 8px 6px; 
  }
  
}

