/* Start of CMSMS style sheet 'strona główna' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 12px;
   line-height: 1em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #18507C; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #18507C;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;

   color: #385C72;
}

/*****************
basic layout 
*****************/
body {
   background-color: #ffffff;
   color: #333;
 
}

/* center wrapper, min max width */
div#pagewrapper {

   margin-left:auto;       /* this centers wrapper */
  margin-right:auto;
width:976px;
 
   color: black;

}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
   height: 73px;    /* adjust according your image size */
   background: #FFFFFF;           
}

div#header_logo a {
/* you can set your own image here */
   background: #FFFFFF url(images/optymal/optymal.gif) no-repeat; 
float:left;
   display: block;
   height: 73px;             /* adjust according your image size */
width:300px;
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

/*banner*/
div#banner
{
background: #FFFFFF url(images/optymal/optymal_main_background.jpg); 
width:100%;
height:138px;
display: block;

margin-bottom:4px;
}

/*promo*/

div#promo
{margin-top:8px;

}

div#promo img
{margin-left:4px;}

/* position for the search box */
div#search {
   float: right;
   width: 27em;    /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em;
}

div.breadcrumbs {
   padding: 7px 0 0 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;        /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */


}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 } 


span.text_info
{
background: #FFFFCC url(images/optymal/tlo2.jpg) no-repeat; 
border: 1px solid #D7D2D2;
     text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 11px;
   line-height: 1.6em;
display:block;
padding-right:130px;
padding-top:10px;
padding-left: 10px;
padding-bottom:10px;
}


span.text_pytanie
{
background: #CCCFFF url(images/optymal/tlo3.jpg) no-repeat; 
border: 1px solid #D7D2D2;
     text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 11px;
   line-height: 1.6em;
display:block;
padding-right:130px;
padding-top:10px;
padding-left: 10px;
padding-bottom:10px;
}




div#main2
{
background: #FFFFFF url(images/optymal/content.jpg) repeat-x; 
border: 1px solid #D7D2D2;
margin-top:10px;
padding-right:20px;
padding-left:20px;
padding-top:20px;
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 11px;
min-height: 525px;
line-height: 1.6em;

}


div#main2 p
{line-height: 1.6em;}

 div#content {
   margin: 1.5em auto 2em 0;   /* some air above and under menu and content */
display:block;
}


div#main {
  bigger than sidebar width */
margin-bottom:10px;
margin-top:10px;

width:710px;
display: block;
float:right;
font-size:11px;
color:#4F4D4D;



}


div#main h2 {
color: #EEE;
font-size:15px;
background: #FFFFFF url(images/optymal/adwords3.jpg); 
height:23px;
padding-top:8px;
padding-left:10px;
font-weight:bold; 
}

div#left_column {
width: 250px;
display: block;
margin-left: 0;
float: left; 
}
div#left_column img
{
margin-bottom:10px;
}

div#formularz_bok
{
background: #FFFFFF url(images/optymal/formularz.jpg); 
height:350px;
padding-top:50px;
padding-left:10px;
}

div#sidebar {
margin-top:10px;
margin-bottom:10px;
border-top: 6px solid #3E7BB3; 
border-bottom: 6px solid #3E7BB3; 
padding-top:10px;
padding-bottom:10px;
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 250px;     /* sidebar width, if you change this please also change #main margins */
   display: block;  /* FIX IE double margin bug */
   margin-left: 0;
}

div#ostatnie
{
width:316px;

display: block;
float:right;
}


div#polecamy
{padding-left:50px;
}

div#nawigacja_gora
{float:right;
margin-top:24px;
width:400px;
}

div#nawigacja_gora a
{
   display: inline;
 border-right: 1px solid #A0A0A0;
padding-right:8px;
padding-left:8px;
font-size:11px;
 text-decoration: none;
padding-top:0;
padding-bottom:0;
}


div#footer {
    clear: both;       /* keep footer below content and menu */
   color: #999797;
font-size:11px;
width:920px;

}

div#footer p {
font-size:11px;
   padding: 1.5em;       /* some air for footer */
   text-align: center;  /* centered text */
   margin: 0;
}

