/*
THEME NAME: AC
THEME URI: http://www.plaintxt.org/themes/sandbox/
DESCRIPTION: Custom theme for Andrew Carmellini based on Sandbox
VERSION: 1.6.1
AUTHOR: Double Triple
*/

html {

}

body {
	font-family:"courier", "courier new", monospace;
	font-size:13px;
	line-height:18px;
	margin:0;
	border:0;
	padding:0;
	border-bottom:0px solid gray;
}

/***** text styles ****************/

/*zeros out all defaults and flattens text sizes*/

table {
  border-collapse: collapse;
} 

/*clears the float between floated floats */
.clearfloat {
	display:block;
	clear:both;
	width:0;
	height:0;
	font-size:0;
	line-height:0;
	border:0;
}

div, img, tr, td, table {
	padding:0;
	margin:0;
	border:0;
}

h1, h2, h3, h4, p {
	margin:0;
	padding:0;
	border:0;
	font-size:13px;
	line-height:18px;
}

h1 {
	font-family:georgia, serif;
	text-transform:uppercase;
	font-weight:normal;
	font-size:36px;
	line-height:42px;
}

h2 {
	font-family:georgia, serif;
	text-transform:uppercase;
	font-weight:normal;
	font-size:24px;
	height:36px;
	line-height:36px;
	padding-bottom:6px;
}

h3 {
	font-weight:normal;
}

h4 {
	font-family:georgia, serif;
	text-transform:uppercase;
	font-size:17px;
	line-height:18px;
}

ul, ul li, li {
	list-style:none;
	list-style-position:inside;
	padding:0;
	margin:0;
	border:0;
}

p {
	margin:0 0 18px 0;
	padding:0;
	display:block;
}


/***** default links ****************/
a, a:visited {
	text-decoration: none;
	color:black;
	padding:0;
	margin:0;
	border:0;
}

a:hover {
	text-decoration: underline;
	color:black;
}

a:active, a:focus {
    outline: 0;
} 

/* Wrapper surrounds the whole site */
#wrapper {
	margin:0;
	border:0;
	padding:0;
}

/* Header */
#header {
	display:block;
	background-image: url(images/AndrewCarmellini.jpg) ;
	background-repeat: no-repeat;
	background-position: 0 0;
	width:638px;
	height:140px;
	position:absolute;
	top:0;
	left:6px;
	z-index:50;
}

#blog-title, #blog-description {
	display:none;
}

/* Container surrounds the topbar and content */
#container {
	position:relative;
	display:block;
	padding:154px 0 0 0;
	margin:0;
	z-index:0;
}

/* Global topbar (a customized sidebar) */
#topbar {
	position:relative;
	display:block;
	padding-left:18px;
	padding-right:12px;
	clear:both;
	z-index:10;
	border-bottom:9px solid white;
}

#pagelinks {
}

.pagelinks_thumbnails {
	position:relative;
	display:block;
	float:left;
	height:160px;
	margin-right:6px;
	margin-bottom:9px;
	position:relative;
	background-color:white;
	overflow:hidden;
	background-position:center 0;
	background-repeat: no-repeat;
	z-index:50;
}

.pagelinks_thumbnails h4 {
	display:block;
	text-align:center;
	width:auto;
	background-color:#e8e6d8;
	margin-top:4px;
	padding-top:1px;
	padding-bottom:2px;
	border-bottom:2px solid white;
	border-top:2px solid white;
}

.pagelinks_thumbnails a, .pagelinks_thumbnails a:visited {
	display:block;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:160px;
	background-image: url(images/transparent.gif) ;
	color:black;
}

.pagelinks_thumbnails:hover {
}

.pagelinks_thumbnails a:hover {
	background-color:transparent;
	text-decoration:none;

}

.pagelinks_thumbnails a:hover h4 {
	background-color:white;
	border-color:#31302d;
}

.pagelinks_thumbnails:active, .pagelinks_thumbnails a:active {
	background-color:#e8e6d8;
}

#pagelinks_nothumb {
	position:static;
	display:block;
	clear:both;
	font-size:17px;
	line-height:18px;
	font-family:georgia, serif;
	text-transform:uppercase;
	z-index:4000;
}

span.plus {
	display:block;
	float:left;
	height:24px;
	width:48px;
	background-image: url(images/plus.png) ;
	background-repeat: no-repeat;
	background-position: 0 0;
	position:relative;
	top:-3px;
}

a.nothumb, a.nothumb:visited {
	position:relative;
	display:block;
	float:left;
	margin:0px .2em 4px .8em;
	height:24px;
	line-height:24px;
	border-bottom:3px double white;
	text-decoration:none;
	z-index:5000;
}

a.nothumb:hover {
	border-color:#31302d;
	text-decoration:none;
}

.rsslink {
	color:orange;
	text-transform:uppercase;
}

/******************* Content block ********************************/
#content {
	clear:both;
	position:relative;
	display:block;
	background-color:#e8e6d8;
	padding:0;
	padding-bottom:18px;
	border-top:6px solid white;
}


/******************* header/post nav block ************************/

