/*
 * responsive.custom.css is for custom media queries that are not set via the
 * theme settings, such as cascading media queries.
 *
 * By default all the other responsive stylesheets used in Adaptivetheme use a
 * "stacking method", however cascading media queries use a waterfall method so
 * you can leverage the cascade and inheritance for all browsers that support
 * media queries.
 *
 * @SEE http://zomigi.com/blog/essential-considerations-for-crafting-quality-media-queries/#mq-overlap-stack
 *
 * NOTE: this file loads by default, to disable go to your theme settings and
 * look under the "CSS" settings tab.
 */

/*
 * Really small screens and up
 */
/* @media only screen and (min-width: 220px) {} */

/*
 * Smalltouch sizes and up
 */
/* @media only screen and (min-width: 320px) {} */

/*
 * Smalltouch sizes and down
 */
@media only screen and (max-width: 480px) {
  /* 
   * Float Region Blocks - custom media query CSS example:
   * 
   * Float regions blocks is an Extension you can enable in the appearance
   * settings for your theme. This feature allows you to automatically float
   * blocks in regions, you can switch it on and off depending on your
   * requirements. For design purposes you many want to remove the floats for
   * devices where the entire theme is just one column - for example small
   * mobile phones. The following CSS is inside the custom media query:
   *
   *   @media only screen and (max-width: 480px){}
   *
   * This will target devices with a maximum width of 480px - most small phones.
   * In these smaller screen sizes we can remove the float and widths so all
   * blocks stack instead of displaying horizonally. The selector used is an
   * "attribute selector" which will match on any float block class. Use your
   * inspector or Firebug to get the classes from the page output if you need
   * more granular control over block alignment and stacking.
   */
  .region[class*="float-blocks"] .block {
    float: none;
    width: 100%;
  }
}

/*
 * Tablet sizes and up
 */
@media only screen and (min-width: 768px) {
} 

/*
 * Tablet sizes and down Ipad vertical
 */
@media only screen and (max-width: 768px) {

#block-block-6 {

    margin-top: -35px;
}
#block-block-5 {
    margin-top: -82px;
}
} 

/*
 * Desktops/laptops and up
 */
@media only screen and (min-width: 1025px) {
tr:nth-child(2n+1) {
   clear: both; 
}

#block-views-exhibitions-block-18,
#block-views-users-block-2 {
  display: none;
}
#block-quicktabs-artworks-tab-mobile,
#block-quicktabs-artist-tab-mobile,
#block-views-artworks-block-9,
#block-views-artworks-block-10,
#block-views-artworks-block-11,
#block-views-artworks-block-12,
#block-views-artworks-block-13,
#block-views-exhibitions-block-19 {
display: none;
}



} 



/*
 * Custom
 */
@media only screen and (max-width: 1025px) {
tbody tr {
  float: left;
}

#block-views-exhibitions-block-9 {
  float: none;
}
#block-quicktabs-artwork-tabs,
#block-quicktabs-artist-tabs,
#block-views-users-block-1,
#block-views-artworks-block-2,
#block-views-artworks-block-1,
#block-views-artworks-block-4,
#block-views-artworks-block-3,
#block-views-artworks-block-8,
#block-views-exhibitions-block-15 {
display: none;
}

.node-exhibitions .field-name-field-exhib-installation-images .field-items,
.node-exhibitions .field-name-field-exhib-installation-images .field-label {
  display: none;
}

#block-views-exhibitions-block-18 .field-name-field-exhib-installation-images .field-items,
#block-views-exhibitions-block-18 .field-name-field-exhib-installation-images .field-label {
  display: block;
}
#block-views-exhibitions-block-18 .node-header {
  display: none;
}
.quicktabs-wrapper.quicktabs-style-nostyle {
    border-top: 0px solid #CCC;
}
.region-sidebar-second.sidebar .region-inner.clearfix {
    padding-left: 6px;
}
}
@media only screen and (min-width: 769px) and (max-width: 1010px) {

.FooterWrapper {
  width: 715px;
  text-align: center;
  display: block;
}

.FooterText {
  display: block;
}


.FooterSocial {
    float: left;
  }



.Copy {
  float:none;
}

.CopySeparator {
  display: none;
}
}

@media only screen and (min-width: 515px) and (max-width: 768px) {

.FooterWrapper {
  width: 475px;
  text-align: center;
  display: block;
}

.FooterText {
  display: block;
}

.Privacy {
padding-left: 119px;
} 

.FooterSocial {
      float: left;
  }


.CookiesSeparator {
display: none;
}

.mailto {
  clear: left;
}
.Copy {
  float:none;
}
.Copy, .Privacy, .Terms, .Cookies, .mailto, .MailingList {
   padding-top: 4px;
}

.CopySeparator {
  display: none;
}
}

