body {
  font-family: sans-serif;
   margin: 0;
   background: #f2f2f2;
}

h1 {
  text-align: center;
  margin-top: 50px;
}

p {
  text-align: center;
  margin-bottom:60px;
}

h4{
  text-align:center; 
  line-height:80px;
  font-weight:normal;

}

.masonry { /* Masonry container */
    -webkit-column-count: 5;
  -moz-column-count:5;
  column-count: 5;
  -webkit-column-gap: 1em;
  -moz-column-gap: 1em;
  column-gap: 1em;
   margin: 1.5em;
    padding: 0;
    -moz-column-gap: 1.5em;
    -webkit-column-gap: 1.5em;
    column-gap: 1.5em;
    font-size: .85em;
}    
.item {
    display: inline-block;
    background: #fff;
    padding: 1em;
    margin: 0 0 1.5em;
    width: 100%;
	-webkit-transition:1s ease all;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-shadow: 2px 2px 4px 0 #ccc;
}
.item img{max-width:100%; height: auto}

@media only screen and (max-width: 320px) {
    .masonry {
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
    }    
}

@media only screen and (min-width: 321px) and (max-width: 768px){
    .masonry {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }  
}
@media only screen and (min-width: 769px) and (max-width: 1200px){
    .masonry {
        -moz-column-count: 5;
        -webkit-column-count: 5;
        column-count: 5;
    }   
}
@media only screen and (min-width: 1201px) {
    .masonry {
        -moz-column-count: 5;
        -webkit-column-count: 5;
        column-count: 5;
    } 
}


/* cc */
.cc_container {
    position: fixed;
    left: 0;
    right: 0;
    top: 10px;
    overflow: hidden;
    padding: 10px;
    font-size: 1.2em !important;
}
.cc_banner-wrapper > div.cc_banner.cc_container.cc_container--open {
    height: 80px;
    margin: 3em;
    background: #ddd;
    color: #333;
    font-size: 2em;
}
.cc_container .cc_btn, .cc_container .cc_btn:visited {
    color: #000;
    background-color: #999;
    transition: background 200ms ease-in-out, color 200ms ease-in-out, box-shadow 200ms ease-in-out;
    -webkit-transition: background 200ms ease-in-out, color 200ms ease-in-out, box-shadow 200ms ease-in-out;
    border-radius: 0px !important;
    -webkit-border-radius: 0px;
}
.cc_container .cc_btn, .cc_container .cc_btn:visited {
    color: #eee !important;
    background-color: #666 !important;
    overflow: hidden;
    width: 300px;
    text-decoration: none;
}
.cc_more_info {
    color: #333 !important;
}
a.cc_more_info {
    color: #f7f7f7 !important;
    text-decoration: none !important;
}
.cc_banner-wrapper {
    z-index: 1050 !important;
    position: relative;
}
/* cc*/


/* Cube portfolio */
.cbp-filter-item .nav-link {
  cursor: pointer;
  font-size: 13px;
  color: #a4a4a4;
  /* display: inline-block !important; */
  float: left !important;
  margin: 15px !important;
}

.cbp-filter-item.cbp-filter-item-active .nav-link {
  color: #333;
}

.frame {
border: 20px solid tomato !important;
}

.cbp-item-off {
    display: block !important;
}