@charset "utf-8";
/* CSS Document */


*,
*:before,
*:after {
  box-sizing: border-box;
}


.main-galereia{
  display: flex;
  flex-wrap: wrap;
}

.main-galereia {
  display: inline-grid;
  margin: 20px auto;
	padding: 30px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: minmax(150px, auto);
 grid-gap: 30px;
}

block-main-galereia {
  /* needed for the flex layout*/
  margin-left: 15px;
  margin-right: 15px;
  flex: 1 1 200px;
}
.main-grid-image{
   border: 2px solid silver;
	border-radius: 0.25em; margin:0; padding:0; height:auto; max-width:100%;}

.foto-gallery {
	
  display: inline;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-auto-rows: minmax(auto, auto);
	margin: 10px;
	text-align: center;
}




/* We need to set the margin used on flex items to 0 as we have gaps in grid.  */

@supports (display: grid) {
  .main-galereia > * {
    margin: 0;
  }
}