/* @group Resetter */
html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p,
  blockquote, pre, form, fieldset, table, th, td {
  margin: 0;
  padding: 0;
}

a img {
  border: 0;
}

/* @end */ /* @group Basics */
html, body {
  height: 100%;
}

body {
  color: #333;
  background: #adadad url(../images/css/body_bg.gif) left top;
  font: 12px/18px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}

h1, h2, h3, h4, h5 {
  margin: 9px 0;
  font-weight: normal;
  line-height: 18px;
  color: #333;
  font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}

h1 {
  margin: 0 0 9px 0;
  font-size: 24px;
  line-height: 36px;
}

h2 {
  font-size: 21px;
  line-height: 28px;
  color: #555;
}

h3 {
  font-size: 16px;
  line-height: 20px;
  font-weight: bold;
  color: #666;
}

h4 {
  font-size: 16px;
}

h5 {
  font-size: 14px;
}

p, li, td, th, dt, dd, pre, code {
  font-size: 12px;
}

p {
  margin: 3px 0 9px 0;
}

ul {
  margin: 12px 0;
}

ul, li {
  margin-left: 12px;
}

dt {
  margin: 9px 0 0 0;
  font-weight: bold;
}

dd {
  padding: 0 0 0 15px;
}

abbr {
  border-bottom: 1px dotted black;
}

.rich-datalist {
  list-style: none;
  margin: 0 0 0 0;
  font-size: 11px;
}

.rich-list-item {
  list-style: none;
  margin: 0 0 0 0;
  font-size: 11px;
}

/* @group Header */
#header {
  position: relative;
  height: 137px;
  background: url(../images/css/header_bg-nstf.gif) repeat-x;
}

#header .wrapper {
  height: 100px;
  background: url(../images/css/header_zgrada-nstf.jpg) no-repeat left
    top;
}

#logo {
  float: left;
  margin: 0 0 0 20px;
  width: 320px;
  height: 100px;
  text-indent: -999em;
  background-image: url(../images/css/logo-nstf.jpg);
}

#logo h2 {
  margin: 0;
}

#logged_in {
  float: right;
  margin: 30px;
  height: 40px;
  line-height: 40px;
}

#logged_in p {
  float: left;
  margin: 0;
  padding: 0 0 0 12px;
  background: url(../images/css/logged_in_user_bg-nstf.gif) no-repeat
    left top;
}

#logged_in strong a {
  padding: 2px 0 2px 2px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  /* background: url(../images/css/user_m.png) no-repeat 0 -2px; */
}

#logged_in strong.z a {
  /* background: url(../images/css/user_z.png) no-repeat 0 -2px; */
  
}

#logged_in strong a:hover, #logged_in strong a:focus, #logged_in strong a:active
  {
  color: #e4cf9c;
}

#logged_in a#logout {
  margin: 0 0 0 10px;
  padding: 1px 24px 1px 0;
  font-size: 12px;
  text-decoration: none;
  color: #999;
  background: url(../images/css/logout-nstf.gif) no-repeat right;
}

#logged_in a#logout:hover, #logged_in a#logout:focus, #logged_in a#logout:active
  {
  color: #fff;
}

#logged_in .dummy {
  float: left;
  width: 10px;
  height: 40px;
  background: url(../images/css/logged_in_user_bg-nstf.gif) no-repeat
    right top;
}

#navbar {
  height: 37px;
  line-height: 37px;
}

#navbar p {
  float: left;
}

#breadcrumbs {
  margin: 0 0 0 20px;
}

#breadcrumbs a {
  color: #333;
  text-decoration: none;
  text-shadow: 0 1px 0 #eee;
  border-bottom: 1px solid #aaa;
}

#breadcrumbs a:hover, #breadcrumbs a:focus, #breadcrumbs a:active {
  color: #777;
  border-bottom: 1px solid #000;
}

#breadcrumbs span.div {
  display: inline-block;
  width: 21px;
  height: 37px;
  text-indent: -999em;
  background-image: url(../images/css/breadcrumbs_div.gif);
}