.block {
	clear:both;
	position:relative;
	display:block;
	margin:0;
	padding:0;
	padding-top:12px;
	padding-bottom:9px;
	margin-left:18px;
	margin-right:12px;
	line-height:0;
	font-size:0;
}

hr.scotchrule {
	display:block;
	clear:both;
	height:5px;
	padding-top:0;
	border:0;
	border-top:2px solid  #31302d;
	border-bottom:1px solid #31302d;
	text-align:left;
	line-height:0;
	font-size:0;
}

.post-nav {
	position:relative;
	display:block;
	clear:both;
	font-size:17px;
	line-height:18px;
	font-family:georgia, serif;
	text-transform:uppercase;
	height:24px;
	margin-top:6px;
}

.nav-next {
	position:absolute;
	top:0;
	right:0;
}

.post-nav a:hover {
	border-bottom:1px solid #31302d;
}

#today {
	position:relative;
	top:-6px;
	padding-top:18px;
}

#yesterdays {
	margin-top:0;
	padding-top:0;
}

#yesterdays h2{
	border-top:1px dotted #31302d;
	margin-top:0;
}

.published {
	font-style:normal;
	font-weight:bold;
	border:0;
}



/******** Standard Page Layout Stuff **************/

#page-box-nest {
	margin:0;
	padding:0 12px 0 358px;
	background-color:#e8e6d8;
}

#page-box {
  float:left;
  width:100%;	
  border-left:18px solid #e8e6d8;
  border-right:1px solid #e8e6d8;
  margin-left:-18px;
  margin-right:0px;
  display:inline; /* So IE plays nice */
} 
  
#page-box h1 {
	display:block;
	position:relative;
	top:0;
	left:-340px;
	margin-bottom:24px;
	z-index:2000;
}

.text-here {
	display:block;
	float:left;
	width:358px;
	padding-left:0px;
	margin-left:-358px;
	position:relative;
}

.text-here p {
	padding-left:19px;
}

.text-here a, .text-here a:visited  {
	border-bottom:0px solid black;
	text-decoration:underline;
}

.text-here a:hover {
	border-bottom:1px solid black;
}

.images-here {
  float:left;
  width:100%;
  margin-right:-100%;		
}

.images-here p {
	display:block;
	float:left;
	margin:0 0 18px 18px;
}

#page-box img {
	border:6px solid white;
}


/********  Photo Posts ************/

.photo-post {
	display:block;
	position:relative;
	float:left;
	height:460px;
	z-index:100;
	margin:0 0 18px 18px;
}

#photo-post-today {
	height:442px;
}

.photo-box {
	clear:both;
	display:block;
	position:relative;
	text-align:center;
	line-height:0;
	font-size:0;
	padding:0;
	margin:0;
}

.photo-box p {
	line-height:0;
	font-size:0;
	margin:0;
}

.photo-box img {
	position:relative;
	display:block;	
	border:6px solid white;
	margin:0;
}

.photo-box embed {
	display:block;	
	border:6px solid white;
}

.photo-box a {
}

.photo-caption {
	width:276px;
	height:80px;
	padding-top:2px;
	margin-left:6px;
}

#photo-post-today .photo-caption {
	height:60px;
}

/************ video posts and page ************/

.video-title {
	color:#e8e6d8;
}

.video-page #content, .video-block {
	background-color:black;
}

.video-page #content hr.scotchrule {
	border-color:#e8e6d8;
}

.video-page div.post-nav a, .video-page div.post-nav a:visted {
	color:#e8e6d8;
}

.video-post   {
	display:block;
	position:relative;
	clear:both;
	padding:6px 0 0 0;
	margin-bottom:36px;
	background-color:black;
	color:#e8e6d8;
}

.video-post  h3 {
	display:block;
	border-top:1px dotted #e8e6d8;
	margin:0 12px 0 18px;
	padding-left:1px;
	text-align:right;
	height:18px;
	line-height:18px;
}

.video-post  h1 {
	display:block;
	position:absolute;
	top:30px;
	left:18px;
	width:240px;
	margin-bottom:36px;
	z-index:100;
}

.video-post a, .video-post  a:visited {
	color: #e8e6d8;
}

.video-post  a:hover {
	color: #e8e6d8;
}

div.video-box  {
	display:block;
	position:relative;
	padding:12px  0px 24px 262px;
	margin:0 18px 0 18px;
	z-index:0;
}

.video-content a.post-edit-link {
	bottom:0px;
}

.video-page div.post-nav a, .video-page div.post-nav a:visited {
	color:#e8e6d8;
	border-color:#e8e6d8;
}

/************ Links page ************/

.page-template-links-php #content {
}
 
.friendbox {
	display:block;
		font-size:13px;
	line-height:13px;
	clear:both;
	padding-bottom:24px;
	width:618px;
}

.friendbox h4 {
	display:block;
	font-weight:normal;
}
 
ul.xoxo {
	display:block;
	list-style:none;
	padding:0;
	margin-top:12px;
}

ul.xoxo li  {
	position:relative;
	background-color:white;
	float:left;
	margin:0 6px 6px 0;
	padding:0;
}

