﻿/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
body {
    background-color: #5c87b2;
    font-size: .85em;
    font-family: "Trebuchet MS", Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    color: #696969;
}

a:link {
    color: #034af3;
    text-decoration: underline;
}

a:visited {
    color: #505abc;
}

a:hover {
    color: #1d60ff;
    text-decoration: none;
}

a:active {
    color: #12eb87;
}

p, ul {
    margin-bottom: 20px;
    line-height: 1.6em;
}

header,
footer,
nav,
section {
    display: block;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
    color: #000;
}

h1 {
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2 {
    padding: 0 0 10px 0;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

header, #header {
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
}

header h1, #header h1 {
    font-weight: bold;
    padding: 5px 0;
    margin: 0;
    color: #fff;
    border: none;
    line-height: 2em;
    font-size: 32px !important;
    text-shadow: 1px 1px 2px #111;
}

#main 
{
    min-height:500px;
    /*padding: 30px 30px 15px 30px;*/
    padding-left:30px;
    padding-right:30px;
    background-color: #fff;
    border-radius: 4px 0 0 0;
    -webkit-border-radius: 4px 0 0 0;
    -moz-border-radius: 4px 0 0 0;
}

footer, 
#footer {
    background-color: #fff;
    color: #999;
    padding: 10px 0;
    text-align: center;
    line-height: normal;
    margin: 0 0 30px 0;
    font-size: .9em;
    border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
}

/* TAB MENU   
----------------------------------------------------------*/
ul#menu {
    border-bottom: 1px #5C87B2 solid;
    padding: 0 0 2px;
    position: relative;
    margin: 0;
    text-align: right;
}

ul#menu li {
    display: inline;
    list-style: none;
}

ul#menu li#greeting {
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: #fff;
}

ul#menu li a {
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    background-color: #e8eef4;
    color: #034af3;
    border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
}

ul#menu li a:hover {
    background-color: #fff;
    text-decoration: none;
}

ul#menu li a:active {
    background-color: #a6e2a6;
    text-decoration: none;
}

ul#menu li.selected a {
    background-color: #fff;
    color: #000;
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset {
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend {
    font-size: 1.2em;
    font-weight: bold;
}

textarea {
    min-height: 75px;
}

input[type="text"], 
input[type="password"] {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
    width: 200px;
}

select {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
}

input[type="submit"] {
    font-size: 1.2em;
    padding: 5px;
}

/* TABLE
----------------------------------------------------------*/

table {
    border: solid 1px #e8eef4;
    border-collapse: collapse;
}

table td {
    padding: 5px;
    border: solid 1px #e8eef4;
}

table th {
    padding: 6px 5px;
    text-align: left;
    background-color: #e8eef4;
    border: solid 1px #e8eef4;
}

/* MISC  
----------------------------------------------------------*/
.clear {
    clear: both;
}

.error {
    color: Red;
}

nav, 
#menucontainer {
    /*margin-top: 40px;*/
}

div#title {
    display: block;
    float: left;
    text-align: left;
}

#logindisplay {
    font-size: 1.1em;
    display: block;
    text-align: right;
    margin: 10px;
    color: White;
}

#logindisplay a:link {
    color: white;
    text-decoration: underline;
}

#logindisplay a:visited {
    color: white;
    text-decoration: underline;
}

#logindisplay a:hover {
    color: white;
    text-decoration: none;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label, 
.editor-label {
    margin: 0.5em 0 0 0;
    font-weight:bold;
}

.display-field, 
.editor-field {
    margin: 0.5em 0 0 0;
}

.text-box {
    width: 30em;
}

.text-box.multi-line {
    height: 6.5em;
}

.tri-state {
    width: 6em;
}

.p500
{
    width:400px !important;
    }
    
    .fl
    {
        float:left;
        width:500px;
        }
        
        .btn-save
        {
            /*background-color:Green;*/
            border:1px solid black;
            border-radius:5px;
            /*color:white;
            padding:5px;*/
            width:150px;
            }


/*********************
*******MATIJA*********
*********************/
.container-fluid {
	padding:0 !important;
}

.navbar-inner {
	border-radius:0 !important;
}

.main-div {
	margin:0 50px;
}

.main-div a.btn {
	color:#FFFFFF;
	text-decoration:none;
}

.filter a {
	border-radius:5px;
	color:#000000;
	padding:3px 5px;
	text-decoration:none;
}

.filter a.active {
	background-color:#A0A0A0;
	color:#FFFFFF;
}

.table  {
	width:auto !important;
}

.field-val {
    color: #ff0000;
}

