* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

/* General tags */
* { margin: 0; padding: 0; }
body { background: #cccccc url(../images/cardboard.jpg) repeat; font: 80% verdana,tahoma,sans-serif; color: #555555; }
a { background-color: inherit; color: #663033; font-weight: bold; text-decoration: none; }
a:hover { text-decoration:underline; }
p { margin: 0 0 18px 0; line-height: 1.4em; }
ul, ol { margin: 0 0 16px 15px; padding-left: 5px; }
ul ul, ol ol { margin: 3px 0 0 15px; }
img { float: left; margin: 0 10px 5px 0; }

/* Headers */
h1 { color: #000; font-size: 3.6em; letter-spacing: -3px; margin: 0; text-align: right; }
h2 { font-size: 1.5em; line-height: 1.1em; font-weight: bold; letter-spacing: 1.65px; margin: 1.25em 0 0.75em 0; font-family: "Lucida Console", Monaco, monospace; color: black; }
h3 { font-size: 1.2em; line-height: 1.1em; font-weight: bold; letter-spacing: 1.3px; margin: 1.25em 0 0.75em 0; font-family: "Lucida Console", Monaco, monospace; color: black; }


/* IDs */
#title { margin: 5px auto -8px; max-width: 820px; }
#titleImg { 
	float: none; 
	margin: 40px 0 20px 0px;
	background: url(../images/headings/ACommonTreasury.png) top center no-repeat;
	max-height: 180px !important;
	min-height: 100px;
      	background-position: 49% 0px !important;
	}

#container { background: #fff url(../images/front.png) bottom left no-repeat; border: 5px solid #CCCCCC; color: #555; margin: 0 auto 15px; padding: 0; max-width: 860px; line-height: 1.3em; }
#sidebar { float: right; padding: 0 1.5%; width: 24%; height: 100%; margin: 0 auto; font-family: "Lucida Console", Monaco, monospace; color: black; }
#sidebar p { margin: 10px 0 20px 10px; text-align: left; font-size: 1.75em; }
#sidebar li { line-height: 1.75em; }
#sidebar > ul { list-style: none; padding: 0; margin: 0 0 20px 0; }
#main { float: left; width: 76%; border-right: 3px #CCCCCC solid; padding: 5px 0px 10px 20px; }
#footer { color: #aaa; text-align: center; margin: 0px; padding: 1.5%; clear: both; }
.clearRows{ clear: both; }

/* Various classes */
.credits { color: #663033; font-size: 0.9em; margin-bottom: 0; }
.credits a { color: #663033; }


/* My mods */
div.copywrapper { display: block; padding: 0 1.5%; margin: 3px 0;  min-height: 450px; }
.copywrapper img { float: none; }
.copywrapper p { font-family: "Courier New", Courier, monospace; color: #663033; font-size: 12px; font-weight: normal; }

/* #title img { float: none; margin: 40px 0 20px 0px; } */

/* Accessible Image-Tab Rollovers */
#tab_container {
	position: relative;
	width: 840px;
	height: 44px;
	padding: 0;
	margin: 3px 0 3px 0;	
	}

#nav {
	margin: 0;
	padding: 0;
	height: 44px;
	list-style: none;
	display: inline;
	overflow: hidden;
	}

#nav li {
	margin: 0; 
	padding: 0;
        list-style: none;
	display: inline;
	}

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

#nav a {
	float: left;
	padding: 44px 0 0 0;
	overflow: hidden;
	height: 0px !important;
	height /**/:44px; /* for IE5/Win only */
	}
	
#nav a:hover {
	background-position: 0 -44px;
	}

#nav a:active, #nav a.selected {
	background-position: 0 -88px;
	}
	
#thome a  {
	width: 110px;
	background: url(../images/tabs/tab_home.png) top left no-repeat;
	}

#tworks a  {
	width: 110px;
	background: url(../images/tabs/tab_artworks.png) top left no-repeat;
	}

#tshoebox a  {
	width: 110px;
	background: url(../images/tabs/tab_shoebox.png) top left no-repeat;
	}
	
#tlinks a  {
	width: 110px;
	background: url(../images/tabs/tab_links.png) top left no-repeat;
	}

#tcontact a  {
	width: 110px;
	background: url(../images/tabs/tab_contact.png) top left no-repeat;
	}

div.pic-container {
  background-color: #FFFFFF;
  }
  
div.pic-spacer {
  clear: both;
  }
 
.wThumbs {
	float: left; 
	width: 22%;
	padding: 0 1%; 
	margin: 10px 0;
  	text-align: center;
	}

.wThumbs p { 
	margin: 0; 
	line-height: 1.2em;
	min-height: 4.0em;
}

.aThumbs {
	float: left; 
	width: 33%;
	padding: 0 1%; 
	margin: 10px 0;
  	text-align: center;	
}

.aThumbs img {
	max-width: 100%;
	min-height: 125px;
}

.aThumbs p { 
	margin: 0; 
	line-height: 1.2em;
	min-height: 4.0em;
}

img.instaIcon {
	width: 32px;
	height: 32px;
	vertical-align: middle; 
	display: inline;
	display: inline-block;
	float: none;
	}

img.instaFoot {
	width: 16px;
	height: 16px;
	vertical-align: middle; 
	display: inline;
	display: inline-block;
	float: none;
	margin: 0 5px 0 10px;
}

@media only screen and (max-width: 820px) {
   	/* For mobile phones: */
	#titleImg {
		background: url(../images/headings/ACommonTreasury_narrow.png)  top center no-repeat;
		max-height: 240px !important;
		min-height: 200px;
		}
	.wThumbs { width: 38%; }
	.aThumbs { width: 100%; }
	.clearRowsMobile { clear: both; }
	#sidebar { width: 33%; }
	#main { width: 66%; }
	}

