/* ********************************************* */
/* Tables */

table.styled {
	width: 100%;
	border-collapse: separate;
}

#content .box.with-table .content {
	padding: 0;
}

table.styled thead {
	background: url('../img/elements/table/header.png') repeat-x #eef0f4;
}

table.styled th {
	position: relative;

	width: auto !important;
	padding: 8px 12px;
	
	border-right: 1px solid #cfcfcf;
	border-left: 1px solid #fff;
	border-bottom: 1px solid #cfcfcf;
}

table.styled.borders th {
	border-top: 1px solid #cfcfcf;
}

table.styled.borders tbody tr th {
	border-top: none;
}

table.styled th:first-child {
	border-right: 1px solid #dfdfdf;
}

table.styled.borders th:first-child {
	border-left: 1px solid #dfdfdf;
}

table.styled td {
	padding: 8px 12px;

	border-bottom: 1px solid #dfdfdf;
	border-right: 1px solid #dfdfdf;
}

table.styled td:first-child {
	border-left: 1px solid #dfdfdf;
	padding-left: 20px;
}

table.styled td:last-child {
	border-right: 1px solid #dfdfdf	;
}

table.styled tbody tr:nth-child(odd) td {
	background: #fdfdfd;
}

table.styled tbody tr:nth-child(even) td {
	background: #f6f6f6;
}

table.styled tbody tr:hover td {
	background: #f7f8fa;
}

table.styled:not(.borders) tbody tr:last-child td {
	border-bottom: none;
}

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


.box.with-table .content table:not(.borders) td:first-child, .box.with-table .content table:not(.borders) th:first-child {
	border-left: none;
}

.box.with-table .content table:not(.borders) td:last-child, .box.with-table .content table:not(.borders) th:last-child {
	border-right: none;
}

.dataTable th:hover {
	background: #fff;
}

.dataTable th:active {
	background: #edeef0;
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.34);
}

.dataTable th.sorting {
	cursor: pointer;
	background: url('../img/elements/table/sorting.png') no-repeat right center;
}

.dataTable th.sorting:hover {
	background: url('../img/elements/table/sorting.png') #fff no-repeat right center;
}

.dataTable th.sorting:active {
	background: url('../img/elements/table/sorting.png') #edeef0 no-repeat right center;
}

.dataTable th.sorting_asc {
	cursor: pointer;
	background: url('../img/elements/table/sorting-asc.png') no-repeat right center;
}

.dataTable th.sorting_asc:hover {
	background: url('../img/elements/table/sorting-asc.png') #fff no-repeat right center;
}

.dataTable th.sorting_asc:active {
	background: url('../img/elements/table/sorting-asc.png') #edeef0 no-repeat right center;
}

.dataTable th.sorting_desc {
	cursor: pointer;
	background: url('../img/elements/table/sorting-desc.png') no-repeat right center;
}

.dataTable th.sorting_desc:hover {
	background: url('../img/elements/table/sorting-desc.png') #fff no-repeat right center;
}

.dataTable th.sorting_desc:active {
	background: url('../img/elements/table/sorting-desc.png') #edeef0 no-repeat right center;
}

.dataTables_wrapper .footer:before, .dataTables_wrapper .footer:after {
	display: table;
	content: '';
}

.dataTables_wrapper .footer:after {
	clear: both;
}

.dataTables_wrapper .footer {
	padding: 15px;
	
	border-top: 1px solid #c1c1c1;
	border-radius: 0 0 2px 2px;
	background: url('../img/layout/content/box/actions-bg.png') #f0f1f4 repeat-x;
}

.dataTables_info {
	float: left;
}

.dataTables_paginate {
	float: right;
}

.DTTT_print_info {
	z-index: 999;
}

.paginate_button {
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.42);
}

.paginate_button.previous, .paginate_button.next {
	display: none;
}

.with-prev-next .paginate_button.previous, .with-prev-next .paginate_button.next {
	display: inline;
}

.paginate_button, .paginate_active {
	padding: 3px 7px;

	cursor: default;
	
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.paginate_button, .paginate_active {
	border-top: 1px solid #c1c1c1;
	border-bottom: 1px solid #c1c1c1;
	border-right: 1px solid #c1c1c1;
	border-left: 0px solid #c1c1c1;
	background: url('../img/elements/table/pagination/normal.png') repeat-x #dfdfdf;
}

.paginate_active {
	background: url('../img/elements/table/pagination/active.png') repeat-x #394353;
	border-color: #101a2a;
}

.paginate_button:hover {
	background: url('../img/elements/table/pagination/hover.png') repeat-x #1c68c0;
	border-left-width: 1px;
	border-color: #13447d;
	margin-left: -1px;
	
	cursor: pointer;
}

.paginate_button_disabled, .paginate_button_disabled:hover {
	background: url('../img/elements/table/pagination/disabled.png') repeat-x #dfdfdf;
	border-color: #c1c1c1;
	cursor: default;
}

.paginate_button:not(.paginate_button_disabled):hover:active {
	border-color: #13447d;
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.59);
	background: #175093;
}

.paginate_button.first {
	border-left-width: 1px;
	border-radius: 2px 0 0 2px;
}

.paginate_button.last {
	border-radius: 0 2px 2px 0;
}


.dataTables_wrapper .filters:before, .dataTables_wrapper .filters:after {
	display: table;
	content: '';
}

.dataTables_wrapper .filters:after {
	clear: both;
}

.dataTables_wrapper .filters {
	display: none;

	padding: 3px 8px;
	padding-top: 5px;
	background: #f7f7f7;
	border-bottom: 1px solid #cfcfcf;
}

.dataTables_filter {
	float: left;
}

.dataTables_filter input[type="text"] {
	font-size: 11px;
	padding: 4px;
}

.dataTables_filter .text {
	padding-right: 4px;
}

.dataTables_length {
	float: right;
}

.dataTables_length label {
	cursor: default;
	display: inline;
}

.dataTables_length .text {
	padding-right: 4px;
	position: relative;
	top: -7px;
}

.webkit .dataTables_length .text {
	position: static;
	top: 0;
}


.toggleFilter {
	width: 35px;
	height: 35px;
	background: transparent;
	border-left: 1px solid #c1c1c1;
	cursor: pointer;
	
	position: absolute;
	top: 1px;
	right: 1px;
}

.toggleFilter:hover {
	background: url('../img/layout/content/box/menu-bg.png') repeat-x #f0f2f5;
}

.toggleFilter:hover:active {
	background: url('../img/layout/content/box/menu-active-bg.png') repeat-x #e3e6ea;
}

.toggleFilter:before {
	font-family: FontAwesome;
	font-weight: normal;
	font-style: normal;
	display: inline-block;
	text-decoration: inherit;
	
	cursor: pointer;
	line-height: 37px;
	width: 33px;
	text-align: center;
	
	content: "\f013";
	color: #787979;
	font-size: 16px;
	text-shadow: 0 1px 0 #fff;
}

.toggleFilter.active {
	background: #f7f7f7;
	border-bottom: 1px solid #f7f7f7;
}

.tabletools {
	text-align: right;
	padding: 5px 8px;
	
	background: #f7f7f7;
	border-bottom: 1px solid #cfcfcf;
}

.tabletools:before, .tabletools:after {
	display: table;
	content: '';
}

.tabletools:after {
	clear: both;
}

.tabletools .left {
	float: left;
}

.tabletools .right {
	float: right;
}

.tabletools .left a {
	margin-right: 10px;
}

.tabletools .right a {
	margin-left: 10px;
}

.tabletools a {
	padding: 2px 6px;
	border: 1px solid transparent;
}

.tabletools a:hover {
	border-radius: 3px;
	box-shadow: 0 1px 1px rgba(0,0,0,0.2),
				inset 0 1px 0 #fff;
	background: url('../img/elements/table/toolbar/hover.png') repeat-x #191919;
	border-color: #c5c5c5;
}

.tabletools a:hover:active {
	border-color: transparent;
	background: #e5e7eb;
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.53),
				0 1px 0 #fff;
}

.tabletools a i {
	margin-right: 5px;
	font-size: 10px;
}


.DTTT_container {
	display: inline;
}

.DTTT_button embed { 
	outline: none;
}

.DTTT_container a {
	position: relative;
}

.DTTT_print_info {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 400px;
	height: 150px;
	margin-left: -200px;
	margin-top: -75px;
	text-align: center;
	color: #333;
	padding: 10px 30px;

	background: #ffffff; /* Old browsers */
	background: -webkit-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* Chrome10+,Safari5.1+ */
	background:    -moz-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* FF3.6+ */
	background:     -ms-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* IE10+ */
	background:      -o-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* Opera 11.10+ */
	background:         linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f9f9f9',GradientType=0 ); /* IE6-9 */
	
	opacity: 0.95;

	border: 1px solid black;
	border: 1px solid rgba(0, 0, 0, 0.5);
	
	-webkit-border-radius: 6px;
	   -moz-border-radius: 6px;
	    -ms-border-radius: 6px;
	     -o-border-radius: 6px;
	        border-radius: 6px;
	
	-webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
	   -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
	    -ms-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
	     -o-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
	        box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
}

.DTTT_print_info h6 {
	font-weight: normal;
	font-size: 28px;
	line-height: 28px;
	margin: 1em;
}

.DTTT_print_info p {
	font-size: 14px;
	line-height: 20px;
}

table.styled.full, .dataTables_wrapper.full {
	display: inline;
	float: left;
	
	margin-top: -15px;
	
	width: 100%;
}

table.styled.full > table, .dataTables_wrapper.full > table {
	margin-bottom: 30px;
}

table.styled.full .footer, .dataTables_wrapper.full .footer {
	position: absolute;
	left: 200px;
	right: 0;
	bottom: 0;
}

table.styled.full tbody tr:last-child td, .dataTables_wrapper.full tbody tr:last-child td {
	border-bottom: 1px solid #cfcfcf !important;
}

table.styled.full td:first-child, .dataTables_wrapper.full td:first-child,
table.styled.full th:first-child, .dataTables_wrapper.full th:first-child{
	border-left: none;
}

table.styled.full td:last-child, .dataTables_wrapper.full td:last-child,
table.styled.full th:last-child, .dataTables_wrapper.full th:last-child{
	border-right: none;
}

/* ********************************************* */
/* Breadcrumb */

ul.breadcrumb:before, ul.breadcrumb:after {
	display: table;
	content: '';
}

ul.breadcrumb:after {
	clear: both;
}

