body {
  background: #d7dae3 !important;
}

.gallery-grid-container {
  display: grid;
  grid-template-columns: 33% 33% 33%;
}

h3 {
  text-align: center;
  padding: 10px;
  color: white;
  background-color: #162B54;
  margin: 30px 0;
  font-weight: bold;
  font-size: 24px;
}

.subtitle {
  color: #162B54;
}

.title-content {
  padding-left: 20px;
  border-left: 1px solid grey;
}




.videos-gallery .clickable-video {
  margin: 10px;
  position: relative;
  cursor: pointer;
  background-size: cover;
  background-position: center center;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-icon {
  text-align: right;
  margin-bottom: 30px;
  margin-right: 10px;
}

.share-icon .fa {
  cursor: pointer;
  border-radius: 2px;
  padding: 4px;
  color: #d7dae3;
  background-color: #aaaaaa;
  transition: all 0.2s ease-out;
}

.share-icon .fa:hover {
  background-color: #888888;
}

.videos-gallery .clickable-video:before {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  content: '\25B6';
  color: white;
  font-size: 20px;
}

.videos-gallery .play-overlay {
  height: 40px;
  width: 60px;
  background-color: rgba(101, 195, 255, 0.76);
  z-index: 2;
  transition: all 0.1s;
  mix-blend-mode: normal;
}

.videos-gallery .clickable-video:hover .play-overlay {
  height: 100%;
  width: 100%;
  background-color: rgba(101, 195, 255, 0.5);
  mix-blend-mode: multiply;
}

.videos-gallery li h4 {
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#video-container {
  position: fixed;
  top: 0;
  left:0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

#video-inner {
  width: 80%;
  height: 80%;
  background-color: black;
  border-radius: 8px;
}

#video-inner video {
  width: 100%;
  height: 100%;
}

#video-container.copy-mode #video-inner {
  height: auto;
  width: auto;
  background: white;
  padding: 20px;
}

#video-container-close {
  position: absolute;
  top: calc(10% - 40px);
  right: calc(10% - 40px);
  border-radius: 50%;
  background-color: white;
  opacity: 0.5;
  cursor: pointer;
  text-align: center;
  line-height: 40px;
  height: 40px;
  width: 40px;
  font-family: Arial, sans-serif;
  font-weight: bold;
  transition: all 0.2s;
}

#video-container-close:hover {
  opacity: 1;
}

#video-container.copy-mode #video-container-close {
  top: calc(50% - 90px);
  right: calc(50% - 200px);
}

.kits-container li {
  text-align: center;
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  cursor: pointer;
  transition:all 0.2s ease-out;
}

.kit-container-inner {
  max-width: 250px;
  text-align: center;
  margin: 0 auto;
}

.kit-container-inner h4 {
  font-weight: bold;
  font-size: 16px;
  padding: 0 20%;
  text-align: center;
}

.kit-container-inner .circle-thumbnail {
  margin-bottom: 10px;
}

.kits-container li.selected .overlay-panel, .kits-container .kit-container-inner:hover .overlay-panel {
  opacity: 1;
  bottom: 0;
}

.kits-container li {
  position: relative;
}

.kits-container li.selected .overlay-panel:before {
  content: '';
  display: inline-block;
  margin-bottom: 16px;
  background-image: url('../img/check_flag.png');
  height: 60px;
  width: 60px;
  background-size: contain;
}

.kits-container li.selected .remove-from-cart {
  display: block;
}

.kits-container li.selected .add-to-cart, .kits-container li.selected .options-link {
  display: none;
}

.kits-container li .circle-thumbnail {
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 0 black;
  /*border: 2px solid grey;*/
  width: 100%;
  padding-top: 100%;
  height: 0;
  transition:all 0.2s ease-out;
}

.kits-container li:hover .circle-thumbnail {
  /*box-shadow: 0 4px 12px 0 rgba(0,0,0,0.35);*/
}

