/* Start of CMSMS style sheet 'Skyboard layout' */
/*****************
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: Trebuchet ms, Arial, Helvetica, sans-serif;
   font-size: 12px;
   line-height: 1em;
}


/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 12px;
}

/*
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: none;
/* 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: #127FDA; 
}

a:visited {
   text-decoration: none;
   background-color: inherit;
  color: #127FDA;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   background-color: #EBEFF2;
   color: #127FDA;
}

/*****************
basic layout 
*****************/
body {
  background: #014882;
   background: url(images/cms/bg_pattern.gif) center 0.2em;
   /*margin:1em;*/    /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#pagewrapper {
   /*border: 1px solid red;*/
   margin: 0 auto;       /* this centers wrapper */
   max-width: 920px;   /* IE wont understand these, so we will use javascript magick */
   min-width: 920px;
   background-color: #fff;
   background: url(images/cms/bg_content.gif) repeat-y;
   color: #5E5E5E;
}


/*** 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_en_US {
   height: 180px;    /* adjust according your image size */
   background: #228ee8 url(images/cms/sb_header_en.jpg) no-repeat;      
}
div#header_rs_RS {
   height: 180px;    /* adjust according your image size */
   background: #228ee8 url(images/cms/sb_header.jpg) no-repeat;      
}

div#lang {
  /*float:left; */
  /*border: 1px solid yellow;*/
  padding:10px 0 0 32px;
  font-size: 11px;
  color: #fff;
}
div#lang a {
  color: #fff;
  font-weight: normal;
}
div#lang a:hover {
  background: #ebeff2;
  color:#127FDA;
}

div#header_en_US h1 a {
/* you can set your own image here */
   background: transparent url(images/cms/sb_logo.gif) no-repeat left 30px; 
   display: block;
   margin: 0 0 0 23px;
   height: 150px;             /* adjust according your image size */
   width: 190px;
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}
div#header_rs_RS h1 a {
/* you can set your own image here */
   background: transparent url(images/cms/sb_logo.gif) no-repeat left 30px; 
   display: block;
   margin: 0 0 0 23px;
   height: 150px;             /* adjust according your image size */
   width: 190px;
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

div#test {
  border: 1px solid blue;
  width: 100px;
  height: 50px;
  float:right;
  text-align:right;
}

/* position for the search box */
div#search {
   float: right;
   width: 18em;    /* enough width for the search input box */
   text-align: right;
   background: url(images/cms/search_bg.gif) no-repeat center 0px;
   padding: 0;
   margin: 0;
   color: #5E5E5E;
   /*display: block;*/
   /*border: 1px solid blue;*/
}
#search input {
   font-family: Trebuchet ms, Arial, Helvetica, sans-serif;
   font-size: 12px;
   background: none;
   width:150px; 
   height:21px;
   vertical-align:middle;
   margin:0 5px 0 3px;
   padding:2px 0 0 0;
   border:0;
   color: #5E5E5E;
}

#search input.searchBtn {
   border: 0; 
   background: transparent url(images/cms/search_icon_main.gif) no-repeat left;
   width: 25px;
   height: 24px;
   vertical-align:middle;
   margin: 0 0 0 3px;
}
#search input.searchBtn:hover {
   border: 0; 
   background: transparent url(images/cms/search_icon_main.gif) no-repeat right;
   width: 25px;
   height: 24px;
   vertical-align:middle;
   margin: 0 0 0 3px;
}


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: 0em auto 2em 0;   /* some air above and under menu and content */
   /*border:1px solid red;*/
}


div#main {
   margin-left: 250px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 3%; /* and some air on the right */
   width: 635px;
   padding: 6px 0 20px 0;
   /*border:1px solid green;*/
   text-align:left;
  
}

div#main_2 {
   margin-left: 250px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 3%; /* and some air on the right */
   width: 635px;
   /*position:relative;*/
   padding: 12px 0 20px 0;
   /*border:1px solid green;*/
   text-align:left;
}

div#flash {
  width: 630px;
  height: 418px;
  border: 1px solid #ccc;
  padding: 5px 0 0 0;
  text-align:center;
}

div#horiz_nav {
   width:620px;
   /*border: 1px solid blue;*/
