/* 
  style.css contains a reset, font normalization and some base styles.
  html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
  v1.4 2009-07-27 | Authors: Eric Meyer & Richard Clark
  html5doctor.com/html-5-reset-stylesheet/

  adjusted to tomxx.net 4.0
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, figure, footer, header, 
hgroup, menu, nav, section, menu,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}                  

article, aside, figure, footer, header, 
hgroup, nav, section { display:block; }

nav ul { list-style:none; }

blockquote, q { quotes:none; }

blockquote:before, blockquote:after,
q:before, q:after { content:''; content:none; }

a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }

ins { background-color:#ff9; color:#000; text-decoration:none; }

mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }

del { text-decoration: line-through; }

abbr[title], dfn[title] { border-bottom:1px dotted #000; cursor:help; }

/* tables still need cellspacing="0" in the markup */
table { border-collapse:collapse; border-spacing:0; }

hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }

input, select { vertical-align:middle; }
/* END RESET CSS */


body { font:13px sans-serif; line-height:1.22; }

table { font-size:inherit; font:100%; }

select, input, textarea { font:99% sans-serif; }

pre, code, kbd, samp { font-family: monospace, sans-serif; }
 


/* 
 * minimal base styles 
 */


/* #444 looks better than black: twitter.com/H_FJ/statuses/11800719859 */ 
body, select, input, textarea { color:#444; }

/* Headers (h1,h2,etc) have no default font-size or margin,
   you'll want to define those yourself. */ 
 
/* www.aestheticallyloyal.com/public/optimize-legibility/ */ 
h1,h2,h3,h4,h5,h6 { font-weight: bold; text-rendering: optimizeLegibility; }

/* maxvoltar.com/archive/-webkit-font-smoothing */
html { -webkit-font-smoothing: antialiased; }

 
/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: none; }

a, a:active, a:visited { color:#6C773E; text-decoration: none; }
a:hover { color:#000; text-decoration: none;}

ul { margin-left:30px; }
ol { margin-left:30px; list-style-type: decimal; }

small { font-size:85%; }
strong, th { font-weight: bold; }

td, td img { vertical-align:top; } 

sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }

pre { 
  padding: 15px; 
  
  /* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
  white-space: pre; /* CSS2 */
  white-space: pre-wrap; /* CSS 2.1 */
  white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
  word-wrap: break-word; /* IE */
}

/* align checkboxes, radios, text inputs with their label
   by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css  */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; *vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }

/* hand cursor on clickable input elements */
label, input[type=button], input[type=submit], button { cursor: pointer; }

/*  j.mp/webkit-tap-highlight-color */
a:link { -webkit-tap-highlight-color: #FF5E99; } 
    
/* always force a scrollbar in non-IE */
html { overflow-y: scroll; }

/* make buttons play nice in IE:    
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {  width: auto; overflow: visible; }
 
/* bicubic resizing for non-native sized IMG: 
   code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
.ie7 img { -ms-interpolation-mode: bicubic; }

/* 
 * Non-semantic helper classes 
 */

/* for image replacement */
.ir { display:block; text-indent:-999em; overflow:hidden; background-repeat: no-repeat; }

/* Hide for both screenreaders and browsers
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display:none; visibility:hidden; } 

/* Hide only visually, but have it available for screenreaders 
   www.webaim.org/techniques/css/invisiblecontent/ 
   Solution from: j.mp/visuallyhidden - Thanks Jonathan Neal! */
.visuallyhidden { position:absolute !important;    
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px); }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* >> The Magnificent CLEARFIX << */
.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clearfix { display: inline-block; }
* html .clearfix { height: 1%; } /* Hides from IE-mac \*/
.clearfix { display: block; }

/* tomxx.net 4.0 style overwrite */

body {
	background: #ffffff;
	text-align: left;
  font-family: Verdana;
	font-size: 12px;
  color: #a5abc1;
  min-height: 100%;
	height: auto !important;
	margin: 0 auto -142px; 
}

/* sekcja gorna */
#top_container {
  background: url('../img/top_bg_repeat.png');
}
#top {
  height: 123px;
  max-width: 1280px;
  min-width: 1003px;
  margin: auto;
  }
#top_l {
  background: url('../img/head_bg_l.png');
  background-repeat: no-repeat;
  float: left;
  height:123px;
  width: 344px;
  min-width: 200px;
  }  
#top_p {
  background: url('../img/head_bg_p.png');
  float: right;
  height: 123px;
  width: 659px;
  }
