/* CSS document for Digitalwand Online site */
/* ---Generic styles --- */
body {
	margin: 0;
	padding: 0;
	background: #fff;
	color: #666;
	font-family: 'Open Sans', sans-serif;
	text-align: center;
}
a	{
	font-weight: bold;
	text-decoration: none;
}
h1	{
	background: #3E8882;
	background: -webkit-linear-gradient(to bottom, #3E8882 8%, #F7AF8A 85%);
	background: -moz-linear-gradient(to bottom, #3E8882 8%, #F7AF8A 85%);
	background: linear-gradient(to bottom, #3E8882 8%, #F7AF8A 85%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-size: 250%;
}
h2	{
	color: #3e8882;
	font-size: 150%;
}
h3	{
	color: #666666;
	font-size: 110%;
}
p	{
	line-height: 150%;
	font-size: 90%;
	width: 100%;
}

/* ---Header styles --- */
header {
	text-align: center;
	background-color: #cccccc;
	padding: 17px;
}

/* --- Navigation styles --- */
/* Define main navigation block */
.topnav {
  overflow: hidden;
  display: block;
  line-height: 15px;
  background-color: #8bbfbb;
 }

/* Navigation links */
.topnav li a {
  display: inline-block;
  color: #ffffff;
  padding: 9px 3px;
  text-align: center;
  text-decoration: none;
}
.topnav li {
	display: inline;
}

/* Remove bullets, margins and padding */
.topnav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Change color on hover */
.topnav a:hover {
  color: black;
}

/* --- Content styles --- */
img {
	border: 1px solid #ccc;
	max-width: 100%;
	height: auto;
	align: center;
}

/* --- Footer styles --- */
#footer {
	clear: both;
	padding: 1em 0;
	width: 100%;
}
#footer p {
	text-align: center;
	color: #666;
	margin: 0;
	font-size: 60%;
	line-height: 160%;
}

/* --- Media queries --- */
/*  Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
/* Define main navigation block */
.topnav {
  	overflow: hidden;
	line-height: 30px;
	background-color: #8bbfbb;
}

/* Navigation links */
.topnav li a {
  display: inline-block;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
}
.topnav ul {
	display: inline-block;
}

/* Change color on hover */
.topnav a:hover {
  color: black;
}

/* Body styles  */
h1	{
	font-size: 160%;
}
h2	{
	font-size: 110%;
}
h3 {
	font-size: 85%;
}
p {
	font-size: 85%;
	line-height: 130%;
}
footer p {
	font-size: 60%;
	line-height: 100%;
}

/* Small devices (portrait tablets and large phone, 400px and up */
@media only screen and (max-width: 400px) {
.topnav {
  	overflow: hidden;
  	display: block;
 	line-height: 15px;
 	background-color: #8bbfbb;
}
.topnav  {
	text-align: center;
}
.topnav ul {
	display: inline-block;
}
h1	{
	font-size: 30%;
}
p {
	font-size: 70%;
	line-height: 110%;
}	
footer p {
	font-size: 40%;
	line-height: 110%;
}