/* Set all to block display */
.adslot_container,
.adslot_container .adsbygoogle {
	display: block;
	line-height: 0;
	text-align: center;
	height: 100%;
}

/* Define ad container for overview dynamic insertion, */
.content.jplist .adslot_container {
	width: 100%;
	max-width: 100%;
	padding: 2% 2.5%;
	border-bottom: dashed 1px #ddd;
	box-sizing: border-box;	
}

.content.jplist .adslot_container .adsbygoogle {
	height: 128px;
	max-width: 100%;
}

/* Define ad container for header and footer ads, let google determine ad size within */
.adslot_container[id*="Header"],
.adslot_container[id*="Footer"] {
	max-width: 900px;
	width: 100%;
	height: 90px;
}

/* Define ad container for in-content ads */
.content .adslot_container {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 768px;
	gap: 5px;
  align-items: center;
 	padding: 20px 0;
	border-bottom: 1px solid lightgrey; 
}

/* Define ad size for in-content ads */
.content .adslot_container .adsbygoogle {
	width: 100%;
	max-width: 768px;
}

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

	.adslot_container[id*="Header"] {
			height: 50px;
	}

}