/*
    DJANGO Admin styles
*/

body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: "Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif;
    color: #2f3033;
	background: #052447;
	background: -moz-linear-gradient(top, #052447 0%, #052447 0%, #5a7899 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, #052447), color-stop(0%, #052447), color-stop(100%, #5a7899));
	background: -webkit-linear-gradient(top, #052447 0%, #052447 0%, #5a7899 100%);
	background: -o-linear-gradient(top, #052447 0%, #052447 0%, #5a7899 100%);
	background: -ms-linear-gradient(top, #052447 0%, #052447 0%, #5a7899 100%);
	background: #fff linear-gradient(to bottom, #fff 0%, #fff 0%, #7cbbff 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#052447', endColorstr='#5a7899', GradientType=0 );
}

/* LINKS */

a:link, a:visited {
    color: #2f3033;
    text-decoration: none;
}

a:hover {
    color: #636262;
}
å
a img {
    border: none;
}

a.section:link, a.section:visited {
    color: #fff;
    text-decoration: none;
}

/* GLOBAL DEFAULTS */

p, ol, ul, dl {
    margin: .2em 0 .8em 0;
}

p {
    padding: 0;
    line-height: 140%;
	color: #9E9E9E;
}

h1,h2,h3,h4,h5 {
    font-weight: bold;
}

h1 {
    font-size: 18px;
    color: #2f3033;
    padding: 0 6px 0 0;
    margin: 0 0 .2em 0;
}

h2 {
    font-size: 16px;
    margin: 1em 0 .5em 0;
}

h2.subhead {
    font-weight: normal;
    margin-top: 0;
}

h3 {
    font-size: 14px;
    margin: .8em 0 .3em 0;
    color: #fff;
    font-weight: bold;
}

h4 {
    font-size: 12px;
    margin: 1em 0 .8em 0;
    padding-bottom: 3px;
}

h5 {
    font-size: 10px;
    margin: 1.5em 0 .5em 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

ul li {
    list-style-type: square;
    padding: 1px 0;
}

ul.plainlist {
    margin-left: 0 !important;
}

ul.plainlist li {
    list-style-type: none;
}

li ul {
    margin-bottom: 0;
}

li, dt, dd {
    font-size: 18px;
    line-height: 20px;
}

dt {
    font-weight: bold;
    margin-top: 4px;
}

dd {
    margin-left: 0;
}

form {
    margin: 0;
    padding: 0;
}

fieldset {
    margin: 0;
    padding: 0;
}

blockquote {
    font-size: 16px;
    color: #777;
    margin-left: 2px;
    padding-left: 10px;
    border-left: 5px solid #ddd;
}

code, pre {
    font-family: "Bitstream Vera Sans Mono", Monaco, "Courier New", Courier, monospace;
    color: #fff;
    font-size: 16px;
}

pre.literal-block {
    margin: 10px;
    background: #eee;
    padding: 6px 8px;
}

code strong {
    color: #930;
}

hr {
    clear: both;
    color: #eee;
    background-color: #eee;
    height: 1px;
    border: none;
    margin: 0;
    padding: 0;
    font-size: 1px;
    line-height: 1px;
}

/* TEXT STYLES & MODIFIERS */

.small {
    font-size: 16px;
}

.tiny {
    font-size: 10px;
}

p.tiny {
    margin-top: -2px;
}

.mini {
    font-size: 9px;
}

p.mini {
    margin-top: -3px;
}

.help, p.help {
    font-size: 18px !important;
    color: #999;
}

img.help-tooltip {
    cursor: help;
}

p img, h1 img, h2 img, h3 img, h4 img, td img {
    vertical-align: middle;
}

.quiet, a.quiet:link, a.quiet:visited {
    color: #999 !important;
    font-weight: normal !important;
}

.quiet strong {
    font-weight: bold !important;
}

.float-right {
    float: right;
}

.float-left {
    float: left;
}

.clear {
    clear: both;
}

.align-left {
    text-align: left;
}

.align-right {
    text-align: right;
}

.example {
    margin: 10px 0;
    padding: 5px 10px;
    background: #efefef;
}

.nowrap {
    white-space: nowrap;
}

.hide { 
	display: none;
}

/* TABLES */

table {
    border-collapse: collapse;
    border-color: #ccc;
}

td, th {
    font-size: 23px;
    line-height: 40px;
    border-bottom: 1px solid #95989b;
    vertical-align: top;
    padding: 5px;
    font-family: "Lucida Grande", Verdana, Arial, sans-serif;
}

th {
    text-align: left;
    font-size: 23px;
    font-weight: bold;
	line-height: 40px;
}

thead th,
tfoot td {
    color: #2f3033;
    padding: 2px 5px;
    font-size: 18px;
    background: #e1e1e1 url(../img/nav-bg.gif) top left repeat-x;
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

tfoot td {
    border-bottom: none;
    border-top: 1px solid #ddd;
}

thead th:first-child,
tfoot td:first-child {
    border-left: none !important;
	background: #99bbfa;
	padding: 7px;
}

thead th.optional {
    font-weight: normal !important;
}

fieldset table {
/*    border-right: 1px solid #eee;*/
}

tr.row-label td {
    font-size: 9px;
    padding-top: 2px;
    padding-bottom: 0;
    border-bottom: none;
    color: #fff;
    margin-top: -1px;
}

tr.alt {
    background: #f6f6f6;
}

.row1 {
    background: #EDF3FE;
}

.row2 {
    background: #EDF3FE;
}

.inline-related .row1 {
    background: #EDF3FE;
}

.inline-related .row2 {
    background: #EDF3FE;
}

/* SORTABLE TABLES */

thead th {
    padding: 2px 5px;
    line-height: normal;
	background: #99bbfa;
	padding: 7px;
	border-left: 0.1px solid #95989b;
	border-bottom: 1px solid #95989b;
}

thead th a:link, thead th a:visited {
    color: #000;
}

thead th.sorted {
    background: #c5c5c5 url(../img/nav-bg-selected.gif) top left repeat-x;
}

thead th.sorted .text {
    padding-right: 42px;
}

table thead th .text span {
    padding: 2px 5px;
    display:block;
}

table thead th .text a {
    display: block;
    cursor: pointer;
    padding: 2px 5px;
}

table thead th.sortable:hover {
    background: #fff url(../img/nav-bg-reverse.gif) 0 -5px repeat-x;
}

thead th.sorted a.sortremove {
    visibility: hidden;
}

table thead th.sorted:hover a.sortremove {
    visibility: visible;
}

table thead th.sorted .sortoptions {
    display: block;
    padding: 4px 5px 0 5px;
    float: right;
    text-align: right;
}

table thead th.sorted .sortpriority {
    font-size: .8em;
    min-width: 12px;
    text-align: center;
    vertical-align: top;
}

table thead th.sorted .sortoptions a {
    width: 14px;
    height: 12px;
    display: inline-block;
}

table thead th.sorted .sortoptions a.sortremove {
    background: url(../img/sorting-icons.gif) -4px -5px no-repeat;
}

table thead th.sorted .sortoptions a.sortremove:hover {
    background: url(../img/sorting-icons.gif) -4px -27px no-repeat;
}

table thead th.sorted .sortoptions a.ascending {
    background: url(../img/sorting-icons.gif) -5px -50px no-repeat;
}

table thead th.sorted .sortoptions a.ascending:hover {
    background: url(../img/sorting-icons.gif) -5px -72px no-repeat;
}

table thead th.sorted .sortoptions a.descending {
    background: url(../img/sorting-icons.gif) -5px -94px no-repeat;
}

table thead th.sorted .sortoptions a.descending:hover {
    background: url(../img/sorting-icons.gif) -5px -115px no-repeat;
}

/* ORDERABLE TABLES */

table.orderable tbody tr td:hover {
    cursor: move;
}

table.orderable tbody tr td:first-child {
    padding-left: 14px;
    background-image: url(../img/nav-bg-grabber.gif);
    background-repeat: repeat-y;
}

table.orderable-initalized .order-cell, body>tr>td.order-cell {
    display: none;
}

/* FORM DEFAULTS */

input, textarea, select, .form-row p, form .button {
    margin: 2px 0;
    padding: 2px 3px;
    vertical-align: middle;
    font-family: "Lucida Grande", Verdana, Arial, sans-serif;
    font-weight: normal;
    font-size: 20px;
}

textarea {
    vertical-align: top !important;
}

input[type=text], input[type=password], input[type=email], input[type=url], input[type=number],
textarea, select, .vTextField {
    border: 1px solid #4a78cc;
}

/* FORM BUTTONS */

.button, input[type=submit], input[type=button], .submit-row input, a.button {
    background: #fff url(../img/nav-bg.gif) bottom repeat-x;
    padding: 3px 5px;
    color: black;
    border: 1px solid #bbb;
    border-color: #ddd #aaa #aaa #ddd;
}

a.cancel-link {
    display: none;
}

a.button {
    padding: 4px 5px;
}
 
.button:active, input[type=submit]:active, input[type=button]:active {
    background-image: url(../img/nav-bg-reverse.gif);
    background-position: top;
}

.button[disabled], input[type=submit][disabled], input[type=button][disabled] {
	background-image: url(../img/nav-bg.gif);
	background-position: bottom;
	opacity: 0.4;
}

.button.default, input[type=submit].default, .submit-row input.default {
    border: 2px solid #7CA0C7;
    background: #7CA0C7 url(../img/fourleaf/default-bg.gif) bottom repeat-x;
    font-weight: bold;
    color: #fff;
    float: right;
	padding: 8px 20px 8px 20px;
	font-size: 29px;
}

.button.default:active, input[type=submit].default:active {
    background-image: url(../img/default-bg-reverse.gif);
    background-position: top;
}

.button[disabled].default, input[type=submit][disabled].default, input[type=button][disabled].default {
	background-image: url(../img/default-bg.gif);
	background-position: bottom;
	opacity: 0.4;
}


/* MODULES */

.module {
    border: 1px solid #929292;
    margin-bottom: 5px;
    background: #EDF3FE;
    border: 1px solid #95989b;
}

.module p, .module ul, .module h3, .module h4, .module dl, .module pre {
    padding-left: 18px;
    padding-right: 10px;
}

.module blockquote {
    margin-left: 12px;
}

.module ul, .module ol {
    margin-left: 1.5em;
}

.module h3 {
    margin-top: .6em;
}

.module h2, .module caption, .inline-group h2 {
    margin: 0;
    padding: 8px 5px 16px 15px;
    font-size: 20px;
    text-align: left;
    font-weight: bold;
	background: #99bbfa;
    color: #3e3f42;
	border-bottom: 1px solid #95989b;
	height: 17px;
}

.module table {
    border-collapse: collapse;
	background: #EDF3FE;
}

/* MESSAGES & ERRORS */

ul.messagelist {
    padding: 0;
    margin: 0;
}

ul.messagelist li {
    font-size: 16px;
    font-weight: bold;
    display: block;
    padding: 5px 5px 4px 25px;
    margin: 0 0 3px 0;
    border-bottom: 1px solid #ddd;
    color: #000;
    background: #dfd url(../img/icon_success.gif) 5px .3em no-repeat;
}

ul.messagelist li.warning {
    background: #ffc url(../img/icon_alert.gif) 5px .3em no-repeat;
}

ul.messagelist li.error {
    background: #ffefef url(../img/icon_error.gif) 5px .3em no-repeat;
}

.errornote {
    font-size: 16px !important;
    font-weight: bold;
    display: block;
    padding: 5px 5px 4px 25px;
    margin: 0 0 3px 0;
    border: 1px solid #c22;
    color: #c11;
    background: #ffefef url(../img/icon_error.gif) 5px .38em no-repeat;
}

.errornote, ul.errorlist {
    border-radius: 1px;
}

ul.errorlist {
    margin: 0 0 4px !important;
    padding: 0 !important;
    color: #fff;
    background: #c11;
}

ul.errorlist li {
    font-size: 16px !important;
    display: block;
    padding: 5px 5px 4px 7px;
    margin: 3px 0 0 0;
}

ul.errorlist li:first-child {
    margin-top: 0;
}

ul.errorlist li a {
    color: #fff;
    text-decoration: underline;
}

td ul.errorlist {
    margin: 0 !important;
    padding: 0 !important;
}

td ul.errorlist li {
    margin: 0 !important;
}

.errors, .form-row.errors {
    background: #ffefef;
}

.form-row.errors {
    border: 1px solid #c22;
    margin: -1px;
}

.errors input, .errors select, .errors textarea {
    border: 1px solid #c11;
}

div.system-message {
    background: #ffc;
    margin: 10px;
    padding: 6px 8px;
    font-size: .8em;
}

div.system-message p.system-message-title {
    padding: 4px 5px 4px 25px;
    margin: 0;
    color: #c11;
    background: #ffefef url(../img/icon_error.gif) 5px .3em no-repeat;
}

.description {
    font-size: 16px;
    padding: 5px 0 0 12px;
}

/* BREADCRUMBS */

div.breadcrumbs {
    padding: 6px 22px 7px 22px;
    font-size: 22px;
    color: #2f3033;
    border-bottom: 1px solid #8C8C8C;
    text-align: left;
}

/* ACTION ICONS */

.addlink {
    padding-left: 23px;
    background: url(../img/icon_addlink.gif) 0 .5em no-repeat;
}

.changelink, .inlinechangelink {
    padding-left: 12px;
    background: url(../img/icon_changelink.gif) 0 .7em no-repeat;
}

.deletelink {
    padding-left: 12px;
    background: url(../img/icon_deletelink.gif) 0 .25em no-repeat;
}

a.deletelink:link, a.deletelink:visited {
    color: #CC3434;
}

a.deletelink:hover {
    color: #993333;
}

/* OBJECT TOOLS */

.object-tools {
    font-size: 10px;
    font-weight: bold;
    font-family: Arial,Helvetica,sans-serif;
    padding-left: 0;
    float: right;
    position: relative;
	margin-top: -3.4em;
    margin-bottom: -2em;
}

.form-row .object-tools {
    margin-top: 5px;
    margin-bottom: 5px;
    float: none;
    height: 2em;
    padding-left: 3.5em;
}

.object-tools li {
    display: block;
    float: left;
    margin-left: 5px;
    height: 16px;
}

.object-tools a {
    border-radius: 15px;
}

.object-tools a:link, .object-tools a:visited {
    display: block;
    float: left;
    color: #2f3033;
    padding: .4em 16px;
    background: #99bbfa;
	margin-top: -5px;
}

.object-tools a:hover, .object-tools li:hover a {
    color: #fff;
    background-color: #999;
}

.object-tools a.viewsitelink, .object-tools a.golink {
    background: #5b80b2 url(../img/tooltag-arrowright.png) 95% center no-repeat;
    padding-right: 26px;
}

.object-tools a.addlink {
    background: #99bbfa url(../img/tooltag-add.png) 95% center no-repeat;
    padding-right: 26px;
}

/* OBJECT HISTORY */

table#change-history {
    width: 100%;
}

table#change-history tbody th {
    width: 16em;
}

/* PAGE STRUCTURE */

#container {
    position: relative;
    width: 100%;
    min-width: 760px;
    padding: 0;
}

#content {
    margin: 10px 15px;
}

#content-main {
    width: 100%;
	padding-top: 8px;
}

