
html {
    font: inherit;
}

body {
    margin: 0;
    padding: 0;
}

/******************* Container ********************/

#container {
    background-color: #fff;
}

#container.full-screen {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

/******************* Menu ********************/

.menu {
    border-bottom: 5px solid #bf2026;
}

.menu ul {
    display: inline-block;
    padding: 0;
    z-index: 12;
}

.menu ul li {
    display: inline-block;
    list-style: none;
}

.menu ul li.current a {
    border: 1px solid;
}

/******************* Submenu ********************/

.submenu-container {
    background: #dfdfdf;
    border-bottom: #c2c3c3 1px solid;
    overflow: hidden;
    padding: 5px;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.submenu {
    font-size: 14px;
}

.submenu ul {
    float: left;
    margin: 0;
    padding: 3px 0 0;
}

.submenu ul li {
    border-right: #777 1px solid;
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0 8px;
}

.submenu ul li:last-of-type {
    border-right: 0 solid;
}

.submenu ul li a {
    color: #656565;
    display: block;
    font-size: 14px;
    text-decoration: none;
}

.submenu ul li a:hover {
    color: #be2227;
}

.submenu ul li.current a {
    color: #be2227;
    font-weight: bold;
    text-decoration: none;
}

.submenu .alerts {
    background: #fff url('../images/alerts-bg.png') 0 0 repeat-x scroll;
    position: absolute;
    top: 0;
    right: 32px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

.submenu .alerts a {
    color: #be2227;
    display: inline-block;
    font-weight: bold;
    padding-left: 16px;
    padding-right: 16px;
    margin-top: 0;
    text-decoration: none;
}

.submenu .alerts p {
    color: #be2227;
    display: inline-block;
    font-weight: bold;
    margin-top: 0.5em;
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
    text-decoration: none;
}

.submenu .alerts.personal a {
    color: #be2227;
    display: inline-block;
    font-weight: bold;
    padding: 11px 16px 8px 11px;
    text-decoration: none;
}

.submenu .alerts.personal.dim a {
    color: #888;
    font-weight: normal;
}

.header .submenu .alerts.dim a {
    color: #888;
    font-weight: normal;
}

/** TODO **/
div.alert {
    background-color: #faf4e9;
    border-bottom: #dec2c7 1px solid;
    color: #be2227;
    padding: 8px 92px;
}

div.alert p {
    margin: 0;
}

/******************* Content ********************/

.content {
    background-color: #fff;
    padding: 10px;
    min-height: 8em;
    clear: both;
}

.payzer-overlay .content {
    min-height: 0;
}

.content h3 {
    color: #be2227;
    font-weight: bold;
    margin: 0;
    padding: 0 0 16px 0;
}

.content h4 {
    color: #333;
    font-weight: bold;
    margin: 0;
    padding: 0 0 8px 0;
}

.content p {
    color: #666;
    font-style: normal;
    margin-bottom: 3px;
    margin-top: 3px;
}

.content p.fine {
    font-size: .8em;
}

/******************* Alerts ********************/

div.alert {
    background-color: #faf4e9;
    border-bottom: #dec2c7 1px solid;
    color: #be2227;
    padding: 8px 92px;
}

div.alert p {
    margin: 0;
}

/*******************  Controls  ********************/

.content .controls {
    clear: both;
    padding-top: 10px;
}

div.content div.controls.compact {
    margin-top: 0;
}

div.content div.controls a:not(.short),
div.content div.controls a:not(.default),
div.content div.controls a:not(.btn-primary),
div.content div.controls input {
    color: #be2227;
    display: inline-block;
    margin-right: 12px;
    padding: 6px 12px;
}

div.content div.controls a.default,
div.content div.controls a.default:focus,
div.content div.controls a.btn-primary,
div.content div.controls a.btn-primary:focus,
div.content div.controls input {
    border-radius: 5px;
    border: 0 solid;
    text-decoration: none;
    background-color: #be2227;
    color: #FFF;
}

div.content div.controls .btn,
div.content div.controls .btn {
    text-decoration: none;
    color: #FFF !important;
}

div.content hr {
    background-color: #ccc;
    border: 0 solid;
    border-top: #ccc 1px solid;
    color: #ccc;
    height: 1px;
    margin-bottom: 16px;
    margin-top: 16px;
}

div.content form div.controls {
    margin-left: 0;
    margin-right: 0;
}

/*div.content div.balance {*/
/*background-color: #dedede;*/
/*margin-bottom: 24px;*/
/*}*/

/*div.content div.balance p {*/
/*background-color: #f7e0d9;*/
/*border-right: #fff 2px solid;*/
/*color: #be2227;*/
/*display: inline-block;*/
/*font-size: 16px;*/
/*font-style: normal;*/
/*margin: 0;*/
/*padding: 6px 32px 6px 24px;*/
/*}*/

/******************* Footer ********************/

.footer-container {
    background-color: #dfdfdf;
    border-top: #bf2026 6px solid;
}

.footer {
    padding-top: 20px;
    position: relative;
}

.footer .copyright {
    color: #777;
    font-size: 0.9em;
}

.footer .links ul {
    margin: 0;
    padding: 0;
    text-align: center;
}

.footer .links ul li {
    display: inline-block;
    list-style: none;
    margin: 0 2em;
}

.footer .links ul li a {
    color: #656565;
    font-weight: bold;
    margin: 0;
    text-decoration: none;
}

.footer .links ul li a:hover {
    text-decoration: underline;
}

/******************* Expand/Collapse ********************/

a.expand-grey {
    background: transparent url('../images/plus-grey.png') no-repeat scroll;
}

a.collapse-grey {
    background: transparent url('../images/minus-grey.png') no-repeat scroll;
}

.show-child .fa,
a.expand .fa {
    font-size: 18px;
    padding-right: 5px;
    vertical-align: middle;
}

.hide-child .fa,
a.collapse .fa {
    font-size: 18px;
    padding-right: 5px;
    vertical-align: middle;
}

/******************* Number Bullets ********************/

div.number-bullet {
    border-radius: 50%;
    background-color: #be2227;
    text-align: center;
    float: left;
    padding: 2px;
    margin-right: 10px;
    margin-left: -20px
}

div.number-bullet-text {
    color: white;
}

/******************* Signature Pad ********************/

canvas.signature-pad {
    border: solid 1px #CCC;
    cursor: url("/images/pen.cur") 16 16, crosshair;
    -ms-touch-action: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/******************* Cobranding ********************/

.cobrand-header {
    background-color: #dfdfdf;
    color: #be2227;
    border-bottom: solid 1px #ccc;
    font-weight: bold;
    text-transform: uppercase;
    text-align: right;
    padding: 1em 2em;
}

/*.cobrand-footer-wrapper {*/
    /*position: relative;*/
    /*background-color: #dfdfdf;*/
    /*border-top: #bf2026 6px solid;*/
    /*font-size: 12px;*/
    /*text-align: center;*/
    /*margin-top: 2em;*/
    /*padding-bottom: 1em;*/
    /*min-height: 100px;*/
/*}*/

/******************* Payment Network Images ********************/

td.payment-network span {
    position: relative;
    top: -4px;
}

div.payment-network-image {
    color: transparent;
    overflow: hidden;
}

/******************* Info Popups ********************/

.info-icon {
    margin: 0 0 0 6px;
    color: #be2227;
    font-size: 14px !important;
}

.info-popup {
    position: absolute;
    padding: 1em;
    background-color: #EEE;
    border: solid 1px #CCC;
    font-size: 1em;
    font-weight: normal;
    color: #333;
    border-radius: .5em;
    width: 170px;
    top: 0;
    left: 100%;
    z-index: 10;
}

/******************* Padding and Margins ********************/

.no-padding {
    padding: 0 !important;
}

.no-side-padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.sm-side-padding {
    padding-left: 24px !important;
    padding-right: 24px !important;
}

.md-side-padding {
    padding-left: 48px !important;
    padding-right: 48px !important;
}

.lg-side-padding {
    padding-left: 96px !important;
    padding-right: 96px !important;
}

.no-top-padding {
    padding-top: 0 !important;;
}

.no-margin {
    margin: 0 !important;
}

.no-side-margin {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.no-top-margin {
    margin-top: 0 !important;;
}

.no-side-padding .controls,
.no-side-margin .controls {
    padding-left: 5px;
}

/******************* MISC TODO ********************/

.video-js {
    background-color: #FFF;
}

.signatureText {
    display: inline-block;
    font-family: 'Arizonia', Helvetica, sans-serif;
    font-size: 30px;
    padding-top: 10px;
    border-bottom: 1px solid black;
    color: #666;
}

p a.default {
    box-shadow: 0 1px 2px #999;
    border-radius: 5px;
    border: 0 solid;
    margin-right: 12px;
    padding: 4px 12px;
    text-decoration: none;
}

a.default.large {
    font-size: 2em !important;
    border-radius: 1em !important;
    padding: .25em 1em !important;
}

.payzer-hidden {
    display: none;
}

.force-hidden {
    display: none !important;
}

.unbuilt-accordion {
    display: none;
}

.nowrap {
    white-space: nowrap;
}

input:focus {
    outline: none;
}

.debug-action-row-break {
    padding-top: 5px;
}

.suppress-warnings,
.suppressWarnings {
    display: none !important;
}

.underline {
    text-decoration: underline;
}

.print-area {
    display: none;
}

.print-only {
    display: none;
}

.clear-both {
    clear: both;
}

.float-left {
    float: left;
}

/******************* View Messages / Messages ********************/

.view-messages {
}

.view-messages .view-messages-element {
    padding: .5em 1em;
    border-radius: 5px;
    margin-bottom: 1em !important;
}

.view-messages .success,
p.success {
    color: #FFF !important;
    background-color: green;
}

.view-messages .message,
p.message {
    color: #333 !important;
    background-color: #EEE;
}

.view-messages .notice,
p.notice {
    color: #333 !important;
    background-color: #EEE;
}

.view-messages .warning,
p.warning {
    color: #333 !important;
    background-color: #FF9;
}

.view-messages .error,
p.error {
    color: #fff !important;
    background-color: #be2227;
}

a {
    color: #9e2227;
}

a img {
    border: 0;
}

.fa.waiting-overlay {
    font-size: 60px;
    color: #be2227;
}

.underline {
    text-decoration: underline;
}

.input .label,
.ui-accordion-header,
.no-user-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.ui-accordion-header {
    font-size: 16px !important;
}

.ui-accordion .ui-accordion-content {
    padding: 1em 2em;
}

.ui-accordion-header-icon {
    font-size: 16px;
}

.ui-widget {
    font-family: inherit;
    font-size: 1em;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
    background: #be2227;
    border: 1px solid #c5c5c5;
}

.ui-state-default,
.ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
    color: #be2227 ! important;
}

table.dataTable thead th {
    position: relative;
    background-image: none !important;
    cursor: pointer;
    outline: none;
}

table.dataTable thead th.sorting:after,
table.dataTable thead th.sorting_asc:after,
table.dataTable thead th.sorting_desc:after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    right: 2px;
    display: block;
    font-family: FontAwesome, sans-serif;
    font-size: 14px;
}

table.dataTable thead th.sorting:after {
    content: "\f0dc";
    color: black;
    font-size: 14px;
}

table.dataTable thead th.sorting_asc,
table.dataTable thead th.sorting_desc {
    color: #be2227;
    padding-left: .4em;
}

table.dataTable thead th.sorting_asc:after {
    content: "\f0de";
}

table.dataTable thead th.sorting_desc:after {
    content: "\f0dd";
}

.ui-state-active.ui-accordion-header-active {
    background: #be2227 ! important;
    border: 1px solid #c5c5c5 ! important;
    color: #fff ! important;
}

.ui-datepicker-calendar .ui-state-active {
    color: #fff ! important;
}

.ui-accordion .ui-accordion-header {
    color: #be2227;
    outline: none;
}

.ui-accordion .ui-accordion-content.no-padding {
    padding: 0 0 12px 0;
}

.ui-accordion .ui-accordion-content.no-padding .controls {
    padding-left: 10px;
    padding-right: 10px;
}

.ui-accordion-header span {
    padding-right: 5px;
}

a.bullet {
    background: transparent url('../images/bullet.png') 0 1px no-repeat scroll;
    padding-left: 14px;
}

/*************************  User Lists  ********************/

.bestMatch {
    position: absolute;
    color: #AAA;
    top: .5em;
    right: .5em;
}

ul.userslist {
    border: #ccc 1px solid;
    margin: 0;
    max-height: 400px;
    overflow: auto;
    padding: 0;
    width: 100%;
}

ul.userslist li {
    border-bottom: #ccc 1px solid;
    font-size: 12px;
    list-style: none;
    margin: 0;
    padding: 6px 5px;
}

ul.userslist li:last-child {
    border-bottom: none;
}

ul.userslist li.selectable:hover {
    background-color: #fffcfc;
    cursor: pointer;
}

ul.userslist li .user {
    font-weight: bold;
}

#userInfo ul.userslist li .address {
    right: 6px;
    top: 6px;
    width: 100%;
}

#userInfo {
    background-color: #f0f0f0;
    font-size: 12px;
    padding: 6px;
    width: 100%;
}

#userInfo .user {
    font-weight: bold;
}

#userInfo li {
    display: block;
    list-style: none;
}

#userInfo .address {
    right: 6px;
    top: 6px;
    width: 100%;
}

.vertical-align-top {
    vertical-align: top;
}

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

.vertical-align-bottom {
    vertical-align: bottom;
}

