﻿.mc-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    color: white;
    display: inline-block;
}

.badge-help {
    font-size: 10px;
    background-color: #337ab7 !important;
    cursor: pointer;
}

.btn-flat {
    background-image: none !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.btn-selected {
    background-color: #535353 !important;
    color: white !important;
    text-shadow: none;
}

.btn-min {
    padding: 3px !important;
    font-size: 13px !important;
}

.scrollbar::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background-color: #F5F5F5;
}

.scrollbar::-webkit-scrollbar-thumb {
    background-color: #FFF29D;
}

.usrinfo-td-lbl {
    font-weight: bold;
    width: 70px;
}

.usrinfo-td-lbl-min {
    font-weight: bold;
    width: 50px;
}

.usrinfo-td-val {
    text-align: center;
    width: 90px;
}

.popover {
    max-width: 600px;
}


/* Correção para o CodeMirror */
.cm-s-default {
    display: block;
    width: 100%;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.CodeMirror-hints, .CodeMirror-hint, .CodeMirror-hint-active {
    z-index: 2147483647 !important;
}

.CodeMirror-lint-tooltip {
    z-index: 2147483647 !important;
}

.badge-help {
    font-size: 10px;
    background-color: #337ab7 !important;
    cursor: pointer;
}

.btn-purple {
    color: #fff;
    background-color: #7627bd;
    border-color: #5b1f90;
}

    .btn-purple:hover {
        color: #fff;
        background-color: #a07cc1;
        border-color: #5b1f90;
    }

.btn-sm-no-shadow {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    height: 30px !important;
}

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #ccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #fff;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

        .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            -webkit-border-radius: 6px 0 6px 6px;
            -moz-border-radius: 6px 0 6px 6px;
            border-radius: 6px 0 6px 6px;
        }

.navbar-adjust {
    margin-bottom: 15px !important;
}

.navbar-collapse.collapse {
    display: block !important;
    height: auto !important;
    padding-bottom: 0;
    overflow: visible !important;
}

.navbar-collapse {
    width: auto;
    border-top: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.navbar-nav > li {
    float: left !important;
}

.ui-autocomplete-loading {
    background: white url('../img/ui-anim_basic_16x16.gif') right center no-repeat !important;
}

.ui-autocomplete {
    z-index: 1050 !important;
}

#bootstrapFloatAlert {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5000;
}

.required-red {
    border-color: #d50000 !important;
}

#ui-datepicker-div {
    z-index: 4501 !important;
}

.upadate-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 120px;
    height: 32px;
    background: red;
    font-weight: bold;
    color: white;
    text-align: center;
    z-index: 5000;
    line-height: 31px;
}

.input-group-addon-selectpicker {
    background: #eee;
    border: 1px solid #ccc;
    font-size: 12px;
    font-weight: bold;
    height: 30px;
    vertical-align: middle;
    padding: 6px;
    color: #555;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    text-align: center;
    border-right: 0;
    white-space: nowrap;
    padding-left: 10px;
    padding-right: 10px;
}

label {
    margin-top: 6px;
}

.bold-label {
    font-weight: bold;
}

.checkbox {
    white-space: nowrap;
}

.checkbox-adjust {
    margin-top: 25px !important;
    margin-bottom: 0 !important;
}

.button-bar {
    margin: 5px !important;
    display: inline-flex;
}

.button-bar-container {
    background-color: #C0C0C0;
    border: 1px solid #C0C0C0;
    margin: 1px;
}

.grid-title {
    text-align: right;
    font-weight: bold;
    margin-right: 12px;
}

.mc-modal-body-min {
    padding-top: 4px !important;
}

.modal-alert {
    margin-bottom: 0 !important;
    display: none;
}

.mc-photo-border {
    border-width: 2px;
    border-style: solid;
}

.mc-photo-img-adjust {
    margin-left: -2px;
    margin-top: -2px;
}

.mc-photo-rounded {
    border-radius: 50%;
    display: inline-block;
    overflow: hidden;
}

