.disabled a,
a.disabled {
    pointer-events: none;
}

a:hover {
    color: #0000FF;
}

a {
    color: #AC8F64;
}

.side-nav li a:not(.button) {
    color: #15848F;
}

.side-nav li a:not(.button):hover {
    color: #15848F;
}

header {
    background-color:#000000;
    color: #ffffff;
    font-size: 30px;
    line-height: 64px;
    padding:15px 80px;
    box-shadow: 0px 1px rgba(0, 0, 0, 0.24);
    height:100px;
}

header .header-title {
   float:left;
}

header nav#topmenu{ margin:15px 0 0 0; text-align: center; }

header nav#topmenu ul{ list-style:none; margin:0; padding:0; }
header nav#topmenu ul > li{ display:inline-block; background:#AC8F64; position:relative; margin:0 10px; }
header nav#topmenu ul > li:hover{ background:#006633; }
header nav#topmenu ul > li:hover a{ color:#FFF; }
header nav#topmenu ul > li > a{ display:block; color:#FFF; text-decoration:none; padding:5px 10px; font-size:14px; font-weight:bold; }
header nav#topmenu ul > li > ul{ background:#006633; position:absolute; top:32px; left:0; z-index:4444; display:none; }
header nav#topmenu ul > li:hover > ul{ display:block; }
header nav#topmenu ul > li > ul > li{ display:block; margin:0 0; position:relative; text-align: left; background:#006633; border-bottom:1px solid #AC8F64; }
header nav#topmenu ul > li > ul > li > a{ color:#FFF; font-size:14px; text-decoration:none; padding:3px 8px; width:180px; border:1px solid #000; font-weight:normal; }
header nav#topmenu ul > li > ul > li:hover > a{ background:#AC8F64; color:#FFF; }
header nav#topmenu ul > li > ul > li > ul{ position:absolute; top:10px; left:100px; z-index:5555; }
header nav#topmenu ul > li > ul > li > ul > li{ text-align:left; }

#welcomebar{ text-align:center; background:#AC8F64; padding:10px; color:#FFF; }
#welcomebar a{ color:#DDD; }


div#content > div.row > div#tabs ul.ui-tabs-nav{ background:#006633 !important; }
div#content > div.row > div#tabs ul.ui-tabs-nav li.ui-tab{ background:rgba(0,0,0,0.5); margin:1px 10px 0 0 !important; }
div#content > div.row > div#tabs ul.ui-tabs-nav li.ui-tab a{ color:#FFF; }
div#content > div.row > div#tabs ul.ui-tabs-nav li.ui-tabs-active.ui-state-active{ background:#FFF !important; }
div#content > div.row > div#tabs ul.ui-tabs-nav li.ui-tabs-active.ui-state-active a{ color:#006633 !important; }


table.dataTable thead .sorting_desc{ background-image:url('/img/sorting_desc.png') !important; }
table.dataTable thead .sorting_asc{ background-image:url('/img/sorting_asc.png') !important; }


