/* Elastic-Responsive Wrap */

/************************************************************************************
FONTS
*************************************************************************************/

/* a font face generator will provide you with all files for the font to display correctly  */
@font-face {
    font-family: 'AbelRegular';
    src: url('../fonts/abel-regular-webfont.eot');
    src: url('../fonts/abel-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/abel-regular-webfont.woff') format('woff'),
         url('../fonts/abel-regular-webfont.ttf') format('truetype'),
         url('../fonts/abel-regular-webfont.svg#AbelRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/************************************************************************************
GENERAL STYLING
*************************************************************************************/


/* the star wild card will applies to all elements  */
* {
	/* mobile safari will change the size of the text when flipping to landscape view, to prevent this enter the following  */
	-webkit-text-size-adjust: none; 
}

html {
	height: 100%;
}

body {
	font-family: 'AbelRegular', "Trebuchet MS", verdana, Arial, Helvetica, sans-serif;
    font-size: 1.0em;
    line-height: 1.3em;
    color: #998e84; /* font color */
	min-height: 100%;
    overflow-x: hidden; /* what's this */
	background: url(../img/background_body_1020.png) no-repeat center top;
}

#bodycolor {background-color: #00a7df;}

a:link,
a:visited {
	color: #c0b1a4;
	text-decoration: none;
}

a:hover {
	color: #8dc33e;
	text-decoration: none;
}

h1, h2, h3 {
   font-family: 'AbelRegular', "Trebuchet MS", verdana, Arial, Helvetica, sans-serif;
}

h1 {
	font-size: 2.0em;
    line-height: 1.5em;
}

h2 {
	font-size: 1.5em;
	line-height: 1.2em;
	margin-top: 10px;
}

h3 {
	font-size: 1.2em;
    line-height: 1.5em;
    margin-top: 10px;
}

img {
}

p {
	font-size: 1.0em;
    line-height: 1.3em;
    margin: 10px 0px 5px 0px;
}

pre {
    background: none repeat scroll 0 0 #f2f0ea;
    border: 1px solid #e9d28e;
    
    font-family: Consolas, Monaco, "Courier New", Courier, monospace;
	color: #000000;
	font-size: 0.8em;
    line-height: 1.3em;
    font-weight: inherit;

    white-space: pre-wrap;
    word-wrap: break-word;
    
    margin: 3px 15px 15px 0px;
    overflow: auto;
    padding: 10px;
}

ul {
	list-style-position:outside;
	list-style-type: square;
	margin: 0px 0px 0px 30px;
}
ul.c {
	list-style-type: circle;
}

li {  
	margin: 5px 0px 5px 0px;
}



/*classes*/


.txtenter {
	display: block;
    margin-left: auto;
    margin-right: auto;
}

.imgcenter {
	display: block;
    margin-left: auto;
    margin-right: auto;
}

.displace {
	position: absolute;
	left: -5000px;
}


/************************************************************************************
COLORS
*************************************************************************************/

.fillblue {background-color: #00a7df;}
.fillorange {background-color: #f9a01b;}
.fillgreen {background-color: #8dc33e;}
.fillred {background-color: #ed1c24;}
.fillyellow {background-color: #ffeb95;}
.fillgray {background-color: #c0b1a4;}
.fillgray10 {background-color: #f8f7f6;}


.white {color: #ffffff;}
.black {color: #000000;}
.orange {color: #f9a01b;}
.green {color: #8dc33e;}
.blue {color: #00a7df;}
.yellow {color: #ffeb95;}
.red {color: #ed1c24;}
.gray {color: #c0b1a4;}

.gradient_orange {
  /* fallback */ background-color: #fde7c6; 
  /* Safari 4-5, Chrome 1-9 */ background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9a01b), to(#fde7c6)); 
  /* Safari 5.1, Chrome 10+ */ background: -webkit-linear-gradient(top, #fde7c6, #f9a01b);
  /* Firefox 3.6+ */ background: -moz-linear-gradient(top, #fde7c6, #f9a01b);
  /* IE 10 */ background: -ms-linear-gradient(top, #fde7c6, #f9a01b);  
  /* Opera 11.10+ */ background: -o-linear-gradient(top, #fde7c6, #f9a01b);
}

.gradient_lightorange {
  /* fallback */ background-color: #fef1dd; 
  /* Safari 4-5, Chrome 1-9 */ background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fccf8d), to(#fef1dd));
  /* Safari 5.1, Chrome 10+ */ background: -webkit-linear-gradient(top, #fef1dd, #fccf8d);
  /* Firefox 3.6+ */ background: -moz-linear-gradient(top, #fef1dd, #fccf8d);
  /* IE 10 */ background: -ms-linear-gradient(top, #fef1dd, #fccf8d);
  /* Opera 11.10+ */ background: -o-linear-gradient(top, #fef1dd, #fccf8d);
}

.gradient_yellow {
  /* fallback */ background-color: #fffae4;
  /* Safari 4-5, Chrome 1-9 */ background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffeb95), to(#fffae4));
  /* Safari 5.1, Chrome 10+ */ background: -webkit-linear-gradient(top, #fffae4, #ffeb95);
  /* Firefox 3.6+ */ background: -moz-linear-gradient(top, #fffae4, #ffeb95); 
  /* IE 10 */ background: -ms-linear-gradient(top, #fffae4, #ffeb95);
  /* Opera 11.10+ */ background: -o-linear-gradient(top, #fffae4, #ffeb95);
}




/************************************************************************************
STRUCTURE
*************************************************************************************/

#pagewrap {
	width: 1000px;
	margin: 0 auto; /*centers page*/
	position: relative;
}




/************************************************************************************
HEADER
*************************************************************************************/
#header {
	width: 100%;
	height: 130px;
	background-color: #fff;
}

#topheaddergraphic  {
	margin: 0 0 0 30px;
}

/* site logo */
#site-logo1 {
	position:absolute;
	width: 145px;
	height: 70px;
 	top:51px;
 	left:105px;
}
#site-logo2 {
	position:absolute;
	width: 145px;
	height: 70px;
 	top:51px;
 	left:250px;
}

a.viewmaster {
	display: block;
	position: absolute;
	background: url(../img/redcrayon_viewfinder.png);
	width: 100px;
	height: 60px;
 	top:52px;
 	left:450px;
}

a.viewmaster:hover {
	background-position: -100px 0;
}


/* site description */
#site-description {
	font: italic 16px/120% Baskerville, "Times New Roman", Times, serif;
	color: #886c4d;
	background: url(images/dashed-single.png) repeat-x left bottom;
	margin: 0 0 10px;
	padding: 0 0 10px 2px;
	text-shadow: none;
}




/************************************************************************************
MAIN NAV
*************************************************************************************/
#main-nav {
	margin: 0;
	padding: 0;
	color: #c0b1a4;
	position: absolute;
	top: 8px;
	right: 22px;
}
#main-nav li {
	padding: 0;
	margin: 0;
	float: left;
	list-style: none;
	position: relative;
}
#main-nav a {
	font-family: 'AbelRegular', "Trebuchet MS", verdana, Arial, Helvetica, sans-serif;
	color: #c0b1a4;
	text-decoration: none;
	font-size: 1.2em;
	line-height: 100%;
	padding: 2px 8px 2px 8px;
}

#main-nav a:hover {
	color: #00a7df;
}



/* main nav dropdown - requires jscript.js */
#main-nav ul {
	font-family: 'AbelRegular', "Trebuchet MS", verdana, Arial, Helvetica, sans-serif;
	font-size: 0.9em;
	color: #c0b1a4;
	text-align: left;
	width: 210px !important;
	display: block;
	background-color: #ffffff;
	background-color: rgba(255,255,255,.8);
	position: absolute;
	z-index: 100;
	left: 0px;
	top: 20px;
	margin: 0;
	padding: 10px 0 10px 0;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.2);
	box-shadow: 0 1px 3px rgba(0,0,0,.2);
	display: none;
}
#main-nav ul li {	margin: 0;
	padding: 0;
	list-style: none;
	float: none;
}
#main-nav ul a {
	display: block;
	padding: 5px 10px 5px 10px;
}

#main-nav ul a:hover {
	background-color: #8dc33e;
	color: #ffffff;
}





#main-nav ul h4 {
	font: normal 12px/100% Georgia, "Times New Roman", Times, serif;
	color: #a09b60;
	text-transform: uppercase;
	margin: 0 0 4px;
	letter-spacing: .1em;
}
#main-nav ul p {
	margin: 0 0 14px;
}
#main-nav ul .categories a {
	font-size: 105%;
}
#main-nav ul .tags {
	font-size: 85%;
	line-height: 135%;
	word-wrap: break-word;
	text-transform: lowercase;
}
#main-nav ul .tags a {
	color: #7c784a;
	margin-right: 8px;
	-webkit-border-radius: 0;
}
#main-nav ul .tags a:hover {
	color: #000;
	text-decoration: none;
	background: #feed21;
	border-bottom: solid 1px #ded01c;
}


	
/************************************************************************************
SOCIAL NAV
*************************************************************************************/
#social-nav {
	position: absolute;
	top: 77px;
	right: 25px;
}
#social-nav li {
	float: left;
	list-style: none;
	position: relative;
}

a.linklinkedin { 
	margin: 0 5px 0 5px;
	display: block;
	background: url(../img/redcrayon_linkedin.png);
	width: 30px;
	height: 30px;
}

a.linklinkedin:hover {
	background-position: -30px 0;
}

a.linkfacebook {
	margin: 0 5px 0 5px;
	display: block;
	background: url(../img/redcrayon_facebook.png);
	width: 30px;
	height: 30px;
}

a.linkfacebook:hover {
	background-position: -30px 0;
}

a.linktwitter {
	margin: 0 5px 0 5px;
	display: block;
	background: url(../img/redcrayon_twitter.png);
	width: 30px;
	height: 30px;
}

a.linktwitter:hover {
	background-position: -30px 0;
}




/************************************************************************************
CONTENT
*************************************************************************************/
#contentwrap {
	padding-right: 30px;
	padding-left: 30px;
	background: #FFFFFF;
}
#contenttop {
	width: 100%;
	border-bottom:#c0b1a4;
	border-bottom: 1px solid #c0b1a4;
	border-top: 1px solid #c0b1a4;
	font-family: 'AbelRegular', "Trebuchet MS", verdana, Arial, Helvetica, sans-serif;
	font-size: 1.2em;
}

#contenttopheadline ul {
	list-style-type: none;
	text-align: center;
	margin: 15px 0;
}

#contenttopheadline ul li {
	display: inline;
	padding: 0 10px;
}

.vertrule {
	display: block;
	background: url(../img/vertrule.gif) no-repeat center top;
}

#contenttopimage {
	display: block;
	margin-top: 20px;

}

#content {
	min-height: 450px;
}

