.navbar .brand{
	padding: 8px 20px 8px;
}

.alert.order_status_box{
	background: #f7f7f7 !important;
	border: 1px solid #eee;
	box-shadow: 0 0 5px #ccc;
	margin: 20px;
	color: #333;
}

.alert.order_status_box h2{
	color: #333;
}

a.btn{
    color: #000;
    border: 1px solid #ccc;
}

a.btn:hover{
    color: #fff;
}

#overlay {
    background-color: rgba(0, 14, 27, 0.8);
    z-index: 999;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
}​

.orders{
	
}

.orders th, .time{
  background-color: #f1f2f6;
}



.orders td.id{
	background: #e5e5e5;
    width: 30px;
}

.orders td.id.discount{
    background-color: rgba(0, 255, 7, 0.54);
}

.orders tr:hover{
    background: #e5e5e5;
}

/*.orders tr:hover td:first-child{
    border-left: 2px solid #aaa;
    border-bottom:2px solid  #aaa ;
    border-top:2px solid  #aaa ;
}*/

.orders tr:hover td{
    border-bottom:2px solid  #aaa ;
    border-top:2px solid  #aaa ;
    padding: 7px 8px 5px 8px;
}


.orders tr td[class^="alert-"],
.orders tr [class*=" alert-"]{
    text-align: center;
    font-size: 1.2em;
    vertical-align: middle;
}

.orders tr:hover [class^="alert-"],
.orders tr:hover [class*=" alert-"]{
    background: #834d4b;
    border-top:2px solid  #aaa ;
    border-bottom:2px solid  #aaa ;    
}

th{
    border-bottom: 1px solid #f2f2f2;}

th:hover{
    background: #dee2e2 ;
    border-bottom: 1px solid #aaa;
}

th.header { 
    //background-image: url(/img/sort.png);     
    cursor: pointer; 
    /*font-weight: bold; */
    background-repeat: no-repeat; 
    background-position: center right; 
} 

th.headerSortUp { 
    background-image: url(/img/sort_up.png); 
    /background-color: #3399FF; 
} 

th.headerSortDown { 
    background-image: url(/img/sort_down.png); 
    /background-color: #3399FF; 
} 

 .modal .form-horizontal{
 	margin-bottom: 0px;
 }

.delete i{
    padding: 0;
    text-align: justify;
    vertical-align: center;
    line-height: normal;
    cursor: pointer;
 }

 .editrow i{
    cursor: pointer;
 }


 .delete a{
    width: 100%;
    height: 100%;
    vertical-align: center;
    display: block;
 }

 .delete a:hover{
 }

 td.edit a{
   color: #00ade6; 
}

a.more{
    color: #d38e7b;
    cursor: pointer; 
}

#dslider{
    background: #f2f2f2;
    border: 3px dotted #fafafa;
    padding: 5px;
}

table .addRow{
    background: #f5f5f5;
    text-align: center;
}

table .addRow:hover{
    background: #e1e1e1 !important ; 
    cursor: pointer;
}

table .addRow:active{
    background: #bbb !important ;
    cursor: pointer;
}

.act, .clr{
    cursor: pointer;
}

tr.separator td{
    background: #f2f2f2 !important;
    font-weight: bold !important;
    text-align: center !important;
}

tr.separator:hover td{
    font-weight: bold !important;
    text-align: center !important;
}

table.res td:first-of-type, tr.separator td:first-of-type{
    background: #f2f2f2 !important;
    font-weight: bold;
    text-align: left !important;
    text-shadow: 1px 1px 1px #ccc;
}

table.res td{
    text-align: center;
}

table.res th{
    background: #DEE2E2;
    border-bottom: 1px solid #ccc;
    text-align: center;
    text-shadow: 1px 1px 1px #ccc;
}

table.res tr.all td{
    border-top: 1px solid #ccc !important;
}

::-webkit-scrollbar {
    width: 10px;
    height: 14px;
    background-color: #f2f2f2;
}
 
::-webkit-scrollbar-track {
    border: 1px solid #ccc;
    background-color: #f2f2f2;
    box-shadow:  1px #ccc;
}
 
::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border: 1px solid #ccc;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #bbb;
    border: 1px solid #ccc;
}

.navbar-link-black{
    color: #333;
    font-weight: bold;
}

.navbar-link-black:hover{
    text-decoration: none;
}

.graph{
    background: #eaeaea;
    box-shadow: 0px 0px 10px #0074bd; 
    border:1px solid #0ca1ff;//#3a3a3a;
    padding-top: 0px;
}

.graph h3{
    font-size: 1.5em;
    display: block;
    text-align: center;
    color: #003e65;
    text-shadow: 1px 1px 1px #7fcdff;
    background: #008CE4;/#3a3a3a;
    margin-top: 0px;
    font-weight: bold;
}


.graph:hover{
    background: #eaeaea;
    box-shadow: 0px 0px 10px #0ca1ff; 
    z-index: 1000;
}

.graph:hover h3{
    background: #0ca1ff;//#2d2d2d;
}

.next{
    margin-top: 20px;
}

#achive{
    padding: 5px;
    max-height: 700px;
    overflow-y: scroll;
}

#achive table tr{
   // background: #E8F8FD;
}

#spending:hover h3, #return:hover h3, #materials:hover h3{
	color: #cc0000;
	text-shadow: 1px 1px #ccc;
	text-decoration:underline;
}

.table tbody tr.hiderow td{
    background: #F5FC98;
}

.table tbody tr.showrow td{
    background: #D0FC98;
}

td.id{
    cursor: pointer;
}



/*Discount*/
@-webkit-keyframes swing
{
    15%
    {
        -webkit-transform: translateX(5px);
        transform: translateX(5px);
    }
    30%
    {
        -webkit-transform: translateX(-5px);
       transform: translateX(-5px);
    } 
    50%
    {
        -webkit-transform: translateX(3px);
        transform: translateX(3px);
    }
    65%
    {
        -webkit-transform: translateX(-3px);
        transform: translateX(-3px);
    }
    80%
    {
        -webkit-transform: translateX(2px);
        transform: translateX(2px);
    }
    100%
    {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

.swing{
    -webkit-animation: swing 1s ease;
    animation: swing 1s ease;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
}

.mark{
    background-color: #99DE8A;
    border-radius: 16px;
    box-shadow: 0 0 5px #12291A;
}

.loading {
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

/* Transparent Overlay */
.loading:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
    /* hide "loading..." text */
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.loading:not(:required):after {
    content: '';
    display: block;
    font-size: 10px;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    -webkit-animation: spinner 1500ms infinite linear;
    -moz-animation: spinner 1500ms infinite linear;
    -ms-animation: spinner 1500ms infinite linear;
    -o-animation: spinner 1500ms infinite linear;
    animation: spinner 1500ms infinite linear;
    border-radius: 0.5em;
    -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
    box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    background-color: #e8f8fd;
}

tr.highcolor td{
    background: #e8f8fd !important;
}