/*-----------------------------------------------------------------------------------

	Theme Name: FluidApp
	Author: Two2Twelve Themes
	Author URI: http://themes.two2twelve.com
	Version: 1.1
	
	Stylesheet: Media Queries
	
-----------------------------------------------------------------------------------*/
@media only screen and (max-width: 1150px) {
  div#slider {
    margin-top: -50px;
    margin-left: -30px;
    overflow: hidden;
    width: 500px;
    height: 640px;
  }
  div.slide .background.left {
    margin-left: 30px;
  }
  div.slide .foreground.right {
    margin-left: 30px;
  }
  section #app_info {
    padding-right: 0px;
  }
  section #pages .top_shadow,
  section #pages .bottom_shadow {
    height: 100px;
    width: 20px;
  }
  section #app_info {
    padding-left: 30px;
  }
  div.slide .background.tablet {
    width: 420px;
    margin-left: 75px;
  }
  div.slide .background.tablet img,
  div.slide .background.tablet iframe {
    left: 43px;
  }
}
@media only screen and (max-width: 1024px) {
  section #pages {
    width: 470px;
  }
  div#slider {
    width: 480px;
  }
  div.slide .background.left,
  div.slide .foreground.right {
    width: 250px;
  }

  section #pages {
    padding: 0px;
  }
 
}

/* For iPhones and Mobile */

