/* Set Box sizing for all divs and elements to control widths and padding etc */

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

/* Font Smoothing */

html,
body {
	height: 100%;
	font-variant-ligatures: none;
	-webkit-font-variant-ligatures: none;
	text-rendering: optimizeLegibility;
	-moz-osx-font-smoothing: grayscale;
	font-smoothing: antialiased;
	-webkit-font-smoothing: antialiased;
	text-shadow: rgba(0, 0, 0, .01) 0 0 1px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	padding-top: 10px;
	margin-bottom: 25px;
	font-weight: 700;
	position: relative;
}

h2 {
	margin-bottom: 35px;
}

h1:after,
h2:after {
	content: '';
	background-color: #7CB091;
	height: 5px;
	width: 125px;
	position: absolute;
	bottom: -10px;
	left: 0;
	right: 0;
	margin: 0;
}

h1.center,
h2.center {
	text-align: center;
}

h1.center:after,
h2.center:after {
	margin: auto;
}

/*
.home h1:after,
h2:after {
	content: '';
	display: block;
	width: 100px;
	height: 5px;
	background: #ACBAB7;
	margin: 5px 0 0;
}

.rw-dark-bg h2:after {
	background: #fff;
}
*/

p {
	font-size: 20px;
	margin: 0 0 25px;
	line-height: 1.5;
}

ul,
ol {
	margin-bottom: 30px;
}

li {
	font-size: 18px;
}

a {
	-webkit-transition: background 0.2s ease-in-out;
	-moz-transition: background 0.2s ease-in-out;
	-ms-transition: background 0.2s ease-in-out;
	-o-transition: background 0.2s ease-in-out;
	transition: background 0.2s ease-in-out;
}

/*p:last-child {
    margin: 0;
}*/

@media (min-width: 320px) {

	h1 {
		font-size: 26px;
	}

	h2 {
		font-size: 22px;
	}

	h3 {
		font-size: 18px;
	}

	h4 {
		font-size: 17px;
	}

	h5 {
		font-size: 16px;
	}

	h6 {
		font-size: 15px;
	}

	p {
		font-size: 14px;
	}

	li {
		font-size: 14px;
	}

}

@media (min-width: 480px) {

	h1 {
		font-size: 28px;
	}

	h2 {
		font-size: 24px;
	}

	h3 {
		font-size: 20px;
	}

	h4 {
		font-size: 18px;
	}

	h5 {
		font-size: 18px;
	}

	h6 {
		font-size: 16px;
	}

	p {
		font-size: 16px;
	}

	li {
		font-size: 16px;
	}

}

@media (min-width: 800px) {

	h1 {
		font-size: 36px;
	}

	h2 {
		font-size: 32px;
	}

	h3 {
		font-size: 28px;
	}

	h4 {
		font-size: 26px;
	}

	h5 {
		font-size: 24px;
	}

	h6 {
		font-size: 22px;
	}

	p {
		font-size: 20px;
	}

	li {
		font-size: 20px;
	}

}

@media (min-width: 1100px) {

	h1 {
		font-size: 40px;
	}

	.home h2 {
		font-size: 40px;
	}

}