
/* ******************************** general */

body {
	min-height: 100%;
	background-color: #25313f;
	font-family: sans-serif;
	line-height: 1.5;
}

body, p {
	color: #fff;
}

a {
	color: #01c8de;
	text-decoration: none;
}

h1, h2, h3, h4, h5 {
	color: #fff;
}

h1 {
	font-size: 26px;
	text-align: center;
}

div#page {
	width: 60%;
	margin: 40px auto 0;
	padding: 0;
}

	@media screen and (max-width: 1610px) {
		div#page {
			width: 60%;
		}
	}
	
	@media screen and (max-width: 1200px) {
		div#page {
			width: 70%;
		}
	}
	
	@media screen and (max-width: 950px) {
		div#page {
			width: 80%;
		}
	}
	
	@media screen and (max-width: 750px) {
		div#page {
			width: 90%;
		}
	}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

/* ******************************** lists */

ul.inline-list {
	width: 100%;
	padding: 0;
	margin: 0;
}

ul.inline-list li {
	list-style: none;
	padding: 0;
	margin: 0;
	clear: none;
	float: left;
	border-radius: 10px;
}

/* ******************************** header */

header#header {
	margin: 30px 0;
}

/* ******************************** teaser list */

ul.teaser-list {
	clear: both;
}

ul.teaser-list li {
	width: 49%;
	text-align: center;
	background-color: #fff;
}

    @media screen and (max-width: 400px) {
		ul.teaser-list li {
			width: 100%;
			margin-bottom: 15px;
		}
	}

ul.teaser-list li.i2 {
	float: right;
}

ul.teaser-list li p,
ul.teaser-list li h4,
ul.teaser-list li img {
	transition: all ease 0.6s;
	color: #25313f;
}

ul.teaser-list li p {
	padding: 15px;
	margin: 10px;
}

ul.teaser-list li a h4 {
	background-color: #25313f;
	color: #fff;
	font-size: 1.5em;
	margin: 0;
	border-radius: 10px;
	width: fit-content;
	padding: 5px 25px;
	margin: 10px auto;
}

    @media screen and (max-width: 1020px) {
		ul.teaser-list li a h4 {
				font-size: 1.2em;
		}
	}

@media screen and (max-width: 640px) {
	ul.teaser-list li a h4 {
		margin: 10px;
	}
}

ul.teaser-list li a img {
	border-radius: 10px;
}

ul.teaser-list li a:hover h4 {
	transform: translateY(3px);
}

ul.teaser-list li a:hover img {
	transform: translateY(6px);
}
 
ul.teaser-list li img {
	width: 100%;
	height: 100%;
}

/* ******************************** terms */

aside.terms {
	margin-top: 10px;
	border-left: 10px solid #fff;
	padding-left: 20px;
	border-radius: 10px;
}

/* ******************************** footer */

footer#page-footer {
	margin: 30px 0;
}

#demo {
	width: fit-content;
	float: left;
	margin: 10px 0;
}

#demo a {
	background: url(../images/vision-icon.png) left 10px center no-repeat #fff;
	padding: 20px 20px 20px 70px;
	border-radius: 10px;
	color: #25313f;
	font-weight: bold;
}

#demo a span {
	transition: all ease 0.6s;
}

#demo a:hover span {
	margin-left: 10px;
}

ul#footer-nav {
	float: right;
	width: fit-content;
}

ul#footer-nav li {
	float: right;
	clear: both;
	text-align: right;
}

ul#footer-nav li a {
	font-size: 0.8em;
}


@media screen and (max-width: 620px) {
	#demo {
		width: 100%;
		margin-bottom: 20px;
	}
	#demo a {
		display: block;
	}
}


/* ******************************** end style */