/* @end */ /* @group Nav */
#nav, #nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

#nav li {
  position: relative;
  z-index: 1;
  float: left;
  margin: 0 0 0 10px;
}

#nav a {
  display: block;
  width: auto;
  z-index: 150;
  padding: 0 12px;
  font-size: 14px;
  line-height: 32px;
  text-decoration: none;
  color: #fff;
  background: #222;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

#nav li.current a {
  color: #fff;
  background: #c00;
}

#nav li:hover, #nav li.sfHover, #nav a:focus, #nav a:hover, #nav a:active
  {
  color: #d8d890;
}

#nav ul {
  position: absolute;
  top: -999em;
  left: 0;
  overflow: hidden;
  background: yellow;
}

#nav ul li {
  margin: 0;
}

#nav li.current ul {
  background: pink;
}

#nav ul li a {
  display: block;
  width: 100%;
  padding: 0 12px;
  font-size: 12px;
  line-height: 28px;
  white-space: nowrap;
  color: #111;
  background: transparent;
  border-radius: 0px;
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
}

#nav ul li a:hover, #nav ul li a:focus, #nav ul li a:active {
  color: #fff;
  background: #444;
}

#nav li.current li a:hover, #nav li.current li a:focus, #nav li.current li a:active
  {
  color: #fff;
  background: orange;
}

#nav li:hover ul, #nav li.sfHover ul {
  top: 32px; /* mora biti kao visina #nav */
}

/* treci nivo TODO */
#nav li:hover li ul, #nav li.sfHover li ul {
  top: -999em;
}

/* this rule negates pure CSS hovers
 * when JavaScript is available so the
 * submenu remains hidden and JS controls
 * when it appears
 */
.superfish li:hover ul, .superfish li li:hover ul {
  top: -999em;
}

p.nav a.gore {
  display: block;
  margin: 24px 0 0 0;
  padding: 0 0 0 26px;
  line-height: 22px;
  background: url(/images/css/poruke/top_bg.gif) no-repeat;
}

/* @end */
#wrapper {
  padding: 20px;
  background: url(../images/css/wrapper_bg.gif) repeat-x;
}

#content {
  padding: 20px;
  background: #fff;
  border: 1px solid #919191;
  -webkit-box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

#content p {
  width: 700px;
}

#footer {
  font-weight: bold;
  color: #666;
  text-align: center;
  text-shadow: 0 1px 0 #bbb;
}

#footer p {
  margin: 0;
}

#header div form table * {
  margin: 0;
  padding: 0;
}

#header div form table {
  margin: 0 0 0 20px;
  width: auto !important;
  height: 37px;
  background: transparent !important;
  border: none;
}

#header div form table tr td {
  
}

#header div form table tr td div {
  font-size: 14px;
  font-weight: normal;
  color: #555;
  text-shadow: 0 1px 0 #eee;
}

#header div form table tr td div.rich-ddmenu-label div.rich-label-text-decor
  {
  padding: 0 10px;
  height: 37px;
  line-height: 37px;
  border: none;
}

#header div form table tr td div.rich-ddmenu-label-select {
  text-shadow: none;
  border: none;
  background: #fff;
}

#header div form table tr td div div div.rich-menu-list-border {
  border: 0;
  background: #ddd;
}

#header div form table tr td div div div.rich-menu-list-border * {
  border: none;
  background: transparent;
}

#header div form table tr td div div div.rich-menu-list-border span.rich-menu-item-icon,
  #header div form table tr td div div div.rich-menu-list-border div.rich-menu-list-strut
  {
  display: none;
}

#header div form table tr td div div div.rich-menu-list-border div.rich-menu-list-bg
  {
  z-index: 9;
  border-bottom: 3px solid #999;
  -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
}

#header div form table tr td div div div.rich-menu-list-border div.rich-menu-item
  {
  padding: 2px 10px;
  font-size: 12px;
}

#header div form table tr td div div div.rich-menu-list-border div.rich-menu-item-hover
  {
  text-shadow: none;
  background: #fff;
}
/* @end */