 

                            /*Full layout css*/

                            

.mif_full_top

  {

  float:left;

  width:100%;

  clear:both; 

  }

.mif_full_top .mif_header_title

  {

  margin-top:0px !important;  

  }

.mif_full_img img

  {
 height: auto !important;
 width: 100%;


  } 

.mif_full_top .mif_caption

  {

  padding-left:0px;

  padding-bottom:5px; 

  }

.mif_full_layout .mejs-video, .mif_full_layout .wp-video

  {

      width: 100% !important; 

  }   

                            /*Masonary layout css*/



.mif_single.mif_masonary_layout { padding: 0px !important;   margin: 0px !important;}

/* clear fix */
.mif_masonary_main:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .grid-item ---- */

.grid-sizer,
.mif_masonary_layout {
  width: 33.333%;
}

.mif_masonary_layout {
  float: left;
}

.mif_masonary_layout img {
  display: block;
  max-width: 100%;
}


.mif_masonary_layout video::-webkit-media-controls

  {

  position:static !important;

    

  }

.mif_masonary_layout .mif_likes, .mif_masonary_layout .mif_coments 

  {

     -moz-transition: all ease-in .5s !important;

    -ms-transition: all ease-in .5s !important;

    -o-transition: all ease-in .5s !important;

    -webkit-transition: all ease-in .5s !important;

    transition: all ease-in .5s !important;

  } 

.mif_masonary_layout:hover .mif_likes, .mif_masonary_layout:hover .mif_coments {

    opacity: 0;

     -moz-transition: all ease-in .5s !important;

    -ms-transition: all ease-in .5s !important;

    -o-transition: all ease-in .5s !important;

    -webkit-transition: all ease-in .5s !important;

    transition: all ease-in .5s !important;

}   

.mif_masonary_layout .mif_fulls

  {

    opacity: 0;

    visibility: hidden;

    position: absolute;

    width: 100%;

    height: 100%; 

  } 

  

.mif_feeds_holder 

  {

      float: left;

    width: 100%;

    clear: both;

  }



@media only screen and (max-width: 768px) {

    .mif_grid_left, .mif_grid_right, .mif_grid_layout {

        width: 100% !important;

    margin-bottom:5px;

    }

} 

.grayscale {
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
}
.sepia{
   -webkit-filter: sepia(1);
  filter: sepia(1);
}
.saturate{
   -webkit-filter: saturate(8);
  filter: saturate(8);
}
.hue{
-webkit-filter: hue-rotate(90deg);
  filter: hue-rotate(90deg);
}
.invert{
  -webkit-filter: invert(.8);
  filter: invert(.8);
}
.brightness{
   -webkit-filter: brightness(3);
  filter: brightness(3);
}
.contrast{
   -webkit-filter: contrast(4);
  filter: contrast(4);
}
.animate_filter{
  -webkit-animation: filter-animation 5s infinite;
}

@-webkit-keyframes filter-animation {
  0% {
    -webkit-filter: sepia(0) grayscale(2);
  }
  
  50% {
    -webkit-filter: sepia(1) grayscale(8);
  }
  
  100% {
    -webkit-filter: sepia(0) grayscale(2);
  }
}
.mif_wrap.mif_ver_free .mif_grid_layout .mif_content_holder {    top: 50%;     transform: translateY(-50%);}
.mif_error{    padding: 10px;
    background: #ed6d62;
    color: #fff;
    font-size: 14px;}