tr.strikethrough { text-decoration:line-through; }
tr.primary { background-color:#006DCC; color:#ffffff; }
tr.ccideleted { background-color:#9C00CC; color:#ffffff; }
.call-notification { position: absolute; right: -10px; top: 20px;}
.call-notification_mail { position: absolute; right: -10px; top: 20px;}

/*-------------------*/
table.warehouse-products, table.warehouse-overviews
{
    width:100%;
}

table.warehouse-products th:nth-child(1)
{
    width:15%;
}

table.warehouse-products th:nth-child(2)
{
    height: calc(20% - 60px);
    height: -moz-calc(20% - 60px);
    height: -webkit-calc(20% - 60px);
    height: -o-calc(20% - 60px);
}

table.warehouse-products th:nth-child(3)
{
    width:10%;
}

table.warehouse-products th:nth-child(4)
{
    width:10%;
}

table.warehouse-products th:nth-child(5)
{
    width:15%;
}

table.warehouse-products th:nth-child(6)
{
    width:15%;
}

table.warehouse-products th:nth-child(7)
{
    width:15%;
}

table.warehouse-products th:last-child
{
    width:60px;
}

table.warehouse-overviews th:nth-child(1), table.warehouse-overviews th:nth-child(2)
{
    width:130px;
}

/* from layout */
.hover {
	background-color:#DAEAF5;
}
			
.red {
	background-color:#F56777;
}
				
.green {
	background-color:#0CE843;
}
				
.noup td {
	border-top:1px solid white !important;
	background-color:#F5DAE3;
}
					
.noup2 td {
	border-top:1px solid white !important;
	background-color:#EFF28F;
}
					
.noup3 td {
	border-top:1px solid white !important;
	background-color:#BAF28F;
}
					
.nodown td {
	border-bottom:1px solid white !important;
}

.navbar-inner a {
	text-decoration:none;
}

html,
body {
	margin:0;
	padding:0;
	height:100%;
}
#wrapper {
	min-height:100%;
	position:relative;
}
#content-wrapper {
	padding-bottom: 30px !important; /* Height of the footer element */
}
#footer-powered-by {
	background:#fff;
	width:100%;
	height:30px;
	position:absolute;
	bottom:0;
	left:0;
	padding:5px 0;
}


/* Warehouse Details */
table.warehouse-status tr td:first-of-type
{
    font-weight: bold;
}
table.warehouse-item-status
{
    width: 100% !important;
}
table.warehouse-item-status tr td:last-of-type
{
    text-align: center;
}
table.warehouse-item-status tr th:nth-child(1), table.warehouse-item-status tr td:nth-child(1)
{
    width: 50px;
    text-align:center;
}
table.warehouse-item-status tr td:nth-child(2)
{
    width:170px;
}
table.warehouse-item-status tr th:last-of-type
{
    text-align:center;
    width:170px;
}
.select-warehouse
{
    height: 80px;
    margin-bottom: 20px;
}
.warehouse-panel
{
    text-align: center;
    padding-bottom:10px;
}
.warehouse-pallet .top, .warehouse-pallet .bottom
{
    height: 4px;
    background: orange;
}
.warehouse-pallet .middle
{
    margin: 2px 0;
    height: 12px;
}
.warehouse-pallet .middle div
{
    width: 15px;
    height: 12px;
    background: orange;
    display: inline-block;
}
.warehouse-pallet .middle div:nth-child(2)
{
    margin-bottom:3px;
}
.warehouse-pallet .left
{
    float: left;
}
.warehouse-pallet .rigth
{
    float: right;
}
.box 
{
    width: 80%;
    border: 1px solid rgba(255, 165, 0, 0.29);
    padding: 0 6px 8px 6px;
    margin-bottom: 4px;
    display: inline-block;
    background: rgba(255, 165, 0, 0.17);
    position: relative;
    overflow:auto;
    height:100px;
}
.box input 
{
    width:80%;
    text-align: center;
    margin-top:8px;
}
.tape
{
    width: 10px;
    height: 6px;
    background: rgba(255, 165, 0, 0.29);
    margin: 0 auto;
}
.tape.bottom 
{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.pallet-number
{
    margin-top: 4px;
}
.warehouse-view-buttons
{
    padding-top: 16px;
}
/* end of Warehouse Details */

table.overview-items
{
    width:100% !important;
}

table.overview-items tr th, table.overview-items tr td 
{
    vertical-align:middle;
}

table.overview-items tr th:nth-child(1)
{
    width:60px;
    text-align:center;
}
table.overview-items tr td:nth-child(1)
{
    text-align:center;
}

table.overview-items tr th:nth-child(2)
{
    width:170px;
}

table.overview-items tr th:nth-child(4)
{
    width:170px;
    text-align:center;
}

table.overview-items tr td input
{
    text-align:center;
}

table.overview-items tr th:last-of-type
{
    width:50px;
    text-align:center;
}
table.overview-items tr td:last-of-type
{
    text-align:center;
}
button#add-item
{
    display: block;
    clear: both;
}
#table-view .span2:nth-child(6n+1)
{
    margin-left:0px !important;
}
#table-view button.remove-row
{
    margin-bottom:14px !important;
}

.trhead { background-color:#d9edf7;}

.expandableBox {
    border-bottom:2px dotted #000000;
    margin-bottom:10px;
    max-height:120px;
    overflow:hidden;
}

.expandableBox.expandableBoxLarge {
    max-height:250px;
}

.expandableBox.expanded {
    border-bottom:0;
    max-height:none;
}

form#smssendform textarea {
    height:200px;
    max-height:200px;
}

.cw-button 
{
    margin-bottom: 10px; 
    margin-top: 10px; 
    float: left;
}

.cw-checkbox
{
    float: left; 
    padding: 2px 7px 6px 7px; 
    border: 1px solid #ccc
}

.additinalTable 
{
    margin-top: 20px; 
    float: left;
}

.button-fix-10
{
    margin-top: 10px;
    padding: 0 26px !important;
}

.remove-controls-margin .controls 
{
    margin-left: 0px !important;    
}

.remove-controls-margin.span10 
{
    width: 400px;
}

.width-630 
{
    width: 630px;
}

.width-135 
{
    width: 135px;
}

.width-108
{
    width: 108px;
}