body {
  margin: 0;
}

.expanded-content {
	padding:30px;
	color:#fff;
}

.expanded-content-link:empty {
	display: none;
}

/* apply a natural box layout model to all elements, but allowing components to change */

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

.image-grid {
  width: 100%;
 
 
  overflow: hidden;
  
}

.image__cell {
  float: left;
  position: relative;
 
}





.image--basic {
	outline: 20px solid white;
}





.image__cell .basic__img {
  display: block;
  max-width: 100%;
  height: auto;
  
}





.image__cell.is-collapsed .image--basic {
  cursor: pointer;
}

.image__cell.is-expanded .image--expand {
  max-height: 1000px;
  margin-bottom: 12px;
}

.image--expand {
  position: relative;
  left: 0px;
  /*padding: 0 25px;*/
  box-sizing: content-box;
  overflow: hidden;
  background: #004e7f;
  max-height: 0;
/* transition: max-height .3s ease-in-out,margin-bottom .5s .2s;*/
}

.image__cell.is-collapsed .arrow--up {
  height: 0px;
  width: 100%;
}

.image__cell.is-expanded .arrow--up {
  border-bottom: 50px solid #004e7f;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  height: 10px;
  width: 0;
  margin: 2px auto 0;
}

.expand__close {
  position: absolute;
  top: 10px;
  right: 50px;
  color: #fff;
  font-size: 50px;
  line-height: 50px;
  text-decoration: none;
}

.expand__close:before {
  content: '×';
}

.expand__close:hover {
  color: #41a62a;
  text-decoration:none;
}

.image--large {
  max-width: 100%;
  height: auto;
  display: block;
  padding: 40px;
  margin: 0 auto;
  box-sizing: border-box;
}



.collapsed-heading-container {
    
    left: 0px;
    position: absolute;
    bottom: 0px;
    width: 100%;
	

}



.collapsed-heading {
	background-color: rgba(0, 78, 127, 0.9);
padding: 15px;
min-height: 90px;
}

.collapsed-heading h4 {
	margin-bottom: 0px;
    margin-top: 0px;
	
}

.expandables-link {
	position:relative;
	display:block;
	margin-bottom: 20px;
}

.expandables-link h4 {
	color:#fff;
	font-weight:400;
	letter-spacing:2px;
	text-transform:uppercase;
}

.expandables-link:hover h4 {
	color:#3ca932;
	font-weight:400;
}

.expanded-content-link {
	margin-top:20px;
	text-align:right;
}


@media only screen and (max-width: 730px) {
	
	.expand__close {
    right:15px;
    top: 5px;
	}

  .image__cell {
      width: 100%;
  }

  .image__cell:nth-of-type(2n+2) .image--expand {
      margin-left: 0%;
  }

  .image__cell:nth-of-type(2n+3) {
      clear:left;
  }

  .image--expand {
      width: 100%;
  }
  
  
  


}

@media only screen and (min-width: 731px) {
  .image__cell {
      width: 33%;
  }
  
  .image__cell:nth-of-type(3n+1) .image--expand {
    margin-left: 0%;
  }

  .image__cell:nth-of-type(3n+2) .image--expand {
    margin-left: -100%;
  }

  .image__cell:nth-of-type(3n+3) .image--expand {
    margin-left: -200%;
  }
  
 


  .image__cell:nth-of-type(3n+4) {
    clear: left;
  }
  
  .image--expand {
    width: 300%;
  }
  
}