ul.breadcrumb {
	margin: 5px 0;
	padding: 0;

	border: 1px solid #11100d;
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

ul.breadcrumb li {
	display: inline;
	float: left;
}

ul.breadcrumb li a {
	position: relative;
	display: block;
	
	padding: 5px 16px;
	padding-left: 24px;
	
	background: url('../img/elements/breadcrumb/bg.png') repeat-x #273446;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.32);
}

ul.breadcrumb li:first-child a {
	padding-left: 16px;
	border-top-left-radius: 3px;
	border-bottom-left-radius: 3px;
}

ul.breadcrumb li a:hover {
	background: url('../img/elements/breadcrumb/bg-hover.png') repeat-x #303e51;
}

ul.breadcrumb li a:hover:active {
	background: url('../img/elements/breadcrumb/bg-active.png') repeat-x #2a3849;
	box-shadow: none;
}

ul.breadcrumb li a:after {
	display: block;
	position: absolute;
	
	height: 28px;
	width: 16px;
	
	right: -16px;
	top: -1px;
	
	content: ' ';
	background: url('../img/elements/breadcrumb/divider.png');
	
	z-index: 1;
}

ul.breadcrumb li a:hover:after {
	background: url('../img/elements/breadcrumb/divider-hover.png');
}

ul.breadcrumb li a:hover:active:after {
	background: url('../img/elements/breadcrumb/divider-active.png');
}

ul.breadcrumb li:last-child a {
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
}

ul.breadcrumb li:last-child a:after {
	display: none;
}


/* ********************************************* */
/* Top stats */

ul.stats {
	display: table;
	table-layout: fixed;
	margin: 0;
	margin-top: -15px;
	padding: 22px 15px 24px;
	width: 100%;
	background: url('../img/elements/stats/bg.png') repeat-x #3a4454;
	border-bottom: 1px solid #08192e;
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

ul.stats li {
	display: table-cell;
}

ul.stats li strong,ul.stats li small,ul.stats li span {
	display: block;
	text-align: center;
}


/* ********************************************* */
/* Search */

input[type="search"],input.search {
	height: 23px; /* + 1px padding top = 24px */
	width: 120px;
	padding: 1px 10px 0 30px;
	background: url('../img/elements/search/glass.png') no-repeat 10px 5px #fff;

	border-radius: 15px;
	border: 1px solid #0f3c6e;

	box-shadow: 0 1px 0 rgba(255,255,255,0.22), inset 0 1px 2px rgba(0,0,0,0.45);

	-webkit-transition: width 100ms;
	-moz-transition: width 100ms;
	-o-transition: width 100ms;
	-ms-transition: width 100ms;
	transition: width 100ms;
}

input[type="search"].loading,input.search.loading {
	background: url('../img/elements/search/loading.gif') no-repeat 8px 5px #fff;
}

#main .toolbar input[type="search"]:active,#main .toolbar input[type="search"]:focus {
	width: 160px;

	-webkit-transition: width 100ms;
	-moz-transition: width 100ms;
	-o-transition: width 100ms;
	-ms-transition: width 100ms;
	transition: width 100ms;
}

/* Results container */
input[type="search"] + ul.searchResults, ul.searchResults.in_toolbar {
	display: none;

	position: absolute;
	float: right;
	top: 43px;
	right: 10px;
	
    width: 280px;
    z-index: 108;
	
    margin: 0;
    padding: 0;
	
    list-style: none;
	
	background: #fff;
    border-radius: 3px;
	box-shadow: 0 0 8px 3px rgba(0,0,0,0.54);
}

input[type="search"] + ul.searchResults a, ul.searchResults.in_toolbar a {
	display: block;

	color: #1457a3;
	font-weight: bold;
	text-decoration: none;
}

input[type="search"] + ul.searchResults li, ul.searchResults.in_toolbar li {
	padding: 10px 15px;
	border-bottom: 1px solid #e1e1e1;
}

input[type="search"] + ul.searchResults li.hover,  ul.searchResults.in_toolbar li.hover {
	margin: -1px;
	margin-bottom: 0;
	
	background: url('../img/elements/search/list-hover.png') repeat-x #0d63d7;
	border: 1px solid #2f64ab;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.37);
}

input[type="search"] + ul.searchResults li:first-child.hover, ul.searchResults.in_toolbar li:first-child.hover {
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
}

input[type="search"] + ul.searchResults li:last-child.hover, ul.searchResults.in_toolbar li:last-child.hover {
	margin-bottom: -1px;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
}

input[type="search"] + ul.searchResults li:last-child, ul.searchResults.in_toolbar li:last-child {
	border-bottom-color: transparent;
}

input[type="search"] + ul.searchResults li:after, ul.searchResults.in_toolbar:after {
	clear: both;
	content: " ";
	display: block;
	font-size: 0;
	height: 0;
	line-height: 0;
	visibility: hidden;
	width: 0;
}

input[type="search"] + ul.searchResults:before, ul.searchResults.in_toolbar:before {
	display: block;
	position: absolute;
	
	top: -7px;
	right: 30px;
	
	height: 8px;
	width: 11px;
	
	background: url('../img/elements/search/arrow.png');
	
	content: ' ';
}

input[type="search"] + ul.searchResults img, ul.searchResults.in_toolbar img {
	float: left;
	display: block;
	margin-right: 10px;
}

input[type="search"] + ul.searchResults small, ul.searchResults.in_toolbar small {
	display: block;
}

input[type="search"] + ul.searchResults strong, ul.searchResults.in_toolbar strong {
	display: block;
	margin-bottom: 3px;
}

input[type="search"] + ul.searchResults a.showMore, input[type="search"] + ul.searchResults a.noResults, ul.searchResults.in_toolbar a.showMore, ul.searchResults.in_toolbar a.noResults {
	text-align: center;
}

input[type="search"] + ul.searchResults a.noResults, ul.searchResults.in_toolbar a.noResults {
	cursor: default;
}


/* ********************************************* */
/* Buttons */

a.button, .ui-button {
	text-decoration: none;
	display: inline-block;
}

button, input[type=button], input[type=submit], input[type=reset], a.button, .ui-button.ui-state-default:not(.ui-spinner-button), .ui-button.ui-state-hover:not(.ui-spinner-button), .ui-button.ui-state-active:not(.ui-spinner-button) {
	padding: 5px 10px;
	border-radius: 3px;
	
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	
	outline: none;
}

button:hover, input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover, a.button:hover, .ui-button.ui-state-hover:not(.ui-spinner-button),
button:hover:active, input[type=button]:hover:active, input[type=submit]:hover:active, input[type=reset]:hover:active, a.button:hover:active, .ui-button.ui-state-active:not(.ui-spinner-button):hover {
	cursor: pointer;
}

.ui-button .ui-button-text {
	padding: 0;
	line-height: 1.3;
}

.ui-button .ui-button-text {
	display: inline;
}

.button.block, input[type=button].block, input[type=reset].block, button.block {
	display: inline-block;
	margin: 5px;
}

button.small, input[type=button].small, input[type=submit].small, input[type=reset].small, a.button.small, .ui-button.ui-state-default:not(.ui-spinner-button).small, .ui-button.ui-state-hover:not(.ui-spinner-button).small, .ui-button.ui-state-active:not(.ui-spinner-button).small {
	padding: 2px 6px;
}

/* Button icons */
button span:not(.ui-button-text), a.button span:not(.ui-button-text), .ui-button .ui-icon {
	display: inline-block;
	float: left;
	position: relative;
	
	left: -5px;
	
	margin-right: 5px;

	height: 16px;
	width: 16px;
	
	content: ' ';
}

.ui-button .ui-icon {
	margin-top: 0;
	margin-right: 0;
	top: 0;
}

.ui-button .ui-button-icon-secondary {
	float: right;
	position: relative;
	
	right: -5px;
	
	margin-right: -10px;
	margin-left: 8px;
}

.ui-button .ui-icon:after {
	display: none;
}

/* Divider */
button span:not(.ui-button-text):after, a.button span:not(.ui-button-text):after {
	display: block;
	position: absolute;
	
	right: -5px;
	top: -5px;
	
	height: 26px;
	width: 2px;
	
	background: url('../img/elements/buttons/divider.png');
	
	content: ' ';
}

button span:not(.ui-button-text):before, a.button span:not(.ui-button-text):before {
	font-size: 13px;
	padding-top: 2px;
}

.webkit button span:not(.ui-button-text):before, .webkit a.button span:not(.ui-button-text):before {
	padding-top: 3px;
}

/* Blue button */
button, input[type=button], input[type=submit], a.button, .ui-button.ui-state-default:not(.ui-spinner-button) {
	border: 1px solid #17549b;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);

	background: #5b9fea; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzViOWZlYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwYzYyZDciIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #5b9fea 0%, #0c62d7 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5b9fea), color-stop(100%,#0c62d7)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #5b9fea 0%,#0c62d7 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #5b9fea 0%,#0c62d7 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #5b9fea 0%,#0c62d7 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #5b9fea 0%,#0c62d7 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5b9fea', endColorstr='#0c62d7',GradientType=0 ); /* IE6-8 */
}

/* Blue button:hover */
button:hover, input[type=button]:hover, input[type=submit]:hover, a.button:hover, .ui-button.ui-state-hover:not(.ui-spinner-button) {
	background: #94c7ff; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzk0YzdmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMzNjdiZDkiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #94c7ff 0%, #367bd9 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#94c7ff), color-stop(100%,#367bd9)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #94c7ff 0%,#367bd9 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #94c7ff 0%,#367bd9 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #94c7ff 0%,#367bd9 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #94c7ff 0%,#367bd9 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#94c7ff', endColorstr='#367bd9',GradientType=0 ); /* IE6-8 */
}

/* Blue button:clicked */
button:hover:active, input[type=button]:hover:active, input[type=submit]:hover:active, a.button:hover:active, .ui-button.ui-state-hover.ui-state-active:not(.ui-spinner-button) {
	box-shadow: inset 0 1px 2px rgba(0,0,0,0.63);

	background: #2c7eee; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzJjN2VlZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwZTY0ZDgiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #2c7eee 0%, #0e64d8 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2c7eee), color-stop(100%,#0e64d8)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #2c7eee 0%,#0e64d8 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #2c7eee 0%,#0e64d8 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #2c7eee 0%,#0e64d8 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #2c7eee 0%,#0e64d8 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2c7eee', endColorstr='#0e64d8',GradientType=0 ); /* IE6-8 */
}

/* Blue flat button */
button.flat, input[type=button].flat, input[type=submit].flat, a.button.flat {
	border: 1px solid #225ca8;
	box-shadow: none;
	
	background: #5a98e3; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzVhOThlMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMzZjdhYzYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #5a98e3 0%, #3f7ac6 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5a98e3), color-stop(100%,#3f7ac6)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #5a98e3 0%,#3f7ac6 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #5a98e3 0%,#3f7ac6 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #5a98e3 0%,#3f7ac6 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #5a98e3 0%,#3f7ac6 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5a98e3', endColorstr='#3f7ac6',GradientType=0 ); /* IE6-8 */

	color: #fff;
	text-shadow: 0 1px #000;
}

button.flat:hover, input[type=button].flat:hover, input[type=submit].flat:hover, a.button.flat:hover {
	background: #75b3fd; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzc1YjNmZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM0MzgzZDYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #75b3fd 0%, #4383d6 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#75b3fd), color-stop(100%,#4383d6)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #75b3fd 0%,#4383d6 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #75b3fd 0%,#4383d6 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #75b3fd 0%,#4383d6 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #75b3fd 0%,#4383d6 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#75b3fd', endColorstr='#4383d6',GradientType=0 ); /* IE6-8 */
}

button.flat:hover:active, input[type=button].flat:hover:active, input[type=submit].flat:hover:active, a.button.flat:hover:active {
	box-shadow: inset 0 2px 3px rgba(0,0,0,0.45);
}

/* Blue button:disabled + Flat:disabled */
button:disabled, input[type=button]:disabled, input[type=submit]:disabled, a.button.disabled:not(.ui-spinner-button),
button.flat:disabled, input[type=button].flat:disabled, input[type=submit].flat:disabled, a.button.flat.disabled:not(.ui-spinner-button),
button:disabled:active, input[type=button]:disabled:active, input[type=submit]:disabled:active, a.button.disabled:active:not(.ui-spinner-button),
button.flat:disabled:active, input[type=button].flat:disabled:active, input[type=submit].flat:disabled:active, a.button.flat.disabled:active:not(.ui-spinner-button) {
	cursor: default;

	border: 1px solid #a2afbe;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);

	background: #d4d9df; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Q0ZDlkZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkNWRkZTkiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #d4d9df 0%, #d5dde9 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d4d9df), color-stop(100%,#d5dde9)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #d4d9df 0%,#d5dde9 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #d4d9df 0%,#d5dde9 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #d4d9df 0%,#d5dde9 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #d4d9df 0%,#d5dde9 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d4d9df', endColorstr='#d5dde9',GradientType=0 ); /* IE6-8 */
	
	color: #96a3b4;
	text-shadow: 0 1px 0 #fff;
}


/* Red button */
button.red, input[type=reset], input[type=button].red, a.button.red {
	border: 1px solid #832727;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
	
	background: #ef6161; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VmNjE2MSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjYjJmMmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #ef6161 0%, #cb2f2f 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ef6161), color-stop(100%,#cb2f2f)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ef6161 0%,#cb2f2f 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ef6161 0%,#cb2f2f 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ef6161 0%,#cb2f2f 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #ef6161 0%,#cb2f2f 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ef6161', endColorstr='#cb2f2f',GradientType=0 ); /* IE6-8 */
}

/* Red button:hover */
button.red:hover, input[type=reset]:hover, input[type=button].red:hover, a.button.red:hover {
	background: #f68d8d; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y2OGQ4ZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlMDUyNTIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #f68d8d 0%, #e05252 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f68d8d), color-stop(100%,#e05252)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #f68d8d 0%,#e05252 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #f68d8d 0%,#e05252 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #f68d8d 0%,#e05252 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #f68d8d 0%,#e05252 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f68d8d', endColorstr='#e05252',GradientType=0 ); /* IE6-8 */
}

/* Red button:clicked */
button.red:hover:active, input[type=reset]:hover:active, input[type=button].red:hover:active, a.button.red:hover:active {
	box-shadow: inset 0 1px 2px rgba(0,0,0,0.63);
	
	background: #ef6161; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VmNjE2MSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjYjJmMmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #ef6161 0%, #cb2f2f 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ef6161), color-stop(100%,#cb2f2f)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ef6161 0%,#cb2f2f 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ef6161 0%,#cb2f2f 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ef6161 0%,#cb2f2f 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #ef6161 0%,#cb2f2f 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ef6161', endColorstr='#cb2f2f',GradientType=0 ); /* IE6-8 */
}

/* Red flat buttons */
button.red.flat, input[type=button].red.flat, input[type=submit].red.flat, a.button.red.flat {
	border: 1px solid #5c2828;
	
	background: #d17070; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2QxNzA3MCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM5NTNkM2QiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #d17070 0%, #953d3d 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d17070), color-stop(100%,#953d3d)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #d17070 0%,#953d3d 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #d17070 0%,#953d3d 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #d17070 0%,#953d3d 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #d17070 0%,#953d3d 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d17070', endColorstr='#953d3d',GradientType=0 ); /* IE6-8 */
}

button.red.flat:hover, input[type=button].red.flat:hover, input[type=submit].red.flat:hover, a.button.red.flat:hover {
	background: #ec7f7f; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VjN2Y3ZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNhMTQ1NDUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #ec7f7f 0%, #a14545 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ec7f7f), color-stop(100%,#a14545)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ec7f7f 0%,#a14545 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ec7f7f 0%,#a14545 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ec7f7f 0%,#a14545 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #ec7f7f 0%,#a14545 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ec7f7f', endColorstr='#a14545',GradientType=0 ); /* IE6-8 */
}

button.red.flat:hover:active, input[type=button].red.flat:hover:active, input[type=submit].red.flat:hover:active, a.button.red.flat:hover:active {
	box-shadow: inset 0 2px 3px rgba(0,0,0,0.45);
}

/* Red button:disabled + Red Flat:disabled */
button.red:disabled, input[type=reset]:disabled, input[type=button].red:disabled, a.button.red.disabled,
button.flat.red:disabled, input[type=reset].flat:disabled, input[type=button].flat.red:disabled, a.button.flat.red.disabled,
button.red:disabled:active, input[type=reset]:disabled:active, input[type=button].red:disabled:active, a.button.red.disabled:active,
button.flat.red:disabled:active, input[type=reset].flat:disabled:active, input[type=button].flat.red:disabled:active, a.button.flat.red.disabled:active {
	cursor: default;

	border: 1px solid #c3abab;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
	
	background: #e0c9c9; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2UwYzljOSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijk5JSIgc3RvcC1jb2xvcj0iI2UzY2NjYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlM2NjY2MiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #e0c9c9 0%, #e3cccc 99%, #e3cccc 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e0c9c9), color-stop(99%,#e3cccc), color-stop(100%,#e3cccc)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #e0c9c9 0%,#e3cccc 99%,#e3cccc 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #e0c9c9 0%,#e3cccc 99%,#e3cccc 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #e0c9c9 0%,#e3cccc 99%,#e3cccc 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #e0c9c9 0%,#e3cccc 99%,#e3cccc 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e0c9c9', endColorstr='#e3cccc',GradientType=0 ); /* IE6-8 */

	color: #927878;
	text-shadow: 0 1px 0 #fff;
}

/* Grey button */
button.grey, input[type=button].grey, input[type=submit].grey, input[type=reset].grey, a.button.grey {
	border: 1px solid #b0b0b0;
	
	background: #f8f8f8; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y4ZjhmOCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlOGU4ZTgiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #f8f8f8 0%, #e8e8e8 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#e8e8e8)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #f8f8f8 0%,#e8e8e8 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #f8f8f8 0%,#e8e8e8 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #f8f8f8 0%,#e8e8e8 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #f8f8f8 0%,#e8e8e8 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8f8f8', endColorstr='#e8e8e8',GradientType=0 ); /* IE6-8 */

	color: #3a3a3a;
	text-shadow: 0 1px 0 rgba(255,255,255,1);
}

/* Grey button:hover */
button.grey:hover, input[type=button].grey:hover, input[type=submit].grey:hover, input[type=reset].grey:hover, a.button.grey:hover {
	background: #ffffff; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmYWZhZmEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #ffffff 0%, #fafafa 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#fafafa)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ffffff 0%,#fafafa 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ffffff 0%,#fafafa 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ffffff 0%,#fafafa 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #ffffff 0%,#fafafa 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#fafafa',GradientType=0 ); /* IE6-8 */
}

/* Grey button:clicked */
button.grey:hover:active, input[type=button].grey:hover:active, input[type=submit].grey:hover:active, input[type=reset].grey:hover:active, a.button.grey:hover:active {
	box-shadow: inset 0 1px 2px rgba(0,0,0,0.63);
	
	background: #f8f8f8; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y4ZjhmOCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlOGU4ZTgiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #f8f8f8 0%, #e8e8e8 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#e8e8e8)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #f8f8f8 0%,#e8e8e8 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #f8f8f8 0%,#e8e8e8 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #f8f8f8 0%,#e8e8e8 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #f8f8f8 0%,#e8e8e8 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8f8f8', endColorstr='#e8e8e8',GradientType=0 ); /* IE6-8 */
}

/* Grey flat buttons */
button.grey.flat, input[type=button].grey.flat, input[type=submit].grey.flat, input[type=reset].grey.flat, a.button.grey.flat {
	border: 1px solid #979dad;
	
	background: #d5d9e2; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Q1ZDllMiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNiYWMxZDEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #d5d9e2 0%, #bac1d1 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d5d9e2), color-stop(100%,#bac1d1)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #d5d9e2 0%,#bac1d1 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #d5d9e2 0%,#bac1d1 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #d5d9e2 0%,#bac1d1 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #d5d9e2 0%,#bac1d1 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d5d9e2', endColorstr='#bac1d1',GradientType=0 ); /* IE6-8 */

	color: #2c4b67;
	text-shadow: 0 1px 0 #fff;
}

button.grey.flat:hover, input[type=button].grey.flat:hover, input[type=submit].grey.flat:hover, input[type=reset].grey.flat:hover, a.button.grey.flat:hover {
	background: #e6ebf8; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2U2ZWJmOCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjMGM4ZGIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #e6ebf8 0%, #c0c8db 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e6ebf8), color-stop(100%,#c0c8db)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #e6ebf8 0%,#c0c8db 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #e6ebf8 0%,#c0c8db 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #e6ebf8 0%,#c0c8db 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #e6ebf8 0%,#c0c8db 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e6ebf8', endColorstr='#c0c8db',GradientType=0 ); /* IE6-8 */
}

button.grey.flat:hover:active, input[type=button].grey.flat:hover:active, input[type=submit].grey.flat:hover, input[type=reset].grey.flat:hover, a.button.grey.flat:hover:active {
	box-shadow: inset 0 2px 3px rgba(0,0,0,0.45);
}

/* Grey button:disabled */
button.grey:disabled, input[type=button].grey:disabled, input[type=submit].grey:disabled, input[type=reset].grey:disabled, a.button.grey.disabled,
button.flat.grey:disabled, input[type=button].flat.grey:disabled, input[type=submit].flat.grey:disabled, input[type=reset].flat.grey:disabled, a.button.flat.grey.disabled,
button.grey:disabled:active, input[type=button].grey:disabled:active, input[type=submit].grey:disabled:active, input[type=reset].grey:disabled:active, a.button.grey.disabled:active,
button.flat.grey:disabled:active, input[type=button].flat.grey:disabled:active, input[type=submit].flat.grey:disabled:active, input[type=reset].flat.grey:disabled:active, a.button.flat.grey.disabled:active {
	cursor: default;

	border: 1px solid #b0b0b0;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);

	background: #d5d5d5; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Q1ZDVkNSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkYWRhZGEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #d5d5d5 0%, #dadada 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d5d5d5), color-stop(100%,#dadada)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #d5d5d5 0%,#dadada 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #d5d5d5 0%,#dadada 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #d5d5d5 0%,#dadada 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #d5d5d5 0%,#dadada 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d5d5d5', endColorstr='#dadada',GradientType=0 ); /* IE6-8 */
	
	color: #838383;
	text-shadow: 0 1px 0 #fff;
}


/* ********************************************* */
/* jQuery UI styling */

#content > .placeholder {
    display: block;
    float: left;
	
	margin: 0 0.5%;
	
	border-radius: 2px;
    background-color: #dddddd;
    border: 1px dashed #aaaaaa;
	box-shadow: inset 0 3px 15px rgba(0,0,0,0.3);
}

