body { background-color: #f4f1eb; width: 100%; height: 100%; margin: 0px; padding: 0px; font-family: "Helvetica"; color: #4f3811;}

@media print {
   @page 
        {
            size: auto;   /* auto is the current printer page size */
            margin: 10mm;  /* this affects the margin in the printer settings */
			margin-top: 0mm;
			margin-bottom: 0mm;
        }
	.no_print {
		display:none;
	}
	#projectsTable { margin-top: 20px; }
	#archiveTitle { margin-top: 20px; margin-bottom: 20px;}
}

div#header { height: 80px; width: 100%; background-color: #f0efea; }
/* LOGIN PAGE */
div#login {
    margin: 0 auto;
    padding-top: 200px;
    width: 400px;
    height: 200px;
}

form#loginForm input {
    width: 300px;
    height: 30px;
    margin-top: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #645a49;
    padding-left: 5px;
}
form#loginForm label { margin-right: 5px;}

form#loginForm input#loginButton {
    width: 100px;
    height: 30px;
    margin-top: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: none;
    margin-left: 150px;
    background-color: #039741;
    font-weight: bold;
    font-size: 14px; 
    color: #fff;
    cursor: pointer;
}

div#loginErrors {
    font-weight: bold;
    font-family: "Arial";
    font-size:11px;
    margin-left: 110px;
}
div#loginErrors p{ margin-top: 3px; margin-bottom: 3px; }

/*DASHBOARD PAGE*/
div#loggedHeader {
    height: 50px;
    position: absolute;
    top: 10px;
    right: 30px;     
}

div#loggedEntry { float: left;}
div#loggedHeader span{ font-weight: bold; font-style: italic;}
div#logoutButton { float: left; margin-left: 30px;}
div#logoutButton a{
    text-decoration: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 5px 12px 5px 12px;
    color: #fff;
    background-color: #cabda6;
}

div#logoutButton a:hover{ background-color: #039741; }
div#projectContainers { width: 100%; padding-top: 20px; }
button#newProject, button#newCategory, button#old_projects, button#usersButton, button#newUser, a#archived { 
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 5px 12px 5px 12px;
    color: #fff;
    background-color: #039741; 
    cursor: pointer;
    margin-bottom: 20px;
}

button#usersButton{ background-color: #cabda6;}


table#projectsTable td a {color: #5a5a5a; font-weight: bold; text-transform: uppercase; }
table#projectsTable td a#restoreProject:hover, table#projectsTable td a#modifyPurchase:hover, table#projectsTable td a#moveProject:hover, table#projectsTable td a#editUser:hover, table#projectsTable td a#reenableCategory:hover, table#projectsTable td a#archiveCategory:hover, table#projectsTable td a#editCategory:hover, table#projectsTable td a#reenableUser:hover,table#projectsTable td a#archiveUser:hover {background-color: #039741;}
table#projectsTable td a#deleteCategory:hover, table#projectsTable td a#deleteProject:hover, table#projectsTable td a#deleteUser:hover, table#projectsTable td a#deletePurchase:hover { background-color: #b70b0b; }
table#projectsTable tr#totalRow {font-weight: bold; font-size: 14px;}

table#projectsTable { color: #5a5a5a; width: 100%; border: 1px solid #eee9e1; }
table#projectsTable thead { background-color: #272727; font-weight: bold; text-transform: uppercase; font-size: 12px; color: #fff;}
table#projectsTable tr{  height: 25px;border: 1px solid #eee9e1; font-size: 11px;}
table#projectsTable td{ border: 1px solid #eee9e1;}
table#projectsTable td a#deleteProject,table#projectsTable td a#restoreProject, table#projectsTable td a#deletePurchase, table#projectsTable td a#modifyPurchase,table#projectsTable td a#moveProject,
table#projectsTable td a#deleteUser, table#projectsTable td a#editUser,table#projectsTable td a#archiveUser, table#projectsTable td a#reenableUser,table#projectsTable td a#deleteCategory, table#projectsTable td a#reenableCategory, table#projectsTable td a#archiveCategory, table#projectsTable td a#editCategory  { 
    text-decoration: none;
    width:100%;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 3px 7px 3px 7px;
    color: #fff;
    background-color: #cabda6;
}


/*Project Purchases Page*/
div#projectDetails{ padding-top: 20px;}
div#projectDetails span{ font-weight: bold;}
div#buttons {margin: 20px 0;}
div#buttons a {
    text-decoration: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 5px 12px 5px 12px;
    color: #fff;
    background-color: #cabda6;
}
div#buttons a:hover{ background-color: #039741; }
div#buttons a#newPurchase { background-color: #039741;}

div#projectDetails a#changeValue{
    text-decoration: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 5px 8px 5px 8px;
    color: #fff;
    font-size: 11px;
    background-color: #cabda6;
}

/*POPUP WINDOWS*/
div.ui-widget-content {background-color: #e2ded8;}
div.ui-dialog-titlebar { background-color:#000; height: 30px; padding: 10px 0 0 10px; } 
div.ui-dialog-titlebar span {color: #fff;}
div.ui-dialog-titlebar a.ui-dialog-titlebar-close{ display: none;}
input{
    width: 98%;
    height: 20px;
 	margin-bottom: 15px;
    border: 1px solid #645a49;
    padding-left: 5px;    
}
select{
	width: 98%;
    height: 20px;
    border: 1px solid #645a49;
    padding-left: 5px;    
 }

div#dialog-form-purchase select, div#dialog-form-edit-purchase select {margin: 0;}
 
textarea {
    width: 98%;
    height: 75px;
    margin-top: 4px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #645a49;
    padding-left: 5px;
}

label{ color: #4f3811; font-family: "Arial"; font-size: 13px;}
div.ui-dialog-buttonset button{
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 5px 12px 5px 12px;
    color: #fff;
    background-color: #039741; 
    cursor: pointer;
}
.ui-dialog-buttonpane {
    padding: 10px;
}
a#old_projects {
	background-color: #039741;
	text-decoration: none;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	padding: 5px 12px 5px 12px;
	color: #fff;
	margin-left: 10px;
	font-size:13px;
}

/*div#buttons.archive{ margin-bottom: 20px;}*/
span#archiveTitle {margin-bottom: 15px; font-size: 16px; font-weight: bold; color: ##5a5a5a;}

.dataTables_info { margin-top: 20px;}
.dataTables_paginate { margin-top: 20px;}

.float-left {
	position: relative;
	float: left;	
}

.long-input {
	min-width: 98%;
	margin-bottom: 15px;
}
.categ_search {
    float: left;
    margin-right: 3.5em;
	width: 160px;
	
}

#projectsTable_filter input {
	
	width: 160px;
	
}

#projectsTable_length select {
	width: 60px;
}
	
label {

    margin-right: 0.5em;

}

.hide{


display:none;

}

a button {
	
	background: none;
	border: none;
	color: #FFF;
}


#subtotalRow {
	margin: 20px 0;	
}


.dataTables_wrapper{
	
}
/* Fixed footer */
html, body {
  height: 100%;
}

.wrapper {
  box-sizing: border-box;
  position: relative;
  padding-bottom: 1em; /* Height of footer */
  min-height: 100%;
  overflow: auto;
  padding-bottom: 80px;
  padding-left: 30px;
  padding-right: 30px;
}



footer {
    position: relative;
    margin-top: -100px; /* negative value of footer height */
    padding: 20px 30px;
    clear: both;
}
