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

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * 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: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px 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
   ========================================================================== */
@font-face {
    font-family: 'RokkittRegular';
    src: url('fonts/Rokkitt-webfont.eot');
    src: url('fonts/Rokkitt-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/Rokkitt-webfont.woff') format('woff'),
         url('fonts/Rokkitt-webfont.ttf') format('truetype'),
         url('fonts/Rokkitt-webfont.svg#RokkittRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}
	
	body{background-color:#e6e6e6;font-family:'helvetica neue', helvetica, arial, sans-serif;width:100%}
    p, ul, li, a {font-family:'helvetica neue', helvetica, arial, sans-serif;color: #595858}
	h1, h2, h3, h4, h5, h6{font-family:'RokkittRegular','helvetica neue', helvetica, arial, sans-serif;color:#595858}
	h3 a{font-family:'RokkittRegular','helvetica neue', helvetica, arial, sans-serif;color:#f1a418; text-decoration:none;}
#wrap{width:100%;}

sup, sub { position: relative; vertical-align: 0; font-size:60%; }
sup { bottom: 0.4em; }
sub { top: 0.4em; }

#headerwrap{
height:121px;
background-color:#FFF;
position:fixed;
width:100%;
z-index:20000;
background: rgba(255, 255, 255, 0.95);
background: -webkit-gradient(linear, 50% 0%, 50% 95, color-stop(0%, rgba(255, 255, 255, 0.95)), color-stop(100%, rgba(255, 255, 255, 0.85)));
}

.mobileHeader{
height:121px;
background-color:#FFF;
position:relative;
width:auto;
z-index:20000;
background: rgba(255, 255, 255, 0.95);
background: -webkit-gradient(linear, 50% 0%, 50% 95, color-stop(0%, rgba(255, 255, 255, 0.95)), color-stop(100%, rgba(255, 255, 255, 0.85)));
}
#logo{padding-top:30px;padding-left:50px;width:250px;padding-right:60px;padding-bottom:5px;

-moz-box-shadow: 0 1px 20px rgba(0,0,0,0.2);
-webkit-box-shadow: 0 1px 20px rgba(0, 0, 0, 0.2);
-o-box-shadow: 0 1px 20px rgba(0,0,0,0.2);
box-shadow: 0 1px 20px rgba(0, 0, 0, 0.2);

}

hr{width:90%;margin-left:40px;}

#headerBanner {
margin-bottom: 50px;
border-bottom: 1px solid white;
height: 120px;
width:960px;
margin-left:auto;
margin-right:auto;

}

#mainNav {

width:580px;
float:right;
text-align:center;
margin-top:30px;

}
#mainNav  ul li a{
text-decoration:none;
color:#989797;
float:left;
height:40px;
border-left:1px solid #989797;
padding-top:5px;
font-size:15px;
font-weight:bold;
padding: 5px 20px 0 20px;
}


.lastnav{border-right:1px solid #989797;}

#attract {width:960px;height:455px;display:block;}
#attract01{background-image:url('../img/splash07.png');width:100%;display:block;padding-top:120px;}
#attract01 h1{margin-bottom:0;color:#fff;width:590px;margin-top:50px;text-align:right;}
#attract01 p{color:#fff;width:590px;margin-top:0;font-size:18px;text-align:right;margin-left:0;}

#attract02 div{float:right;margin-right:25px;}
#attract02{background-image:url('../img/splash02.png');width:100%;display:block;padding-top:120px;}
#attract02 h1{margin-bottom:0;color:#fff;margin-left:50px;margin-top:50px;}
#attract02  p{color:#fff;margin-left:55px;width:500px;margin-top:0;font-size:16px;}

#attract03{background-image:url('../img/splash03.png');width:100%;display:block;padding-top:120px;}
#attract03 h1{margin-bottom:0;color:#fff;margin-left:50px;margin-top:50px;padding-left:15px;}
#attract03 p{color:#fff;margin-left:55px;width:500px;margin-top:0;font-size:16px;padding-left:15px;}

#attract04 div{float:right;margin-right:25px;}
#attract04{background-image:url('../img/splash08.png');width:100%;display:block;padding-top:120px;}
#attract04 h1{margin-bottom:0;color:#fff;margin-left:50px;margin-top:50px;}
#attract04 p{color:#fff;margin-left:55px;width:500px;margin-top:0;font-size:16px;}

#attract05{background-image:url('../img/splash05.png');width:100%;display:block;padding-top:120px;}
#attract05 h1{margin-bottom:0;color:#fff;margin-left:50px;margin-top:50px;padding-left:15px;}
#attract05  p{color:#fff;margin-left:55px;width:500px;margin-top:0;font-size:16px;padding-left:15px;}

#attract06 div{float:right;margin-right:25px;}
#attract06{background-image:url('../img/splash04.png');width:100%;display:block;padding-top:120px;}
#attract06 h1{margin-bottom:0;color:#fff;margin-left:50px;margin-top:50px;}
#attract06 p{color:#fff;margin-left:55px;width:500px;margin-top:0;font-size:16px;}

#violator{
background-color:#F2A418;
width:260px;
height:230px;
position:relative;
top:100px;
border-radius:20px;
z-index:50000;
margin-top:-120px;
float:right;
margin-right:70px;
}

.whiteText{
color:#FFF;
}

#violator p{
font-family:'RokkittRegular','helvetica neue', helvetica, arial, sans-serif;
color:#595858;
font-size:28px;
padding:15px;
line-height:28px;
text-align:left;
width:240px;
margin-left:0;
}