#content .ui-sortable-helper {
	display: none;
}

/* Dialog */

.ui-dialog {
	padding: 0;
	
	border: 1px solid #707070;
	border-radius: 2px;
	box-shadow: 0 0 32px rgba(0,0,0,0.8);
	background: none;
}

.ui-dialog .ui-dialog-titlebar {
	padding: 12px;
	
	border-radius: 2px 2px 0 0;
	border: none;
	
	background: url('../img/jquery-ui/dialog-titlebar.png') repeat-x #b3bfcb;
	border-bottom: 1px solid #97a6b5;
	
	text-align: center;
}

.ui-dialog .ui-dialog-title {
	float: none;
	margin: 0;
}

.ui-dialog .ui-dialog-titlebar-close {
	text-decoration: none;
	font-weight: bold;
	
	color: #1c456f;
}

.ui-dialog .ui-dialog-titlebar-close.ui-state-hover {
	border: 1px solid #5f0808;
	background: url('../img/jquery-ui/dialog-titlebar-close-hover.png') repeat-x #6b1717;
	box-shadow: inset 0 1px rgba(255,255,255,0.28);
}

.ui-dialog .ui-dialog-titlebar-close span {
	background: none;
}

.ui-dialog .ui-dialog-titlebar-close span:before {
	content: 'x';
	display: block;
	
	text-indent: 0;
}

.ui-dialog .ui-dialog-content {
	padding: 10px 25px;
	background: #f9f9f9;
	
	overflow: visible;
	
	color: #545454;
}

.ui-dialog .header.button {
	position: absolute;
	top: -34px;
}

.ui-dialog .header.button.right {
	right: 5px;
}

.ui-dialog .header.button.left {
	left: 5px;
}

.ui-dialog .ui-dialog-content {
	border-radius: 0 0 2px 2px;
}

.ui-dialog .actions:before, .ui-dialog .actions:after {
	display: table;
	content: '';
}

.ui-dialog .actions:after {
	clear: both;
}

.ui-dialog .actions {
	width: 100%;
	position: relative;
	left: -25px;
	bottom: -10px;
	
	padding: 10px 25px;
	
	overflow: hidden;
	
	background: #f0f0f0;
	border-top: 1px solid #d7d7d7;
	border-radius: 0 0 2px 2px;
}

.ui-dialog .ui-dialog-buttonpane {
	margin: 0;
	
	background: #f0f0f0;
	border-top: 1px solid #d7d7d7;
	border-radius: 0 0 2px 2px;
}

.ui-dialog .actions .left {
	float: left;
}

.ui-dialog .actions .right {
	float: right;
}

.ui-widget-overlay {
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	opacity: 1;
	background: #ffffaa;
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPHJhZGlhbEdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY3g9IjUwJSIgY3k9IjUwJSIgcj0iNzUlIj4KICAgIDxzdG9wIG9mZnNldD0iMSUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMC4zIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMC43MyIvPgogIDwvcmFkaWFsR3JhZGllbnQ+CiAgPHJlY3QgeD0iLTUwIiB5PSItNTAiIHdpZHRoPSIxMDEiIGhlaWdodD0iMTAxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
	background: -webkit-radial-gradient(50% 50% , ellipse closest-corner, rgba(0, 0, 0, 0.3) 1%, rgba(0, 0, 0, 0.725) 100%) repeat scroll 0 0 transparent;
	background: -moz-radial-gradient(50% 50% , ellipse closest-corner, rgba(0, 0, 0, 0.3) 1%, rgba(0, 0, 0, 0.725) 100%) repeat scroll 0 0 transparent;
	background: -o-radial-gradient(50% 50% , ellipse closest-corner, rgba(0, 0, 0, 0.3) 1%, rgba(0, 0, 0, 0.725) 100%) repeat scroll 0 0 transparent;
	background: -ms-radial-gradient(50% 50% , ellipse closest-corner, rgba(0, 0, 0, 0.3) 1%, rgba(0, 0, 0, 0.725) 100%) repeat scroll 0 0 transparent;
	background: radial-gradient(50% 50% , ellipse closest-corner, rgba(0, 0, 0, 0.3) 1%, rgba(0, 0, 0, 0.725) 100%) repeat scroll 0 0 transparent;
	
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	
	width: auto !important;
	height: auto !important;
}


/* Progress Bars */

.ui-progressbar {
	height: 17px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.18);
	background: url('../img/jquery-ui/progressbar/bg.png');
	overflow: visible;
}

.ui-progressbar:not(.small) {
	margin: 5px 0;
}

.ui-progressbar.blue {
	border: 1px solid #c5c5c5;
}

.ui-progressbar .ui-progressbar-value {
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.33);
}

/* Blue */
.ui-progressbar.blue .ui-progressbar-value {
	background: url('../img/jquery-ui/progressbar/fill-blue.png');
	border: 1px solid #215494;
}

.ui-progressbar.blue.animated .ui-progressbar-value {
	background: url('../img/jquery-ui/progressbar/fill-blue.gif');
}

/* Orange */
.ui-progressbar.orange .ui-progressbar-value {
	background: url('../img/jquery-ui/progressbar/fill-orange.png');
	border: 1px solid #9c562a;
}

.ui-progressbar.orange.animated .ui-progressbar-value {
	background: url('../img/jquery-ui/progressbar/fill-orange.gif');
}

/* Red */
.ui-progressbar.red .ui-progressbar-value {
	background: url('../img/jquery-ui/progressbar/fill-red.png');
	border: 1px solid #a20b0b;
}

.ui-progressbar.red.animated .ui-progressbar-value {
	background: url('../img/jquery-ui/progressbar/fill-red.gif');
}

/* Grey */
.ui-progressbar.grey .ui-progressbar-value {
	background: url('../img/jquery-ui/progressbar/fill-grey.png');
	border: 1px solid #aaaaaa;
}

.ui-progressbar.grey.animated .ui-progressbar-value {
	background: url('../img/jquery-ui/progressbar/fill-grey.gif');
}

.progress-title, .progress-value {
	text-align: right;
}

.progress-value {
	font-weight: normal;
	margin-bottom: 5px;
}

.progress-value + .ui-progressbar, .progress-value + .progess-title {
	margin-top: 5px;
}

/* Small progress bars */

.ui-progressbar.small {
	height: 10px;
	
	border: none;
	border-radius: 3px;
	
	box-shadow: 0 1px 0 rgba(255,255,255,0.75), inset 0 1px 2px rgba(0,0,0,0.27);
	background: #d0d5d9;
}

.ui-progressbar.small .ui-progressbar-value {
	margin: 0;
	height: 8px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.33);
	border-radius: 3px;
}

.ui-progressbar.small .ui-progressbar-value.blue {
	border: 1px solid #3474bf;
	background: url('../img/jquery-ui/progressbar/fill-blue-small.png') repeat-x #4285d2;
}

.ui-progressbar.small .ui-progressbar-value.orange {
	border: 1px solid #bf6b34;
	background: url('../img/jquery-ui/progressbar/fill-orange-small.png') repeat-x #e98213;
}

.ui-progressbar.small .ui-progressbar-value.red {
	border: 1px solid #bf3434;
	background: url('../img/jquery-ui/progressbar/fill-red-small.png') repeat-x #c52727;
}

/* Accordion */

.box .content .ui-accordion {
    margin: 0 -10px;
    width: auto;
}

.ui-accordion .ui-corner-all, .ui-accordion .ui-corner-top, .ui-accordion .ui-corner-right, .ui-accordion .ui-corner-left, .ui-accordion .ui-corner-bottom, .ui-accordion .ui-corner-tr, .ui-accordion .ui-corner-tl, .ui-accordion .ui-corner-br, .ui-accordion .ui-corner-bl {
	border-radius: 0;
}

.ui-accordion .ui-accordion-header {
	margin-top: 0;
	
	border: none;
	border-bottom: 1px solid #c0c0c0;
	
	background: url('../img/jquery-ui/accordion-header.png');
}

.ui-accordion .ui-accordion-header:nth-last-child(2) {
	border-bottom: 0;
}

.ui-accordion .ui-accordion-header.ui-state-active {
	background: url('../img/jquery-ui/accordion-header-active.png');
}

.ui-accordion .ui-accordion-header.ui-state-hover {
	background: url('../img/jquery-ui/accordion-header-hover.png');
}

.ui-accordion .ui-accordion-header.ui-state-hover .ui-icon {
	background-image: url('../img/external/jquery-ui/ui-icons_888888_256x240.png');
}


.ui-accordion .ui-accordion-content {
	margin-bottom: 0;
	border: 1px solid #c0c0c0;
	border-left: 0;
	border-right: 0;
	
	top: 0;
}

.ui-accordion .ui-accordion-content:last-child {
	border-bottom: 0;
}

.ui-accordion.border {
	border: 1px solid #c0c0c0;
}

/* Datepicker */

.ui-datepicker {
	position: relative;

	padding: 0;
	margin-top: 12px;
	
	box-shadow: 0 0 9px rgba(0,0,0,0.63);
}

.ui-datepicker.ui-widget-content {
	background: #fff;
	border-radius: 0 0 3px 3px;
}

.ui-datepicker-inline {
	box-shadow: none;
}

.ui-datepicker.ui-widget-content {
	border: none;
}


.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
	cursor: pointer;
}

.ui-datepicker .ui-datepicker-prev {	
	height: 1.7em;
	margin: 0.3em 0;
	
	left: 5px;
	
	background: url('../img/jquery-ui/datepicker/arrow-left.png') no-repeat 50% 50%;
}

.ui-datepicker .ui-datepicker-prev-hover {
	left: 4px;

	border-color: #0f1c2e;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.19);
}

.ui-datepicker .ui-datepicker-prev-hover:active {
	background:  url('../img/jquery-ui/datepicker/arrow-left.png') no-repeat 50% 50% #283343;
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.32);
}

.ui-datepicker .ui-datepicker-prev .ui-icon {
	display: none;
}


.ui-datepicker .ui-datepicker-next {	
	height: 1.7em;
	margin: 0.3em 0;
	
	right: 5px;
	
	background: url('../img/jquery-ui/datepicker/arrow-right.png') no-repeat 50% 50%;
}

.ui-datepicker .ui-datepicker-next-hover {
	right: 4px;

	border-color: #0f1c2e;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.19);
}

.ui-datepicker .ui-datepicker-next-hover:active {
	background:  url('../img/jquery-ui/datepicker/arrow-right.png') no-repeat 50% 50% #283343;
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.32);
}

.ui-datepicker .ui-datepicker-next .ui-icon {
	display: none;
}


.ui-datepicker .ui-datepicker-title {
	line-height: 2.3em;
}

.ui-datepicker .ui-widget-header {
	background: url('../img/jquery-ui/datepicker/header-bg.png') repeat-x #202c3b;
	border: 1px solid #2c3f5b;
	border-radius: 3px 3px 0 0;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.23);
}

.ui-datepicker:before {
	display: block;
	position: absolute;
	
	height: 11px;
	width: 18px;

	top: -11px;
	right: 50%;
	margin-right: -9px;
	
	content: ' ';
	background: url('../img/jquery-ui/datepicker/top-arrow.png');
}

.ui-datepicker-inline:before {
	display: none;
}

.ui-datepicker thead tr {
	border: 1px solid #919eb0;
	border-top: none;
	background: url('../img/jquery-ui/datepicker/days-of-week-bg.png') repeat-x #cbd3df;
}

.ui-datepicker th {
	padding: 0.3em;
}


.ui-datepicker tbody tr {
	border: 1px solid #919eb0;
	border-top: none;
	border-bottom: none;
}

.ui-datepicker td span, .ui-datepicker td a {
	width: 20px;
	margin: 0 auto;
	
	text-align: center;
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

.ui-datepicker td .ui-state-default {
	background: none;
	border-color: transparent;
	border-radius: 2px;
}

.ui-datepicker td .ui-state-hover {
	border: 1px solid #919ca7;
	background: url('../img/jquery-ui/datepicker/day-hover.png') repeat-x #d9e3ec;
}

.ui-datepicker td .ui-state-active {
	border: 1px solid #152235;
	background: url('../img/jquery-ui/datepicker/day-current.png') repeat-x #222e3d;
}

.ui-datepicker table, .ui-datepicker .ui-datepicker-buttonpane {
	margin: 0;
}

.ui-datepicker table tbody tr:last-child td {
	padding-bottom: 4px;
}


.ui-datepicker .ui-datepicker-buttonpane {
	padding: 0;

	background: transparent;
	border: 1px solid #2c3f5b;
	border-radius: 0 0 3px 3px;
}

.ui-datepicker .ui-datepicker-buttonpane:after {
    clear: both;
}

.ui-datepicker .ui-datepicker-buttonpane:before, .ui-datepicker .ui-datepicker-buttonpane:after {
    content: "";
    display: table;
}

.ui-datepicker .ui-datepicker-buttonpane:before, .ui-datepicker .ui-datepicker-buttonpane:after {
    content: "";
    display: table;
}

.ui-datepicker .ui-datepicker-buttonpane button {
	position: relative;

	width: 50%;
	
	margin: 0;
	padding: 0.5em 0;
	
	background: url('../img/jquery-ui/datepicker/button-bg.png') repeat-x #212d3c;
	box-shadow: none;
	border: none;
	border-radius: 0;
	
	opacity: 1;
}

.ui-datepicker .ui-datepicker-buttonpane button:after {
	display: block;
	position: absolute;
	
	top: 0;
	bottom: 0;
	right: -1px;
	width: 2px;
	
	content: '';
	background: url('../img/jquery-ui/datepicker/button-seperator.png');
}

.ui-datepicker .ui-datepicker-buttonpane button:hover {
	background: url('../img/jquery-ui/datepicker/button-hover-bg.png') repeat-x #263241;
}

.ui-datepicker .ui-datepicker-buttonpane button:hover:active {
	background: #263241;
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.75);
}

.ui-datepicker .ui-datepicker-buttonpane button:first-child {
	border-bottom-left-radius: 3px;
}

.ui-datepicker .ui-datepicker-buttonpane button:last-child {
	border-bottom-right-radius: 3px;
}

.ui-datepicker .ui-datepicker-buttonpane button:first-child:last-child {
	width: 100%;
}

/* DateTimePicker */

.ui-timepicker-div dl {
	padding: 12px;
	margin: 0;

	border: 1px solid #919eb0;
	border-top: 1px solid #bcc6d5;
	border-bottom: none;
	
	background: url('../img/jquery-ui/datepicker/time-bg.png') repeat-x #dee3e9;
	
	text-align: left;
}

.ui-timepicker-div dl dt {
	height: 25px;
	margin-bottom: -25px;
}

.ui-timepicker-div dl dd {
	margin: 0 10px 10px 65px;
}

.ui-timepicker-div td {
	font-size: 90%;
}

.ui-tpicker-grid-label {
	background: none;
	border: none;
	margin: 0;
	padding: 0;
}

/* Slider */

.ui-slider {
	margin: 5px;

	border: 1px solid #bababa;
}

.ui-slider-horizontal {
	height: 6px;
	background: url('../img/jquery-ui/slider/bg.png') repeat-x;
}

