.navbar-top-links li a.dropdown-toggle {
    color: #fff;
}

.navbar-static-side ul.nav li a {
    color: #8C204A;
}

.navbar-top-links li a.dropdown-toggle:hover,
.navbar-top-links li a.dropdown-toggle:focus,
.navbar-top-links li a.dropdown-toggle:active,
.navbar-top-links li a.dropdown-toggle.active,
.navbar-static-side ul.nav li a:hover,
.navbar-static-side ul.nav li a:focus,
.navbar-static-side ul.nav li a:active,
.navbar-static-side ul.nav li a.active,
.navbar-static-side ul.nav li:focus,
.navbar-static-side ul.nav li:active a,
.navbar-static-side ul.nav li.active a,
.navbar-static-side ul.nav li.active li a:hover,
.navbar-static-side ul.nav li.active li a:focus,
.navbar-static-side ul.nav li.active li a:active {
    background: #8C204A;
    color: #fff;
}

.navbar-static-side ul.nav li.active li a {
    background: #f6f6f6;
    color: #666;
}

.navbar-top-search {
    padding-top: 10px;
    padding-right: 20px;
}

.navbar-top-search > input {
    height: 30px;
}
 
.navbar-top-search .btn,
.pink-btn,
.pink-btn:hover,
.pink-btn:focus {
    background: #8C204A; 
    border-color: #8C204A;
    color: #fff;
}

.pink-btn:hover,
.pink-btn:focus {
    cursor: pointer;
}

.nav > li > a {
    padding: 7px 15px !important;
}

.nav.navbar-top-links > li > a {
    padding: 15px !important;
}

.nav-second-level li a {
    padding-left: 37px !important;
}

.nav-third-level li a {
    padding-left: 52px !important;
}

.panel-primary { 
    border-color: #8C204A;
}

ul.pagination li.paginate_button a {
    color: #8C204A;
}


.panel-primary .panel-heading,
.btn-primary,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.dropdown-toggle:focus,
.btn-primary.dropdown-toggle.active,
ul.pagination li.paginate_button:active a,
ul.pagination li.paginate_button:focus a,
ul.pagination li.paginate_button.active a { 
    background: #8C204A; 
    border-color: #8C204A;
    color: #fff;
}

.text-bold {
    font-weight: 700;
}

.panel-success .panel-heading { 
    background: #5cb85c; 
    border-color:#5cb85c;
    color: #fff;
}

.panel-warning .panel-heading { 
    background: #f0ad4e; 
    border-color:#f0ad4e;
    color: #fff;
}

.panel-info .panel-heading { 
    background: #5bc0de; 
    border-color:#5bc0de;
    color: #fff;
}

.panel-danger .panel-heading { 
    background: #d9534f; 
    border-color: #d9534f;
    color: #fff;
}


.panel-heading button {
    margin-top: -5px;
}

.btn-primary:hover {
    background: #000;
    border-color: #000;
}

div.btn-primary {
    cursor: default;
}

div.btn-primary:hover {
    background: #8C204A;
    border-color: #8C204A;
}

table.table.table-striped thead tr th,
table.table.table-striped tfoot tr td,
table.table.table-striped tbody tr.tr-header td,
table.table.table-striped tbody tr.tr-footer td,
.fixed-header td {
    font-weight: 700;
    background: #ddd;
}


table.table.table-striped tbody tr.tr-footer td,
.fixed-header td {
    background: #eeeeee;
}


table.table.table-striped tfoot.tfootInsert tr td {
    background: #eee;
}

table.table-report thead tr th {
    text-align: center !important;
}

table.table-report thead tr th.text-left {
    text-align: left !important;
}

table.table-report thead tr th.text-right,
table tr td.text-right {
    text-align: right !important;
}

table.table-report tbody tr.td-line td {
    border-top: 2px #ccc solid;
}

.dataTables_wrapper div.row:last-of-type {
    margin-top: 2.5em;
}

table.table tfoot tr.tr-white td {
    background: #fff !important;
}

table.table.table-depositMap thead tr th,
table.table.table-depositMap tbody tr td,
table.table.table-depositMap tfoot tr td {
    white-space: nowrap !important;
}

table.table td.td-150 {
    min-width: 150px !important;
    width: auto;
}

