/*
Project Name: Create a Responsive Web Design Template
Author: Harry Atkins
Published on: http://www.onextrapixel.com/
*/

::-moz-selection {
background-color: #222;
color: #fff;
}
::selection {
background-color: #222;
color: #fff;
}
a {
	outline: 0;
	color: #222;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
p a:hover {
	color: #222;
}
a:active {
	outline: none;
	position: relative;
	top: 2px;
}
.clearfix {
	clear: both;
}
/*------------------------------------*\
  MAIN
\*------------------------------------*/

body {
	background: #fff;
	color: #222;
	font-family: 'Helvetica', Arial, san-serif;
	font-size: 16px;
	-webkit-transition-property: font-size;
	-moz-transition-property: font-size;
	transition-property: font-size;
	-webkit-transition-duration: 0.5s, 0.5s;
	-moz-transition-duration: 0.5s, 0.5s;
	transition-duration: 0.5s, 0.5s;
 	-webkit-transition-timing function: linear, ease-in;
 	-moz-transition-timing function: linear, ease-in;
	 transition-timing function: linear, ease-in;
}
#wrapper {
	margin: 10px auto;
	max-width: 1029px;
	width: 90%;
	background: #fff;
	padding: 10px 0;
}
header {
	padding: 3px
}
h1 {
	font-size: 90px;
	font-family: 'Helvetica', Arial, san-serif;
	line-height: 75px;
	padding: 0;
	-webkit-transition-property: font-size;
	-moz-transition-property: font-size;
	transition-property: font-size;
	-webkit-transition-duration: 0.5s, 0.5s;
	-moz-transition-duration: 0.5s, 0.5s;
	transition-duration: 0.5s, 0.5s;
	 -webkit-transition-timing function: linear, ease-in;
	 -moz-transition-timing function: linear, ease-in;
	 transition-timing function: linear, ease-in;
}
h1 a:hover {
	text-decoration: none;
	color: #222;
}

img {
	max-width: 100%;
}
h2 {
	font-family: 'Helvetica';
	-webkit-transition-property: font-size;
	-moz-transition-property: font-size;
	transition-property: font-size;
	-webkit-transition-duration: 0.5s, 0.5s;
	-moz-transition-duration: 0.5s, 0.5s;
	transition-duration: 0.5s, 0.5s;
	 -webkit-transition-timing function: linear, ease-in;
	 -moz-transition-timing function: linear, ease-in;
 	transition-timing function: linear, ease-in;
}
h3 {
	font-family: 'Helvetica', Arial, san-serif;
	font-size: 30px;
}
h4 {
	font-family: 'Helvetica', Arial, san-serif;
	padding: 3px;
	margin: 5px 0 0 0;
}
h4 a {
	text-decoration: underline;
}
nav {
	display:block;
}
nav img{
	margin: 0;
	padding: 0;
}

nav a {
	text-decoration: none;
	display: block;
	float: left;
}
nav a:visited {
	text-decoration: none
}
nav a:hover {
	text-decoration: none;
}
nav a:active {
	position: relative;
	top: 0;
}
#featured {
	padding: 30px 0;
	margin: 0 12px;
	text-align:center;
}

#featuredpdf {
	padding: 20px 0;
	margin: 0 0;
	text-align:center;
}

#homevideo {
	padding: 30px 0;
	margin: 0 12px;
	text-align:left;
}

#boxed {
	padding: 30px 5px 1px 5px;
	margin: 0 5px;
	text-align: center;
}
span.space {
	margin: 0 2px 0 2px;
}
#latest {
	padding: 20px;
}
#about {
	padding: 20px;
}
p {
	padding: 0 5px 0 5px;
}
ul {
	list-style: none;
}
ul li {
	margin: 0 5px;
}
#topper {
	text-align: center;
}
#mainleft {
	float: left;
	width: 47%;
	display: block;
	margin: 0 0 0 5px;
}
#mainright {
	float: left;
	width: 47%;
	display: block;
	margin: 0 0 0 15px;
	text-align: justify;
}

