/* your styles go here */

/* 
.box-image-text .image {
  min-height: 200px;
  max-height: 200px;
}

.box-simple {
  min-height: 230px;
}*/

/* Sticky footer */
html, body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
}

#all {
  flex: 1 0 auto;
}

#footer {
  flex-shrink: 0;
}

.container {
  width: 95%;
}

#logo {
  pointer-events: none; /* Enable clicking */
  width: 139px;
  height: 80px;
}

@media (max-width: 768px) {
  #logo {
    
    width: 110px;
    height: 63px;
  }
}

/* Navbar height to accomodate the logo */
.navbar {
  min-height: 70px;
  padding-top: 5px;
}

.navbar-brand {
  padding: 0 15px;
  height: 70;
  line-height: 70px;
}


.navbar-toggle {
  /* (70px - button height 34px) / 2 = 18px */
  margin-top: 18px;
  padding: 9px 10px !important;
}

@media (min-width: 769px) {
  /* Navbar height on big screens */
  .navbar {
    min-height: 85px;
  }
  
  .navbar-brand {
    padding: 0 15px;
    height: 85px;
    line-height: 85px;
  }
  
  .navbar-toggle {
    /* (85px - button height 34px) / 2 = 25.5px */
    margin-top: 25.5px;
    padding: 9px 10px !important;
  }
  
  .navbar-nav > li > a {
    /* (85px - line-height of 27px) / 2 = 29px */
    padding-top: 29px;
    padding-bottom: 29px;
    line-height: 27px;
  }
}
/* /End navbar height */

/*=================================================================
  Portfolio section
    Template Name: Meghna Responsive HTML5/CSS3 Business Template
    Author: Themefisher
    Author URI: www.Themefisher.com
    Description: Meghna Responsive HTML5/CSS3 Portfolio Template
    Version: 1.0
    Tags: one-page, single-page, portfolio, custom-colors, post-formats, responsive, html5, css3
==================================================================*/
.portfolio-filter {
  margin-bottom: 40px;
  text-align: center;
}

.portfolio-filter button {
  border: none;
  outline: none;
  border: 1px solid rgba(236, 239, 241, 0.07);
  background: transparent;
  display: inline-block;
  font-size: 16px;
  padding: 6px 20px;
  font-weight: 700;
  color: #4d4d4d;
  transition: .3s all;
}

.portfolio-filter button.mixitup-control-active {
  border: 1px solid #57cc5d;
  color: #57cc5d;
}

.portfolio-items-wrapper .mix {
  padding: 5px; /* margin */
}

/* https://medium.com/@andybarefoot/a-masonry-style-layout-using-css-grid-8c663d355ebb */
.masonry-vertical-grid { 
  display: grid;
  grid-gap: 10px; /* gutter */
  grid-template-columns: repeat(auto-fill, 300px); /* minmax(300px, 1fr) */
  grid-auto-rows: 5px; /* row height */
  justify-items: center; /* align on the row axis */
  align-items: center; /* align on the column axis */
  justify-content: center;
  align-content: start;
}

/* .masonry-horizontal-grid { 
  display: flex;
  flex-flow: row wrap;
  margin-left: -8px; /* Adjustment for the gutter */
  /* width: 100%;
}

.masonry-horizontal-grid .grid-item {
  flex: auto;
  height: 300px;
  min-width: 200px;
  margin: 0 8px 8px 0; /* Some gutter */
  /* text-align: center;
  border:1px solid red;
} */

.portfolio-block {
  position: relative;
  /* border: 1px solid red; */
}

/* .portfolio-block:before {
  
} */

/* .portfolio-block:hover:before {
  transition: all 0.3s ease-in-out;
  background: black;
  opacity: 0.5;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  position: absolute;
  content: '';
} */

.portfolio-block:hover .caption {
  opacity: 0.5;
  /* top: 55%; */
}
 
.portfolio-block .caption {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
  /* color: #fff; */
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  z-index: 9;
  transition: all 0.2s ease-in-out;
}

.portfolio-block .caption i {
  opacity: 1;
}
