@charset "utf-8";
/* CSS Tiles for use on Index */
/* no margins at mid-size mobile */

.tiles_container{
  float: left;
  min-height: 400px;
  height: auto;
  width: 96.875%;
  background: #fff;
  text-align: center;
  font-size: 0.75em;
  padding: 0 1.5625% 15px 1.5625%;
}

.tiles {
  float: left;
  height: 100%;
  width: 100%;
  position: relative;
}

.tiles li {
  width: 19.130434782608695652173913043478%;
  height: 98.214285714285714285714285714286%;
  float: left;
  list-style-type: none;
  background: #E8F4Fb;
  color: black;
  margin: 0 1.086956521739130434782608695652% 1.086956521739130434782608695652% 0;
}

.tiles ul li:last-child{
	margin:0 0 1.086956521739130434782608695652% 0;
}

.tiles li div:hover {
  background: #bbdff4;
}

.tiles a {
  text-decoration: none;
  color: #444;
  font-size: 1.5em;
  font-weight: bold;
}

.tile_item{
	height: 370px;
	width: auto;
	padding: 10px;
}

.tile_text{
  height: 40px;
  margin: 0;
}

.tile_image_container{
  width: 100%;
  height: 320px;
  border: none;
  padding: 0;
  margin: 10px 0 0 0;
  float: left;
  overflow: hidden;
}

.tile_image_container img {
  height: 400px;
  border: 0px none;
  padding: 0;
}

#tile_image_1{ background:url(/images/banners/jan_san_bkgd.jpg) no-repeat; }

#tile_image_2{ background:url(/images/banners/paint_bkgd.jpg) no-repeat; }

#tile_image_3{ background:url(/images/banners/christmas_craft_bkgd.jpg) no-repeat; }

#tile_image_4{ background:url(/images/banners/insecticides_bkgd.jpg) no-repeat; }

#tile_image_5{ background:url(/images/banners/value_bkgd.jpg) no-repeat; }			


/* styles for viewports with a max-width up to 768px
================================================================== */
@media screen and (max-width: 768px) {

  .tiles_container{
    width: 100%;
    min-height: 300px;
    padding: 0 0 15px 0;
  }
  .tiles li {
    width: 20%;
    min-width: 93px;
    height: 98.214285714285714285714285714286%;
    margin: 0;
  }
  .tiles ul li:last-child{
    margin: 0;
  }
  .tile_item{
    height: 300px;
    padding: 5px;
  }
  .tile_text{
    padding-top: 5px;
  }
  .tile_image_container{
    width: 100%;
    height: 240px;
  }
  .tile_image_container img{
    height: 240px;   
  }

}
/* =============================================================== */

/* styles for viewports with a max-width up to 568px (480px)
================================================================== */
@media screen and (max-width: 568px) {

  .tiles_container{
    width: 100%;
    min-height: 0;
    padding: 0;
  }

  .tiles {
    float: left;
    height: 100%; 
    width: 100%; 
    position: relative;
  }

  .tiles li {
    width: 96%;
    min-width: 0;
    height: 40px;
    margin: 10px 2% 0 2%;
  }

  .tiles ul li:last-child{
    margin: 10px 1% 10px 1%;
  }
  
  .tile_item{
    height: 100%;
    padding: 0;
  }

  .tile_text{
    padding-top: 10px;
  }

  .tile_image_container{
    display: none;
  }

  .tile_image_container img {
    display: none;
  }

}
/* =============================================================== */

/* styles for viewports with a max-width up to 320px
================================================================== */
@media screen and (max-width: 320px) {

}
/* =============================================================== */