body {
    color: #000000;
    font-family: Verdana, 'Lucida Grande';
    margin: 10px;
    padding: 10px;
    font-size: 12px;
}

/* Logo */
.logo_amazin {
    text-decoration: none;
    font-size: 1.5em                            !important;
    font-family: 'Monotype Corsiva', Daniela    !important;
    font-style: italic                          !important;
    font-weight: bold                           !important;
}
.logo_grape {
    text-decoration: none   !important;
    font-size: 1.2em        !important;
    font-family: 'Georgia'  !important;
    font-weight: bold       !important;
}

/* Used on the Distributor Processing page */
.statement {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
}

/* Add a glow around input fields */
input, textarea {
    /* transition: property duration timing-function delay|initial|inherit; */
    -webkit-transition: all 0.30s ease-in-out 0s;
    -moz-transition: all 0.30s ease-in-out 0s;
    -ms-transition: all 0.30s ease-in-out 0s;
    -o-transition: all 0.30s ease-in-out 0s;
    transition: all 0.30s ease-in-out 0s;
    /*
    padding: 3px 0px 3px 3px;
    margin: 5px 1px 3px 0px;
    */
    border: 1px solid #DDDDDD;
    outline: none;
}
input:focus, textarea:focus {
    box-shadow: 0 0 6px 1px #51CBEE;
    border: 1px solid #51CBEE;
    outline: none;
    /*
    padding: 3px 0px 3px 3px;
    margin: 5px 1px 3px 0px;
    */
}
/* Valid content */
.valid input:focus, .valid textarea:focus {
    box-shadow: 0 0 6px 1px #5ADC5A;
    border: 1px solid #5ADC5A;
    outline: none;
    /*
    padding: 3px 0px 3px 3px;
    margin: 5px 1px 3px 0px;
    */
}
/* Invalid content */
.invalid input:focus, .invalid textarea:focus {
    box-shadow: 0 0 6px 1px #FF8282;
    border: 1px solid #FF8282;
    outline: none;
    /*
    padding: 3px 0px 3px 3px;
    margin: 5px 1px 3px 0px;
    */
}
.invalid input, .invalid textarea {
    box-shadow: 0 0 6px 1px #FF8282;
    border: 1px solid #FF8282;
    outline: none;
    /*
    padding: 3px 0px 3px 3px;
    margin: 5px 1px 3px 0px;
    */
}

#container {
    width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/**
 * CSS menu
 */
#cssmenu ul {
    margin: 0;
    padding: 0;
}
#cssmenu li {
    margin: 0;
    padding: 0;
}
#cssmenu a {
    margin: 0;
    padding: 0;
}
#cssmenu ul {
    list-style: none;
}
#cssmenu a {
    text-decoration: none;
}
#cssmenu {
    height: 40px;
    background-color: #FF9900;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4);
    width: auto;
    /*
     * Force the CSS menu to be on top of the DataTables.
     * z-index requires a position.
     */
    position: relative;
    z-index: 100;
}
#cssmenu > ul > li {
    float: left;
    margin-left: 5px;
    position: relative;
}
#cssmenu > ul > li > a {
    color: #ffffff;
    font-family: Verdana, 'Lucida Grande';
    font-size: 1.2em;
    line-height: 40px;
    padding: 0.35em 0.6em;
    -webkit-transition: color .15s;
    -moz-transition: color .15s;
    -o-transition: color .15s;
    transition: color .15s;
}
#cssmenu > ul > li > a:hover {
    color: #ffffff;
}
#cssmenu > ul > li > ul {
    opacity: 0;
    visibility: hidden;
    padding: 16px 0 20px 0;
    background-color: #A8A8A8;
    text-align: left;
    position: absolute;
    top: 5px;
    left: 50%;
    margin-left: -90px;
    width: 180px;
    -webkit-transition: all .3s .1s;
    -moz-transition: all .3s .1s;
    -o-transition: all .3s .1s;
    transition: all .3s .1s;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
}
#cssmenu > ul > li:hover > ul {
    opacity: 1;
    top: 40px;
    visibility: visible;
}
#cssmenu > ul > li > ul:before {
    content: '';
    display: block;
    border-color: transparent transparent #fafafa transparent;
    border-style: solid;
    border-width: 10px;
    position: absolute;
    top: -20px;
    left: 50%;
    margin-left: -10px;
}
#cssmenu > ul ul > li {
    position: relative;
}
#cssmenu ul ul a {
    color: #323232;
    font-family: Verdana, 'Lucida Grande';
    font-size: 13px;
    background-color: #fafafa;
    padding: 5px 8px 7px 16px;
    display: block;
    -webkit-transition: background-color 0.1s;
    -moz-transition: background-color 0.1s;
    -o-transition: background-color 0.1s;
    transition: background-color 0.1s;
}
#cssmenu ul ul a:hover {
    background-color: #f0f0f0;
}
#cssmenu ul ul ul {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: -16px;
    left: 206px;
    padding: 16px 0 20px 0;
    background-color: #fafafa;
    text-align: left;
    width: 180px;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
}
#cssmenu ul ul > li:hover > ul {
    opacity: 1;
    left: 190px;
    visibility: visible;
}
#cssmenu ul ul a:hover {
    background-color: #cc2c24;
    color: #f0f0f0;
}