#content-related {
    position: relative;
	margin-top: 3em;
}

#footer {
    clear: both;
    padding: 0px;
}

#footer .footer-help-area {
    background: #052447;
	margin: 50px 0 0 0;
}

/* COLUMN TYPES */

.colMS {
	margin: 40px auto !important;
}

.colSM {
    margin-left: 20em !important;
}

.colSM #content-related {
    float: left;
    margin-right: 0;
    margin-left: -19em;
}

.colSM #content-main {
    float: right;
}

.popup .colM {
    width: 95%;
}

.subcol {
    float: left;
    width: 46%;
    margin-right: 15px;
}

.dashboard #content {
    width: 500px;
}

/* HEADER */

#header {
    width: 100%;
	background-color: black;
	background-image: url(../img/fourleaf/head-bar.jpg);
	height: 44px;
    color: #ffc;
    overflow: hidden;
}

#header a:link, #header a:visited {
    color: #fff;
}

#header a:hover {
    text-decoration: underline;
}

#branding {
    color: #2f3033;
    display: table-cell;
    vertical-align: middle;
	padding-left: 7px;
}

#branding h1 {
    padding: 0 10px;
    font-size: 25px;
    margin: 8px 0;
    font-weight: normal;
    color: #2f3033;
}

#branding h1, #branding h1 a:link, #branding h1 a:visited {
    color: #2f3033;
}
 
