body { margin: 0; overflow-x: hidden; font-family: 'Open Sans', sans-serif; }
canvas { width: 100%; height: 100vh !important; background: url(../images/moves-with-you-background.jpg) no-repeat center center; background-size: cover; min-height:100% !important; }
#container { width: 100%; height: 100% !important; max-height: none; background: #fff; overflow-y: hidden !important; position: relative; }
.some-overlay { cursor: pointer; }
.arrowtop:after {
	bottom: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(255, 255, 255, 0);
	border-bottom-color: #fff;
	border-width: 10px;
	margin-left: -10px;
}
.arrowbottom:after {
	top: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(255, 255, 255, 0);
	border-top-color: #fff;
	border-width: 10px;
	margin-left: -10px;
}
.arrowleft:after {
	right: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(255, 255, 255, 0);
	border-right-color: #fff;
	border-width: 10px;
	margin-top: -10px;
}
.arrowright:after {
	left: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(255, 255, 255, 0);
	border-left-color: #fff;
	border-width: 10px;
	margin-top: -10px;
}
.nav-tabs { border: 0; }
.nav-tabs .nav-item { background: #fff !important; border-radius: 0 !important; border-radius: 0; font-size: 14px; }
.nav-tabs .nav-item a { border: 0; background: #fff; color: #000; border-radius: 0;  }
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active { background: #f85d13; color: #fff; }
.tab-content { background: #fff; color: #000; padding-top: 20px; padding-bottom: 20px; font-size: 14px; font-weight: normal; border: 0; min-height: 300px; }

/* rest of site */
#bottompage { margin-top: -250px; background: #fff; }
.gallery img { width: 100%; }


            #mainlogo { position: absolute; top: 0px; left: 0px; width: 100%; background: #fff; text-align: center; padding: 10px 0 10px 20px; z-index: 9999; }
            #mainlogo img { width: 120px; display: block; }
            #logo { position: absolute; top: 0; left: 0; width: 100%; text-align: center; padding: 0 !important; z-index: 99999; }
            #logo img { width: 200px; margin: 0 auto; display: block; }
            #trainmenu { position: absolute; bottom: 0; left: 0; width: 100%; text-align: center; padding: 10px 0; background: #fff; }
            #trainmenu ul { margin: auto; display: block; width: 830px; }
            #trainmenu ul li { list-style: none; float: left; }
            #trainmenu img { height: 47px; width: auto; margin: auto; display: block; }
/* margins & padding */
.p0 { padding: 0px !important; }
.p10 { padding: 10px !important; }
.p20 { padding: 20px !important; }
.p40 { padding: 40px !important; }
.p040 { padding: 0 40px !important; }


.firstcharacter {
  color: #ff7700;
  float: left;
  font-size: 75px;
  line-height: 60px;
  padding-top: 4px;
  padding-right: 8px;
  padding-left: 3px; }


p { color: #585858; font-size: 18px; line-height: 1.5; }
ul { color: #585858; font-size: 18px; line-height: 1.5; }
h2 { margin-bottom: 20px; font-size: 32px; }
h4 { margin: 40px 0 10px 0 !important; display: block; }

/* up next */
#upnext { background: url(../images/upnext/bgforest3.jpg) #f7f7f7 no-repeat center center; background-size: cover; cursor: pointer; margin-top: 80px; }
#upnext .col-md-6 { height: 350px; padding: 0; }
#upnext .col-sm-12 { height: 350px; padding: 0; }

#upnext div { transition: all 1s; } 
#upnext img { width: 100%; position: absolute; bottom: 0; }
.prevtrain { float: left; margin: 0 0 0 0; }
.nexttrain { float: right; margin: 0 0 0 0; }
.nextflatcar img { left: -150px; }
.nextautocar img { right: -200px; }
.tracks { z-index: 1000; left: 0 !important; }
#upnext h5 { background: #000; color: #fff; font-size: 10px; padding: 5px 25px; } /* #3e5768 */
#upnext .caps { text-transform: uppercase !important; font-size: 12px !important; }
/*
.nextflatcar { background: url(../images/upnext/bgforest3.jpg) no-repeat 0 top; background-size: cover; }
.nextflatcar:hover { background: url(../images/upnext/bgforest2.jpg) no-repeat 0 top; background-size: cover; }
.nextautocar { background: url(../images/upnext/bgforest3.jpg) no-repeat 0 top; background-size: cover; }*/
/*.nextautocar:hover { background: url(../images/upnext/bgforest2.jpg) no-repeat 0 top; background-size: cover; }*/
.drag { text-align: center; padding: 10px 0; color: #fff !important; font-size: 10px; height: 100px; transition: all 1s ease; }
.drag p { color: #fff !important; font-size: 10px !important; }
.drag img { display: block; width: 70px; margin: auto; }



.theCube{
  margin: 0 auto;
  width: 200px;
  /** Prserve the 3D space for its child elements **/
  -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
  
  /** Let's transfom in a smooth way **/
	-webkit-transition: -webkit-transform .7s;
	transition: transform .3s; /* Animate the transform properties */
}
.topFlip, .bottomFlop{
  text-align: center;
  border-bottom: 2px solid #fff;
  -webkit-box-shadow: 0 0 3px #222;
          box-shadow: 0 0 3px #222;
  height: 80px;
    
  line-height: 80px;
  border-radius: 0px;
  background: #ff7700;
    padding: 10px 0;
}
.topFlip{
    -webkit-transform: translateZ(50px) translateY(20px);
            transform: translateZ(50px);
}
.bottomFlop{
 -webkit-transform: rotateX(-90deg) translateZ(-60px);
        transform: rotateX(-90deg)  translateZ(-60px);
    background: #ff5400; color: #fff; text-transform: uppercase; font-style: italic; font-weight: bold;
}
.bottomFlop a { color: #fff; }
/** Now it is obvious, we need to rotate it around the x-axis to show the flopped box**/
.theCube:hover{
  	-webkit-transform: rotateX(89deg) translateZ(50px);
	          transform: rotateX(89deg) translateZ(50px);
}

h1 { color: #f85d13; font-weight: 600;}
.tab-content h2 { font-weight: 600; }

#loadingDiv { position: absolute; width: 80px; left: 50%; margin-left: -80px; top: 200px; z-index: 9999; text-align: center; line-height: 27px; color: #ff5500; font-weight: bold; font-size: 27px;}
     #infoboxmobile { display: none; }

/* mobile */
@media (max-width: 820px) {
    body { padding: 0 !important; }
     
         #infoboxmobile { display: block; text-align: center; width: 100%; top: 23%; left: 0%; position: absolute; font-weight: bold; font-style: italic; z-index: 100; }

 #mainlogo { display: none !important; }  
 .titleholder { padding: 15px; height: 100vh; width: 200px; top: 0; }
 
 .firstcharacter { font-size: 55px; line-height: 47px; }
 #logo img { width: 140px; }
 .topFlip, .bottomFlop { height: 50px; }
 .theCube { width: 150px; }
 .enterbig { font-size: 14px !important; }
 .titleholder { overflow-y: scroll !important; }
 .titleholder:hover { width: 200px; padding: 10px !important; }
 .titleholder:hover p { font-weight: normal; font-size: 13px !important; }
 .titleholder:hover ul { font-size: 13px !important; }
 
 #thetrain img { height: 200px; }
 #thetrain { bottom: 17px; }
 #trainmenu ul { width: 610px; padding: 0; }
 #trainmenu img { height: 35px; }
 .instructions { font-size: 12px; display: none !important; }
 .instructionsm { font-style: italic; font-weight: bold; text-transform: uppercase; font-size: 12px; margin-top: 20px; display: block; }
 #railcarsbox, .wordsholder { display: none !important; height: 0 !important; }
 .flatb { margin-top: -92px; height: 380px !important }
 
#angbox, #dragdesc { display: none; } 
 #thetrain { right: -10700px; left: 67px; }
 .newbox { top: 100px; left: 0; width: 100%; margin-left: 0; height: 100px; text-align: center; }
.drag { display: none; }
#bottompage { margin-top: -100px; }
#bottompage .container { padding: 0; max-width: 100%; width: 100%; }
.nav-tabs .nav-item { font-size: 12px; }
.bottomFlop a { display: block; margin-top: -12px; font-size: 10px; }
h1 { font-size: 1.5em; }
p { font-size: 16px; }

.tab-content h2 { font-size: 1.5em; margin-bottom: 10px; }
.tab-content ul { font-size: 16px; }
.w100 { width: 100%; }
/*#trainmenu { display: none !important; }*/

}
#icons11 { display: none !important; }