/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
    background: #000;
}

body {
    font-size: 1em;
    line-height: 1.4;
    overflow: hidden;
    background: url('../img/bodyBG.png') repeat scroll 0 0 #000;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: transparent;
    text-shadow: none;
}

::selection {
    background: transparent;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;  
    border-top: 0px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html, body {
    display: block;
    width: 100%;
    height: 100%;

}

.inputLock {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left:0;
    background: none;
    z-index: 99999;
}

.zoomOuterWrapper {
    position: absolute;
    width: 1450px;
    height: 1100px;
 /*   width: 1050px;
    height: 700px;*/
    overflow: hidden;
    margin: 0 auto;
    z-index: 1;
    -webkit-transform: scaleZ(1);
}

.zoomWrapper {
    position: absolute;
    /*margin: 0 auto;*/
    width: 1050px;
    height: 700px;
    overflow: hidden;
    -moz-transform: scaleZ(1);
    -webkit-transform: scaleZ(1);
}
/*

.wrapper div.spin {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 11;
}

.zoomWrapper div.spin img {
    position: relative;
    margin: 0 auto;
    top: 20px;
}*/

.zoomWrapper .image {
    position: absolute;
    top: 0;
    z-index: 10;
    z-index: 10;
    width: 1050px;
    height: 700px;
    -moz-transform: scaleZ(1);
    -webkit-transform: scaleZ(1);
}

.zoomWrapper .image.swap {
    z-index: 2;
    z-index: 2;
}

.zoomWrapper .image img {
    position: absolute;
    height: 100%; 
    -moz-transform: scaleZ(1);
    -webkit-transform: scaleZ(1);
}



/*

.zoomWrapper .zoomStack {
    position: absolute;
    top: 0;
    z-index: 3;
    width: 1050px;
    height: 700px;
    display: block;
}

.zoomWrapper .zoomStack img {
    position: absolute;
    z-index: 1;
}

.zoomWrapper .zoomStack img.current {
    z-index: 2;
}

*/
/*

.zoomWrapper .preload {
    display: block;
    background: url('../img/nav/preloadBG.png') 0 0 repeat-x #434343;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0 auto;
    z-index: 99999;
    opacity: 1;
    -webkit-transform: scale3d(1,1,1);      
    -moz-transform: scale3d(1,1,1);     
    -o-transform: scale3d(1,1,1);       
    transform: scale3d(1,1,1);
}

.zoomWrapper .preload .logo {
    display: block;
    width: 200px;
    height: 41px;
    background: url('../img/nav/preloaderSprite.png') -8px -7px no-repeat;
    margin: 230px auto 30px;
}

.zoomWrapper .preload .loadBar {
    display: block;
    width: 294px;
    height: 13px;
    margin: 0 auto;
    position: relative;
    background: url('../img/nav/preloaderSprite.png') -8px -69px no-repeat;
}

.zoomWrapper .preload .loadBar div {
    display: block;
    height: 100%;
    background: url('../img/nav/preloaderSprite.png') -8px -109px no-repeat;
    width: 0;
}*/

.preloading {
    display: none;
}

.preloadCache {
    display: none;
    width: 1050px;
    height: 700px;
    overflow: hidden;
    position: absolute;
    left: -100px;
    bottom: 0;
    border: solid 1px #f00;
    z-index: 9999;
    opacity: 1;
    -webkit-transform: scale(.01) translate3d(0, 0, 0);
    -moz-transform: scale(.01) translate3d(0, 0, 0);
    -ms-transform: scale(.01) translate(9999999px, 0);
}

.preloadCache img{
    display: block;
    position: absolute;
    opacity: 0.1;
}



.actionArea {
    display: block;
    width: 1050px;
    height: 700px;
    position: absolute;
    z-index: 100;
}
.actionAreaInner {
    display: block;
    width: 1050px;
    height: 700px;
    position: absolute;
    z-index: 100;

}


.zoomWrapper .sideNav {
    display: block;
   /*  width: 150px; */
    height: 292px;
    position: absolute;
    top: 200px;
    right: 20px;
    padding: 5px 0;
    z-index: 99;
    -webkit-transform: scale3d(1,1,1);
 /*    -moz-transform: scale3d(1,1,1);   
    -o-transform: scale3d(1,1,1);
    transform: scale3d(1,1,1);*/
}

.sideNav ul {
    display: block;
    list-style-type: none;
    padding: 0;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    overflow: visible;
}

/* **** BEGIN NEW NAV */
.sideNav ul li {
    display: block;
    height: 34px;
    cursor: pointer;
    min-width: 35px;
    position: relative;
    float: right;
    clear: both;
    margin-bottom: 5px;
}

.sideNav ul li .dot {
    display: block;
    width: 26px;
    height: 26px;
    position: absolute;
    right: 5px;
    top: 4px;
    background: url('../img/nav/navSprite.png') -49px -249px no-repeat;
    z-index: 9;
}

.sideNav ul li.active .dot {
    background-position: -49px -290px;
}

.sideNav ul li .leftCap {
    display: none;
    width: 17px;
    height: 34px;
    background: url('../img/nav/navSprite.png') -42px -413px no-repeat;
    float: right;
    z-index: 1;
}

.sideNav ul li.active .leftCap {
    background-position: -42px -473px;
    position: relative;
    left: 1px;
}

.sideNav ul li.open .leftCap {
    display: block;
}

.sideNav ul li .rightCap {
    display: none;
    width: 18px;
    height: 34px;
    background: url('../img/nav/navSprite.png') -58px -413px no-repeat;
    float: right;
    z-index: 1;
}

.sideNav ul li.active .rightCap {
    background-position: -58px -473px;
    position: relative;
    right: 1px;
}

.sideNav ul li.open .rightCap {
    display: block;
}

.sideNav ul li a {
    display: none;
    height: 100%;
    margin:0;
    padding:0;
    background: url('../img/nav/navGrads.png') repeat-x;
    float: right;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    outline: none;
    -webkit-touch-callout: none !important; 
}

.sideNav ul li.active a {
    background-position: 0 -34px;
}

.sideNav ul li.open a {
    display: block;
}

.sideNav ul li a p {
    display:block;
    width: auto;
    text-align: center;
    margin: 5px 0;
    font-size: 19px;
    padding: 0 20px 0 6px;
    font-family: 'Effra W01 Regular', helvetica, arial, sans-serif, Microsoft Jhenghei, “微軟正黑體”, "Microsoft Yahei", "微软雅黑", STXihei, "华文细黑";
    height: 100%;
    white-space: nowrap;
}

*** END NEW NAV  */

/* begin old nav
.sideNav ul li{
    display: block;
    position: relative;
    width: auto;
    min-width: 64px;
    height: 38px;
    float: right;
    margin: 0;
    padding: 0;
    clear: right;
    cursor: pointer;
}


.sideNav ul li.active{
    display: block;
    width: auto;
    min-width: 64px;
    height: 38px;
    float: right;
    margin: 0;
    padding: 0;
    clear: right;
    cursor: pointer;
}

.sideNav ul li a{
    display: block;
    width: 100%;
    height: 100%;
    color: #000;
    font-weight: bold;
    font-size: 13px;
    text-align: center;
}

.sideNav ul li.active a{
    display: block;
    width: 100%;
    height: 100%;
    color: #000;
    font-weight: bold;
    font-size: 13px;
    text-align: center;
}

.sideNav ul li a.active {
        color: #7bbb31;
}

.sideNav ul li a .root{
    display: block;
    width: 34px;
    height: 34px;
    position: absolute;
    top: 4px;
    right: 0px;
    background: url('../img/nav/navSprite.png') no-repeat -45px -245px;
    z-index: 2;
}

.sideNav ul li.open a .root{
    display: block;
    width: 34px;
    height: 34px;
    position: absolute;
    top: 4px;
    right: 0px;
    background: url('../img/nav/navSprite.png') no-repeat -45px -332px; 
    z-index: 2;
}

.sideNav ul li.active a .root{
    display: block;
    width: 34px;
    height: 34px;
    position: absolute;
    top: 4px;
    right: 0;
    background: url('../img/nav/navSprite.png') no-repeat -45px -50px; 
}



.sideNav ul li.active.open a .root{
    display: block;
    width: 34px;
    height: 34px;
    position: absolute;
    top: 4px;
    right: 0;
    right: 0;
    background: url('../img/nav/navSprite.png') no-repeat -45px -136px; 
}

.sideNav ul li a .bar{
    display: block;
    height: 37px;
    min-width: 18px;
    position: absolute;
    right: 17px;
    top: 2px;
    z-index: 1;
}

.sideNav ul li.active a .bar{
    display: block;
    height: 35px;
    min-width: 18px;
    position: absolute;
    right: 16px;
    top: 5px;
    z-index: 1;
}

.sideNav ul li a .bar .barInner{
    height: 37px;
}

.sideNav ul li#sideNav1 {
    width: 140px;
    overflow: hidden;
}

.sideNav ul li#sideNav1 .bar { 
    width: 124px;
    overflow: hidden;
}

.sideNav ul li#sideNav1 .bar .barInner {
    width: 124px;
    position: absolute;
    left: 9999px;
    background: url('../img/nav/navSprite.png') no-repeat -262px -286px; 
}

.sideNav ul li#sideNav1.open .bar .barInner {
    width: 124px;
    position: absolute;
    left: 92px;
    background: url('../img/nav/navSprite.png') no-repeat -262px -286px; 
}

.sideNav ul li#sideNav1.active .bar .barInner {
    width: 124px;
    position: absolute;
    left: 105px;
    background: url('../img/nav/navSprite.png') no-repeat -263px -45px; 
}




.sideNav ul li#sideNav2 {
    width: 195px;
    overflow: hidden;
}

.sideNav ul li#sideNav2 .bar { 
    width: 185px;
    overflow: hidden;
}

.sideNav ul li#sideNav2 .bar .barInner {
    width: 185px;
    position: absolute;
    left: 185px;
    background: url('../img/nav/navSprite.png') no-repeat -215px -83px; 
}

.sideNav ul li#sideNav2.open .bar .barInner {
    left: 100px;
    background-position: -200px -324px; 
}

.sideNav ul li#sideNav2.active .bar .barInner {
    width: 185px;
    position: absolute;
    left: 175px;
    background: url('../img/nav/navSprite.png') no-repeat -201px -83px;
}










.sideNav ul li#sideNav3 {
    width: 150px;
    overflow: hidden;
}

.sideNav ul li#sideNav3 .bar { 
    width: 175px;
    overflow: hidden;
}

.sideNav ul li#sideNav3 .bar .barInner {
    width: 185px;
    position: absolute;
    left: 185px;
    background: url('../img/nav/navSprite.png') no-repeat -225px -364px; 
}

.sideNav ul li#sideNav3.open .bar .barInner {
    left: 100px;
    background-position: -209px -362px; 
}

.sideNav ul li#sideNav3.active .bar .barInner {
    width: 185px;
    position: absolute;
    left: 109px;
    background: url('../img/nav/navSprite.png') no-repeat -209px -121px; 
}




.sideNav ul li#sideNav4 {
    width: 161px;
    overflow: hidden;
}

.sideNav ul li#sideNav4 .bar { 
    width: 161px;
    overflow: hidden;
}

.sideNav ul li#sideNav4 .bar .barInner {
    width: 161px;
    position: absolute;
    left: 161px;
    background: url('../img/nav/navSprite.png') no-repeat -230px -401px; 
}

.sideNav ul li#sideNav4.open .bar .barInner {
    left: 100px;
    background-position: -220px -399px; 
}

.sideNav ul li#sideNav4.active .bar .barInner {
    width: 164px;
    position: absolute;
    left: 140px;
    background: url('../img/nav/navSprite.png') no-repeat -221px -158px; 
}




.sideNav ul li#sideNav5 {
    width: 126px;
    overflow: hidden;
}

.sideNav ul li#sideNav5 .bar { 
    width: 126px;
    overflow: hidden;
}

.sideNav ul li#sideNav5 .bar .barInner {
    width: 126px;
    position: absolute;
    left: 126px;
    background: url('../img/nav/navSprite.png') no-repeat -265px -440px; 
}

.sideNav ul li#sideNav5.open .bar .barInner {
    left: 100px;
    background-position: -258px -437px; 
}

.sideNav ul li#sideNav5.active .bar .barInner {
    width: 126px;
    position: absolute;
    left: 110px;
    background: url('../img/nav/navSprite.png') no-repeat -259px -196px;  
}









.sideNav ul li#sideNav6 {
    width: 118px;
    overflow: hidden;
}

.sideNav ul li#sideNav6 .bar { 
    width: 105px;
    overflow: hidden;
}

.sideNav ul li#sideNav6 .bar .barInner {
    width: 105px;
    position: absolute;
    left: 126px;
    background: url('../img/nav/navSprite.png') no-repeat; 
}

.sideNav ul li#sideNav6.open .bar .barInner {
    left: 90px;
    background-position: -283px -475px; 
}

.sideNav ul li#sideNav6.active .bar .barInner {
    width: 105px;
    position: absolute;
    left: 90px;
    background: url('../img/nav/navSprite.png') no-repeat -284px -234px; 
}

/* end old nav*/




/* ==========================================================================
   shroud and footer
   ========================================================================== */

#shroud {
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
}

