body, #body {
	padding:0;
	margin:0;
	font-family: 'Roboto', sans-serif;
	color:#595554;
	font-weight:300;
	background:#000;
}

.sliderbox, .slider {
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background-size:cover;
	overflow:hidden;
	background-color:#000;
	background-position: center center;
}

.sliderbox .slider {
	opacity:.8;
	transition: opacity 1s;
}

.infonav {
    position: absolute;
    top: 50px;
    left: 50px;
    font-family: Roboto;
	font-size:36px;
    font-weight: 100;
    color: #ffffff70;
}

.infonav b {
    color:#fff;
    font-weight: lighter;
}

.textbox {
    position: absolute;
    top: 100px;
    font: normal normal bold 16px/20px Roboto;
    color: #fff;
    left: 50px;
	font-weight: lighter;
	max-width:500px;
    bottom: 50px;
    overflow: auto;
	overflow-y:auto;
	overflow-x:auto;
	right:50px;
    z-index: 100;
}


.textbox p.subhead {
    font: normal normal normal 15px/26px Roboto;
    padding: 0;
    margin: 0;
}

.textbox p.h1, .textbox h1.h1 {
    font: normal normal bold 36px/42px Roboto Slab;
	padding: 0;
    margin: 0 0 25px 0;
}

.textbox a {
    color: #fff;
}

a.moretext {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid #fff;
    padding: 10px 15px;
}

a.moretext:after {
    content:"";
    display:inline-block;
    width:20px;
    height:12px;
	background: transparent url(https://tramino.s3.amazonaws.com/s/iphofen/1043403/arrow-right-white.svg) no-repeat center right;
}

.whitebox {
	background: #fff;
}

.infobox {
    position: absolute;
    top: 50%;
    color: #4DB4BB;
    width: 300px;
    left: 50%;
    text-align: center;
    margin: -100px 0 0 -150px;
    height: 200px;
	font-family: 'Roboto Slab', serif;
	font-size: 28px;
}

.infobox.white {
	color: #fff;
}

.infobox #digits {
    width: 140px;
    transition: color .5s linear;
    overflow: hidden;
    font-size: 130px;
    line-height: 100px;
    font-family: Roboto, sans-serif;
    display: block;
    height: 175px;
    margin: 0 auto;
}

.infobox p {
    margin: 0 0 0 0;
	font-weight:600;
	transition: color .5s;
}

#digits span {
    width: 70px;
    display: block;
    height: 200px;
    float: left;
    line-height: 200px;
    transform: translateY(0%);

}

#digits span.dright {
    transition: transform .25s;
}
#digits span.dleft {
    transition: transform .25s;
}

div#footer {
    position: fixed;
    bottom: 0;
    color: #fff;
    right: 0;
    font: normal normal normal 11px/26px Roboto;
    letter-spacing: 0px;
}

div#footer a {
    color:#fff;
    text-decoration:none;
}

div#footer img#iphofenlogo {
    display: inline-block;
    width: 200px;
    margin: 0 50px -10px 15px;
}

div#menuicon {
    position: fixed;
    top: 50px;
    right: 50px;
    border: 1px solid #fff;
    width: 20px;
    height: 26px;
    border-radius: 100px;
    padding: 6px 8px 4px;
    cursor: pointer;
	transition: background 1s;
}

div#menuicon span {
    display: block;
    background: #fff;
    height: 1px;
    width: 20px;
    margin: 5px 0;
}

div#menuicon:hover {
	background: #000;
}

.textbox .TraminoTextile {
    display: none;
}

.moretext .textbox .TraminoTextile {
    display: block;
}

.moretext a.moretext {
    display: none;
}

.moretext .sliderbox .slider {
    opacity: .5;
}

.closeicon {
    position: absolute;
    top: 50px;
    right: 50px;
    border: 1px solid #fff;
    width: 20px;
    height: 26px;
    border-radius: 100px;
    padding: 6px 8px 4px;
    cursor: pointer;
    background: #000;
	display:none;
}

.closeicon::before {
    content:"";
    height: 1px;
    width: 25px;
    background: #fff;
    transform: rotate(45deg);
    display: block;
    top: 17px;
    left: 5px;
    position: absolute;
}

.closeicon::after {
    content:"";
    height: 1px;
    width: 25px;
    background: #fff;
    transform: rotate(-45deg);
    display: block;
    top: 17px;
    left: 5px;
    position: absolute;
}


.moretext .closeicon { display:block; }

#body #navigation {
	display:none;
}

#body.moretext #navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #00000070;
	display:block;
}

#body.moretext .textbox, #body.moretext .infonav {
    display: none !important;
}

ul.contentnav {
    padding: 50px;
    margin: 0;
    list-style: none;
    max-width: 500px;
    position: absolute;
    bottom: 0;
    top: 0;
    	overflow-y:auto;
	overflow-x:auto;

}

ul.contentnav li {
    border-bottom: 1px solid #ffffff2e;
    padding: 7px 0;
    color: #fff;
    cursor: pointer;
}

ul.contentnav li span {
    padding: 0 25px 0 0;
    font-family: Roboto;
    font-size: 24px;
	width:20px;
	text-align:left;
	display:inline-block;
}

ul.contentnav li:hover {
    background:#ffffff30;
}

.video_background{
		position: absolute;
		right: 0;
		bottom: 0;
		top:0;
		right:0;
		width: 100%;
		height: 100%;
		background-size: 100% 100%;
 		background-color: black; /* in case the video doesn't fit the whole page*/
  		background-image: /* our video */;
  		background-position: center center;
  		background-size: contain;
   		object-fit: cover; /*cover video background */
   		z-index:3;
	}


#scrolling svg {
    width: 30px;
    margin-bottom: -10px;
    margin-right: 5px;
}

div#scrolling {
    text-transform: uppercase;
}

.infonav svg {
    display: inline;
    width: 13px;
    margin-bottom: -2px;
}

#iphofenlogoc {
position: absolute;top: 50px;right: 50px;display: block;width: 75px;font-size: 12px;color: #fff;text-transform: uppercase;text-decoration: none;text-align: center;font: normal normal normal 11px/16px Roboto;
}@media only screen and ( max-width: 500px ){

	#body ul.contentnav {
	    padding: 100px 15px;
	}
	
	#body ul.contentnav li span {
    	padding: 0 15px 0 0;
	}
	
	#body .closeicon, div#menuicon {
		right:25px;
		top:25px;
		z-index:100;
	}
	
	#body .infonav {
		top:25px;
		left:25px;
	}
	
	#body .textbox {
	    top: 75px;
	    left: 25px;
	    bottom: 25px;
    	right: 25px;
		overflow:scroll;
	}
	
	#body div#footer {
		text-align:center;
	}
	
	#body div#footer img#iphofenlogo {
	    width: 150px;
	    margin: 0 0 -10px 10px;
	}
	
	#body .textbox p.h1, #body .infonav {
    	font-size: 26px;
    	line-height: 32px;
	}
	
	#iphofenlogoc {
		top: 15px;
		right: 15px;	
	}
	
}

@media only screen and ( min-width: 750px ){
	#section1 .textbox p.h1 {
	    font-size: 48px;
	    line-height: 54px;
	}
	
	#section1 .textbox {
	    max-width: 650px;
	}
}