/*
html {
    overflow-y: scroll;
}

body {
    font-size: 12px;
    margin: 0;
}
*/

body {
    background: #f0efeb;
    /*padding-top: 75px;*/
}

a img {
    border: none;
}

h1 {
    font-size: 1.6em;
    margin-top: 0;
}

/*
input[type=submit], input[type=button] {
    font-size: 11px;
    margin: 5px 5px 5px 0;
    cursor: pointer;
}

input[type=text], input[type=password], textarea {
    font-size: 12px;
    padding-left: 1px;
}
*/

.noblock {
    display: inline-block !important;
    margin-bottom: 11px;
}

.checkbox-marginl-350 {
    margin-left: 335px !important;
    margin-right: 14px !important;
}

select {
    font-size: 13px;
}

.tableControl, .actionButtons {
    width: 100%;
}

.tableControl {
    font-size: 13px;
    text-align: right;
}

.tableControl a:link, .tableControl a:visited {
    text-decoration: none;
    color: #003366;
}

.tableControl a:hover, .tableControl a:focus {
    color: #0099CC;
}

.tableControl a {
    padding-left: 10px;
}

.footer {
    text-align: center;
    font-size: 11px;
    margin-bottom: 10px;
}

.body {
    padding: 10px 30px 10px 30px;
}

.message {
    list-style: none;
    background: none;
    padding: 0;
    color: #000000;
    margin: 8px 12px 20px 22px;
}

.message li, .message dt {
    background: no-repeat left center;
    padding: 2px 2px 2px 20px;
    margin-left: 3px;
}

.message li.infomsg, .message dt.infomsg {
    color: #fff;
    background: #8dc63f url(../images/msginfo.png) no-repeat 10px;
    margin-bottom: 25px;
}

.message li.errormsg, .message dt.errormsg {
    color: #fff;
    background: #ed1e24 url(../images/msgerror.png) no-repeat 10px;
    margin-bottom: 5px;
}

.message li.warnmsg, .message dt.warnmsg {
    color: #fff;
    background: #f47927 url(../images/msgwarn.png) no-repeat 10px;
    margin-bottom: 5px;
}

li.infomsg, li.errormsg, li.warnmsg,
dt.infomsg, dt.errormsg, dt.warnmsg {
    padding: 10px;
    text-indent: 20px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
}

.tableControl input[type=submit], .tableControl input[type=button], .tableControl select {
    margin: 5px 0 5px 5px;
}

/* I don't know why this is necessary, but the select is off by a pixel on the top and is padding too much on the left */
.tableControl select {
    margin-left: 2px;
    position: relative;
    top: 1px;
}

.actionButtons {
    padding-left: 1px;
}

.actionButtons select {
    margin: 5px 5px 5px 0;
    vertical-align: bottom;
}

/*
div.info {
    font-size: 1.2em;
    margin-bottom: 20px;
}
*/

ul.bullets {
    list-style: square;
}

ul.bullets li {
    padding-bottom: 2px;
}

td.action {
    text-align: center;
    width: 8em;
    white-space: nowrap;
}

td.action a {
    padding-left: 1px;
    padding-right: 1px;
}

table.radio {
    border: 0;
    height: 17px;
}

table.radio td {
    padding-right: 4px;
}

table.radio input[type=radio] {
    vertical-align: bottom;
}

/*************************************************************************************************************************/
/****************************************************** RICHFACES OVERWRITE *********************************************/
/*************************************************************************************************************************/

.rich-table {
    width: 100%;
}

.rich-table-thead, thead {
    background: #e6e6e6;
}

.space-content .rich-table th, .space-content .rich-table td {
    padding: 0.5rem;
}

.rich-mpnl-body .table th, .rich-mpnl-body .table td {
    padding: 0.5rem;
}

.rich-panel {
    background-color: inherit;
}

/*noinspection CssUnknownProperty*/
.rich-stglpanel, .rich-panel, .rich-modalpanel {
    border-width: 0 !important;
    border-radius: 3px;
    -moz-boder-radius: 3px;
    -webkit-boder-radius: 3px;
    margin-bottom: 10px;
    padding: 0;
}

.rich-mpnl-body {
    padding: 2px;
    height: 100%;
    position: relative;
}

.rich-stglpanel-body {
    overflow: auto;
    font-size: 15px;
}

/* the specificity here is necessary to override the defaults */
.rich-panel input[type=submit], .rich-panel input[type=button],
.rich-tabpanel input[type=submit], .rich-tabpanel input[type=button] {
    margin-bottom: 0;
}

.rich-tab-header {
    font-size: 12px;
    line-height: 25px;
    height: 25px;
    text-indent: 0;
    cursor: pointer;
}

.rich-tab-active {
    border-top: 3px solid #c1c1c1;
    background: #e1e1e1;
}

.rich-tab-inactive {
    border-top: 1px solid #c1c1c1;
    font-size: 10px;
    color: #606060;
    background: #f2f2f2;
}

