* {
	margin:0;
	padding:0;
}
/* General Style Info */
body {
	background: #003d4c;
	color: #fff;
	font-family:'lucida grande',verdana,helvetica,arial,sans-serif;
    /*font-size:90%;*/
	font-size:12px;
	margin: 0;
}
a {
	background: transparent;
	color: #003d4c;
	text-decoration: underline;
	font-weight: bold;
}
a:hover {
	background:transparent;
	color: #003d4c;
	text-decoration:none;
}
a img {
	border:none;
}
h1, h2, h3, h4 {
	font-weight: normal;
}
h2 {
	background:#fff;
	color: #e32;
	font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif;
	font-size: 190%;
	margin: 0.3em 0;
	padding-top: 0.8em;
}
h3 {
	color: #993;
	font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif;
	font-size: 165%;
	padding-top: 1.5em;
}
h4 {
	color: #993;
	font-weight: normal;
	padding-top: 0.5em;
}
ul, li {
	margin: 0 12px;
}

/* Layout */
#container {
	text-align: left;
}

#header{
	padding: 10px 20px;
}
#header h1 {
	background: #003d4c;
	font: 190% 'Gill Sans','lucida grande',helvetica, arial, sans-serif;
	color: #fff;
	padding: 0px 30px;
	float:left;
}
#header h1 a {
	color: #e32;
	background: #003d4c;
	font-weight: bold;
	text-decoration: none;
}
#header h1 a:hover {
	color: #fff;
	background: #003d4c;
	text-decoration: underline;
}
#languages {
	float:right;
}
#languages ul li {
	list-style:none;
	display:inline;
}
#content{
	background: #fff;
	clear: both;
	color: #333;
	padding: 0px 20px 40px 20px;
	overflow: auto;
}
#footer {
	clear: both;
	padding: 6px 10px;
	text-align: right;
}

/* Tables */
table {
    background: #fff;
    border:1px solid #ccc;
    border-right:0;
    clear: both;
    color: #333;
    margin-bottom: 10px;
    width: 100%;
}
th {
    background: #f2f2f2;
    border:1px solid #bbb;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    text-align: center;
}
th a {
    background:#f2f2f2;
    display: block;
    padding: 2px 4px;
    text-decoration: none;
}
th a:hover {
    background: #ccc;
    color: #333;
    text-decoration: none;
}
th.actions {
    background:#f2f2f2;
    display: block;
    padding: 2px 4px;
    text-decoration: none;
}
table tr {
    background: #fff;
    border-right: 1px solid #ccc;
    padding: 4px;
    text-align: center;
    vertical-align: top;
}
table tr td {
    border-right: 1px solid #ccc;
    padding: 4px;
    text-align: center;
    vertical-align: top;
}
table tr.altrow {
    background: #eee;
}
table tr:hover {
    background: #c3d9ff;
}
table tr.altrow:hover {
    background: #c3d9ff;
}
td.actions {
    text-align: center;
    white-space: nowrap;
}
td.actions a {
    margin: 0px 6px;
}
/* Paging */
div.paging {
	background:#fff;
	color: #ccc;
	margin-bottom: 2em;
}
div.paging div.disabled {
	color: #ddd;
	display: inline;
}
div.paging span {
}
div.paging span.current {
	color: #000;
}
div.paging span a {
}

/* Scaffold View */
dl {
	line-height: 2em;
	margin: 0em 0em;
	width: 60%;
}
dl.altrow {
	background: #f4f4f4;
}
dt {
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
}
dd {
	margin-left: 10em;
	margin-top: -2em;
	vertical-align: top;
}