.kits-container li.banner-oats .circle-thumbnail { border-color: #172b53; }
.kits-container li.banner-rack .circle-thumbnail {border-color: #713326; }
.kits-container li.banner-dispenser .circle-thumbnail {border-color: #2095d2; }
.kits-container li.banner-ready .circle-thumbnail {border-color: #64b0ad; }
.kits-container li.banner-waffles .circle-thumbnail {border-color: #ee1d23; }
.kits-container li.banner-grains .circle-thumbnail {border-color: #955a32; }
.kits-container li.banner-grits .circle-thumbnail {border-color: #ee1d23; }
.kits-container li.banner-servery .circle-thumbnail {border-color: #ee1d23; }

#confirm-button-container {
  margin: 20px auto;
  text-align: center;
}

#confirm-button-container button {
  display: inline-block;
  border: none;
  border-radius: 36px;
  width: auto;
  font-size: 36px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 8px 16px;
  color: grey;
  cursor: pointer;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#e1ffff+0,e1ffff+7,e1ffff+12,fdffff+12,e6f8fd+30,c8eefb+54,bee4f8+75,b1d8f5+100;Blue+Pipe+%232 */
  background: #e1ffff; /* Old browsers */
  background: -moz-linear-gradient(top,  #e1ffff 0%, #e1ffff 7%, #e1ffff 12%, #fdffff 12%, #e6f8fd 30%, #c8eefb 54%, #bee4f8 75%, #b1d8f5 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  #e1ffff 0%,#e1ffff 7%,#e1ffff 12%,#fdffff 12%,#e6f8fd 30%,#c8eefb 54%,#bee4f8 75%,#b1d8f5 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  #e1ffff 0%,#e1ffff 7%,#e1ffff 12%,#fdffff 12%,#e6f8fd 30%,#c8eefb 54%,#bee4f8 75%,#b1d8f5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e1ffff', endColorstr='#b1d8f5',GradientType=0 ); /* IE6-9 */
}

#confirm-button-container button:hover {
  background-color: #00c100;
}

#confirm-button-container button[disabled] {
  box-shadow: none;
  background: #c8c8c8 !important;
  color: #808080 !important;
  text-shadow: none !important;
  cursor: not-allowed;
}


.overlay-panel {
  padding-top: 40px;
  opacity: 0;
  box-sizing: border-box;
  width: 100%;
  position: absolute;
  height: 100%;
  left:0;
  top: 0;
  background: rgba(0,0,0,0.5);
  color: white;
  text-align: center;
  z-index: 10;
  transition: all 0.2s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.overlay-panel a, .overlay-panel span {
  background: transparent;
  font-family: Arial, sans-serif;
  display: block;
  margin: 0 auto 6px;
  border-radius: 4px;
  color: white;
  width: 60%;
  line-height:1.5em;
  transition: background-color 0.2s ease-out;
  text-decoration: none !important;
}

.overlay-panel a:hover, .overlay-panel span:hover {
  color: #333;
  background-color: white;
}

.overlay-panel .remove-from-cart {
  display: none;
}

/* MEDIUM */
@media only screen and (max-width: 800px) {
  .large-only-spacer {
    display: none;
  }

  #confirm-button-container {
    position: fixed;
    bottom: 0;
    width: 100%;
    margin: 0;
    z-index: 10;
  }

  #confirm-button-container button {
    margin: 0;
    width: 90%;
    position: relative;
    top: 0;
    transition: top 0.3s ease-out;
  }

  #confirm-button-container button[disabled] {
    top: 6rem;
  }

  .gallery-grid-container {
    grid-template-columns: 50% 50%;
  }
}

/* SMALL */
@media only screen and (max-width: 600px) {
  .gallery-grid-container {
    display: block;
  }
}

#share-video-popup-container input {
  font-size: 18px;
  font-weight: bold;
  padding: 8px 12px;
  border: 1px solid rgba(0,0,0,0.3);
  border-bottom-width: 2px;
  border-radius: 4px;
  display: block;
  margin-top: 12px;
  width: 320px
}