body {
	padding: 20px;
	font-family: "Arial";
	background-color: #F1F1F1;
}

.clear {
	clear: both;
}

a {
	text-decoration: none;
	color: #e04006;
}

a:hover {
	text-decoration: underline;
}

p.error {
	color: #e04006;
	font-size: 14px;
}

.error input {
	border: 1px solid #e04006;
}

body.list.no-match p.no-match {
	padding-left: 20px;
}

body.list.no-match #header {
	border-bottom: 1px solid #AAA;
}

body.list.no-match #footer {
	border-top: 1px solid #AAA;
	padding-top: 10px;
}

/* TABS 
 * * * * * * * * * * * * * * * * * * * * * * * * */
 
#tabs {
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	height: 50px;
	background-color: #777;
}

#tabs .tabs {
	position: relative;
	height: 50px;
	width: 300px;
	left: 100px;
	display: inline-block;
}

#tabs .tabs .tab {
	display: inline-block;
	position: absolute;
	bottom: 0px;
	top: 10px;
	width: 150px;
	text-align: center;
	cursor: pointer;
	border-radius: 4px 4px 0px 0px;
}

#tabs .tabs .tab.lists {
	
}

#tabs .tabs .tab.spaces {
	left: 150px;
}

#tabs .tabs .tab.link {
	background-color: #999;
	cursor: pointer;
	top: 15px;
}

#tabs .tabs .tab.link:hover {
	background-color: #AAA;
}

#tabs .tabs .tab.link.lists {
	box-shadow: inset 0px -2px #666;
}

#tabs .tabs .tab.link.spaces {
	box-shadow: inset 2px -2px #666;
}

#tabs .tabs .tab.current {
	background-color: #F1F1F1;
	cursor: default;
}

#tabs .tabs .tab span {
	display: inline-block;
	margin-top: 10px;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: bold;
}

#tabs .tabs .tab.link span {
	color: #BBB;
}

#tabs .tabs .tab.link:hover span {
	color: #eee;
}

#tabs .tabs .tab.current span {
	color: #333;
	margin-top: 15px;
}

#tabs .content {
	width: 1000px;
	margin-top: 20px;
	border: 0px dotted red;
  	margin-left: auto;
  	margin-right: auto;
  	background-color: transparent;
}

#tabs .content h1 {
	float: left;
	color: #F1F1F1;
	margin: 0px;
	padding: 0px;
	padding-left: 20px;
	font-size: 24px;
}

#tabs .content h1 .clientname {
	padding-right: 20px;
}

#tabs .content h1 .address {
	font-weight: normal;
}

#tabs .content .buttons,
#tabs .buttons {
	float: right;
}

body.list #tabs .buttons {
	position: absolute;
	height: 30px;
	width: 300px;
	right: 35px;
	bottom: 0px;
	display: inline-block;
}


body.list #tabs .buttons form.logout {
	float: right;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * */

#content {
	width: 1000px;
	border: 0px dotted red;
	margin-left: auto;
	margin-right: auto;
}

table {
	border-collapse: collapse;
}

tr th {
	padding: 5px 12px;
	text-align: left;
	background-color: #CCC;
}

tr th.nowrap {
	white-space: nowrap;
}	

tr td {
	padding: 5px 12px;
	background-color: #FFF;
}

tr td.nowrap {
	white-space: nowrap;
}

table.list tr th,
table.list tr td {
	border-left: 0px;
 	border-right: 0px;
 	padding-top: 10px;
 	padding-bottom: 10px;
}

table.list tr th {
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 1px;
}

table.list tr td {
	font-size: 15px;
}

table.list tr td span.dash {
	color: #999;
}

form {
	/* margin-top: 15px; */
}

form.inline {
	display: inline-block;
	margin: 0px;
	padding: 0px;
	
}

.button, button {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: bold;
	color: #FFF;
	background-color: #999;
	border: 1px solid #999;
	border-radius: 4px;
	cursor: pointer;
}

.button:hover, button:hover {
	color: #000;
	background-color: #DDD;
	cursor: pointer;
}

.button.big, button.big {
	font-size: 12px;
	padding: 8px 20px 8px 20px;
	border-radius: 4px;
	margin-left: 5px;
	margin-right: 5px;
}

