.portfolioFilter {
  padding: 15px 10px;
}

.portfolioFilter a {
  /*margin-right: 6px;*/
  color: #666;
  font-size: 16px;
/*  text-decoration: none;
  border: 1px solid #ccc;
  padding: 4px 15px;
  border-radius: 50px;
  display: inline-block;*/
}

/*.portfolioFilter a.current {
  background: #1e1e1e;
  border: 1px solid #1e1e1e;
  color: #f9f9f9;
}*/

.portfolioContainer{
 /* border: 1px solid #eee;*/
  border-radius: 3px;
 /* padding: 15px 10px;*/
}
.fancybox-lock .fancybox-overlay { z-index: 99999 !important;}

.portfolioFilter ul{list-style: none; margin:0; padding:0px; }


.portfolioContainer img {
  width:100%;
}

.isotope-item {
  z-index: 2;
}
.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

.isotope,
.isotope .isotope-item {
  /* change duration value to whatever you like */
  -webkit-transition-duration: 0.8s;
  -moz-transition-duration: 0.8s;
  transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
  -moz-transition-property: height, width;
  transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
  -moz-transition-property: -moz-transform, opacity;
  transition-property: transform, opacity;
}
.portfolioContainer.isotope{min-height: 400px !important;}

.fancybox-wrap .fancybox-title-inside-wrap a {
    float: right;
    margin: 0 0 0 5px !important;
}
.portfolioFilter {
    padding: 15px 0;
    margin: 0 -15px;
}

.portfolioFilter select {
    -webkit-appearance: button;
    -webkit-border-radius: 2px;
    -webkit-padding-end: 20px;
    -webkit-padding-start: 2px;
    -webkit-user-select: none;
    background-image: url(/assets/theme/fmdstore/images/select-dropdown-arrow.png);
    background-position: 97% center;
    background-repeat: no-repeat;
    border: 0;
    padding: 5px 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    font-family: Montserrat;
    font-size: 16px;
    color: 
    #00275a;
}
.portfolioContainer img {
    width: 100%;
    margin: 5px;
}
.fancybox-nav{
  width: 36px !important;
  height: 93% !important;
}

.fancybox-button--fb {
    padding: 14px;
}
.fancybox-button--tw {
    padding: 13px;
}
.fancybox-button--close {
    padding: 9px;
}
.fancybox-button--fb svg path,
.fancybox-button--tw svg path {
    stroke-width: 0;
}
.fancybox-inner{
    min-height: 300px;
}
.toppart-videogallery {
    color: #3f444a;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

.toppart-videogallery .box-bdr {
    border: 1px solid #003182;
    padding: 20px;
    min-height: 360px;
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    position: relative;
}

.toppart-videogallery .box-bdr .videoprice {
    position: absolute;
    left: 20px;
    bottom: 20px;
}

.toppart-videogallery .box-bdr h4 {
    color: #f47137;
    font-size: 22px;
    padding: 0;
    margin-top: 0;
    font-weight: 800;
}

.toppart-videogallery .box-bdr p {
    color: #3f444a;
}

.toppart-videogallery .box-bdr strong {
    font-size: 14px;
    font-weight: 700;
}

.toppart-videogallery .box-bdr ul {
    padding: 0;
    margin-bottom: 25px;
}

.toppart-videogallery .box-bdr ul li {
    padding-top: 5px;
    list-style-type: disc;
    margin-left: 15px;
}

.toppart-videogallery h3 {
    color: #3f444a;
    font-size: 24px;
    padding: 0;
    margin: 40px 0;
    text-align: center;
    font-weight: 700;
}

.toppart-videogallery h3 span {
    color: #f47137;
}

.toppart-videogallery .gallery-titlebg {
    background: #003182;
    color: #fff;
    font-size: 30px;
    padding: 20px 0;
    margin: 40px 0;
    text-align: center;
    display: block;
    font-weight: 800;
}

.gallery-filter {
  background: #fff;
  padding: 0px 10px;
  margin-top: 595px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}
.gallery-filter h2 { color: #fff; margin: 0 0 50px 0;}

.gallery-filter h3 {
  color: #003182;
  border-bottom: 2px solid #003182;
  font-size: 20px;
  font-weight: 800;
  padding:0 0 5px 0;
  margin-top: 0;
}
.gallery-filter .gallery_filter_ul {
  padding: 0 0 0 5px;
  list-style: none;
  color: #4b4b4b;
  margin-bottom: 20px;
}
.gallery-filter .gallery_filter_ul li {
    padding: 0 0 5px 0;
    margin: 0;
    position: relative;
}
.gallery-filter .gallery_filter_ul li label {
    margin: 0 0 0 5px;
    font-weight: normal;
    font-size: 16px;
}

.gallery-filter .gallery_filter_ul input[type="checkbox"] {
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  border: 1px solid #4b4b4b;
  outline: none;
  position: relative;
  left: 0;
  top: 2px;
  cursor: pointer;
  display: inline-block;
  width: 15px;
  height: 15px;
  margin: 0;
}

.gallery-filter .gallery_filter_ul input[type="checkbox"]:checked::after {
  color: #fc0d1b;
  /*content: "ÃÂ¢ÃÂÃÂ";*/
  content: "";
  /*font-size: 16px;*/
  left: 6px;
  position: absolute;
  top: 6px;
  transform: translate(-50%, -50%);
  background: #fc0d1b;
  outline: none;
  width: 13px;
  height: 13px;
}
.gallery-container{
  padding: 20px 0px;
  float: left;
  width: 100%;
}
.gallery_category_checkbox{
  width: 8%;display: inline-block;
}
.gallery_category_list{
  width: 90%;display: inline-block;
}
@media (max-width: 991px) {
  .gallery_category_checkbox, .gallery_category_list{
      width: auto;
  }
}

@media(max-width:1440px) {
    .gallery-filter {margin-top: 615px;}  
    .toppart-videogallery .box-bdr {
        min-height: 380px;
    }
}

@media(max-width:1366px) {
    .toppart-videogallery .box-bdr {
        min-height: 385px;
    }
}

@media(max-width:1280px) {
    .toppart-videogallery .box-bdr {
        min-height: 385px;
    }
}

@media(max-width:1080px) {
    .gallery-filter {
        margin-top: 0;
    }

    .toppart-videogallery .box-bdr {
        min-height: 425px;
    }
.toppart-videogallery .box-bdr h4 {font-size: 21px;}

}

@media(max-width:1024px) {
    .toppart-videogallery .box-bdr {
        min-height: 440px;
    }
}

@media(max-width:991px) {
    .gallery-filter {
        margin-top: 0;
    }

    .toppart-videogallery .box-bdr {
        padding: 20px;
        margin-bottom: 15px;
        min-height: auto;
    }
    .toppart-videogallery .box-bdr .videoprice {
        position: relative;
        left: 0;
        bottom: 0;
    }

    .toppart-videogallery h3 {
        font-size: 17px;
        margin: 20px 0;
        line-height: normal;
    }

    .toppart-videogallery .gallery-titlebg {
        font-size: 20px;
        margin: 0 0px 20px 0px;
    }

}