td.td-150-max {
    max-width: 150px !important;
    width: 150px;
}

/*Table Fix Column*/
.table-responsive > .fixed-column {
    position: absolute;
    display: inline-block;
    width: auto;
    border: none !important;
    /*border-right: 1px solid #ddd;*/
}

.table.tbl-processBD tbody tr td,
.table.tbl-processBD thead tr th {
    border: 1px #ccc solid !important;
}

table .btn-primary,
table .btn-primary:focus,
table .btn-primary:active,
table .btn-primary.active { 
    background: #ddd; 
    border-color: #ddd;
    color: #666;
    height: auto;
    width: auto;
    line-height: 0;
    padding: 0.5em;
    font-size: 0.75em;
}

table .btn-primary:hover {
    background: #8C204A;
    border-color: #8C204A;
}

table.table-striped tbody tr td {
    border: none;
}

div.table-bdProcesso {
    overflow: auto;
}

table label {
    font-weight: normal;
}

div.table-bdProcesso table th {
    white-space: nowrap;
}

p.danger, td.danger, th.danger, .text-danger {
    color: #d9534f;
}

p.success, td.success, th.success {
    color: #5cb85c;
}

p.warning, td.warning, th.warning {
    color: #f0ad4e;
}

.bg-danger {
    background: #d9534f !important;
}


#ReportStock.table > thead > tr > td.danger,
#ReportStock.table > tbody > tr > td.danger, 
#ReportStock.table > tfoot > tr > td.danger, 
#ReportStock.table > thead > tr > th.danger, 
#ReportStock.table > tbody > tr > th.danger, 
#ReportStock.table > tfoot > tr > th.danger, 
#ReportStock.table > thead > tr.danger > td, 
#ReportStock.table > tbody > tr.danger > td, 
#ReportStock.table > tfoot > tr.danger > td, 
#ReportStock.table > thead > tr.danger > th, 
#ReportStock.table > tbody > tr.danger > th,
#ReportStock.table > tfoot > tr.danger > th {
    background: #d9534f !important;
    color: #fff !important;
}

th.bg-success,
.bg-success {
    background: #5cb85c !important;
}

th.bg-warning,
.bg-warning {
    background: #f0ad4e !important;
}

th.bg-primary,
.bg-primary {
    background: #0026ff !important;
}

th.bg-info,
.bg-info {
    background: #5bc0de !important;
}


table td.td-cashnotes span {
    display: block;
}


.text-capitalize {
    text-transform: uppercase;
}

textarea:focus, 
input[type="text"]:focus, 
input[type="password"]:focus, 
input[type="datetime"]:focus, 
input[type="datetime-local"]:focus, 
input[type="date"]:focus, 
input[type="month"]:focus, 
input[type="time"]:focus, 
input[type="week"]:focus, 
input[type="number"]:focus, 
input[type="email"]:focus, 
input[type="url"]:focus, 
input[type="search"]:focus, 
input[type="tel"]:focus, 
input[type="color"]:focus, 
.uneditable-input:focus,
select:focus,
.form-control:focus {   
    border-color: #8C204A;
    box-shadow: none;
    outline: 0 none;
}

textarea {
    min-width: 100%;
    width: 100%;
    max-width: 100%;
}

table input,
table label.error {
    width: 100%;
    max-width: 350px;
    min-width: 100px;
}

table input[type=checkbox] {
    width: 20px;
}

table select {
    width: 100%;
    max-width: 250px;
}

table tbody tr td.td-buttons {
    width: 125px;
    text-align: right;
}

.form-control,
select,
.panel-primary,
.panel-warning,
.panel-info,
.panel-heading,
ul.pagination li.paginate_button a {
    border-radius:0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
}

ul.pagination li a {
    cursor: pointer;
}

h1.page-header {
    border: none;
}

input,
select,
textarea {
    max-width: 100%; /*280px*/
}

select[multiple] {
    height: 200px;
}

span.DetailsList::after
{ 
content: ", ";
}

span.DetailsList:last-child::after {
    content: "";
}

.loader {
    position: fixed; 
    left: 50%;
}

.alert {
    z-index: 99999;
    position: fixed;
    top: 0;
    width: 100%;
    min-height: 52px;
    margin: 0 auto;
    border-radius: 0;
    font-weight: bold;
}

