/* @override 
	http://theamazingaudioengine.local/stylesheets/app.css */

/* -----------------------------------------
   Shared Styles
----------------------------------------- */

* {
  text-shadow: 0 1px 1px #fff;
}

.contain-to-grid {
  background: #444;
  border-bottom: 4px solid black;
}

nav, nav ul.right li {
  background: none !important;
}

.top-bar,
.top-bar ul,
.top-bar ul>li,
.top-bar ul>li a {
  min-height: 60px;
  line-height: 60px !important;
}

.top-bar ul.right>li a {
  text-shadow: none;
  font: 20px Lobster !important;
  line-height: 60px !important;
  text-transform: lowercase;
}

nav ul.right li a {
  color: #eabb02 !important;
}

nav ul.right li.active a,
nav ul.right li a:hover {
  color: #fff !important;
}

.top-bar>ul .name h1 a {
  display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr;
	background: url(/images/header-title.png);
	width: 433px;
	height: 128px;
	position: absolute;
	z-index: 100;
	margin-top: -20px;
	margin-left: -80px;
}

@media screen and (-webkit-min-device-pixel-ratio: 2),
       screen and (max-moz-device-pixel-ratio: 2) {
       
 .top-bar>ul .name h1 a {
 	background: url(/images/header-title@2x.png) no-repeat;
 	background-size: 100% 100%;
 }
}

.index .top-bar>ul .name h1 a {
  display: none;
}

.button {
  box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
  -moz-box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
  -webkit-box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
  text-shadow: 0px 1px 2px #666;
}

.reveal-modal.pending {
  background: white url('../images/ajax-loader-white.gif') no-repeat center center;
}

.reveal-modal.pending * {
  opacity: 0.2;
}


footer {
  background: #333;
  box-shadow: 0px 0px 5px #000;
  -moz-box-shadow: 0px 0px 5px #000;
  -webkit-box-shadow: 0px 0px 5px #000;
  text-align: center;
  padding: 30px 0px;
  color: white;
  margin-top: 40px;
}

footer * {
    text-shadow: none;
}

footer ul li {
  display: inline-block;
  margin: 0 10px;
}

footer .button {
  min-width: 200px;
  line-height: 30px;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  margin: 10px;
}

@media only screen and (max-width: 767px) {
  footer ul li {
    display: block;
  }
}

hr {
  border-top: 1px solid #aaa;
  border-bottom: 1px solid #fafafa;
  margin: 50px 0;
}

/* -----------------------------------------
   Index
----------------------------------------- */

body.index {
  background: #d7d7d7 url('../images/index-background.jpg') no-repeat center 45px;
}

body.index .row h1 {
  display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr;
  max-width: 448px;
  background: url('../images/title.png') no-repeat left top;
  background-size: 100% 100%;
  margin: 180px auto 40px auto;
}

@media only screen and (max-width: 920px) {
  body.index {
    background-position-x: 40%;
  }
}


body.index .row h1::after {
  display: block;
  padding-top: 42.3%;
  content: "";
}

body.index .row h2 {
  display: none;
}

body.index .badge {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  background: #222;
  display: block;
  float: right;
  margin-top: -75px;
  margin-right: -30px;
  color: white;
  padding: 5px 10px;
  border: 3px solid #fff;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  -webkit-transform: rotate(-10deg);
  -moz-transform: rotate(-10deg);
  transform: rotate(-10deg);
  box-shadow: 0px 1px 5px #444;
  -moz-box-shadow: 0px 1px 5px #444;
  -webkit-box-shadow: 0px 1px 5px #444;
}

body.index .badge a {
  color: white;
}