#content-1 {
	float: left;
	width: 30%;
	display: block;
	margin: 0 0 0 5px;
} /* left column */
#content-2 {
	background-color:#fFF;
	float: left;
	width:65%;
	margin: 0 20px; 
}
#content-2b {
	float: left;
	width:35%;
	margin-left: 2%;  
}

 #content-3b {
	float: left;
	width:20%;
	margin-left: 2%;  
}

 /* container for mid and right */
#content-2-1 {
	background-color:#FFf;
	float: left;
	width: 55%;
	padding: 0 0 40px 0;
} /* middle column */
#content-2-2 {
	background-color:#fff;
	float: right;
	width: 43%;
	padding: 0 0 20px 0;
} /* right column */
#content-3 {
	display:none;
}
span.smaller {
	font-size: 75%;
}
video {
	max-width: 100%;
	height: auto;
}

.video-wrapper {
	width: 1024px;
	max-width: 100%;
}
.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}
.video-container iframe, .video-container object, .video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.footer {
	background-color: #fff;
	height: 65px;
	width: 90%;
	text-align: center;
	font-size:10px;
	color:#222;
	font-family:'Helvetica', Arial, san-serif;
	padding-top: 10px;
	width: 100%;
	position:fixed;
	left: 0px;
	bottom: 0px;
	display: block;
}
span.feet {
	margin: 0 5px;
}
span.copy {
	text-align: right;
}
pre {
	overflow: scroll;
	font-size: 10px;
}

.last {
	padding: 0 0 50px 0; 	
}

#featured img {
	width:32%;
}

#boxed img {
	margin: 0 2px 0 2px;
}

.sold-text {
	color: #F00;
	font-weight: bold;	
}

.art-size {
	font-size:125% !important;	
}

/*
  The navigation is a little trickier. If the navigation links were text, it'd be easy to change their intrinsic size with the font-size property, but images don't work like that. The only way to resize them is as a percentage of their container, so I use the nth-child(n) selector to select each one and divide its original width by the entire nav width to arrive at a percentage, which will then scale down as the page gets narrower.
  Note that I'm actually changing the width of the anchor elements. Because the images are max-width:100% they'll automatically fit the width or their containers, the anchors.
*/
nav a:nth-child(1) {
width:7.13%
} /*  84/1023 */
nav a:nth-child(2) {
width:10.09%
} /*  98/1023 */
nav a:nth-child(3) {
width:11.00%
} /* 126/1023 */
nav a:nth-child(4) {
width:16.14%
} /* 169/1023 */
nav a:nth-child(5) {
width:12.80%
} /* 140/1023 */
nav a:nth-child(6) {
width:15.82%
} /* 160/1023 */
nav a:nth-child(7) {
width:13.32%
} /* 102/1023 */
nav a:nth-child(8) {
width:13.31%
} /* 144/1023 */

@media screen and (max-width: 850px) {
	 #content-1 {
display: none;
}

 #content-2 {
width:100%
}
 #content-2-1 {
width:100%
}
 #content-2-2 {
display: none;
}
 #content-2b {
width:100%;
margin-left: 0px;
}
 #content-3 {
display:inline-block;
}
#content-3b {
	width: 100%;
	margin: 0px;
	margin-top: 20px;
	
}
}


@media screen and (max-width: 740px) {
 #boxed .space {
width:25%;
}
 #content-1 {
display: none;
}
 #content-2 {
width:100%
}
 #content-2-1 {
width:100%
}
 #content-2-2 {
display: none;
}
 #content-2b {
width:100%;
margin-left: 0px;
}
 #content-3 {
display:inline-block;
}
#content-3b {
	width: 100%;
	margin: 0px;
	margin-top: 20px;
}
}
 
@media screen and (max-width: 478px) {
 #boxed .space {
width:33%;
}
 #content-1 {
display: none;
}
 #content-2 {
width:100%
}
 #content-2-1 {
width:100%
}
 #content-2-2 {
display: none;
}
 #content-3 {
display:inline-block;
}

}