#cssmenu.admin, #cssmenu .admin {
    height: 40px;
    background-color: #FF5500;
}

/**
 * Other
 */
.tdborder {
    background-color: #F4F4F4;
}

#agColor {
    background-color: #441c45;
}
.amazingrape-color-purple {
	color: #441c45;
}

.button {
    background: #ff9933;
    -webkit-border-radius: 0.9em 0.9em 0.9em 0.9em;
    -moz-border-radius: 0.9em 0.9em 0.9em 0.9em;
    -khtml-border-radius: 0.9em 0.9em 0.9em 0.9em;
    border-radius: 0.9em 0.9em 0.9em 0.9em;
    border-left: 1px solid #006600;
    border-right: 1px solid #006600;
    border-bottom: 1px solid #006600;
    padding: 1em 1em;
	font-size: 0.9em;
    font-weight: bold;
}

.button-small {
    background: #ff9933;
    -webkit-border-radius: 0.9em 0.9em 0.9em 0.9em;
    -moz-border-radius: 0.9em 0.9em 0.9em 0.9em;
    -khtml-border-radius: 0.9em 0.9em 0.9em 0.9em;
    border-radius: 0.9em 0.9em 0.9em 0.9em;
    border-left: 1px solid #006600;
    border-right: 1px solid #006600;
    border-bottom: 1px solid #006600;
    padding: 0.5em 0.6em;
    font-size: 0.85em;
    font-weight: bold;
}

.buttonWide {
    background: #ff9933;
    -webkit-border-radius: 7px 7px 7px 7px;
    -moz-border-radius: 7px 7px 7px 7px;
    -khtml-border-radius: 7px 7px 7px 7px;
    border-radius: 7px 7px 7px 7px;
    border-left: 1px solid #006600;
    border-right: 1px solid #006600;
    border-bottom: 1px solid #006600;
    height: 30px;
    width: 80px;
    font-size: 10px;
    font-weight: bold;
}

.newForm {
    background: #f2d067;
    -webkit-border-radius: 7px 7px 7px 7px;
    -moz-border-radius: 7px 7px 7px 7px;
    -khtml-border-radius: 7px 7px 7px 7px;
    border-radius: 7px 7px 7px 7px;
    border-left: 1px solid #006600;
    border-right: 1px solid #006600;
    border-bottom: 1px solid #006600;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
}

.linkButton {
    background: #ff9933;
    -webkit-border-radius: 7px 7px 7px 7px;
    -moz-border-radius: 7px 7px 7px 7px;
    -khtml-border-radius: 7px 7px 7px 7px;
    border-radius: 7px 7px 7px 7px;
    border-left: 1px solid #006600;
    border-right: 1px solid #006600;
    border-bottom: 1px solid #006600;
    height: 30px;
    width: 140px;
    font-size: 10px;
    font-weight: bold;
}

.homeButton {
    background: #ff9933;
    -webkit-border-radius: 7px 7px 7px 7px;
    -moz-border-radius: 7px 7px 7px 7px;
    -khtml-border-radius: 7px 7px 7px 7px;
    border-radius: 7px 7px 7px 7px;
    border-left: 1px solid #006600;
    border-right: 1px solid #006600;
    border-bottom: 1px solid #006600;
    height: 30px;
    width: 75px;
    font-size: 10px;
    font-weight: bold;
}

.logoutButton {
    background: #FF0000;
    -webkit-border-radius: 7px 7px 7px 7px;
    -moz-border-radius: 7px 7px 7px 7px;
    -khtml-border-radius: 7px 7px 7px 7px;
    border-radius: 7px 7px 7px 7px;
    border-left: 1px solid #006600;
    border-right: 1px solid #006600;
    border-bottom: 1px solid #006600;
    height: 30px;
    width: 60px;
    font-size: 10px;
    font-weight: bold;
}

