/*
 Flexbox grid @mixin
 EXAMPLE
 .flexbox {
 @include boxGrid(5, 4%);
 }
 */
/* hide no more entries button */
.media-boxes-no-more-entries {
  display: none;
}
/* make your own style of the filter */
.filters-container {
  margin-bottom: 20px;
}
.custom-filter {
  padding: 0;
  text-align: right;
}
.custom-filter li {
  list-style: none;
  display: inline-block;
  margin-left: 18px;
  font-size: 12px;
}
.custom-filter li a {
  color: #999;
  text-decoration: none;
}
.custom-filter li a:hover {
  color: #333;
}
.custom-filter li a.selected {
  color: #d1474c !important;
}
/* Set the style of the thumbnail overlay items */
.media-box-title {
  color: #fff;
  font-size: 11px;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 28px;
}
.media-box-date {
  color: #f2f2f2;
  font-size: 10px;
}
/* Remove box shadow and border-radius from the media boxes */
.media-box-container {
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  box-shadow: none;
}
/* thumbnail overlay background */
.thumbnail-overlay {
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-transition: background-color 0.2s ease-out;
  -moz-transition: background-color 0.2s ease-out;
  -o-transition: background-color 0.2s ease-out;
  transition: background-color 0.2s ease-out;
}
/* hover effect on the thumbnail-overlay */
.thumbnail-overlay:hover {
  background-color: rgba(0, 0, 0, 0.2) !important;
}
/* hover effect on the image */
.media-box-image img {
  -webkit-transition: transform 0.6s ease-in-out;
  -moz-transition: transform 0.6s ease-in-out;
  -o-transition: transform 0.6s ease-in-out;
  -ms-transition: transform 0.6s ease-in-out;
  transition: transform 0.6s ease-in-out;
  -webkit-transform-origin: center center;
  -moz-transform-origin: center center;
  -o-transform-origin: center center;
  -ms-transform-origin: center center;
  transform-origin: center center;
}
.media-box-image:hover img {
  -webkit-transform: scale(1.15);
  -moz-transform: scale(1.15);
  -o-transform: scale(1.15);
  -ms-transform: scale(1.15);
  transform: scale(1.15);
}
/* Change alignment in grid 2 */
#grid2 .thumbnail-overlay > div.aligment > div.aligment {
  vertical-align: bottom;
  padding-bottom: 40px;
}
.thumbnail-overlay .media-box-title {
  font-size: 16px;
}
.thumbnail-overlay .media-box-date {
  font-style: italic;
  font-size: 12px;
}
.broken-image-here {
  background-color: transparent;
}
.gallery-items {
  background: #000;
}
.gallery-items .gallery-item {
  position: relative;
}
.gallery-items .gallery-item .thumb-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.6s ease;
  -khtml-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -ms-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  transition: all 0.6s ease;
}
.gallery-items .gallery-item .thumb-info h3 {
  color: #d5a522;
  font-size: 28px !important;
  line-height: 1.2 !important;
  margin: 0;
  -webkit-transition: all 0.6s ease;
  -khtml-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -ms-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  transition: all 0.6s ease;
}
.gallery-items .gallery-item .thumb-info p {
  color: #fff;
  padding: 0;
  font-size: 18px;
  -webkit-transition: all 0.6s ease;
  -khtml-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -ms-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  transition: all 0.6s ease;
}
.gallery-items .gallery-item iframe {
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.gallery-items .gallery-item .media-box-thumbnail-container {
  position: relative;
}
.gallery-items .gallery-item .media-box-thumbnail-container:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.6s ease;
  -khtml-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -ms-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  transition: all 0.6s ease;
}
.gallery-items .gallery-item:hover .media-box-thumbnail-container:before {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  background: rgba(0, 0, 0, 0.4);
}
.gallery-items .gallery-item:hover .thumb-info {
  opacity: 1;
  visibility: visible;
}
h1 {
  font-size: 80px !important;
  font-family: "Source Sans Pro Custom" !important;
  line-height: 1.15 !important;
}
@media (max-width: 1024px) {
  h1 {
    font-size: 60px !important;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 40px !important;
  }
}
@media (max-width: 576px) {
  h1 {
    font-size: 25px !important;
  }
}
h2 {
  font-size: 60px !important;
  font-family: "Source Sans Pro Custom" !important;
}
h3 {
  font-size: 44px !important;
  font-family: "Source Sans Pro Custom" !important;
}
h4 {
  font-size: 34px !important;
  font-family: "Source Sans Pro Custom" !important;
}
h5 {
  font-size: 26px !important;
  font-family: "Source Sans Pro Custom" !important;
}
h6 {
  font-size: 20px !important;
  font-family: "Source Sans Pro Custom" !important;
}
.filters-container {
  display: block;
}
.filters-container #filter > li {
  position: relative;
}
.filters-container #filter > li > a {
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: "Source Sans Variable Custom", sans-serif;
}
.filters-container #filter > li > a.selected {
  color: #a5a5a5 !important;
  font-family: "Source Sans Variable Custom", sans-serif !important;
}
.filters-container #filter > li > a:hover {
  color: #d5a522;
}
.filters-container #filter > li > ul {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 0;
  width: 150px;
  background-color: #f2f2f2;
  text-align: left;
  padding: 0;
}
.filters-container #filter > li > ul > li {
  padding: 0 !important;
  margin: 0;
  width: 100%;
}
.filters-container #filter > li > ul > li > a {
  display: block;
  color: #525252;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: "Source Sans Variable Custom", sans-serif;
  padding: 5px 10px;
  display: block;
}
.filters-container #filter > li > ul > li > a:hover {
  color: #d5a522;
}
.filters-container #filter > li.child > a {
  padding-right: 20px;
}
.filters-container #filter > li.child > a:before {
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  top: 9px;
  right: 0;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  -webkit-transition: all 0.3s ease;
  -khtml-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.filters-container #filter > li.child:hover > a {
  color: #d5a522;
}
.filters-container #filter > li.child:hover > a:before {
  border-left: 2px solid #d5a522;
  border-bottom: 2px solid #d5a522;
}
.filters-container #filter > li.child:hover > ul {
  visibility: visible;
  opacity: 1;
}
body.home .filters-container {
  display: block;
}
#menu-main-nav li.filter {
  display: none;
}
@media (max-width: 992px) {
  #menu-main-nav li.filter {
    display: block;
  }
}
.white-popup {
  position: relative;
  background: #fff;
  padding: 20px;
  width: 80vw;
  height: 80vh;
  max-width: 100%;
  margin: 20px auto;
}
.htmlContentIframe #master-container {
  max-width: 100% !important;
  height: 100% !important;
}
.htmlContentIframe .fancyboxMB-close-small {
  display: none !important;
}
