* { box-sizing: border-box; }

/* ---- isotope ---- */

.grid {
  background: #F4F5F7;
  display: flex;
  flex-wrap: wrap;
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

.grid{
    max-width: 1200px;
    margin: 0 auto;
}
.grid-item img{
  width:100%;
}
.grid-sizer,
.grid-item { 
  padding-left: 0px;
  padding-right: 0px;
  position:relative;
  margin-bottom:0px;
  width: 100%;
}
  .card-item{
    padding:10px;
    background-color:rgba(255,255,255,0);
    transition: all 0.3s ease-in-out;
    border-radius:4px;
    position:relative;
    z-index:1;
}
   
   
    
    &:after{
      content: "";
      border-radius: 4px;
      position: absolute;
      z-index: -1;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      @include drop-shadow;
      -webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
      transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
      
    }
/*     &:hover{
      cursor:pointer;
      z-index:2;
      background-color:rgba(255,255,255,1);
      transform: scale(1.01,1.01);
      &:after{
        opacity:1;
      }
    } */
/*   } */
  
 
    &:after{
      content:'';
      width:100%;
      height:20%;
      @include gradient-white;
      position:absolute;
      bottom:0;
      z-index:0;
      border-radius:4px;
    }
/*   }
} */
.grid-item--width2 { 
    width: 100%; 
  }

@media (min-width: 576px){
      .grid-sizer,
.grid-item { 
  width: 50%;
}
.grid-item--width2 { 
    width: 100%; 
  }
}

@media (min-width: 772px){
    .grid-sizer,
.grid-item { 
  width: 50%;
}
.grid-item--width2 { 
    width: 100%; 
  }
}

@media (min-width: 992px){
  .grid-sizer,
.grid-item { 
  width: 33.333333%;
}
.grid-item--width2 { 
    width: 66.666667%; 
  }
  
}


/* End Isotope  */
 




/* Small reset */
*,
::before,
::after {
  box-sizing: border-box;
}

body {
  color: #34495e;
  padding-bottom: 100px;
}

figure {
  margin: 0;
  padding: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none
}

a,
a:visited {
  color: #3498db
}

a:hover {
  text-decoration: underline
}

a:active {
  color: #2ecc71
}

p {
  margin: 1em 0;
  line-height: 1.4
}

/*
  Shuffle needs either relative or absolute positioning on the container
  It will set it for you, but it'll cause another style recalculation and layout.
  AKA worse performance - so just set it here
 */
.my-shuffle-container {
  position: relative;
  overflow: hidden;
}

.my-sizer-element {
  position: absolute;
  opacity: 0;
  visibility: hidden;
}

$picture-gutter: 24px;
$item-height: 220px;
.picture-item {
  height: 220px;
  margin-top: $picture-gutter;

  img {
    display: block;
    width: 100%;
  }
}

@supports (object-fit: cover) {
  .picture-item img {
    max-width: none;
    height: 100%;
    object-fit: cover;
  }
}

.picture-item--h2 {
  height: ($item-height * 2) + $picture-gutter; /* 2x the height + 1 gutter */
}

.picture-item__inner {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #FFF;
  margin: 16px;
  border-radius: 5px;
  border: 1px solid #D9D4D4;
}

.picture-item__inner:hover {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #FFF;
  /*margin: 16px;*/
  border-radius: 5px;
  border: 1px solid #8FBF56;
  box-shadow: 0px 10px 20px rgba(91, 117, 55, 0.15);
}

.picture-item__details {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  padding: 1em;
}

.picture-item__description {
  width: 100%;
  padding: 0 2em 1em 1em;
  margin: 0;
}

.picture-item__title {
  flex-shrink: 0;
  margin-right: 4px;
}

.picture-item__tags {
  flex-shrink: 1;
  text-align: right;
  margin: 0;
}

@media screen and (min-width: 768px) {
  .picture-item--overlay {
    .picture-item__details {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      backdrop-filter: blur(7px);
      color: white;
      overflow: hidden;
    }

    .picture-item__description {
      display: none;
    }
    
    a {
      color: white;
      text-shadow: 0 0 1px black;
    }
  }
}

@media screen and (max-width: 767px) {
  .grid{
    margin: 0 auto;
}
  .container.headers {
    margin-bottom: 0px!important;
    margin-left: 20px!important;
}
  .picture-item {
    height: auto;
    margin-top: 20px;
  }

  .picture-item__details,
  .picture-item__description {
    font-size: 0.875em;
    padding: 0.625em;
  }

  .picture-item__description {
    padding-right: 0.875em;
    padding-bottom: 1.25em;
  }

  .picture-item--h2 {
    height: auto;
  }
}

// Filter styling
// --------------
.filter-label {
  display: block;
  padding: 0;
  margin-top: 0;
  margin-bottom: 4px;
  color: #95a5a6;
}

.filters-group {
padding: 0;
    margin: 0;
    border: 0;
    width: 100%;
}

@media screen and (min-width: 768px) {
  .filters-group-wrap {
    display: flex;
    justify-content: space-between;
  }
}
.btn-group:after,.btn-group:before {
  content: " ";
  display: table
}

.btn-group:after {
  clear: both
}

.btn-group .btn {
  float: left;
  border-radius: 0
}

.btn-group .btn:first-child {
  border-radius: 0;
}

.btn-group .btn:not(:first-child) {
  margin-left: -1px;
}

.btn-group .btn:last-child {
  border-radius: 0 3px 3px 0;
}

.btn-group label.btn input[type=radio] {
  position: absolute;
  clip: rect(0,0,0,0);
  pointer-events: none;
}

.btn {
  display: inline-block;
  padding: .75em .8em;
  text-align: center;
  border-radius: 3px;
  border: 1px solid #34495e;
  color: #34495e;
  font-size: 1rem;
  background-color: rgba(52,73,94,0);
  transition: .2s ease-out;
  cursor: pointer;
  -webkit-appearance: none;
}

@media (-moz-touch-enabled:0),(pointer: fine) {
  .btn:hover {
    color:#fff;
    text-decoration: none;
    background-color: #34495e;
  }
}

.btn:focus {
  outline-width: 0;

}

.btn.active,.btn:active {
  
  color: #fff;
  background-color: #34495e;
}

.btn:focus.active {
  
}

.btn:disabled {
  cursor: not-allowed;
  opacity: .7;
  color: #34495e;
  background-color: rgba(52,73,94,0);
}

.btn--primary {
  color: #18191F;
  border-color: #FFF;
  background-color: rgba(52,152,219,0);
  margin: 10px 0;
}

@media (-moz-touch-enabled:0),(pointer: fine) {
  .btn--primary:hover {
    background-color:#3498db;
  }
}

.btn--primary:focus {

}

.btn--primary.active,.btn--primary:active {
  background-color: #8FBF56;
    border-radius: 6px!important;
}

.btn--primary:focus.active {
  
}

.btn--primary:disabled {
  color: #3498db;
  background-color: rgba(52,152,219,0);
}

@media screen and (max-width: 767px) {
  .btn {
    font-size:.875rem;
  }
}

// Textfield
// ----------------
.textfield {
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 100%;
  border: 2px solid #95a5a6;
  border-radius: 4px;
  padding: .5em;
  font-size: 1rem;
  color: #34495e;
  transition: .15s
}

.textfield::-webkit-input-placeholder {
  color: #95a5a6;
  transition: .15s
}

.textfield:-ms-input-placeholder {
  color: #95a5a6;
  transition: .15s
}

.textfield::-ms-input-placeholder {
  color: #95a5a6;
  transition: .15s
}

.textfield::placeholder {
  color: #95a5a6;
  transition: .15s
}

.textfield:hover {
  outline-width: 0;
  color: #5d6d77;
  border-color: #5d6d77
}

.textfield:hover::-webkit-input-placeholder {
  color: #5d6d77
}

.textfield:hover:-ms-input-placeholder {
  color: #5d6d77
}

.textfield:hover::-ms-input-placeholder {
  color: #5d6d77
}

.textfield:hover::placeholder {
  color: #5d6d77
}

.textfield:focus {
  outline-width: 0;
  border-color: #34495e
}

.textfield:focus::-webkit-input-placeholder {
  color: #34495e
}

.textfield:focus:-ms-input-placeholder {
  color: #34495e
}

.textfield:focus::-ms-input-placeholder {
  color: #34495e
}

.textfield:focus::placeholder {
  color: #34495e
}

// bootstrap3-like grid
// -----------
.container {
  padding-left: 3.5%;
  padding-right: 3.5%;
}

.container:after,
.container:before {
  content: " ";
  display: table;
}

.container:after {
  clear: both;
}

.row {
  margin-left: auto;
  margin-right: auto;
}

.row:after,
.row:before {
  content: " ";
  display: table;
}

.row:after {
  clear: both;
}

.row .row {
  margin-left: -8px;
  margin-right: -8px;
}

/* Ensure images take up the same space when they load */
/* https://vestride.github.io/Shuffle/images */
.aspect {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  overflow: hidden;
}

.aspect__inner {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.aspect--16x9 {
  padding-bottom: 40.25%;
}

// bootstrap3-like grid
.col-1\@xs,
.col-2\@xs,
.col-3\@xs,
.col-4\@xs,
.col-5\@xs,
.col-6\@xs,
.col-1\@sm,
.col-2\@sm,
.col-3\@sm,
.col-4\@sm,
.col-5\@sm,
.col-6\@sm,
.col-7\@sm,
.col-8\@sm,
.col-9\@sm,
.col-10\@sm,
.col-11\@sm,
.col-12\@sm,
.col-1\@md,
.col-2\@md,
.col-3\@md,
.col-4\@md,
.col-5\@md,
.col-6\@md,
.col-7\@md,
.col-8\@md,
.col-9\@md,
.col-10\@md,
.col-11\@md,
.col-12\@md {
  position: relative;
  box-sizing: border-box;
  min-height: 1px;
  padding-left: 8px;
  padding-right: 8px;
}

.col-1\@xs,
.col-2\@xs,
.col-3\@xs,
.col-4\@xs,
.col-5\@xs,
.col-6\@xs {
  float: left;
}

.col-1\@xs {
  width: 16.66667%;
}

.col-2\@xs {
  width: 33.33333%;
}

.col-3\@xs {
  width: 50%;
}

.col-4\@xs {
  width: 100%;
}

.col-5\@xs {
  width: 83.33333%;
}

.col-6\@xs {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .col-1\@sm,
  .col-2\@sm,
  .col-3\@sm,
  .col-4\@sm,
  .col-5\@sm,
  .col-6\@sm,
  .col-7\@sm,
  .col-8\@sm,
  .col-9\@sm,
  .col-10\@sm,
  .col-11\@sm,
  .col-12\@sm {
    float: left;
  }

  .col-1\@sm {
    width: 8.33333%;
  }

  .col-2\@sm {
    width: 16.66667%;
  }

  .col-3\@sm {
    width: 25%;
  }

  .col-4\@sm {
    width: 100%;
  }

  .col-5\@sm {
    width: 41.66667%;
  }

  .col-6\@sm {
    width: 50%;
  }

  .col-7\@sm {
    width: 58.33333%;
  }

  .col-8\@sm {
    width: 66.66667%;
  }

  .col-9\@sm {
    width: 75%;
  }

  .col-10\@sm {
    width: 83.33333%;
  }

  .col-11\@sm {
    width: 91.66667%;
  }

  .col-12\@sm {
    width: 100%;
  }

  .container {
/*margin-bottom: 80px;*/
  }

/*  #navbar .row {
    max-width: 1200px;
  } */
}

@media screen and (min-width: 1024px) {
  .col-1\@md,
  .col-2\@md,
  .col-3\@md,
  .col-4\@md,
  .col-5\@md,
  .col-6\@md,
  .col-7\@md,
  .col-8\@md,
  .col-9\@md,
  .col-10\@md,
  .col-11\@md,
  .col-12\@md {
    float: left;
  }

  .col-1\@md {
    width: 8.33333%;
  }

  .col-2\@md {
    width: 16.66667%;
  }

  .col-3\@md {
    width: 25%;
  }

  .col-4\@md {
    width: 100%;
  }

  .col-5\@md {
    width: 41.66667%;
  }

  .col-6\@md {
    width: 50%;
  }

  .col-7\@md {
    width: 58.33333%;
  }

  .col-8\@md {
    width: 66.66667%;
  }

  .col-9\@md {
    width: 75%;
  }

  .col-10\@md {
    width: 83.33333%;
  }

  .col-11\@md {
    width: 91.66667%;
  }

  .col-12\@md {
    width: 100%;
  }
}


.media-image-container {
    height: auto;
    min-height: 150px;
    background-position: 50%;
    background-size: cover;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding: 0;
}

.title-text {
    min-height: 70px;
}

.container.Searchmenu {
    margin: -100px auto 50px auto;
}

p.picture-item__tags.hidden\@xs {
    font-family: Nunito;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 150%;
    text-transform: uppercase;
    color: #000000;
}

span.picture-item__description {
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 130%;
    color: #000000;
}

.title-text {
    padding: 1em;
    margin-top: -50px;
    margin-bottom: -20px;
}

input#filters-search-input {
    width: 370px;
  margin-bottom: 50px!important;
}

@media screen and (min-width: 1024px) {
.col-3\@md {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: block;
}
}

.container.Searchmenu .row.rowfilter {
    background-color: #FFF;
    max-width: 100%!important;
    margin: 0 auto;
}

.btn-group.filter-options {
    max-width: 1200px;
  margin: 0 auto;
  background-color: #FFF;
  padding: 0 50px;
}


.sticky {
  position: fixed;
  top: 74px;
  width: 100%;
  z-index:1000;
}

.sticky + .content {
  padding-top: 60px;
}

.shadowed {
  -moz-box-shadow:0px 0px 5px #444444;
  -webkit-box-shadow:0px 0px 5px #444444;
  box-shadow:0px 0px 5px #444444;
}


#video-popup-container {
  display:none;
  position: fixed;
  z-index: 2996;
  width: 60%;
  left: 50%;
  margin-left: -30%;
  top: 20%;
  background-color: #fff;
}