.divBorder {
    border: 2px solid #C0C0C0;
    border-radius: 5px;
}

.divBorder #newDistributorForm .formHeader {
    margin: 9px 1px 0px;
    padding: .5em .5em .5em .7em;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    /* border-spacing: 1px; */
    border-width: 1px;
    border-style: solid;
    border-color: #fbd850;
    background-color: #f6f6f6;
    color: #eb8f00;
    font-weight: bold;
    font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;
}

.divBorder #newDistributorForm .formHeader:hover {
}

.divBorder #newDistributorForm .formSection {
    background-color: #eeeeee;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-width: 1px;
    border-style: solid;
    border-color: #e2e2e2;
}

.divBorder #newDistributorForm .formSection:hover {
    background-color: #e4e4e4;
}

/*
 * .divBorder table conflicts with the DataTables CSS
 */
.divBorder #newDistributorForm table {
    padding: 1em 2.2em;
    font-size: 1.1em;
    font-family: "Trebuchet MS", sans-serif;
}

.divBorder #newDistributorForm .ccTable tr td:nth-child(1) {
    width: 20%
}
.divBorder #newDistributorForm .ccTable tr td:nth-child(2) {
    width: 80%
}

.gradient {
    /* height: 50px; */
    background: -webkit-linear-gradient(rgba(255,255,255,1), rgba(224,224,224,1)); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(rgba(255,255,255,1), rgba(224,224,224,1)); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(rgba(255,255,255,1), rgba(224,224,224,1)); /* For Firefox 3.6 to 15 */
    background: linear-gradient(rgba(255,255,255,1), rgba(224,224,224,1)); /* Standard syntax (must be last) */
}

/* Personal Sponsorship Genealogy */
.genealogy .section_header {
    width: 100%;
    padding: 12px 0px 6px 0px;
    text-align: center;
    font-weight: bold;
    font-size: large;
}
.genealogy .table_header {
    background-color: #F2D067;
    text-align: center;
    font-weight: bold;
    height: 16px;
}

/* Upline */
.genealogy .grandparent {
    background-color: #E0DFE3;
}
.genealogy .parent {
    background-color: #E0DFE3;
}
.genealogy .self {
    background-color: #FFFF00;
}

/* Downline */
.genealogy .disabled {
    color: #FF0000;
}

.disabled.strikeout td { position:relative;}
.disabled.strikeout td:before {
    content: " ";
    position: absolute;
    top: 50%;
    left: 0;
    border-bottom: 1px solid #FF0000;
    width: 100%;
}
.genealogy .ps_level1 {
    background-color: #FF9999;
}
.genealogy .ps_level2 {
    background-color: #99FF66;
}
.genealogy .ps_level3 {
    background-color: #B4CFEC;
}
/* Monthly matrix */
.matrix .section_header {
    width: 100%;
    height: 40px;
    text-align: center;
    font-weight: bold;
    font-size: large;
}
.matrix .table_header {
    background-color: #F2D067;
    text-align: center;
    height: 16px;
}
.matrix .disabled {
    color: #FF0000;
}
.matrix .row {
    background-color: #E0DFE3;
}

/* General backoffice styles */
.header-main {
	font-size: 1.5em;
}
.form-label {
	font-size: 1.2em;
	margin-right: 1.3em;
}
.center {
	text-align: center;
}
.center-box {
	margin: 0 auto;
}

/* Unknown / Miscc. */
.auto-style1 {
	text-align: center;
	background-image: url('/backoffice/images/topheader.png');
}
.auto-style2 {
	font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
	font-size: medium;
	color: #453D9A;
}
.auto-style3 {
	text-align: center;
	background-color: #CCF4A2;
}
.auto-style4 {
	font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
	font-size: medium;
}
.auto-style5 {
	font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
	font-size: large;
}
.auto-style6 {
	text-align: center;
	background-color: #FF9900;
}
.auto-style7 {
	text-align: center;
	font-size: x-large;
	font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}

/* jQuery UI styles */
/*
 * This is used in the date-month-picker
 */
.hide-calendar .ui-datepicker-calendar {
	display: none;
}

/*
 * DataTables styles
 * The default styles are in dataTables.css
 */
/*
 * Row highlighting (dataTables.css:510)
 */
