.bg-image {
	background-size: cover;
	background-position: 50% 50%;
	background-attachment: fixed;
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px)  {
	.bg-image {
		background-attachment: scroll;
	}
}

.flex-content p {
	width: 100%; /* necessary to "clear" flex */
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
	.flex-content {
		width: 540px;
	}
}
/* different rules for margins */
@media (max-width: 768px) {
	.flex-content {
		margin-left: auto;
		margin-right: auto;
	}
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.flex-content {
		width: 360px;
	}
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.flex-content {
		width: 480px;
	}
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	.flex-content {
		width: 570px;
	}
}

/* X-Small devices (landscape phones, 575px and down) */
@media (max-width: 575px) {
	.flex-content {
		width: 100%;
	}
	.bg-image{
	background-size: cover;
	background-position: 20% 0%;
	background-attachment: inherit;
	}
}

.block-image {
	min-height: 370px;
	background-size: cover;
	background-position: 50% 50%;
}

@media (max-width: 576px) {
	.block-image {
		background-size: contain;
		background-repeat: no-repeat;
	}
}

.values-icons {
	width: 80px;
	height: 80px;
	margin-bottom: 1em;
}