.alert > ul {
    float: left;
}

label.error {
    color: #d9534f;
    width: 100%;
    padding: 0.5em 0.5em;
    background: #F2DEDE;
    font-weight: 500;
    font-size: 0.85em;
    border: 1px #FFACA9 solid;
    border-top: none;
}

.disable_text_highlighting {
    -webkit-touch-callout: none;
    -webkit-user-select: none; /* Webkit */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE 10  */
    /* Currently not supported in Opera but will be soon */
    -o-user-select: none;
    user-select: none;  
}

input.slider-value,
input.slider-value:disabled,
input.slider-value:hover,
input.slider-value:focus {
    cursor: default;
    background: #fff !important;
    border: none !important;
    text-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-align: center;
    font-weight: 400;
    font-size: 1em;
}

.text-editor {
    width: 100%;
    height: 300px !important;
    max-height: 300px !important;
}

.error {
    border-color: #8C204A;
}

.errorLogin {
    background: #ddd;
}

.detail-item input, .detail-item select, .detail-item textarea {
    background-color: transparent !important;
    border: none !important;
    cursor: default !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.detail-item input[type="checkbox"] {
    display: none;
}

.list-group .list-group-item {
    border-radius: 0 !important;
}

.list-check .list-group-item {
    height: 2.5em;
    line-height: 1em;
    border-radius: 0 !important;
}

.list-check .list-group-item span.badge {
    margin-top: -5px !important;
    top: 0 !important;
    border-radius: 2px !important;
    line-height: 0;
    background: #ccc;
}



/* Datepicker */
.ui-datepicker select {
    background: #ccc;
    font-size: 0.9em !important;
    width: auto !important;
    padding: 0;
}

.ui-datepicker {
    z-index: 99999 !important;
}
/* Timepicker */
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { float: left; clear:left; padding: 0 0 0 5px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 45%; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }

.ui-timepicker-rtl{ direction: rtl; }
.ui-timepicker-rtl dl { text-align: right; padding: 0 5px 0 0; }
.ui-timepicker-rtl dl dt{ float: right; clear: right; }
.ui-timepicker-rtl dl dd { margin: 0 45% 10px 10px; }

.ui-timepicker-div .ui-slider-access button {
    border: none;
}

/*Multiple Date Picker*/

.multidatepicker .ui-datepicker {
    width: 100%;
    border-color: #e6e6e6;
}

.multidatepicker .ui-datepicker-header {
    background: #ccc;
    color: #222;
    border: none;
    padding: 0.75em !important;
}

.multidatepicker .ui-datepicker-prev,
.multidatepicker .ui-datepicker-prev:hover,
.multidatepicker .ui-datepicker-next,
.multidatepicker .ui-datepicker-next:hover {
    background: none;
    border: none;
    color: #fff;
    margin-top: 0.75em !important;
}

.multidatepicker .ui-widget-content .ui-state-default,
.multidatepicker .ui-widget-content .ui-state-disabled {
    background: #f6f6f6;
    border: none;
}

.multidatepicker .ui-state-active, 
.multidatepicker .ui-widget-content .ui-state-active, 
.multidatepicker .ui-widget-header .ui-state-active {
	background: #f6f6f6;
    color: #555;
}

.multidatepicker .ui-datepicker-today a.ui-state-highlight {
    background: #ccc;
}

.multidatepicker .ui-widget-content .ui-state-highlight {
    border-color: #fff;
}

.multidatepicker table.ui-datepicker-calendar { 
    border-collapse: separate;
    height: 400px;
}

.multidatepicker table.ui-datepicker-calendar tr td { 
    height: auto;
    padding: 0 !important;
}

.multidatepicker table.ui-datepicker-calendar tr td a { 
    height: 100%;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.multidatepicker .ui-datepicker-calendar td {
    border: 1px solid transparent;
}

.multidatepicker .ui-datepicker .ui-datepicker-calendar .ui-state-highlight a {
	background: #5cb85c none;
	color: white;
}

.multidatepicker #ui-datepicker-div {
    display:none;
}

#EmployeeScheduleMap.multidatepicker .ui-datepicker-inline {
    width: 100% !important;
    font-size: 0.9em;
}