h1.pageheading{ font-size:x-large; color:#1F2965; text-align:center; }

legend {
    color:#AC8F64;
}

.row {
    max-width: 80rem;
}

.actions.columns {
    margin-top:1rem;
    border-left: 5px solid #15848F;
    padding-left: 15px;
    padding: 32px 20px;
}

.actions.columns h3 {
    color:#15848F;
}

.related table {
    border: 0;
    width: 100%;
    table-layout: fixed;
}

.index table thead {
    height: 3.5rem;
}

.header-help {
    float: right;
    margin-right:2rem;
    margin-top: -80px;
    font-size:16px;
}

.header-help span {
    font-weight: normal;
    text-align: center;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    display: inline-block;
    padding: 0.25rem 0.5rem 0.375rem;
    font-size: 0.8rem;
    background-color: #0097a7;
    color: #FFF;
    border-radius: 1000px;
}

.header-help a {
    color: #fff;
}

ul.pagination li a {
    color: rgba(0, 0 ,0 , 0.54);
}

ul.pagination li.active a {
    background-color: #DCE47E;
    color: #FFF;
    font-weight: bold;
    cursor: default;
}
ul.pagination .disabled:hover a {
    background: none;
}

.paginator {
    text-align: center;
}

.paginator ul.pagination li {
    float: none;
    display: inline-block;
}

.paginator p {
    text-align: right;
    color: rgba(0, 0 ,0 , 0.54);
}

.asc:after {
    content: " \2193";
}
.desc:after {
    content: " \2191";
}

.form .error-message {
    display: block;
    padding: 0.375rem 0.5625rem 0.5625rem;
    margin-top: -1px;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: normal;
    font-style: italic;
    color: rgba(0, 0, 0, 0.54);
}

.required > label {
    font-weight: bold;
}
.required > label:after {
    content: ' *';
    color: #C3232D;
}

select[multiple] {
    min-height:150px;
    background: none;
}
input[type=checkbox],
input[type=radio] {
    margin-right: 0.5em;
}

.date select,
.time select,
.datetime select {
    display: inline;
    width: auto;
    margin-right: 10px;
}

.error label,
.error label.error {
    color: #C3232D;
}

.view h2 {
    color: #6F6F6F;
}

.view .columns.strings {
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
    margin-right:0.7rem;
}

.view .numbers {
    background-color: #B7E3EC;
    color: #FFF;
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
    margin-right: 0.7rem;
}

.view .columns.dates {
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
    margin-right:0.7rem;
    background-color:#DCE47E;
    color: #fff;
}

.view .columns.booleans {
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
    margin-right:0.7rem;
    background-color: #8D6E65;
    color: #fff;
}

.view .strings p {
    border-bottom: 1px solid #eee;
}
.view .numbers .subheader, .view .dates .subheader {
    color:#747474;
}
.view .booleans .subheader {
    color: #E9E9E9
}

.view .texts .columns {
    margin-top:1.2rem;
    border-bottom: 1px solid #eee;
}

/** Notices and Errors **/
.cake-error,
.cake-debug,
.notice,
p.error,
p.notice {
    display: block;
    clear: both;
    background-repeat: repeat-x;
    margin-bottom: 18px;
    padding: 7px 14px;
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
}

.cake-debug,
.notice,
p.notice {
    color: #000000;
    background: #ffcc00;
}

.cake-error,
p.error {
    color: #fff;
    background: #C3232D;
}

pre {
    background: none repeat scroll 0% 0% #FFF;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
    margin: 15px 0px;
    color: rgba(0, 0 ,0 , 0.74);
    padding:5px;
}

.cake-error .cake-stack-trace {
    margin-top:10px;
}

.cake-stack-trace code {
    background: inherit;
    border:0;
}

.cake-code-dump .code-highlight {
    display: block;
    background-color: #FFC600;
}

.cake-error a,
.cake-error a:hover {
    color:#fff;
    text-decoration: underline;
}

.checks {
    padding:30px;
    color: #626262;
    background-color: #B7E3EC;
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
    margin-bottom: 2em;
}

.checks h4 {
    margin-bottom: 1.5rem;
}

.checks hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.checks .success,
.checks .problem {
    margin-left: 10px;
}
.checks .success:before,
.checks .problem:before {
    line-height: 0px;
    font-size: 28px;
    height: 12px;
    width: 12px;
    border-radius: 15px;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    position: relative;
    left: -11px;
}

.checks .success:before {
    content: "✓";
    color: green;
    margin-right: 9px;
}

.checks .problem:before {
    content: "✘";
    color: red;
    margin-right: 9px;
}

.top-bar.expanded .title-area {
    background: #01545b;
}

.top-bar.expanded, .top-bar,.top-bar-section ul li,.top-bar-section li:not(.has-form) a:not(.button) {
    background: #116d76;
}

.top-bar-section li:not(.has-form) a:not(.button):hover {
    background-color: #308e97;
    background: #308e97;
}

.side-nav li.heading {
    color: #AC8F64;
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0.4375rem 0.875rem;
}

#actions-sidebar {
    background: #fafafa;
}

.index table {
    margin-top: 0rem;
    border: 0;
    width: 100%;
    table-layout: fixed;
}

