
/* Special Draw.io things
-------------------------
*/
/* Stop making the whole diagram clickable */
.noPointerEvents,g.noPointerEvents *{
    pointer-events: none !important;
}

a.view-filter-clear {
    color:red;
    margin-left: 10px;
}

#documentsViewerIframeDiv {
    display:none;
}

#docLoadingDiv {
    text-align: center;
    padding:50px 0;
    min-height: 200px;
}

.fa-lg {
    font-size: 1.1em;
}

a.fa,
a.fa-stack {
    color: #525252;
}

a.fa-clone, a.fa-clone:hover {
    color: #9b9b9b;
}

td .fa,
#footer .fa {
    margin: 5px 2px;
}

td button .fa,
td .button .fa {
    margin: 0;
}

.unfold.fa {
    cursor: pointer;
}

.fa:hover {
    text-decoration: none;
}

.fa-lg.fa-trash-o,
.fa-lg.fa-ban {
    color: #B32C30;
}

.fa-lg.fa-pen {
    color: #d3af35;
}

.fa-lg.fa-envelope, .fa-lg.fa-archive {
    color: #d3af35;
}

.fa-lg.fa-arrow-down {
    color: #5F9755;
}

.fa-lg.fa-plus,
.fa-lg.fa-minus,
.fa-lg.fa-plus-square,
.fa-lg.fa-minus-square {
    color: #3E6C91;
}

.fa-lg.fa-check {
    color: #5F9755;
}

.fa-lg.fa-star {
    color: #d3af35;
}

#RAH_User .fa-lg.fa-sign-in {
    color: #5F9755;
}

.fa-lg.fa-mail-reply {
    color: #fff;
}

.fa-lg.fa-color-warning {
    color: #d3af35;
}

.fa-lg.fa-comment {
    color: #d3af35;
}


/* Special Draw.io things
-------------------------
*/


/* Stop making the whole diagram clickable */

.noPointerEvents {
    pointer-events: none;
    cursor: default !important;
}

g.bold, g strong {
    font-weight: 500;
}

/* Hack for iOS - open link on linked boxes*/

g>g>g.noPointerEvents u,
g>g>g.noPointerEvents a,
g>g>g.noPointerEvents i,
g>g>g.noPointerEvents strong,
.clickClick {
    pointer-events: all !important;
}

.clickClick {
    cursor: pointer;
}

g>g>g.noPointerEvents div {
    pointer-events: auto !important;
}

a.view-filter-clear {
    color: red;
    margin-left: 10px;
}

#documentsViewerIframeDiv {
    display:none;
    color: #d3af35;
}

#docLoadingDiv {
    text-align: center;
    padding: 50px 0;
    min-height: 200px;
}


/* Documentviewer */

#textFrame,
#htmlFrame {
    border: solid 1px #555;
    padding: 20px;
    margin: 20px;
}

div.fieldset-raw {
    font-family: Courier, serif;
    font-size: 16px;
    padding: 10px;
    padding-top: 0;
}

div.note-modal-body div.checkbox input {
    width: auto !important;
}

div.note-modal input {
    height: auto !important;
}

/* select2 */

.select2-container .select2-selection--single {
    height: auto;
    padding: 1px;
}   

/* summernote */
.fieldset-raw a {
    color: #337ab7;
    text-decoration: underline;
}

.fieldset-raw a:hover {
    text-decoration: none;
}

.top-buttons {
    clear: both;
    float: right;
    text-align: right;
}

.badge-m {
    font-size: 90% !important;
}

.filter-form {
    border-radius: 5px;
    margin-right: 2px;
    margin-top: 4px;
    padding: 20px;
    display: inline-block;
    background: #f2f2f2;
    color: #222;
}

.input-group-btn-left {
    margin-right: 5px;
}

table.form-style {
    margin-bottom:30px;
}

table.form-style td,
table.form-style th {
    padding: 5px;
    background: #fff;
    border: 1px solid #525252;
}
table.status {
    border-collapse: collapse;
    margin: 0 auto 20px auto;
}
table.status td {
    padding: 5px 20px;
    text-align: center;
    /* width: 33%; */
    border: 1px solid #525252;
}
table.status td.registered {
    background: #dc3545;
    color: #fff;
}
table.status td.action_taken {
    background: #ffc107;
}
table.status td.followed_up {
    background: #28a745;
    color: #fff;
}

table.status td.scheduled {
    background: #6c757d;
    color: #fff;
}
table.status td.passed_deadline {
    background: #f66;
    color: #fff;
}
table.status td.reminded {
    background: #ffc107;
}

table.deviations tr.odd {
    background: #d9d9d9;
}

table.deviations .registered,
table.deviations .returned {
    color: #fff;
    padding: 3px 5px;
    text-align:center;
    background: #f66;
    border-radius: 10px;
}

table.deviations .action {
    color: #000;
    padding: 3px 5px;
    text-align:center;
    background: #ff0;
    border-radius: 10px;
}

table.deviations .completed {
    color: #000;
    padding: 3px 5px;
    text-align:center;
    background: #0f0;
    border-radius: 10px;
}

.activity_description {
    padding: .375rem .75rem;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

div.audits-expanded-wrapper {
    padding:1rem;
    background: #ffffff;
}

div.audits-expanded-details {
    border-bottom: 1px solid #999;
}

tr.deviation-danger {
    background: #f8d7da !important;
}

td.category-laws {
    background: #f2f2f2;
}

.dataTables_processing.card {
    background-color: #f1f0f0;
}

.perm-check-action {
    color: #2f6088;
    cursor: pointer;
}