#EmployeeScheduleMap.multidatepicker table.ui-datepicker-calendar { 
    height: 200px;
}

#EmployeeScheduleMap.multidatepicker .ui-datepicker-header {
    padding: 0.35em !important;
}

#EmployeeScheduleMap .ui-datepicker-prev,
#EmployeeScheduleMap .ui-datepicker-prev:hover,
#EmployeeScheduleMap .ui-datepicker-next,
#EmployeeScheduleMap .ui-datepicker-next:hover {
    margin-top: 0.15em !important;
}

.generated-tags {
    font-size: 0.8em;
    color: #fff;
    width: auto;
    max-width: 25px;
    text-align: right !important;
    padding: 0 !important;
    padding-right: 2px !important;
    margin-bottom: 2px;
    cursor: pointer;
}

.generated-tags span {
    float: left;
    padding: 0;
    line-height: 6px;
    font-size: 0.9em;
}


.calendar-event-title,
.calendar-event-header {
    background: #5bc0de;
    color: #fff;
    font-weight: 700;
    text-align: center;
}

.calendar-event-title th {
    text-align: center;
} 

.calendar-event-header {
    background: #ddd;
    color: #222;
}

.calendar-event {
    padding: 0.25em 0.5em;
    color: #fff;
    width: 100%;
    display: block;
    margin: 3px 0;
    font-size: 0.9em;
    background: rgb(211, 211, 211);
}

@media (max-width: 992px) {
    .calendar-event {
        white-space: normal;
        min-width: 150px;
    }
}

.calendar-event.generated-tags {
    max-width: 400px !important;
    text-align: left !important;
    padding: 0.25em !important;
}

.calendar-event-legend {
    display: none;
    margin: 0 !important;
    border-top: 1px #fff solid;
}

.ev-legend {
    width: auto;
    display: inline-block;
    background: rgb(211, 211, 211);
}

.ev-mass {
    background: #5cb85c;
}

.ev-funeral {
    background: #d9534f;
}

.ev-cremation {
    background: #ffa200;
}

.ev-buried-ash {
    background: #0586ffc3;
}

.ev-reminder {
    background: #f0ad4e;
}

.ev-employee-schedule {
    background: #5bc0de;
}

.ev-employee-schedule-health-absense {
    background: #c291e0;
}

.TemplatePreviewContainer {
    border: 1px #ccc solid; 
    min-width: 100%;
    max-width: 100%;
    min-height: 500px;
    box-sizing: content-box;
    padding-bottom: 10px;
}

#TemplatePreview {
    border: none;
    min-height: 500px;
    height: 100%;
    width: 100%;
}

/* Warehouse / Products */

.row-eq-height {
    display: flex;
}

.row-eq-height .col-md-4 {
    flex: 1;
    display: flex !important;
}

.sortable {
    border: 1px solid #ddd;
    width: 100%;
    list-style-type: none;
    margin: 0;
    padding: 0 !important;
    padding-bottom: 0.25em;
    min-height: 200px !important;
}

.sortable.sortable-order {
    min-height: 400px !important;
    max-height: 600px !important;
}

.sortable li {
    background: #eee;
    margin: 0.25em;
    padding: 0.5em 0.25em;
    font-size: 1em;
    width: auto;
    height: auto;
    cursor: move;
    display: block;
}

.sortable li p {
    margin: 0;
} 

/* jQuery Flot */

.graphic-container {
    box-sizing: border-box;
	width: 100%;
	height: 100%;
	padding: 20px 15px 15px 15px;
	margin: 15px auto 30px auto;
	border: 1px solid #ddd;
    display: block;
}

.graphic-placeholder {
	width: 100%;
    min-height: 300px;
	height: 100%;
	font-size: 14px;
	line-height: 1.2em;
}

.legend table {
	border-spacing: 5px;
}

#FuneralProcessParishYear div.xAxis div.tickLabel
{
  -o-transform:rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -webkit-transform:rotate(-45deg);
  -ms-transform:rotate(-45deg);
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1.5);

  text-align: left;
  margin: 0;
  margin-top: 30px;
  margin-bottom: 30px;
}

#FuneralProcessParishYearLegend .legendLabel {
    padding: 0.5em;
}

