/* Call first on page to help loading (e.g hide elements until they've moved )*/
html {
    max-width:100%;
}
body {
}
img {
    max-width: 100%;
    height:auto;
}
iframe {
    max-width: 100%;
}
.video iframe {
    max-width: 90%;
}
.innerWrapper, #innerContent {
    max-width:100%;
    position:relative;
}
.menu-button {
    display:none;
}
.mobileonly {
    display:none;
}
.fancybox-wrap{
    max-width:90%;
}
.fancybox-inner {
    width:auto !important;
/*    max-width:100%;*/
}
/*
.dynamicheight .fancybox-inner {
    height:auto !important;
}
*/
.mobileshare {
	display:none;
}
.table {
	display:table;
	table-layout:fixed;
}
.button {
	-webkit-appearance:none;
}

/* Tablets only */
@media (min-width : 768px) and (max-width : 1024px) {
    .notablet {
        display:none !important;
    }
	ul.nav > li a {
	    padding: 4px 3px 4px 3px;
		font-size:14px;
	}
	.logo {
		padding-right:15px;
	}
}
/* narrow iPad view */
@media (min-width : 768px) and (max-width : 899px) {
	header .logo {
		width:250px;
		height:140px;
	}
	header .logo {
		padding:0px 30px;
	}
}
/* Small Tablet + Mobile */
@media (max-width : 767px) {  
	html {
		background-color:#9e9ea7;
	}
	body {
		font-size:14px;
		height:auto;
	}
	.mobileonly {
		display:block !important;
	}
	span.mobileonly {
		display:inline !important;
	}
    .nomobile {
        display:none !important;
    }
	input.button {
		-webkit-appearance:none;	
	}
	.innerPadding {
		padding:0px 15px;
	}
	.headerContainer {
		padding-bottom:0;
	}
	#header {
		margin-bottom:0;
	}
	.headerRight {
		padding-top:10px;
	}
	header .logo, header .headerRight, .headerWrapper {
		display:block;
	}
	header .logo {
		width:180px;
		height:70px;
		padding:10px 10px 0px 10px;
	}
	.bodymid, .bodyleft, .bodyright, .innerBox {
		height:auto !important;
	}
	.slideWrapper .sidebar {
		display:none;
	}
	.headerSlides .col.leftSide {
		display:none;
	}
	.menu-button {
        position:absolute;
		right:0;
        width:35px;
        height:30px;
		margin-top:20px;
		margin-right:7px;
		cursor:pointer;
    }
    .menu-button .line {
        border-bottom:5px solid #e67fb9;
        margin-top:5px;
    }
	header #navmenu {
		display:none;
	}
	header.expanded #navmenu {
		display:block;
	}
	h1 {
		font-size:28px;
	}
	h2 {
		font-size:22px;
	}
	h3 {
		font-size:18px;
	}
	h4 {
		font-size:16px;
	}
}


/* Stackable module */
.stacktable { width: 100%; }
.st-head-row { padding-top: 1em; }
.st-head-row.st-head-row-main { font-size: 1.5em; padding-top: 0; }
.st-key { width: 49%; text-align: right; padding-right: 1%; }
.st-val { width: 49%; padding-left: 1%; }
/* RESPONSIVE EXAMPLE */
.stacktable.large-only { display: table; }
.stacktable.small-only { display: none; }
@media (max-width: 767px) {
  .stacktable.large-only { display: none; }
  .stacktable.small-only { display: table; }
}