#branding h2 {
    padding: 0 10px;
    font-size: 16px;
    margin: -8px 0 8px 0;
    font-weight: normal;
    color: #ffc;
}

#branding a:hover {
    text-decoration: none;
}

#user-tools {
    float: right;
    padding: 1.2em 10px;
    font-size: 16px;
    text-align: right;
}

/* SIDEBAR */

#content-related h3 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 3px;
}

#content-related h4 {
    font-size: 16px;
}

#content-related .module h2 {
    background: #787878;
    color: #fff;
}

/*change history*/
#change-history thead th {
	background: #5C5C5C;
	padding: 9px;
}

img.fourleaf_cloud_logo {
	float: left;
	margin-left: 16px;
	margin-top: 4px;
	margin-right: 9px;
}

a.status_ord {
	color: #f5ff4d;
}

a.status_rec, a.status_pro {
	color: #60ff00;
}

a.status_pay {
	color: #49FFF7;
}

a.status_rej {

}

a.status_fin {

}

ul.dashboard_ul li {
	font-size: 23px;
	line-height: 18px;
}

.collapsed a:link, .collapsed a:visited {
    color: #999;
}

#tabs {
	background: transparent;
	padding: px;
	border: 0px;
}
#tabs ul.ui-tabs-nav {
    padding: 0px;
    padding-bottom: 5px;
	border: 0px;
	background: transparent;
}
#tabs li.default {
	background: rgb(79, 79, 79);
	z-index: 5;
	top: 1px;
	margin-top: -6px;
	height: 44px;
}
#tabs li.default a {
    margin-top: 4px;
}
#tabs li.default a:link, #tabs li.default a:visited {
	color: white;
}
#tabs li.link a:link, #tabs li.link a:visited {
	color: #000;
}
#tabs .ui-widget-content {
	color: #2f3033;
}
#tabs #content-main {
	padding: 0px;
}
#tabs .ui-widget-content a:link, #tabs .ui-widget-content a:visited {
	color: #2f3033;
}
#tabs .ui-widget-content a:hover {
	color: #ADADAD;
}
#tabs a.deletelink {
	font-family: "Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif;
}
#tabs a.deletelink:link, #tabs a.deletelink:visited {
	color: #CC3434;
}
#tabs a.deletelink:hover {
	color: #993333;
}
#tabs .collapsed a:link, #tabs .collapsed a:visited {
	color: #999;
}
#tabs .collapsed a:hover {
	color: #000;
}

