﻿
input[type=radio].ace + input[type=hidden] + .lbl::before,
input[type=checkbox].ace + input[type=hidden] + .lbl::before {
    cursor: pointer;
    font-family: FontAwesome, serif;
    font-weight: 400;
    font-size: 12px;
    color: #32a3ce;
    content: "\a0";
    background-color: #FAFAFA;
    border: 1px solid #c8c8c8;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
    border-radius: 0;
    display: inline-block;
    text-align: center;
    height: 16px;
    line-height: 14px;
    min-width: 16px;
    margin-right: 1px;
    position: relative;
    top: -1px;
}

input[type=checkbox].ace:checked + input[type=hidden] + .lbl::before, input[type=radio].ace:checked + input[type=hidden] + .lbl::before {
    display: inline-block;
    content: '\f00c';
    background-color: #F5F8FC;
    border-color: #adb8c0;
    box-shadow: 0 1px 2px rgba(0,0,0,.05),inset 0 -15px 10px -12px rgba(0,0,0,.05),inset 15px 10px 12px rgba(255,255,255,.1);
}

.data-separator-header {
    margin: 12px 0 0px;
    padding-bottom: 7px;
    padding-top: 16px;
}

.data-separator-section {
    margin: 12px 0 0px;
    border-top: 1px dotted #e2e2e2;
    padding-bottom: 7px;
    padding-top: 16px;
}

.horizontal-table > tbody > tr > td {
    padding: 5px;
}
.horizontal-table {
    width: 100%;
}

.horizontal-table > thead {
    border: solid 1px #DDD;
}

.horizontal-table > thead > tr > th {
    padding: 10px;
    color:#003087
}

.horizontal-table.footable > tbody > tr > td > div.col-xs-12 {
    padding: 0px;
}

.help-button {
    line-height: 26px !important;
}

div.padding-delete {
    padding-left: 15px;
    padding-top: 5px;
}

/* // List styles
.li-decimal{ list-style-type: decimal; }              
.li-loweralpha { list-style-type: lower-alpha; }       
.li-lowerroman { list-style-type: lower-roman; }

.note-editor ol li { list-style-type: decimal; }              
.note-editor ol ol li { list-style-type: lower-alpha; }       
.note-editor ol ol ol li { list-style-type: lower-roman; }
*/
/*Validate error style*/

input.error,
input.error:focus {
    border-color: #d60000;
}

label.error {
    color: #d60000;
}

.fa-icon-text {
    margin-top: .3em;
}

.ul-default {
    list-style-type: disc;
}

.ul-circle {
    list-style-type: circle;
}

.ul-square {
    list-style-type: square;
}

.ol-de {
    list-style-type: decimal;
}

.ol-la {
    list-style-type: lower-alpha;
}

.ol-lr {
    list-style-type: lower-roman;
}

.ol-ua {
    list-style-type: upper-alpha;
}

.ol-ur {
    list-style-type: upper-roman;
}

/* CSS3 on/off switches */
input[type=checkbox].ace.ace-switch {
    width: 55px;
    height: 25px;
}

    input[type=checkbox].ace.ace-switch + input[type='hidden'] + .lbl,
    input[type=checkbox].ace.ace-switch + .lbl {
        margin: 0 4px;
        min-height: 24px;
    }

        input[type=checkbox].ace.ace-switch + input[type='hidden'] + .lbl::before { /*,
input[type=checkbox].ace.ace-switch + .lbl::before {*/
            font-family: 'Open Sans', serif;
            content: "ON\a0\a0\a0\a0\a0\a0\a0\a0\a0OFF";
            color: #999;
            text-shadow: 0 0 0 #999;
            font-weight: normal;
            font-size: 11px;
            line-height: 17px;
            height: 20px;
            overflow: hidden;
            border-radius: 12px;
            background-color: #F5F5F5;
            -webkit-box-shadow: inset 0 1px 1px 0 rgba(0, 0, 0, 0.15);
            box-shadow: inset 0 1px 1px 0 rgba(0, 0, 0, 0.15);
            border: 1px solid #CCC;
            text-align: left;
            float: left;
            left: 12px;
            padding: 0;
            position: absolute;
            width: 52px;
            margin-right: 0;
            -webkit-transition: text-indent .3s ease;
            -o-transition: text-indent .3s ease;
            transition: text-indent .3s ease;
            top: auto;
        }

        input[type=checkbox].ace.ace-switch + input[type='hidden'] + .lbl::after {
            font-family: 'Open Sans', serif;
            content: 'III';
            font-size: 12px;
            font-weight: normal;
            letter-spacing: 0;
            color: #AAA;
            text-shadow: none;
            background-color: #FFF;
            border-radius: 100%;
            width: 22px;
            height: 22px;
            line-height: 22px;
            text-align: center;
            position: absolute;
            top: -2px;
            left: 12px;
            -webkit-box-shadow: 0px 1px 1px 1px rgba(0,0,0,.3);
            box-shadow: 0px 1px 1px 1px rgba(0,0,0,.3);
            -webkit-transition: left .3s ease;
            -o-transition: left .3s ease;
            transition: left .3s ease;
        }

    input[type=checkbox].ace.ace-switch:checked + input[type='hidden'] + .lbl::before /*,
input[type=checkbox].ace.ace-switch:checked + .lbl::before*/ {
        text-indent: 8px;
        color: #FFF;
        text-shadow: 0 0 0 #FFF;
        background-color: #8ab2c9;
        border-color: #6a8ca8;
    }

    input[type=checkbox].ace.ace-switch:checked + input[type='hidden'] + .lbl::after {
        left: 42px;
        background-color: #FFF;
        color: #98A0A5;
    }

    input[type=checkbox].ace.ace-switch:checked + .lbl::after {
        left: 34px;
        background-color: #FFF;
        color: #98A0A5;
    }

    input[type=checkbox].ace.ace-switch.ace-switch-2 + input[type='hidden'] + .lbl::before { /*,
input[type=checkbox].ace.ace-switch.ace-switch-2 + .lbl::before {*/
        content: "YES\a0\a0NO";
    }

