/*
 Theme Name:   SquarePress
 Theme URI:    https://hashthemes.com/wordpress-theme/squarepress/
 Description:  SquarePress is a flexible responsive multipurpose theme compatible with all browsers and devices, fully mobile friendly, loaded with lots of features. It is a minimal theme based on WordPress Customizer that allows you to customize with live preview. The theme can be used for business, corporate, digital agency, personal, portfolio, photography, parallax, blogs and magazines. Square is eCommerce (WooCommerce) Compatible, Polylang Compatible, WPML, RTL, Retina Ready, SEO Friendly and Support bbPress and BuddyPress. More over it is a complete theme. For demo https://demo.hashthemes.com/squarepress
 Author:       HashThemes
 Author URI:   https://hashthemes.com
 Template:     square
 Version:      1.1.18
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         two-columns, right-sidebar, custom-background, custom-menu, editor-style, featured-images, footer-widgets, theme-options, threaded-comments, translation-ready, portfolio, education, blog, custom-logo
 Text Domain:  squarepress
 Tested up to: 6.9
 Requires PHP: 7.2
*/

/*wordpress lightbox*/

/*wordpress gutenberg gallery*/
.wp-block-gallery{margin: 0 auto;}
@media only screen and (max-width: 640px) {
    .wp-block-gallery{ max-width: 100%;}
}

.wp-block-gallery img{box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);border-radius: 2px;border: 2px solid white;

}
.wp-block-gallery img:hover{ box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}


/* Responsive gallery fix  */

@media screen and (max-width: 900px) {
.wp-block-gallery .blocks-gallery-item{
   width: calc((100% - 16px)/1);  /*1 column */
  }
}


/*gutenberg category list publication in page*/
.single-entry-content .wp-block-latest-posts__post-excerpt{font-size: 0.8em;}
.single-entry-content .wp-block-latest-posts__post-title{font-size: 0.96em;line-height: 1.2em;text-transform: uppercase;}

.single-entry-content .wp-block-latest-posts__list li{background:#F0F0F0;transition: all 0.3s cubic-bezier(.25,.8,.25,1)}
.single-entry-content .wp-block-latest-posts__list li:hover{box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);}
.single-entry-content .wp-block-latest-posts__featured-image,.wp-block-latest-posts__post-title, .wp-block-latest-posts__post-excerpt 
{padding:1em;}

/*.wp-block-latest-posts__list a.wp-block-latest-posts__post-title{white-space: pre-wrap!important;padding:1em;}*/

.single-entry-content a.wp-block-latest-posts__post-title{padding-left: 1em;
  
  display: inline-block;}

/*widget area*/
.widget-area .wp-block-latest-posts__post-title{padding-left:0!important}
.widget-area .wp-block-heading {color:#B6682F;text-decoration: underline;}

/*search button cilor, button color*/
.wp-element-button, .wp-block-button__link {background: #B6682F!important}

/*footer*/

#sq-colophon a{
  color: #FFF!important;
}
#sq-colophon {
  color: #FFF!important; background: #B6682F;
}


/*leaflet map*/
#mapid{box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);border-radius: 4px;border: 6px solid white;}

#mapid:hover{ box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);}