﻿/* 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 {
	display:block;
	margin: 0 auto;
	padding: 0px;
	width:100%;
	/*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;
	word-wrap: break-word;
	max-width:300px;
}

.photogalleryimg {
	max-width: 250px;
	width:100%;
	max-height:250px;
	overflow:hidden;
	object-fit: cover;
	top: 0;
    left: 0;
    border:1px solid #ccc;
   padding:5px;
   margin:5px;
   margin-bottom:20px;
   background:#f2f2f2;
-webkit-box-shadow: 0 28px 16px -26px rgba(0, 0, 0);
-moz-box-shadow: 0 28px 16px -26px rgba(0, 0, 0);
box-shadow: 0 28px 16px -26px rgba(0, 0, 0);
	margin-bottom:5px;
}


@media all and ( min-width: 900px ) {
  
  .col-1 {
  	width:100%;
	margin:0.5%;
  }
  
  .col-2-3 {
    float: left;
    width: 65.66%;
    margin:0.5%;
  }
  .col-1-2 {
    float: left;
    width: 48%;
    margin:0.5%;
  }
  .col-1-3 {
    float: left;
    width: 32.33%;
    margin:0.5%;
  }
  .col-1-4 {
    float: left;
    width: 24%;
	margin:0.5%;
  }
  

  
  .col-3-4 {
    float: left;
    width: 74%;
	margin:0.5%;     
  }

  .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;
}
}