.dataTable tbody tr.even:hover, tbody tr.even td.highlighted {
	/* Row color is white */
	background-color: #EEEEEE;
}

.dataTable tbody tr.odd:hover, tbody tr.odd td.highlighted {
	/* Row color is #E2E4FF */
	background-color: #EEEEEE;
}

/* The original doesn't highlight the sort row. */
.dataTable tr.even:hover {
	background-color: #E0E0E0;
}
.dataTable tr.even:hover td.sorting_1 {
	background-color: #E0E0E0;
}
.dataTable tr.even:hover td.sorting_2 {
	background-color: #E0E0E0;
}
.dataTable tr.even:hover td.sorting_3 {
	background-color: #E0E0E0;
}

/* The original doesn't highlight the sort row. */
.dataTable tr.odd:hover {
	background-color: #E0E0E0;
}
.dataTable tr.odd:hover td.sorting_1 {
	background-color: #E0E0E0;
}
.dataTable tr.odd:hover td.sorting_2 {
	background-color: #E0E0E0;
}
.dataTable tr.odd:hover td.sorting_3 {
	background-color: #E0E0E0;
}

/**
 * Admin Home screen
 */
.admin-home {
	padding: 0;
	font-size: 1.3em;
	font-weight: bold;
}
.admin-home table {
	margin: 0 auto;
	border: 0;
	border-spacing: 1px;
}
.admin-home tr {
}
.admin-home td {
}
.admin-home td:nth-child(1) {
	background: #f2d067;
	padding: 5px 40px 5px 10px;
}
.admin-home td:nth-child(2) {
	text-align: right;
	background: #e0dfe3;
	padding: 5px 10px 5px 40px;
}
.admin-home tr:nth-child(2n+3) td {
	border-bottom: thick solid #ffffff;
}
.admin-home tr:nth-child(2n+4) td {
}


/**
 * Backoffice styles
 */
/*
.backoffice p {
	margin: 0;
	padding: 0;
}
*/
.backoffice.decision-pass {
}
.backoffice.decision-fail {
	color: #ff0000;
	font-weight: bold;
}
.backoffice.heading-main {
	font-size: 1.5em;
	font-weight: bold;
	margin: 16px 0;
	padding: 0;
}
.backoffice.heading-admin-home {
    font-size: 2.7em;
    font-weight: bold;
    margin: 16px 0;
    padding: 0;
    text-align: center;
}
.backoffice.heading-1 {
	font-size: 1.5em;
	font-weight: bold;
	margin: 8px 0;
	padding: 0;
}
.backoffice.heading-2 {
	font-size: 1.4em;
	margin: 8px 0;
	padding: 0;
}
.backoffice.heading-2 {
	font-size: 1.0em;
}

/**
 * Order Details screen
 */
