﻿/* imports */

/* Images  */
img, object, embed, video {
	
  /* Responsive images (ensure images don't scale beyond their parents) */

  max-width: 100%;
  /* Part 1: Set a maxium relative to the parent */

  width: auto\9;
  /* IE7-8 need help adjusting responsive images */

  height: auto;
  /* Part 2: Scale the height according to the width, otherwise you get stretching */

  vertical-align: middle;
  border: 0;
  -ms-interpolation-mode: bicubic;
}

/* resets */
*,
*:before,
*:after {
  box-sizing: border-box;
}
.clearfix:after { /* JA had this removed from css */
  content: "";
  display: table;
  clear: both;
}

/*  content within db responsive */

div{ /* Makes the divs visible */
	/*background-color: #E5E3E3;*/
	/*border: .1em solid #EF0B0B;*/
}

.wrapper {
	margin: 0 auto;
	padding: 0px;
	max-width: 95%;
}

/* grid */
.row {
	margin: 0 -10px;
	margin-bottom: 20px; /* JA had this commented out from css*/

}
.row:last-child {
  margin-bottom: 0;
}
[class*="col-"] {
   padding: 0 10px; /*JA added the 0 in css  */
}

  .largepedtable {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.medpedtable {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.smallpedtable {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

/* Responsive Photo Gallery */

.photogalleryContainer {
	overflow: hidden;
	text-align: center;
}

.photogalleryImagesContainer {
	display: inline-block;
	margin: 0 0 15px 14px;
	padding: 4px;
	text-align: center;
	border-radius: 2px;
	vertical-align: top;
}

.photogalleryimg {
	max-width: 250px;
	border-style: solid;
	border:2px solid #000000;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(200, 153, 87, 0.75);
    -moz-box-shadow:    0px 0px 5px 0px rgba(200, 153, 87, 0.75);
    box-shadow:         0px 0px 5px 0px rgba(200, 153, 87, 0.75);
	margin-bottom:5px;

}


@media all and ( min-width: 600px ) {
  
  .col-2-3 {
    float: left;
    width: 66.66%;
  }
  .col-1-2 {
    float: left;
    width: 50%;
  }
  .col-1-3 {
    float: left;
    width: 31.33%;
    margin: 1%;
  }
  .col-1-4 {
    float: left;
    width: 25%;
    margin-top:20px;
  }
  

  
  .col-3-4 {
    float: left;
    width: 75%;
  }

  .col-1-8 {
    float: left;
    width: 25%;
  }
  .col-1-8:nth-child(4n+1) {
    clear: both;
  }  
  .detailsbody{
	padding: 1em;	
	}

}

@media all and ( min-width: 960px ) {
 
  .col-1-8 {
    width: 12.5%;
  }
  .col-1-8:nth-child(4n+1) {
    clear: none;
  }
 .largepedtable {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}
.medpedtable {
	width: 60%;
	margin-left: auto;
	margin-right: auto;
}
.smallpedtable {
	width: 40%;
	margin-left: auto;
	margin-right: auto;
}
}
