/* Start of CMSMS style sheet 'glowna' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/

* {
   margin: 0px;
   padding: 0px;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Tahoma;
   font-size: 0.67em;
   line-height: 0.95em;
}

div#background_top {
   width: 100%;
   background-color: #000000;
   padding-bottom: 17px;
}

/* 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: #000000; 
}

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


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

}

/*****************
basic layout 
*****************/
body {
   background-color: #000000;
   color: #333333;
   margin: 0px; /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#pagewrapper {
   border: 0px;
   margin: 0px auto;     /* this centers wrapper */
   max-width: 900px; /* IE wont understand these, so we will use javascript magick */
   min-width: 900px;
   width: 900px;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   height: 455px; /* adjust according your image size */    
}

div#header h1 a {
/* you can set your own image here */
   background: #385C72 url(images/layout2/naglowek.gif) no-repeat; 
   display: block; 
   height: 455px;             /* adjust according your image size */
  /* text-indent: -999em;   this hides the text */
   text-decoration: none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

div.breadcrumbs {
   padding: 1em 0 1.2em 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 */
   margin: 0 1em;              /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 1px dotted #000;
}

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


div#content {
    margin: 0 auto 2em 0; /* some air above and under menu and content */
    _width: 1000px;
    width: 870px;
    max-width: 870px;

}

div#right {
   max-width: 400px;
   width: 400px;
   float: right;
}

div#player_box{
   max-width: 390px;
   width: 390px;
   height: 297px;
   background-color: #000000;
   margin: 4px 0px 5px 3px;
}

div#player_box object .player{
   max-width: 390px;
   width: 390px;
   height: 297px;
   background-color: #000000;
}

div#main {
   margin: 10px 10px 0px 10px;
   max-width: 450px;
   width: 450px;
   padding-bottom: 10px;
}

div.main_box_bg {
   max-width: 470px;
   width: 470px;
   margin: 0px; 
   background-image: url(images/layout2/main_box_bg.gif);
   background-repeat: repeat-y;
   padding: 0px;
   float: left;
}


div.main_box_bg_top {
   max-width: 470px;
   width: 470px;
   height: 5px;
   max-height: 5px;
   background-image: url(images/layout2/main_box_bg_top.gif);
   background-repeat: no-repeat;
   padding: 0px;
   margin: 0px;
}

div.main_box_bg_bottom {
   max-width: 470px;
   width: 470px;
   height: 5px;
   max-height: 5px;
   background-image: url(images/layout2/main_box_bg_bottom.gif);
   background-repeat: no-repeat;
   background-position: bottom;
   padding: 0px;
   margin: 0px;
}

div.main_box_bg_wsk {
   max-width: 465px;
   width: 465px;
   background-image: url(images/layout2/main_box_bg_wsk.gif);
   background-repeat: no-repeat;
   background-position: bottom right;
   _background-position: bottom 56px;
   /*background-position: bottom 56px;*/
}

div.right_box_bg {
   max-width: 198px;
   width: 198px;
   background-image: url(images/layout2/right_box_bg.gif);
   background-repeat: repeat-y;
   margin: 0px;
   padding: 0px;
}

div.right_box_bg_top {
   max-width: 198px;
   width: 198px;
   background-image: url(images/layout2/right_box_bg_top.gif);
   background-repeat: no-repeat;
   height: 5px;
}

div.right_box_bg_bottom {
   max-width: 198px;
   width: 198px;
   height: 5px;
   background-image: url(images/layout2/right_box_bg_bottom.gif);
   background-repeat: no-repeat;
   background-position: bottom;
}

div#sidebar {
   float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 198px;    /* sidebar width, if you change this please also change #main margins */
   max-width: 198px;
   /*display: inline;  */ /* FIX ie doublemargin bug */
   margin: 0px;
}

div#sidebar2 {
   float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 198px;    /* sidebar width, if you change this please also change #main margins */
   max-width: 198px;
/*   display: inline; */  /* FIX ie doublemargin bug */
   margin: 0px;
}

div#sponsor_box {
   max-width: 155px;
   width: 155px;
   height: 260px;
   margin: 10px 22px 20px auto;
}

div#newsletter {
   margin: 5px 9px 5px 9px;
   max-width: 180px;
   width: 180px;
   min-height: 82px;
}

div#newsletter form {
   margin: 0px;
   background-color: #000000;
   background-image: url(/images/layout2/form_bg.gif);
   background-repeat: repeat-x;
   color: #ffffff; 
   padding: 5px;
}

input#m2email {
   border: 1px solid #333333;
   max-width: 168px;
   width: 168px;
   margin: 2px 0px 2px 0px;
}

input#m2submit {
  background-color: #ffffff;
  border: 1px solid #333333;
  padding: 0px;
  margin-right: 0px;
  float: right;
}

