/*
.blueimp-gallery, .blueimp-gallery > .slides > .slide > .slide-content {
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
}
*/

._blurred {
	-webkit-filter: blur(5px);
  	-moz-filter: blur(5px);
  	-o-filter: blur(5px);
  	-ms-filter: blur(5px);
  	filter: blur(5px);
  	opacity: 0.25;
  	
  	
    -moz-filter: blur(5px) url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter â€¦.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    -o-filter: blur(5px) url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter â€¦.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    -webkit-filter: blur(5px) grayscale(100%);
    filter: blur(5px) gray;
    
    filter: blur(5px) url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");

}



.unblurred {
	-webkit-filter: none;
  	-moz-filter: none;
  	-o-filter: none;
  	-ms-filter: none;
  	filter: none;
}

.grid {

	list-style: none;
	margin: 0 auto;
	padding: 0;
    /*margin-bottom: 30px;*/
}

.grid li.shown,
.no-js .grid li,
.no-cssanimations .grid li {
	opacity: 1;
}



.grid li a,
.grid li img {
	outline: none;
	border: none;
	display: block;
	width: 100%;
    height: auto;
}

/* Effect 1: opacity */
.grid.effect-1 li.animate {
	-webkit-animation: fadeIn 0.65s ease forwards;
	animation: fadeIn 0.65s ease forwards;
}

@-webkit-keyframes fadeIn {
	0% { }
	100% { opacity: 1; }
}

@keyframes fadeIn {
	0% { }
	100% { opacity: 1; }
}

/* Effect 2: Move Up */
.grid.effect-2 li.animate {
	-webkit-transform: translateY(200px);
	transform: translateY(200px);
	-webkit-animation: moveUp 0.65s ease forwards;
	animation: moveUp 0.65s ease forwards;
}

@-webkit-keyframes moveUp {
	0% { }
	100% { -webkit-transform: translateY(0); opacity: 1; }
}

@keyframes moveUp {
	0% { }
	100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; }
}

/* Effect 3: Scale up */
.grid.effect-3 li.animate {
	-webkit-transform: scale(0.6);
	transform: scale(0.6);
	-webkit-animation: scaleUp 0.65s ease-in-out forwards;
	animation: scaleUp 0.65s ease-in-out forwards;
}

@-webkit-keyframes scaleUp {
	0% { }
	100% { -webkit-transform: scale(1); opacity: 1; }
}

@keyframes scaleUp {
	0% { }
	100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; }
}

/* Effect 4: fall perspective */
.grid.effect-4 {
	-webkit-perspective: 1300px;
	perspective: 1300px;
}

.grid.effect-4 li.animate {
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: translateZ(400px) translateY(300px) rotateX(-90deg);
	transform: translateZ(400px) translateY(300px) rotateX(-90deg);
	-webkit-animation: fallPerspective .8s ease-in-out forwards;
	animation: fallPerspective .8s ease-in-out forwards;
}

@-webkit-keyframes fallPerspective {
	0% { }
	100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; }
}

@keyframes fallPerspective {
	0% { }
	100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; }
}

/* Effect 5: fly (based on http://lab.hakim.se/scroll-effects/ by @hakimel) */
.grid.effect-5 {
	-webkit-perspective: 1300px;
	perspective: 1300px;
}

.grid.effect-5 li.animate {
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform-origin: 50% 50% -300px;
	transform-origin: 50% 50% -300px;
	-webkit-transform: rotateX(-180deg);
	transform: rotateX(-180deg);
	-webkit-animation: fly .8s ease-in-out forwards;
	animation: fly .8s ease-in-out forwards;
}

@-webkit-keyframes fly {
	0% { }
	100% { -webkit-transform: rotateX(0deg); opacity: 1; }
}

@keyframes fly {
	0% { }
	100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; }
}

/* Effect 6: flip (based on http://lab.hakim.se/scroll-effects/ by @hakimel) */
.grid.effect-6 {
	-webkit-perspective: 1300px;
	perspective: 1300px;
}

