/*
font-family: 'Roboto Slab', serif;
font-family: 'Open Sans', sans-serif;
*/

body {
	margin: 0;
	padding: 0;
	font-size: 18px;
	color: #31353e;
	background-color: #edeff1;
	font-family: 'Roboto Slab', serif;
}

h1 {
	font-size: 36px;
}

h2 {
	font-size: 30px;
}

h3 {
	font-size: 24px;
}

/* Header */

.navigation {
	max-width: 1170px;
	margin: 0 auto;
	height: 150px;
	display: flex;  
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
}

.sec_logo {
	position:relative;
	bottom: 10px;
	display: inline-block;
	margin-left: 14px;
	text-align: left;
	line-height: 0.3rem;
}

.nav a {
	color: #31353e;
	text-decoration: none;
	padding: 14px;
	margin: 0 6px;
	background-color: none;
}


.nav a:hover{
	background-color: #dd4b2b;
	color:white;
	border-radius: 25px;
	padding: 14px;
	margin: 0 6px;
}

/* Main */

main {
	background: url(../img/back.jpg) no-repeat 50% 0;
	height: 1321px;
}

.logo {
	padding-top: 465px;
	color: white;
	text-align: center;
	text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.4);
	margin-bottom:60px
}

.integer {
	font-size: 72px;
	font-weight: 300;
}

.finibus {
	font-weight: 700;
	font-size: 30px;
}

.flex1 {
	display: flex;  
	flex-flow: row nowrap;
	justify-content: space-around;
	align-items: flex-start;
}

.main {
	max-width: 1200px;
	margin: auto;
}

main section {
	color:white;
	max-width: 370px;
	text-align:center;
	padding: 60px;
}

.circle {
	background-color: white;
	border-radius: 74px;
	border: 7px solid white;
	
}

p {
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	font-size: 14px;
	line-height: 2em;
}

.read_button {
	margin: auto;
	text-align:center;
}

.read_button a {
	padding: 15px 50px;
	border-radius: 35px;
	text-decoration: none;
	color: #612316;
	background: white;
}

.read_button a:hover {
	background: #612316;
	color: white;
}

.read_button a:active {
	border: 1px solid white;
	outline: none;
}

/* News */

.news h2 {
	text-align: center;
	margin-top: 80px;
}
	
.news {
	max-width: 1200px;
	margin: auto;
	height: 660px;
}
	
.news section {
	margin-top: 50px;
	max-width: 371px;
	text-align: center;
	color: #31353e;
}

.news h3 {
	margin-top: 40px;
	line-height: 0em;
}

.news p {
	padding: 0 30px;
	font-weight: 400;
	margin-bottom: 40px;
}
	
.news_button {
	margin: 0 auto;
	text-align: center;
}

.news_button a {
	font-family: 'Open Sans', sans-serif;
	padding: 15px 50px;
	border-radius: 35px;
	text-decoration: none;
	color: #4e5159;
	background: white;
	font-size: 14px;
}

.news_button a:hover {
	background: #dd4b2b;
	color: white;
}


/* Newsletter */

.newsletter {
	background: url(../img/letter.jpg) no-repeat 50% 0;
	height: 381px;
	color: white;
	text-align: center;
}

.newsletter > h2 {
	padding: 65px 0 0 0;
}

form {
	padding-top: 30px;
	margin: auto;
	position:relative;
	width: 520px;
}

.newsletter-text {
	font-family: 'Roboto Slab', serif;
    height: 52px;
	width: 460px;
	box-sizing:border-box;
	border-radius: 27px;
	border: 1px solid rgba(255, 255, 255, 0.8);
	background: rgba(255, 255, 255, 0.3);
	font-size: 18px;
	color: rgba(255, 255, 255, 1);
	padding: 0 0 0 30px; 
}
.newsletter-text:focus {
	outline: none;
	box-shadow: 0 0 10px rgba(221, 75, 43, 0.8);
	color: white;
}

.newsletter-submit {
	font-family: 'Roboto Slab', serif;
    height: 52px;
	box-sizing: border-box;
	width: 180px;
	border-radius: 27px;
	background: white;
	color: #612316;
	font-size: 18px;
	position: absolute;
	right:29px;	
	font-weight: bold;
	border: none;
}
	
.newsletter-submit:hover {
	color: white;
	background: #612316;
	outline: none;
	box-shadow: 0 0 10px #612316;
}

.newsletter-submit:active {
	border: 1px solid white;
	outline: none;
}

/* links */

.link {
	background-color: #d75d0e;
}

.link .flex1 {
	padding: 60px 0;
}

nav {
	display: flex;  
	flex-flow: column nowrap;
	justify-content: space-between;
	align-items: center;
}

nav a {
	color: white;
	text-decoration: none;
	line-height: 1.7em;
}

nav a:hover {
	color: #612316;
}

/* footer */

footer {
	padding: 10px;
	font-size: 12px;
	font-family: 'Open Sans', sans-serif;
	display: flex;  
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: flex-start;
}

.fot_r {
	text-align:right;
}

.fot_r a {
	color: #dd4b2b
}