.ui-slider-vertical {
	width: 6px;
	background: url('../img/jquery-ui/slider/vertical-bg.png') repeat-y;
}

.eq + .ui-slider-vertical {
	float: left;
	margin-right: 15px;
	margin-bottom: 15px;
}

.ui-slider .ui-slider-range {
	top: -1px;
	
	background: url('../img/jquery-ui/slider/bg-range.png') repeat-x;
	border: 1px solid #5081c1;
}

.ui-slider-vertical .ui-slider-range {
	left: -1px;
	
	background: url('../img/jquery-ui/slider/vertical-bg-range.png') repeat-y;
}

.ui-slider .ui-slider-range-min {
	top: -1px;
	left: -1px;
	
	border-radius: 3px 0 0 3px;
}

.ui-slider .ui-slider-range-max {
	top: -1px;
	right: -1px;
	
	border-radius: 0 3px 3px 0;
}

.ui-slider-vertical .ui-slider-range-min {
	top: auto;
	bottom: -1px;
	left: -1px;
		
	border-radius: 0 0 3px 3px;
}

.ui-slider-vertical .ui-slider-range-max {
	top: auto;
	bottom: -1px;
	left: -1px;

	border-radius: 3px 3px 0 0;
}

.ui-slider .ui-slider-handle {
	background: url('../img/jquery-ui/slider/picker.png');
	border: 0;
	
	height: 16px;
	width: 17px;
	
	cursor: pointer;
	
	top: -5px;
	margin-left: -8px;
}

.ui-slider-vertical .ui-slider-handle {
	background: url('../img/jquery-ui/slider/vertical-picker.png');	
	height: 17px;
	width: 16px;
	
	top: auto;
	bottom: -6px;
	margin-left: -1px;
}


.ui-slider.ui-disabled {
	cursor: default;
	border: 1px solid #d5d5d5;
}

.ui-slider-horizontal.ui-disabled {
	background: url('../img/jquery-ui/slider/disabled-bg.png') repeat-x;
}

.ui-slider-vertical.ui-disabled {
	background: url('../img/jquery-ui/slider/disabled-vertical-bg.png') repeat-y;
}

.ui-slider.ui-disabled .ui-slider-range {
	background: url('../img/jquery-ui/slider/disabled-bg-range.png') repeat-x;
	border: 1px solid #bababa;
}

.ui-slider-vertical.ui-disabled .ui-slider-range {
	background: url('../img/jquery-ui/slider/disabled-vertical-bg-range.png') repeat-y;
}

.ui-slider.ui-disabled .ui-slider-handle {
	cursor: default;
	background: url('../img/jquery-ui/slider/disabled-picker.png');
}

.ui-slider-vertical.ui-disabled .ui-slider-handle {
	cursor: default;
	background: url('../img/jquery-ui/slider/disabled-vertical-picker.png');	
}

.slider-tooltip {
	position: absolute;

	padding: 2px 8px;
	z-index: 8000;
	
	left: 18px;
	top: -20px;
	
	background: url('../img/elements/charts/hover-bg.png') repeat-x #e9edf0;
	border: 1px solid #aeaeae;
	border-radius: 3px;
	
	white-space: nowrap;
}

/* Spinner */

.ui-spinner {
    position: relative;
    display: inline-block;
    overflow: hidden;
    vertical-align: middle;
    height: 27px;
}

.ui-spinner-input {
    float: left;

    padding: 5px;
    margin: 0;

	width: 100%;
	height: 100%;

    border: none;
    background: none;

    vertical-align: middle;
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

.ui-spinner  {
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.22);
	border-radius: 3px;
	border: 1px solid #a0a0a0;
	
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition: all 0.1s ease-in-out;
	-o-transition: all 0.1s ease-in-out;
	-ms-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
}

.ui-spinner.ui-state-active {
	border: 1px solid #5695db;
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.22),
				0 0 7px rgba(86,149,219,0.69);
	
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition: all 0.1s ease-in-out;
	-o-transition: all 0.1s ease-in-out;
	-ms-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
}

.ui-spinner-button {
    width: 17px;
    height: 10px;
    font-size: .5em;
    padding: 0;
    margin: 0;
    z-index: 1;
    text-align: center;
    vertical-align: middle;
    position: absolute;
    cursor: default;
    display: block;
    overflow: hidden;
    right: 0;
	
	cursor: pointer;
	border-radius: 0 !important;
}

.ui-spinner a.ui-spinner-button {
	border: none;
}

.ui-spinner .ui-spinner-button.ui-spinner-up {
	background: url('../img/elements/spinner/arrow-up.png') 50% 50%;
	height: 12px;
	border-top-right-radius: 3px;
}

.ui-spinner .ui-spinner-button.ui-spinner-up.ui-state-hover {
	background: url('../img/elements/spinner/arrow-up-hover.png') 50% 50%;
}

.ui-spinner .ui-spinner-button.ui-spinner-up.ui-state-active {
	background: url('../img/elements/spinner/arrow-up-active.png') 50% 50%;
}

.ui-spinner .ui-spinner-button.ui-spinner-up .ui-button-text {
	display: none;
}

.ui-spinner .ui-spinner-button.ui-spinner-down {
	background: url('../img/elements/spinner/arrow-down.png') 50% 50%;
	height: 13px;
	border-bottom-right-radius: 3px;
}

.ui-spinner .ui-spinner-button.ui-spinner-down.ui-state-hover {
	background: url('../img/elements/spinner/arrow-down-hover.png') 50% 50%;
}

.ui-spinner .ui-spinner-button.ui-spinner-down.ui-state-active {
	background: url('../img/elements/spinner/arrow-down-active.png') 50% 50%;
}

.ui-spinner .ui-spinner-button.ui-spinner-down .ui-button-text {
	display: none;
}

/* more specificity required here to overide default borders */
.ui-spinner .ui-icon {
    position: absolute;
    margin-top: -8px;
    top: 50%;
    left: 0;
}

/* vertical centre icon */
.ui-spinner-up {
    top: 0;
}

.ui-spinner-down {
    bottom: 0;
}

/* TR overrides */
div.ui-spinner,
div.ui-state-default.ui-spinner {
    background: #fff;
}

/* Autocomplete */

.ui-autocomplete-input {
	padding: 5px;
	
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.22);
	border-radius: 3px;
	border: 1px solid #a0a0a0;
	background-position: 0 center;
	
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition: all 0.1s ease-in-out;
	-o-transition: all 0.1s ease-in-out;
	-ms-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
}

.ui-autocomplete-input:focus {
	border: 1px solid #5695db;
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.22),
				0 0 7px rgba(86,149,219,0.69);
	
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition: all 0.1s ease-in-out;
	-o-transition: all 0.1s ease-in-out;
	-ms-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
}

.ui-autocomplete-input.ui-autocomplete-loading {
	background-position: 6px center;
	background-image: url('../img/jquery-ui/loading.gif');
	background-repeat: no-repeat;
	
	padding-left: 25px;
}

.ui-menu.ui-autocomplete.ui-widget-content {
	margin-top: 10px;
	padding: 0;

	border-radius: 3px;
	box-shadow: 0 5px 5px rgba(0,0,0,0.12);
}

.ui-menu.ui-autocomplete.ui-widget-content:before {
	display: block;
	position:absolute;
	
	height: 9px;
	width: 15px;
	
	top: -9px;
	left: 50%;
	margin-left: -7.5px;
	
	background: url('../img/elements/autocomplete/arrow.png');
	
	content: '';
	z-index: -1;
}

.ui-menu .ui-menu-item a {
	padding: 5px;

	background: url('../img/elements/autocomplete/el-bg.png') repeat-x #f4f5f5;
	border-bottom: 1px solid #b4b4b4;
	border-radius: 0;
	
	cursor: pointer;
}

.ui-menu .ui-menu-item:first-child a {
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
}

.ui-menu .ui-menu-item:last-child a {
	border-bottom: 0;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
}

.ui-menu .ui-menu-item a.ui-state-hover {
	background: url('../img/elements/autocomplete/el-bg-hover.png') repeat-x #0e64d8;
	border: 1px solid #196288;
	margin: -1px;
	margin-bottom: 0;
}


/* ********************************************* */
/* Lock screen */

#lock-screen {
	display: none; /* Hide initially */
}

#lock-screen .actions {
	height: 50px;
	width: auto;
	
	left: 0;
	
	padding: 0;
	margin: 0 -25px;
}

#slide_to_unlock {
	position: absolute;
	height: 34px;
	bottom: 5px;
	left: 68px;
	right: 68px;
	
	padding: 2px 1px;
	padding-right: 2px;
	
	border: 1px solid #a3acb7;
	border-top-color: #8F8F8F;
	border-radius: 6px;

	box-shadow: 0 1px 0px #CFCFCF inset;
	
	background: #f0f0f0; /* Old browsers */
	background: -moz-linear-gradient(top,  #f0f0f0 0%, #ffffff 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f0f0f0), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #f0f0f0 0%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #f0f0f0 0%,#ffffff 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #f0f0f0 0%,#ffffff 100%); /* IE10+ */
	background: linear-gradient(top,  #f0f0f0 0%,#ffffff 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f0f0f0', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
	
	cursor: default;
	
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
}

#slide_to_unlock img {
	z-index: 101;
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
}

#slide_to_unlock span {
	position: relative;
	right: -35px;
	top: 3px;
	
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	cursor: default;
}

#lock-screen form {
	display: none;
	padding: 12px 25px;
}

#lock-screen form input[type=password] {
	width: 190px;
}


/* ********************************************* */
/* Settings dialog */

.ui-dialog .settings-header {
	position: relative;

	background: url('../img/elements/settings/header-bg.png') repeat-x #b2beca;
	border-bottom: 1px solid #97a6b5;
	text-align: left;
	
	padding: 0;
	
	z-index: 1005;
}

.ui-dialog .settings-header .tabs {
	margin: 0;
	padding: 0;
	
	position:relative;
	overflow: hidden;
}

.ui-dialog .settings-header .tabs.disabled:after {
	display: block;
	position: absolute;
	
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	
	content: '';
	background: rgba(255,255,255,0.64);
}

.ui-dialog .settings-header .tabs li {
	list-style: none;
}

.ui-dialog .settings-header .tabs li a {
	float: left;
	position: relative;
	
	padding: 10px 20px;
	
	text-decoration: none;
}

.ui-dialog .settings-header .tabs li a:hover {
	background: url('../img/elements/settings/header-hover-bg.png') repeat-x #ccd6df;
}

.ui-dialog .settings-header .tabs li.current a {
	background: url('../img/elements/settings/header-current-bg.png') repeat-x #9ca8b3;
}

.ui-dialog .settings-header .tabs:not(.center-elements) li.current:first-child a span:before {
	display: none;
}

.ui-dialog .settings-header .tabs li.current a span:before {
	display: block;
	position: absolute;
	content: '';
	
	left: 0;
	bottom: -4px;
	
	width: 5px;
	height: 73px;
	
	background: url('../img/elements/settings/seperator-current-left.png') no-repeat;
}

.ui-dialog .settings-header .tabs li.current a span:after {
	display: block;
	position: absolute;
	content: '';
	
	right: 1px;
	bottom: -4px;
	
	width: 5px;
	height: 73px;
	
	background: url('../img/elements/settings/seperator-current-right.png') no-repeat;
}

.ui-dialog .settings-header .tabs li a:after {
	display: block;
	position: absolute;
	content: '';
	
	top: 0;
	right: 0;
	
	width: 1px;
	height: 100%;
	
	background: url('../img/elements/settings/seperator.png') repeat-x #98a7b6;
}

.ui-dialog .settings-header .tabs li img {
	display: block;
	margin: 0 auto;
}


#settings {
	position: relative;
	display: none;
	padding: 25px;
	width: 500px;
}

#settings.with-actions {
	padding-bottom: 0;
}

#settings.disabled:after {
	display: block;
	position: absolute;
	content: '';
	
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	
	z-index: 1003;
}

/* Settings Action Bar */
#settings .actions {
	display: block;
	
	padding: 10px 25px;	
	margin: 0 -25px;
	margin-top: 20px;
	
	bottom: 0;
	left: 0;
	right: 0;
	top: 0;
	
	width: auto;
	height: auto;
	
	background: #f0f0f0;
	border-top: 1px solid #d7d7d7;
}

#settings .actions .right {
	float: right;
}

#settings .actions .hide {
	display: none;
}

/* Settings Forms */
#settings form {
	display: table;
}

#settings form p {
	display: table-row;
}

#settings form p label, #settings form p input {
	display: table-cell;
	margin-bottom: 10px;
}

#settings form p label {
	padding-right: 20px;
	text-align: right;
}

#settings form p label.error {
	z-index: 1;
}

#settings form p input.small {
	width: 160px;
}

#settings form p input.medium {
	width: 200px;
}

#settings form p input.large {
	width: 300px;
}

#settings p.divider {
	position: relative;
}

#settings p.divider:after {
	display: block;
	position: absolute;

	height: 1px;
	left: 25px;
	right: 25px;
	
	background: #d0d0d0;
	content: '';
}

#settings p.divider + p > * {
	margin-top: 10px;
}

/* Password dialog */
#settings .change_password {
	display: none;
	position: absolute;
	
	left: 40px;
	right: 40px;
	top: 0;
	
	background: #F9F9F9;
	border: 1px solid #c6c6c6;
	border-top: 0px;
	box-shadow: 0 0 10px rgba(0,0,0,0.75),
				inset 0 4px 4px -4px rgba(0,0,0,0.4);
	
	z-index: 1004;
}

#settings .change_password form {
	padding: 20px;
	width: 100%;
	
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
}

#settings .change_password form p label, #settings .change_password form p input {
	margin: 0;
}

#settings .change_password form p label {
	font-weight: bold;
}

#settings .change_password .actions {
	width: 100%;
	
	margin: 0;

	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
}

#settings .change_password .actions input {
	margin-left: 10px;
}


/* ********************************************* */
/* Profile page */

.profile {
	width: 100% !important;
	margin: 0;
	position: relative;
}

#content > .profile:first-child {
	margin-top: -15px;
}

.profile .header:after, .profile .divider {
	display: block;
	
	width: 98%;
	margin: 0 1%;
	
	border-bottom: 1px solid #e1e3e5;
	
	content: "";
}

.profile .divider {
	margin: 15px 1%;
}

.profile .avatar {
	position: absolute;
	top: 20px;
	left: 20px;
	
	background: #fff;
	border: 1px solid #c1c1c1;
	border-radius: 2px;
}

.profile .avatar img, .profile .avatar a {
	display: block;
	padding: 0 10px;
	width: 44px;
}

.profile .avatar img {
	padding-top: 10px;
	padding-bottom: 3px;
	
	box-shadow: 0 2px 1px rgba(0,0,0,0.08);
}

.profile .avatar a {
	padding-top: 4px;
	padding-bottom: 4px;

	background: url('../img/elements/profile/change-bg.png') repeat-x #e8e8e8;
	border-top: 1px solid #c1c1c1;
	box-shadow: 0 2px 1px rgba(0,0,0,0.08);
	
	text-align: center;
	text-decoration: none;
}

.profile .avatar a:hover {
	background: url('../img/elements/profile/change-hover-bg.png') repeat-x #f3f3f3;
}

.profile .avatar a:hover:active {
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.21);
	background: url('../img/elements/profile/change-active-bg.png') repeat-x #e9e9e9;
}