.rich-tab-bottom-line, .rich-tab-left-line {
    border-bottom: 1px solid #e1e1e1;
}

.rich-tabhdr-side-cell {
    border: 0 none;
}

.rich-tabhdr-side-border {
    border: 0 none;
    background: #c1c1c1;
}

.rich-tabpanel {
    border: 0 none;
    margin-top: 40px;
    margin-bottom: 30px;
}

.rich-tabhdr-cell-active {

}

.rich-tabhdr-side-cell {
    background: red;
}

.rich-tabhdr-cell-inactive {
    background: #ffffff;
}

.rich-tabpanel-content {
    border: 1px solid #e1e1e1;
    padding: 10px;
}

.rich-panel-header, .rich-tab-header, .rich-stglpanel-header, .rich-mpnl-header {
    font-size: 14px;
    color: #005da9;
    padding: 10px;
    display: block;
    background: #fff;
    margin: 0 0 10px 0;
    border: 0 none;
}

.rich-mpnl-header {
    padding: 8px;
}

.rich-mpnl-header {
    color: #666 !important;
}

/* Modal */
.rich-mpnl-text, .rich-mpnl-header, .rich-mpnl-body {
    font-size: 14px;
    text-align: center;
}

.rich-mpnl-body .table th, .rich-mpnl-body .table td {
    padding: 0.5rem;
}

/*noinspection CssUnknownProperty*/
.rich-panel-header, .rich-tab-header, .rich-stglpanel-header, .rich-mpnl-header {
    color: #ffffff !important;
    background-color: #005da9;
    border-radius: 7px;
    -moz-border-radius: 7px; /* Mozilla Firefox */
    -webkit-border-radius: 7px; /* Google Chrome e Safari */
    -ms-border-radius: 7px; /* Internet Explorer */
}

.rich-stglpanel-header a:hover, a:focus {
    color: #005da9;
    text-decoration: underline;
}

.rich-tab-header {
    border: 1px solid #d8d8d8;
    border-bottom: none;
}

.rich-datascr-button, .rich-datascr-ctrls-separator {
    background: none !important;
}

.rich-mpnl-controls {
    position: absolute;
    top: 16px;
    right: 12px;
    z-index: 1;
}

.rich-mpnl-mask-div-opaque {
    background-color: #000000;
    opacity: 0.5;
}

.rich-datascr-act {
    background: #0069bc !important;
    color: #fff !important;
    border-top: none;
}

.rich-datascr-inact {
    color: #000 !important;
    border-right: 1px solid #84addc;
    text-decoration: underline;
    border-top: none !important;
}

.rich-table-footercell table td, .rich-table-subfootercell table td {
    padding: 12px !important;
}

.rich-datascr-button {
    /*color: #5e615e;*/
}

.rich-table-cell {
    border-right: none;
    border-bottom: none;
    padding: 0;
    color: #5e615e;
    font-family: Arial, Verdana, sans-serif;
    font-size: 13px;
    text-align: center !important;
    vertical-align: middle !important;
}

.rich-table-subheader {
    background-color: #e6e6e6;
}

.rich-table-subheadercell {
    border-right: none;
    padding: 0;
    text-align: center;
    color: #5e615e;
    font-family: Arial, Verdana, sans-serif;
    font-size: 12px !important;
    white-space: nowrap;
}

.rich-table-header {
    background: #f3f3f3 none repeat-x top left;
}

.rich-table-headercell, .rich-subtable-cell {
    border-right: none;
    border-bottom: none;
    color: #5e615e;
    text-align: center;
    font-size: 13px !important;
    font-family: Arial, Verdana, sans-serif;
    vertical-align: middle !important;
}

.rich-table-headercell {
    color: #5e615e;
    font-size: 12px !important;
    font-weight: bold;
}

.rich-table-footercell, .rich-subtable-footercell, .rich-table-subfootercell {
    font-size: 12px !important;
    font-weight: bold;
}

.rich-table-footer {
    background: #fff
}

.rich-table-headercell {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    color: #2d2d2d !important;
    font-size: 13px !important;
}

.rich-panel-body {
    /*margin-top: 10px !important;*/
    margin-bottom: 10px !important;
    color: inherit !important;
    font-size: 14px;
    padding: 0;
}

.rich-toolbar-item a {
    text-decoration: none;
}

.rich-toolbar-item a:hover, .rich-ddmenu-label-select {
    text-decoration: underline;
}

.rich-toolbar-item .rich-menu-item a:hover {
    text-decoration: none;
}

.rich-datalist {
    list-style: square;
    margin: 0px 0px 1px 0px;
    /*padding-left: 18px;*/
}

.rich-list-item {
    padding-bottom: 4px;
    list-style-type: none;
}

.rich-stglpanel-marker {
    float: left !important;
}

.rich-stglpnl-marker {
    float: left !important;
}