#flot-tooltip {
    position: absolute;
    display: none;
    border: none;
    padding: 2px;
    background-color: none;
    font-size: 1.25em;
    margin:0;
}

#flot-tooltip.flot-tooltip-bars {
    border: 1px solid #ddd;
    padding: 2px;
    background-color: #eee;
    opacity: 0.80;
    font-size: 0.9em;
}

ul.dropdown-checkbox {
    padding: 5px 10px 0;
    max-height: 300px;
    overflow-y: scroll;
}

.modal-content {
    border-radius:0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
}

/* District Accordion */

.distric-accordion .panel-heading h4.panel-title a {
    font-size: 13px;
    font-weight:700;
    width: auto;
    min-width: 80%;
    display: inline-block;
}

.distric-accordion .panel-heading h4.panel-title a:hover,
.distric-accordion .panel-heading h4.panel-title a:focus,
.distric-accordion .panel-heading h4.panel-title a:active {
    text-decoration: none;
}

.distric-accordion .padding1020 {
    padding: 10px 20px;
}

.distric-accordion .panel .panel-heading {
    background: #ccc;
    color: #222;
}

.distric-accordion .panel .panel .panel-heading {
    background: #eee;
}

.distric-accordion .panel .panel .panel .panel-heading {
    background: #fff;
}

.distric-accordion .btn-circle {
    width: 20px;
    height: 20px;
    padding: 3px 0;
    border-radius: 15px;
    text-align: center;
    font-size: 9px;
    line-height: 1;
    margin-top: 0;
}

@media print{
    /* todo css para o conteudo a imprimir */

    body {
        margin: 20px;
        padding: 0;
    }

    .print-content table {
        margin-top: 0;
        margin-bottom: 5px;
    }

    .print-content table tr td,
    .print-content table tr th {
        padding: 0.125em 0.25em;
        font-size: 12px;
        line-height: 16px;
    }

    .print-content table tr td.text-right {
        text-align: right !important;
    }


    .print-content table tr td p {
        margin: 0;
    }

    .print-content table.table-break {
        page-break-inside: auto !important;
    }

    .print-content table tr.tr-break {
        display: block !important;
        page-break-after: always !important;
    }


    .print-content p.clearfix {
        margin: 0;
        padding: 0;
        line-height: 0;
        height: 0;
    }

    .print-content div.col-sm-6,
    .print-content div.col-md-6 {
        width: 50%;
        float: left;
    }

    .print-content div.col-sm-6,
    .print-content div.col-md-6,
    .print-content div.col-xs-12 {
        margin-top: 0;
        padding-top: 0;
    }

    .print-content .print-text-big {
        font-size: 20px;
    }

    .print-content .print-text-med {
        font-size: 16px;
    }
}



.navbar-brand-a {
    color: #fff;
    text-decoration: none;
    padding-left: 15px;
    margin-left: 0;
}

.navbar-brand-a-version {
    font-size: 15px;
}

.navbar-brand-a:hover {
    color: #fff;
    background-color: transparent;
    text-decoration: none !important;
}

.navbar-toggle {
    padding: 0;
    border: 0;
    margin-top: 11px;
}

.fa-white {
    color: white;
}

/*.search-process-results {
    position: fixed;
    top: 50px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2000;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    background-color: white;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
}*/
.search-process-results .modal-footer,
.search-process-results table td {
    padding-left: 40px;
    padding-right: 40px;
}

.search-process-results .result-body td {
    padding-top: 10px;
}

@media (min-width: 992px) {
  .modal-lg {
    width: 900px;
  }
}

@media (min-width: 1024px) {
  .modal-lg {
    width: 1024px;
  }
}

@media (min-width: 1200px) {
  .modal-lg {
    width: 1200px;
  }
}

@media (min-width: 1400px) {
  .modal-lg {
    width: 1400px;
  }
}

.highlight {
    background-color: #FFFF88;
}

.inline {
    vertical-align: middle;
}

.secondary {
    color: #383d41;
    background-color: #eff0f3 !important;
    border-color: #d6d8db !important;
}

@media (max-width: 767px) {
    .navbar-top-search {
        padding: 5px;
    }
}

@media (min-width: 767px) {
    .navbar-top-search .input-group {
        max-width: 341px;
    }
}

td .borderTop {
	border-top: 1px #777 solid;
}