.profile .title {
	overflow: hidden;
	width: 100%;
	
	padding-left: 107px;

	background: url('../img/elements/profile/title-bg.png') repeat-x #ecf1f4;
	border-bottom: 1px solid #bcc4d2;
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

.profile .title h2, .profile .title h3 {
	float: left;
	padding: 0;
	padding-bottom: 10px;
}

.profile .title h2 {
	padding-top: 30px;
}

.profile .title h3 {
	padding-left: 10px;
	padding-top: 34px;
}

.profile ul.info {
	padding-left: 107px;
}

.profile ul.info li {
	display: inline-block;
	
	margin-left: 10px;
	padding-left: 15px;
	
	border-left: 1px solid #d3d9e3;
}

.profile ul.info li:first-child {
	margin: 0;
	padding: 0;
	border: 0;
}

.profile ul.info li a {
	text-decoration: none;
}

.profile ul.info li strong, .profile ul.info li small {
	display: block;
	text-align: left;
}


.profile .details h2 {
	display: inline-block;
	margin-left: 3px;
}

.profile .details > a {
	display: inline-block;
	float: right;

	margin: 1.25em 0;
	margin-right: 1%;
	
	text-decoration: none;
}

.profile .details > a .icon {
	display: inline-block;
	float: left;
	
	margin: 0 3px;
	
	height: 16px;
	width: 16px;
	font-size: 12px;
	line-height: 21px;
	
	margin: 0 6px;
}

.profile .details > a .icon.right {
	float: right;
}

.profile .details > a .icon:before {
	position: relative;
	top: -2px;
	right: -2px;
}


.profile section {
	border: 1px solid #c9c9c9;
	border-top-color: #adadad;
	border-radius: 3px;
	box-shadow: 0 1px 0 #ededed inset;
	background: #fff;
}

.profile section p {
	padding: 0 15px;
}

.profile table {
	margin: 15px;
}

.profile table tr > td, .profile table tr > th{
	padding-bottom: 5px;
}

.profile table tr:last-child  > td, .profile table tr:last-child  > th {
	padding-bottom: 0;
}

.profile table th {
	text-align: right;
	padding-right: 10px;
	
	font-weight: normal;
}

.profile .logs {
	margin: 0;
	padding: 0;
}

.profile .logs li {
	border-bottom: 1px solid #eff3f6;
	
	list-style: none;
}

.profile .logs li:first-child {
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
}

.profile .logs li:last-child {
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
}

.profile .logs li:hover {
	background: #eff3f6;
}

.profile .logs li:first-child:hover {
	box-shadow: 0 1px 0 #ededed inset;
}

.profile .logs li:last-child {
	border: 0;
}

.profile .logs a {
	display: block;
	
	padding: 10px;
	
	text-decoration: none;
}

.profile .logs small {
	float: right;
	
	padding-right: 10px;
	
	background: url('../img/elements/profile/logs-arrow.png') no-repeat;
	background-position: right center;
}

.profile .right {
	float: right;
}


/* ********************************************* */
/* Alert messages */

.alert {
	position: relative;

	padding: 5px;
	padding-left: 25px;
	margin: 10px 0;
	
	border-radius: 3px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}

#content > .alert {
	margin: 5px 1%;
}

/* Alert: close button */
.alert .close {
	position: absolute;
	right: 8px;
	top: 4px;
	
	padding: 0 5px;
	padding-bottom: 2px;
	
	cursor: pointer;
	
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	
	border: 1px solid transparent;
	border-radius: 3px;
}


.alert .close:hover {
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}

/* Alert: Error */
.alert.error, .alert.error .close:hover {
	border: 1px solid #6f0808;
	
	background: url('../img/elements/alert-boxes/bg-error.png') #892025 repeat-x;;
}

.alert.error .icon {
	display: block;
	position: absolute;
	
	height: 15px;
	width: 14px;
	
	left: 5px;
	
	background: url('../img/elements/alert-boxes/error.png');
	
	content: ' ';
}

/* Alert: Success */
.alert.success, .alert.success .close:hover  {
	border: 1px solid #126f08;
	
	background: url('../img/elements/alert-boxes/bg-success.png') #2d7b23 repeat-x;
}

.alert.success .icon {
	display: block;
	position: absolute;
	
	height: 15px;
	width: 14px;
	
	left: 5px;
	
	background: url('../img/elements/alert-boxes/success.png');
	
	content: ' ';
}

/* Alert: Warning */
.alert.warning, .alert.warning .close:hover  {
	border: 1px solid #966701;

	background: url('../img/elements/alert-boxes/bg-warning.png') #e09a01 repeat-x;
}

.alert.warning .icon {
	display: block;
	position: absolute;
	
	height: 15px;
	width: 14px;
	
	left: 5px;
	
	background: url('../img/elements/alert-boxes/warning.png');
	
	content: ' ';
}

/* Alert: Information */
.alert.information, .alert.information .close:hover  {
	border: 1px solid #10447f;

	background: url('../img/elements/alert-boxes/bg-information.png') #2e69af repeat-x;
}

.alert.information .icon {
	display: block;
	position: absolute;
	
	height: 15px;
	width: 14px;
	
	left: 5px;
	
	background: url('../img/elements/alert-boxes/information.png');
	
	content: ' ';
}

/* Alert: Note */
.alert.note, .alert.note .close:hover  {
	border: 1px solid #959595;
	
	background: url('../img/elements/alert-boxes/bg-note.png') #cacaca repeat-x;
}

.alert.note .icon {
	display: block;
	position: absolute;
	
	height: 15px;
	width: 14px;
	
	left: 5px;
	
	background: url('../img/elements/alert-boxes/note.png');
	
	content: ' ';
}

/* Alert: Special stylings */
.alert.no-margin {
	margin: 5px -11px;
	border-radius: 0;
	border-width: 1px 0;
}

.alert.no-margin-top {
	margin-top: 0;
}

.alert.no-margin-bottom {
	margin-bottom: 0;
}

.alert.top {
	border-radius: 0;
	box-shadow: none;
	border-width: 1px 0;
	margin: -1px -11px 0;
}

.alert.bottom {
	border-radius: 0;
	box-shadow: none;
	border-width: 1px 0;
	margin: 0 -11px -1px;
}


/* ********************************************* */
/* Scroll to Top button */

#gotoTop  {
	display:none;
	position:fixed;
	
	height: 33px;
	width: 34px;
	
	background: url('../img/elements/to-top/normal.png');
	
	right:15px;
	bottom:15px;
	
	text-indent: -9999px;
}

#gotoTop:hover {
	background: url('../img/elements/to-top/hover.png');
}

#gotoTop:hover:active {
	background: url('../img/elements/to-top/active.png');
}


/* ********************************************* */
/* Note element */

.box-note {
	position: relative;
	padding: 30px 0;
	margin-bottom: 25px;
	border: 1px solid #dbdcde;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	background: #fff;
}

.box-note:after {
	display: block;
	position: absolute;
	
	width: 99px;
	height: 26px;
	
	top: -13px;
	left: 50%;
	margin-left: -44.5px;
	
	background: url('../img/elements/note/tape.png');
	
	content: ' ';
}

.box-note p {
	margin: 0;
	padding: 1px 35px;
	
	line-height: 21px;
	
	background: url('../img/elements/note/bg.png');
}

.box-note p:before {
	display: block;
	position: absolute;
	
	width: 1px;
	top: 0;
	bottom: 0;
	left: 25px;
	
	background: #f1e9ea;
	
	content: ' ';
}

.box-note p:after {
	display: block;
	position: absolute;
	
	width: 1px;
	top: 0;
	bottom: 0;
	left: 30px;
	
	background: #f1e9ea;
	
	content: ' ';
}

.box-note li {
	list-style: none;
	padding: 3px 40px;
	
	font-size: 12px;
	border-top: 1px solid #e2f1f7;
}

.box-note li:last-child {
	border-bottom: 1px solid #e2f1f7;
}


/* ********************************************* */
/* Wizard */
.wizard .content > * {
	display: none;
}

.wizard .content > *:first-child, .wizard .content > *:nth-child(2) {
	display: block;
}

.wizard .steps {
	margin: 0 -10px;
	padding: 0;
	
	clear: both;
	
	border-bottom: 1px solid #c2c2c2;
	background: url(../img/elements/wizard/bg.png);
}

.wizard .steps:after {
    clear: both;
}

.wizard .steps:before, .wizard .steps:after {
    content: "";
    display: table;
}

.wizard .steps:before, .wizard .steps:after {
    content: "";
    display: table;
}

.wizard .steps li {
	display: inline;
	float: left;
}

.wizard .steps li a {
	display: inline;
	float: left;
	position: relative;
	
	padding: 9.5px 15px;
	padding-left: 30px;
	margin: -1px;
		
	background: url(../img/elements/wizard/bg-normal.png);
	border: 1px solid #9d9d9d;
	border-left: none;
	
	text-decoration: none;
}

.wizard .steps li:first-child a {
	border-left: 1px solid #9d9d9d;
	padding-left: 15px;
}

.wizard .steps li a.current {
	background: url(../img/elements/wizard/bg-current.png);
	border-color: #225289;
}

.wizard .steps li a.error {
	background: url(../img/elements/wizard/bg-error.png);
	border-color: #5f2424;
}

.wizard .steps li a.success {
	background: url(../img/elements/wizard/bg-success.png);
	border-color: #3e6638;
}

.wizard .steps li a:after {
	display: block;
	content: ' ';
	position: absolute;
	
	height: 35px;
	width: 16px;
	
	right: -15px;
	top: -1px;;
	
	background: url(../img/elements/wizard/arrow-normal.png);
	
	z-index: 1;
}

.wizard .steps li a.current:after {
	background: url(../img/elements/wizard/arrow-current.png);
}

.wizard .steps li a.error:after {
	background: url(../img/elements/wizard/arrow-error.png);
}

.wizard .steps li a.success:after {
	background: url(../img/elements/wizard/arrow-success.png);
}

.wizard .actions .finish {
	display: none;
}


/* ********************************************* */
/* Pricing Tables */

