* { box-sizing: border-box; }

body {
    text-align: center;
    font-family: sans-serif;
    font-weight: 300;
    font-size: 100%;
    line-height: 1.7em;
}

a {
    text-decoration: none;
}

h1 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: normal;
    line-height: 1em;
}

h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: normal;
    line-height: 1em;
}

p {
    line-height: 1.6em;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.text-justify {
    text-align: justify;
	letter-spacing: .01em;
}

.extra-large {
    font-size: 2.4em;
    margin-bottom: 20px;
}

.large {
    font-size: 2em;
    margin-bottom: 20px;
}

.medium {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.splash {
    font-size: 2.2em;
    margin: 80px auto 80px auto;
	line-height: 1.5em;
}

section {
    display: block;
    width: 100%;
    padding: 30px 0;
}

.container {
    max-width: 90%;
    margin: 0 auto;
}

.section.group + .container{
    margin-top: 30px;
}

.section.group + .section.group {
    margin-top: 30px;
}

.section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.4em;
    margin-bottom: 30px;
}

section.about {
    padding: 70px 0;
}

.bg-gray {
    background-color: #333;
    background-image: URL('../images/px-bg.png');
}

.bg-blue {
    background-color: #00D2FF;
}

/*----------- LOGO/HEADER ------------*/

#logo {
    display: block;
    background-color: #333;
    background-image: URL('../images/px-bg.png');
    width: 200px;
    height: 200px;
    margin: 0 auto -130px;
    border: 3px solid #00D2FF;
    border-radius: 150px;
}

#logo img {
    width: 125px;
    margin-top: 21px;
}

.logo-wrapper {
    width: 18.72%;
    display: block;
    margin: 0 auto;
}

section.header {
    position: relative;
    z-index: 1;
    padding: 15px 0;
}

/*----------- NAV ------------*/

section.navigation {
    border-bottom: 3px solid #00D2FF;
    position: relative;
    z-index: 0;
    padding: 15px 0;
}

.navcontainer {
    max-width: 60em;
    margin: 0 auto;
}

.nav-item {
    display: block;
    text-align: center;
    color: #00D2FF;
    font-size: 1.5em;
}

.nav-item:hover {
    color: #fff;
}

.nav-item:active {
    color: #fff;
}

.nav-image {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

/*----------- IMAGES ------------*/

.ebook.placeholder {
    width: 300px;
    height: 300px;
    text-align: center;
    padding-top: 120px;
    color: #00D2FF;
    background-color: #aaa;
}

.responsive-image {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

object {
	pointer-events: none;
}

/*----------- PREVIEWS ------------*/

.bg-tiny-tiger {
    background-color: #F5B515;
    border-top: 3px solid #FF4A4A;
    border-bottom: 3px solid #FF4A4A;
}

.bg-after-dawn {
    background-color: #BA401C;
    border-top: 3px solid #222222;
    border-bottom: 3px solid #222222;
}

/*----------- ICONS ------------*/

.icons-container {
    display: block;
    margin-top: 20px;
    overflow: hidden;
}

.icons-container .icon {
    display: block;
    float: left;
}

.footer .icons-container .icon {
    float: none;
    display: inline-block;
}
.icons-container .icon img {
    display: inline-block;
    height: 45px;
}
.icons-container .icon.amazon img {
    height: 40px;
    margin-top: 8px;
}
.icons-container .icon + .icon {
    margin-left: 13px;
}

/*----------- FOOTER ------------*/

section.footer {
    border-top: 3px solid #00D2FF;
}

.footer {
    color: #00D2FF;
}

.footer nav {
    display: block;
    max-width: 320px;
}

.footer nav a {
    color: #00D2FF;
    font-size: 1.4em;
    display: block;
    margin-bottom: 10px;
}

.footer a {
    color: #fff;
}

/*----------- MEDIA QUERIES ------------*/

@media (max-width: 1040px) {
	
.container {
    width: 90%;
}
}

@media (max-width: 768px) {
	
#logo {
    width: 150px;
    height: 150px;
    margin-bottom: -100px;
}

#logo img {
    width: 95px;
    margin-top: 14px;
}
}

@media (max-width: 661px) {
	
#logo {
    width: 120px;
    height: 120px;
    margin-bottom: -60px;
}

#logo img {
    width: 75px;
    margin-top: 10px;
}
	
.nav-item {
    font-size: 1.3em;
}
	
.nav-image img {
    width: 60px;
}
}

@media (max-width: 480px) {

section.navigation {
	padding-top: 60px;
    padding-bottom: 20px;
}
	
.nav-item {
    font-size: 1.5em;
}

.nav-image {
    display: none;
}
	
.nav-filler {
    display: none;
}
		
.icons-container {
    margin: 20px auto 20px auto;
}
	
.text-left,
.text-right,
.text-justify {
   	text-align: center;
}
}