/* Start of CMSMS style sheet 'Hlavni_styl_Holder' */
/*****************
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: 75.01%;
   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: white; 
   color: black; 
}

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


/* remove underline on hover and change color */
a:hover {
   text-decoration: underline;
   color: black;
   background-color: white;
}


body, p, table {
      /* gives some air for the pagewrapper */
    font-family: Verdana;
    color: black;    

}


body {
 background: #B4B4B4 url(uploads/images/_css/pozadi.jpg) repeat-y; 
 background-position: center center;
}


p { 
   font-size: 100%;
   line-height: 1.4em;
}  



/* center wrapper, min max width */

div#pagewrapper {
   width: 960px;
   margin-top: -20px;     /* this centers wrapper */
   margin: 0 auto;   /* this centers wrapper */
   max-width: 80em;   /* IE wont understand these, so we will use javascript magick */
   min-width: 80em;
   background-color: #fff;  
   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: 72px;    /* adjust according your image size */
   width: 960px;
   background: #fff;           
}

div#header h1 a {
   display: block;  
   height: 67px;             /* 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 */
   background: #fff url(uploads/images/_css/logo_top.jpg) no-repeat 0 0px;  

}

div#MainDiv {
 background-color: #F19C41; 
 background-color: #F2C08A; 


}

div#ContentDiv{
   margin-left: 240px;
   width: 714px;
 #width: 714px;
   padding-top: 0px;
   padding-left: 6px;
   padding-bottom: 20px;
   background-color: white; 
}


div#main {
   margin-top: 0px;  /* vzdalenost prostredniho sidebaru od zhora*/
   margin-left: 250px; /* vzdalenost prostredniho sidebaru od leva */
   margin-right: 10px; /* vzdalenost prostredniho sidebaru od prava */
}


div#sidebar {
   margin-top: -28px;      /* vzdalenost prostredniho sidebaru od zhora*/
   # margin-top: -28px;  /* vzdalenost prostredniho sidebaru od zhora hack IE*/
   width: 240px;     /* velikost sidebaru  #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;
}

/*------------------------------------------->Hlavni baner + linka pod nim<--------------------------------------------*/

span#motocar  {
  padding-right: 4px;  
  padding-bottom: 10px;
}

 
span#banner1  {
}


span#banner2  {
  clear: both; 
}

div#line  {
  border-width: 2px;
  border-style: solid;
  border-color: #EA681D;
  margin: 6px 0px 0px 0px;  
}

div#linkaSlaba  {
  border: 1px solid;
  border-top: none;
  border-color: #BEBEBE;
  margin:4px 0px 0px 0px;  
}

/*------------------------------------------------>Styl baneru na strane Novinky<------------------------------------*/ 



div#HlavLog1  {
padding-top: 6px; 
 padding-bottom: 4px;  
 }

div#HlavLog2  {
 padding-bottom: 6px;  
 }

span#HlavLog  {
 padding-top: 8px; 
 padding-right: 3px;  
}

span#HlavLog3  {
 padding-right: 0px;  
 
}


/* ----------------------------------------------->Styly novinek<--------------------------------------------------------*/

div#NewsDiv {
  padding-top: 8px;
}

span#VsechnyNovinkyAkce {
     font-style: normal; font-weight: normal; 
     font-size: 11px;
     color: #000;
     margin-left: 210px; 
}

span#VsechnyNovinkyAkce a  {
   background: url(uploads/images/_css/moto-sipka-modra.gif) no-repeat 225px;   
   padding-top: 4px;
   padding-left: 126px;
   padding-right: 30px; 
}


.VsechNovAkce2 {
 width: 210px;
 padding-bottom: 5px;

}

.VsechNovAkce2 .sipka1  {
 float: left;
 width: 20px;
 padding-top: 2px;
 padding-right: 5px;
 margin-left: 400px;
}

.VsechNovAkce2 h3 {
  font-size: 100%;
  font-weight: normal;
  margin: 0px 0px 0px 28px;
  line-height: 130%;
  padding: 0px;
  margin-left: 330px;
}


/* ------------------------------------------------------------>Paticka<---------------------------------------------------- */

div#linkaSlaba2  {
 border: 1px solid;
border-top: none;
 border-color: #BEBEBE;
  margin: 10px 0px 0px 0px;
}

div#footer {
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 10px;
   line-height: 1em;
   clear: both;       /* keep footer below content and menu */
   color: black;
   background-color: #fff; /* same bg color as in header */
   padding-top: 16px; 
   padding-left: 30px;  
 padding-bottom: 15px;
}

/*-----------------> Odkazy -> O nas - Servis - Kariéra - Pojištění a financování -  Kontakt <----------------*/

div#odkazy {
  color: #fff;
  text-decoration:none; /* no underline for links */
  margin: -30px 0px 0px 416px;
 #margin: -38px 0px 0px 416px;

}

div#odkazy a {
  background: url(uploads/images/_css/moto-sipka-bila.gif) no-repeat 0px center ;  
  color: #fff;
  text-decoration:none; /* no underline for links */
  padding-left: 20px;  
}


div#odkazy a:hover {
 font-weight: bold;
 color: #fff;  
}

.team {
    font-style: italic;
    font-size: 90%;
    width: 220px;
}

.lteam {
    float: left;
    width: 196px;
    margin-right: 30px;
}

/*------------------------------------------------------------------------------------------------------------------------------*/

/* 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: 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
*********************/
div#content {

}

/* HEADINGS */
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: #CAA861; 
   font-size: 115%;
   padding-top: 0px;
   margin-bottom: 5px;
   line-height: 1.25em;
}



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;
   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;
}


/* END LISTS */
/* End of 'Hlavni_styl_Holder' */