.order-payment-container {
    width: 100%;
    height: 150px;
    text-align: center;
    overflow: hidden;
    position: relative;
    z-index: 10;
}
.order-payment-container-header {
    font-size: 1.4em;
    padding-top: 0.5em;
    padding-bottom: 0.2em;
}
.order-payment-container-footer {
    font-size: 1.4em;
    padding-top: 0.5em;
    padding-bottom: 0.2em;
}
.order-payment-container-left {
    width: 100%;
    margin: 0 auto;
    z-index: 10;
}
.order-payment-container-middle {
    width: 50%;
    float: left;
    margin-top: auto;
    margin-bottom: auto;
    z-index: 10;
}
.order-payment-container-right {
    width: 50%;
    float: right;
    margin-top: auto;
    margin-bottom: auto;
    z-index: 10;
}
.order-payment-container-charge {
	background: rgba(255,153,153,1);
    background: -webkit-linear-gradient(to bottom, rgba(255,153,153,0.6) 0%, rgba(255,153,153,0.5) 23%, rgba(255,153,153,0.4) 23%, rgba(255,153,153,0.0) 70%); /* For Safari 5.1 to 6.0 */
    background:    -moz-linear-gradient(to bottom, rgba(255,153,153,0.6) 0%, rgba(255,153,153,0.5) 23%, rgba(255,153,153,0.4) 23%, rgba(255,153,153,0.0) 70%); /* For Firefox 3.6 to 15 */
    background:      -o-linear-gradient(to bottom, rgba(255,153,153,0.6) 0%, rgba(255,153,153,0.5) 23%, rgba(255,153,153,0.4) 23%, rgba(255,153,153,0.0) 70%); /* For Opera 11.1 to 12.0 */
    background:         linear-gradient(to bottom, rgba(255,153,153,0.6) 0%, rgba(255,153,153,0.5) 23%, rgba(255,153,153,0.4) 23%, rgba(255,153,153,0.0) 70%); /* Standard syntax (must be last) */
	/*background: #ffcccc;*/

    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 33.33%;
    z-index: -5;
}
.order-payment-container-nocharge {
	background: rgba(153,255,153,1);
    background: -webkit-linear-gradient(to bottom, rgba(153,255,153,0.6) 0%, rgba(153,255,153,0.5) 23%, rgba(153,255,153,0.4) 23%, rgba(153,255,153,0) 70%); /* For Safari 5.1 to 6.0 */
    background:    -moz-linear-gradient(to bottom, rgba(153,255,153,0.6) 0%, rgba(153,255,153,0.5) 23%, rgba(153,255,153,0.4) 23%, rgba(153,255,153,0) 70%); /* For Firefox 3.6 to 15 */
    background:      -o-linear-gradient(to bottom, rgba(153,255,153,0.6) 0%, rgba(153,255,153,0.5) 23%, rgba(153,255,153,0.4) 23%, rgba(153,255,153,0) 70%); /* For Opera 11.1 to 12.0 */
    background:         linear-gradient(to bottom, rgba(153,255,153,0.6) 0%, rgba(153,255,153,0.5) 23%, rgba(153,255,153,0.4) 23%, rgba(153,255,153,0) 70%); /* Standard syntax (must be last) */
	/*background: #ccffcc;*/

    position: absolute;
    top: 0;
    right: 0;
	height: 100%;
    width: 66.67%;
    z-index: -5;
}
.order-payment-container-commissions {
	background: rgba(255,255,153,1);
    background: -webkit-linear-gradient(to top, rgba(255,255,153,0.6) 0%, rgba(255,255,153,0.5) 23%, rgba(255,255,153,0.4) 23%, rgba(255,255,153,0) 70%); /* For Safari 5.1 to 6.0 */
    background:    -moz-linear-gradient(to top, rgba(255,255,153,0.6) 0%, rgba(255,255,153,0.5) 23%, rgba(255,255,153,0.4) 23%, rgba(255,255,153,0) 70%); /* For Firefox 3.6 to 15 */
    background:      -o-linear-gradient(to top, rgba(255,255,153,0.6) 0%, rgba(255,255,153,0.5) 23%, rgba(255,255,153,0.4) 23%, rgba(255,255,153,0) 70%); /* For Opera 11.1 to 12.0 */
    background:         linear-gradient(to top, rgba(255,255,153,0.6) 0%, rgba(255,255,153,0.5) 23%, rgba(255,255,153,0.4) 23%, rgba(255,255,153,0) 70%); /* Standard syntax (must be last) */
	/*background: #ffffcc;*/

    position: absolute;
    bottom: 0;
    left: 0;
	height: 100%;
    width: 66.67%;
    z-index: -5;
}
.order-payment-container-nocommissions {
	background: rgba(153,204,255,1);
    background: -webkit-linear-gradient(to top, rgba(153,204,255,0.6) 0%, rgba(153,204,255,0.5) 23%, rgba(153,204,255,0.4) 23%, rgba(153,204,255,0) 70%); /* For Safari 5.1 to 6.0 */
    background:    -moz-linear-gradient(to top, rgba(153,204,255,0.6) 0%, rgba(153,204,255,0.5) 23%, rgba(153,204,255,0.4) 23%, rgba(153,204,255,0) 70%); /* For Firefox 3.6 to 15 */
    background:      -o-linear-gradient(to top, rgba(153,204,255,0.6) 0%, rgba(153,204,255,0.5) 23%, rgba(153,204,255,0.4) 23%, rgba(153,204,255,0) 70%); /* For Opera 11.1 to 12.0 */
    background:         linear-gradient(to top, rgba(153,204,255,0.6) 0%, rgba(153,204,255,0.5) 23%, rgba(153,204,255,0.4) 23%, rgba(153,204,255,0) 70%); /* Standard syntax (must be last) */
	/*background: #cce6ff;*/

    position: absolute;
    bottom: 0;
    right: 0;
	height: 100%;
    width: 33.33%;
    z-index: -5;
}

/**
 * Clearfix
 * @see http://cssmojo.com/the-very-latest-clearfix-reloaded/
 */
.clearfix:after {
    content: " ";
    display: table;
    clear: both;
}