#footer {
    display: none;
    width: 100%;
    height:40px;
    background: url('../img/nav/footerBG1.png') 0 0 repeat-x;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 999;
    border: 0;
}

#footerInner {
    display: block;
    position: relative;
    width: 1050px;
    height: 100%;
    margin: 0 auto;
    border: 0px solid #ff0;
    min-width: 572px;
}
#footerInner .disclaimer {
	position: absolute;
	color: #fff;
	font-size: 11px;
	line-height: 14px;
	left: 27px;
	top: -35px;
}

#footer a {
    text-decoration: none;
    float: left;
}

#footer .spacer {
    float: left;
    margin-top: 13px;
}

#footer .spacerR {
    float: right;
    margin-top: 13px;
}



#footer .logo {
    float: left;
    margin: 10px 15px 0 30px;
}



#footer .preorder {
    margin: 13px 15px 0 15px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
    color: #9bc934;
}

#footer .learnMore {
    margin: 13px 15px 0 15px;
    text-transform: uppercase;
    font-size: 12px;
    color: #9a9a9a;
}



#footer .learnMore:hover {
    color: #99cc33;
}


#footer .legal {
    float: right;
    margin: 13px 15px 0 15px;
    text-transform: uppercase;
    font-size: 12px;
    color: #9a9a9a;
}