/* PAGINACAO */
.rich-datascr-act {
    background: #999a99 !important;
    color: #ffffff;
}

.rich-dtascroller-table {
    border: 1px solid #dddddd;
}

.rich-datascr-inact {
    color: #5e615e !important;
    border-right: 1px solid #dddddd;
    text-decoration: none;
}

.rich-datascr-inact:hover {
    background: #005da9;
    color: #ffffff !important;
}

.rich-datascr-button, .rich-datascr-ctrls-separator {
    border-color: #dddddd;
    padding-left: 10px;
    padding-right: 10px;
}

.content .rich-calendar-exterior {
    /*border: 10px solid;*/
}

.content .rich-calendar-exterior TABLE TD {
    padding: 10px 5px !important;
}

.rich-calendar-btn {
    cursor: pointer;
}

.rich-calendar-header-optional {
    border-bottom: 1px solid;
    padding: 7px;
    height: 22px;
}

/*.rich-calendar-header {
    border-right: 0 solid;
    border-bottom: 10px solid;
}*/

.rich-calendar-cell-size {
    width: 25px;
    height: 22px;
}

.rich-calendar-cell-div {
    overflow: hidden;
}

.content .rich-calendar-cell {
    border-bottom: 1px solid;
    border-right: 1px solid;
    padding: 0;
    vertical-align: middle;
    text-align: center;
    font-size: 12px !important
}

.rich-calendar-tool {
    vertical-align: middle;
    text-align: center;
    width: 20px;
    height: 22px;
    font-size: 15px !important
}

.rich-calendar-tool-close {
    font-size: 12px !important;
    font-weight: bold !important
}

.rich-calendar-month {
    vertical-align: middle;
    text-align: center;
    height: 22px;
    font-size: 12px !important
}

.content .rich-calendar-days {
    border-bottom: 1px solid;
    border-right: 0 solid;
    vertical-align: middle;
    text-align: center;
    height: 22px;
    font-size: 12px !important
}

.rich-calendar-week {
    border-bottom: 1px solid;
    border-right: 1px solid;
    vertical-align: middle;
    text-align: center;
    width: 25px;
}

.rich-right-cell {
    border-right: 0;
}

.rich-bottom-cell {
    border-bottom: 0;
}

.rich-calendar-toolfooter {
    height: 22px;
    padding: 1px 2px 1px 1px;
    display: none
}

.rich-calendar-footer-optional {
    border-top: 1px solid;
    border-right: 0 solid;
    padding: 7px;
    height: 22px;
    font-weight: bold;
}

.rich-calendar-footer {
    border-top: 1px solid;
    border-right: 0 solid;
}

.rich-calendar-spinner-input {
    border: 0;
    padding: 0 0 0 3px;
    background: none transparent scroll repeat 0 0;
}

.rich-calendar-spinner-input-container {
    background: repeat-x left top;
    border: 1px solid;
}

.rich-calendar-spinner-buttons {
    border: 1px solid;
    background: repeat-x left top;
    font-size: 0;
}

.rich-calendar-input {
    width: 110px;
    /* from .form-control */
    height: calc(2.25rem + 2px);
    padding: 0.375rem 0.75rem;
    margin-right: 6px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    box-shadow: inset 0 0 0 rgba(0, 0, 0, 0);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.date-control {
    background-color: #e9ecef;
    opacity: 1;
}

.date-control-new {
    float: left;
    margin-right: 5px;
    width: 104px;
}

.ui-datepicker-trigger {
    width: 30px;
    height: 30px;
    cursor: pointer;
    margin-top: 4px;
    float: left;
}

.ui-datepicker-month, .ui-datepicker-year {
    color: #495057;
    background-color: #f8e7c3;
    background-clip: padding-box;
    border: 1px solid #e08e00;
    border-radius: 0.25rem;
    box-shadow: inset 0 0 0 rgb(0 0 0 / 0%);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    text-align: center;
    width: auto !important;
    margin: 0 2px !important;
}

.ui-datepicker-month:hover, .ui-datepicker-year:hover {
    background-color: #fdf9e2;
}

.date-interval-separator {
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 7px;
    float: left;
}

.modal-header-panel h3 {
    font-size: 16px;
    font-weight: bold;
    margin-top: 4px;
}

/* Bootstrap card overwrite */

.card .card-header {
    border-bottom: none;
}

.card .card-header a {
    text-decoration: none;
}

.card:hover {
    transform: scale(1);
    box-shadow: 0 6px 12px rgb(0 0 0 / 12%), 0 4px 8px rgb(0 0 0 / 6%);
    background-color: #fdfdfd;
}

.modal-header {
    background-color: #e6e6e6;
}

.modal-header .close {
    margin: 24px 10px 0 0;
    font-size: 3rem;
}

@media (max-width: 425px) {
    .navbar-expand .navbar-nav .nav-link {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
}

/**
Fixing bootstrap columns for safari
 */
.row:before, .row:after {
    display: inline-block !important;
}