#video-popup-close {
  cursor: pointer;
  position: absolute;
  right: -10px;
  top: -10px;
  z-index: 998;
  width: 25px;
  height: 25px;
  border-radius: 25px;
  text-align: center;
  font-size: 12px;
  background-color: #000;
  line-height: 25px;
  color: #fff;
}

#video-popup-iframe-container {
  position: absolute;
  z-index: 997;
  width: 100%;
  padding-bottom: 56.25%;
  border: 2px solid #000;
  border-radius: 2px;
  background-color: #000;
}

#video-popup-iframe {
  z-index: 999;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: #000;
}

#video-popup-overlay {
  display: none;
  position: fixed;
  z-index: 2995;
  top: 0;
  background-color: #000;
  opacity: 0.8;
  width: 100%;
  height: 100%;
}

#video-popup-close:hover {
  color: #DE0023;
}

.video-thumbnail {
	 position: relative;
	 display: inline-block;
	 cursor: pointer;
}
 .video-thumbnail:before {
	 position: absolute;
	 top: 25%;
	 left: 50%;
	 transform: translate(-50%, -50%);
	 -webkit-transform: translate(-50%, -50%);
	 content: "\f144";
	 font-family: FontAwesome;
	 font-size: 100px;
	 color: #fff;
	 opacity: 0.8;
	 text-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
   z-index: 100;
}
 .video-thumbnail:hover:before {
	 color: #eee;
}
@media screen and (max-width: 767px) {
#video-popup-container {
    display: none;
    position: fixed;
    max-width: 95%;
    z-index: 2996;
    width: 100%;
    left: auto;
    margin: 0 auto;
    padding: 0 10px;
    margin-left: auto;
    top: 20%;
    background-color: #fff;
}
  .btn-group.filter-options {
  padding: 10px;
}
  .btn--primary {
    margin: 0px;
}
}
@media screen and (max-width: 1023px) {
input#filters-search-input {
    width: 100%!important;
}
.filters-group {
    padding: 0 30px;
}
.container.Searchmenu>div.row {
    margin: 0!important;
}
}
@media screen and (max-width: 768px) {
    .media-image-container {
    min-height: 250px!important;
  }
}


.container.headers {
    margin-bottom: 30px;
    margin-left: 38px;
    overflow: initial!important;
}