.hrule {
    width:100%;
	border-bottom: 1px solid #c0b1a4;	
}

.separator {
	display: block;
	clear: both;
	width:100%;
	height:10px;
	background: url(../img/separator.png) no-repeat center top;
	margin-bottom: 20px;
}

.icon1, .icon2, .icon3, .icon4 {
	background: url(../img/icons_sprite.png) no-repeat;
	display: block;
	width: 50px;
	height: 50px;
	margin-bottom: 10px;
}
.icon1 {
	background-position: 0 0;
}

.icon2 {
	background-position: -50px 0;
}

.icon3 {
	background-position: -100px 0;
}

.icon4 {
	background-position: -150px 0;
}


a.icon1:hover, a.icon2:hover, a.icon3:hover, a.icon4:hover{
	background-position-y: -50px;
}

#colorselector {
	margin: 0 auto;
	height: 20px;
	font-size: 0.8em;
}

#colorselector ul {
	padding: 0;
	margin: 0;
}

#colorselector li {
	float: left;
	list-style: none;
	position: relative;

}

#colorselector a {
	margin-right: 8px;
	display: block;
	width: 20px;
	height: 20px;
}





/************************************************************************************
COLUMNS
*************************************************************************************/

.column3a, .column3b, .column3c,
.column4a, .column4b, .column4c, .column4d {
	display: block;
	float: left;
	
	margin-left: 0px;
	margin-right: 20px;
	margin-bottom: 20px;
	padding: 0;
	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	
}