@media only screen and (max-width: 514px) {

.FooterWrapper {
     width: 287px;
  text-align: center;
  display: block;
}

.FooterText {
  float: none;
  display:block;
}

.mailtoSeparator,
.TermsSeparator,
.CopySeparator,
.SocialSeparator,
.CookiesSeparator,
.PrivacySeparator
 {
display: none;
}


.Copy, .Privacy, .Terms, .Cookies, .mailto, .FooterSocial, .MailingList {
    float: none;
}
.Copy, .Privacy, .Terms, .Cookies, .mailto, .MailingList {
   padding: 4px 0;
}
}

@media only screen and (max-width: 869px) {
#logo {
  padding: 8px 0 43px 0;
}

#menu-bar {
  width: 160px !IMPORTANT;
  float: right !IMPORTANT;
}
#header {
  width: 320px !IMPORTANT;
  float: left !IMPORTANT;
}
#block-block-3 {
    float: right;
   // padding-top: 15px;
    margin-right: 0px;
}

#page-wrapper {
 background-position: 0 30px !IMPORTANT;
  }



}


@media only screen and (max-width: 894px) {

.HomepageMobile,
.HomepageCurrebtExhibitionMobile {
  display:block;
}
.HomepageImage,
.HomepageCurrebtExhibitionNoMobile {
  display:none;
}
.HomepageLeftDiv {
  width: 100%;
   padding-right: 0;
   padding-left: 0;
}

}


@media only screen and (max-width: 562px) {

#block-block-3 {
 display: none;
  }
}



@media only screen and (max-width: 1202px) {

.ExhibitionsCurrentImage {
  margin-top: -44px;
}


#menu-bar {
 margin: 15px auto 0 auto;
  width: 850px;
  float: none;
}
#header {
 margin: 0 auto;
  width: 320px;
  float: none;
}

.FuturePastExhibitionTitle {
   padding-top: 0px; 
   margin-bottom: 5px;
}
.view-id-exhibitions.view-display-id-page .views-field-field-exhibition-dates {
  padding: 0px;
}
.ExhibitionTitle {
  clear: both;
}

.CurrentExhibitionH2Mobile {
  display:block;
}
.CurrentExhibitionH2 {
  display:none;
}

.CurrentExhibitionsH3,
.PastExhibitionsH3 {
  clear: both;
  padding-left: 0px;
}

.view-exhibitions.view-display-id-page .views-row,
.ExhibitionHomeList {
  padding-right: 0px;
}

#block-views-exhibitions-block-9 .GalleryViewImage,
 #quicktabs-artist_tabs .GalleryViewImage,
#quicktabs-artwork_tabs .GalleryViewImage {
  padding-right: 17px;
}

.view-exhibitions.view-display-id-page .views-row {
padding-top: 43px;
}

#page-wrapper {
 background-position: 0 36px;
  }

.nav {
  margin: 13px 0px 10px 0;
}
}
@media only screen and (min-width: 1200px) {

.views-responsive-grid .views-row  {
	width: 20%;
  }
}

@media only screen and (min-width: 970px) and (max-width: 1199px) {

.views-responsive-grid .views-row  {
	width: 25%;
  }
}

@media only screen and (min-width: 768px) and (max-width: 969px) {

.views-responsive-grid .views-row  {
	width: 33%;
  }
}



@media only screen and (min-width: 480px) and (max-width: 767px) {

.region-sidebar-first.sidebar .region-inner,
.block-inner {
   margin-right: 0; 
  padding-right: 0;
}
.views-responsive-grid .views-row  {
	width: 33%;
  }

.region-sidebar-first {
  padding-left: 0;
}

#logo {
  padding: 8px 0 43px 0;
}

.view-header {
  padding-top: 20px;
}


tbody tr {
  float: left;
}
tr:nth-child(2n+1) {
   clear: both; 
}

  .region-sidebar-second.sidebar .region-inner.clearfix {
  padding-left: 0px;
}
.page-artists .view-display-id-page_2 h3 {
  padding-top: 30px;
}

}
@media only screen and (min-width: 601px) and (max-width: 767px) {
#block-views-artists-block-4 .view-content,
#block-views-artists-block-3 .view-content {
  column-count: 4;
  -moz-column-count: 4;
  -webkit-column-count: 4;
}
}

@media only screen and (min-width: 480px) and (max-width: 600px) {
#block-views-artists-block-4 .view-content,
#block-views-artists-block-3 .view-content {
  column-count: 3;
  -moz-column-count: 3;
  -webkit-column-count: 3;
}
}

   @media only screen and (max-width: 480px){

.region-sidebar-first {
  padding-left: 0;
}
.region-sidebar-first.sidebar .region-inner,
.block-inner {
   margin-right: 0; 
  padding-right: 0;
}

.region-sidebar-second.sidebar .region-inner.clearfix {
  padding-left: 0px;
}

#logo {
  padding: 8px 0 43px 0;
}

.views-responsive-grid .views-row  {
	width:50%;
  }
.page-artists .view-display-id-page_2 h3 {
  padding-top: 30px;
}
#block-views-artists-block-4 .view-content,
#block-views-artists-block-3 .view-content {
  column-count: 2;
  -moz-column-count: 2;
  -webkit-column-count: 2;
}
}
