@keyframes zoomIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}


@keyframes zoomOut {
    from {
        transform: scale(1);
        opacity: 1;
    }
    to {
        transform: scale(0);
        opacity: 0;
    }
}

.product_item.visible .product_block{
    animation: zoomIn 300ms ease-out forwards;
}
.product_item.hide .product_block{
     animation: zoomOut 300ms ease-in forwards;
}
/**FORM**/
.products-grid-wrapper .collapse{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.filter-count {
  color: #f60;
  font-size: 1.125rem;
  font-style: italic;
}
.collapse_group{
    display: flex;
}
.form_group input:hover, 
.form_group select:hover,
.form_group textarea:hover {
  box-shadow: none;
}
.form_group .button,
.form_group button,
.form_group fieldset,
.form_group input, 
.form_group select, 
.form_group textarea {
  margin-bottom: 0;
}
 .form_group{
  padding: 0 5px;
  color: #636363;
  margin-bottom: 20px;
  flex: 0 0 auto;
    width: auto;
    max-width: 100%;
}
.form_group:first-child{
    padding-left: 0;
}
.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.form_group .form-control {
  padding-left: 15px;
  font-family: Oswald,sans-serif;
  text-transform: uppercase;
   padding-right: 55px;
   background-color: #efefef !important;
   
   display: block;
  width: 100%;
  height: calc(2em + .75rem);
  font-size: 1rem;
  line-height: 2;
  color: #495057;
  background-clip: padding-box;
  border: 0 solid #ced4da;
  border-radius: 0;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
select.form-control:focus{
    box-shadow: none;
}
.form-icon .right ~ .form-control {
 
}


.products-grid-wrapper { 
    max-width:100%;
    margin:0 auto;
/*    padding:20px;*/
width: 100%;
}

.product_wrapper {
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    width: 100%;
}

.product_wrapper.masonry-ready {
    opacity: 1;
}
.product_box{
    height: 100%;
    transition: transform 300ms;
}
.product_item {
/*    width: calc(25% - 10px);*/
    margin-bottom: 10px;
/*    height: 320px;*/
/*    transition: transform 300ms;*/
    padding-left: 5px;
    padding-right: 5px;
}
.product_item:hover .product_box{
    transform: scale(1.03);
    z-index: 2;
}

.product_item.hide {

}
.product_block{
    display: flex;
    position: relative;
    flex-direction: column;
    height: 100%;
    transition: all 300ms;
}


.product_block .image{
    display: block;
    max-height: 100%;
    height: 100%;
}
.product_block a::after {
    content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: auto;
  background-color: rgba(0,0,0,0);
}
.product_block img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}
.product_title{
    position: absolute;
    background: rgba(255,255,255,.8);
  top: auto;
  transition: .3s;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.25rem;
}
.product_title .title{
    margin: 0;
  font-size: 24px;
  transition: .3s;
/*  white-space: nowrap;*/
  overflow: hidden;
/*  text-overflow: ellipsis;*/
  font-weight: 400;
  line-height: 1.2;
  color: #636363;
  text-align: left;
  font-family: Oswald,sans-serif;
}
.product_item:hover .product_title {
    background: rgba(255,102,0,.8);
}
.product_item:hover .product_title .title{
    color: #ffffff;
}
.filter_mobile{
    color: #fff;
    background-color: #f60;
    border-color: #f60;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    width: 100%;
    text-align: center;
    padding: 6px 25px;
    display: none;
    margin-bottom: 20px;
    cursor: pointer;
    text-transform: uppercase;
}
.filter_mobile:hover{
    background-color: #d95700;
    border-color: #cc5200;
    color: #fff;
}


    .product_item.size1 {
        width: 41.66667%;
        height: 415px;
        z-index: 5;
    }
    .product_item.size2 {
        width: 33.33333%;
        height: 320px;
        z-index: 4;
    }
   .product_item.size3 {
        width: 25%;
        height: 320px;
        z-index: 3;
    }
    .product_item.size4 {
        width: 58.33333%;
        height: 570px;
        z-index: 2;
    }
   .product_item.size5 {
        width: 41.66667%;
        height: 475px;
        z-index: 1;
    }
    .grid-sizer {
        width: 2%;
    }
    .grid-sizer {
        width: 8.33333%;
    }
/**SAMPLES**/
.product_item.sample_item .product_title{
    background: transparent;
}
.product_item.sample_item:hover .product_title {
  background: transparent;
}
.product_item.sample_item:hover .product_box {
  transform: none;
  z-index: 2;
}
.product_item.sample_item:hover .product_title .title {
/*  color: inherit;*/
}
.product_item.sample_item .product_box:after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(54,54,54, 1);
    top: 0;
    left: 0;
    transition: all 300ms;
    opacity: 0;
}
.product_item.sample_item:hover .product_box:after{
    opacity: 1;
}
.product_item.sample_item:hover .product_box .title{
    opacity: 1;
}
.product_item.sample_item .product_title .title{
    position: relative;
    z-index: 1;
    color: #ffffff;
    padding-bottom: 10px;
    text-align: center;
    opacity: 0;
    transition: all 300ms;
}
.product_item.sample_item{
    width: 20%;
}
.samples_wrapper .grid-sizer {
    width: 20%;
}
.sample_item.height1 {
  height: 230px;
}
.sample_item.height2 {
  height: 330px;
}
.sample_item.height3 {
  height: 550px;
}

