/* Call first on page to help loading (e.g hide elements until they've moved )*/

body {
    max-width:100%;
}
iframe {
    max-width: 100%;
}
.video iframe {
    max-width: 90%;
}
.innerWrapper, #innerContent {
    max-width:100%;
    position:relative;
}
.menu-button {
    display:none;
}
.mobileonly {
    display:none;
}
.fromcms table {
	table-layout:fixed;
	width:100% !important;
}
.fancybox-wrap{
    max-width:90%;
}
.fancybox-inner {
	width:auto !important;
	height:auto !important;
/*    max-width:100%;*/
}	
.mobileshare {
	display:none;
}
.table {
	display:table;
	table-layout:fixed;
}
.tablecell {
	display:table-cell;
	vertical-align:top;
}
table td {
	vertical-align:top;
}
table td[valign=middle] {
	vertical-align:middle;
}
.button {
	-webkit-appearance:none;
}
/* Small Desktop */
@media (min-width : 1025px) and (max-width : 1400px) {
    .slideWrapper .textbox .line1 {
        font-size:36px;
    }
    .slideWrapper .textbox .line2 {
        font-size:27px;
    }
    header .quote {
        font-size:22px;
    }
    header .quotedby {
        font-size:16px;
    }
}
/* Smaller Desktop */
@media (min-width : 1021px) and (max-width : 1199px) {
	#navmenu {
		width:85%;
	}
	ul.nav > li a {
		padding:14px 13px;
	}
}
/* Small Tablet + Mobile */
@media (max-width : 699px) {  
	.mobileonly {
		display:block !important;
	}
	span.mobileonly {
		display:inline;
	}
    .nomobile {
        display:none !important;
    }
	.contentWrapper {
		max-width:100%;
	}
	header .share {
		display:none;
	}
	header .contentWrapper {
		width:auto;
	}
	.logo {
		background-size:contain;
		width:30%;
		float:none;
		left:10px;
		height:50px;
	}
    header .navContainer {
		position:fixed;
        top:0px;
		margin-top:0;
        width:250px;
        left:-252px;
        float:none;
        padding:0;
        height:100%;
        box-shadow: none;
        z-index:2000;
    }
	.navContainer .navWrapper {
		padding:0;
	}
	header #navmenu {
		margin:0;
		display:block;
		background:none;
	}
	header ul.nav {
		display:block;
	}
	header .nav .divider {
		display:none;
	}
    ul.nav li.top {
        display:block;
		white-space:normal;
        border-bottom: 1px solid rgba(255,255,255,.7);
    }
	header .mobilelogo {
		width:80%;
		float:right;
		margin-right:10px;
		padding-top:10px;
	}
	header {
		padding-top:65px;
	}
	header .contentWrapper {
		border:1px solid transparent;
	}
	header .quoteWrapper {
		display:none;
	}
	header .pageTopper:before {
		padding-top:40%;
	}
	header .pageTopper .content {
		position:relative;
		top:0px;
		padding-left:8px;
		width:auto;
	}
	header .pageTopper h1 {
		font-size:25px;
	}
	header .pageTopper .tagline {
		font-size:18px;
	}
	header .button {
		margin:2px 0px 10px 0px;
	}
	header .button a {
		font-size:11px;
		padding:4px 10px;
		letter-spacing:2px;
	}
	header .watchvid a {
		font-size:14px;
	}
	.fromcms, .bodymid {
		padding-right:0;
	}
	.slideWrapper .photo:before {
		padding-top:60%;
	}
	.slideWrapper .textboxWrapper {
		top:auto;
		bottom:10px;
		left:15px;
		width:80%;
	}
	header .awards {
		display:none;
	}
	.slideWrapper .textbox .line1 {
		font-size:12px;
	}
	.slideWrapper .textbox .line2 {
		font-size:10px;
	}
	.slideWrapper video {
		display:none;
	}
	.subHeader {
		padding:0 5%;
		text-align:center;
	}
	.subHeader .dvd {
		bottom:auto;
		left:auto;
		position:relative;
		display:inline-block;
		width:50px;
		vertical-align:middle;
		margin-right:10px;
	    background-image:url('/phpThumb/phpThumb.php?f=png&w=50&src=/images/dvd.png');
	}
	.subHeader .buy {
		left: auto;
		font-size:17px;
		vertical-align:middle;
	} 
	.subHeader #newsletterBox {
		display:block;
		float:none;
		width:auto;
	}
	.subHeader #newsletterBox .email {
		width:65%;
		font-size:11px;
	}
	.subHeader #newsletterBox input.button {
		font-size:14px;
		padding:5px 7px;
	}
}


/* 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; }
}