.button.small, button.small {
	font-size: 10px;
	padding: 3px 10px 3px 10px;
	border-radius: 2px;
}

.button.disabled {
	cursor: default;
	opacity: 0.4;
}

.button.disabled:hover {
	cursor: default;
	color: #FFF;
	background-color: #999;
}

a.button {
	text-decoration: none;
}

a.close {
	position: absolute;
	display: block;
	width: 32px;
	height: 32px;
	color: #FFF;
	background-color: #000;
	font-size: 32px;
	line-height: 32px;
	text-align: center;
	border-radius: 16px;
	transform: rotate(45deg); 
	box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.5);
}

a.close:hover {
	text-decoration: none;
	background-color: #e04006;
}

form.edit input.button {
	width: 24px;
	height: 24px;
	background-color: transparent;
	background-image: url('/images/edit-icon.png');
	background-size: cover;
	border: 0px;
	border-radius: 0px;
	opacity: 0.5;
}

form.delete input.button {
	width: 24px;
	height: 24px;
	background-color: transparent;
	background-image: url('/images/trash-icon3.png?102');
	background-size: cover;
	border: 0px;
	border-radius: 0px;
	opacity: 0.5;
}

form.copy input.button {
	width: 24px;
	height: 24px;
	background-color: transparent;
	background-image: url('/images/copy-icon.png');
	background-size: cover;
	border: 0px;
	border-radius: 0px;
	opacity: 0.5;
}

form.email input.button {
	display: inline-block;
	width: 24px;
	height: 24px;
	background-color: transparent;
	background-image: url('/images/email-icon.png');
	background-size: cover;
	border: 0px;
	border-radius: 0px;
	opacity: 0.5;
}


form.edit input.button:hover,
form.delete input.button:hover,
form.copy input.button:hover,
form.email input.button:hover {
	opacity: 1.0;
}

/* FILTER 
 * * * * * * * * * * * * * * * * * */

form.filter select,
form.limit select {
	padding: 7px 20px;
	background-color: #AAA;
	border: 1px solid #777;
	border-radius: 4px;
	color: #FFF;
}	

form.filter select.selected {
	background-color: #9F6849;
	border: 1px solid #78553F;
	font-weight: bold;
}

form.filter input.text {
	padding: 7px 10px;
	border: 1px solid #777;
	border-radius: 4px;
}

form.filter input.text.selected {
	background-color: #FCDFCB;
	border: 1px solid #918278;
	font-weight: bold;
}

form.filter input.button.big.filter {
	display: none;
	background-color: #8DB166;
	border: 1px solid #718855;
	padding-left: 10px;
	padding-right: 10px;
} 

form.filter input.button.big.filter:hover {
	background-color: #CCECA0;
	border: 1px solid #718855;
}

form.filter div.button.big.reset {
	background-color: #8DB166;
	border: 1px solid #718855;
	background-color: #777;
	border: 1px solid #777;
	color: #FFF;
	padding-left: 10px;
	padding-right: 10px;
}

form.filter div.button.big.reset:hover {
	background-color: #8DB166;
	border: 1px solid #718855;
}

/* EMAIL FRAME 
 * * * * * * * * * * * * * * * * * * * * * * * * * * */

#email-frame {
	display: none;
	position: fixed;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	background-color: rgba(0,0,0,0.7);
}

#email-frame .frame {
	position: relative;
	width: 950px;
	height: 500px;
	margin-top: 100px;
	margin-left: auto;
	margin-right: auto;
	background-color: #FFF;
	border: 0px;
	box-shadow: 1px 1px 5px 0px rgba(0,0,0,1);
}

#email-frame .frame a.close {
	top: -15px;
	right: -15px;
}

#email-frame .frame iframe {
	width: 100%;
	height: 100%;
	border: 0px;
}

#email-frame p {
	text-align: center;
}

#email-frame p a.newtab {
	display: inline-block;
	color: #EEE;
	padding: 5px 10px;
	background-color: rgba(0,0,0,0.5);
}

#email-frame p a.newtab:hover {
	text-decoration: none;
	color: #e04006;
}