.dotted_divider{
    margin-top: 15px;
  margin-bottom: 25px;
  border-bottom: 4px dotted #f60;
  max-width: 200px;
}

/*****/
.projects_grid_wrapper{
    max-width: 100%;
    margin: 0 auto;
}
.projects_grid_wrapper .form_group{
    padding: 0;
    margin: auto;
    max-width: 330px;
    width: 100%;
}
.projects_grid_wrapper .form_icon{
    position: relative;
}
.projects_grid_wrapper .form_icon .fa-caret-down{
    position: absolute;
    right: 10px;
    top: 0;
    bottom: 0;
    margin: auto;
    display: flex;
    align-items: center;
}
.projects_grid_wrapper .form_icon .fa-caret-down:before{
   content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: all 300ms;
}
.projects_grid_wrapper .form_group .form-control{
    width: 100%;
    color: #636363;
  text-align: center;
  vertical-align: middle;
  font-weight: 400;
  font-family: "PT Sans",sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  border: 2px solid #636363;
  padding-left: 25px;
  padding-right: 25px;
  background-color: #ffffff !important;
  height: 52px;
  box-shadow: none;
  background: transparent;
  cursor: pointer;
  transition: all 300ms;
}
.projects_grid_wrapper .form_group .form-control:hover {
  color: #fff;
  background-color: #636363 !important;
  border-color: #636363;
  box-shadow: none;
  background: #ffffff;
   background: transparent;
}
.projects_grid_wrapper .form_group .form_icon:hover .fa-caret-down:before{
    border-color: #ffffff;
}