#footer .legal:hover {
    color: #99cc33;
}


#footer .twitter {
    float: right;
    margin: 9px 0 0 15px;
    display: block;
    width: 22px;
    height: 22px;
    background: url('../img/nav/footerSprite.png') -7px -32px no-repeat;
}



#footer .twitter:hover {
    background-position: -7px -2px;
}

#footer .fb {
    float: right;
    margin: 9px 15px 0 3px;
    display: block;
    width: 22px;
    height: 22px;
    background: url('../img/nav/footerSprite.png') -34px -32px no-repeat;
}

#footer .fb:hover {
    background-position: -34px -2px;
}

#footer .volume {
    float: right;
    margin: 9px 21px 0 15px;
    display: block;
    width: 22px;
    height: 22px;
    background: url('../img/nav/footerSprite.png') -74px -32px no-repeat;
}

#footer .volume:hover {
    background-position: -74px -2px;
}

#contentCache {
    display: none;
    width: 100px;
    height: 100px;
    position: absolute;
    border: solid 1px #f00;
}

#innerShadow {
    display: block;
    width: 101%;
    height: 101%;
    background: none;
    overflow: visible;
    -webkit-transform: scaleZ(1);
    -moz-transform: scaleZ(1);
    
}

#innerShadow .left{
    display: block;
    width: 35px;
    height: 100%;
    background: url('../img/innerShadowL.png') 0 0 no-repeat;
    position: absolute;
    top: -1px;
    left: -1px;
}

