/*
 Theme Name: Tom Sramek
 Theme URI:
 Description: Tom Sramek's personal blog. This theme is based on PSDtoWp.net - Wordpress framework, basic theme for all developers.
 Author: Tom Sramek
 Author URI: http://tomsramek.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: url(images/bg.jpg) repeat-x #9BC1F0;
	  font-family: Arial /* "Helvetica Neue", Arial, Helvetica, sans-serif */; 
      position: relative; 
      width: auto;
      overflow-x: hidden;
}

/* Links
-------------------------------------------------------------- */

a, 
a:link,
a:visited   { color: #268CE3; text-decoration: none; }
a:hover,
a:active,
a:focus     { color: #7E3300; outline:none; /*deletes dotted outline border*/ }
a img       { border: none; /*resets the amazing border*/ } 
a.download-file  { position: relative; display: block; width: 250px; height: 100px; background: url(images/downloadbutton.png) no-repeat; text-indent: -9999px; }
a.buy-me-beer  { position: relative; display: block; width: 250px; height: 100px; margin: 40px 0 40px 0; background: url(images/buyme-a-beer.jpg) no-repeat; text-indent: -9999px; }

/* 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; }
/*title of the post*/
.post-content h2.permalink { padding: 5px 30px 5px 60px; line-height: 1; font-size: 2.0em; background-color: #8B4104; color: #fff; }
.post-content h2.permalink a {
 /*let's do it different way*/
/* transform: rotate(-1deg);
-webkit-transform: rotate(-1deg);
-moz-transform: rotate(-1deg);*/       
}
.post-content h2.permalink a:link,
.post-content h2.permalink a:visited { color: #fff; }
.post-content h2.permalink a:hover,
.post-content h2.permalink a:active { color: #DEF476; }

.page .post-content h2.permalink { padding: 5px 30px 5px 30px; }
/*search results for...*/
h2#search                  { margin: 0 0 0 0; padding: 0em 40px 1.8em 40px; font-size: 2.0em; } 
/*title of the widget*/
h3.widgettitle             { width: 330px; height: 84px; padding: 0 0px 0 0px; line-height: 70px; font-size: 2.0em; font-style: italic; text-align: center; background: url(images/bg-widget-title.png) no-repeat; color: #ffffff; }

/* Headings - post content
-------------------------------------------------------------- */

.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: 0 0 1em 0; }
.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; }

/* 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
 ====================================================================================================*/

/*bg of the content*/ 
#super-container { position: relative; width: 100%; margin: 0 auto; background: url(images/bg-super-wrapper.png) repeat-y center; }
/*top image*/
#container    { position: relative; width: 100%; min-width: 990px; margin: 0 auto; text-align: left; background: url(images/top.jpg) no-repeat top center; }
/*header*/
#header       { position: relative; width: auto; height: 640px; z-index: 99999; }
/*finally centers wrapper*/
#super-wrapper      { position: relative; width: 990px; margin: 0 auto; text-align: left; }
/*wraps content and sidebar - important when using more than 2 columns*/
#wrapper      { position: relative; float: left; width: 990px; z-index: 1000; }
/*wraps posts*/
#content      { position: relative; float: left; width: 655px; height: auto; margin: -18px 0 0 -25px; z-index: 1000; }
.single #content,
.page #content { background: url(images/content-pixel.png) repeat; border: 1px solid #DFDFDF; }
/*wraps a post*/
.post-content { position: relative; width: auto; margin: 0 0 10px 0; padding: 0 0 10px 0; background: url(images/content-pixel.png) repeat; border: 1px solid #DFDFDF; }
.single .post-content,
.page .post-content { background: none; border: none; }
#sidebar      { position: relative; float: right; width: 330px; height: auto; margin: 0 15px 0 0; display: inline; z-index: 1000; }
#footer       { position: relative; width: 581px; height: 185px; padding: 65px 205px 0 205px; margin-left: 0px; background: #9BC1F0 url(images/footer.jpg) no-repeat; clear: both; z-index: 0; color: #6E401F; text-shadow: 1px 1px 1px #C99446; }
/*bottom light spots*/
#bottom-left { position: absolute; width: 320px; height: 360px; top: -360px; left: 2px; background: url(images/bottom-left.jpg) no-repeat; }
#bottom-right { position: absolute; width: 28px; height: 250px; top: -250px; right: 0px; background: url(images/bottom-right.jpg) no-repeat; }

/*====================================================================================================
 * H E A D E R                                                                             H E A D E R
 ====================================================================================================*/

#header img.logo                 { position: absolute; width: 486px; height: 54px; top: 5px; left: 25px; }
.headermeta              { position: absolute; top: 80px; left: 25px; }
.headermeta .description { font-size: 1.6em; }
#header a.rss { display: block; position: absolute; width: 89px; height: 80px; top: 0px; left: 620px; background: url(images/rss.png) no-repeat; text-indent: -9999px; }

/*social*/
#header #social-bookmark { position: absolute; width: 350px; height: 100px; top: 470px; right: -60px; }
#header a.social { position: absolute; display: block; text-indent: -9999px; }

#header a.social#twitter,
#header a.social#twitter:link,
#header a.social#twitter:visited { width: 136px; height: 75px; top: 10px; right: 0px; background: url(images/ico-twitter.png) no-repeat; }
#header a.social#twitter:hover,
#header a.social#twitter:active { background: url(images/ico-twitter.png) 0px -75px no-repeat; z-index: 9999;}

#header a.social#facebook,
#header a.social#facebook:link,
#header a.social#facebook:visited { width: 136px; height: 70px; top: 40px; right: 90px; background: url(images/ico-facebook.png) no-repeat; }
#header a.social#facebook:hover,
#header a.social#facebook:active { background: url(images/ico-facebook.png) 0px -70px no-repeat; z-index: 9999; }

#header a.social#linkedin,
#header a.social#linkedin:link,
#header a.social#linkedin:visited { width: 136px; height: 70px; top: 10px; right: 200px; background: url(images/ico-linkedin.png) no-repeat; }
#header a.social#linkedin:hover,
#header a.social#linkedin:active { background: url(images/ico-linkedin.png) 0px -73px no-repeat; z-index: 9999;}

.top-menu { position: absolute; width: 590px; height: 70px; line-height: 70px; left: 0px; bottom: 50px; z-index: 9999; text-align: center; }
.top-menu ul { list-style-type: none; }
.top-menu ul li { display: inline; margin: 0 20px 0 0; }
.top-menu ul li a { font-size: 2.0em; padding: 0px; }
.top-menu ul li.current_page_item a { font-size: 3.0em; color: #7E3300; }

/*====================================================================================================
 * S I D E B A R                                                                         S I D E B A R
 ====================================================================================================*/

/*Sidebar - widget
-------------------------------------------------------------- */

.widget            { width: auto; margin: 0px 0 10px 0; }
.widget p          { padding: 10px 40px 10px 40px; line-height: 1.6em; }  
.widget ul         { width: 220px; list-style: none; line-height: 1.6em; padding: 10px 40px 10px 40px; text-shadow: 1px 1px 1px #fff;}
.widget ul ul      { margin: 0 0 0 10px; padding: 0 0 0 0; }

.widget_tag_cloud div { padding: 10px 40px 10px 40px; }

/*Sidebar - search form
-------------------------------------------------------------- */

#searchform        { display: block; width: 299px; height: 83px; margin: 0 auto; background: url(images/search.png) no-repeat; }
#searchform p       { padding: 0 0 0 0; }
#searchform #searchfield { float: left; width: 194px; height: 36px; line-height: 36px; margin: 20px 0 0 16px; padding: 0px 5px 0 5px; font-style: italic; border: none; background: none; color: #ffffff; }
#searchform #searchsubmit { float: right; width: 65px; height: 60px /* #searchfield height +2px */; margin: 5px 10px 0 0px; border: none; background: none; color: white;  cursor: pointer; }

/*====================================================================================================
 * F O O T E R                                                                             F O O T E R
 ====================================================================================================*/

#footer ul li { list-style: none; display: inline; margin: 0 10px 0 0; }
#footer a     { text-shadow: 1px 1px 1px #00CCFF; }
#footer a:hover,
#footer a:active { color: #fff; }
#footer a.designer { position: absolute; display: block; width: 230px; height: 25px; bottom: 0px; right: 99px; text-indent: -9999px; }

/*====================================================================================================
 * C O N T E N T                                                                         C O N T E N T
 ====================================================================================================*/

.permalink-wrapper { position: relative; }
.date { position: absolute; width: 90px; height: 103px; top: -40px; left: -35px; text-align: center; background: url(images/date-bg.png) no-repeat; color: #fff; font-family: Georgia; text-shadow: 2px 2px 2px #8B4104; }
.date .day { display: block; margin-top: 5px; font-size: 4.0em; clear: both; }
.date .month { display: block; margin-top: -5px; font-size: 2.0em; clear: both; text-transform: lowercase; }
.postmetadata               { padding: 20px 30px 0px 30px; }
.postmetadata-bottom        { padding: 0px 30px 10px 30px; }
.postmetadata a,
.postmetadata-bottom a       { text-shadow: 1px 1px 1px #808080; }
.entry { padding: 0 30px 0 30px; font-size: 1.1em; line-height: 1.6em; /*post itself without permalink*/ }

/* 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;}

/* 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; }
.entry tr.even td  { background: #e5ecf9; }
.entry tfoot       { font-style: italic; }
.entry caption     { background: #eee; }

p.subscribe-to-comments label { width: 320px !important; font-size: 1.0em !important; line-height: 26px !important; }
p.subscribe-to-comments input { width: 40px !important; }

/* 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           { display: block; width: 100%; text-shadow: 1px 1px 1px #808080; }
.navigation .next     { float: left; padding: 0 0 0 30px; max-width: 48%; }
.navigation .previous { float: right; padding: 0 30px 0 0px; max-width: 48%; }
.navigation .next,
.navigation .previous { }

/*====================================================================================================
 * P S D T O W P   F O R M                                                     P S D T O W P   F O R M
 ====================================================================================================*/
 
 .psdtowp-form { width: 555px; margin: 30px 0 0 0; padding: 20px 20px 0px 20px; background: #DEDECB; color: #8B4104;  }
  .psdtowp-form input { width: 550px; height: 30px; color: #3366FF; font-size: 16px; font-weight: bold; font-style: italic; text-shadow: 1px 1px 1px #808080; }
  .psdtowp-form textarea { width: 550px; }
  .psdtowp-form input#submit-form   { display: block; width: 269px; height: 46px; background: url(images/submit-button.png) no-repeat; border: none; margin: 0 auto 0 auto; text-indent: -9999px; cursor: pointer; clear: both; } 

/*contact form 7*/  
div.wpcf7                         { margin: 0; padding: 0; }
div.wpcf7-response-output         { margin: 2em 0.5em 1em; padding: 0.2em 1em; }
div.wpcf7-mail-sent-ok            { border: 2px solid #398f14; }
div.wpcf7-mail-sent-ng            { border: 2px solid #ff0000; }
div.wpcf7-spam-blocked            { border: 2px solid #ffa500; }
div.wpcf7-validation-errors       { border: 2px solid #f7e700; }
span.wpcf7-form-control-wrap      { position: relative; }
span.wpcf7-not-valid-tip          { position: absolute; top: 0; left: 0; z-index: 100; background: #fff; border: 1px solid #ff0000; font-size: 10pt; width: auto; padding: 2px; }
span.wpcf7-not-valid-tip-no-ajax  { color: #f00; font-size: 10pt; display: block; }
span.wpcf7-list-item              { margin-left: 0.5em; }
.wpcf7-display-none               { display: none; }
img.ajax-loader                   { border: none; vertical-align: middle; }

/*====================================================================================================
 * M I S C                                                                                     M I S C
 ====================================================================================================*/

/*====================================================================================================
 * 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%; }