body {
	background:#ffffff url('../img/bg-rambo.jpg') no-repeat right top fixed;
	background-size:70% auto;
}
p {
	font-size:0.9em;
}
a:link,a:active {
	color:#000000;	
}
a:visited {
	color:#222;
}
a:hover {
	color:#777;
}

#pageContainer {
	margin:0 auto;
	max-width:980px;
}
.container{ 
	max-width:1260px;
   	min-width:240px;
   	width:auto;
   	margin:auto;
   	padding:0px 30px;
   	-moz-box-sizing: border-box;
   	box-sizing: border-box;
   	-webkit-box-sizing: border-box;
   	overflow: hidden;
}
.megafolio-container{  width:100%; 
   position:relative;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
   -webkit-box-sizing: border-box;
}
header {
	width:100%;
	position:relative;
	margin-bottom:1em;
}
header:before {
	content:"";
	display : block;
	padding-top : 26.25%;
}
.logoBox {
	background:url('../img/logo.png') no-repeat center top;
	background-size:contain;
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
}
h1 {
	color:#000;
	font-size:1.2em;
	line-height:1em;
	text-align:center;
	letter-spacing: 1.6vw;
	overflow: hidden;
	padding-left:2vw;
	margin-bottom:1em;
	margin-top:5px;
}
h3 {font-weight:normal;}
h1 span {
	font-weight:normal;
}
header h2 {
	color:#000;
	font-weight:normal;
	position:absolute;
	right:30px;
	bottom:-10px;
	float: right;
	margin:0;
}
nav {
	margin-bottom:0.3em;
}
nav a {
	display:block;
	width:100%;
	height:36px;
	border-bottom:1px solid #000;
	text-align:center;
	text-decoration:none;
	color:#000;
	line-height:2.4em;
	margin:0;
}
nav a.selected, nav a:hover, nav a:active {
	background-color:#000000;
	color:#ffffff;
}
#socialLinks {
	float: right;
	position: absolute;
	right: 2em;
	top: 20%;
}
#socialLinks a {
	margin-left:3px;
}
footer #socialLinks {
	float:none;
	margin:0 auto;
	position:static;
	margin-bottom:20px;
}
#content_wrap{
	width: 980px;
	margin: 0 auto;
	padding-top: 0px;
	z-index:5;
	position:relative;
}
#paintings{
	width:100%;
	height:auto;
	position:relative;		
}
.wrapper{
	z-index:3;
	position:relative;
	width:100%;
	margin:auto;
	padding:30px;
	margin-bottom:20px;
}
#main-background {
	position:relative;
	z-index:-1;
	
}
.sideCol {
	padding-right:30px;
	float:left;
	width:330px
}
.mainCol {
	width:100%;
	float:left;	
}
.mainCol img {
	float:left;
	width:100%;
	margin-bottom:1em;
}
.mainSection p, .mainSection h2, .mainSection h3, .mainSection form {
	padding:0 1em;
}

footer {
	font-size:0.8em;
	text-align:center;
	padding:20px 0;
}
.fancybox-title iframe {
    min-height: 30px;
    vertical-align: middle;
}

/** form CSS **/

p.error, p.success {
	font-weight: bold;
	padding: 10px;
	border: 1px solid;
}
p.error {
	background: #ffc0c0;
	color: #900;
}
p.success {
	background: #b3ff69;
	color: #4fa000;
}
label {
    display: block;
}
button, input, textarea {
    margin-bottom: 0.7em;
	padding: 0.5em;
	width: 90%;
}
input#submit {
	padding:0.5em 2em;
	cursor:pointer;
	color: white;
	border:none;
	width:auto;
	background:#000;
}
input#submit:hover {
	background:#444;
}