.pricing {
	display: inline;
	float: left;
	
	margin: 0 1%;
	margin-bottom: 20px;

	width: 200px;
	
	border-radius: 3px;
	box-shadow: 0 2px 3px rgba(0,0,0,0.22);
	text-align: left;
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

.pricing.featured {
	position:relative;
	
	top: -5px;

	border: 5px solid #374151;
}

.pricing .title {
	padding: 3px;

	background: url('../img/elements/pricing/title-bg.png') repeat-x #202c3b;
	border: 1px solid #121f30;
	border-radius: 3px 3px 0 0;
	
	text-align: center;
}

.pricing.featured .title {
	border-radius: 0;
}

.pricing .price {
	padding: 10px 0;

	background: url('../img/elements/pricing/price-bg.png') repeat-x #e9ecf1;
	border: 1px solid #c8c8c8;
	border-bottom: none;
}

.pricing .price .left {
	float: left;
	width: 50%;
}

.pricing .price .right {
	float: right;
	width: 50%;
	text-align: center;
}

.pricing .price:after {
    clear: both;
}

.pricing .price:before, .pricing .price:after {
    content: "";
    display: table;
}

.pricing .price:before, .pricing .price:after {
    content: "";
    display: table;
}

.pricing .price strong {
	display: block;

	text-align: center;
}

.pricing .price small {
	display: block;

	text-align: center;
}

.pricing .price a.button {
	margin: 0 auto;
}

.pricing.current .price {
	background: url('../img/elements/pricing/price-current-bg.png') repeat-x #f8f8f9;
}

.pricing .info {
	padding: 0;
	margin: 0;
	
	border: 1px solid #c8c8c8;
	border-radius: 0 0 3px 3px;
}

.pricing .info li {
	position: relative;
	list-style: none;
	border-bottom: 1px solid #dfdfdf;
}

.pricing .info li:last-child {
	border-bottom: none;
}

.pricing .info li img {
	position: absolute;
	padding: 10px;
	border-right: 1px solid #dfdfdf;
}

.pricing .info li span {
	display: block;
	width: 100%;
	padding: 10px 10px 10px 36px;
	text-align: center;
	
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
}

.pricing.current .info {
	background: #f6f6f6;
}

.pricing.featured .info {
	border-radius: 0;
}


/* ********************************************* */
/* Messages */

.messages {
	display: inline;
	float: left;
	
	margin: 0 1%;
}

.messages .msg {
	margin-bottom: 20px;
}

.messages.chat .msg {
	position: relative;
}

.messages .left {
	position: absolute;
}

.messages .left > img, .messages.chat .msg > img {
	display: block;
	position: absolute;
	
	padding: 5px;
	
	right: 0;
	
	border: 1px solid #bdbdbd;
	border-radius: 3px;
	
	background: url('../img/elements/messages/avatar-bg.png') repeat-x #ececec;
}

.messages.chat .msg > img {
	left: 26px;
	right: auto;
}

.messages.chat .msg.reply > img {
	right: 26px;
	left: auto;
}

.messages .left .buttons {
	margin: 0;
	padding: 0;
	margin: 50px 0 0;
}

.messages .left .buttons li {
	float: left;

	list-style: none;
}

.messages .left .buttons li a {
	padding: 3px 7px;

	border: 1px solid #c2c2c2;
	border-left: none;
	box-shadow: inset 1px 1px 0 #fff;
	
	background: url('../img/elements/messages/button-bg.png') repeat-x #e4e4e4;
}

.messages .left .buttons li a:hover {
	background: url('../img/elements/messages/button-hover-bg.png') repeat-x #f3f3f3;
}

.messages .left .buttons li a:hover:active {
	background: url('../img/elements/messages/button-active-bg.png') repeat-x #ebebeb;
	box-shadow: inset 0 1px 2px rgba(0,0,0,0.48);
}

.messages .left .buttons li:first-child a {
	border-left: 1px solid #c2c2c2;
	border-radius: 3px 0 0 3px;
}

.messages .left .buttons li:last-child a {
	border-radius: 0 3px 3px 0;
}

.messages .left .buttons:after {
    clear: both;
}

.messages .left .buttons:before, .messages .left .buttons:after {
    content: "";
    display: table;
}

.messages .left .buttons:before, .messages .left .buttons:after {
    content: "";
    display: table;
}

.messages .content {
	position: relative;

	width: 600px;
	
	padding: 15px;
	margin-left: 80px;

	border: 1px solid #cccccc;
	border-radius: 3px;
	background: url('../img/elements/messages/content-bg.png') repeat-x #f7f7f7;
	box-shadow: 0 2px 3px rgba(0,0,0,0.23);
}

.messages.chat .content {
	box-shadow: none;
	background: #fff;
}

.messages.chat .reply .content {
	margin-left: 0;
	margin-right: 80px;
}

.messages .msg.small .content, .messages.small .msg .content {
	width: 400px;
}

.messages .msg.large .content, .messages.large  .msg.content {
	width: 600px;
}

.messages .msg.full .content, .messages.full .msg .content {
	width: auto;
}

.messages .content:after {
	display: block;
	position: absolute;
	
	height: 17px;
	width: 11px;
	
	left: -11px;
	top: 6px;
	
	content: '';
	background: url('../img/elements/messages/content-arrow.png');
}

.messages.chat .reply .content:after {
	left: auto;
	right: -11px;
	
	background: url('../img/elements/messages/content-arrow-right.png');
}

.messages .content h3 {
	padding: 5px 0;
	padding-top: 0;
	
	border-bottom: 1px solid #d6d6d6;
}

.messages .content h3 small {
	float: right;
}

.messages .content p {
	margin: 5px 0;
}


/* ********************************************* */
/* News */

.news {
	margin-bottom: 20px;
}

.news .entry {
	position: relative;
	margin-top: 20px;
}

.news .meta {
	position: absolute;

	width: 55px;
	height: 82px;
	
	margin-bottom: 28px;

	background: url('../img/elements/news/calendar.png');
	
	text-align: center;
	
	text-shadow: 0 1px 0 #fff;
}

.news .meta .day {
	padding-top: 7px;
}

.news .meta .month {
	padding-top: 14px;

	text-transform: uppercase;
}

.news .meta .year {
	padding-top: 1px;
}

.news .meta .more {
	display: block;

	padding-top: 12px;
	
	font-size: 10px;
}

.news .content {
	padding-left: 70px !important;
	border-bottom: 1px solid #d5dae1;
}

.news .content h3 {
	padding: 0;
	margin-bottom: 7px;
}

.news .content h4 {
	padding: 0;
	margin-top: 0;
	
	font-weight: normal;
}


/* ********************************************* */
/* Charts */

.chart {
	padding: 10px 0;
	
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
}

.legend {
	text-align: right;
	height: 25px;
}

.legend table{
	float: right;
}

.legend tr {
	display: inline-block;
	margin-left: 15px;
}

.legend .legendColorBox {
	vertical-align: center !important;
}

.legend .legendColorBox > div {
	border: none !important;
}

.legend .legendColorBox > div > div {
	margin: 5px 0;
	width: 20px !important;
	border-width: 1px !important;
}

.chart-tooltip {
	position: absolute;
	display: none;

	padding: 2px 10px;
	z-index: 9999;
	
	background: url('../img/elements/charts/hover-bg.png') repeat-x #e9edf0;
	border: 1px solid #aeaeae;
	border-radius: 3px;
}


/* ********************************************* */
/* Mail Popup */

.mail {}

.mail:before, .mail:after, .mail li:before, .mail li:after, .mail li .text .actions:before, .mail li .text .actions:after {
	display: table;
	content: ' ';
}

.mail:after, .mail li:after, .mail li .text .actions:after {
	clear: both;
}

.mail li {
	float: left;
	width: 100%;

	cursor: pointer;
	
	list-style: none;
}

.mail li:first-child {
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
}

.mail li:last-child {
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
}

.mail li.normal:hover {
	margin: -1px;

	border: 1px solid #21518a;
	background: url('../img/elements/mail/hover-bg.png') repeat-x #356baa;
}

.mail li .avatar {
	float: left;
	position: relative;
	
	top: -2px;
	
	margin: 10px;
	padding: 2px;
	
	border-radius: 2px;
	border: 1px solid #a0a0a0;
	border-bottom-color: #838383;
	box-shadow: 0 1px 1px rgba(0,0,0,0.2);
	
	background: url(../img/elements/mail/avatar-bg.png);
	
	user-select: none;
}

.mail li .info {
	margin: 10px;
	margin-left: 66px;
}

.mail li .info strong, .mail li .info span, .mail li .info small {
	display: block;
}

.mail li .text {
	float: left;
	position: relative;
	display: none;

	width: 100%;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	
	padding: 0 10px;

	box-shadow: inset 0 0 13px rgba(0,0,0,0.8);
	background: url('../img/elements/mail/text-bg.png') repeat-x #394353;
	
	color: #fff;
	text-shadow: 0 1px 0 #000;
	
	cursor: default;
}

.mail li .text:after {
	display: block;
	position: absolute;

	top: -7px;
	left: 50%;
	
	margin-left: -8px;
	
	height: 8px;
	width: 16px;

	background: url('../img/elements/mail/text-arrow.png');
	
	content: ' ';
}

.mail li .text .actions {
	margin: 0 -10px;
	padding: 0 10px;

	border-top: 1px solid #19212c;
	background:url('../img/elements/mail/actions-bg.png') repeat-x #17212d;
}

.mail li .text .actions > a {
	margin: 2px 0;
	padding: 2px 10px;

	border-radius: 2px;
	border: 1px solid #1b1b1b;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.13);
	background: url('../img/elements/mail/button-bg.png') repeat-x #283649;
	
	text-decoration: none;
}

.mail li .text .actions > a:hover {
	background: url('../img/elements/mail/button-bg-hover.png') repeat-x #344862;
}

.mail li .text .actions > a:hover:active {
	box-shadow: inset 0 5px 8px rgba(0,0,0,0.6);
}

.mail li .text .actions > a.red {
	background: url('../img/elements/mail/button-red-bg.png') repeat-x #592727;
}

.mail li .text .actions > a.red:hover {
	background: url('../img/elements/mail/button-red-bg-hover.png') repeat-x #6d2f2f;
}

.mail li .text .actions > a.red:hover:active {
	box-shadow: inset 0 5px 8px rgba(0,0,0,0.6);
}

.mail li .text .actions > a.disabled {
	background: url('../img/elements/mail/button-bg-disabled.png') repeat-x #2c333c;
	box-shadow: inset 0 1px 0 rgba(0,0,0,0.2);
	
	cursor: default;
}

.mail li .text .actions > a.red.disabled {
	background: url('../img/elements/mail/button-bg-red-disabled.png') repeat-x #3c2c2c;
}


/* ********************************************* */
/* Tooltips */

.tipsy {
    position: absolute;
    padding: 5px;
	
    z-index: 100000;
	
    font-size: 12px;
}

.tipsy-inner {
    padding: 5px 10px 4px 10px;
    max-width: 200px;
	
	border: 1px solid #000;
    background: url('../img/elements/tooltips/bg.png') repeat-x #1f2b3a;
	border-radius: 3px;
	box-shadow: 0 0 6px rgba(0,0,0,0.94),
				inset 0 1px 0 rgba(255,255,255,0.37);
	
    text-align: center;
}
  
.tipsy-arrow {
    position: absolute;
	
    width: 0;
    height: 0;
	
    line-height: 0;
    border: 5px dashed #1e2a39;
}
  
/* Rules to colour arrows */
.tipsy-arrow-n {
    border-bottom-color: #1e2a39;
}

.tipsy-arrow-s {
    border-top-color: #1e2a39;
}

.tipsy-arrow-e {
    border-left-color: #1e2a39;
}

.tipsy-arrow-w {
    border-right-color: #1e2a39;
}

.tipsy-n .tipsy-arrow {
    top: 1px;
    left: 50%;
    margin-left: -5px;
    border-bottom-style: solid;
    border-top: none;
    border-left-color: transparent;
    border-right-color: transparent;
}

.tipsy-nw .tipsy-arrow {
    top: 1px;
    left: 10px;
    border-bottom-style: solid;
    border-top: none;
    border-left-color: transparent;
    border-right-color: transparent;
}

.tipsy-ne .tipsy-arrow {
    top: 1px;
    right: 10px;
    border-bottom-style: solid;
    border-top: none;
    border-left-color: transparent;
    border-right-color: transparent;
}

.tipsy-s .tipsy-arrow {
    bottom: 1px;
    left: 50%;
    margin-left: -5px;
    border-top-style: solid;
    border-bottom: none;
    border-left-color: transparent;
    border-right-color: transparent;
}

.tipsy-sw .tipsy-arrow {
    bottom: 1px;
    left: 10px;
    border-top-style: solid;
    border-bottom: none;
    border-left-color: transparent;
    border-right-color: transparent;
}

.tipsy-se .tipsy-arrow {
    bottom: 1px;
    right: 10px;
    border-top-style: solid;
    border-bottom: none;
    border-left-color: transparent;
    border-right-color: transparent;
}

.tipsy-e .tipsy-arrow {
    right: 1px;
    top: 50%;
    margin-top: -5px;
    border-left-style: solid;
    border-right: none;
    border-top-color: transparent;
    border-bottom-color: transparent;
}

.tipsy-w .tipsy-arrow {
    left: 1px;
    top: 50%;
    margin-top: -5px;
    border-right-style: solid;
    border-left: none;
    border-top-color: transparent;
    border-bottom-color: transparent;
}

/* Gravity Demo */
#gravity {
    width: 100%;
    margin: 5px 0;
    border-spacing: 5px;
	border-collapse: separate;
}

#gravity td {
    width: 33%;
    padding: 5px 0;
	
	background: url('../img/layout/content/box/header-bg.png') repeat-x #E9ECF1;
	border: 1px solid #D8D8D8;
	
    text-align: center;
    vertical-align: middle;
}

#gravity a {
	text-decoration: none;
	outline: 0;
}

#gravity a:hover {
    background: none;
}


/* ********************************************* */
/* Full Statistics */

.full-stats {
	display: inline;
	float: left;
	
	margin: 0 1%;
	margin-bottom: 20px;
	
	text-align: left;
}

.full-stats.flexiwidth {
	display: block;
	float: none;
	margin: 0 0 20px;
}

.full-stats h2 {
	padding: 0;
	padding-bottom: 5px;

	color: #0d1d31;
	font-size: 14px;
}

.full-stats h2.center {
	text-align: center;
}

.full-stats div {
	cursor: default;
}