@media only screen and (max-width: 768px) {
  div#page_wrapper {
    width: 320px;
    overflow: hidden;
    margin: 0 auto;
  }
  .container {
    width: auto;
    margin: 0 auto;
  }
  header {
    padding: 0px;
    margin-bottom: 0px;
  }
  header nav ul,
  header nav span.arrow {
    display: none !important;
  }
  header .select-menu {
    display: block;
  }
  section {
    padding: 0px 10px 0px 10px;
  }
  header nav select {
    margin: 20px 0px 10px 180px;
  }
  header aside ul {
		padding-top: 10px;
	}
  section #app_info {
    text-align: center;
    float: none;
    width: 100%;
    padding: 0;
    margin-top: 30px;
  }
  section #app_info a.logo img {
    width: 260px;
  }
  section #app_info span.tagline {
    margin-bottom: 15px;
    font-size: 18px;
  }
  section #app_info p {
    margin-bottom: 20px;
  }
  section #app_info .buttons {
    width: 100%;
    float: none;
    margin: 0 auto;
    justify-content: center;
  }
  section #app_info .buttons a:first-child {
    margin: 0;
  }
  .large_button,
  section #app_info .buttons .large_button {
    width: 115px;
    font-size: 17px;
    margin-left: 10px;
  }
  .large_button em {
    font-size: 8px;
  }
  section #app_info .buttons .large_button#blackberry,
  .large_button#blackberry,
  section #app_info .buttons .large_button#windows,
  .large_button#windows {
    font-size: 14px;
  }

  section #pages {
    background: none;
    width: 100%;
    float: none;
    padding: 0;
    margin-top: 10px;
  }
  section #pages .top_shadow {
    background: url("../images/light-shadow_vertical.png") no-repeat top center;
    width: 320px;
    height: 60px;
    position: static;
  }
  section #pages .bottom_shadow {
    display: none;
  }
  section #pages div.page {
    padding-top: 20px;
  }
  section #pages .content_box {
    padding-top: 5px;
  }
  /* Homepage Slider */
  div#slider {
    width: 320px;
    height: 550px;
    margin: -30px 0px 0px 0px;
  }
  div.slide .background.left {
    width: 200px;
    height: 460px;
	background-size: 100%;
	margin-left: 5px;
  }
  div.slide .foreground.right {
    width: 200px;
    height: 460px;
	background-size: 100%;
	margin-left: 15px;
  }

  div.slide .background.left img,
  div.slide .background.left iframe {
	width: 188px;
	height: auto;
	top: 8px;
	left: 6px;
  }
  div.slide .foreground.right img,
  div.slide .foreground.right iframe {
	width: 188px;
	height: auto;
	top: 8px;
	left: 6px;
  }
  div.slide .background.tablet img,
  div.slide .background.tablet iframe {
    left: 15px;
	height: auto;
	width: 270px;
	top: 40px;
  }
  div.slide .background.tablet {
    width: 300px;
	height: 430px;
    margin-left: 5px;
	background-size: 100%;
  }
  div.echo-nav {
    width: 320px;
  }
  div.echo-nav a {
    width: 20px;
  }
  div#slider div.slide {
    height: 400px;
  }
  div#slider div.slide .background {
    top: 60px;
    left: -5px;
  }
  div#slider div.slide .foreground {
    left: 85px;
    top: 40px;
  }

  /* Team */
  div.about_us .one_half {
    float: none;
    width: 100%;
  }
  div.about_us .one_half.column_last {
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 20px;
    margin-bottom: 0;
  }
  div.team_members .person {
    float: none;
    width: 100%;
  }
  div.team_members .person:last-child {
    margin-bottom: 0;
  }
  /* Features */
  div.feature_list .one_half {
    float: none;
    width: 100%;
  }
  div.feature_list .one_half:last-child {
    margin-bottom: 0;
  }
  /* Screenshots */
  div.screenshot_grid .one_third {
    width: 45%;
  }
  div.screenshot_grid .one_third.column_last {
    margin-right: 4% !important;
  }
  div.screenshot_grid div a {
    width: 120px;
    height: 85px;
  }
  /* Updates */
  article.release {
    width: 300px;
  }
  article.release:last-child {
    margin-bottom: 0;
  }
  article.release h2 {
    padding-right: 5px;
  }
  /* Press */
  div.press_mentions ul li:last-child {
    margin-bottom: 0;
  }
  /* Contact */
  div#contact_form p.left,
  div#contact_form p.right {
    float: none;
    width: auto;
    margin-bottom: 20px;
  }
  div#contact_form div.row {
    margin-bottom: 0px;
  }
  div#contact_form textarea {
    width: 280px;
    margin-top: 10px;
  }
  /* Footer */
  footer {
    padding-top: 20px;
  }
}
/* For iPads and Tablets */
@media screen and (min-width: 751px) and (max-width: 990px) {
  /* SLIDER */
  div.slide .background.tablet {
    width: 550px;
    margin-left: 40px;
  }
  div.slide .background.tablet img,
  div.slide .background.tablet iframe {
    left: 110px;
  }
  div#slider {
    width: 550px;
  }
  div.slide .background.left {
    margin-left: 80px;
  }
  div.slide .foreground.right {
    margin-left: 80px;
  }
  div#page_wrapper {
    width: 735px;
    overflow: hidden;
    margin: 0 auto;
  }
  .container {
    width: auto;
    margin: 0 auto;
  }
  header nav select {
    margin: 17px 30px 0px 0px;
  }
  ul.lang{
    margin-left: 0;
  }
  header nav ul{
     margin-bottom: 50px;
     margin-right: 50px;
  }
  header {
    padding: 0;
    margin-bottom: 70px;
    height: auto;
  }
  div#slider {
    margin-top: 0px;
  }
  section {
    padding: 0px 10px 0px 10px;
  }
  section #app_info {
    text-align: center;
    float: none;
    width: 550px;
    padding: 0;
    margin: 30px auto 0px auto;
  }
  section #app_info .buttons {
    width: 360px;
    float: none;
    margin: 0 auto;
  }
  section #app_info .buttons a:first-child {
    margin: 0;
  }
  section #pages {
    background: none;
    width: 550px;
    float: none;
    padding: 0;
    margin: 20px auto 0px auto;
  }
  section #pages .top_shadow {
    background: url("../images/light-shadow-ipad_vertical.png") no-repeat top
      center;
    width: 550px;
    height: 60px;
    position: static;
  }
  section #pages .bottom_shadow {
    display: none;
  }
  section #pages div.page {
    padding-top: 30px;
  }
  section #pages .content_box {
    padding-top: 5px;
  }
  /* Footer */
  footer {
    padding-top: 20px;
  }
}