.column3a, .column3b, .column3c {
	width: 300px;
	min-height: 180px;
}

.column4a, .column4b, .column4c, .column4d {
	width: 220px;
	min-height: 50px;
}

.column3c, .column4d {
	margin-right: 0px;
}

.nopad {
	padding: 0;
}




/************************************************************************************
SIDEBAR
*************************************************************************************/
#sidebar {
	float: right;
	width: 268px;
	margin: 15px 0 60px;
	word-wrap: break-word;
	font-size: 85%;
	line-height: 140%;
}
#sidebar a {
	color: #8f0206;
}
#sidebar a:hover {
	text-decoration: underline;
}
#sidebar section {
	margin-bottom: 25px;
	clear: both;
}
#sidebar h4 {
	font: normal 150%/110% 'Copse', Georgia, serif;
	margin: 0 0 12px;
	color: #000;
}
#sidebar h4 a {
	text-decoration: none;
}
#sidebar ul {
	margin: 0;
	padding: 0;
}
#sidebar li {
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
}

/* twitter list */
#sidebar .twitter {
	background: #cee2e2;
	background: rgba(151,223,252,.3);
	padding: 15px 15px 10px 10px;
	border: solid 1px #cacfc3;
	border-bottom-color: #b5baae;
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}
#sidebar .twitter h4 {
	background: url(images/nav-icons.png) no-repeat -10px 0px;	
	text-transform: lowercase;
	padding-left: 30px;
}
#sidebar .twitter li {
	background: url(images/bullet.png) no-repeat 6px .4em;
	padding-left: 22px;
}
#sidebar .twitter li span a {
	font: normal 100% Georgia, "Times New Roman", Times, serif;
	color: #8f0206;
}
#sidebar .twitter li span + a {
	color: #666;
	font: italic 110% Baskerville, "Times New Roman", Times, serif !important;
}

