/*
Any custom CSS changes outside of the default theme styles.
*/
body {
    background-color: #f5f6f8;
}

.left-side-menu {
    width: 255px;
}

.content-page {
    margin-left: 255px;
}

#sidebar-menu>ul>li>a i {
    margin: 0 12px 0 2px;
}

.logged-in .footer {
    left: 255px;
}

.non-auth .footer {
    left: 0px;
}

.non-auth .footer .footer-links a {
    color: #fff;
}

.top-content ul.quick-access > li {
    padding: 0;
    min-width: 160px !important;
    display: inline-block;
    max-width: 190px;
    vertical-align: top;
}

dl {
    margin-top: 0;
    margin-bottom: 20px;
}

.dl-horizontal dt {
    float: left;
    width: 200px;
    overflow: hidden;
    clear: left;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dl-horizontal dd {
    margin-left: 220px;
}

dt {
    font-weight: 700;
}

dd, dt {
    line-height: 1.42857143;
}

.fa-ul {
    margin-left: 2.0em;
}

ul.recent-file-list > li {
    padding-left: 5px;
}

#sidebar-menu .menuitem-active .active {
    color: #2892fd;
    background-color: rgba(40,146,253,.07);
}

#sidebar-menu > ul > li > a i {
    position: absolute;
}

#sidebar-menu > ul > li > a > span.text {
    display: inline-block;
    padding-left: 30px;
    vertical-align: top;
}

.top-content ul.quick-access > li .quick-access-item h5 {
    color: #ffffff;
    font-size: .875rem;
}

.auth-logo img {
    max-width: 100%;
}

body.non-auth {
    background: url(../images/cctvgdpr-login-background.jpg);
    background-position: center;
}

.form-control:disabled, .form-control[readonly] {
    background-color: #eee;
}

.flatpicker.form-control:disabled, .flatpicker.form-control[readonly] {
    background-color: inherit;
    cursor: pointer;
}

body.non-auth.pageAccount-select {
    background: #f5f6f8;
}

table {
    width: 100%;
}

table td.col-md-1, table th.col-md-1 {
    width: 8.33333333%;
}

table td.col-md-2, table th.col-md-2 {
    width: 16.66666667%;
}

table td.col-md-3, table th.col-md-3 {
    width: 25%;
}

table td.col-md-4, table th.col-md-4 {
    width: 33.33333332%;
}

table td.col-md-5, table th.col-md-5 {
    width: 41.66666665%;
}

table td.col-md-6, table th.col-md-6 {
    width: 50%;
}

table td.col-md-7, table th.col-md-7 {
    width: 58.33333331%;
}

table td.col-md-8, table th.col-md-8 {
    width: 66.66666664%;
}

table td.col-md-9, table th.col-md-9 {
    width: 75%;
}

table td.col-md-10, table th.col-md-10 {
    width: 83.3333333%;
}

table td.col-md-11, table th.col-md-11 {
    width: 91.66666663%;
}

table td.col-md-12, table th.col-md-12 {
    width: 100%;
}

table td[class*=col-], table th[class*=col-] {
    position: static;
    display: table-cell;
    float: none;
}

.content-page .content .content {
    width: 100%;
}

.content .col-lg-5.col-lg-offset-7, .content .col-lg-6.col-lg-offset-6, .col-lg-4.col-lg-offset-8 {
    text-align: right;
    width: 100%;
    max-width: 100%;
}

@media screen and (max-width: 700px) {
    .notification-list {
        display: none;
    }
}

.content .widget-header .widget-header-toolbar {
    display: none;
}

.widget-content #user .select2-container {
    max-width: 100%;
}

.widget-content {
    overflow: auto;
}

.wf-arrow a {
    color: #ffffff;
}

.table td {
    vertical-align: middle;
}

table.dataTable.dtr-inline.collapsed > tbody > tr[role=row] > td:first-child:before, table.dataTable.dtr-inline.collapsed > tbody > tr[role=row] > th:first-child:before {
    box-shadow: 0 0 45px 0 rgb(0 0 0 / 12%);
    background-color: #4fc6e1;
    top: 0.9rem;
}

table.dataTable tbody tr:not(.child) td .rowValue i.lead {
    margin-top: -3px;
    margin-bottom: -3px;
}

table.dataTable tbody tr:not(.child) td .tabledit-toolbar {
    margin-top: -6px;
    margin-bottom: -6px;
}

.datatableCustomFilter .SearchForm {
    padding-left: 12px;
    padding-right: 12px;
}

.datatableCustomFilter .SearchForm > div {
    margin-left: -6px;
    margin-right: -6px;
}

.datatableCustomFilter .SearchForm div[class*='col-'] {
    padding-right: 6px;
    padding-left: 6px;
}

