/*
Theme Name: Ensaf
Theme URI: https://wordpress.themeholy.com/ensaf
Author: Themeholy
Author URI: https://themeforest.net/user/themeholy
Description: Ensaf - Law Agency WordPress Theme
Version: 1.0.0
License: GNU General Public License v2 or later 
License URI: LICENSE
Text Domain: ensaf
Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready
Requires at least: 5.0
Tested up to: 5.8
Requires PHP: 7.4

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others. 

*/ 

/* Header sub-menu icon */
.hide-icon.main-menu ul.sub-menu li a:before {
    display: none;
}
.hide-icon.main-menu ul.sub-menu li a:hover {
    padding-left: 0;
}

.widget.no-banner-widget {
    padding: 0;
    background-color: transparent;
    margin-bottom: 0px;
    position: relative;
    border-radius: 0px;
    border: 0px solid transparent;
}


.blog-navigation .nav-btn.next {
	display: flex;
	justify-content: end;
	width: 100%;
}

/*--------------------------------------------------------------
# Gallery / Portfolio 8-Image Grid Alignment (Enfoque Legal)
--------------------------------------------------------------*/
.masonary-active {
  display: flex !important;
  flex-wrap: wrap !important;
  position: static !important;
  height: auto !important;
}
.masonary-active .filter-item {
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
}
@media (min-width: 992px) {
  .masonary-active .filter-item:nth-child(1) { width: 25% !important; flex: 0 0 25% !important; max-width: 25% !important; }
  .masonary-active .filter-item:nth-child(2) { width: 33.333% !important; flex: 0 0 33.333% !important; max-width: 33.333% !important; }
  .masonary-active .filter-item:nth-child(3) { width: 25% !important; flex: 0 0 25% !important; max-width: 25% !important; }
  .masonary-active .filter-item:nth-child(4) { width: 16.666% !important; flex: 0 0 16.666% !important; max-width: 16.666% !important; }

  .masonary-active .filter-item:nth-child(5) { width: 16.666% !important; flex: 0 0 16.666% !important; max-width: 16.666% !important; }
  .masonary-active .filter-item:nth-child(6) { width: 25% !important; flex: 0 0 25% !important; max-width: 25% !important; }
  .masonary-active .filter-item:nth-child(7) { width: 33.333% !important; flex: 0 0 33.333% !important; max-width: 33.333% !important; }
  .masonary-active .filter-item:nth-child(8) { width: 25% !important; flex: 0 0 25% !important; max-width: 25% !important; }
}
@media (max-width: 991.98px) and (min-width: 576px) {
  .masonary-active .filter-item {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}
@media (max-width: 575.98px) {
  .masonary-active .filter-item {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}
.gallery-card, .gallery-card .gallery-img, .gallery-card .gallery-img img {
  height: 100% !important;
}
.gallery-card .gallery-img img {
  object-fit: cover !important;
}
