.curated-page {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-flex-direction: row;
	flex-direction: row;
	width: 100%;
	margin: 0 auto 20px auto;
}
.curated-page .row-content {
	margin: 9px 10px 9px 9px;
	overflow: hidden;
	position: relative;
}
.curated-page .row-content:empty {
	height: 0px !important;
	min-height: 0px !important;
}

/* Mobile */
@media only screen and (max-width: 767px) {
	.curated-page .s-25,
	.curated-page .s-30,
	.curated-page .s-40,
	.curated-page .s-50,
	.curated-page .s-75,
	.curated-page .s-100{
		width: calc(100% - 19px);
	}
}
/* Tablet Vertical */
@media only screen and (min-width: 768px) and (max-width: 991px) {
	.curated-page .s-25,
	.curated-page .s-30,
	.curated-page .s-40,
	.curated-page .s-50,
	.curated-page .s-75 {
		width: calc(50% - 19px);
	}
	.curated-page .s-100 {
		width: calc(100% - 19px);
	}
}
/* Tablet Horizontal */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
	.curated-page .s-25 {
		width: calc(25% - 19px);
	}
	.curated-page .s-25.rch-1.make-room-for-ad {
		width: calc(25% - 40px);
	}
	.curated-page .s-30,
	.curated-page .s-40 {
		width: calc(33.333% - 19px);
	}
	.curated-page .s-50 {
		width: calc(50% - 19px);
	}
	.curated-page .s-75 {
		width: calc(75% - 19px);
	}
	.curated-page .s-100 {
		width: calc(100% - 19px);
	}
}
/* Desktop */
@media only screen and (min-width: 1200px) {
	/* Grid */
	.curated-page .s-25,
	.curated-page .s-30 {
		width: calc(25% - 19px);
	}
	.curated-page .s-40,
	.curated-page .s-50 {
		width: calc(50% - 19px);
	}
	.curated-page .s-75 {
		width: calc(75% - 19px);
	}
	.curated-page .s-100 {
		width: calc(100% - 19px);
	}
}

/******************************************************************************
 *
 * BUFFALO NEWS ONLY STYLES
 *
 *  - should be moved somewhere else (theme)
 *
 ******************************************************************************/
.curated-page .hr {
	height: 0px;
	width: 100%;
	border-top: 1px solid #cccccc;
	margin-top: 15px;
	padding-bottom: 15px;
	display: none;
}

.curated-page div.hr:last-of-type {
	display: none !important;
}
#bnad-1 {
	border-top: none;
	border-bottom: none;
}
/* Mobile */
@media only screen and (max-width: 767px) {
	.curated-page .hr {
		display: none !important;
	}
	.curated-page .row-content {
		margin: 9px 0px;
		width: 100%;
	}
	.curated-page #bnAdBlock-boxmedium-1,
	.curated-page #bnAdBlock-boxmedium-2,
	.curated-page #bnAdBlock-boxmedium-3 {
		padding: 0px;
	}
	/* Switching */
	.curated-page[data-template-style="style1"] #ttk-1 {
		order: -1 !important;
	}
	.curated-page[data-template-style="style1"] #bnad-1 {
		order: 6 !important;
	}
	.curated-page[data-template-style="style2"] #bnad-1 {
		order: 6 !important;
	}
}
/* Tablet Vertical */
@media only screen and (min-width: 768px) and (max-width: 991px) {
	.curated-page[data-template-style="style1"] .tablet-hr,
	.curated-page .desktop-hr {
		display: block;
	}
	.curated-page[data-template-style="style1"] .desktop-hr ~ .desktop-hr,
	.curated-page[data-template-style="style1"] .tablet-hr:last-of-type {
		display: none !important;
	}
	.curated-page[data-template-style="style1"] #bnad-1 {
		border-top: 1px solid #ccc;
		height: auto;
		padding-top: 20px;
	}
	.curated-page #bnAdBlock-boxmedium-1 {
		padding: 0px
	}
	/* Switching */
	.curated-page[data-template-style="style1"] #bnad-1 {
		width: calc(100% - 6px);
		order: 6 !important;
	}
	/*
	.curated-page[data-template-style="style2"] #bnad-1 {
		order: 4 !important;
		width: 100%;
		height: auto;
	}
	.curated-page[data-template-style="style2"] #ttk-1 {
		order: 2 !important;
	}*/
}
/* Tablet Horizontal */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
	.make-room-for-ad {

	}
	.curated-page[data-template-style="style1"] .s-50:first-of-type {
		width: calc(75% - 19px);
	}
	.curated-page .s-50.rch-1,
	.curated-page[data-template-style="style2"] .s-75:first-of-type {
		width: calc(100% - 19px);
	}
	/* Switching */
	.curated-page[data-template-style="style1"] #bnad-1,
	.curated-page[data-template-style="style2"] #bnad-1 {
		width: calc(100% - 6px);
		order: 4 !important;
		border-top: 1px solid #cccccc;
		padding-top: 20px;
	}
	.curated-page[data-template-style="style2"] #bnad-1 {
		order: 2 !important;
	}
	/* Other */
	.curated-page .s-50.rch-1,
	.curated-page .s-25.rch-1 {
		min-height: 250px;
	}
	.curated-page .desktop-hr {
		display: block;
	}
}
/* Desktop */
@media only screen and (min-width: 1200px) {
	.curated-page .desktop-hr {
		display: block;
	}
	/* Other */
	.curated-page .row-content {
		margin: 9px 8px 9px 8px;
	}
}