.full-stats .stat {
	display: block;
	overflow: hidden;
	
	background: #fff;
	box-shadow: 0 1px 0px rgba(0,0,0,0.11);

	border-radius: 3px;
	border: 1px solid #cdcdcd;
	border-bottom-color: #a8a8a8;
	
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

.full-stats .stat.margin-top {
	margin-top: 23px;
}

.full-stats a {
	text-decoration: none;
}

.full-stats .stat {
	padding: 15px;
}

/* Simple */
.stat.simple {
	padding: 10px 30px;
	text-align: center;
}

.stat.simple .title {
	margin: 5px 0;
}

.stat.simple .value {
	margin: 5px 0;
}

.stat.simple.link:hover {
	background: url('../img/elements/fullstats/simple/a-hover.png') repeat-x #f5f6f6;
}

.stat.simple.link:hover:active {
	background: url('../img/elements/fullstats/simple/a-active.png') repeat-x #fff;
	box-shadow: 0 2px 2px rgba(0,0,0,0.11),
				inset 0 2px 5px rgba(0,0,0,0.19);
}

.stat.simple.link div {
	cursor: pointer;
}

/* Load */
.stat.load {
	position: relative;
}

.stat.load {
	padding: 0 40px;
}

.stat.load .value {
	margin-top: 30px;
	margin-bottom: 10px;

	text-align: center;
}

.stat.load .bg {
	width: 119px;
	height: 54px;
	
	margin-bottom: 49px;
	
	background: url('../img/elements/fullstats/load/bg.png');
}

.stat.load .gauge {
	position: absolute;

	width: 46px;
	height: 18px;
	
	left: 50%;
	margin-left: -37px;
	top: 100px;
	
	background: url('../img/elements/fullstats/load/gauge.png');
	
	-webkit-transform-origin: 37px 50%;
	-moz-transform-origin: 37px 50%;
	-o-transform-origin: 37px 50%;
	-ms-transform-origin: 37px 50%;
	transform-origin: 37px 50%;
}

.stat.load .min {
	position: absolute;
	top: 120px;
	left: 35px;
}

.stat.load .max {
	position: absolute;
	top: 120px;
	right: 20px;
}

/* Level */
.stat.level  {
	position: relative;
}

.stat.level .gauge-container {
	position: relative;

	height: 110px;
	width: 50px;
	
	margin-top: 21px;
	margin-right: 75px;
	
	background: url('../img/elements/fullstats/level/container-bg.png') repeat-x #e3e3e3;
	
	border: 1px solid #bbbbbb;
	border-radius: 3px;
	box-shadow: inset 0 3px 3px rgba(0,0,0,0.15);
}

.stat.level .gauge {
	position: absolute;
	
	left: -1px;
	right: -1px;
	bottom: -1px;
	
	background: url('../img/elements/fullstats/level/gauge-bg.png');
	border-radius: 0 0 3px 3px;
	border: 1px solid #215494;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.33);
}

.stat.level .gauge.full {
	border-radius: 3px;
}

.stat.level .max {
	position: absolute;
	
	top: 10px;
	left: 15px;
}

.stat.level .info {
	position: absolute;
	
	left: 90px;
	
	margin-top: -6px;
	
	width: 70px;
}

.stat.level .info:after {
	display: block;
	position: absolute;
	
	height: 10px;
	width: 9px;
	
	left: -16px;
	top: 3px;
	
	background: url('../img/elements/fullstats/level/info-arrow.png');
	content: '';
}

/* Pillar */
.stat.pillar .pillar-container {
	height: 131px;
	width: 50px;
	
	margin-right: 85px;

	border: 1px solid #111111;
	border-radius: 3px;
}

.stat.pillar .inner {
	position: relative;
	
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.37);
	border-bottom: 1px solid #000;
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

.stat.pillar .inner:first-child {
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
}

.stat.pillar .inner:last-child {
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	border-bottom: none;
}

.stat.pillar .inner.red {
	background: url('../img/elements/fullstats/pillar/red-bg.png');
}

.stat.pillar .inner.yellow {
	background: url('../img/elements/fullstats/pillar/yellow-bg.png');
}

.stat.pillar .inner.green {
	background: url('../img/elements/fullstats/pillar/green-bg.png');
}

.stat.pillar .value {
	position: absolute;
	
	left: 70px;
	top: 50%;
	margin-top: -10px;
	padding-right: 15px;
	
	font-size: 16px;
	font-weight: bold;
}

.stat.pillar .title {
	position: absolute;
	
	left: 100px;
	top: 50%;
	margin-top: -8px;
	
	font-size: 12px;
	color: #575757;
}

/* Circular */
.stat.circular {
	position: relative;
}

.stat.circular canvas {
	display: block;

	height: 88px;
	width: 88px;
	
	margin: 0 auto;
}

.stat.circular > .value {
	position: absolute;
	
	left: 0;
	right: 0;
	top: 48px;
	
	text-align: center;
}


.circular-bg {
	color: #c0d0e5;
}

.circular-fg {
	color: #1a4a81;
}


.circular-bg.grey {
	color: #dadada;
}

.circular-fg.grey {
	color: #676767;
}


.circular-bg.red {
	color: #e5c0c0;
}

.circular-fg.red {
	color: #811a1a;
}


.circular-bg.green {
	color: #c4e5c0;
}

.circular-fg.green {
	color: #1a811c;
}

.stat.circular ul {
	display: table;
	
	margin: 0;
	padding: 0;
	margin-top: 15px;
}

.stat.circular li {
	display: table-row;

	list-style: none;
	
	font-size: 12px;
	font-weight: bold;
}

.stat.circular li span {
	display: table-cell;
}

.stat.circular li .title {
	padding-right: 25px;
	padding-left: 15px;
}

.stat.circular li.pos .title {
	background: url('../img/elements/fullstats/circular/arrow-green.png') no-repeat 0 50%;
}

.stat.circular li.neg .title {
	background: url('../img/elements/fullstats/circular/arrow-red.png') no-repeat 0 50%;
}

.stat.circular li.neutr .title {
	background: url('../img/elements/fullstats/circular/arrow-grey.png') no-repeat 0 50%;
}

.stat.circular li .value {
	text-align: right;
}

.stat.circular li .percent {
	padding-left: 20px;

	text-align: right;
}

/* Uptime */
.stat.uptime {
	
}

.stat.uptime .overview {
	display: table;
	margin-top: 8px;
}

.stat.uptime  .server{
	display: table-row;
}

.stat.uptime .server .status, .stat.uptime .server .name {
	display: table-cell;
	
	padding-bottom: 15px;
}

.stat.uptime .server .status {
	padding-left: 40px;
}

.stat.uptime .server .status.online {
	background: url('../img/elements/fullstats/uptime/arrow-green.png') no-repeat 2px 0;
}

.stat.uptime .server .status.offline {
	background: url('../img/elements/fullstats/uptime/arrow-red.png') no-repeat 2px 0;
}

.stat.uptime .server .name {
	padding-left: 40px;
}

.stat.uptime .info {
	margin-top: 8px;
}

.stat.uptime .info:after {
    clear: both;
}

.stat.uptime .info:before, .stat.uptime .info:after {
    content: "";
    display: table;
}

.stat.uptime .info:before, .stat.uptime .info:after {
    content: "";
    display: table;
}

.stat.uptime .info .left, .stat.uptime .info .right {
	float: left;
	width: 50%;
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

.stat.uptime .info .left {
	padding-right: 10px;
}

.stat.uptime .info .right {
	padding-left: 10px;
	border-left: 1px solid #d5d5d5;
}

/* List */
.stat.list ul {
	padding: 0;
	margin: 0;
}

.stat.list li {
	position: relative;

	margin: 9px 0;
	padding: 5px 0;
	
	border: 1px solid transparent;
	
	list-style: none;
}

.stat.list li.link:hover {
	border: 1px solid #d9dcdf;
	border-radius: 3px;
	background: url('../img/elements/fullstats/list/hover-bg.png') repeat-x #f3f4f4;
}

.stat.list li:after {
	display: block;
	position: absolute;
	
	width: 100%;
	bottom: -5px;
	
	height: 1px;
	background: #c7c7c7;
	
	content: '';
}

.stat.list li > *:before {
	display: block;
	position: absolute;
	
	height: 13px;
	width: 12px;
	
	left: 10px;
	top: 50%;
	margin-top: -6px;
	
	content: '';
	background: url('../img/elements/fullstats/list/arrow-grey.png') no-repeat;
}

.stat.list li.up.green > *:before {
	background-image: url('../img/elements/fullstats/list/arrow-green-up.png');
}

.stat.list li.down.green > *:before {
	background-image: url('../img/elements/fullstats/list/arrow-green-down.png');

}

.stat.list li.up.red > *:before {
	background-image: url('../img/elements/fullstats/list/arrow-red-up.png');

}

.stat.list li.down.red > *:before {
	background-image: url('../img/elements/fullstats/list/arrow-red-down.png');

}

.stat.list li a div {
	cursor: pointer;
}

.stat.list li:first-child {
	margin-top: 0;
}

.stat.list li:last-child {
	margin-bottom: 0;
}

.stat.list li:last-child:after {
	display: none;
}

.stat.list li .value, .stat.list li .title {
	display: inline-block;
}

.stat.list li .value {
	padding-left: 40px;
	text-align: right;
}

.stat.list li .title {
	padding-left: 20px;
	padding-right: 10px;
}

/* Horizontal List */
.stat.hlist ul {
	margin: 0;
	padding: 0;
}

.stat.hlist li {
	float: left;

	padding: 0 30px;
	
	border-left: 1px solid #D9DCDF;
	
	list-style: none;
	text-align: center;
}

.flexiwidth .stat.hlist li {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

.stat.hlist li:first-child {
	border-left: none;
}

.stat.hlist .title {
	margin: 5px 0;
}

.stat.hlist .value {
	margin: 5px 0;
}

.stat.hlist.link div {
	cursor: pointer;
}


/* Minichart */
.stat.minichart:after {
    clear: both;
}

.stat.minichart:before, .stat.minichart:after {
    content: "";
    display: table;
}

.stat.minichart:before, .stat.minichart:after {
    content: "";
    display: table;
}

.stat.minichart .left, .stat.minichart .right {
	padding: 0 15px;
}

.stat.minichart .left {
	float: left;
	padding-right: 20px;
	
	text-align: center;
}

.stat.minichart .title {
	margin: 5px 0;
}

.stat.minichart .total {
	margin: 5px 0;
}

.stat.minichart .right {
	float: right;
	padding-left: 20px;
	border-left: 1px solid #d9dcdf;
}

.stat.minichart .minichart {
	padding-bottom: 5px;
	padding-top: 8px;
}

.stat.minichart .change {
	position: relative;
	padding-left: 15px;
}

.stat.minichart .change:after {
	display: block;
	position: absolute;
	
	height: 13px;
	width: 12px;
	
	left: -2px;
	top: 50%;
	margin-top: -5px;
	
	content: '';
}

.stat.minichart .change.green:after {
	background: url('../img/elements/fullstats/minichart/arrow-green.png') no-repeat;
}

.stat.minichart .change.grey:after {
	background: url('../img/elements/fullstats/minichart/arrow-grey.png') no-repeat;
}

.stat.minichart .change.red:after {
	background: url('../img/elements/fullstats/minichart/arrow-red.png') no-repeat;
}


/* ********************************************* */
/* FullCalendar */
/* Based on 'FullCalendar v1.5.2 Stylesheet ' */

/*
 * FullCalendar v1.5.2 Stylesheet 
 *
 * Copyright (c) 2011 Adam Shaw
 * Dual licensed under the MIT and GPL licenses, located in
 * MIT-LICENSE.txt and GPL-LICENSE.txt respectively.
 *
 * Date: Sun Aug 21 22:06:09 2011 -0700
 *
 */

#content .box .content.calendar {
    padding: 0
}

.fc {
    direction: ltr;
    text-align: left;
}

.fc table {
    border-collapse: collapse;
    border-spacing: 0;
}

html .fc, .fc table {
    font-size: 1em
}

.fc-content td, .fc-content th {
    padding: 0;
    vertical-align: top;
	
	background: url('../img/elements/calendar/day-bg.png') repeat-x #fafafa;
}

.fc td.fc-other-month {
	background: #f5f5f5;
}

/* Header
------------------------------------------------------------------------*/

.fc-header {
	background: url('../img/elements/calendar/toolbar-bg.png') repeat-x #f1f3f6;
	border: none;
}

.fc-header td {
    white-space: nowrap
}

.fc-header-left {
    text-align: left;
	position: relative;
	z-index: 101;
}

.fc-header-center {
    text-align: center;
    position: absolute;
    top: 30px;
    width: 100%;
}

.fc-header-right {
    text-align: right;
    position: absolute;
    top: 1px;
    right: 1px;
}

.fc-header-title {
    display: inline-block;
    vertical-align: top;
	
	font-size: 110%;
	color: #202b3b;
}

.fc-header-title h2 {
    margin-top: 0;
    white-space: nowrap;
}

.fc .fc-header-space {
    padding-left: 10px
}

.fc-header .fc-button {
    margin-bottom: 1em;
    vertical-align: top;
}

.fc-header-right .fc-button {
	border: none;
	margin: 0;
}

.fc-header-right .fc-button {
	border-left: 1px solid #fff;
	border-right: 1px solid #c1c1c1;
	
	padding: 6px 12px;
	
	color: #5f6269;
}

.webkit .fc-header-right .fc-button {
	padding: 6px 12px;
	padding-bottom: 7px;
}

.fc-header-right .fc-button:first-child {
	border-left-color: #c1c1c1;
}

.fc-header-right .fc-button:last-child {
	border-right: none;
}

.fc-header-right .fc-button:hover {
	background: url('../img/layout/content/box/tab-hover.png') repeat-x #f5f6f8;
}

.fc-header-right .fc-button.fc-corner-left, .fc-header-right .fc-button.fc-corner-right {
	border-radius: 0;
}

.fc-header-right .fc-button.fc-button.fc-corner-right:last-child {
	border-radius: 2px 0 0 0;
	border-right: none;
}

.fc-header-right .fc-button.fc-state-active {
	background: #fff;
	border-bottom: 1px solid #fff;
	
	color: #818181;
}

.fc-header-left .fc-corner-right {
    float: right;
}

.fc-header-left .fc-button {
	margin: 5px;
	border: 1px solid transparent;
	color: #495465;
}

.fc-header-left .fc-button:hover {
	border-color: #b8bcc0;
	border-radius: 3px;
	
	background: url('../img/elements/calendar/arrow-hover-bg.png') repeat-x #e2e4e7;
}


/* Content
------------------------------------------------------------------------*/

.fc-content {
    clear: both
}

.fc-view {
    width: 100%; /* needed for view switching (when view is absolute) */
    overflow: hidden;
}

/* Cell Styles
------------------------------------------------------------------------*/

.fc-widget-header, /* , usually */
.fc-widget-content {
    /* , usually */
    border: 1px solid #ccc;
}

.fc-state-highlight {
    /*  today cell */ /* TODO: add .fc-today to  */;
    background: #fff !important;
}

.fc-view-month .fc-state-highlight {
	box-shadow: inset 0 0 7px rgba(0,0,0,.4);
	background: url('../img/elements/calendar/highlight-bg.png') repeat-x #d8dce2 !important;
}

.fc-cell-overlay {
    /* semi-transparent rectangle while dragging */
    background: #9cf;
    opacity: .2;
    filter: alpha(opacity=20); /* for IE */
}

/* Buttons
------------------------------------------------------------------------*/

.fc-button {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.fc-state-default {

}

.fc-button-inner {
    position: relative;
    float: left;
    overflow: hidden;
}

.fc-state-default .fc-button-inner {
}

.fc-button-content {
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;

    position: relative;
    float: left;
    height: 1.9em;
    line-height: 1.9em;
    padding: 0 .6em;
    white-space: nowrap;
}

/* icon (for jquery ui) */

.fc-button-content .fc-icon-wrap {
    position: relative;
    float: left;
    top: 50%;
}

.fc-button-content .ui-icon {
    position: relative;
    float: left;
    margin-top: -50%;
    *margin-top: 0;
    *top: -50%;
}

/* button states (determines colors)  */

/* Global Event Styles
------------------------------------------------------------------------*/

.fc-event {
    cursor: default;
	
	padding: 3px;
	
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	
	background: url('../img/elements/calendar/event-bg.png') repeat-x #3c70ad;
	border: 1px solid #2e69ae;
}

a.fc-event, .fc-event-draggable {
    cursor: pointer
}

a.fc-event {
    text-decoration: none
}

.fc-rtl .fc-event {
    text-align: right
}

.fc-event-skin {
    color: #fff; /* default TEXT color */
	text-shadow: 0 1px 0 rgba(0,0,0,0.75);
}

.fc-event-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.fc-event-time, .fc-event-title {
    padding: 0 1px
}

.fc .ui-resizable-handle {
    /*** TODO: don't use ui-resizable anymore, change class ***/;
    display: block;
    position: absolute;
    z-index: 99999;
    overflow: hidden; /* hacky spaces (IE6/7) */
    font-size: 300%; /* */
    line-height: 50%; /* */
}

/* Horizontal Events
------------------------------------------------------------------------*/

.fc-event-hori {
    margin-bottom: 1px;
}

/* resizable */

.fc-event-hori .ui-resizable-e {
    top: 0           !important; /* importants override pre jquery ui 1.7 styles */
    right: -3px      !important;
    width: 7px       !important;
    height: 100%     !important;
    cursor: e-resize;
}

.fc-event-hori .ui-resizable-w {
    top: 0           !important;
    left: -3px       !important;
    width: 7px       !important;
    height: 100%     !important;
    cursor: w-resize;
}

.fc-event-hori .ui-resizable-handle {
    _padding-bottom: 14px; /* IE6 had 0 height */
}

/* Fake Rounded Corners (for buttons and events)
------------------------------------------------------------*/

/* Rounded Corners SPECIFICALLY FOR EVENTS
-----------------------------------------------------------------*/

.fc-corner-left {
	border-top-left-radius: 3px;
	border-bottom-left-radius: 3px;
}

.fc-corner-right {
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
}

/* Reusable Separate-border Table
------------------------------------------------------------*/

table.fc-border-separate {
	border-collapse: separate;
}
	
.fc-border-separate th, .fc-border-separate td {
	border-width: 1px 0 0 1px;
}
	
.fc-border-separate th.fc-last, .fc-border-separate td.fc-last {
	border-right-width: 1px;
}
	
.fc-border-separate tr.fc-last th, .fc-border-separate tr.fc-last td {
	border-bottom-width: 1px;
}
	
.fc-border-separate tbody tr.fc-first td, .fc-border-separate tbody tr.fc-first th {
	border-top-width: 0;
}

/* Month View, Basic Week View, Basic Day View
------------------------------------------------------------------------*/

.fc-view td.fc-first, .fc-view th.fc-first, .fc-agenda-axis {
	border-left: 0;
}

.fc-view td.fc-last, .fc-view th.fc-last {
	border-right: 0;
}

.fc-view tr.fc-last td, .fc-agenda-axis  {
	border-bottom: 0;
}

.fc-view th {
	padding: 5px 0;
	
	background: url('../img/elements/calendar/header-bg.png') repeat-x #e2e7eb;
	
	color: #495465;
	text-shadow: 0 1px 0 #fff;

    text-align: center;
}

.fc-grid .fc-day-number {
    float: right;
    padding: 0 2px;
	color: #071526;
}

.fc-grid .fc-other-month .fc-day-number {
    opacity: 0.3;
    filter: alpha(opacity=30); /* for IE */
	/* opacity with small font can sometimes look too faded
	   might want to set the 'color' property instead
	   making day-numbers bold also fixes the problem */
}

.fc-grid .fc-day-content {
    clear: both;
    padding: 2px 2px 1px; /* distance between events and day edges */
}

/* event styles */

.fc-grid .fc-event-time {
    font-weight: bold
}

/* right-to-left */

.fc-rtl .fc-grid .fc-day-number {
    float: left
}

.fc-rtl .fc-grid .fc-event-time {
    float: right
}

/* Agenda Week View, Agenda Day View
------------------------------------------------------------------------*/

.fc-agenda table {
    border-collapse: separate
}

.fc-agenda-days th {
    text-align: center
}

.fc-agenda .fc-agenda-axis {
    width: 50px;
    padding: 0 4px;
    vertical-align: middle;
    text-align: right;
    white-space: nowrap;
    font-weight: normal;
}

.fc-agenda .fc-day-content {
    padding: 2px 2px 1px
}

/* make axis border take precedence */

.fc-agenda-days .fc-agenda-axis {
    border-right-width: 1px
}

.fc-agenda-days .fc-col0 {
    border-left-width: 0
}

/* all-day area */

.fc-agenda-allday th {
    border-width: 0 1px
}

.fc-agenda-allday .fc-day-content {
    min-height: 34px; /* TODO: doesnt work well in quirksmode */;
    _height: 34px;
}

/* divider (between all-day and slots) */

.fc-agenda-divider-inner {
    height: 2px;
    overflow: hidden;
}

.fc-widget-header .fc-agenda-divider-inner {
    background: #eee
}

/* slot rows */

.fc-agenda-slots th {
    border-width: 1px 1px 0
}

.fc-agenda-slots td {
    border-width: 1px 0 0;
    background: none;
}

.fc-agenda-slots td div {
    height: 20px
}

.fc-agenda-slots tr.fc-slot0 th, .fc-agenda-slots tr.fc-slot0 td {
    border-top-width: 0
}

.fc-agenda-slots tr.fc-minor th, .fc-agenda-slots tr.fc-minor td {
    border-top-style: dotted
}

.fc-agenda-slots tr.fc-minor th.ui-widget-header {
    *border-top-style: solid; /* doesn't work with background in IE6/7 */
}

/* Vertical Events
------------------------------------------------------------------------*/

.fc-event-vert {
    padding: 0;
	border-width: 2px;
}

.fc-event-vert .fc-event-head, .fc-event-vert .fc-event-content {
    position: relative;
    z-index: 2;
    width: 100%;
    overflow: hidden;
}

.fc-event-vert .fc-event-time {
    white-space: nowrap;
    font-size: 10px;
}

.fc-event-vert .fc-event-bg {
    /* makes the event lighter w/ a semi-transparent overlay  */
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: #fff; */
    opacity: .3;
    filter: alpha(opacity=30);
}

.fc .ui-draggable-dragging .fc-event-bg, /* TODO: something nicer like .fc-opacity */
.fc-select-helper .fc-event-bg {
    display: none\9; /* for IE6/7/8. nested opacity filters while dragging don't work */
}

/* resizable */

.fc-event-vert .ui-resizable-s {
    bottom: 0        !important; /* importants override pre jquery ui 1.7 styles */
    width: 100%      !important;
    height: 8px      !important;
    overflow: hidden !important;
    line-height: 8px !important;
    font-size: 11px  !important;
    font-family: monospace;
    text-align: center;
    cursor: s-resize;
}

.fc-agenda .ui-resizable-resizing {
    /* TODO: better selector */;
    _overflow: hidden;
}

@media print { 
    /*
	 * FullCalendar v1.5.2 Print Stylesheet
	 *
	 * Include this stylesheet on your page to get a more printer-friendly calendar.
	 * When including this stylesheet, use the media='print' attribute of the  tag.
	 * Make sure to include this stylesheet IN ADDITION to the regular fullcalendar.css.
	 *
	 * Copyright (c) 2011 Adam Shaw
	 * Dual licensed under the MIT and GPL licenses, located in
	 * MIT-LICENSE.txt and GPL-LICENSE.txt respectively.
	 *
	 * Date: Sun Aug 21 22:06:09 2011 -0700
	 *
	 */

    /* Events
        -----------------------------------------------------*/

    .fc-event-skin {
        background: none !important;
        color: #000 !important;
    }

    /* horizontal events */

    .fc-event-hori {
        border-width: 0 0 1px 0 !important;
        border-bottom-style: dotted !important;
        border-bottom-color: #000 !important;
        padding: 1px 0 0 0 !important;
    }

    .fc-event-hori .fc-event-inner {
        border-width: 0 !important;
        padding: 0 1px !important;
    }

    /* vertical events */

    .fc-event-vert {
        border-width: 0 0 0 1px !important;
        border-left-style: dotted !important;
        border-left-color: #000 !important;
        padding: 0 1px 0 0 !important;
    }

    .fc-event-vert .fc-event-inner {
        border-width: 0 !important;
        padding: 1px 0 !important;
    }

    .fc-event-bg {
        display: none !important
    }

    .fc-event .ui-resizable-handle {
        display: none !important
    }
}


/* ********************************************* */
/* The loading screen */

#loading {
	width: 280px;
	height: 177px;
	
	background: url('../img/elements/loading/bg.png');
	
	position: fixed;
	z-index: 999;
	
	top: 50%;
	left: 50%;

	margin-top: -88.5px;
	margin-left: -140px;
	
	text-align: center;
}

#loading:after {
	display: block;
	
	height: 32px;
	width: 32px;
	
	position: absolute;
	left: 50%;
	top: 68px;
	
	margin-left: -16px;
	margin-top: -16px;
	
	background: url('../img/elements/loading/spinner.gif');
	
	content: ' ';
}

#loading-overlay {
	position: fixed;
	
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	
	background: rgba(0,0,0,0.5);
	background: -webkit-radial-gradient(50% 50% , ellipse closest-corner, rgba(0, 0, 0, 0.3) 1%, rgba(0, 0, 0, 0.725) 100%) repeat scroll 0 0 transparent;
	background: -moz-radial-gradient(50% 50% , ellipse closest-corner, rgba(0, 0, 0, 0.3) 1%, rgba(0, 0, 0, 0.725) 100%) repeat scroll 0 0 transparent;
	background: -o-radial-gradient(50% 50% , ellipse closest-corner, rgba(0, 0, 0, 0.3) 1%, rgba(0, 0, 0, 0.725) 100%) repeat scroll 0 0 transparent;
	background: -ms-radial-gradient(50% 50% , ellipse closest-corner, rgba(0, 0, 0, 0.3) 1%, rgba(0, 0, 0, 0.725) 100%) repeat scroll 0 0 transparent;
	background: radial-gradient(50% 50% , ellipse closest-corner, rgba(0, 0, 0, 0.3) 1%, rgba(0, 0, 0, 0.725) 100%) repeat scroll 0 0 transparent;
	
	z-index: 998;
}