table {
    background: #fff;
    margin-bottom: 1.25rem;
    border: none;
    table-layout: fixed;
    width: 100%;
}

table thead {
    background: none;
}

table tr {
    border-bottom: 1px solid #ebebec;
}

table thead tr {
    border-bottom: 1px solid #AC8F64;
}

table tr th {
    padding: 0.5625rem 0.625rem;
    font-size: 0.875rem;
    color: #AC8F64;
    text-align: left;
    border-bottom: 2px solid #AC8F64;
}

table tr:nth-of-type(even) {
    background: none;
}

fieldset {
    border: none;
    padding: 1.25rem;
    margin: 1.125rem 0;
}

fieldset legend {
    border-bottom: 2px solid #AC8F64;
    width: 100%;
    line-height: 2rem;
}

.form button[type="submit"] {
    float: right;
    text-transform: uppercase;
    box-shadow: none;
}

.form button:hover, .form button:focus {
    background: #BE840B;
    box-shadow: none;
}

button {
    background: #AC8F64;
}

div.message {
    text-align: center;
    cursor: pointer;
    display: block;
    font-weight: normal;
    padding: 0 1.5rem 0 1.5rem;
    transition: height 300ms ease-out 0s;
    background-color: #a0d3e8;
    color: #626262;
    top: 15px;
    right: 15px;
    z-index: 999;
    overflow: hidden;
    height: 50px;
    line-height: 2.5em;
}

div.message:before {
    line-height: 0px;
    font-size: 20px;
    height: 12px;
    width: 12px;
    border-radius: 15px;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    position: relative;
    left: -11px;
    background-color: #FFF;
    padding: 12px 14px 12px 10px;
    content: "i";
    color: #a0d3e8;
}

div.message.error {
    background-color: #C3232D;
    color: #FFF;
}

div.message.error:before {
    padding: 11px 16px 14px 7px;
    color: #C3232D;
    content: "x";
}
div.message.hidden {
    height: 0;
}


.vertical-table th {
    padding: 0.5625rem 0.625rem;
    font-size: 0.875rem;
    color: #AC8F64;
    border: none;
    text-align: left;
}

.vertical-table {
    vertical-align: middle;
}

.vertical-table td {
    text-align: right;
}

.content {
    padding: 2rem;
}

/* Use 'one true layout' methods to get equal height columns */
.container {
    overflow: hidden;
    min-height: 92%; /* full height almost always */
}

/* Force equal height by overflowing */
.content,
#actions-sidebar {
    margin-bottom: -99999px;
    padding-bottom: 99999px;
}
@media(max-width: 640px) {
    #actions-sidebar {
        padding-bottom: 2rem;
        margin-bottom: 0;
    }
}

.content h3 {
    color: #be140b;
    padding-bottom: 0.5rem;
    margin-bottom: 20px;
}

.content h4 {
    color: #be140b;
    padding-bottom: 0.5rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #be140b;
}

.content .related h4 {
    color: #4d8f97;
    padding-bottom: 0.5rem;
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 0px;
}

table td {
    vertical-align: top;
    word-break: break-all;
}