.grid.effect-6 li.animate {
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform-origin: 0% 0%;
	transform-origin: 0% 0%;
	-webkit-transform: rotateX(-80deg);
	transform: rotateX(-80deg);
	-webkit-animation: flip .8s ease-in-out forwards;
	animation: flip .8s ease-in-out forwards;
}

@-webkit-keyframes flip {
	0% { }
	100% { -webkit-transform: rotateX(0deg); opacity: 1; }
}

@keyframes flip {
	0% { }
	100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; }
}

/* Effect 7: helix (based on http://lab.hakim.se/scroll-effects/ by @hakimel) */
.grid.effect-7 {
	-webkit-perspective: 1300px;
	perspective: 1300px;
}

.grid.effect-7 li.animate {
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: rotateY(-180deg);
	transform: rotateY(-180deg);
	-webkit-animation: helix .8s ease-in-out forwards;
	animation: helix .8s ease-in-out forwards;
}

@-webkit-keyframes helix {
	0% { }
	100% { -webkit-transform: rotateY(0deg); opacity: 1; }
}

@keyframes helix {
	0% { }
	100% { -webkit-transform: rotateY(0deg); transform: rotateY(0deg); opacity: 1; }
}

/* Effect 8:  */
.grid.effect-8 {
	-webkit-perspective: 1300px;
	perspective: 1300px;
}

.grid.effect-8 li.animate {
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: scale(0.4);
	transform: scale(0.4);
	-webkit-animation: popUp .8s ease-in forwards;
	animation: popUp .8s ease-in forwards;
}

@-webkit-keyframes popUp {
	0% { }
	70% { -webkit-transform: scale(1.1); opacity: .8; -webkit-animation-timing-function: ease-out; }
	100% { -webkit-transform: scale(1); opacity: 1; }
}

@keyframes popUp {
	0% { }
	70% { -webkit-transform: scale(1.1); transform: scale(1.1); opacity: .8; -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; }
	100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; }
}



#grid .wrap {
	overflow:hidden;
	position: relative;
}




.gallery-item-caption img {
width: auto !important;
  height: auto;
  /* display: table-cell; */
  position: absolute;
  /* vertical-align: middle; */
  top: 50%;
  /* bottom: 50%; */
  left: 0;
  right: 0;
  margin: 0 auto;
    margin-top: -30px;
    opacity: .8;
}
.gallery .wrap:hover .gallery-item-caption .cp.photo {
    opacity: 1;
}

.gallery-item-caption {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    text-align: center;
}

.gallery-item-caption:before {
  display: inline-block;
  vertical-align: middle;    
  content: '';
  height: 100%;
}

.gallery-item-caption .cp:before {
  display: inline-block;
  vertical-align: middle;
    content: '';
  height: 100%;
}


.gallery-item-caption .cp {
    display: inline-block;
    vertical-align: middle;
    margin: auto;
    text-align: center;
    color: #fff;
    font-size: 30px;
    opacity: 0;
    transition: all .8s;
}

.btn-prev:hover .path2:before,.btn-next:hover .path2:before {
    color: #f11a8a;
}



/*
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
*/

.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    padding: 40px;
}



.blueimp-gallery > .slides > .slide > .video-content > img {
    padding: 20px 20px 40px 20px;
}

.blueimp-gallery > .slides > .slide  img {
    padding: 0;
}

.blueimp-gallery > .slides > .slide video {
    padding: 20px 20px 80px 20px;
}

.blueimp-gallery > .slides > .slide iframe {
    padding: 0;
}

#blueimp-gallery {
    background: rgba(255,255,255,.90);
}

.blueimp-gallery > .prev, .blueimp-gallery > .next {
    font-style:normal;
}

body:last-child .blueimp-gallery > .slides > .slide > .video-content:not(.video-loading) > a {
  background-image: url(../blueimp/img/play.png);
}

.blueimp-gallery > .close, .blueimp-gallery > .title {
    color: #000 !important;
    text-shadow: none  !important;
    opacity: 1 !important;
    display: inherit !important;
}

