* {
	margin: 0;
	padding: 0;
}

body, html {
	height:100%;
}

body {
	background: url("../images/bg.png") repeat-y left top #eee;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 13px;
	min-width: 960px;
}

a, a:link, a:visited {
	color: #B93116;
	font-weight: bold;
	text-decoration: none;
}

a img {
	border: 0 none;
}

a:hover {
	text-decoration: underline;
}

p {
	line-height: 130%;
	margin-bottom: 20px;
	text-align: justify;
}

.bold {
	font-weight: bold;
}

.left {
	float: left;
}

.center {
	text-align: center !important;
}

.right {
	float: right;
}

.clear {
	clear: both;
}

#page-title {
	padding: 2px;
	margin: 10px 0;
}


/** Header **/
#header {
	z-index: 1000;
	position: absolute;
	top: 0;
	background: #212121;
	display: block;
	width: 100%;
}

#header .logo {
	color: #FFFFFF;
}

#header .logo .title {
	float: left;
	margin-top: 40px;
}

#site-title {
	font-variant: small-caps;
}

#sub-title {
	color: #ccc;
	font-variant: small-caps;
	letter-spacing: 2px;
	text-align: center;
}

#header .logo img {
	height: 120px;
	float: left;
	margin: 0 10px;
}

#header .user,
#header .user .info {
	float: right;
}

#header .user .info {
	color: #fff;
	margin-top: 22px;
	text-align: center;
}

#header .user .info .name {
	font-size: 20px;
	font-weight: bold;
}

#header .user .info .lic {
	color: #ccc;
	font-size: 14px;
}

#header .user .info .actions {
	margin-top: 5px;
}

#header .user .info span {
	font-weight: bold;
}

#header .user img {
	float: right;
	border-radius: 10px;
	margin: 10px 10px 0 10px;
	height: 100px;
}








/** Wrapper **/
#wrapper {
	z-index: 100;
	height: 100%;
	width: 100%;
	display: block;
	margin-top: 120px;
}







/** Sidebar **/
#sidebar {
	float: left;
	display: block;
	width: 225px;
}

#sidebar .menu > ul {
	list-style: none;
}

#sidebar .menu > ul > li span {
	padding: 10px 0 10px 20px;
	display: block;
	border-top: 1px solid #999;
	color: #fff;
	font-size: 16px;
	font-variant: small-caps;
	font-weight: bold;
	cursor: pointer;
}

#sidebar .menu > ul > li.expanded span,
#sidebar .menu > ul > li:last-child span,
#sidebar .menu > ul > li:last-child.expanded {
	border-bottom: 1px solid #999;
}

#sidebar .menu ul ul {
	color: #ccc;
	background: #434343;
	padding: 5px 0 5px 30px;
}

#sidebar .menu ul ul li {
	padding: 5px 0;
	font-weight: bold;
	text-transform: capitalize;
}

#sidebar .menu ul ul a {
	color: #ccc;
}

#sidebar .copy {
	text-align: center;
	padding: 10px 0;
	color: #ccc;
	font-size: 11px;
	font-weight: bold;
}




/** Content **/
#content {
	display: block;
	margin-left: 225px;
}

#content .inner {
	padding: 20px;
}






/** Button **/
.button.white {
	background: url("../images/button/white.png") repeat-x scroll 0 0 transparent;
	border: 1px solid #cccccc;
	color: #555555;
	text-shadow: 0 1px 0 #FFFFFF;
	box-shadow: 0 1px 0 0 #FFFFFF;
	-webkit-box-shadow:0 1px 0 0 #FFFFFF;
}

.button.grey {
	background: url("../images/button/grey.png") repeat-x scroll 0 0 transparent;
	border: 1px solid #4F5A68;
	color: #FFFFFF;
}

.button.blue {
	background: url("../images/button/blue.png") repeat-x scroll 0 0 transparent;
	border: 1px solid #3079ed;
	color: #FFFFFF;
}

.button.red {
	background: url("../images/button/red.png") repeat-x scroll 0 0 transparent;
	border: 1px solid #d22a15;
	color: #FFFFFF;
}

.button.green {
	background: url("../images/button/green.png") repeat-x scroll 0 0 transparent;
	border: 1px solid #4ba301;
	color: #FFFFFF;
}

.button.magenta {
	background: url("../images/button/magenta.png") repeat-x scroll 0 0 transparent;
	border: 1px solid #ba4c6f;
	color: #FFFFFF;
}

.button.yellow {
	background: url("../images/button/yellow.png") repeat-x scroll 0 0 transparent;
	border: 1px solid #d5ad23;
	color: #FFFFFF;
}

.button.darkblue {
	background: url("../images/button/darkblue.png") repeat-x scroll 0 0 transparent;
	border: 1px solid #41597c;
	color: #FFFFFF;
}