margin-left: 28%; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 5%; /* and some air on the right */
   padding-top: 20px;
   width: 630px;
   position:relative;
}

div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 205px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 13px;
   padding: 0;
  /* min-height: 500px;*/
}

div#sidebar .container  {
   float:left;
   font-size:11px;
   margin: 10px 0 0 10px;
   width:180px;
   /*border:1px solid red;*/
   padding: 5px 0 0 5px;
   display:block;
   line-height: 1.4em;
}

.map_icon {
   float:left;  
   width: 40px;
   /*border: 1px solid blue;*/
}

div#map_text {
  font-size:12px;
   float:left;    
   width: 135px;
   height:40px;
   /*border: 1px solid red;*/
   padding: 10px 0 0 0;
}
div#map_text2 {
  font-size:11px;
   float:left;    
   width: 140px;
   height:40px;
   /*border: 1px solid red;*/
   padding: 10px 0 0 0;
   color: black;
}
div#map_text3 {
  font-size:12px;
   float:left;    
   width: 135px;
   height:40px;
   padding: 0 0 10px 0;
}
div#copyright  {
   font-size: 11px;
   color:#B9B9B9;
   margin:0 0 0 220px;
   text-align: center;
   padding: 0.7em;
}
div#footer {
   clear: both;       /* keep footer below content and menu */
   color: #B9B9B9;
   margin: 0 0 0 255px;
   width: 630px;
}

div#footer p {
   font-size: 11px;
   text-align: center;  /* centered text */
   background-color: #f7f8f9;
   padding: 3px 0 0 0;
   height: 18px;
}

div#footer p a {
    /*border: 1px solid red;*/
    padding: 0 8px 0 8px;
   /*color: #fff; 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: 49%; /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}

div.form_field {
  width: 10em;
}
.feedbackTextarea {
  width:200px;
}

/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1.8em;
   color: #DC2828; 
   margin: 0;
}
div#content h2 {
	color: #DC2828; 
	font-size: 1.3em; 
	text-align: left; 
line-height: 1.3em;
   margin: 0 0 0.5em 0;
/* some air around the text */
	
/* and some air under the border */
        margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #525252; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #525252; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   color: #DC2828; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #DC2828; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 12px;
   margin: 0 0 0.2em 0; /* some air around p elements */
   line-height: 1.3em;
   padding: 0.2em 0 0 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;*/
}

div#main ul li,
div#main ol li {
   /*margin: 0 0 0.5em 0.8em;*/
}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0;
}

div#main dl {
  margin-bottom: 1em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}


/* END LISTS */

/* TABLES */

#tabela {
  text-align: left;
  font-family: Trebuchet ms, Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-size: 12px; 
  color: #5E5E5E;
  width: 560px;
  height: 120px;
  background-color: #f7f8f9;
  border: 1px #dfe3e6 solid;
  border-collapse: collapse;
  border-spacing: 0px;
  /*padding: 5px;*/
  line-height: 1.4em;
}

td {
  padding: 1px 2px 1px 0px;
}
tr { 
  vertical-align: middle; 
} 

/* END TABLES */


/*CATALOGER*/

.category_items {
  width: 620px;
  /*margin: 0 0 0 8px;*/
}

.category_item {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #dfe3e6;
  min-height: 110px;
  width: 635px;
}

.slika {
  float: left;
  text-align:center;
  border: 1px solid #dfe3e6;
  width: 100px;
  height: 100px;
  padding: 3px;
  /*margin-right: 10px;*/
vertical-align:bottom;
}

.cat_title {
  margin: 2px 0 0 120px;
  /*font-size: 13px;*/
  font-weight:bold;
}

.cat_tekst { 
  width: 510px;
  margin-left: 120px;
  margin-top: 5px;
}
 
/*END CATALOGER*/

/*SITEMAP*/

.sitemap {
  color: #777;
  background: none;
  font-weight:bold;
  /*list-style-type: none;*/
  font-size: 12px;
  margin: 0 0 0 1em;
  line-height: 1.4em;
}

.sitemap ul li,
.sitemap ol li {
  font-weight:normal;
  list-style-type: none;
  margin: 0 0 0 1.5em;
}


/* End of 'Skyboard layout' */