#innerShadow .top {
    display: block;
    width: 982px;
    height: 35px;
    position: absolute;
    left: 34px;
    top: -1px;
    background: url('../img/innerShadowT.png') 0 0 repeat-x;
}

#innerShadow .right{
    display: block;
    width: 35px;
    height: 100%;
    background: url('../img/innerShadowR.png') 0 0 no-repeat;
    position: absolute;
    top: -1px;
    right: 9.5px;
}

.ie #innerShadow .right {
    right: -1px;
}

#innerShadow .bottom {
    display: block;
    width: 100%;
    height: 35px;
    position: absolute;
    bottom: 25px;
    background: url('../img/innerShadowB.png') 0 0 repeat-x;
}


/* ==========================================================================
   plaxCards
   ========================================================================== */

.plaxCard {
    display: block;
    /* display: none !important; */
    -webkit-transform: scale3d(1,1,1);
    -moz-transform: scale3d(1,1,1);
    -o-transform: scale3d(1,1,1);
    transform: scale3d(1,1,1);
    -webkit-backface-visibility: hidden !important;
    -moz-transition:    -moz-transform s;
}

.plaxCard.clipped {
    display: block !important;
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    top: 99999px !important;
    left: 99999px !important;
    opacity: 0 !important;

}

.chCopyHeader {
    color: #ccc;
    font-size: 32px;
    font-style: normal;
    line-height: 32px;
    font-family:'Effra W01 Regular', helvetica, arial, sans-serif, Microsoft Jhenghei, “微軟正黑體”, "Microsoft Yahei", "微软雅黑", STXihei, "华文细黑";
}

.chapterCopy {
    font-size: 90px;
    text-align: right;
    line-height: 80px;
    font-weight: normal;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    color: #fff;
    font-family:'Effra W01 Medium', helvetica, arial, sans-serif, Microsoft Jhenghei, “微軟正黑體”, "Microsoft Yahei", "微软雅黑", STXihei, "华文细黑";
}

.chapterCopy .green {
    color: #9bc934;
    font-style: normal;
}

.chapterCopy em {
    color: #9bc934;
    font-style: normal;
}

.detailButton {
    cursor: pointer;
    overflow: visible;
}

.altDetailButtonShim {
    cursor: pointer;
    overflow: visible;
}

.altDetailButton.hover .plus_sprite {
    background-position: -77px 0;
}

.plus_sprite {
    display: block;
    width: 77px;
    height: 77px;
    background: url('../img/130129/cta_plus_spritesheet.png') 0 0 no-repeat;
    position: absolute;
}

.detailButton:hover .plus_sprite {
    background-position: -77px 0;
}

/* Welcome */

.welcomePhoneHand {
    position: absolute;
    display: block;
    width: 1075px;
    height: 893px;
    background: url('../img/130129/welcomePhoneHand.png');
    top: 0;
    left: 0;
    z-index: 1;
}

.welcomeCopy {
    position: absolute;
    display: block;
    width: 1020px;
    height: 114px;
    color: #fff;
    font-size: 60px;
    z-index: 3;
    top: 0;
    left: -305px;
    text-align: center;
    /*text-shadow: 4px 4px 17px rgba(0, 0, 0, .9);*/
    padding-top: 10px;

    /*filter: shadow(color=black, direction=135, strength=20)*/
  /*   filter: glow(color=black, strength=10); */
}

.welcomeCopy span {
    color: #9bc934;
}

.welcomeButton {
    position: absolute;
    display: block;
    height: 41px;
    z-index: 6;
    top: 14px;
    left: -36px;
    cursor: pointer;
}

.welcomeButton .left {
    display: block;
    width: 22px;
    height: 41px;
    background: url('../img/welcomeButtonCaps.png') -3px -52px no-repeat;
    float: left;
    position: relative;
    left: 1px;
}

.welcomeButton .mid {
    display: block;
    float: left;
    height: 41px;
    background: url('../img/welcomeButtonGrad.png') 0 -41px repeat-x;
    padding-left: 19px;
    padding-right: 19px;
    color: #fff;
    font-family:'Effra W01 Medium', helvetica, arial, sans-serif, Microsoft Jhenghei, “微軟正黑體”, "Microsoft Yahei", "微软雅黑", STXihei, "华文细黑";
    font-size: 23px;
    line-height: 1.7em;
}

.welcomeButton .right {
    display: block;
    width: 22px;
    height: 41px;
    background: url('../img/welcomeButtonCaps.png') -25px -52px no-repeat;
    float: left;
    position: relative;
    right: 1px;
}

.welcomeButton:hover .left {
    background-position: -3px -2px;
}

.welcomeButton:hover .mid {
    background-position: 0 0;
}

.welcomeButton:hover .right {
    background-position: -25px -2px;
}



/* Chapter 1 */

.ch1DetailButton .plus_sprite {
    top: 0px;
    left: 115px;
}

.ch1AltDetailButton .plus_sprite {
    top: 0px;
    left: 115px;
}