.button {
	border-radius: 3px;
	cursor: pointer;
	display: inline-block;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 11px;
	font-weight: bold;
	line-height: 14px;
	margin-left: 5px;
	padding: 4px 16px;
	text-decoration: none;
	text-transform: uppercase;
}

.button:hover {
	background-position: center bottom;
	text-decoration: none;
}

.button:active {
	background-position: center center;
}

/** Files **/
.file span {
	background: url('../images/icon/files.png') no-repeat;
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 5px;
	vertical-align: bottom;
}

.file.generic span {
	background-position: 0 -1px;
}

.file.doc span {
	background-position: -17px -1px;
}

.file.pdf span {
	background-position: -34px -1px;
}

.file.ppt span {
	background-position: -51px -1px;
}

.file.xls span {
	background-position: -69px -1px;
}

.file.archive span {
	background-position: -87px -1px;
}

.file.pic span {
	background-position: -105px -1px;
}

.pdf {
	height: 16px;
	float: left;
	margin-right: 5px;
}

.remark {
	text-align: left !important;
}

/** Messages **/
.message {
  background: no-repeat 10px 15px;
  border: 1px solid;
  border-width: 1px 1px 1px 8px;
  border-radius: 2px;
  padding: 15px 20px 15px 35px;
	text-align: left !important;
	z-index: 0;
	margin-bottom: 10px;
}

.message-error {
	background-color: #FCF4F2;
	background-image: url("../images/icon/error.png");
	border-color: #F9C9BF #F9C9BF #F9C9BF #E62600;
	color: #A51B00;
}

.message-warning {
	background-color: #FDF8ED;
	background-image: url("../images/icon/warning.png");
	border-color: #F4DAA6 #F4DAA6 #F4DAA6 #E09600;
	color: #734C00;
}

.message-success {
	background-color: #F3FAEF;
	background-image: url("../images/icon/success.png");
	border-color: #C9E1BD #C9E1BD #C9E1BD #77B259;
	color: #325E1C;
}

.message ul {
	margin-left: 15px; 
}

.message a {
	color: #212121;
	font-weight: bold;
}




/** Embed Media **/
.media-wrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16/9 ratio */
	padding-top: 25px; /* IE6 workaround*/
	height: 0;
	overflow: hidden;
}

.media-wrapper iframe.media {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}




/** Blocks **/
.grid-row {
	display: table-row;
}

.block {
	display: block;
	float: left;
	margin: 5px 25px 20px 0;
}

.block .side-block {
	display: inline-block;
	width: 49%;
	vertical-align: top;
}

.block .side-block-3 {
	display: inline-block;
	width: 32%;
	vertical-align: top;
}

.block .side-block-4 {
	display: inline-block;
	width: 24%;
	vertical-align: top;
}

.block .field {
	text-align: left;
}

.block .block-header {
	background: #212121;
	color: #fff;
	padding: 5px 10px;
	border-radius: 10px 10px 0 0;
}

.block .block-content {
	border: 2px solid #ccc;
	border-top: 0 none;
	border-radius: 0 0 10px 10px;
	padding: 10px;
}

.block {
	width: 275px;
}

.block.grid-3 {
	width: 425px;
}

.block.grid-4 {
	width: 575px;
}

.block.grid-6 {
	width: 875px;
}

.block input {
	max-width: 240px;
}





/** Tables **/
.block table {
	width: 100%;
	border-spacing:0;
}

.block tr td {
	border-bottom: 1px solid #ccc;
}

.block tr th,
.block tr td  {
	border-right: 1px solid #ccc;
}

.block tr th:last-of-type,
.block tr td:last-of-type  {
	border-right: 0 none;
}

.block th {
	font-weight: bold;
	padding: 5px 10px;
	border-bottom: 2px solid #999;
}

.block td {
	padding: 10px;
	text-align: center;
}

.block tr:nth-child(even) {
	background: #fff;
}

tr.you {
	background: #FDF8ED !important;
	color: #734C00;
	font-weight: bold;
}





/** Forms **/
select.big {
	width: 100%;
}

.block.grid-3 .side-block input {
	max-width: 160px;
}

.block .address input {
	max-width: 100%;
}

.field.checkbox .label.inline {
	max-width: 90%;
	vertical-align: top;
}

.field.text {
	margin-bottom: 10px;
}





/** Status **/
.status {
	font-weight: bold;
	line-height: 16px;
}

.status.download {
	background: #FCF4F2;
}

.suspended,
.status.download a {
	color: #A51B00;
}

.status.pending {
	background: #FDF8ED;
	color: #734C00;
	text-align: left !important;
}

.status.pending img {
	margin-right: 5px;
	float: left;
}

.status.ok {
	background: #F3FAEF;
	color: #325E1C;
}