.mc-photo-square {
    display: inline-block;
    overflow: hidden;
}
/* ######################################## */
.fullpanel-page {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    top: 64px;
    border: 1px solid #CCC;
    border-radius: 4px;
}

.fullpanel-page-head {
    top: 98px !important;
}

#iframeStartPage {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.a-startpage {
    padding: 8px 15px !important;
}

.panel-fullpanel {
    margin-left: 8px;
    margin-right: 8px;
    height: 48px;
    padding: 0 !important;
    overflow: hidden;
}
/* ######################################## */

.modal-header-dragg {
    cursor: move;
}

.modal-dialog-fullscreen {
    position: absolute !important;
    left: 0px !important;
    top: 0px !important;
    bottom: 0px !important;
    right: 0px !important;
    width: initial !important;
    min-width: initial !important;
    margin: 8px !important;
}

.modal-content-fullscreen {
    height: 99% !important;
}

.modal-header-fullscreen {
    padding: 8px !important;
    padding-top: 12px !important;
}

.modal-body-fullscreen {
    position: absolute !important;
    right: 0 !important;
    left: 0 !important;
    bottom: 54px !important;
    top: 52px !important;
    padding-top: 4px !important;
    padding-bottom: 12px !important;
    overflow-y: hidden !important;
}

.modal-body-fullscreen-nofooter {
    overflow-x: hidden !important;
    bottom: 0 !important;
}

.modal-body-fullscreen-scroll {
    overflow-y: scroll !important;
}

.modal-body-fullscreen-noheader {
    bottom: 52px !important;
    top: 30px !important;
}

.modal-panel-iframe {
    width: 100% !important;
    min-height: 200px !important;
    border: 1px solid #DDD;
    box-sizing: content-box;
    display: block;
}

.modal-panel-iframe-full {
    width: calc(100% - 2px) !important;
    height: calc(100% - 1px) !important;
    border: 1px solid #DDD;
    box-sizing: content-box;
    display: block;
}

.modal-panel-iframe-full-mp {
    height: calc(100vh - 140px) !important;
}

.modal-panel-iframe-full-multi-page {
    height: calc(100vh - 140px);
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
}



.modal-open {
    margin-right: 0 !important;
    padding-right: 0 !important;
}

.tablegrid-fixed {
    height: 300px;
    overflow-y: scroll;
    border-top: 1px solid #ddd;
}
/* ######################################## */
/* Toggle Switch */
.mc-toggle-switch-sm {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 16px;
}

    .mc-toggle-switch-sm input {
        opacity: 0;
        width: 0;
        height: 0;
    }


.mc-ts-slider-sm {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background-color: #777;*/
    background-color: #ce0303;
    -webkit-transition: .4s;
    transition: .4s;
}

    .mc-ts-slider-sm:before {
        position: absolute;
        content: "";
        height: 12px;
        width: 12px;
        left: 2px;
        bottom: 2px;
        background-color: white;
        -webkit-transition: .1s;
        transition: .1s;
    }

.mc-ts-check-sm:checked + .mc-ts-slider-sm {
    /*background-color: #2196F3;*/
    background-color: #1e881e;
}

.mc-ts-check-sm:disabled + .mc-ts-slider-sm {
    /*background-color: #2196F3;*/
    background-color: #777 !important;
}

.mc-ts-check-sm:focus + .mc-ts-slider-sm {
    /*box-shadow: 0 0 1px #2196F3;*/
    box-shadow: 0 0 1px #1e881e;
}

.mc-ts-check-sm:checked + .mc-ts-slider-sm:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

.mc-ts-slider-sm.round {
    border-radius: 20px;
}

    .mc-ts-slider-sm.round:before {
        border-radius: 50%;
    }

/* Switch Maior */
.mc-toggle-switch {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 30px;
}

    .mc-toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.mc-ts-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background-color: #777;*/
    background-color: #ce0303;
    -webkit-transition: .4s;
    transition: .4s;
}

    .mc-ts-slider:before {
        position: absolute;
        content: "";
        height: 22px;
        width: 22px;
        left: 6px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .1s;
        transition: .1s;
    }