/*#attract p.bottomAttract{color:#595858;margin-left:500px;width:400px;display:block;}*/


.sections{background-color:#fff;}
#sIntro .ipad{
background-image:url('../img/ipad_home_white.png');
background-repeat:no-repeat;
display:block;
width:493px;
height:420px;
margin-top:-150px;
position:relative;
float:left;
}


#sIntro{height:150px;padding:0 20px;margin:0;}
#sIntro p{margin-top:0;padding-top:30px;}

#sRoles{height:680px;padding:0 20px;margin:0;}
#sRoles h1{line-height:35px;font-size:28px;margin-bottom:10px;padding-top:60px;margin-top:0;margin-left:55px;}
#sRoles h3{margin-left:55px;cursor:pointer;}
#sRoles h3.hover{color:#f2a418;}
#sRoles h3.active{color:#f2a418;}
#sRoles p{margin-top:0px;margin-left:55px;}

#sModes{height:280px;padding:0 20px}
#sModes img{float:left;margin-top:-40px;margin-left:35px;margin-right:25px;margin-bottom:40px;}
#sModes h1{line-height:35px;font-size:28px;margin-bottom:10px;padding-top:20px;}
#sModes p{margin-top:0;margin-left:55px;}

#sBrand{height:350px;padding:0 20px}
#sBrand img{float:right;margin-top:-18px;}
#sBrand h1{line-height:35px;font-size:28px;padding-top:110px;margin-bottom:10px;margin-left:55px;}
#sBrand p{margin-top:0px;margin-left:55px;}

#sSharing{height:300px;padding:0 20px}
#sSharing img{float:left; margin-top:-50px;}
#sSharing h1{line-height:35px;font-size:28px;padding-top:60px;margin-bottom:10px;margin-left:55px;}
#sSharing p{margin-top:0px;margin-left:55px;}

#sFlexible{height:320px;padding:0 20px}
#sFlexible img{float:right;margin-top:-30px;}
#sFlexible h1{line-height:35px;font-size:28px;padding-top:0;margin-bottom:10px;margin-left:55px;}
#sFlexible p{margin-top:0px;margin-left:55px;}

#sAbout{height:370px;padding:0 20px}
#sAbout img{float:left;}
#sAbout h1{line-height:35px;font-size:28px;padding-top:200px;margin-bottom:10px;margin-left:55px;}
#sAbout p{margin-top:0px;margin-left:55px;}

#sStore{height:550px;padding:0 20px;margin-top:60px;text-align:center;}
#sStore img{width:200px;margin-bottom:20px;margin-top:50px;}
#sStore p{text-align:center;margin-top:0px;margin-left:auto;margin-right:auto;}

#sContact{height:360px;padding:0 20px;}
#sContact h1{line-height:35px;font-size:28px;margin-bottom:10px;margin-left:55px;}
#sContact h3{margin-left:55px;}
#sContact img{float:right;margin-top:-55px;width:400px;}
#sContact p{margin-left:55px;margin-top:0px;}

#sDemo{height:375px;padding:120px 20px;text-align:center;}
#sDemo h1{line-height:35px;font-size:28px;margin-bottom:10px;}
#sLogin{height:250px;padding:120px 20px;text-align:center;}
#sLogin h1{padding-top:50px;}
#sLogin table{margin-left:auto;margin-right:auto;}
#sAbout h1{line-height:35px;font-size:28px;padding-top:80px;margin-bottom:10px;margin-left:55px;}
#sDemo p{text-align:center;margin-top:0px;margin-left:auto;margin-right:auto;width:270px;}
#sDemo div{margin-right:auto;margin-left:auto;}

.body{width:960px;margin:0 auto;}

h3{margin-bottom:0;}

/*iPad Carosel*/

#iPadRotator{
background-image:url('../img/ipad-back-arrows.png');
background-repeat:no-repeat;
display:block;
width:493px;
height:360px;
padding-bottom:100px;
position:relative;
float:right;
}
#iPadRotator {

	position: relative;
	
}
#iPadRotator img {
	background-color: white;
	display: block;
	float: left;
	width:328px;
	height:245px;
}

#iPadWrap{
width:328px;
margin-top:82px;
margin-left:84px;
}

#iPadContents{
	width:328px;
	height:245px;
}





a.prev, a.next {
	/*background: url(../images/miscellaneous_sprite.png) no-repeat transparent;*/
	width: 60px;
	height: 245px;
	display: block;
	position: absolute;
	top: 85px;
}
a.prev {			left: 5px;
					background-position: 0 0; }
a.prev:hover {		background-position: 0 -50px; }
a.prev.disabled {	background-position: 0 -100px !important;  }
a.next {			right: 0px;
					background-position: -50px 0; }
a.next:hover {		background-position: -50px -50px; }
a.next.disabled {	background-position: -50px -100px !important;  }
a.prev.disabled, a.next.disabled {
	cursor: default;
}

a.prev span, a.next span {
	display: none;
}

.pagination {
	text-align: center;
	margin-top:50px;

}
.pagination a {
	background: url('../img/miscellaneous_sprite.png') 0 -300px no-repeat transparent;
	width: 15px;
	height: 15px;
	margin: 0 5px 0 0;
	display: inline-block;
}
.pagination a.selected {
	background-position: -24px -300px;
	cursor: default;
}
.pagination a span {
	display: none;
}
.clearfix {
	float: none;
	clear: both;
}


#footer{
display:block;
text-align:center;
font-size:12px;
height:300px;
}

#footer p{margin-top:20px;}




/* ==========================================================================
   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: 1px 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;
    }
}
