.no-border {
    border: 0;
}

.remove-corners {
    border-radius: 0 !important;
}

.header .ui-layout-unit-content {
    background: #E8E8EE !important;
}

.menu .ui-layout-unit-content {
    background: #E8E8EE !important;
}

.menu {
    background: #E8E8EE !important;
}

.content .ui-layout-center {
    margin-right: 8%;

}

.ui-layout-resizer-west-closed {
    background: #E8E8EE !important;
}

.ui-state-default{
    cursor: default !important;
}

.ui-state-error{
    color: darkred !important;
}

.ui-messages-error-summary{
    color: darkred !important;
}
.ui-message-error-detail{
    color: darkred !important;
}

.ui-outputlabel {
    font-weight: bold;
}

.ui-layout-west {
    width: auto !important;
    top: 76px !important;
}

.ui-layout-center {
    max-width: 1450px !important;
    top: 76px !important;
}

.ui-menubar {
    padding-left: 5% !important;
    padding-right: 5% !important;
}

.ui-menuitem-text{
    padding-left: 8px;
    padding-right: 3px;
}


.ui-state-disabled {
    opacity: .80 !important;
    background: none;
}

.ui-state-focus {
    border-color: #0063a5 !important;
}

.ui-datatable .ui-sortable-column-icon.ui-icon {
    background-image: none;
    text-indent: 0;
    margin: 0 0 0 .5em;
    height: auto;
}
.ui-icon-carat-2-n-s:before {
    content: '\21C5';
}
.ui-icon-carat-2-n-s.ui-icon-triangle-1-n:before {
    content: '\2191';
}
.ui-icon-carat-2-n-s.ui-icon-triangle-1-s:before {
    content: "\2193";
}

.ui-column-filter{
    display: none !important;
}

.grid td {
    float: left;
    white-space: nowrap;
    width: 50%;
    box-sizing: border-box;
}
.grid td:nth-child(2n+3) {
    clear: left;
}

.grid {
    display: block;
}

legend.ui-fieldset-legend {
    background: white !important;
}

/*
 * PrimeFaces 15's saga theme styles every bare <input> as if it were a text field:
 *
 *   body input:not([role=combobox],[type=file],.ui-widget,.ui-inputfield) { background:#fff; ... }
 *
 * A JSF <h:commandButton> renders a plain <input type="submit">, which matches none of those
 * exclusions, so the theme claims it. That selector's specificity is (0,1,2), which outranks
 * .btn (0,1,0) and .btn-primary (0,1,0) in main.css. The result was a Save button drawn with the
 * theme's white background while .btn-primary's "color: white !important" still won the text
 * colour - white on white. It only became readable on hover, because .btn-primary:hover (0,2,0)
 * outranks the theme again.
 *
 * The rules below match the theme's specificity and, since this file is linked after the theme,
 * win on source order. Keep them in sync with the .btn rules in main.css.
 */
body input.btn {
    color: white;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1em;
    line-height: 1.5;
    border-radius: 0.25rem;
}

body input.btn-primary {
    background-color: #003865;
    border-color: #003865;
}

body input.btn-clear {
    background-color: white;
    border-color: #003865;
}

/* Theme's :hover/:focus rules are (0,2,2) and would otherwise repaint the border blue. */
body input.btn:hover,
body input.btn:focus {
    border-color: #003865;
}

body input.btn-primary:hover {
    color: white;
    background-color: #003865;
}

.ui-messages-info {
    color: #326D95;
}

.ui-messages-error-detail {
    color: #A8433E;
}