ul.xoxo li a {
	display:block;
	padding:6px 6px 6px 6px;
	list-style:none;
	margin:0;
}

.xoxo li ul,  ul.xoxo li ul li  {
	display:block;
	width:240px;
	margin:0;
	padding:0;
	list-style:none;
}

/************ Press  Posts and Page ************/
.press-post {
	background-color:white;
	position:relative;
	display:block;
	float:left;
	width:309px;
	margin:12px 0 6px 18px;
	padding:6px;
	text-align:center;
	height:360px;
	border:6px solid #dad9d6;
	overflow:hidden;
}

.press-post:hover {
}

.press-post a, .press-post a:visited {
	display:block;
}

.press-post a:hover {
	background-color:white;
	color:black;
}

.press-text, .press-author  {
	text-align:left;
	padding-left:6px;
}

.press-author  {
	padding-top:9px;
}

.press_tn {
	display:block;
	padding-bottom:24px;
}

/************** Single pages *****************************/

/* puts an extra bottom margin on the top block */
div#single  {
	padding-bottom:24px;
}

/**************CONTACT PAGE *****************************/

#hi {
	display:block;
	position:relative;
	float:left;
	width:350px;
	height:275px;
	margin:18px;
	background-image: url(images/hi.png);
	background-repeat:no-repeat;
}

#hi h1 {
	display:none;
}

div#contact-block {
	display:block;
	position:relative;
	float:left;
	margin:18px 12px 18px 18px;
}

form, fieldset  {
	display:block;
	position:relative;
	border:0;
	margin:0;
	padding:0;
	clear:both;
}

input, textarea {
	background-color:white;
	border:2px solid gray;
	cursor:pointer;
	padding:3px;
}

textarea {
	display:block;
	width:420px;
}

input:hover, textarea:hover {
	background-color:#f6f4e9;
	border:2px solid black;
	cursor:pointer;
}

input:active; input:focus {
  outline: 0;
}

div.wpcf7-response-output {
	margin:0;
	padding:0;
	border:0;
	display:block;
	width:400px;
	position:relative;
	left:-7px;
}

/**************ARCHIVES ***************************/

#monthly-archives {
	display:block;
	margin-left:19px;
}

#monthly-archives li {
	padding-bottom:3px;
}

#monthly-archives li a, #monthly-archives li a:visited  {
	border-bottom:1px solid #e8e6d8;
}

#monthly-archives li a:hover {
	border-color:black;
}



/**************FOOTER *****************************/
#footer {
	display:block;
	position:relative;
	clear:both;
	padding:3px 90px 0px 64px;	
	background-color:white;
	border-top:2px solid #31302d;
	border-bottom:1px solid gray;
}

#ac_footer {
	display:block;
	background-image: url(images/ac_footer_clear.png) ;
	background-repeat: no-repeat;
	background-position: 0 0;
	width:32px;
	height:32px;
	position:absolute;
	left:18px;
	top:7px;
	z-index:7000;
}

table#footerlinks {
	position:relative;
	z-index:4000;
	display:block;
	background-color:white;
	border-collapse:collapse;
	margin:0;
	padding:0 0px 0 0px;
	border:0;
	margin-bottom:3px;
	min-width:400px;
}

#footerlinks td{
	height:42px;
	vertical-align:center;
}

#footerlinks a, #footerlinks a:visited {
	margin:0px 6px 4px 6px;
	border-bottom:1px solid white;
	padding:0;
	line-height:15px;
	height:15px;
	display:block;
	float:left;
	position:relative;
	z-index:4000;
}	

#footerlinks a:hover {
	border-color: #31302d;
}	

.bydoubletriple {
	display:block;
	width:60px;
	position:absolute;
	top:7px;
	right:0;
	font-family:arial, helvetica, sans-serif;
	font-size:10px;
	line-height:12px;
	z-index:3000;
	padding-right:2px;
}

.bydoubletriple a, .bydoubletriple a:visited {
	color:black;
	text-decoration:none;
}

.bydoubletriple a:hover {
	border-bottom:2px solid #31302d;
	text-decoration:none;
}


/*
|--------------------------------------------------------------------------
| For the UItoTop jQuery Plugin 1.1
| http://www.mattvarone.com/web-design/uitotop-jquery-plugin/
|--------------------------------------------------------------------------
*/

#toTop, #toTopHover {
	display:none;
	text-decoration:none;
	position:fixed;
	top:12px;
	right:12px;
	overflow:hidden;
	width:30px;
	height:16px;
	padding-top:15px;
	border:0;
	background:url(images/arrow_up30_trans.png) no-repeat;
	text-align:center;
	z-index:2000;
	background-color:white;
	border:1px solid white;
}

#toTop:active, #toTop:focus {
	outline:none;
}

/*
|--------------------------------------------------------------------------
404
|--------------------------------------------------------------------------
*/

#four-o-four {
	display:block;
	margin-left:18px;
	width:500px;
	padding:240px 72px 0 18px;
	background:url(images/404.jpg) no-repeat;
}

/*
|-----Edit Post
*/

a.post-edit-link, a.post-edit-link:visited {
	color:gray;
	height:18px;
	margin-left:18px;
}