#links {
  float: right;
  width: 100%;
}

/* sekcja srodkowa */
#middle {
    background: #f0f0f0;
  background-image:url('../img/mid_bg.jpg');
  height:193px;
  width: auto;
  margin: 0px auto;
  }

/* wraper ogolny: sekcja srodkowa i glowna */ 
.wrap {
  position: relative;
	max-width: 1280px;
  min-width: 1000px;
	margin: auto;
	font-size: 13px;
  color: #3b3939;
  }
.wrap_fotoblog {    /* klasa rozszerzajaca fotobloga do 1600px */
  position: relative;
	max-width: 1600px;
  min-width: 1000px;
	margin: auto;
	font-size: 13px;
  color: #3b3939;
  }
#my_div {          /* ajax dla fotobloga */ 
  text-align: center;
  }
#middle_right {
  float: right;
  max-width: 800px;
  margin: 0;
  padding: 1em;
  height: 145px;
  text-align: center;
  font-family: Arial, sans-serif;
  color: #bebfbe;
  font-size: 10px;
  text-transform: uppercase;
  list-style: none;
  background: #f0f0f0;
  margin-top: 10px;
}
#middle_right strong {
  color:#8d8c8c;
}
#middle_right a {
  font-family: Verdana;
  font-size: 10px;
  text-transform: uppercase;
  color: #8d8c8c;
  cursor: pointer;
  text-decoration: none;
}
#middle_right a:hover {
   color: black;
}
#middle_left {
  background: url('../img/middle_l.png');
  background-repeat: no-repeat;
  padding-top: 22px;
  padding-left: 2px;
  max-width: 450px;
  font-size: 11px;
  height: 165px;
}

/* sekcja glowna, linki boczne, notki i inne pierdoly */
#left_wrap {
  margin: 0 835px 0 0; 
  height: 100%;
  position: absolute;
  padding-top: 10px;
}
#right_wrap {
	float: right;
  right: 0px;
	top: 10px;
	width: 830px;
	min-height: 1000px;
}
#right_wrap div {      /* div pojedynczej notki */
  width: 100%;
	padding: 0px;
  text-align: justify;
}
#right_wrap div p {     /* modyfikacja paragrafu */
  padding: 5px 16px 10px 0px;
  line-height: 140%;
  padding-top: 10px;
  text-indent: 24px; 
}


.date {
  padding: 0px;
  margin: 0px;
  float: left;
  background-image:url('../img/data.png'); 
  background-repeat: no-repeat;
  background-position: left center;  
  max-width: 47px;
  height: 80px;
}
.date h4 {
  color: #fff;
  font-size: 22px;
  padding-top: 12px;
  font-family: Georgia, "Trebuchet MS", "lucida grande", verdana, sans-serif;
  font-weight: bold;
  text-align: center;
}
.date h5 {
  color: #fff;
  font-size: 14px;
  font-family: Georgia, "Trebuchet MS", "lucida grande", verdana, sans-serif;
  font-weight: bold;
  text-align: center;
}
.date h6 {
  color: #87a021;
  font-size: 16px;
  font-family: Georgia, "Trebuchet MS", "lucida grande", verdana, sans-serif;
  text-align: center;
}

.header {
  float: right;
  max-width: 754px;
  height: 56px;
  background-image:url('../img/header_bg.png'); 
  background-repeat: no-repeat;
  background-position: left center;
  margin-top: 16px;
 }
.header h1 {
  font-family: Times New Roman, sans-serif;
  color: #333333;
  font-size: 20px;
  font-weight: bold;
  text-indent: 0px;
}
.header h2 {
  float: right;
  font-family: Arial, Helvetica, Verdana, sans-serif;
  color:#bebfbe;
  font-size:11px;
  text-transform:uppercase;
  margin-right: 15px;
  font-weight: normal;
  padding-top: 1px;
}
.header h2 a {
  color:#bebfbe;
  text-transform: uppercase;
  font-weight: bold;
  text-decoration: none;
}
.header h3 {
  float: left;
  font-family: Verdana, sans-serif;
  color: #bebfbe;
  font-size: 11px;
  text-transform: uppercase;
  margin-right: 5px;
  font-weight: normal;
  font-style: italic;
  padding-top: 1px;
}
.headerprojects {
  float: left;
  width: 800px;
  height: 41px;
  background-image:url('../img/header_bg.png'); 
  background-repeat: no-repeat;
  background-position: left center;
  margin-top: 16px;
 }