.mc-ts-toggle-title {
    color: white;
    margin-top: 8px;
    font-size: 12px;
    font-family: verdana;
    font-weight: bold;
    position: absolute;
    top: 0;
}

.mc-ts-toggle-title-yes {
    margin-left: 14px;
    display: none;
}

.mc-ts-toggle-title-no {
    margin-left: 36px;
}

.mc-ts-check:checked + .mc-ts-slider:before {
    -webkit-transform: translateX(46px);
    -ms-transform: translateX(46px);
    transform: translateX(46px);
}

.mc-ts-check:checked + .mc-ts-slider {
    /*background-color: #2196F3;*/
    background-color: #1e881e;
}

    .mc-ts-check:checked + .mc-ts-slider + .mc-ts-toggle-title-yes {
        display: block;
    }

        .mc-ts-check:checked + .mc-ts-slider + .mc-ts-toggle-title-yes + .mc-ts-toggle-title-no {
            visibility: hidden !important;
        }

.mc-ts-check:disabled + .mc-ts-slider {
    /*background-color: #2196F3;*/
    background-color: #777 !important;
}

.mc-ts-check:focus + .mc-ts-slider {
    /*box-shadow: 0 0 1px #2196F3;*/
    box-shadow: 0 0 1px #1e881e;
}

.mc-ts-slider.round {
    border-radius: 34px;
}

    .mc-ts-slider.round:before {
        border-radius: 50%;
    }
/* Exemplo de Uso:
    <label class="mc-toggle-switch-sm">
      <input class="mc-ts-check-sm" type="checkbox" id="chkTeste" checked />
      <span class="mc-ts-slider-sm round"></span>
    </label>

    <label class="mc-toggle-switch">
	    <input class="mc-ts-check" type="checkbox" id="chkTeste" />
   	    <span class="mc-ts-slider round">
	    </span>
        <div class='mc-ts-toggle-title mc-ts-toggle-title-yes'>Sim</div>
        <div class='mc-ts-toggle-title mc-ts-toggle-title-no'>Não</div>
    </label>
*/
/* ######################################## */
/* DataTables */
.DTFC_LeftBodyLiner {
    overflow-x: hidden !important;
}

.dataTables_scrollHead {
    background-color: #265a88 !important;
}

.dataTables_scrollHeadInner {
    width: 100% !important;
}

table.dataTable.no-footer {
    width: calc(100% - 2px) !important;
    border: none !important;
    border-bottom: 1px solid #BBB !important;
}

.dataTables_scrollBody table thead tr {
    visibility: collapse !important;
}

.dataTables_scrollBody {
    overflow-y: scroll !important;
}

table.dataTable thead th:last-child {
    border-right: 18px transparent solid;
}

.datatables-tr-header th {
    border-right: 0 transparent;
    border-bottom: none !important;
}

.dataTables_scrollBody table thead th {
    border-right: 2px solid green !important;
}

.mc-datatable-body thead {
    background-color: #265a88 !important;
}

#mnuPrincipal {
    height: 52px !important;
}

.mc-droppable-area {
}

.mc-droppable-area-inner {
    position: absolute;
    margin: 10px;
    left: 16px;
    bottom: 16px;
    top: 16px;
    right: 16px;
    border: dashed 10px #dddddd;
    text-align: center;
    vertical-align: middle;
    color: #dddddd;
    font-size: 80px;
    display: none;
    background-color: #FFF;
    pointer-events: none;
    z-index: 1000 !important;
}

    .mc-droppable-area-inner div {
        position: absolute;
        width: 100%;
        top: 40%;
        pointer-events: none;
    }

.mc-min-radio, .mc-min-checkbox {
    margin: 0 !important;
}

    .mc-min-radio label {
        font-weight: bold !important;
    }

table.dataTable tbody tr:hover {
    background-color: #e7f4fe !important;
}

.bootstrap-select .dropdown-menu li a span.text {
    white-space: normal !important;
}

.bootstrap-select.btn-group .dropdown-menu li a span.text {
    white-space: normal !important;
}

.bootstrap-select .dropdown-menu {
    max-width: 100% !important;
}