.dashboard-titles {
    height: 40px;
    color: black;
    font-size: 13pt;
    font-weight: bold;
    margin-top: 10px;
}

.msg-result {
    margin-left: 30px;
    margin-bottom: 10px;
    color: red;
    font-weight: bold;
}

.batch-title {
    margin-left: 20px;
}

.batch-subtitle {
    margin-left: 20px;
}

#msg-notification {
    margin-bottom: 12px;
}

#title {
    margin-bottom: 14px;
}

#div_msg {
    margin-right: 1px;
}

#pdf_select {
    max-width: 300px;
}

/*TypeAhead styles*/

.twitter-typeahead {
    width: 100%;
}

.tt-menu {
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    margin-top: 0px;
    padding: 8px 0;
    width: 100%;
}

.tt-suggestion {
    font-size: 22px;
    padding: 3px 20px;
}

    .tt-suggestion:hover {
        cursor: pointer;
        background-color: #2e70e0;
        color: #FFFFFF;
    }

    .tt-suggestion p {
        margin: 0;
    }

/* ========================================
   Bootstrap Replacements for ACE Classes
   ======================================== */

/* Spacing utilities - replacing ACE space-* classes */
.space-6 {
    margin-top: 24px !important;
    margin-bottom: 24px !important;
}

.space-10 {
    margin-top: 40px !important;
    margin-bottom: 40px !important;
}

.space-12 {
    margin-top: 48px !important;
    margin-bottom: 48px !important;
}

/* Icon sizing utilities - replacing ACE bigger-* classes */
.bigger-110 {
    font-size: 110% !important;
}

.bigger-140 {
    font-size: 140% !important;
}

/* Icon utilities - replacing ace-icon combinations */
.icon-only {
    display: inline-block;
    text-align: center;
}

.icon-error {
    color: #d9534f !important;
}

/* Navigation utilities - replacing ace-nav */
.nav.ace-nav {
    /* Keep existing nav styles, just ensure compatibility */
}

/* File input utilities - replacing ace-file-input */
.file-input {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-input input[type="file"] {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.file-input .file-input-label {
    display: inline-block;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.file-input .file-input-label:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.file-input .remove {
    margin-left: 8px;
    color: #dc3545;
    cursor: pointer;
}

.file-input .remove:hover {
    color: #c82333;
}

/* Color utilities for better Bootstrap integration */
.text-success {
    color: #28a745 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.text-info {
    color: #17a2b8 !important;
}

/* Green text color - used in profile views */
.green {
    color: #28a745 !important;
}

.red {
    color: #dc3545 !important;
}

/* Utility classes for chevron icons */
.chevron-up::before {
    content: "\f077";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.chevron-down::before {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.modal-header.modal-header-danger {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%) !important;
    color: #dc2626 !important;
}

.modal-header.modal-header-danger .modal-title {
    color: #dc2626 !important;
}

.modal-header.modal-header-danger i {
    color: #dc2626 !important;
}

.fa-times {
    padding-top: 7px;
    vertical-align: top;
    padding-left: 8px;
}