body.index .row .button {
  width: 100%;
  margin: 5px 0;
  line-height: 40px;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

.index .apps {
  background-color: #888;
  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#aaa), to(#888));
  background-image: -moz-linear-gradient(-90deg, #aaa, #888);
  background-image: linear-gradient(-90deg, #aaa, #888%);
  box-shadow: 0px 1px 0px #fff, 0px 2px 5px #222 inset;
  -moz-box-shadow: 0px 1px 0px #fff, 0px 2px 5px #222 inset;
  -webkit-box-shadow: 0px 1px 0px #fff, 0px 2px 5px #222 inset;
  margin: 1em 0 4em 0;
  padding: 3em 0 4em 0;
}

.index .apps .columns {
  text-align: center;
}

.index .apps h3 {
  color: #eee;
  text-align: center;
  margin-bottom: 2em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.index .apps a img {
  display: block;
  margin: 10px;
  border-radius: 18%;
  box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
}

.index .apps a {
  display: inline-block;
  margin: 1em;
  text-align: center;
  color: white;
  text-shadow: 0 1px 2px #000;
  font-weight: bold;
  
}

body.index pre.objc {
  background: #eee;
  border: 1px solid #aaa;
  padding: 10px;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  box-shadow: 0px 1px 0px #fff;
  -moz-box-shadow: 0px 1px 0px #fff;
  -webkit-box-shadow: 0px 1px 0px #fff;
  overflow: auto;
}

body.index h4 {
  font-weight: normal;
  font-size: 1.1em;
  margin-top: 4em;
}

body.index .features li {
  padding-left: 80px;
  height: 10em;
}

body.index .features .icon {
  position: absolute;
  margin-left: -70px;
  margin-top: 5px;
}


@media screen and (-webkit-min-device-pixel-ratio: 2),
       screen and (max-moz-device-pixel-ratio: 2) {
   body.index {
     background-image: url('../images/index-background@2x.jpg');
     background-size: 1900px 960px;
   }
   
   body.index .row h1 {
     background-image: url('../images/title@2x.png');
   }
}

@media only screen and (device-width: 768px) and (device-height: 1024px) {
  body.index {
    /* iPad doesn't seem to be able to manage the 2x background */
    background-image: url('../images/index-background.jpg');
  }
}

@media only screen and (max-width: 767px) {
  body.index {
    background-image: url('../images/index-background-narrow.jpg');
    background-position-x: center;
  }
  
  body.index .row h1 {
    margin-top: 20px;
    max-width: 300px;
    background-image: url('../images/title-white.png');
    margin-bottom: 500px;
  }
  
  body.index .badge {
    float: none;
    margin: 0 auto;
    text-align: center;
    width: 200px;
    margin-top: -490px;
    margin-bottom: 490px;
  }
  
  body.index .features .icon {
    margin-top: -5px;
  }
  
  body.index .apps h3 {
    font-size: 14px;
    margin-bottom: 1em;
  }
  
  body.index .apps {
    padding: 0 0 .75em 0;
  }
  
  body.index .apps img {
    width: 64px;
  }
  
  body.index .apps a {
    margin: 0;
    font-size: 12px;
    margin-bottom: 15px;
  }
}

@media screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 767px),
       screen and (max-moz-device-pixel-ratio: 2) and (max-width: 767px) {
   body.index {
     background-image: url('../images/index-background-narrow@2x.jpg');
     background-size: 1217px 853px;
   }
   
   body.index .row h1 {
     background-image: url('../images/title-white@2x.png');
   }
}

.taae2-banner {
    width: 483px;
    height: 326px;
    position: absolute;
    top: 64px;
    right: 0;
    z-index: 1;
}

.taae2-banner a:first-child {
    display: block; 
    text-indent: -999em; 
    overflow: hidden; 
    text-align: left; 
    direction: ltr;
    background: url('../images/TAAE2.png');
    background-repeat: no-repeat; 
    background-size: 100% 100%;
    width: 100%;
    height: 100%;
}

.taae2-banner a.video {
    display: block; 
    text-indent: -999em; 
    overflow: hidden; 
    text-align: left; 
    direction: ltr;
    position: absolute;
    left: 406px;
    top: 194px;
    width: 78px;
    height: 65px;
    z-index: 2;
}

@media screen and (-webkit-min-device-pixel-ratio: 2),
       screen and (max-moz-device-pixel-ratio: 2) {

   .taae2-banner a:first-child {
       background-image: url('../images/TAAE2@2x.png');
   }
}

@media only screen and (max-width: 700px) {
    .taae2-banner {
        width: 241px;
        height: 163px;
    }
    
    .taae2-banner a.video {
        left: 203px;
        top: 97px;
        width: 39px;
        height: 32px;
    }
}