.blueimp-gallery > .close {
    background-color: #fff;
    top: 15px;
    right: 15px;
    margin: 0;
    line-height: 1px;
}

.blueimp-gallery > .title {
    bottom: 30px;
    left: 40px;
    top: auto;
    font-family: 'montserratregular';
    font-size: 12px;
    text-transform: uppercase;
    line-height: 1.5;
}

#gallery-sharer {
    float:right;
    position: absolute;
    bottom:  30px;
    right: 40px;
    font-family: 'montserratregular';
    font-size: 12px;
    color: #000;
}
#gallery-sharer a{
    margin-left: 40px;
    font-size: 18px;
    margin-top:3px;
    color:#000;
}

#gallery-sharer a:hover{
    color:#7dbb33;
}

/* NAVIGATION PAGINA PORTFOLIO */
.btn-prev, .btn-next {

  display: block;
  width: 50%;
  height: 54px;
  background: #fff;
  color: #f11a8a;
  left: 0;
  position: absolute;
  top: auto;
  margin-top: 0px;
  z-index: 5;
}

#btn-proj-prev .btn-direction-hover {
    border-right: 1px solid #646464;
}
#btn-proj-next .btn-direction-hover {
    border-left: 1px solid #646464;
}

.btn-next .icon, .btn-next .home-clients-slider .flex-direction-nav a, .home-clients-slider .flex-direction-nav .btn-next a {
  left: auto;
  right: 7px;
}

.btn-prev .icon, .btn-prev .home-clients-slider .flex-direction-nav a, .home-clients-slider .flex-direction-nav .btn-prev a, .btn-next .icon, .btn-next .home-clients-slider .flex-direction-nav a, .home-clients-slider .flex-direction-nav .btn-next a {
  left: 7px;
  top: 9px;
  z-index: 1;
}

.btn-next .btn-direction-hover {
  padding-left: 0px;
  padding-right: 0px;
  left: auto;
  right: 0;
}

.btn-direction-hover {
  display: block;
  width: 100%;
  position: absolute;
  top: 0;
  z-index: 0;

  line-height: normal;
  left: 0;
  padding-right: 0px;
    padding-left: 0px;
  background: #fff;
  visibility: visible;
  opacity: 1;
}

.btn-direction-hover .inner {
  position: relative;
  display: block;
  padding: 0;
  z-index: 1;
    min-height: 110px;
  display: table;    
    width: 100%;
}

.btn-direction-hover .title {
  display: none;
}

.btn-direction-hover .project {
  font-weight: 500;
  color: #f11a8a;
  font-size: 16px;;
  line-height: 1.2857142857em;
  font-family: 'playfair_displayregular';
}


.btn-next {
    left: auto;
      right: 0;
}
.cover {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.icon-prev .path2:before,.icon-next .path2:before {
    top: 50%;
    z-index: 1;
    font-size: 30px;
    position: absolute;
    left: auto;
    right:0;
    padding: 0;
    margin-top: 15px;
}

.icon-prev .path2:before{
    
    left: 0;
    right:auto;
    margin-left:0;

}


.btn-direction-hover .fig {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  opacity: .8;
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
}

.btn-direction-hover:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,.5);
    height: 100%;
    width: 100%;
}

.btn-direction-hover .project {
    color: #fff;
    display: table-cell;
  vertical-align: middle;
  
    padding-right: 40px;
  padding-left: 20px;
  text-align: left;
    
}

#btn-proj-next .btn-direction-hover .project {
  text-align: right;
    
}

#btn-proj-prev .btn-direction-hover .project {
    padding-left: 40px;
  padding-right: 20px;

}

.icon-prev .path2:before, .icon-next .path2:before {
    background:#fff;
}

    /* FINE NAVIGATION PAGINA PORTFOLIO */

.btn-prev,.btn-next {
	margin-top:-60px;
}

.btn-direction-hover .project{
        font-size: 16px;
}

.preefooterSingle {
        padding-bottom: 60px;
    }