.ch1DetailButton {
    display: block;
    width: 185px;
    height: 184px;
    background: url('../img/130129/ch1DetailButton.png') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
}

.ch1Copy {
    display: block;
    width: 455px;
    height: 252px;
    position: absolute;
    top: 0px;
    left: -210px;
    z-index: 8;
    color: #fff;
    -webkit-
    /*line-height: 80px;*/
}

.ch1AltBg {
    display: block;
    width: 1200px;
    height: 700px;
    background: url('../img/130129/ch1AltBg.jpg') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 0;
}

.ch1AltPhone {
    display: block;
    width: 650px;
    height: 700px;
    background: url('../img/130129/ch1AltPhone.png') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 3;
}

.ch1AltCopy {
    display: block;
    width: 420px;
    height: 262px;
    position: absolute;
    top: 0px;
    left: -90px;
    z-index: 4;
    color: #fff;


    /*line-height: 80px;*/
}


.ch1AltDetailButton {
    display: block;
    width: 185px;
    height: 184px;
    background: url('../img/130129/ch1DetailButton.png') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
}

.ch1AltDetailButtonShim {
    display: block;
    width: 185px;
    height: 184px;
    background: transparent;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 9;
    cursor: pointer;
}

.ch1AltBgCover {
    display: block;
    width: 1200px;
    height: 700px;
    background: url('../img/130129/altBgCover2.jpg') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 10;
}

.ch1BgCover {
    display: block;
    width: 1200px;
    height: 700px;
    background: url('../img/130129/altBgCover2.jpg') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 10;
}

/* Chapter 2 */


.ch2DetailButton .plus_sprite {
    top: 0px;
    left: -15px;
}

.ch2AltDetailButton .plus_sprite {
    top: 0px;
    left: -15px;
}


.ch1Toch2_transition {
    display: block;
    width: 1050px;
    height: 1860px;
    background: url('../img/130129/ch2ScreenTease.jpg') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1000;
}

.ch2DetailButton {
    display: block;
    width: 185px;
    height: 184px;
    background: url('../img/130129/ch2DetailButton.png') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
}

.ch2Copy {
    display: block;
    width: 594px;
    height: 141px;
    position: absolute;
    top: -50px;
    left: -180px;
    z-index: 88;
    text-align: right;
}

.ch2AltBg {
    display: block;
    width: 1200px;
    height: 700px;
    background: url('../img/130129/ch2AltBg.jpg') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 0;
}

.ch2AltPhone {
    display: block;
    width: 650px;
    height: 700px;
    background: url('../img/130129/ch2AltPhone.png') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 4;
}

.ch2AltCopy {
    display: block;
    width: 600px;
    height: 252px;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 5;
    color: #fff;
    
}

.ch2AltDetailButton {
    display: block;
    width: 185px;
    height: 184px;
    background: url('../img/130129/ch2DetailButton.png') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 3;
}

.ch2AltDetailButtonShim {
    display: block;
    width: 185px;
    height: 184px;
    background: transparent;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 9;
    cursor: pointer;
}

.ch2_ch3_transition_frame {
    display: block;
    width: 1200px;
    height: 700px;
    background: url('../img/130129/12b.jpg') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 0;
}

/* Chapter 3 */

.ch3DetailButton .plus_sprite {
    top: 60px;
    left: 185px;
}

.ch3AltDetailButton .plus_sprite {
    top: 60px;
    left: 185px;
}

.ch3DetailButton {
    display: block;
    width: 318px;
    height: 285px;
    background: url('../img/130129/ch3DetailButton.png') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
}

.ch3Copy {
   display: block;
    width: 500px;
    height: 311px;
    position: absolute;
    top: -30px;
    left: -240px;
    z-index: 1;
    background: url('../img/blinkfeed.png') right 40px no-repeat;
    background-size: auto 30px;
}

.ch3Copy-tw {
   display: block;
    width: 500px;
    height: 311px;
    position: absolute;
    top: -30px;
    left: -240px;
    z-index: 1;
    background: url('../img/blinkfeed-tw.png') right 40px no-repeat;
    background-size: auto 30px;
}

.ch3AltBg {
    display: block;
    width: 1200px;
    height: 700px;
    background: url('../img/130129/ch3AltBg.jpg') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 0;
}

.ch3AltPhone {
    display: block;
    width: 902px;
    height: 523px;
    background: url('../img/130129/ch3AltPhone.png') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 3;
}

.ch3AltCopy {
    display: block;
    width: 550px;
    height: 252px;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 3;
    color: #fff;
    text-align: left;
    background: url('../img/blinkfeed.png') 7px 40px no-repeat;
    background-size: auto 30px;
}

.ch3AltCopy-tw {
    display: block;
    width: 550px;
    height: 252px;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 3;
    color: #fff;
    text-align: left;
    background: url('../img/blinkfeed-tw.png') 7px 40px no-repeat;
    background-size: auto 30px;
}

.ch3AltDetailButton {
    display: block;
    width: 318px;
    height: 285px;
    background: url('../img/130129/ch3DetailButton.png') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 3;
}

.ch3AltDetailButtonShim {
    display: block;
    width: 318px;
    height: 285px;
    background: transparent;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 9;
    cursor: pointer;
}


/* Chapter 4 */

.ch4DetailButton .plus_sprite {
    top: 110px;
    left: 45px;
}