input#m2submit:hover {
  background-color: #ededed;
  border: 1px solid #333333;
  padding: 0px;
  margin-right: 0px;
  float: right;
}

/* if sidebar doesnt include menu but content add class="hascontent" */
/* div#sidebar.hascontent {
   padding: 0 1%;
   width: 24%;   make width smaller if there's padding, or it will get too wide for the floated divs in IE 
} */

div#footer {
   clear:both;       /* keep footer below content and menu */
   color: #ffffff;
   max-width: 900px;
   width: 900px;
   margin: 0px auto;
/*   padding: 1.5em;       some air for footer */
/*  text-align: center;  centered text */
   height: 105px;
   _height: 145px;
   background: #000 url(images/cms/footer-bg.gif) repeat-x bottom;
}

div#footer-content {
  float: left;
  width: 690px;
  padding: 0 0 0 10px;
}

ul#footer-menu {
  margin: 0 0 20px 0px;
  padding: 7px 0 0 0;
  _padding: 70px 0 0 0;
  list-style: none;
  color: #969696;
  width: 480px;
}

ul#footer-menu li {
  margin-right: 5px;
  padding: 0;
  float: left;
  display: inline;
}

ul#footer-menu li a {
  color: #969696;
  text-decoration: none;
  font-weight: bold;
}

ul#footer-menu li a:hover {
  text-decoration: underline;
}

/* ********************** footer social icons ************************* */
ul#social-icons {
  width: 154px;
  height: 23px;
  float: right;
}

ul#social-icons li {
  list-style: none;
  float: left;
}

ul#social-icons li a {
  float: left;
  display: block;
  height: 23px;
  text-indent: -9999px;
  background: url(images/cms/social-icons.png) no-repeat;
}

ul#social-icons li a.facebook {
  width: 25px;
  background-position: 0 0;
}

ul#social-icons li a.youtube {
  width: 44px;
  background-position: -25px 0;
}

ul#social-icons li a.blip {
  width: 37px;
  background-position: -67px 0;
}

ul#social-icons li a.flaker {
  width: 48px;
  background-position: -105px 0;
}

/* ********* hover ******************* */

ul#social-icons li a.facebook:hover {
  width: 25px;
  background-position: 0 -23px;
}

ul#social-icons li a.youtube:hover {
  width: 44px;
  background-position: -25px -23px;
}

ul#social-icons li a.blip:hover {
  width: 37px;
  background-position: -67px -23px;
}

ul#social-icons li a.flaker:hover {
  width: 48px;
  background-position: -105px -23px;
}

/* ****************************************************************** */

div#kia-logo {
  float: right;
  width: 198px;
  height: 165px;
  background: url(images/cms/kia-footer-logo.gif) no-repeat bottom;
  margin-top: -60px;
  _margin: 0;
}

div#footer p a {
   float: left;
   color: #ffffff;
}


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

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

div.right49 {
   float: right;
   width: 49%;
   text-align: right;
}




/********************
CONTENT STYLING
*********************/

/* HEADINGS */
div#content h1 {
   font-size: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}

div#content h2 {
   color: #333333; 
   background-image: url(images/layout2/podzialka.gif);
   background-repeat: no-repeat;
   background-position: left bottom;
   font-size: 1.5em; 
   text-align: left; 
/* some air around the text */
   padding-left: 0em;
   padding-bottom: 17px;
/* set borders around header */
   line-height: 1.5em;
/* and some air under the border */
   margin: 0 0 0.5em 0;
}

div#content h3 {
   color: #333333; 
/*   font-size: 1.3em;*/
   font-size: 1.5em;
/*   line-height: 1.3em;*/
   line-height: 1.5em;

   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 {
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   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;
}
pre {
   font-family: monospace;
   font-size: 1.0em;
}
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%;   /* smaller font size, as these are usually not so important data */
}

/* END TEXT */

/* LISTS */
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; */
   margin: 0;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}

div.pagination {
   font-family: Arial;
   text-align: right;
   width: 200px;
   height: 1.2em;
   margin-right: 12px;
   margin-bottom: 15px;
   float: right;
   color: #ffffff;
}

div.pagination span {
   color: #ffffff;
}

div.pagination span.pagina {
font-size: 0.95em;
padding: 2px;
_padding: 3px;
margin: 1px;
background-color: #000000;
/* border: 1px solid #c4c3c3; */
border: 0;
color: #ffffff;
}

div.pagination span.pagina a, a:link a:active a:visited {
font-size: 0.95em;
text-decoration: none;
color: #ffffff;
}

div.pagination span.pagina a:hover {
font-size: 0.95em;
/*text-decoration: underline;*/
background-color: #FF8700;
padding: 0px;
margin: 0px;
color: #ffffff;
}

/*  Formularz */

