/*
* Apollo Shopify theme
* Copyright 2013, Underground Media
* www.undergroundmedia.co.uk
*/


/* #Media Queries
================================================== */


@media only screen 
    and (min-device-width : 768px) 
    and (max-device-width : 1024px) 
    and (orientation : landscape)
    and (-webkit-min-device-pixel-ratio: 2) { 
  
  #index-content-1, #index-content-2, #index-content-3, #index-content-4, #index-content-5 
  { 
    background-attachment: local! important; 
  }
}


/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 1023px) {

  .homepage-single-article { width: 98%; margin-left: auto; margin-right: auto; }
  .middle { margin-left: 0! important; margin-right: 0! important; }
  #types { padding: 0 10px; }		
  .flex-caption { display: none; }
  .flexslider .readmore { display: none; }
  #footer-wrapper { float: left; width: 100%; }
  li.credit { display: none; }
  #blog #sidebar { display: none; }
  ul#blog-articles { margin-left: 0! important; }
  #blog-article { margin-left: 0! important; }
  
  #index-content-1, #index-content-2, #index-content-3, #index-content-4, #index-content-5 { 
    background-attachment: local! important;
    background-position: 0% 0%! important;  
  }
  
}



@media only screen and (min-width: 900px ) 
    {
  #add { max-width: 40%; display: block; 
  }     
}


/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {
  ul#nav li a { padding: 0 10px; }
  .down { display: none; }	
}


/* Bigger than the small tablets */
@media only screen and ( min-width: 767px) {
  #mobile-search { display: none; }
  ul#mobile-cart { display: none; }
}


  
  /* Responsive Tables */
  
  @media 
    only screen and (max-width: 760px),
    (min-device-width: 768px) and (max-device-width: 1024px)  {
  
  /* Force table to not be like tables anymore */
  table, thead, tbody, th, td, tr { 
    display: block; 
  }
  
  /* Hide table headers (but not display: none;, for accessibility) */
  thead tr { 
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  
  tr { border: 1px solid #ccc; margin: 20px 0;}
  
  td { 
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee; 
    position: relative;
    padding: 10px; 
    text-align: center;
  }
  
  
  #shopping-cart table input { margin-top: 20px! important; }
  
  .cart-item { display: block; }
  .cart-image, .cart-title { display: block; width: 100%;}
  
  #basket-right h4 { font-weight: normal; text-align: center; margin: 20px 0 30px; }
  
  #shopping-cart table td:nth-of-type(2):before { content: "Item Price"; }
  #shopping-cart table td:nth-of-type(3):before { content: "Quantity"; }
  #shopping-cart table td:nth-of-type(4):before { content: "Remove"; }
  #shopping-cart table td:nth-of-type(5):before { content: "Total"; }
  
  
}   

  
  /* All Mobile Sizes (devices and browser) */
  @media only screen and (max-width: 767px) {	
    
    /* #menu is the original menu */
    ul#nav {
      display: none;
    }
    
    .slicknav_menu {
      display:block;
    }  
    
    nav {
      box-shadow: none;
      -moz-box-shadow: none;
      -webkit-box-shadow: none;    
    }
    
    .seeks, .cust, .cart-overview { display: none! important; }
    
    header{ position: initial! important; }
    header.large { height: initial! important; line-height: initial! important; }
    
    #content { margin-top: 0! important; }          
    
    #logo { float: none; width: 100%; text-align: center;  }
    #logo h1 a { text-align: center; }
    
    ul#mobile-cart { clear: left; margin-top: 10px; margin-bottom: 10px; height: 40px; line-height: 40px; text-align: center; }
    ul#mobile-cart li { float: none; line-height: 40px; display: inline-block;  }
    ul#mobile-cart li:hover { color: #676767;  }
    ul#mobile-cart li a { height: 40px; display: block; padding: 0 10px; font-size: 16px; color: #000000;  }
    ul#mobile-cart li a:hover {  text-decoration: none; background: transparent! important; }		
    
    
    #rec-art-background { background-image: none! important; }
    #contact-background { background-image: none! important; }
    .mask { display: none! important; }
    
    textarea { min-width: 0! important; }
    
    #full-width-filter { margin-top: 0! important; }
    
    #image-container { display: none; }
    #product-photos { display: none; }
    #gift-card #product-photos { display: block! important; }
    #mobile-product { display: block! important; }	
    #product-left { margin-top: 10px; width: 100%; float: left; padding: 0; background: transparent; position: initial; }	
    
    #related, #looked-at { display: none; }
    
    #basket-right { text-align: center; float: left; margin-bottom: 20px; }			
    
    #hide { display: none; }	
    
    .search { width: 100%; }
    #q { width: 100%; }
    
    ul#footer-right { float: left; width: 100%; text-align: center; }
    #footer-right li { text-align: center; float: none; }
    
    #mce-EMAIL { width: 100%; }
    .button { width: 100%; }
    
    #product-description { padding: 0! important; }
    #add { width: 100%; }
    input { width: 100%; }
    #update-cart, #checkout { width: 100%; }
    .flex-direction-nav { display: none; }   
  }
 

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
  
}

@media only screen and (min-width: 701px) and (max-width: 768px) {
  #bigimage {
  max-width: 360px;
}
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
  
  ul#cart li { clear: left; display: block; }
  #gmap { display: none; }
  
  
}