/*
Theme Name: mvor2
Theme URI: 
Description: A clean and streamlined theme that focuses on the content and not the distractions.
Version: 0.92
Author: peter
Author URI: http://myveryownrobot.com
Tags: simple, clean, single column

*/
*{
	/* Universal reset: */
	margin:0;
	padding:0;
}
header,footer,
article,section,
hgroup,nav,
figure{
	/* Giving a display value to the HTML5 rendered elements: */
	display:block;
}

header {
  background: #525252 url('img/header.jpg') bottom center no-repeat;
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:181px;
}
 * html body{
  overflow:hidden;
 } 

 footer{
  background: #525252;
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:16px;
  margin:0; padding:0;
 }

 @media screen{
  header{
   position:fixed;
  }
  footer{
   position:fixed;
  }
 }

body{
	/* Setting the default text color, size, page background and a font stack: */
	font-size:1.2em;
	color:#fcfcfc;
	background-color:#355664;
        font-family: 'Inconsolata', arial, serif; 
        font-smooth: always;
  	padding:0;
}

/* Hyperlink Styles: */

a, a:visited {
	color:#0196e3;
	text-decoration:none;
	outline:none;
}

a:hover{
	text-decoration:underline;
}

a img{
	border:none;
}

/* Headings: */

h1,h2,h3{
	font-family:'Molengo', arial, serif;
	text-shadow:0 1px 1px #454545;
}

h1{
	/* The logo text */
	font-size:1em;
	padding:0;
	text-transform:uppercase;
	overflow:hidden;
	text-indent:-999px;
}

h3{
	/* The slogan text */
	font-family:"Molengo","Helvetica Neue",Helvetica,Arial,Sans-Serif;
	font-size:1em;
	font-weight:normal;
	overflow:hidden;
	text-indent:-999px;
}


h2{
	font-size:2.2em;
	font-weight:normal;
	letter-spacing:0.01em;
	text-transform:uppercase;
}
h4{
	font-size:1.5em;
	font-weight:normal;
	letter-spacing:0.01em;
        margin:10px 0px 10px 0px;
        padding:0;
}

p{
	line-height:1.5em;
	padding-bottom:1em;
}

.line{
	/* The dividing line: */
	height:1px;
	margin:1em 0;
	overflow:hidden;
	margin:0px 0px 220px 0px;
}

article .line{
	/* The dividing line inside of the article is darker: */
	background-color:#15242a;
	border-bottom-color:#204656;
	margin:1.3em 0;
}

footer .line{
	margin:2em 0;
}

nav{
	background:url(img/gradient_light.jpg) repeat-x 50% 50% #f8f8f8;
	padding:0 0 0 30px;
	width:570px;
	margin:0 auto; 	
	border:1px solid #FCFCFC;
        text-alignment:center;
	-moz-box-shadow:0 1px 1px #333333;
	-webkit-box-shadow:0 1px 1px #333333;
	box-shadow:0 1px 1px #333333;
}

/* The clearfix hack to clear the floats: */

.clear:after{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* The navigation styling: */

nav ul li{
	display:inline;
}

nav ul li a,
nav ul li a:visited{
	color:#565656;
	display:block;
	float:left;
	font-size:1em;
	font-weight:bold;
        font-family:'Molengo', arial, serif;
	margin:5px 2px;
	padding:7px 10px 4px;
	text-shadow:0 1px 1px white;
	text-transform:uppercase;
}

nav ul li a:hover{
	text-decoration:none;
	background-color:#f0f0f0;
}

nav, article, nav ul li a,figure{
	/* Applying CSS3 rounded corners: */
	-moz-border-radius:30px;
	-webkit-border-radius:30px;
	border-radius:30px;
}

/* Article styles: */

#page{
	background: #535c5c url('img/main-bg.jpg') 50% 181px no-repeat fixed;
}
#articles{
	width:960px;
	margin:0 auto;
  overflow:auto;
}

article{
	background: url('img/section-bg.png');
	margin:0;
	padding:30px 40px;
	text-shadow:0 2px 0 #454545;
}

figure{
	border:3px solid #142830;
	float:right;
	height:300px;
	margin-left:15px;
	overflow:hidden;
	width:420px;
        clear:right;
}

figure:hover{
	-moz-box-shadow:0 0 2px #4D7788;
	-webkit-box-shadow:0 0 2px #4D7788;
	box-shadow:0 0 2px #4D7788;
}


/* Footer styling: */

footer{
	text-align:center;
	font-size:0.667em;
}


footer p{
	margin-bottom:-2.5em;
	position:relative;
}

footer a,footer a:visited{
	color:#cccccc;
	background-color:#213e4a;
	display:block;
	padding:2px 4px;
	z-index:100;
	position:relative;
}

footer a:hover{
	text-decoration:none;
	background-color:#142830;
}

footer a.by{
	float:left;

}
footer a.up{
	float:right;
}
.project { clear:both;  padding:20px 20px; }
.textual { padding:0px 20px; }
p.featured { background:url('img/quote.png') no-repeat top left; margin:10px 0 30px -50px; padding:10px 0 0 50px; }
p.testimonials_page { background:url('img/quote.png') no-repeat top left; margin:10px 0 30px -50px; padding:10px 0 0 50px; }