#tabs .paginator a:link, #tabs .paginator a:visited {
	padding: 2px 6px;
	border: solid 1px #ccc;
	background: white;
	text-decoration: none;
	color: #000;
}

#tabs .paginator a:hover {
	color: white;
	background: #5b80b2;
	border-color: #036;
}

.add.ui-state-default, .ui-widget-content .add.ui-state-default, .ui-widget-header .add.ui-state-default {
	background: #e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400_3.png) 50% 50% repeat-x;
}

.opacity_hide {
	display: none;
}

#loading_panel {
	position: fixed;
	top: 0px;
	width: 100%;
	display: none;
}

#loading_panel .message
{
	margin: 0 auto;
	width: 197px;
	background: white;
	color: black;
	text-align: center;
	font-size: 27px;
	padding: 4px;
	border-radius: 0px 0px 18px 18px;
	border: 3px solid;
	border-top-width: 0px;
}

.history_action
{
	white-space: pre-wrap;       /* css-3 */
	white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
	white-space: -pre-wrap;      /* Opera 4-6 */
	white-space: -o-pre-wrap;    /* Opera 7 */
	word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

/* Admin User Group Setting */
div.field-permissions div.selector-available select {
	width: 500px;
}
/* End Admin User Group Setting */

/* Top Header */
header.top-header {
    background: #e5f0ff;
    border-bottom: 1px solid #8C8C8C;
    font-family: Helvetica;
}

div.top-header-inner {
    display: table;
    height: 100px;
    margin: 0 auto;
    width: 100%;
}

nav.top-header-user-nav {
    text-align: right;
    display: table-cell;
    vertical-align: middle;
}

span.top-header-welcome {
    color: #2f3033;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: normal;
    margin: 0 0px 0px 25px;
    font-size: 22px;
    font-weight: 100;
	vertical-align: middle;
}

a.logout {
    display: inline-block;
    margin: 0 23px 0 33px;
    border-radius: 4px;
    border: 1px solid #2f3033;
    cursor: pointer;
    padding: 7px 16px;
    position: relative;   vertical-align: middle;   white-space: nowrap;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 100;
    font-size: 22px;
    line-height: 1.5;
}

/* Footer For Dashboard */
div.footer-dashboard-container {
	margin: 0 auto;
	padding: 0;
	width: 860px;
}

section.footer-dashboard-banner-bottom {
	height: 140px;
	padding: 32px 0 0 0;
	clear: both;
	box-sizing: border-box;
}

div.footer-dashboard-banner-info {
	float: left;
	width: 598px;
}

div.footer-dashboard-banner-info h1 {
	color: #2f3033;font-size: 20px;font-family: Helvetica;margin: 0.5em 0 .2em 0;
}

div.footer-dashboard-banner-info h4 {
	color: #2f3033;width: 90%;margin-top: 10px;font-size: 13px;margin: 1em 0 0.8em 0;padding-bottom: 3px;
}

a.footer-dashboard-help {
	display: block;
	float: left;
	margin-top: 10px;
	width: 262px;
	height: 58px;
	padding: 18px 0 0 0;
	background: #ffa100;
	border: 0 #ffa100 solid;
	border-radius: 5px;
	text-align: center;
	text-transform: uppercase;
	box-sizing: border-box;
	font-size: 18px;
	font-weight: normal;
	font-family: Helvetica;
}

a.footer-dashboard-help:hover {
	color: black;
}
