/*
 Theme Name: PSDtoWp.net 
 Theme URI:
 Description: PSDtoWp.net - Wordpress framework. Basic theme for all developers.
 Author: Tomas Sramek 
 Author URI: http://sramekdesign.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: #505050;
	  font-family: Arial;	  
}

/* Links
-------------------------------------------------------------- */

a, 
a:link,
a:visited   { color: #00CCFF; text-decoration: none; }
a:hover,
a:active,
a:focus     { color: #FF9900; outline:none; /*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;  }
.alignright     { float: right; }

/* Headings
-------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6     { font-weight: bold; }
/*this should remain the only h1 tag on whole site*/
.headermeta h1             { font-size: 2.0em; }
/*heading of archives, search, tags page templates etc*/
h2#archive-heading                  { margin: 0 0 0 0; padding: 0.5em 0px 0.5em 0px; font-size: 1.5em; } 

/* 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: 960px; margin: 0 auto; text-align: left; background-color: #DCDCDC; }
#header       { position: relative; width: auto; height: 200px; background-color: #fff; z-index: 99999; }
/*wraps content and sidebar - important when using more than 2 columns*/
#wrapper      { position: relative; float: left; width: 100%; }
/*wraps posts*/
#content      { position: relative; float: left; width: 630px; height: auto; padding: 0 0 20px 0; }
/*wraps a post*/
.post-content { position: relative; width: auto; background-color: #ffffff; padding: 0 0px 10px 0px; }
#sidebar      { position: relative; float: right; width: 310px; height: auto; display: inline; }
#footer       { position: relative; width: auto; height: 100px; background-color: #BCBCBC; clear: both; }

/*====================================================================================================
 * H E A D E R                                                                             H E A D E R
 ====================================================================================================*/

img.logo                 { position: absolute; width: 180px; height: 100px; top: 25px; left: 25px; border:1px solid gray; }
.headermeta              { position: absolute; top: 80px; left: 25px; }
.headermeta .description { font-size: 1.6em; }

#top-menu { position: absolute; width: auto; 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
 ====================================================================================================*/

/* Widget
-------------------------------------------------------------- */

.widget            { width: auto; margin: 0px 0 10px 0; background-color: #FFFFFF; }
.widget p          { padding: 0px; }  
.widget ul         { list-style: none; padding:0px; }
.widget ul ul      { margin: 0 0 0 10px; padding: 0 0 0 0; }
h3.widgettitle     { width: auto; height: 30px; padding: 0 0px 0 0px; font-size: 1.4em; font-style: italic; line-height: 30px; background-color: #505050; color: #ffffff; }

/*Search form (by default in sidebar))
-------------------------------------------------------------- */

#searchform        { display: block; width: auto; height: 40px; line-height: 50px; background-color: #7B7B7B; }
#searchform p       { padding: 0 0 0 0; }
#searchform #searchfield { float: left; width: 196px; height: 20px; line-height: 20px; margin: 10px 0 0 10px; padding: 0px 2px 0 2px; border: 1px solid #ffffff; background: #505050; color: #ffffff; }
#searchform #searchsubmit { float: right; width: 50px; height: 22px /* #searchfield height +2px */; margin: 10px 10px 0 0px; border: 1px solid white; background: #505050; color: white;  cursor: pointer; }

/*====================================================================================================
 * C O N T E N T                                                                         C O N T E N T
 ====================================================================================================*/
 
/* title of the post */
.post-content h2.permalink { padding: 5px 0px 5px 0px; line-height: 1; font-size: 1.5em; background-color: #F4F4F4; color: #00CCFF; }
.entry { padding: 0 0px 0 0px; font-size: 1.0em; line-height: 1.4em; /*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        {  } 

/* Entry - 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; }

/* Entry - headings
-------------------------------------------------------------- */

.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; }


/* Entry - 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 - 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; }
.entry tr.even td  { background: #e5ecf9; }
.entry tfoot       { font-style: italic; }
.entry caption     { background: #eee; }

/* Entry - 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 0px 0 0px; }
.navigation .next     { float: left; max-width: 50%; }
.navigation .previous { float: right; max-width: 50%; }

/* wp-pagenavi */
.wp-pagenavi { clear: both; line-height: 30px; }
.wp-pagenavi a,
.wp-pagenavi span         {	text-decoration: none; border: 1px solid #BFBFBF; padding: 3px 5px;	margin: 2px; }
.wp-pagenavi a:hover,
.wp-pagenavi span.current {	border-color: #000; }
.wp-pagenavi span.current {	font-weight: bold; }

/* better wp pagination */
ul.paging { list-style: none; padding: 0; font-weight: bold; }
ul.paging li { float: left; margin: 0 6px 6px 0; }
ul.paging li a, ul.paging li.active { display: block; padding: 3px 6px; background-color: #f5f5f5; border: 1px solid #ccc; }
ul.paging li.active { background-color: #000; border-color: #000; color: #fff; }

/*====================================================================================================
 * 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%; }