.project_home_wrapper{
    display: flex;
    padding-top: 30px;
}
.project_home_wrapper .project_item{
    margin-bottom: 30px;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.post_1_2{
    flex: 0 0 41.66667%;
    max-width: 41.66667%;
    display: flex;
    flex-wrap: wrap;
    padding-right: 15px;
    align-self: flex-start;
}
.post_3_4_5{
    flex: 0 0 58.33333%;
    max-width: 58.33333%;
    display: flex;
    flex-wrap: wrap;
    padding-left: 15px;
    align-self: flex-start;
}
.post_1_2 .project_item:nth-child(1){
    flex: 0 0 100%;
    max-width: 100%;
    height: 415px;
}
.post_1_2 .project_item:nth-child(2){
    flex: 0 0 100%;
    max-width: 100%;
    height: 475px;
}

.post_3_4_5 .project_item:nth-child(1){
    flex: 0 0 58.33333%;
    max-width: 58.33333%;
    height: 320px;
    padding-right: 15px;
}
.post_3_4_5 .project_item:nth-child(2){
    flex: 0 0 41.66667%;
    max-width: 41.66667%;
    height: 320px;
    padding-left: 15px;
}
.post_3_4_5 .project_item:nth-child(3){
    flex: 0 0 100%;
    max-width: 100%;
    height: 570px;
}
.post_1_2.full_width{
     flex: 0 0 100%;
    max-width: 100%;
    gap: 30px;
}
.post_1_2.full_width .project_item:nth-child(1) {
  max-width: 622.5px;
}
.post_1_2.full_width .project_item:nth-child(2) {
  max-width: 496px;
  height: 320px;
}
.projects_grid_wrapper .collapse_group {
    max-height: 100%;
    visibility: visible;
    opacity: 1;
    margin: auto;
    display: flex;
  }
  .link_btn{
      display: flex;
      align-items: center;
      justify-content: center;
      padding-top: 20px;
  }
  .link_btn a{
      color: #636363;
  text-transform: uppercase;
  background-color: transparent;
  border-radius: 0;
  transition: all 300ms;
  padding: .9375rem;
  font-size: .875rem;
  font-weight: 400;
  border: 2px solid #636363;
  font-size: 14px;
  width: 150px;
  text-align: center;
  }
  .link_btn a:hover{
    color: #fff;
    background-color: #636363;
    border-color: #636363;
  }
@media all and (max-width: 1600px) {

    .products-grid-wrapper{
        max-width: 1140px;
    }    
    .product_item.sample_item{
        width: 25%;
    }
    .samples_wrapper .grid-sizer {
        width: 25%;
    }
}
@media all and (max-width: 1200px) {
    .product_item.sample_item{
        width: 33.3333%;
    }
    .samples_wrapper .grid-sizer {
        width: 33.3333%;
    }
}
@media all and (max-width: 1024px) {
    
    .product_item {
        width: calc(33.3333% - 10px);
        margin-bottom: 10px;
        height: 320px;
        transition: transform 300ms;
    }
    .product_title .title{
        font-size: 20px;
    }
    .project_home_wrapper {
        flex-direction: column;
    }
    .post_1_2 {
        max-width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding-right: 0;
        gap: 30px;
    }
    .post_1_2 .project_item:nth-child(1),
    .post_1_2 .project_item:nth-child(2){
        height: 330px;
    }
    .post_3_4_5 {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        width: 100%;
    }
    .post_3_4_5 .project_item:nth-child(1) {
        flex: 100%;
        max-width: 100%;
        height: 330px;
        padding-right: 0;
    }
    .post_3_4_5 .project_item:nth-child(2) {
        flex: 0 0 50%;
        max-width: 50%;
        height: 330px;
        padding-left: 0;
        padding-right: 15px;
    }
    .post_3_4_5 .project_item:nth-child(3) {
        flex: 0 0 50%;
        max-width: 50%;
        height: 330px;
        padding-left: 15px;
    }
    .post_1_2.full_width .project_item:nth-child(2) {
        max-width: 496px;
        height: 330px;
    }
}
@media all and (max-width: 849px) {
    .product_item.size1,
    .product_item.size2,
    .product_item.size3,
    .product_item.size4,
    .product_item.size5{
        width: 50%;
        height: 330px;
    }
    
    .products-grid-wrapper .collapse {
        flex-direction: column;
        padding-bottom: 20px;
    }
    .filter_mobile {
        display: block;
 
    }
    .collapse_group {
        display: grid;
        grid-auto-columns: auto;
        grid-template-columns: 1fr 1fr 1fr;
        width: 100%;
        max-height: 0;
        visibility: hidden;
        transition: all 300ms;
        opacity: 0;
        grid-gap: 10px;
    }
    .collapse_group.open{
        max-height: 500px;
        visibility: visible;
        opacity: 1;
    }
    .form_group {
        padding: 0;
        margin-bottom: 10px;
    }
    .filter-count {
        margin-left: auto;
        padding-right: 3px;
    }
    .product_item {
        width: calc(50% - 10px);
        margin-bottom: 10px;
        height: auto;
    }
    .project_home_wrapper{
        max-width: 500px;
        margin: auto;
    }
    .post_1_2,
    .post_3_4_5{
        gap: 30px;
        display: flex;
        width: 100%;
        margin: auto;
        gap: 0;
    }
    .post_3_4_5 .project_item:nth-child(2),
    .post_3_4_5 .project_item:nth-child(3){
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    .post_1_2.full_width .project_item:nth-child(2),
    .post_1_2.full_width .project_item:nth-child(1){
        max-width: 100%;
    }
    .product_item.sample_item{
        width: 50%;
    }
    .samples_wrapper .grid-sizer {
        width: 50%;
    }
    
}
@media all and (max-width: 679px) {
    .collapse_group {
        grid-template-columns: 1fr;
    }
    .product_item {
        width: 100%;
        margin-bottom: 10px;
        height: auto;
    }
    .product_item.sample_item{
        width: 100%;
    }
    .samples_wrapper .grid-sizer {
        width: 100%;
    }
}
@media all and (max-width: 575px) {
    .product_item.size1,
    .product_item.size2,
    .product_item.size3,
    .product_item.size4,
    .product_item.size5{
        width: 100%;
        height: 330px;
        padding-left: 0;
        padding-right: 0;
    }
}

   