.ch4AltDetailButton .plus_sprite {
    top: 110px;
    left: 45px;
}

.ch4DetailButton {
    display: block;
    width: 318px;
    height: 285px;
    background: url('../img/130129/ch4DetailButton.png') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
}

.ch4Copy {
    display: block;
    width: 1169px;
    height: 194px;
    position: absolute;
    top: 0px;
    left: -310px;
    z-index: 9;
    text-align: left;
    background: url('../img/boomsound.png') 5px 35px no-repeat;
    background-size: auto 30px;
}

.ch4Copy-tw {
    display: block;
    width: 1169px;
    height: 194px;
    position: absolute;
    top: 0px;
    left: -310px;
    z-index: 9;
    text-align: left;
    background: url('../img/boomsound-tw.png') 5px 35px no-repeat;
    background-size: auto 30px;
}

.ch4AltBg {
    display: block;
    width: 1200px;
    height: 700px;
    background: url('../img/130129/ch4AltBg.jpg') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 0;
}

.ch4AltPhone {
    display: block;
    width: 832px;
    height: 523px;
    background: url('../img/130129/ch4AltPhone.png') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 3;
}

.ch4AltCopy {
    display: block;
    width: 450px;
    height: 252px;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 4;
    color: #fff;
    background: url('../img/boomsound.png') right 35px no-repeat;
    background-size: auto 30px;
    
}

.ch4AltCopy-tw {
    display: block;
    width: 450px;
    height: 252px;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 4;
    color: #fff;
    background: url('../img/boomsound-tw.png') right 35px no-repeat;
    background-size: auto 30px;
    
}

.ch4AltDetailButton {
    display: block;
    width: 318px;
    height: 285px;
    background: url('../img/130129/ch4DetailButton.png') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 2;
}

.ch4AltDetailButtonShim {
    display: block;
    width: 318px;
    height: 285px;
    background: transparent;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 9;
    cursor: pointer;
}

.ch4_ch5_transition_frame {
    display: block;
    width: 1200px;
    height: 700px;
    background: url('../img/130129/23b.jpg') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 0;
}


/* Chapter 5 */



.ch5DetailButton .plus_sprite {
    top: 40px;
    left: 180px;
}

.ch5AltDetailButton .plus_sprite {
    top: 40px;
    left: 180px;
}

.ch5DetailButton {
    display: block;
    width: 318px;
    height: 285px;
    background: url('../img/130129/ch5DetailButton.png') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 2;
}

.ch5Copy {
   display: block;
    width: 786px;
    height: 137px;
    position: absolute;
    top: 0px;
    left: -160px;
    z-index: 5;
}

.ch5AltBg {
    display: block;
    width: 1200px;
    height: 700px;
    background: url('../img/130129/ch5AltBg.jpg') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 0;
}

.ch5AltPhone {
    display: block;
    width: 790px;
    height: 700px;
    background: url('../img/130129/ch5AltPhone.png') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 2;
}

.ch5AltCopy {
    display: block;
    width: 930px;
    height: 252px;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 4;
    color: #fff;
    text-align: left;
}

.ch5AltDetailButton {
    display: block;
    width: 318px;
    height: 285px;
    background: url('../img/130129/ch5DetailButton.png') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
}

.ch5AltDetailButtonShim {
    display: block;
    width: 318px;
    height: 285px;
    background: transparent;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 9;
    cursor: pointer;
}

.ch5_ch6_transition_frame {
    display: block;
    width: 1200px;
    height: 700px;
    background: url('../img/130129/27b.jpg') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 0;
}


/* Chapter 6 */


.ch6DetailButton .plus_sprite {
    top: 45px;
    left: 65px;
}

.ch6AltDetailButton .plus_sprite {
    top: 45px;
    left: 65px;
}


.ch6DetailButton {
    display: block;
    width: 318px;
    height: 285px;
    background: url('../img/130129/ch6DetailButton.png') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
}

.ch6Copy {
    display: block;
    width: 550px;
    height: 306px;
    position: absolute;
    top: 0px;
    left: -194px;
    z-index: 8;
    background: url('../img/zoe.png') right 35px no-repeat;
    background-size: auto 30px;
}

.ch6Copy-tw {
    display: block;
    width: 550px;
    height: 306px;
    position: absolute;
    top: 0px;
    left: -194px;
    z-index: 8;
    background: url('../img/zoe-tw.png') right 35px no-repeat;
    background-size: auto 30px;
}

.ch6AltBg {
    display: block;
    width: 1200px;
    height: 700px;
    background: url('../img/130129/ch6AltBg.jpg') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 0;
}

.ch6AltPhone {
    display: block;
    width: 833px;
    height: 700px;
    background: url('../img/130129/ch6AltPhone.png') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 2;
}

.ch6AltGirl {
    display: block;
    width: 213px;
    height: 700px;
    background: url('../img/130129/ch6AltGirl.png') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 2;
}

.ch6AltCopy {
    display: block;
    width: 350px;
    height: 252px;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 3;
    color: #fff;
    text-align: left;
    background: url('../img/zoe.png') 8px 35px no-repeat;
    background-size: auto 30px;
}  

.ch6AltCopy-tw {
    display: block;
    width: 350px;
    height: 252px;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 3;
    color: #fff;
    text-align: left;
    background: url('../img/zoe-tw.png') 8px 35px no-repeat;
    background-size: auto 30px;
}  

