/*Layouts css goes here*/



.landing, .featured-row {
  background:#226386;
  overflow: hidden;
  position: relative;
}

.st-george-bg {

}
 
.featured-row-image {
 position: absolute;
  width: 100%;
  height: 100%;
  object-fit:cover;
  left: 0;
} 
/* some custom styling for the gift-cards page */
.flex-formgroup .forminator-field {
	display: flex;
  flex-wrap: wrap;
}
.flex-formgroup .forminator-field .forminator-label, .flex-formgroup .forminator-description {
 width: 100%; 
}
.flex-formgroup .forminator-radio {
  border-radius: 10px;
   padding: 15px;
  margin-right: 10px !important;
  border: 1px solid #ccc;
  
}
.flex-formgroup .forminator-radio:hover {
 background: #0082c5;
  color: white;
}

.flex-formgroup .forminator-radio input {

}


/* This is to allow the featured-row background image to span the entire width and not be constrained to a container */

/*
.featured-row div[class^="col-"], .featured-row div[class*=" col-"],.featured-row div[class^="row"], .featured-row div[class*=" row"], .featured-row div[class^="container"], .featured-row div[class*=" container"] {
 position: initial; 
}
*/

.accordian .accordian-content {
  max-height: 1px;
  transition: .2s all;
  overflow: hidden;
}
.accordian {
	padding: 0; 
}
.accordian h3 {
 margin-top: 0; 
  margin-bottom: 0;
	position: relative;
  align-items: center;
}
.accordian h3:after {
 content: "▶";
  position: absolute;
  padding-left: 10px;
  transition: .2s all;
  font-size: 12px;
  top: 3px;
  opacity: .5;
}
.accordian>li:focus h3:after {
 transform: rotate(90deg); 
}
.accordian>li {
 display: block;
  cursor: pointer;
  border: 2px solid #eee;
  list-style: none;
  padding: 20px;
  position: relative;
}
.accordian>li:hover {
 border-color: #0082c5; 
}
.accordian li:focus .accordian-content {
	max-height: 500px; 
}

.emphasized-row {
	display: flex;
	align-items: center;
  border-bottom: 1px solid #eee;
  background: #f1f1f1; padding: 15px; margin-bottom: 30px;
  
}
.grid-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 0px;
  list-style: none;
  padding-left: 0;
  margin-left: 0 !important;
}
@media screen and (max-width: 768px) {
 .grid-cards {
   grid-template-columns: repeat(1, 1fr);
  }
}
.grid-cards li {
   border: 1px solid #eee;
	transition: .2s all;
}
.grid-cards br {
 display: none; 
}
.grid-cards li:hover {
	box-shadow: 0 0 50px -20px rgba(0, 74, 113, 0.5); 
}
.grid-cards li a {
 display: block;
  width: 100%;
  height: 100%;
	position: relative;
}
.price-as-low-as {
  background: #1681c4;
  border-radius: 80px;
  width: 80px;
  height: 80px;
  color: white;
  position: absolute;
  right: 2%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 2.2rem;
  font-weight: bold;
  top: 2%;
  border: 2px solid white;
  transform: rotate(8deg);
  line-height: 1.7rem;
}
.price-as-low-as small {
 font-size: 10px;
  font-weight: normal;
  opacity: .7;
}
.grid-cards li img {
 height: 200px;
  object-fit: cover;
  width: 100%;
}
.grid-cards li h4 {
   padding: 10px 20px; 
}
figcaption {
 margin-top: 0;
  background: #eee;
  font-size: 80%;
  padding: 15px;
}
.button {
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 1.45em;
  padding: 1em 2em;
  background: #0082c5;
  color: #ffffff !important;
  border: 1px solid #0082c5;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-width: 1px 0;
  -webkit-border-radius: 0.25em;
  -moz-border-radius: 0.25em;
  border-radius: 0.25em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.05); 
  display: inline-block;
}


/* 30 Year Anniversary Link */
.site-branding {
  max-width: 250px;
  position: relative;
}
img {
  max-width: 100%;
}

.anniversary-link {
  background: #333;
  padding: 10px 20px;
  color: white;
  border-radius: 10px;
  position: absolute;
  pointer-events:none;
  opacity: 0;
  transition: .15s all;
  transform: translateY(-8px) translateX(-50%) scale(.9);
  left: 50%;
  display: block;
  transform-origin: top center;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 3px 15px rgba(0,0,0,.1);
}

.site-branding:hover .anniversary-link {
  opacity: 1;
  pointer-events:all;
  transform: translateY(0) translateX(-50%) scale(1);
}
.anniversary-link:hover {
  background-color: #047fc4;
  color: white;
  text-decoration: none;
}
.anniversary-link:hover:after {
  border-color: transparent transparent #047fc4 transparent;
}
.anniversary-link:after{
  transition: .15s all;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 10px 10px 10px;
  border-color: transparent transparent #333333 transparent;
  content:"";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}