/* ramki fotosow */
img.fotowstaw {
  outline: 1px solid #ddd;
	border-top: 1px solid #fff;
	padding: 10px;
	background: #f0f0f0;
	margin-top: 20px;
}
img.dark {
  outline: 1px solid #111;
	border-top: 1px solid #555;
	padding: 10px;
	background: #333;
	margin-top: 20px;
}

/* klasa wstawiania zdjec z tomxx.net 3. uklon w strone historii */
.fotoright {
	float:right;
	padding: 4px;
	margin: 5px 0 0 5px;
	border: 1px solid #a5abc1;
}
.fotoleft {
	float:left;
	padding: 4px;
	margin: 5px 5px 0 0;
	border: 1px solid #a5abc1;
	}
/* linki boczne */
.indented {
	margin-top: 30px;
	text-align: left;
  font-family: Arial, sans-serif;
  color: #bebfbe;
  font-size: 10px;
  text-transform: uppercase;
  list-style: none;
}
.indented p {
  padding: 3px;
  cursor: pointer;
}
.indented ul {
	margin: 0px; 
	list-style: none;
}
/* powiedzieli */
#powiedzieli {
 color: grey;
 font-size: 12px;
 padding-top: 15px;
}

/* !search =================== */

.search-wrapper {padding:0px; overflow:hidden;}
#q {width: 100%; padding: 3px; padding-left: 20px; border: 1px solid rgb(148,177,36); border-left:none; border-right:none; -webkit-border-radius: 2px; color:rgba(0,0,0,.4); background:none;}	
.search-wrapper:hover #q {color:rgba(0,0,0,.8)}
.search-wrapper:focus {z-index:20;}
.search-wrapper input[type="submit"] { position:absolute; left:-10px; top:8px; width:35px; height: 21px; border:none; background:url(../img/icons.png) -48px 5px no-repeat; z-index:21; text-indent:-9999px;opacity:.3;-webkit-transition:opacity 0.3s ease-in-out;}
.search-wrapper:hover input[type="submit"] {opacity:.5;}
.search-wrapper input[type="submit"]:hover {opacity:1;}

#odn1 {
	background-image: url('../img/odn1.png'); 
  color: #fff;
  width: 150px;
  height: 30px;
  padding-left: 2px;
}
#odn2 {
	background-image: url('../img/odn2.png'); 
  color: #fff;
  width: 155px;
  height: 27px;
  padding-left: 2px;
}
#odn3 {
	background-image: url('../img/odn3.png'); 
  color: #fff;
  width: 150px;
  height: 30px;
  padding-left: 2px;
}
#odn1_more {
  display: none;
  margin-top: 0px;
}
#odn2_more {
  display: none;
  margin-top: 0px;
}
#odn3_more {
  display: none;
  margin-top: 0px;
}
.scroll {
  cursor: pointer;
}
.indented ul li {
	border-top: 1px solid #fff;
	border-bottom: 1px solid #94b124;
}
.indented ul li:first-child {border-top: none;} 
/*.indented ul li:last-child {border-bottom: none;} */
.indented ul li a {
	padding: 5px;
	padding-left: 5px;
	padding right: 0px;
	display: block;
	color: #8d8c8c;
	text-decoration: none;
	font-family:Arial, Helvetica, Verdana, sans-serif;
  font-size:11px;
  text-transform:uppercase;
}
.indented ul li a:hover {background: #f0f0f0;}
 
/* featured-fotoblog karuzela */
.featured-fotoblog img {
  display:block;
  margin-bottom:0px;
  padding-bottom:0px;
}
.featured-fotoblog a.fotoblog {
  color: red;
  background: #f0f0f0;
}

/* animacja menu */
ul#menu {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-top: 60px;
}
ul#menu li {
  float:right;
}
ul#menu li a {
  background: url('../img/sprite.png') no-repeat scroll top left;
  padding-right: 1px;
  display: block;
  height: 50px;
  position: relative;
}
ul#menu li a.link1 {
  width: 110px;
  background-position: -20px 0px;
}
ul#menu li a.link2 {
  width: 120px;
  background-position: -130px 0px;
}
ul#menu li a.link3 {
  width: 90px;
  background-position: -250px 0px;
}
ul#menu li a.link4 {
  width: 120px;
  background-position: -340px 0px;
}
ul#menu li a.link5 { 
  width: 90px;
  background-position: -475px 0px;
}
ul#menu li a.link6 {
  width: 70px;
  background-position: -560px 0px;
}
ul#menu li a span {
  background: url('../img/sprite.png') no-repeat scroll bottom left;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 100;
}
ul#menu li a.link1 span {
  background-position: -20px -57px;
  width: 110px;
}
ul#menu li a.link2 span {
background-position: -130px -57px;
width: 120px;
}
ul#menu li a.link3 span {
background-position: -250px -57px;
width: 90px;
}
ul#menu li a.link4 span {
background-position: -340px -57px;
width: 120px;
}
ul#menu li a.link5 span {
background-position: -475px -57px;
width: 90px;
}
ul#menu li a.link6 span {
background-position: -560px -57px;
width: 70px;
}
ul#menu li a span:hover {
cursor: pointer;
}