div#footer p a {
   color: #787878; /* needed becouse footer link would be same color as background otherwise */
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 1px dotted black;
   margin: 1em;
}

/* relational links under content */
div.left49 {
  width: 500px; /* 50% for both left and right might lead to rounding error on some browser */
margin-left:10px;
}

div.right49 {
  float: right;
  width: 100px;
  text-align: right;
margin-right:10px;
}




/********************
CONTENT STYLING
*********************/
div#content {
float:left;
}

/* HEADINGS */
div#content2
{
margin-top:8px;
width:976px;
   display: block;
height:200px;
}

div#info_main
{
background: #FFFFFF url(images/optymal/info_main.jpg); 
padding-left:220px;
padding-right:20px;
padding-top:30px;
width:734px;
height:125px;
   display: block;
float:left;
font-size:11px;
color:#4F4D4D;
}



div#drogowskaz
{
margin-top:5px;
background: #FFFFFF url(images/optymal/drogowskaz.jpg); 
padding-right:220px;
padding-left:20px;
padding-top:20px;
width:734px;
height:192px;
   display: block;
float:left;
font-size:11px;
color:#4F4D4D;
}


div#info_main h2
{
font-size:13px;
color:#4E73A0;
padding-bottom:10px;
}

div#drogowskaz h2
{
font-size:13px;
color:#4E73A0;
padding-bottom:10px;
}

div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
	color: #294B5F; 
	font-size: 1.5em; 
	text-align: left; 
/* some air around the text */
	padding-left: 0.5em;
	padding-bottom: 1px;
/* set borders around header */
	border-bottom: 1px solid #e7ab0b; 
	border-left: 1.1em solid #e7ab0b; 
        line-height: 1.5em;
/* and some air under the border */
        margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #294B5F; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #294B5F; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   color: #294B5F; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #294B5F; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;


}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
   font-size: 1.0em;
   line-height: 1.4em;
   margin: 0 0 1.5em 0;
}

div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}


div.contactform  input
{width:325px; margin-bottom:5px;}
div.contactform  textarea
{width:325px; margin-bottom:5px;}
div.contactform select
{width:325px; margin-bottom:5px;}



div.contactform label
{
display:block;
}

div.formbuilderform  input
{width:325px; margin-bottom:5px;}
div.formbuilderform  textarea
{width:325px; margin-bottom:5px;}
div.formbuilderform select
{width:325px; margin-bottom:5px;}


div.formbuilderform label
{
display:block;
}

div.error_form
{color:#B7001A;
font-size:10px;
   font-weight:bold; 
margin-bottom:5px;
padding-left:10px;
padding-right:10px;
}

div#skontakt {
background: #FFFFCC url(images/optymal/skontakt.jpg) no-repeat; 
border: 1px solid #D7D2D2;
     text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 11px;
   line-height: 1.6em;
display:block;
padding-right:120px;
padding-top:10px;
padding-left: 10px;
padding-bottom:0px;
width:530px;
}

div#lastnews
{padding-left:10px;}

div#lastnews a
{
   font-weight:bold; 
}

div#ostatnieprace
{

   background: #FFFFFF url(images/optymal/ostatnie.jpg) no-repeat; 
width:254px;
height:75px;
   display: block;
padding-left:37px;
padding-top:40px;
padding-right:20px;
color:#4A3301;
}


div#ostatnieprace img
{
margin-right:5px;
}

div#ostatnieprace a
{
color:8A0303;
}


div#zaufali
{

   background: #FFFFFF url(images/optymal/zaufali.jpg) no-repeat; 
width:264px;
height:82px;
   display: block;
padding-left:27px;
padding-top:40px;
padding-right:20px;
color:#4A3301;
text-align:center;
}

div#zaufali img
{margin-bottom:5px;}


div#newsglowna
{
  margin: 0;  /* margin for the entire div surrounding the news list */
  border: 1px solid #C1C0C0; 
  background: #E6E4E4 url(images/optymal/news_bg.jpg);  
width:644px;
height:235px;
float:left;
}

/* END LISTS */
/* End of 'strona główna' */

