
/**
 * Button component
 */
 
 .modal-footer {
	 text-align: justify !important;
 }
 
 .modal-content {
	 border-radius: 0px !important;
 }
 
.js-button {
  position: relative;
  top: 0;
  margin-top: 50%;
  opacity: 0;
  font-size: 1rem;
  color: #345799;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  -webkit-transition: all .25s ease-in-out;
          transition: all .25s ease-in-out;
}
.js-button:focus, .js-button:hover {
  color: #fff;
  background-color: #345799;
  border-color: #fff;
}

/**
 * Grid styles
 */
.item__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 17, 17, 0.45);
  -webkit-transition: background-color .55s ease-in-out;
          transition: background-color .55s ease-in-out;
}
.item__overlay:focus, .item__overlay:hover {
  background-color: rgba(17, 17, 17, 0.05);
}
.item__overlay:focus > button, .item__overlay:hover > button {
  opacity: 1;
}

/**
 * Grid styles
 */
.item__overlay2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

}
.item__overlay2:focus, .item__overlay:hover {

}
.item__overlay2:focus > button, .item__overlay:hover > button {

}

.grid__sizer,
.grid__item {
  position: relative;
  width: 24%;
  min-width: 16.25rem;
}

.grid__item {
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.grid__item--high,
.grid__item--high img {
  /*height: 300px;*/
  height: auto;
}

.js-modal-image {
width: 100%;
  max-width: 100%;
  height: auto;
}

.testimg {  width: 100%;
  max-width: 100%;
  height: auto;
}

/**
 * Link styles
 */
a,
.fa {
  color: #bbb;
  -webkit-transition: color .25s ease-in-out;
          transition: color .25s ease-in-out;
}
a:focus, a:hover,
.fa:focus,
.fa:hover {
  text-decoration: none;
  color: #666;
}

.active .fa {
  color: #f62459;
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

