/*
 Theme Name: SSF
 Description: A custom theme for Schwartz, Shatz and Fentin P.C.
 Author: Leslie Tane
 Author URI: http://www.leslietanedesign.com
 Coded by: Tom Sramek - http://wwww.sramekdesign.com
 */

/*====================================================================================================
 * G L O B A L                                                                             G L O B A L  
 =====================================================================================================*/

/* Default font settings. 
   The font-size percentage is of 16px. (0.75 * 16px = 12px) */
html { font-size: 100.01%; }
body { 
	  font-size: 75%;   
	  color: #000000; 
	  background-color: #CCCCCC;
	  font-family: Verdana;	  
}

/* Links
-------------------------------------------------------------- */

a, 
a:link,
a:visited   { color: #2B5A50; text-decoration: none; }
a:hover,
a:active,
a:focus     { color: #2B5A50; outline:none; text-decoration: underline; /*deletes dotted outline border*/ }
a img       { border: none; /*resets the amazing border*/ } 

/* Alignment
-------------------------------------------------------------- */

.aligncenter,
div.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft      { float: left; position: relative; z-index: 5;  }
.alignright     { float: right; }

/* Headings
-------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6     { font-weight: normal; }
/*this should remain the only h1 tag on whole site*/
.headermeta h1             { font-size: 2.0em; }
/*title of the post*/
.post-content h2.permalink, h2.permalink
{
	padding: 5px 0px 5px 0px;
	line-height: 1;
	font-size: 1.5em;
	color: #000;
}
/*search results for...*/
h2#search                  { margin: 0 0 0 0; padding: 0.5em 0px 0.5em 10px; font-size: 1.5em; } 
/*title of the widget*/
h3.widgettitle             { width: auto; height: 30px; padding: 0 10px 0 10px; font-size: 1.4em; font-style: italic; line-height: 30px; background-color: #505050; color: #ffffff; }

/* Headings - entry
-------------------------------------------------------------- */

.entry h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
.entry h2 { font-size: 2em; margin-bottom: 0.75em; }
.entry h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
.entry h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
.entry h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
.entry h6 { font-size: 1em; font-weight: bold; }

/* Widget
-------------------------------------------------------------- */

.widget            { position: relative; width: auto; margin: 0px 0 10px 0px; text-align: right; }
.widget p          { padding: 10px 10px 10px 10px; }  
.widget ul         { list-style: none; padding: 0px 0px 0px 0px; }
.widget ul ul      { margin: 0 0 0 10px; padding: 0 0 0 0; }

/*Search form (by default in sidebar))
-------------------------------------------------------------- */

#searchform        { display: block; }
#searchform p       { padding: 0 0 0 0; }
#searchform #searchfield
{
	float: left;
	width: 130px;
	height: 20px;
	line-height: 20px;
	padding: 0px 2px 0 2px;
	border: 1px solid #333;
	background: #fff;
	margin-top: 10px;
	margin-right: 10px;
	margin-left: 50px;
}
#searchform #searchsubmit
{
	float: right;
	width: 30px;
	/* #searchfield height +2px */
	height: 22px;
	border: 1px solid #333;
	background: #2b5a50;
	color: white;
	margin-top: 10px;
}

/* Misc
-------------------------------------------------------------- */

.indent-9999px { text-indent: -9999px; }
.display-none  { display: none; }
.no-bg         { background: none !important; }

/*====================================================================================================
 * S T R U C T U R E                                                                 S T R U C T U R E
 ====================================================================================================*/

#container    { position: relative; width: 940px; margin: 0 auto; text-align: left; }
#addressbox
{
	position: relative;
	width: 940px;
	height: 81px;
	z-index: 100;
	float: right;
}
#header       { position: relative; width: auto; height: 350px; background: url(images/header.png) no-repeat; }
#header2       { position: relative; width: auto; height: 350px; background: url(images/header2.png) no-repeat; }
/*wraps content and sidebar - important when using more than 2 columns*/
#wrapper      { position: relative; float: left; width: 100%; background: url(images/container-bg.png) repeat-y;}
/*wraps posts*/
#content
{
	position: relative;
	float: right;
	width: 620px;
	height: auto;
	margin: 0 30px 0 0;
	padding: 0 10px 20px 10px;
}
/*wraps a post*/
#content2
{
	position: relative;
	float: right;
	width: 620px;
	height: auto;
	margin: -228px 30px 0 0;
	padding: 0 10px 20px 10px;
}
.post-content { position: relative; float: left; width: 395px; padding: 0 10px 10px 10px; }
/*.archive .post-content,
.blog .post-content,
.single .post-content { width: auto; }*/
#sidebar
{
	position: relative;
	float: left;
	width: 230px;
	height: auto;
	margin: -120px 0 0 10px;
	display: inline;
	padding-bottom: 30px;
}
#footer
{
	position: relative;
	width: auto;
	height: 50px;
	margin: 0 auto;
	padding: 20px 20px 20px 20px;
	background: url(images/footer-bg.png) no-repeat top center;
	clear: both;
	font-size: 0.8em;
	color: #666666;
	text-align: justify;
}

/*====================================================================================================
 * H E A D E R                                                                             H E A D E R
 ====================================================================================================*/

a.logo                 { position: absolute; display: block; width: 200px; height: 130px; top: 35px; left: 40px; text-indent: -9999px; }
.headermeta              { position: absolute; top: 80px; left: 25px; }
.headermeta .description { font-size: 1.6em; }

#headerimg { position: absolute; width: 611px; height: 228px; left: 282px; top: 102px; }
#headerimg.mainimage
{
	background-image: url(images/headerimg.jpg);
	background-repeat: no-repeat;
	z-index: 500;
}

#top-menu { position: absolute; width: 100%; height: 30px; left: 0px; bottom: 0px; background-color: #000; z-index: 9999; }

/*====================================================================================================
 * F O O T E R                                                                             F O O T E R
 ====================================================================================================*/

/*====================================================================================================
 * S I D E B A R                                                                         S I D E B A R
 ====================================================================================================*/

/*Sidebar - widget
-------------------------------------------------------------- */

#sidebar .widget ul li, #sidebar .widget ul li ul li{ text-transform: uppercase; line-height: 2.5em; }
#sidebar .widget ul li li, #sidebar .widget ul li li ul li { text-transform: none; line-height: 1.2em; margin-bottom: 10px; margin-left: 20px; }
#sidebar .widget h2.widgettitle  { display: none; }
#wptitle2-recent-posts-3 ul li{ padding-bottom: 10px; }

/*====================================================================================================
 * C O N T E N T                                                                         C O N T E N T
 ====================================================================================================*/

.entry { padding: 0 0px 0 0px; font-size: 0.9em; line-height: 1.6em; /*post itself without permalink*/ }
.thumbnail img { float: left; width: 150px; height: 150px; margin: 0 20px 10px 0; }
.postmetadata               { padding: 0px 0px 0px 0px; }
.postmetadata.top           {  } 
.postmetadata.bottom        {  } 

/* Post content - recent news
-------------------------------------------------------------- */

#rn { position: relative; float: right; width: 155px; min-height:100px; padding: 25px 30px 20px 20px; background: url(images/rn-middle.png) repeat-y; font-family: Arial; }
#rn .rn-top { position: absolute; width: 205px; height: 20px; top: 0px; left: 0px; background: url(images/rn-top.png) no-repeat; }
#rn .rn-bottom { position: absolute; width: 205px; height: 20px; bottom: 0px; left: 0px; background: url(images/rn-bottom.png) no-repeat; }
#rn .news-item { position: relative; margin: 0 0 15px 0; font-size: 0.9em; }

#rn .widget            { text-align: left; color: #000; }
#rn h3.widgettitle { background: none; font-style: normal; color: #000; padding: 0 0 0 0; line-height: 1.0em; }
.widget p          { padding: 10px 10px 10px 10px; }  
.widget ul         { list-style: none; padding: 0px 0px 0px 0px; }
.widget ul ul      { margin: 0 0 0 10px; padding: 0 0 0 0; }
#newspostbottom
{
	border-bottom: 1px #999 solid;
	padding-top: 15px;
	padding-bottom: 15px;
	margin-top: 15px;
	margin-bottom: 15px;
}

/* Post content - recent news 2
-------------------------------------------------------------- */

#rn2 { position: relative; float: right; width: 200px; min-height:100px; font-family: Arial; }
#rn2 .news-item { position: relative; margin: 0 0 15px 0; font-size: 0.9em; }

#rn2 .widget            { text-align: left; color: #000; margin-top: 14px; }
#rn2 h3.widgettitle { display: none; background: none; font-style: normal; color: #000; padding: 0 0 0 0; line-height: 1.0em; }
.widget p          { padding: 10px 10px 10px 10px; }  
.widget ul         { list-style: none; padding: 0px 0px 0px 0px; }
.widget ul ul      { margin: 0 0 0 10px; padding: 0 0 0 0; }
#newspostbottom2
{
	border-bottom: 1px #999 solid;
	padding-top: 15px;
	padding-bottom: 15px;
	margin-top: 15px;
	margin-bottom: 15px;
}

/* Post content - two cols
-------------------------------------------------------------- */

.two-cols { display: block; width: 600px; }
.two-cols h3 { font-size: 1.4em; font-weight: normal; line-height: 1.8em; }
.two-cols ul { display: block; float: left; width: 600px; margin: 0 0 0 20px; color: #2B5A50; }
.two-cols ul li { float: left; width: 250px; height: 20px; font-size: 0.9em; }
.two-cols ul li a { text-decoration: underline; }

/* Post content - text elements
-------------------------------------------------------------- */

.entry p              { margin: 1em 0 1em 0; }
.entry img.left,
.entry img.alignleft  { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
.entry img.right,
.entry img.alignright { float: right; margin: 1.5em 0 1.5em 1.5em; }
.entry img            { max-width:100%; /*..because some images are too wide*/}

.entry blockquote          { margin: 1.5em; color: #666; font-style: italic; }
.entry strong              { font-weight: bold; }
.entry em, .entry dfn      { font-style: italic; }
.entry dfn                 { font-weight: bold; }
.entry sup, .entry sub     { line-height: 0; }

.entry abbr, 
.entry acronym     { border-bottom: 1px dotted #666; }
.entry address     { margin: 0 0 1.5em; font-style: italic; }
.entry del         { color: #666; }

.entry pre 				{ margin: 1.5em 0; white-space: pre; }
.entry pre, .entry code, .entry tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }

/* Post content - lists
-------------------------------------------------------------- */

.entry li ul, 
.entry li ol       { margin: 0 1.5em; }
.entry ul,
.entry ol          { margin: 0 1.5em 1.5em 1.5em; }

.entry ul          { list-style-type: disc; }
.entry ol          { list-style-type: decimal; }

.entry dl          { margin: 0 0 1.5em 0; }
.entry dl dt       { font-weight: bold; }
.entry dd          { margin-left: 1.5em;}
.entry li.page_item
{
	list-style-type: none;
	margin-top: 5px;
	margin-bottom: 5px;
}

/* Post content - tables
-------------------------------------------------------------- */

.entry table       { margin-bottom: 1.4em; width:100%; }
.entry th          { font-weight: bold; }
.entry thead th    { background: #c3d9ff; }
.entry th,
.entry td,
.entry caption     { padding: 4px 10px 4px 5px; vertical-align:text-top; }
.entry tr.even td  { background: #e5ecf9; }
.entry tfoot       { font-style: italic; }
.entry caption     { background: #eee; }

/* Post content - WP-captions - post content (optional rounded corners for browsers that support it)
-------------------------------------------------------------- */

.wp-caption        { border: 1px solid #ddd; text-align: center; background-color: #f3f3f3; padding-top: 4px; margin: 10px; /* -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; */ }
.wp-caption img    { margin: 0; padding: 0; border: 0 none; }
.wp-caption p.wp-caption-text { font-size: 11px; line-height: 17px; padding: 0 4px 5px; margin: 0; }

/* Post content - page navigation
-------------------------------------------------------------- */
.navigation           { line-height: 30px; padding: 0 10px 0 10px; }
.navigation .next     { float: left; max-width: 50%; }
.navigation .previous { float: right; max-width: 50%; }

/*====================================================================================================
 * H A C K S                                                                                 H A C K S 
 ====================================================================================================*/

/* clearfix 
-------------------------------------------------------------- */

.clear:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clear { min-width: 0; display: inline-block; /* \*/ display: block; }
* html .clear { /* \*/ height: 1%; }
td, td .vatop
{
vertical-align:text-top;
}
#alignright { text-align: right; }

/*WP-PageNavi Styles*/

.wp-pagenavi{
left: 258px;
top:-37px;
width: 95%;
position: relative;
}
