@import url('../_shared_/reset2.css');
@import url('../_shared_/grids2.css');

body {
	color: #333;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 12px;
	background-color: #fff;
	line-height: 1.1;
}

.hide { display: none; }

/**
  * Basic layout
  **/
.header {
	background: #4077BB url('/images/portal/button-overlay.png') repeat-x;
	color: #fff;
	height: 45px;
}

.header div {
	margin: 0;
	padding: 0 5px;
}

.header .middle {
	line-height: 45px;
}

#content {
	clear: both;
	padding: 10px;
}

#menu {
	padding-bottom: 20px;
}

#footer {
	clear: both;
}

.message {
	clear: both;
}

.message_error{
        color: #fff;
        background-color: #b51b1b;

        background-image: -webkit-gradient(
        linear,
        left bottom,
                left top,
        color-stop(0.25, rgb(181,27,27)),
        color-stop(0.63, rgb(161,23,23))
                );

        background-image: -moz-linear-gradient(
        center bottom,
                rgb(181,27,27) 25%,
        rgb(161,23,23) 63%
        );
}

.message_success{
        color: #fff;
        background-color: #00ff7f;

        background-image: -webkit-gradient(
        linear,
        left bottom,
                left top,
        color-stop(0.25, rgb(0,255,127)),
        color-stop(0.63, rgb(0,191,95))
                );

        background-image: -moz-linear-gradient(
        center bottom,
                rgb(0,255,127) 25%,
	        rgb(0,191,95) 63%
        );
}



/**
  * Typography
  **/
h1,h2,h3,h4,h5,h6 {
	clear: both;
	color: #315b8f;
}

h1 {
	font-size: 24pt;
	margin-bottom: 0.5ex;
}

h2 {
	font-size: 20pt;
}

#content h2 {
	line-height: 2;
}

.box h2 {
	line-height: 1 !important;
	margin-top: 0 !important;
}

h2 a.button {
	vertical-align: middle;
}

h3 {
	font-size: 18pt;
}

.box h2 {
	color: #4077BB;
} 
a.box:hover h2 {
	color: #fff;
}


a {
	color: #4077bb;
	text-decoration: none;
}

.header a {
	color: #fff;
	text-decoration: underline;
}

p {
	margin: 0.5em 0px;
}

dl {
	padding-left: 6px;
	width: 400px;
}

dt {
	font-weight: bold;
	padding-top: 5px;
}

dd {
	padding-bottom: 2ex;
	margin-left: 200px;
	//float: right;
}


/**
  * Login box
  **/
form.large {
	margin: 100px auto 0;
	width: 700px;
}

form.large .fields {
	margin: auto;
}

form.large .fields div {
	float: left;
	width: 350px;
}

form.large label, form.large input {
	display: block;
}

form.large label {
	font-size: 1.5em;
}

form.large input {
	border: 1px solid #333;
	font-size: 1.5em;
	width: 300px;
}
form.large input[type=submit]{
	border: 0;
	margin-top: 10px;
	width: 200px;
}

form div.buttons {
	clear: both;
	float: right;
}


/**
  * Tables, pagination etc
  **/

table {
	/* background: #4077BB url('/images/portal/button-overlay.png') repeat-x; */
	border: 1px solid #063e84;
	color: black;
	font-size: 10pt;
	width: 100%;
}

tr {
	/* 	background: #4077BB url('/images/portal/button-overlay.png') repeat-x; */
	/* border-bottom: 1px solid #063e84; */
}

tr:nth-child(2n) {
	background-color: lightgray;
}
tr:hover {
	background-color: lightblue;
}

td { 
	text-align: center;
	padding: 4px;
	color: black;
}

th {
	color: white;
	padding: 4px;
}
th a {
	color: white !important;
}

.ui-sortable-helper td {
	display: none;
}

.ui-sortable-placeholder {
	height: 40px;
}

th {
	background-color: #063e84;
	font-weight: bold;
	text-align: center;
}

td {
	/*ckground: #4077BB url('/images/portal/button-overlay.png') repeat-x; */
}

td img, .pagination img{
	vertical-align: middle;
}

.pagination {
	text-align: center;
}


/**
  * Objects
  **/
.clear {
	clear: both;
}

.textRight {
	text-align: right;
}

.floatRight {
	float: right;
}

.textCenter {
	text-align: center;
}

.small {
	font-size: 8pt;
}

.gradient {
	background: #4077BB url('/images/portal/button-overlay.png') repeat-x;
}

.breadcrumb {
	list-style: none;
	margin-bottom: 10px;
	overflow: hidden;
}

.breadcrumb li {
	float: left;
	max-width: 1000px;
	margin: auto;
	padding: 0 10px;
}

.breadcrumb li:first-child {
	padding-left: 0;
}

.breadcrumb li a {
        background-color: #4077bb;
	color: #fff;
	display: block;
	float: left;
	padding: 10px 0 10px 25px;
	position: relative;
}

