@font-face {
    font-family: Helvetica;
    src: url(../font/HelveticaLTStd-Roman.otf);
}
body, html {
	height: 100%;
	width: 100%;
    margin: 0;
    font-family: "Helvetica", serif;
}
#main-nav {
	background: white;
	margin-top: 0px;
    display: inline-block;
    list-style-type: none;
    font-weight: normal;
	color: #FF3F00;
    font-size:18px;
    width: 100%;
    text-align: center;
    -webkit-padding-start: 0;
	height: 50px;
	line-height: 50px;
	position: fixed;
	z-index: 9001; /* over 9000! */
}
#main-nav li {
	height: 33px;
    width: 23%;
    display: inline-block;
    vertical-align: middle;
}
#main-nav li a {
    color: #FF3F00;
	line-height: 33px;
    text-decoration: none;
}
#main-nav li a.index {
    font-size: 25px;
}
#main-nav li a.active {
	border-bottom: 2px solid #ff0000;
}
p.first-trigger {
	position: absolute;
    bottom: 25px;
    left: 46px;
    color: red;
    cursor: pointer;
}
img#main-logo {
	width:125px;
	display: inline-block;
	bottom: 80px;
	position: absolute;
	left: 30px;
	cursor: pointer;
}
img.hipsrv-screen {
    width: 300px;
}
.downloads {
    text-align: center;
    position: initial;
    width: 100%;
    text-align: center;
    margin-bottom: 150px;
    margin-top: 40px;
}
.downloads a {
    text-decoration: none;
}
.downloads img {
    display: inline-block;
    height: 70px;
}


#overlay {
    display: none;
    width 100%;
    position: absolute;
    top: 20;
}
img#final-slide-logo {
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
#about-nav {
    list-style-type: none;
}
#about-nav li {
    padding: 15px;
}
#about-nav li img {
    width: 70px;
    height: 70px;
}

.section h2 {
    text-align: center;
}
.section p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
    font-size: 18px;
}
.hipsrv-brand {
    color: red;
    text-align: center;
}

.inline-hipsrv-brand {
    display: inline;
    color: red;
    text-decoration: none;
    font-style: normal;
	cursor: pointer;
}

#sec1p5 {
    
    position: relative;
}

.wrapper {
    width: 40%;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255,255,255,0.95);
    padding: 20px;
    position: absolute;
}

div.section{
    background-size: cover !important;

}

#sec1p5 div.wrapper {
    bottom: 100px;
    left: 0;
    right: 0;
}
#sec2 {
    position: relative;
}

#sec2 div.wrapper {
    left: 10%;
    top: 30%;
    background: transparent;
}
img#download-google-play {
    vertical-align: top;
}

div.coming-soon {
        display: inline-block;
}

#sec2 h2 {
    font-size: 30px;
}
#sec2 p {
   font-size: 22px; 
}
#sec4 {
    position: relative;
}
#sec4 div.wrapper {
    bottom: 100px;
    left: 0;
    right: 0;
}

/* BEGIN MOBILE */
@media screen and (max-width: 640px) {
    body {
        /*overflow: hidden;*/
    }
    #main {
        width: 100%;
        padding-top: 12px;
    }
    div.column, #main-left, #app-preview {
        height: 95vh;
        width: 90% ;
        display: block ;
        max-width: none ;
        min-width: auto ;
        margin-left: auto;
        margin-right: auto;
        float: none;
        padding-top: 0;
    }
    div.downloads {
        width: 100%;
        text-align: center;

    }
    #main-nav {
        margin-bottom: 0;
        margin-top: 0px;
    }
    .downloads img {
        height: 50px;
    }
	div#sec1p5 {
	    background-size: cover !important;
    	background-position-x: 48%;
	}
	div#sec1p5 div.wrapper {
		width: 80%;
		bottom: 20px;
		padding: 20px;
	}
	div#sec1p5 div h2{
		font-size: 19px;	
	}
	div#sec1p5 div p{
		font-size: 16px;
	}
	div#sec2 {
		background-position-x: 90%;
		background-position-y: -160px;
	}
	div#sec2 div.wrapper {
        padding: 0;
		top: 50%;
        width: 95%;
        position: absolute;
        left: 0;
        right: 0;
	}
	div#sec4 {
		background-position-x: 50%;
	}
	div#sec4 div.wrapper {
		width: 80%;
		bottom: 10px;
	}
	div#sec4 div.wrapper h2 {
		margin-top: 0;
		margin-bottom: 0;
	}
    img#final-slide-logo {
        width: 70%;
        margin-top: 60px;
    }
    div#sec5 h2 {
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
        font-size: 22px;
    }
}

/* iPhone 5 begins */
@media screen and (device-aspect-ratio: 40/71) {
     div.downloads {
         margin-top: 20px;
    }
}

/* iPhone 5 ends */