/* wyszukiwarka */
.szukaj {
	border: none;
	float: left;
        width: 170px;
        font-size: 12px;
        color: black;
        background-color: #8d97b0;
        font-weight: normal;
        text-align: left;
        margin-left: 2px;
        }
.szukaj2 {
	float: left;
        width: 50px;
        border: none;
        font-size: 12px;
        color: #EEEEEE;
        background-color: #2e3a5c;
        font-weight: normal;
        }


/* footer */

#footer {
    clear: both;
    background: url('../img/footer.png') repeat-x top;
    margin: auto;
    width: 100%;
    height: 155px;
    font-family: Arial, sans-serif;
    color: black;
    font-size: 10px;
    text-transform: uppercase;
    list-style: none;
    padding: 0px;
    }
#footer div {
    margin: auto;
    width: 1000px;
    padding-top: 40px;
    text-align: right;
    }

    /* animacja stopka */
ul#stopka {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-top: 8px;
}
ul#stopka li {
  float: right;
  height: 20px;
}
ul#stopka li a {
  background: url('../img/footer_links.png') no-repeat scroll top right;
  padding-right: 1px;
  display: block;
  height: 25px;
  position: relative;
}
ul#stopka li a.link1 {
  width: 75px;
  background-position: -20px 0px;
}
ul#stopka li a.link2 {
  width: 83px;
  background-position: -130px 0px;
}
ul#stopka li a.link3 {
  width: 60px;
  background-position: -250px 0px;
}
ul#stopka li a.link4 {
  width: 105px;
  background-position: -340px 0px;
}
ul#stopka li a.link5 { 
  width: 62px;
  background-position: -475px 0px;
}
ul#stopka li a.link6 {
  width: 47px;
  background-position: -560px 0px;
}

.footer_left {
    float: left;
    width: 370px;
    padding-left: 100px;
    padding-top: 30px;
    color: #606060;
    
    }  
.footer_center {
    float: left;
    width: 300px;
    padding-top: 10px;
    padding-left: 40px;
    color: #606060;
    }
   
.footer_center a { color:#606060;; text-decoration: none; }

.footer_center a:hover, a:active, visited { color:black; }   
    
.footer_right {
    text-shadow: 1px 1px 1px white;
    float: right;
    width: 150px;
    padding-top: 10px;
    }


}
/* dodatki */
.ram {
        width: 550px;
        border-left: 2px dotted blue;
        color: blue;
        margin: 20px;
        }
        
.ram div {
        padding: 10px;
        text-align: justify;
        }

acronym, .help {
	border-bottom: 1px dotted #888; cursor: help
}

acronym.dwa {
	border-bottom: none; cursor: help
}



/* 
 * print styles
 * inlined to avoid required HTTP connection www.phpied.com/delay-loading-your-print-css/ 
 */
@media print {
  * { background: transparent !important; color: #444 !important; text-shadow: none; }

  a, a:visited, a:hover { color: #444 !important; text-decoration: none; }

  a:after { content: " (" attr(href) ")"; } 

  abbr:after { content: " (" attr(title) ")"; }
  
  .ir a:after { content: ""; }  /* Don't show links for images */
  
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  
  img { page-break-inside: avoid; }

  @page { margin: 0.5cm; }

  p, h2, h3 { orphans: 3; widows: 3; }

  h2, h3{ page-break-after: avoid; }
}
 
/*
 * Media queries for responsive design
 */

@media all and (orientation:portrait) { 
  /* Style adjustments for portrait mode goes here */
  
}

@media all and (orientation:landscape) { 
  /* Style adjustments for landscape mode goes here */
  
}

/* Grade-A Mobile Browsers (Opera Mobile, iPhone Safari, Android Chrome)  
   Consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */
@media screen and (max-device-width: 480px) {
  
  
  /* Prevent iOS, WinMobile from adjusting font size */
  html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } 
}