.ch6AltDetailButton {
    display: block;
    width: 318px;
    height: 285px;
    background: url('../img/130129/ch6DetailButton.png') 0 0 no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
}

.ch6AltDetailButtonShim {
    display: block;
    width: 318px;
    height: 285px;
    background: transparent;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 9;
    cursor: pointer;
}


/* ==========================================================================
      misc detail wrapper
   ========================================================================== */
.detailWrapper {
    position: absolute;
    /*margin: 0 auto;*/
    width: 1050px;
    height: 700px;
    overflow: visible;
    /*border: 1px solid #00f;*/
}

.detailOuterWrapper {
    display: block;
    position: absolute;
    /*margin: 0 auto;*/
    width: 1050px;
    height: 700px;
    left: 9999px; /* this is auto-set by js resize function, so set to a number that will be > 0 and out of visible space */
    overflow: hidden;
    background: none;
    z-index: 500;
}

.detailActionArea {
    display: block;
    width: 1050px;
    height: 700px;
    position: absolute;
    z-index: 100;
    overflow: hidden;
}

.detailDetailButton {
    display: block;
    width: 135px;
    height: 38px;
    position: absolute;
    top: 38px;
    left: 60px;
    z-index: 12;
    background: url('../img/returnBtn.png');
    cursor:pointer;
}

.detailWrapper {
    position: absolute;
    /*margin: 0 auto;*/
    width: 1050px;
    height: 700px;
    overflow: hidden;
    background: #000;
}

.detailOuterWrapper iframe {
    border: 0;
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    background: url('../img/nav/preloadSprites/DeepDiveLogo.jpg') 486px 330px no-repeat #232323;
}

.detailOuterWrapper-tw iframe {
    background: url('../img/nav/preloadSprites/DeepDiveLogo-tw.jpg') 486px 330px no-repeat #232323;
}

.detailWrapper iframe html, .detailWrapper iframe body {
    overflow: hidden;
    background: #000;
}

#detailReturnButton {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 115px;
    height: 115px;
    z-index:999;   
    overflow: hidden;
    background: url('../img/nav/detailReturnSprite2.png') -5px -8px no-repeat;
    cursor: pointer;
}

#detailReturnButton:hover {
    background-position: -5px -247px;
}






/*
#detailReturnButton #returnInner {
    display: block;
    position: absolute;
    top: 110px;
    left: 102px;
   
    cursor: pointer;
    width: 121px;
    height: 115px;
}



/*
#detailReturnButton:hover {
    width: 224px;
    height: 226px;
}*/

#detailReturnButton #returnInner.over {
    width: 224px;
    height: 226px;
}

#detailReturnButton.chap1 #returnInner.over {
    background-position: -13px -8px;
}



#detailReturnButton.chap2 #returnInner.over {
    background-position: -254px -8px;
}

/*

#detailReturnButton.chap3:hover {
    background-position: -501px -8px;
}

#detailReturnButton.chap4:hover {
    background-position: -13px -250px;
}

#detailReturnButton.chap5:hover {
    background-position: -254px -250px;
}

#detailReturnButton.chap6:hover {
    background-position: -501px -250px;
}

*/

/* ==========================================================================
   ipad horizontal orientation
   ========================================================================== */

/*
@media (max-width: 1024px) and (max-height: 768px) {
    .wrapper {
        background: #f00;
        width: 1024px;
        height: 768px;
        overflow: hidden;
    }

    .wrapper .image img {
        position: absolute;
        width: 1024px; 
        height: 768px;
    }

    .sideNav {
        display: block;
        position: relative;
        top: -200px;
        width: 500px;
        height: 40px;
        background: #ccc;
        margin: 0 auto;
        z-index:0;
    }

    .waypointNavs {
        display: block;
        width: 1024px;
        height: 768px;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 12;
    }

}
*/



/* ==========================================================================
   forcing gpu rendering
   ========================================================================== */

.gpu {

}



/* ==========================================================================
   design gallery grid styles
   ========================================================================== */

.designGallery {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 1024px;
    height: 673px;
    z-index: 999;
    -webkit-transform: scale3d(2.49, 2.49, 1);
    text-indent: 2.49; /*hack so that jquery can get scale information from this element reliably cross-browser */
}

.designGallery div {
    display: block;
    position: absolute;
}

.designGallery .box1 {
    width: 20%;
    height: 28.56%;
    top:0;
    left: 0;
    background: #333;
}

.designGallery .box2 {
    width: 20%;
    height: 28.56%;
    top:0;
    left: 20%;
    background: #555;
}

.designGallery .box3 {
    width: 20%;
    height: 14.28%;
    top:0;
    left: 40%;
    background: #444;
}
.designGallery .box4 {
    width: 20%;
    height: 14.28%;
    top: 14.28%;
    left: 40%;
    background: #333;
}
.designGallery .box5 {
    width: 40%;
    height: 71.4%;
    top: 0;
    left: 60%;
    background: #666;
}
.designGallery .box6 {
    width: 20%;
    height: 71.4%;
    top: 28.56%;
    left: 0;
    background: #666;
}
.designGallery .box7 {
    width: 40%;
    height: 42.84%;
    top: 28.56%;
    left: 20%;
    background: none;
}
.designGallery .box8 {
    width: 20%;
    height: 28.56%;
    top: 71.4%;
    left: 20%;
    background: #555;
}
.designGallery .box9 {
    width: 20%;
    height: 28.56%;
    top: 71.4%;
    left: 40%;
    background: #333;
}
.designGallery .box10 {
    width: 20%;
    height: 28.56%;
    top: 71.4%;
    left: 60%;
    background: #444;
}
.designGallery .box11 {
    width: 20%;
    height: 28.56%;
    top: 71.4%;
    left: 80%;
    background: #555;
}