.datatableCustomFilter .badge {
    font-size: 100%;
    font-weight: inherit;
    padding: .35em .6em;
    margin-bottom: 3px;
    cursor: pointer;
    color: #6c757d;
}

.datatableCustomFilter .toggleColumn button {
    position: absolute;
    right: 0;
    bottom: 0;
    margin-right: 12px;
}

.dataTables_wrapper .rowEditable {
    display: none;
}

@media screen and (min-width: 768px) {
    .modal-dialog {
        width: 800px;
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    display: none;
}

.select2-container .select2-selection--single .select2-selection__clear {
    display: none;
}

table.dataTable thead th {
    vertical-align: top;
    max-width: 150px;
}

table.dataTable.nowrap thead th {
    white-space: normal;
    word-wrap:break-word;
}

table.dataTable>tbody>tr.child ul.dtr-details {
    width: 100%;
}

table.dataTable tbody tr:not(.child) td .rowValue i {
    display: block;
    text-align: center;
}

.input-group.doc-grp {
    position: relative;
    border-collapse: separate;
    flex-wrap: inherit;
    align-items: inherit;
    width: inherit;
}

.input-group.doc-grp .input-group-addon {
    display: table-cell;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.input-group.doc-grp .btn-block {
    padding-right: 10px;
}

.input-group.doc-grp.show {
    display: flex !important;
}

.input-group.doc-grp.show .dropdown-menu {
    cursor: pointer;
}

.SearchForm .form-group label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.addListItem .pafLookup {
    display: none;
}

.loadingDatatable {
    opacity: 0.3;
}

.listSpacing {
    display: block;
    height: 5px;
}

.tabledit-toolbar button {
    font-size: 13px !important;
}

.tabledit-toolbar .btn-group button {
    padding: 4px 8px;
}

.tabledit-toolbar .btn-group i {
    font-size: 1.15em;
}

.inbox-widget.activity-log {
    max-height: 310px;
    overflow: auto;
}

.select2-container.select2-container--default.select2-container--open {
    z-index: 10000;
}

.custom-control.custom-radio:first-child {
    margin-top: 4px;
}

.custom-control.custom-radio {
    margin-top: 1px;
}

.report-form input, .report-form .select2-container--default .select2-selection--multiple {
    cursor: initial !important;
}

.main-content .form-group label {
    width: 100%;
}

.select2-readonly .select2-selection {
    background-color: transparent !important;
    border: transparent !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding: 0px !important;
}

.select2-readonly .select2-selection .select2-selection__rendered li {
    margin: 0px 5px 5px 0px;
}

table.dataTable.nowrap td {
    white-space: initial;
    vertical-align: top;
    min-width: 160px;
}

table.dataTable>tbody>tr.child span.dtr-title {
    margin-right: 10px;
}

.ui-widget.ui-widget-content {
    border: 1px solid #ccc;
}

.ui-widget-content {
    border: 1px solid #ddd;
    background: #eee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x;
    color: #333;
}

.ui-widget-content {
    border: 1px solid #ddd;
    background: #eee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x;
    color: #333;
}

.ui-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
    outline: 0;
}

.ui-front {
    z-index: 100;
}

.ui-menu .ui-menu-item {
    margin: 0;
    cursor: pointer;
    list-style-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
}

.ui-menu .ui-menu-item-wrapper {
    position: relative;
    padding: 3px 1em 3px .4em;
}

.ui-menu-item:hover {
    font-weight: bold;
}

.ui-autocomplete {
    max-width: 500px;
    max-height: 300px;
    overflow: auto;
}

.ui-tooltip {
    display: none !important;
}

.text-center {
    text-align: center;
}

/*\
 * Restore Bootstrap 3 "hidden" utility classes.
\*/

/* Breakpoint XS */
@media (max-width: 575px)
{
    .hidden-xs-down, .hidden-sm-down, .hidden-md-down, .hidden-lg-down, .hidden-xl-down, 
    .hidden-xs-up, 
    .hidden-unless-sm, .hidden-unless-md, .hidden-unless-lg, .hidden-unless-xl
    {
        display: none !important;
    }

}

/* Breakpoint SM */
@media (min-width: 576px) and (max-width: 767px)
{
    .hidden-sm-down, .hidden-md-down, .hidden-lg-down, .hidden-xl-down, 
    .hidden-xs-up, .hidden-sm-up, 
    .hidden-unless-xs, .hidden-unless-md, .hidden-unless-lg, .hidden-unless-xl
    {
        display: none !important;
    } 
}

/* Breakpoint MD */
@media (min-width: 768px) and (max-width: 991px)
{
    .hidden-md-down, .hidden-lg-down, .hidden-xl-down, 
    .hidden-xs-up, .hidden-sm-up, .hidden-md-up, 
    .hidden-unless-xs, .hidden-unless-sm, .hidden-unless-lg, .hidden-unless-xl
    {
        display: none !important;
    } 
}

/* Breakpoint LG */
@media (min-width: 992px) and (max-width: 1199px)
{
    .hidden-lg-down, .hidden-xl-down, 
    .hidden-xs-up, .hidden-sm-up, .hidden-md-up, .hidden-lg-up, 
    .hidden-unless-xs, .hidden-unless-sm, .hidden-unless-md, .hidden-unless-xl
    {
        display: none !important;
    } 
}

/* Breakpoint XL */
@media (min-width: 1200px)
{
    .hidden-xl-down, 
    .hidden-xs-up, .hidden-sm-up, .hidden-md-up, .hidden-lg-up, .hidden-xl-up, 
    .hidden-unless-xs, .hidden-unless-sm, .hidden-unless-md, .hidden-unless-lg
    {
        display: none !important;
    } 
}

body span.table-inline.badge {
    margin-top: auto;
    font-size: 12px;
}

.navbar-custom .badge {
    font-weight: 500;
}

.dataTables_processing .fa-spinner {
    font-size: 30px;
}

/* coloured multi-select options */
.select2-container--default .select2-selection--multiple .select2-selection__choice.selmark {
    background-color: #ff8080;
}

.ribbon {
    z-index: 100;
    margin: 0;
    padding: 0;
    background: red;
    color:white;
    padding:0.6em 0;
    top:0;
    right:0;
    left:0;
    text-align: center;
    cursor: pointer;
    position: sticky;
}

.card-body h3, .card-body .h3 {
    font-size: 1.5rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.card-body .float-end {
    float: right !important;
}

.stat-spinner.spinner-border-sm {
    border: 1px solid #8a8a8b;
    border-right-color: transparent;
}

.stat-spinner .mdi {
    font-size: 18px;
    opacity: 0.6;
}

.is-clickable {
    cursor: pointer;
}

.is-clickable:hover {
    opacity: 0.6;
}

.pageAccount-dashboard .stat-green h3 {
    color: #92D050 !important;
}

.pageAccount-dashboard .stat-red h3 {
    color: #FF0000 !important;
}

.pageAccount-dashboard .stat-orange h3 {
    color: #FFC000 !important;
}

.radio-label {
    font-weight: 300;
}

.questionnaire-form .form-check input[type=radio] {
    width: 15px;
    height: 15px;
    margin-top: 0.15rem;
}

.questionnaire-form .form-check input[type=checkbox] {
    width: 15px;
    height: 15px;
    margin-top: 0.15rem;
}

.questionnaire-form .form-check .radio-label {
    margin-left: 2px;
    margin-bottom: 2px;
}

.questionnaire-loader-overlay {
    background-color: rgba(255, 255, 255, 70%);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    text-align: center;
    padding-top: 180px;
}

.questionnaire-loader-overlay .spinner-border {
    margin: auto;
}

input[type=file].form-control {
    border: none;
    padding-left: 0px;
    padding-right: 0px;
}

.form-group-required label:first-child::after {
    content: " *";
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: #296eaa;
}

.questionnaire-pills .fe-check {
    font-size: 19px;
    margin-top: 0px;
    margin-right: 6px;
    font-weight: bold;
}

.questionnaire-form .right-pill-col {
    border-left: 2px solid #f5f6f8;
    padding-left: 24px;
}

.questionnaire-form .left-main-section {
    padding-right: 24px;
}

.questionnaire-pills a {
    cursor: initial;
}

.modal-open .select2-container--open { z-index: 999999 !important; width:100% !important; }

.world-map-dashboard {
    margin-top: 30px;
}

.world-map-legend {
    color: #98a6ad !important;
    font-size: 14px;
    margin-top: 20px;
}

.jvectormap-marker {
    cursor: pointer;
}

.risk-level {
    color: #abaeb1;
    font-size: 0.9em;
}

.text-danger-temp .form-group > label:first-child {
    color: red;
}

input[readonly].look-normal, input[readonly].look-normal-text {
    background-color:transparent;
    font-size: 1em;
}

input[readonly].look-normal-text {
    border: 0;
    padding-left: 0px;
}

.user-details .nav-bordered {
    margin-bottom: 1px;
}

p.form-label {
    font-weight: 500;
}

.jq-toast-wrap {
    width: 330px;
}

.jq-icon-error {
    border: 1px solid #d15454;
}

.jq-icon-success {
    border: 1px solid #22a188;
}

.close-jq-toast-single {
    background-color: transparent;
    top: -3px;
    right: -3px;
}

.non-readonly-ui .form-control:disabled, .non-readonly-ui .form-control[readonly] {
    background-color: inherit;
    cursor: pointer;
}

.select2-results__option[aria-selected="true"] {
    opacity: 0.4;
    cursor: auto;
}

.alert a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 500;
}

.alert a:hover {
    text-decoration: none !important;
}