/* sidebar network */
#sidebar .network ul {
	margin: 30px 0 0;
	padding: 0;
}
#sidebar .network ul li {
	margin: 0;
	padding: 15px 7px 5px;
	margin-bottom: 1px;
	list-style: none;
}
#sidebar .network li:hover {
	cursor: pointer;
	background: #f9f8f1;
	background: rgba(255,255,255,.5);
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}
#sidebar .network p {
	margin: 0 0 8px;
	overflow: hidden;
}
#sidebar .network a {
	text-decoration: none;
}
#sidebar .network a:hover {
	text-decoration: none;
}
#sidebar .network h4 {
	margin: 5px 0;
}
#sidebar .network figure {
	float: left;
	margin: 0 10px 0 0;
	clear: left;
}
#sidebar .network img {
	padding: 0;
	border: none;
	background: none;
}




/************************************************************************************
POPUPS AND EXTRAS
*************************************************************************************/

#popup {
	position:absolute;
	top: 0px;
	left: 50%;
	margin-left: -175px;
	z-index:110;
	width: 350px;
	height: 77px;
	background-color: #00a7df;
	background-color: rgba(0,167,223);
	
	text-align: center;
	font-family: 'AbelRegular', "Trebuchet MS", verdana, Arial, Helvetica, sans-serif;
	font-size: 1.8em;
	line-height: 1.4em;
	color: #ffffff;
	
	padding: 25px 0 10px 0;
	-webkit-border-bottom-right-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-radius-bottomright: 10px;
	-moz-border-radius-bottomleft: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	-webkit-box-shadow: 0px 0px 10px rgba(0,0,0,.2);
	-moz-box-shadow: 0px 0px 10px rgba(0,0,0,.2);
	box-shadow: 0px 0px 10px rgba(0,0,0,.2);
	display:none;
}

#popup a, #popup a:hover {
	color: #ffffff;
	font-size: 0.6em;
}

#viewmasterwindow {
	display: block;
	position:absolute;
	top: 50px;
	left: 50%;
	margin-left: -250px; /* 50% left centers divs left edge - this adjusts it to center - half of the div width */
	z-index:110;
	width: 500px;
	min-height: 400px;
	
	background: #fff url(../img/viewfinder.jpg) no-repeat center top;
	
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	
	-webkit-box-shadow: 0px 0px 5px rgba(0,0,0,.8);
	-moz-box-shadow: 0px 0px 5px rgba(0,0,0,.8);
	box-shadow: 0px 0px 5px rgba(0,0,0,.8);
		
	display:none;	
}

#viewmasterwindow a {
	float: right;
	color: #ffffff;
	font-size: 1.0em;
	padding: 10px 20px 20px 20px;
}

#viewmasterwindow a:hover {
	color: #00a7df;
}

#viewmasterwindowbody {
	font-family: 'AbelRegular', "Trebuchet MS", verdana, Arial, Helvetica, sans-serif;
	font-size: 1.0em;
	line-height: 1.2em;
	color: #998e84;
	text-align: left;
	
	padding: 350px 20px 20px 20px;
}




/************************************************************************************
FOOTER
*************************************************************************************/


