/*
Theme Name: JAP
Description: Child-Theme for Twentyseventeen
Author: Torge Joerrens
Author URI: https://www.joerrens.se
Template: twentyseventeen
Version: 1.0
*/


#primary .entry-header,
#primary .entry-content {
    float: none;
    width: 100%;
}

.teaserBox {
	width: 100%;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: -moz-flex;
	display: flex;
	-webkit-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
}

.teaserBox > h2 {
	width: 100%;
}
	
.product {
	text-align: center;
	padding: 10px;
	width: 50%;
}

.product img {
	height: 300px;
}

.product h2 {
	height: 100px;
}

.product .description {
	min-height: 90px;
}

button {
	font-weight: normal;
	font-size: 13px;
}

.entry-content ul {
	margin-left: 20px !important;
}

.site-info {
	width: 80%;
}

@media screen and (min-width: 48em) {
	#primary .entry-header,
	#primary .entry-content {
	    float: none !important;
	    width: 100% !important;
	}
}

/* Small screen / tablet / 760px to 991px */
@media (max-width: 991px) {
	.product {
		width: 100%;
	}
}

/* Smaller screen / tablet+phone / 480px to 759px */
@media (max-width: 759px) {
	.product {
		width: 100%;
	}
}

/* Extra small screen / smartphone / 280px to 479px */
@media (max-width: 479px) {
	.product {
		width: 100%;
	}
}