.dataTable thead tr{ background:#AC8F64 !important; }
.dataTable thead tr th{ color:#FFF !important; }

.dataTable tfoot tr{ background:#AC8F64 !important; }
.dataTable tfoot tr th{ color:#FFF !important; }

.dataTable tbody tr:nth-of-type(even){
    background:#fff;
}
.dataTable tbody tr:nth-of-type(odd){
    background:#f8f8f8;
}
.dataTable tbody tr:hover{
    background:#e8e8e8;
}

.dataTable { border-left:1px solid #CCC !important; border-top:1px solid #CCC !important; }
.dataTable tr{ border-bottom:1px solid #CCC !important; }
.dataTable tr td, .dataTable tr th{ border-right:1px solid #CCC !important; }

.dataTable tbody tr td{ font-size:12px; vertical-align:top; } 

.dataTable thead tr th.actions,
.dataTable tbody tr td.actions,
.dataTable tfoot tr th.actions{ width:35px !important; }

.dataTable thead tr th.companyname,
.dataTable tbody tr td.companyname,
.dataTable tfoot tr th.companyname{ width:220px !important; }

.dataTable thead tr th.billingaddress,
.dataTable tbody tr td.billingaddress,
.dataTable tfoot tr th.billingaddress{ width:220px !important; }

.dataTable thead tr th.shippingaddress,
.dataTable tbody tr td.shippingaddress,
.dataTable tfoot tr th.shippingaddress{ width:220px !important; }

.dataTable thead tr th.zohoacct,
.dataTable tbody tr td.zohoacct,
.dataTable tfoot tr th.zohoacct{ width:150px !important; }

.dataTable thead tr th.phone,
.dataTable tbody tr td.phone,
.dataTable tfoot tr th.phone{ width:100px !important; }

.dataTable thead tr th.surcharge,
.dataTable tbody tr td.surcharge,
.dataTable tfoot tr th.surcharge{ width:60px !important; }

.dataTable thead tr th.source,
.dataTable tbody tr td.source,
.dataTable tfoot tr th.source{ width:50px !important; }

.dataTable tbody tr td.companyname b{ font-size:14px; }
.dataTable tbody tr td.companyname div.contactsblock div.contactwrap{ display:block; margin-left:10px; cursor:context-menu; }

.dataTable tbody tr td.companyname div.contactsblock div.contactwrap div.contactname div.contactpopout{ display:none; }
.dataTable tbody tr td.companyname div.contactsblock div.contactwrap div.contactname div.contactpopout:before{ content:' '; width:32px; height:21px; position:absolute; top:-1px; left:-20px; z-index:556; background:url('/img/contactbubble-topleft.png'); }

.dataTable tbody tr td.companyname div.contactsblock div.contactwrap div.contactname:hover div.contactpopout{ display:block; position:absolute; top:10px; left:75%; z-index:555; width:230px; height:70px; background:#FFF; border:1px solid #123D8B; border-radius:8px; color:#000066; padding:5px 10px; }
.dataTable tbody tr td.companyname div.contactsblock div.contactwrap div.contactname{ position:relative; display:inline-block; background:url('/img/contact-icon.png') center left no-repeat; padding:3px 5px 3px 23px; }
.dataTable tbody tr td.companyname div.contactsblock div.contactwrap div.contactname:hover{ display:inline-block; background:url('/img/contact-icon-hover.png') center left no-repeat #123D8B !important; color:#FFF; }

.dataTable tbody tr td.companyname div.contactsblock div.contactwrap div.contactname:hover div.contactpopout div.contacteditlinks{ float:right; }
.dataTable tbody tr td.companyname div.contactsblock div.contactwrap div.contactname:hover div.contactpopout div.contacteditlinks img{ width:12px;height:12px; margin-right:5px; }

.dataTable tbody tr td.companyname div.contactsblock div.contactwrap div.contactname:hover div.contactpopout div.nameentry{ padding:2px 5px; font-weight:bold; color:#000055; }
.dataTable tbody tr td.companyname div.contactsblock div.contactwrap div.contactname:hover div.contactpopout div.emailentry{ padding:2px 5px; height:20px; background:url('/img/email-icon.png') center left no-repeat; padding-left:20px; }
.dataTable tbody tr td.companyname div.contactsblock div.contactwrap div.contactname:hover div.contactpopout div.phoneentry{ padding:2px 5px; height:20px; background:url('/img/phone-icon.png') center left no-repeat; padding-left:20px; }


.dataTables_wrapper{ margin-top:25px; margin-bottom:25px; }
.dataTables_filter{ font-size:12px; padding-top:5px; }
.dataTables_filter label input[type=search]{ width:75% !important; display:inline-block !important; }
.dataTables_wrapper .bottom{ padding-top:10px; }
.dataTables_info{ font-size:12px; padding-top:5px; }
.dataTables_length{ margin-left:25px; }
.dataTables_length label select{ width:75px !important; display:inline-block !important; }
.dataTables_paginate{ font-size:14px; margin-right:25px; }