/* Forms */
form {
	clear: both;
	margin-right: 20px;
	padding: 0;
	width: 80%;
}
fieldset {
	border: 1px solid #ccc;
	margin-top: 30px;
	padding: 16px 20px;
}
fieldset legend {
	background:#fff;
	color: #e32;
	font-size: 160%;
	font-weight: bold;
}
fieldset fieldset {
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 16px 10px;
}
fieldset fieldset legend {
	font-size: 120%;
	font-weight: normal;
}
fieldset fieldset div {
	clear: left;
	margin: 0 20px;
}
form div {
	clear: both;
	margin-bottom: 1em;
	padding: .5em;
	vertical-align: text-top;
}
form div.input {
	color: #444;
}
form div.required {
	color: #333;
	font-weight: bold;
}
form div.submit {
	border: 0;
	clear: both;
	margin-top: 10px;
	margin-left: 140px;
}
label {
	display: block;
	font-size: 110%;
	padding-right: 20px;
}
input, textarea {
	clear: both;
	font-size: 140%;
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
	padding: 2px;
	width: 100%;
}
select {
	clear: both;
	font-size: 120%;
	vertical-align: text-bottom;
}
select[multiple=multiple] {
	width: 100%;
}
option {
	font-size: 120%;
	padding: 0 3px;
}
input[type=checkbox] {
	clear: left;
	float: left;
	margin: 0px 6px 7px 2px;
	width: auto;
}
input[type=radio] {
	float:left;
	width:auto;
	margin: 0 3px 7px 0;
}
div.radio label {
	margin: 0 0 6px 20px;
}
input[type=submit] {
	display: inline;
	font-size: 110%;
	padding: 2px 5px;
	width: auto;
	vertical-align: bottom;
}

/* Notices and Errors */
div.message {
	clear: both;
	color: #900;
	font-size: 140%;
	font-weight: bold;
	margin: 1em 0;
}
div.error-message {
	clear: both;
	color: #900;
	background: #F1A6A6;
	border: 1px solid #B10000;
	font-weight: bold;
}
p.error {
	background-color: #e32;
	color: #fff;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
p.error em {
	color: #000;
	font-weight: normal;
	line-height: 140%;
}
.notice {
	background: #ffcc00;
	color: #000;
	display: block;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
.success {
	background: green;
	color: #fff;
}

/*  Actions  */
div.actions ul {
	margin: 0px 0;
	padding: 0;
}
div.actions li {
	display: inline;
	list-style-type: none;
	line-height: 2em;
	margin: 0 2em 0 0;
	white-space: nowrap;
}
div.actions ul li a {
	background: #fff;
	color: #003d4c;
	text-decoration: none;
}
div.actions ul li a.add {
	background: url(../img/add.png) left no-repeat;
	color: #003d4c;
	text-decoration: none;
	padding-left: 20px;
}

div.actions ul li a:hover {
	color: #333;
	text-decoration: underline;
}

/* Related */
div.related {
	clear: both;
	display: block;
}
div#nav {
    float: left;
    position: relative;
    background: #003d4c;
    width: 100%;
    color: #fff;
    font:12px Tahoma, Verdana;
    font-weight: bold;
}
div#nav ul {
    margin: 0;
    padding: 0;
    border-right: 1px solid #1f2635;
    background: transparent;

}
div#nav li {
    position: relative;
    list-style: none;
    margin: 0;
    float: left;
    width: 9em;
    text-align: center;
}
div#nav li:hover {
    background: #00637c;
    color: #fff;
}
div#nav li.submenu {
    }
div#nav li.submenu:hover {
    background: #00637c;
    color: #fff;
    }
div#nav li a {
    display: block;
    padding: 0.4em 0.5em;
    text-decoration: none;
    height: 22px;
    color: #fff;
    background: transparent;
}

div#nav>ul a {
    width: auto;
    }
div#nav ul ul {
    position: absolute;
    width: 9em;
    display: none;
    background: #003d4c;
}
div#nav ul ul li {
    border-bottom: 1px solid #ccc;
}
div#nav li.submenu li.submenu {

}
div#nav li.submenu li.submenu:hover {background-color: #00637c;}
div#nav ul.level1 li.submenu:hover ul.level2,
div#nav ul.level2 li.submenu:hover ul.level3 {
    display:block;
}
div#nav ul.level2 {
    top: 2.4em; left: 0px;
    border: none;
}
div#nav ul.level2 li a{
    display: block;
    border: none;
}
#flashMessage{
	padding: 1em;
}
.material{
	clear:left;
	float:left;
}
.worker{
	clear:left;
	float:left;
}
.quantity{
	clear:none;
	float:left;
}
.material select{
	float:left;
}
.worker select{
	float:left;
}
.addFormField{
	float:left;
	margin: 2.2em .7em;
}
#row0, #row1{
	clear: none;
}
#totalf{
	float:right;
	font-size: 14px;
	font-weight:bold;
}
.pontaj input{
	font-size: 115%;
	width: inherit;
}
.pontaj{
	/*width: 100%;*/
	clear: both;
}
.pontaj .worker{
	float: left;
	clear: none;
	padding-right:  5px;
}
.clearfix:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
     }
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */