/*

body {
  width: 80%;
  margin: 30px auto;
  font-family: sans-serif;
}

h3 {
  text-align: center;
  font-size: 1.65em;
  margin: 0 0 30px;
}
*/

div.ad_grid_container {
  display: flex;
  flex-wrap: wrap;
}

a.ad_grid_element {
  display: inline-block;
  margin-bottom: 8px;
  width: calc(50% - 4px);
  margin-right: 8px;
  text-decoration: none;
  color: black;
}

a.ad_grid_element:nth-of-type(2n) {
  margin-right: 0;
}

@media screen and (min-width: 50em) {
  a.ad_grid_element {
    width: calc(25% - 6px);
  }
  
  a.ad_grid_element:nth-of-type(2n) {
    margin-right: 8px;
  }
  
  a.ad_grid_element:nth-of-type(4n) {
    margin-right: 0;
  }
}

a.ad_grid_element:hover img {
  transform: scale(1.15);
  transform: scale(1.05);
}

figure {
  margin: 0;
  overflow: hidden;
}

figcaption {
  margin-top: 15px;
  margin-top: 10px;
}

img {
  border: none;
  max-width: 100%;
  height: auto;
  display: block;
  background: #ccc;
  transition: transform .2s ease-in-out;
}

.p a {
  display: inline;
  font-size: 13px;
  margin: 0;
  text-decoration: underline;
  color: blue;
}

.p {
  text-align: center;
  font-size: 13px;
  padding-top: 100px;
}





/* 
**************************** 
Twenty Fourteencontent width
https://wordpress.org/support/topic/content-width-4
****************************
*/
.site-content .entry-header, 
.site-content .entry-content, 
.site-content .entry-summary, 
.site-content .entry-meta, 
.page-content 
{	
	max-width: 1004px !important; /* put the width you like here */
}


.site-content .entry-header, 
.site-content .post-navigation, 
.site-content .comments-area, 
.site-footer .site-info
{
	display: none;
}

.entry-meta {
	display: none;
	
}