#footer {
	
	width: 940px;
	padding: 15px 30px;
	margin: 0 auto; /*centers page*/
	min-height: 80px;
	background: url(../img/footer.png) no-repeat top center;
	
	font-size: 1.0em;
    line-height: 1.1em;
	font-family: 'AbelRegular', Verdana, Arial, Helvetica, sans-serif;
	color: #ffffff;
}

/*
#footer p {
	padding: 0;
	margin: 0;
}
*/

#footer a {
	color: #ffffff;
	text-decoration: none;
}
#footer a:hover {
	color: #000;
}

/*
#footer section {
	margin-left: 3.4%;
	margin-bottom: 80px;
	word-wrap: break-word;
}
#footer section:first-child {
	margin-left: 0;
}
#footer h4 {
	font: normal 115%/120% 'Copse', Georgia, serif;
	margin: 0 0 8px;
	text-transform: uppercase;
	color: #000;
	letter-spacing: .1em;
}*/

/* footer list 
#footer ol, #footer ul {
	margin: 20px 0 0;
	padding: 0;
}
#footer li {
	padding: 0 0 8px;
	margin: 0;
	list-style: none;
	clear: both;
}

*/


#copyright {
	float:left;
	text-align: left;
}

#paypal {
	float:right;
	text-align: right;
	
}

#paypal p, #copyright p {
	padding: 0;
	margin: 0 0 5px 0;
	
}







#footer time {
	color: #949289;
}

/* recent posts */
#footer .recent-posts figure {
	float: left;
	margin: -2px 14px 3px 0;
	width: 44px;
}
#footer .recent-posts figure img {
	padding: 3px;
}
#footer .recent-posts h5 {
	font: normal 115% 'Copse', Georgia, serif;
	text-transform: none;
	margin: 3px 0 4px;
}
#footer .recent-posts .post-meta {
	font-size: 95%;
	margin: 0;
}
#footer li figure {
	float: left;
	margin: 0 12px 6px 0;
}


/* recent comments */
#footer .recent-comments figure {
	margin: -4px 12px 6px 0;
}
#footer .recent-comments .avatar {
	width: 40px !important;
	height: 40px !important;
	float: left;
	display: block;
}
#footer .recent-comments cite {
	font-variant: small-caps;
	font-style: normal;
	font-size: 125%;
	text-transform: capitalize;
}

/* copyright */
#footer .copyright {
	font-size: 95%;
	color: #998675;
	font-variant: small-caps;
}
#footer .copyright a {
	color: #8e5a56;
}
#footer .copyright a:hover {
	color: #000;
}

/* back to top */
#back-top {
	position: fixed;
	bottom: 0;
	margin-left: -220px;
	width: 180px;
	text-align: right;
	clear: both;
}
#back-top a {
	color: #ada597;
	text-transform: uppercase;
	text-decoration: none;
	-webkit-transition: background-color .7s;
	-moz-transition: background-color .7s;
	-o-transition: background-color .7s;
	transition: background-color .7s;
}
#back-top a:hover {
	color: #615349;
}
#back-top em {
	font: normal 12px/100% "Lucida Grande", Arial, "Lucida Sans Unicode", sans-serif;
	letter-spacing: 1px;
	float: right;
}
#back-top span {
	width: 28px;
	height: 28px;
	background: url(../images/nav-icons.png) no-repeat -8px -577px;
	background-color: rgba(255,255,255,1);
	display: block;
	float: right;
	cursor: pointer;
	margin: -8px 0 0 6px;
	-webkit-border-radius: 10em;
	-moz-border-radius: 10em;
	border-radius: 10em;
}
#back-top a:hover span {
	background-color: #f5ec82;
	background-color: rgba(245,236,130,.8);
}



/************************************************************************************
CLEARFIX
*************************************************************************************/
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
.clearfix { display: inline-block; }
.clearfix { display: block; zoom: 1; }

.clear {
  clear: both;
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
}


/************************************************************************************
HELPER
*************************************************************************************/

.helper {
border: 1px solid #F00;
}
.helperb {
border: 1px solid #03F;
}
.helperg {
border: 1px solid #0F0;
}


/************************************************************************************
@MEDIA
*************************************************************************************/
@media only screen and (max-width: 760px), only screen and (max-device-width: 760px) {

#pagewrap {
	width: 94%;
	margin-top: 40px;
}
body {
	background: none;
}