.slowPushFlash {
    display: none;
    width: 120%;
    height: 120%;
    background: #fff;
    z-index: 99999;
    position: absolute;
    -webkit-transform: scale3d(1,1,1);
}



/*
.imageOuter{
    width:200px;
    height:255px;
    overflow:hidden;
}

.img{
    width:815px;
    height:1050px;
    margin-left:-279px;
    margin-top:-350px;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-out;
}
#ani {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.9s;
}

@-webkit-keyframes zoom {
    0% { 
        width: 815px;
        height:1050px;
        margin-left:-279px;
        margin-top:-350px;
    }
    100% { 
        width: 200px;
        height:255px;
        margin-top:0px;
        margin-left:0px;
    }
}

*/


/* ==========================================================================
    NONCOMPATIBLE BROWSER TOOLS
   ========================================================================== 
*/

.no-touch .mobile-alert, .tablet .mobile-alert {
    display: none !important;
}

.desktop-alert {
   font-family: helvetica, arial, sans-serif, Microsoft Jhenghei, “微軟正黑體”, "Microsoft Yahei", "微软雅黑", STXihei, "华文细黑";
   background: url('../img/bg-alt-content-desktop.jpg') 0 0 no-repeat;
   width: 1050px;
   height: 700px;
   margin: 25px auto 0 auto;
   display: none;
   z-index: 99999999;
   position: relative;
}

.no-js .desktop-alert {
    display:block;
    z-index: 9999999;
}
.desktop-alert-text {
    width: 228px;
    height: 170px;
    padding: 230px 0 0 130px;
    color: #fff;
    font-size: 16px;
    line-height: 22px;
}

.no-js .volume {
    display: none !important;
}

/**** mobile devices = not supported ****/

.mobile .mobile-alert {
    display: block !important;
    background-color: #313131;
    background: -moz-linear-gradient(#313131, #565554); /* FF 3.6+ */  
    background: -webkit-linear-gradient(#313131, #565554); /* Safari 5.1+, Chrome 10+ */  
    background: -o-linear-gradient(#313131, #565554); /* Opera 11.10 */  
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#313131', endColorstr='#565554')"; /* IE8+ */  
    background: linear-gradient(#313131, #565554); /* the standard */ 
    width: 100%;
    height: 100%;
    position: absolute;
}

.mobile .mobile-alert-text {
    width: 250px;
    height: 100px;
    position: absolute;
    top: 50%;
    margin-top: -50px;
    left: 50%;
    margin-left: -125px;
    color: #fff;
    font-size: 16px;
    line-height: 22px;
}

.mobile .outerWrapper {
    display: none !important;
}

.mobile #footer {
    display: none !important;
}

.mobile .preloadPhone {
    display: none !important;
}


/* ==========================================================================
   TABLET ORIENTATION
   ========================================================================== */

.tablet-alert {
display: none;
}

@media all and (orientation:portrait) {

    .tablet .tablet-alert {
        display: block !important;
        background-color: #313131;
        background: -moz-linear-gradient(#313131, #565554); /* FF 3.6+ */  
        background: -webkit-linear-gradient(#313131, #565554); /* Safari 5.1+, Chrome 10+ */  
        background: -o-linear-gradient(#313131, #565554); /* Opera 11.10 */  
        -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#313131', endColorstr='#565554')"; /* IE8+ */  
        background: linear-gradient(#313131, #565554); /* the standard */ 
        width: 100%;
        height: 100%;
        position: absolute;
        z-index: 99999;
    }

   .tablet .tablet-alert-text {
        width: 250px;
        height: 100px;
        position: absolute;
        top: 50%;
        margin-top: -50px;
        left: 50%;
        margin-left: -125px;
        color: #fff;
        font-size: 16px;
        line-height: 22px;
    }
}



/* ==========================================================================
    DEBUG TOOLS
   ========================================================================== */

.debug {
    display: none;
    z-index: 9999;
    margin: 0;
    padding: 0;
}

#animationConsole {
    width: 400px;
    height: 400px;
    background: #fff;
    position: absolute;
    -webkit-user-select: none;
    opacity: .87;
    left: 0;
    top: 0;
}

#animationConsole .cardSelector {
    display: block;
    margin: 10px auto;
    min-width: 80%;
    -webkit-user-select: none
}

#animationConsole .joystick {
    display: block;
    width: 269px;
    height: 269px;
    margin: 0 auto; 
    position: relative;
    -webkit-user-select: none
}

#animationConsole .joystick .action {
    display: block;
    width: 40px;
    height: 40px;
    background: #f00;
    left: 114px;
    top: 115px;
    position: absolute;
    -webkit-user-select: none
}
#animationConsole .joystick .action.active {
    background: #0f0;
}

#animationConsole input.scale {
    margin-right: 140px;
}




/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 0px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}