#loading span {
	display: inline-block;

	position: relative;
	top: 123px;
}


/* ********************************************* */
/* Syntax Highlighting */

.syntaxhighlighter  .toolbar {
	display: none;
}

.syntaxhighlighter .gutter {
	padding-right: 10px;
}

.syntaxhighlighter .gutter .line {
	padding-right: 4px;
}

.syntaxhighlighter, .syntaxhighlighter .line.alt1, .syntaxhighlighter .line.alt2 {
	background: transparent !important;
}

.syntaxhighlighter .gutter .line {
	border-right: 2px solid #79C4EE !important;
}


/* ********************************************* */
/* Explorer */

.explorer {
	margin: 0 -10px;
	border: none;
	border-radius: 0;
}

.elfinder-toolbar {
	background: url('../img/elements/table/header.png') repeat-x #eef0f4;
	border-bottom: 1px solid #c1c1c1;
}

.elfinder-statusbar {
	background: url("../img/layout/content/box/actions-bg.png") repeat-x #f0f1f4;
	border-top: 1px solid #c1c1c1;
	padding: 3px 8px;
}

.elfinder-help .elfinder-dont-panic span {
	right: 0;

}

.elfinder .elfinder-button-search {
	border:0 solid;
	background:transparent;
	padding:0;
	margin: 1px 4px;
	height: auto;
	min-height: 26px;
	float:right;
	width:202px;
}

.elfinder-dialog-error .ui-dialog-content, .elfinder-dialog-confirm .ui-dialog-content {
	padding-left: 56px;
}

.elfinder-dialog[style] {
	z-index: 200 !important;
}

.elfinder .ui-widget-overlay {
	z-index: 199 !important;
}

.elfinder-quicklook-fullscreen[style] {
	z-index: 90000 !important;
}

.elfinder .ui-button.ui-state-hover:active {
	box-shadow: inset 0 1px 2px rgba(0,0,0,0.63);

	background: #2c7eee; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzJjN2VlZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwZTY0ZDgiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #2c7eee 0%, #0e64d8 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2c7eee), color-stop(100%,#0e64d8)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #2c7eee 0%,#0e64d8 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #2c7eee 0%,#0e64d8 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #2c7eee 0%,#0e64d8 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #2c7eee 0%,#0e64d8 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2c7eee', endColorstr='#0e64d8',GradientType=0 ); /* IE6-8 */
}


/* ********************************************* */
/* Search Box */

.searchbox:before, .searchbox:after {
	display: table;
	content: '';
}

.searchbox:after {
	clear: both;
}

.searchbox {
	position: relative;

	width: 100%;
	margin: 0;
	padding: 21px;

	background: url('../img/elements/searchbox/bg.png') repeat-x #ecf1f4;
	border-bottom: 1px solid #bcc4d2;
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

.searchbox input[type=text] {
	width: 100%;
	padding: 8px 11px;
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

.searchbox input[type=submit] {
	position: absolute;
	top: 21px;
	bottom: 21px;
	right: 21px;
	
	padding: 5px 15px;
	
	border-radius: 0 3px 3px 0;
}

.searchbox.grid_12 {
	width: 100%;
}

.searchbox:first-child {
	margin-top: -15px;
}


/* ********************************************* */
/* Search Result */

.searchresults {
	padding: 20px;
	padding-top: 0;
	padding-bottom: 20px;
	
	margin-top: 0;
	margin-bottom: 0;
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

.searchresults.grid_12 {
	width: 100%;
	margin: 0;
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

.searchresults li {
	list-style: none;
}


.searchresults .header {
	position: relative;
	margin-bottom: 18px;

	overflow: hidden;
}

.searchresults .header h3, .searchresults .header strong {
	display: block;
	position: relative;
	
	background: #fdfdfd;
	
	z-index:1;
}

.searchresults .header h3 {
	float: left;
	padding: 0;
	padding-right: 20px;
	
	font-size: 15px;
}

.searchresults .header:after {
	display: block;
	position: absolute;
	
	height: 1px;
	
	left: 0;
	right: 0;
	bottom: 7px;
	
	background: url('../img/elements/searchresults/dotted.png') repeat-x;
	content: '';
}

.searchresults .header strong {
	float: right;
	margin-top: 2px;
	padding-left: 20px;
}


.searchresults li {
	position: relative;
	padding-bottom: 20px;
	margin-bottom: 20px;
}

.searchresults li:after {
	display: block;
	position: absolute;
	
	left: -20px;
	right: -20px;
	bottom: 0;
	height: 1px;

	background: #d7d7d7;
	content: '';
}

.searchresults .content:before, .searchresults .content:after {
	display: table;
	content: '';
}

.searchresults .content:after {
	clear: both;
}

.searchresults .content img {
	float: left;
	padding: 5px;
	
	border: 1px solid #bdbdbd;
	border-radius: 3px;
	
	background: url('../img/elements/messages/avatar-bg.png') repeat-x #ececec;
}

.searchresults .content table {
	margin-left: 55px;
}

.searchresults .content th, .searchresults .content td {
	padding-bottom: 10px;
}

.searchresults .content th {
	padding-right: 20px;
	
	text-align: right;
}


/* ********************************************* */
/* Error pages */

.big.error {
	padding-top: 70px;
	text-align: center;
}

.big.error h2, .big.error h1 {
	padding: 0;
}

.big.error h1 {
	margin-bottom: 20px;
}

.big.error h1:after {
	display: none;
}

.big.error h1 span {
	background: transparent;
	box-shadow: none;
}

.big.error h1:before {
	display: block;
	position: absolute;
	bottom: 0px;
	
	width: 300px;
	height: 1px;
	left: 50%;
	margin-left: -150px;
	
	background: #d2d8e2;
	content: '';
}

.big.error .small span{
	display: block;
}

.big.error .small a.button {
	margin-top: 10px;
}


/* ********************************************* */
/* Header Buttons */

header .buttons {
	position: absolute;
	right: 0;
	bottom: 20px;
}

header .buttons a {
	float: left;
	margin-left: 15px;
	padding: 10px 30px;
	
	border: 1px solid #bbbdc7;
	border-bottom-color: #8F8F8F;
	border-radius: 4px;
	box-shadow: 0 1px 1px rgba(0,0,0,0.21);
	background: url('../img/elements/headerbuttons/bg.png') repeat-x #e7e8ee;
	
	text-decoration: none;
	text-shadow: 0 1px 0 #fff;
}

header .buttons a:hover {
	background: url('../img/elements/headerbuttons/bg-hover.png') repeat-x #f9f9f9;
}

header .buttons a:hover:active {
	background: url('../img/elements/headerbuttons/bg-active.png') repeat-x #f9f9f9;
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.23);
	border-top-color: #8F8F8F;
	border-bottom-color: #bbbdc7;
}

header .buttons .icon, header .buttons img {
	display: block;
	
	margin: 0 auto;
	margin-bottom: 5px;

	height: 24px;
	width: 24px;
	font-size: 24px;
	
	text-decoration: none;
}

header .buttons .icon:before {
	position: relative;
	top: -2px;
}


/* ********************************************* */
/* Gallery */

.gallery:before, .gallery:after {
	display: table;
	content: '';
}

.gallery:after {
	clear: both;
}

.gallery {
	margin: 10px 0;
}

.gallery .image {
	position: relative;
	float: left;
	margin: 5px 10px 0 10px;
}

.gallery a img, .gallery .image > img {
	padding: 3px;
	border: 1px solid #B4B4B4;
	border-bottom-color: #5F5F5F;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.gallery .image a img:hover, .gallery .image > img:hover {
	border: 1px solid #005dc7;
	box-shadow: 0 0 7px rgba(86, 149, 219, 0.69);
}

.gallery .tools {
	padding-bottom: 5px;
}

.gallery .tools .checkbox {
	margin-right: 5px;
}

.gallery .tools menu {
	display: none;
}

.gallery .tools a.menu {
	position: relative;
	top: 3px;

	font-size: 16px;
	color: #787879;
	text-shadow: 0 1px 0 #fff;
	text-decoration: none;
}

.gallery .tools a.menu.open {
	color: #4a4a4b;
}

.gallery .tools menu {
	display: none;
	position: absolute;
	left: 10px;
	
	margin: 0;
	margin-top: 4px;
	padding: 0;
}

.gallery .tools menu:after {
	display: block;
	position: absolute;
	
	height: 5px;
	width: 12px;
	
	top: -5px;
	left: 10px;
	
	content: '';
	background: url('../img/layout/content/box/menu-arrow.png');
}

.gallery .tools menu a {
	display: block;
	
	padding: 7px 20px;
	
	border: 1px solid #cbcbcb;
	border-bottom-width: 0;
	background: url('../img/layout/content/box/menu-item-bg.png') repeat-x #ebedf2;
	
	text-decoration: none;
}

.gallery .tools menu a.with-icon {
	padding-left: 8px;
}

.gallery .tools menu a .icon {
	float: left;
	display: inline-block;
	
	width: 16px;
	height: 16px;

	margin-left: 0;
	margin-right: 4px;
	
	text-align: center;
	font-size: 13px;
}

.gallery .tools menu a:hover {
	background: url('../img/layout/content/box/menu-item-bg-hover.png') repeat-x #ebedf2;
}

.gallery .tools menu a.active {
	background: #e5e7e9;
	box-shadow: inset 0 1px 2px rgba(0,0,0,0.47);
}

.gallery .tools menu a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
}

.gallery .tools menu a:last-child {
	border-bottom-width: 1px;
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
}

.gallery .image > a {
	display: block;
}

.gallery .image > span:not(.badge) {
	display: block;
	text-align: center;
	
	margin-top: 5px;
}

.gallery .image .badge {
	position: absolute;
	top: 2px;
	right: 0;
}

.fancybox-skin {
	background: transparent;
	border: none;
}


/* ********************************************* */
/* Badges */

.badge {
	padding: 2px 8px;

	border: 1px solid #1e4777;
	border-radius: 3px;
	box-shadow: 0 0 5px rgba(0,0,0,0.76),
				inset 0 1px 0 rgba(255,255,255,0.45);
	background: url('../img/elements/badges/blue.png') repeat-x #4685c7;
	
	cursor: default;
}

.badge.blue.light {
	background: url('../img/elements/badges/blue-light.png') repeat-x #469dc7;
}

.badge.blue.dark {
	background: url('../img/elements/badges/blue-dark.png') repeat-x #1d68c0;
}

.badge.green {
	border: 1px solid #1d5d1c;
	background: url('../img/elements/badges/green.png') repeat-x #40913f;
}

.badge.orange {
	border: 1px solid #a45c0c;
	background: url('../img/elements/badges/orange.png') repeat-x #d46213;
}

.badge.red {
	border: 1px solid #931616;
	background: url('../img/elements/badges/red.png') repeat-x #b32626;
}


.badge.block {
	display: inline-block;
	margin: 5px;
}


/* ********************************************* */
/* Invoice Template */

.invoice {
	font-family: sans-serif;
}

.invoice h3, .invoice h4 {
	text-align: center;
}

.invoice h4 {
	margin-bottom: 0;
}

.invoice h3 {
	padding-top: 10px;
}


.invoice .supplier {
	float: left;
	margin-left: 5%;
}

.invoice .customer {
	float: right;
	margin-right: 5%;
	
	text-align: right;
}

.invoice h5 {
	margin-bottom: 3px;
}

.invoice h5 + p {
	margin-top: 1px;
}

.invoice h5, .invoice .supplier span, .invoice .customer span {
	text-transform: uppercase;
}


.invoice .details {
    display: table;
    width: 100%;
	
	padding: 0 10px;
	margin-bottom: 20px;
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	
	font-size: 11px;
}

.invoice .details div {
	display: table-cell;
	padding: 10px;
	padding-left: 15px;
	
	border: 1px solid #d3d8dc;
	border-left-width: 0;
	border-right-width: 0;
	background: #eceff2
}

.invoice .details div:first-child {
	border-left-width: 1px;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}

.invoice .details div:last-child {
	border-right-width: 1px;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}

.invoice .details .highlighted {
	background: #505d6d;
	border-color: #30363d;
	border-width: 1px;
}

.invoice table {
	padding: 0 10px;
}


.invoice .total {
	float: right;
	
	margin: 10px;
	
	background: #505d6d;
	border: 1px solid #30363d;
	border-radius: 5px;
}

.invoice .total span, .invoice .total strong {
	display: inline-block;

	padding: 15px 20px;
}

.invoice .total strong {
	border-left: 1px solid #30363d;
}


.invoice .notes {
	padding: 10px;
}

.invoice .notes :first-child {
	padding-top: 0;
	margin-top: 0;
}


/* ********************************************* */
/* Icon Demo */

span.icon-demo {
	margin: 10px;
	font-size: 24px;
	color: #3E4B58;
	cursor: pointer;
}

img.icon-demo {
	margin: 10px;
	cursor: pointer;
}

/* ********************************************* */
/* Notifications */

div.jGrowl div.jGrowl-notification, div.jGrowl div.jGrowl-notification, div.jGrowl div.jGrowl-closer {
	margin-right: 0;
	
	border: 1px solid #000;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.32),
				0 1px 7px #000;
	background: url('../img/elements/notifications/bg.png') repeat-x #1e2a39;
	border-radius: 3px;
}

div.jGrowl div.jGrowl-notification div.jGrowl-header {
	margin-bottom: 5px;
}

div.jGrowl.top-right {
	right: 4%;
	top: 35px;
}

@media screen and (min-width:1281px) {
	div.jGrowl.top-right {
		right: 10%;
	}
}


/* ********************************************* */
/* AT THE BOTTOM */

.ui-button.ui-state-default, .ui-button.ui-state-hover, .ui-button.ui-state-active {
	border-radius: 3px;
}

.ui-buttonset .ui-button {
	border-radius: 0;
}

.ui-buttonset .ui-corner-left {
	border-radius: 3px 0 0 3px;
}

.ui-buttonset .ui-corner-right {
	border-radius: 0 3px 3px 0;
}