.breadcrumb li a:after {
        content: " ";
        display: block;
        width: 0;
        height: 0;
        border-top: 50px solid transparent;           /* Go big on the size, and let overflow hide */
        border-bottom: 50px solid transparent;
        border-left: 30px solid #4077bb;
        position: absolute;
        top: 50%;
        margin-top: -50px;
        left: 100%;
        z-index: 2;
}

.breadcrumb li a:before {
        content: " ";
        display: block;
        width: 0;
        height: 0;
        border-top: 50px solid transparent;
        border-bottom: 50px solid transparent;
        border-left: 30px solid white;
        position: absolute;
        top: 50%;
        margin-top: -50px;
        margin-left: 1px;
        left: 100%;
        z-index: 1;
}

.breadcrumb li.current a {
	color: #d4d6ff;
}


.menuitems li{
	display: inline-block;
	padding: 0 25px;
}


form.inline label {
	margin-right: 20px;
}




/* Grid boxes */
.box {
	border: 1px solid #ddd;
	line-height: 1;
	position: relative;
}

a.box:hover {
	background: #4077BB url('/images/portal/button-overlay.png') repeat-x;
	color: #fff;
}

.box.third {
	float: left;
	min-height: 8ex;
	margin: 0 1% 1% 0;
	padding: 5px;
	width: 323px;
}

.box:not(.button) a	{
	color: #333;
}

.box .aside {
	bottom: 3px;
	font-size: 8pt;
	position: absolute;
	right: 3px;
	text-align: right;
}

table a {
	color: black;

/*	color: #fff; */
	text-decoration: underline;
}

.box.formatted {
	margin-bottom: 1ex;
	padding: 5px;
}

.box.formatted h3 {
	height: 20px;
}


.box.formatted .boxcontent {
/*	display: none;*/
}

.box.formatted .item {
	border: 1px solid #ddd;
	display: table-cell;
	float: left;
	font-size: 11pt;
	height: 4ex;
	padding-bottom: 10px;
	width: 25%;
}

.box.formatted .item input {
	margin: 0;
	vertical-align: baseline;
}

.box.formatted .item label {
	display: block;
}

/* Two column layout */
#maincontent {
	float: left;
	height: 100%;
	margin-left: 10px;
/**	overflow: auto; **/  /** Graeme commented out on 17/07/2012 **/
	width: 79%;
}

#sidebar {
	float: left;
	overflow: auto;
	width: 20%;
}

#sidebar h2 {
	background-color: #000;
	color: #fff;
	font-size: 16pt;
	line-height: 1;
	padding: 5px;
}

#sidebar li {
	color: #fff;
	background: #444; /* Old browsers */

	background: #444; /* Old browsers */
	background: -moz-linear-gradient(top, #444 0%, #4a4a4a 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#444), color-stop(100%,#4a4a4a)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #444 0%,#4a4a4a 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #444 0%,#4a4a4a 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, #444 0%,#4a4a4a 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#444', endColorstr='#4A4A4A',GradientType=0 ); /* IE6-9 */
	background: linear-gradient(top, #444 0%,#4a4a4a 100%); /* W3C */
}

#sidebar li a {
	color: #fff;
	display: block;
	padding: 5px 0 5px 5px;	
}

#sidebar li p {
	font-size: 10pt;
	margin: 0;
}


#template {
	display: none;
}


/* Buttons */
.button, .button:visited {
	background: #222 url('/images/portal/button-overlay.png') repeat-x;
	display: inline-block;
	padding: 5px 10px 6px;
	color: #fff;
	text-decoration: none;
	border: 0;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
	border-bottom: 1px solid rgba(0,0,0,0.25);
	position: relative;
	cursor: pointer;
	float: none;
}

.button:hover						{ background-color: #111; color: #fff; }
a.button:active						{ top: 1px; }
.small.button, .small.button:visited 			{ font-size: 11px; padding: ; }
.button, .button:visited
.medium.button, .medium.button:visited 			{ font-size: 13px; font-weight: bold; line-height: 1; text-shadow: 0 -1px 1px rgba(0,0,0,0.25); }
.large.button, .large.button:visited 			{ font-size: 14px; padding: 8px 14px 9px; }

.blue.button, .blue.button:visited			{ background-color: #4077bb; }
.blue.button:hover					{ background-color: #2d5d98; }
.purple.button, .purple.button:visited			{ background-color: #323581; }
.purple.button:hover					{ background-color: #24254d; }


/**
  * Grid (Edit page)
  **/

.adepteo_grid {
	background: #4077BB url('/images/portal/button-overlay.png') repeat-x;
	//color: #fff;
}




.floatRight {
	float: right;
}

.hidden {
	display: none;
}

.dialog {
	color: #fff;
	background-color: #4077BB;
	visibility: hidden;

	position: fixed;
	top: 150px;

	z-index: 9999;

	-webkit-box-shadow: 1px 1px 10px 5px #000000;
	-moz-box-shadow: 1px 1px 10px 5px #000000;
	box-shadow: 1px 1px 10px 5px #000000;
}