.formularz {
   max-width: 270px;
   width: 270px;
   color: #ffffff;
   margin: 0 auto;
   padding: 10px;
   border: 1px solid #d7d7d7;
   background-color: #000000;
   background-image: url(/images/layout2/form_bg.gif);
   background-repeat: repeat-x;
}

.formularz fieldset {
   border: 0px;
   border-bottom: 1px solid #777777;
   /*float: right;*/
   width: auto;
   margin-bottom: 10px;
}
.formularz fieldset div {
   margin-bottom: 10px;
   float: right;
   width: 100%;
}
.formularz input, select {
   max-width: 175px;
   float: left;
   background-color: #ffffff;
/*   border: 1px solid #c0c0c0;*/
   padding: 1px;
  border: 0px;
}
div .submit {
   float: right;
   width: auto;
}

input#m4fbrp_submit {
   background-color: #ffffff;
   border: 0px;
   padding: 5px;
   max-width: 110px;
   width: 110px;
   text-align: center;
}
input#m4fbrp_submit:hover {
   background-color: #ededed;
   border: 0px;
   padding: 5px;
}

input#m5fbrp_submit {
   background-color: #ffffff;
   border: 0px;
   padding: 5px;
}
input#m5fbrp_submit:hover {
   background-color: #ededed;
   border: 0px;
   padding: 5px;
}

div .error_message {
   color: #ffffff;
   width: 239px;
   max-width: 239px;
   margin: 0 auto;
}

div .error_message ul {
   width: 239px;
   max-width: 239px;
   background-color: #B10000;
   padding: 8px;
   margin: 0 auto;
}

/*    Formularz kontaktowy */

.formularz_kontaktowy {
   max-width: 424px;
   width: 424px;
   color: #ffffff;
   margin: 3px;
   padding: 10px;
   border: 0px;
   background-color: #000000;
   background-image: url(/images/layout2/form_bg.gif);
   background-repeat: repeat-x;
}

.formularz_kontaktowy label {
   margin-bottom: 5px;
}
.formularz_kontaktowy fieldset {
   border: 0px;
   border-bottom: 1px solid #777777;
   /*float: right;*/
   width: auto;
   margin-bottom: 10px;
}
.formularz_kontaktowy fieldset div {
   margin-bottom: 10px;
   float: right;
   width: 100%;
}
.formularz_kontaktowy input, select {
   max-width: 175px;
   float: left;
   background-color: #ffffff;
/*   border: 1px solid #c0c0c0;*/
   padding: 1px;
   border: 0px;
   text-align: left;
}

.formularz_kontaktowy textarea {
   background-color: #ffffff;
/*   border: 1px solid #c0c0c0;*/
   border: 0px;
   max-width: 424px;
   width: 424px;
}

.formularz_kontaktowy .required label {
   width: 80px;
   _width: 82px;
   float: left;
   text-align: right;
   margin-right: 10px;
   margin-top: 5px;
}

div .required label {
   max-width: 80px;
   width: 80px;
   _width: 72px;
   float: left;
}

.wymagane {
   color: #ffffff;
   font-size: 0.85em;
}
.pole_zawody {
   margin-bottom: 5px;
}
div .zawody div input {
   /*float: right;*/
   margin-right: 10px;
   margin-left: 80px;
   _margin-left: 70px;
}
div .zawody div {
}

select#m2_41_2 {
   width: 87px;
}
select#m2fbrp__46 {
    width: 183px;
}
.required_symbol {
    color: #ff0000;
}

.soon {
text-align: left;
font-size: x-small;
}

.download {
   padding: 10px 0px 0px 0px;
   font-size: 0.8em;
   width: 250px;
   margin: 0 auto;
   text-align: center;
}

div .captcha {
   text-align: right;
   margin-bottom: 10px;
   padding-bottom: 10px;
   border-bottom: 1px solid #777777;
}

div .captcha img {
   width: 143px;
   height: 30px;
}

div .captcha input {
   float: right;
   margin: 5px 0px 0px 5px;
}

.nms_message {
   color: #ff0000;
   margin-bottom: 5px;
}

div #KiaSoul {
   width: 395px;
   height: 125px;
   border: 0px;
}

/*  *************rankingi******************** */
table {
margin-bottom: 20px;
width: 100%;
}

th {
   background-color: #cccccc;
   border-bottom: 1px solid #ffffff;
   border-right: 1px solid #ffffff;
   height: 40px;
   padding: 5px;
}

tr {
   background-color: #f3f3f3;
   height: 20px;
}

tr.striped {
   background-color: #E6E6E6;
   height: 20px;
}

td {
   border-bottom: 1px solid #cccccc;
   border-right: 1px solid #ffffff;
   padding: 5px;
}


/* END LISTS */

:focus { -moz-outline-style: none; }

/* End of 'glowna' */