.portfolio-caption {
    font-size:  14px;
    font-family: 'Montserrat';
    display: block;
}

.portfolio-caption span{
    font-size:  14px;
    font-family: 'Montserrat';
    display: block;
    opacity: 0.75;
}

#open-category {
    background-color: #7dbb33;
    margin: 0 20px;
}

#open-category{
    padding: 10px 0;
    color: #fff;
    display: block;
}

#show-menu{display: none;}

#open-category i {
    font-size: 10px;
    margin-left: 10px;
}

#portfolio-list-container ul {
    margin-left: 20px;
    margin-right: 20px;
}

#portfolio-list-container{display: none;}
#portfolio-list-container{position: absolute;z-index: 999}

/*Show menu when invisible checkbox is checked*/
input[type=checkbox]:checked ~ #portfolio-list-container{
    display: block;
}

#divo {background: #e9e9e9;z-index: 998;left: 0;right: 0;padding: 20px 0;}
#portfolio-list-container {width: 100%;}
    .fixed-portfolio {
        position: fixed !important;
        left: 20px;
        right:20px;
        top: 70px;
        z-index: 999;
        width: auto !important;
    } 

#portfolio-list-container.fixed-portfolio {
    top:130px;
}

#portfolio-list-container.fixed-portfolio ul{
    margin-left: 0;
    margin-right: 0;

}

.section-gallery{padding-top: 0;}


#portfolio-list-container {
  background: transparent;
}


/* MEDIUM SCREEN */
@media only screen and (min-width: 40.063em) {
     
    
    #portfolio-list-container li a.filter.active {
        background: #7dbb33;
        color: #fff;
    }
    
    #portfolio-list-container {
      background: #e9e9e9;
    }    
    
    #divo {background: transparent;padding: 0;}
    #portfolio-list-container.fixed-portfolio {
        top:auto;
    }
    #portfolio-list-container {width: 100%;}
    #portfolio-list-container{display: inherit;}
    #portfolio-list-container{position: inherit;}
    #open-category {
        display: none;
    }
    
    .btn-direction-hover .project{
        font-size: 22px;
    }
}

/* Large screens*/
@media only screen and (min-width: 64.063em) {


#grid .wrap:hover img {
    transition: all .3s;
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    -moz-filter: none;
    -o-filter: none;
    -webkit-filter: none;
    filter: none;
    
}

