/**
 * @file
 * Styling for Mercury Content Type
 */


body.page-node-1 .region.region-main-top.block-count2.clearfix {
  display:flex;
  flex-direction: row;
}

#block-views-front-page-mercury-slider-block {
  width: 65%;
}

#block-views-bfafb21530f70b86a0f271f3c7f715c8 {
  width: 35%;
}


/*Front Page Slider Styling*/
.flex-caption {

  position: relative;
  margin-top: -13%;
  font-weight: 300;
  line-height: 1.2;
  background: none repeat scroll 0 0 rgba(0,0,0,0.6);
  padding: 1%;
  width: 100%;
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  font-family: "Roboto Slab", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}
.flex-caption a{ 
   font-size: 1.8em;
   color: #EEB211 !important;
}

.flexslider .slides img {
  height: 400px;
  width: auto;

}

.flexslider .flex-direction-nav a, .flexslider .flex-direction-nav a {
    display: none;
    height: 50px;
    width: 50px;

}


/* max-width 640px, mobile-only styles, use when QAing mobile issues */

@media only screen and (max-width: 25em) {
  .flexslider .slides img {
    max-height: 250px;
    min-height: 100px;
    width: auto;

  }
  .flex-viewport {
    height: 260px;
  }
  .flex-caption a{
    font-size: 1rem;
    margin-top: 20%;
  }
  body.page-node-1 .region.region-main-top.block-count2.clearfix{ 
    flex-wrap: wrap; 
  }
  #block-views-front-page-mercury-slider-block {
    width: 100%!important;
  }

  #block-views-bfafb21530f70b86a0f271f3c7f715c8 {
    width: 100% !important;
  }

}
@media only screen and (min-width: 25.000em) and (max-width: 40.063em) {
  .flexslider .slides img {
    max-height: 300px;
    min-height: 100px;
    width: auto;

  }
  .flex-viewport {
    height: 300px;
  }
  .flex-caption a{ 
    font-size: 1.1rem;
    margin-top: -20%;
  }
  body.page-node-1 .region.region-main-top.block-count2.clearfix{ 
    flex-wrap: wrap; 
  }
  #block-views-front-page-mercury-slider-block {
    width: 100%;
  }

  #block-views-bfafb21530f70b86a0f271f3c7f715c8 {
    width: 100%!important;
  }
} 


@media only screen and (min-width: 40.063em) and (max-width: 54.438em) { /* min-width 871 and max-width*/
  .flexslider .slides img {
    height: 350px;
    width: auto;
  }

  .flex-viewport {
    height: 350px;
  }

  .flex-caption a{ 
    font-size: 1.2rem;
  }
  
} 
@media only screen and (min-width: 54.438em) and (max-width: 60.938em) { 
  .flex-caption a{ 
    font-size: 1.5rem;
  }

}