#header {
	height: 100px;
	padding-bottom: 20px;
}

#topheaddergraphic  {
	margin: 0 0 0 3%;
}


#site-logo1 {
 	top:30px;
 	left:15px;
}
#site-logo2 {
 	top:30px;
 	left:160px;
}

#social-nav {
	top: 56px;
}

a.viewmaster {
 	top:35px;
 	left:70%;
}

#main-nav {
	top: -30px;
	left: 12px;
	clear: both;
}

#main-nav a, #main-nav a:hover {
	font-size: 1.1em;
	color: #fff;
}

#main-nav ul a {
	color: #00a7df;
}

#main-nav ul a:hover {
	background-color: #00a7df;
	color: #ffffff;
}



#contentwrap {
	padding-right: 3%;
	padding-left: 3%;
}

#contenttop {
	margin-bottom: 20px;
	font-size: 1.4em;
}

#contenttopheadline ul {
	margin: 18px 0;
}

#contenttopheadline ul li {
	display: block;
	padding: 1px 10px;
}

.vertrule {
	display: none;
	background: none;
}

#contenttopimage {
	display: none;
}

.separator {
	background: url(../img/480/separator420.png) no-repeat center top;
}

.column4a, .column4b, .column4c {
	margin: 0 4% 0 0;
}

.column3a, .column3b, .column3c {
	width: 100%;
	min-height: 0px;
	clear: both;
}

.column4a, .column4b, .column4c, .column4d {
	width: 22%;
	min-height: 50px;
}


#footer {
	width: 94%;
	padding: 15px 3%;
	background: url(../img/480/footer460.png) no-repeat top center;
}

#copyright {
	width: 100%;
	margin: 0 auto;
	text-align:center;
	marign-bottom: 10px;
}

#paypal {
	width: 100%;
	margin: 0 auto;
	text-align: center;
}

#paypal p, #copyright p {
	margin: 15px 0 5px 0;
}

a.linklinkedin, a.linkfacebook, a.linktwitter { 
	display: none;
}


}  /* End Media Query 780px */



@media only screen and (max-width: 480px), only screen and (max-device-width: 480px) {

#viewmasterwindow {
	margin-left: -200px; /* 50% left centers divs left edge - this adjusts it to center - half of the div width */
	width: 400px;
	background: #fff url(../img/480/viewfinder.jpg) no-repeat center top;
}

}  /* End Media Query */


@media only screen and (max-width: 420px), only screen and (max-device-width: 320px) {
	
#viewmasterwindow {
	margin-left: -140px; /* 50% left centers divs left edge - this adjusts it to center - half of the div width */
	width: 280px;
	top: 20px;
	background: #fff url(../img/480/viewfinder280.jpg) no-repeat center top;
}

#viewmasterwindowbody {
	padding: 185px 10px 10px 10px;
}
	
#topheaddergraphic  {
	display: none;
}

#pagewrap {
	margin-top: 50px;
}

#header {
	height: 120px;
	padding-bottom: 10px;
}

#main-nav {
	top: -45px;
	left: 12px;
	font-size: 0.9em;
}

#site-logo1 {
 	top:10px;
 	left:15px;
}

#site-logo2 {
 	top:45px;
 	left:80px;
}

a.viewmaster {
	left: auto;
 	right:-5px;
}

#popup {
	margin-left: -100px;
	margin-top:-50px;
	width: 200px;
	font-size: 1.5em;
	padding: 5px 0 10px 0;
	height: 100px;
}

#contenttop {
	font-size: 1.2em;
}


.icon1, .icon2, .icon3, .icon4 {
	background: url(../img/480/icons_sprite.png) no-repeat;
	width: 30px;
	height: 30px;
}

.icon1 {
	background-position: 0 0;
}

.icon2 {
	background-position: -30px 0;
}

.icon3 {
	background-position: -60px 0;
}

.icon4 {
	background-position: -90px 0;
}

a.icon1:hover, a.icon2:hover, a.icon3:hover, a.icon4:hover{
	background-position-y: -30px;
}


#colorselector {
	height: 20px;
	font-size: 0.6em;
}

#colorselector a {
	margin-right: 4px;
	width: 15px;
	height: 15px;
}


}  /* End Media Query */


@media only screen and (max-width: 280px), only screen and (max-device-width: 280px) {


a.viewmaster { 
	display: none;
}
	
}  /* End Media Query */

	