#grid .wrap img {
    transition: all .3s;
    
    -moz-filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter â€¦.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    -o-filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter â€¦.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    -webkit-filter: grayscale(50%);
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    
}

    .section-gallery {
        padding-bottom: 0;
        padding-top: 0;
    }
    
    .grid {
        margin-bottom: 0;
    }    
    
    .preefooterSingle {
        padding-bottom: 100px;
    }
    
    #btn-proj-next .btn-direction-hover .project {
        text-align: left;
    }    
    
    .btn-prev,.btn-next {
        margin-top:0;
    }
    
    #btn-proj-prev .btn-direction-hover {
        border-right: 0;
    }
    #btn-proj-next .btn-direction-hover {
        border-left: 0;
    }    
    
    .btn-direction-hover:after {
        content: none;
    }   
    
    
    /* NAVIGATION PAGINA PORTFOLIO */
    .scrolled .btn-prev.in, .scrolled .btn-next.in {
      -webkit-transform: translate(0, 0);
      -moz-transform: translate(0, 0);
      -ms-transform: translate(0, 0);
      -o-transform: translate(0, 0);
      transform: translate(0, 0);

    }
    .btn-next {
      left: auto;
      right: 0;
      -webkit-transform: translate(100%, 0);
      -moz-transform: translate(100%, 0);
      -ms-transform: translate(100%, 0);
      -o-transform: translate(100%, 0);
      transform: translate(100%, 0);
      transition-delay: 0.5s;
    }


    .btn-prev {
      -webkit-transform: translate(-100%, 0);
      -moz-transform: translate(-100%, 0);
      -ms-transform: translate(-100%, 0);
      -o-transform: translate(-100%, 0);
      transform: translate(-100%, 0);
        transition-delay: 0.5s;
    }


    .btn-prev, .btn-next {

      display: block;
      width: 57px;
      height: 54px;
      background: #fff;
      color: #f11a8a;
      left: 20px;
      position: fixed;
      top: 50%;
      margin-top: -27px;
      z-index: 5;

    }

    .btn-prev:hover .btn-direction-hover, .btn-next:hover .btn-direction-hover{

        visibility: visible;
        opacity:1;

        -webkit-transition: 0.2s linear all;
        transition: 0.2s linear all;

    }

    .btn-next .icon, .btn-next .home-clients-slider .flex-direction-nav a, .home-clients-slider .flex-direction-nav .btn-next a {
      left: auto;
      right: 7px;
    }
    .btn-prev .icon, .btn-prev .home-clients-slider .flex-direction-nav a, .home-clients-slider .flex-direction-nav .btn-prev a, .btn-next .icon, .btn-next .home-clients-slider .flex-direction-nav a, .home-clients-slider .flex-direction-nav .btn-next a {
      left: 7px;
      top: 9px;
      z-index: 1;
    }
    .btn-next .btn-direction-hover {
      padding-left: 30px;
      padding-right: 65px;
      left: auto;
      right: 0;

    }
    .btn-direction-hover {
      display: block;
      width: 405px;
      position: absolute;
      top: 50%;
      z-index: 0;
      padding-left: 65px;
      line-height: normal;
      left: 0;
      padding-right: 20px;
      background: #fff;
      visibility: hidden;
      opacity: 0;
      -webkit-transform: translate(0, -50%);
      -moz-transform: translate(0, -50%);
      -ms-transform: translate(0, -50%);
      -o-transform: translate(0, -50%);
      transform: translate(0, -50%);
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
      -webkit-transition: visibility 0s linear 0.2s,opacity 0.2s linear;
      transition: visibility 0s linear 0.2s,opacity 0.2s linear;

    }

    .btn-direction-hover .inner {
      position: relative;
      display: block;
      padding: 30px 0 25px 0;
      z-index: 1;
        min-height: auto;
        width: auto;

    }
    .btn-direction-hover .title {
      font-weight: 700;
      text-transform: uppercase;
      font-size: 0.6111111111em;
      display: block;
      color: #646464;
      letter-spacing: 1px;
      padding-bottom: 24px;
      position: relative;
     font-family: 'montserratregular';
    }
    .btn-direction-hover .project {
      font-weight: 500;
      color: #f11a8a;
      font-size: 1.1666666667em;
      line-height: 1.2857142857em;
      font-family: 'playfair_displayregular';
        display: inherit;
      vertical-align: auto;
      text-align: left;
        padding: 0;
    }
    
    #btn-proj-prev .btn-direction-hover .project {
        padding: 0;
        padding-right: 0;

    }

    .btn-next {
      left: auto;
      right: 20px;
    }
    .cover {
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center center;
    }

    .icon-prev .path2:before,.icon-next .path2:before {
        top: 25%;
        z-index: 1;
        font-size: 30px;
        position: absolute;
        left: 75%;
        background:transparent;
        padding: 0;
        margin-top: 0;
    }
    
    .icon-prev .path2:before{
        margin-left: -1em;
    }

    /* FINE NAVIGATION PAGINA PORTFOLIO */
    
    
    .scrolled .btn-next.in.scrolled {
      left: auto;
      right: 0;
      -webkit-transform: translate(100%, 0);
      -moz-transform: translate(100%, 0);
      -ms-transform: translate(100%, 0);
      -o-transform: translate(100%, 0);
      transform: translate(100%, 0);
      transition-delay: 0s;
    }


    .scrolled .btn-prev.in.scrolled {
      -webkit-transform: translate(-100%, 0);
      -moz-transform: translate(-100%, 0);
      -ms-transform: translate(-100%, 0);
      -o-transform: translate(-100%, 0);
      transform: translate(-100%, 0);
        transition-delay: 0s;
    }    
    
    
    
}