.fancybox-container .fancybox-content{  padding: 0px !important;  margin: 30px 0px !important;}
.fancybox-container .post { width: 70%;overflow: auto;background: #000; }
.fancybox-container .post img, .fancybox-container .post video { max-width: 100%;     margin: 0 auto;
    float: none;
    display: table;    }
.fancybox-container .caption {      cursor: auto;   width: 400px ;
      position: relative;
    overflow: auto;
    padding: 15px 10px;
    padding-bottom: 0; }
.fancybox-container .caption .efbl_popup_caption_inner{
      position: absolute;
    top: 0;
    right: 0;
    overflow: auto;
    width: 100%;
    min-height: 200px;
}   
.fancybox-container .caption .efbl_popup_caption_inner_wraper{
    padding: 20px 10px;
    float: left;
    width: 100%;
}
.mif_wrap .mif_grid_layout .mif_feed_popup_pro{
      float: left;
    width: 100%;
    height: 100%;
}
.fancybox-container .main-pop { display: flex; }
.fancybox-container .efbl_author_info{    float: left;width: 100%;}
.fancybox-container .efbl_auth_logo{    float: left; margin-right: 5px;}
.fancybox-container .efbl_auth_logo img{    float: left;width: 62px;margin-top: -8px;}
.fancybox-container .efbl_name_date{    float: left;}
.fancybox-container .efbl_name_date .efbl_author_name{    margin: 0; font-size: 15px;}
.fancybox-container .efbl_name_date .efbl_author_name a{    color: #ed6d62; font-weight: bold;}
.fancybox-container .efbl_story_time{margin: 0;font-size: 11px;color: #9197a3;}
.fancybox-container .efbl_popup_caption{    float: left;width: 100%;font-size: 15px;color: #444;margin: 10px 0;}
.fancybox-container .efbl-likes-popup-holder {    max-width: 52% !important;width: 32%;padding: 10px !important;border-radius: 3px;transform: translateY(-50px);transition: all .33s;
}
body .fancybox-container .fancybox-close-small{    color: #888;font-weight: 300;text-align: center;transition: background .25s;}
body .fancybox-container .fancybox-close-small:hover {
    color: #555;
    background: #eee;
}
.mif_main-pop, .mif_replies_modal { 
    display: flex; 
   .mif_post{
     width: 70%;
         overflow: auto;
    background: #000;
      img{
          max-width: 100%;
        margin: 0 auto;
        float: none;
        display: table;
        width: 100%;
      }
   } 
   .mif_popup_caption {

   .mif_popup_caption_inner{
       position: absolute;
       top: 0;
    right: 0;
        overflow: auto;
    width: 100%;
      min-height: 200px;

        .mif_popup_caption_inner_wraper{
        padding: 15px 10px;
        }
   }
    cursor: auto;
    width: 400px;
    padding: 15px 10px;
    padding-bottom: 0;
    position: relative;
    overflow: auto;
    .mif_author_info{
        .mif_auth_logo{
              float: left;
              margin-right: 15px;

              img{
                float: left;
                width: 60px;
                margin-top: -8px;
                border-radius: 50%;
              }
        }
      .mif_name_date{
        float:left;
          .mif_author_name{
              margin: 0;
            font-size: 15px;
              a{
                color: #ed6d62;
                font-weight: bold;
                    text-decoration: none;
              }
          }
          .mif_story_time{
              margin: 0;
            font-size: 11px;
            margin-top: -5px;
            color: #9197a3;
          }
        }  
      }  
    }

  .mif_popup_text{
    float: left;
    clear: both;
    font-size: 15px;
    color: #444;
    margin: 10px 0;
  } 
  .mif_popup_meta_holder{
  float: left;
    width: 100%;

  }
  .mif_popup_meta_like_share{
      float: left;
    width: 100%;
    text-align: left;
    margin-top: 10px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
       padding: 10px 10px 5px 10px;
    background: #f6f7f9;

    .mif_popup_likes_holder{
        float: left;
     padding-right: 20px;
      img{
            width: 30px;
         float: left;
      }
      span{
         margin-top: 4px;
      float: left;
      }
    }  
  }
  .mif_popup_comments_holder{
      float: left;
color: #4b4f52;
      i{
          font-size: 15px;
      }
      span{
          font-size: 18px;
      }
  }
  .mif_popup_meta_right{
      float: right;

        a{
          font-size: 14px;
          color: #4b4f52;
          text-decoration: none;
          transition:all ease-in-out .5s;
        }
         a:hover{
             color: #0073aa;
             transition:all ease-in-out .5s;
         }
  }
  .mif_popup_all_comments{
      float: left;
    width: 100%;
        margin-top: 10px;
    overflow: auto;   
    .mif_popup_comment_holder.show{
      opacity: 1;
  transform: translateX(0%);
    }

      .mif_popup_comment_holder{
        transform: translateX(-100%);
  transition: transform 0.5s, opacity 2s;
  opacity: 0;
      float: left;
      width: 100%;
      margin-bottom: 20px;
        a.mif_comment_icon{
            float: left;
             width: 10%;
            .fa-comment{
            color: #fff;
            background: #444;
            padding: 5px;
            border-radius: 50%;
            font-size: 16px;
            }
            .mif_comment_time_popup{
              font-size: 12px;
              margin-top: -5px;
              float: left;
                  color: #4b4f52;
            }
        }

        .mif_comment_msg{
            float: left;
          overflow-wrap: break-word;
          font-size: 14px;
          color: #4b4f52;
          width: 90%;
          background-color: #f2f3f5;
          border-radius: 18px;
          padding: 8px 10px;

            .mif_commenter{
                color: #385898;
                font-weight: bold;
                margin-right: 10px;
                text-decoration: none;
                transition:all ease-in-out .5s;
                &:hover{
                  color: #4b4f52;
                  transition:all ease-in-out .5s;
                }
            }
        }
      }
      .mif_comment_meta{
           margin-left: 13%;
          float: left;
          font-size: 12px;
          color: #4b4f52;
          margin-top: 2px;
      }
      .mif_comment_likes_count, .mif_comment_reply_count, .mif_comment_time{
        margin-right:10px;
          .fa-heart{
          font-size: 10px;
          margin-right: 3px;

            .mif_popup_c{
            font-size: 12px;
            }
          }
      }
  }
}
.fancybox-container .fotorama__html .carousel-item{
      display: block !important;
}
.fancybox-container .mif_replies_modal
{
    max-width: 500px;
      cursor: auto;
    max-height: 400px;
    overflow: auto;
        padding: 10px !important;
  .mif_popup_all_comments{
margin-top: 0;
      
      h4{
          margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    padding-bottom: 15px;
    font-weight: 400;
      }
  }      
}
.fotorama__nav--thumbs .fotorama__nav__frame:last-child{
    padding-right: 2px !important; 
}
.fotorama__nav--thumbs .fotorama__nav__frame:first-child{
        padding-left: 2px !important;
}
@media(min-width: 768px){
     .mif_main-pop .mif_post .mif-popup-carousel-container{
    min-width: 700px;
    }
}
@media(max-width: 768px){
    .mif_main-pop{
            display: block;
    }
    .mif_main-pop .mif_post, .mif_main-pop .mif_popup_caption{
        width: 100%;
            padding: 0;
    }
    .mif_main-pop .mif_popup_caption .mif_popup_caption_inner
    {
            position: relative;
    }
    .mif_main-pop .mif_popup_caption .mif_author_info .mif_auth_logo img{
        width: 50px;
    }
    .mif_main-pop .mif_popup_meta_like_share .mif_popup_likes_holder img{
        margin-top: 5px;
    }
    .mif_main-pop .mif_popup_meta_like_share .mif_popup_likes_holder span{
        margin-top: 0px;
    }
}