﻿@import url('https://fonts.googleapis.com/css?family=Roboto+Mono:100,100i,300,300i,400,400i,500,500i,700,700i');
@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro:100,100i,300,300i,400,400i,500,500i,700,700i');
@import url('https://fonts.googleapis.com/css?family=Cousine:100,100i,300,300i,400,400i,500,500i,700,700i');
@import url('https://fonts.googleapis.com/css?family=Space+Mono:100,100i,300,300i,400,400i,500,500i,700,700i');
@import url('https://fonts.googleapis.com/css?family=PT+Mono:100,100i,300,300i,400,400i,500,500i,700,700i');

/* CloudWorksControls */
/* button.btn.btn-default.color-dropdown.dropdown-toggle { background-color: #fff; color: #000; }
.thumb-xlg { height: 160px; width: 160px; } */

/*ward4*/
body {
    font-size: 14px;
    color: #292b2c
}

.navbar-light .navbar-brand, .navbar-light .navbar-toggler {
    color: rgba(255,255,255,.9);
}

    .navbar-light .navbar-brand:focus, .navbar-light .navbar-brand:hover, .navbar-light .navbar-toggler:focus, .navbar-light .navbar-toggler:hover {
        color: rgba(255,255,255,1);
    }

.sidebar-nav ul li a {
    white-space: normal;
}

#copyright {
    padding-right: 70px
}

#versao {
    padding-left: 90px;
}

.crud-3btns {
    width: 130px;
    max-width: 130px
}

.crud-2btns {
    width: 90px;
    max-width: 90px
}

.crud-1btns {
    width: 50px;
    max-width: 50px
}

table.dataTable thead .sorting:after {
    content: ''
}

.dataTable td .btn-circle {
    margin: 0px;
    width: 15px;
    height: 15px;
}

table.dataTable tbody th, table.dataTable tbody td {
    padding: 3px 10px;
}

.btn-circle2 {
    border-radius: 100%;
    width: 30px;
    height: 30px;
    padding: 5px;
    margin-right: 3px;
}

.white-box {
    background-color: #ffffff;
    padding: 30px;
    margin: 0px
}

#conteudo .col-md-12 .container-fluid {
    padding-left: 0px;
    padding-right: 0px
}



/* CHAT */
#chat-card {
    height: calc(100VH - 280px);
}

.chat-left-aside, .chat-right-aside, .chat-main-box {
    height: 100%
}

.chat-left-inner {
    height: 100%
}

    .chat-left-inner ul.chatonline {
        height: 100%;
        overflow-y: auto;
    }

.chat-rbox {
    height: calc(100% - 160px);
}

.chatli-active {
    background-color: lightblue;
}

.chatonline li a:hover {
    background-color: lightblue !important;
}

#chatContainer {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.chat-main-box .chat-left-aside .chat-left-inner .form-control {
    height: 0px;
}

/* dropdown user*/

.dropdown-user a i, .profile-text a i {
    margin-right: 5px
}

/* CONTROLS */
.form-material label {
    margin-bottom: 0px
}

.form-material .form-control[disabled] ~ label, .form-material .asColorPicker-wrap ~ label {
    top: -20px;
    font-size: 12px;
    color: #707cd2;
}

.form-control[disabled] {
    background-color: transparent;
}

.form-material input[type="numeric"].form-control {
    text-align: right;
}

i.cwcurrency, i.cwpercent, i.cwurl, i.cwphone, i.cwemail, i.cwdata, i.cwtime, i.cwmap {
    top: 30px;
    right: 0px;
    position: absolute;
    font-size: 18px;
    padding-right: 15px
}

input.cwcurrency, input.cwurl, input.cwpercent, input.cwphone, input.cwemail, input.cwdata, input.cwtime, input.cwmap {
    padding-right: 20px !important
}

.cwcheck {
    padding-top: 35px
}

.cwswitch {
    padding-top: 30px
}

.cwsex {
    padding-bottom: 5px
}

    .cwsex i {
        font-size: 24px
    }

    .cwsex div.cwsexlbl {
        font-weight: 400;
    }


.asColorPicker-input {
    width: calc(100% - 30px);
}

.asColorPicker-trigger {
    right: 0px;
    width: 30px;
    height: 30px;
}

.asColorPicker-clear {
    right: 32px;
}

.asColorPicker-dropdown {
    max-width: 275px;
}

/* MEGADROPDOWN */
.mega-dropdown-menu li .dropdown-header {
    font-size: 18px;
    font-weight: 500;
    padding-left: 0px
}

.mega-dropdown-menu li a {
    font-size: 14px;
    padding: 5px;
}

/* MDB */
/*.btn-floating {
    margin: 0px!important;border-width: 0px!important;
}

.btn-outline-info {
    border: 1px solid #33b5e5 !important;
    padding-right:12px;padding-left:12px;
}

.btn[class*=btn-outline-] {
    padding-top: .5rem;
    padding-bottom: .5rem;
    margin:0px;
}*/

/* MDB MODALS*/
.modal-dialog .modal-content {
    border: 0;
    border-radius: 0.125rem;
}

    .modal-dialog .modal-content .modal-header {
        border-top-left-radius: 0.125rem;
        border-top-right-radius: 0.125rem;
    }

.modal-dialog .btn .fa {
    color: #ffffff !important;
}

.modal-dialog [class*="btn-outline-"] .fa {
    color: inherit !important;
}

.modal-dialog.cascading-modal {
    margin-top: 10%;
}

    .modal-dialog.cascading-modal .close {
        opacity: 1;
        text-shadow: none;
        color: #ffffff;
        outline: 0;
    }

    .modal-dialog.cascading-modal .modal-header {
        margin: -2rem 1rem 1rem 1rem;
        border: none;
        border-radius: 0.125rem;
        padding: 1.5rem;
        text-align: center;
    }

        .modal-dialog.cascading-modal .modal-header .close {
            margin-right: 1rem;
        }

        .modal-dialog.cascading-modal .modal-header .title {
            margin-bottom: 0;
            width: 100%;
            font-size: 1.25rem;
        }

            .modal-dialog.cascading-modal .modal-header .title .fa {
                margin-right: 9px;
            }

        .modal-dialog.cascading-modal .modal-header .social-buttons {
            margin-top: 1.5rem;
        }

            .modal-dialog.cascading-modal .modal-header .social-buttons a {
                font-size: 1rem;
            }

    .modal-dialog.cascading-modal .modal-c-tabs .nav-tabs {
        margin: -1.5rem 1rem 0 1rem;
    }

    .modal-dialog.cascading-modal .modal-c-tabs .tab-content {
        padding: 1.7rem 0 0 0;
    }

    .modal-dialog.cascading-modal .nav-tabs {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
    }

        .modal-dialog.cascading-modal .nav-tabs li {
            -webkit-box-flex: 1;
            -webkit-flex: 1;
            -ms-flex: 1;
            flex: 1;
        }

            .modal-dialog.cascading-modal .nav-tabs li a {
                text-align: center;
            }

    .modal-dialog.cascading-modal .modal-body,
    .modal-dialog.cascading-modal .modal-footer {
        padding-left: 2rem;
        padding-right: 2rem;
        color: #616161;
    }

        .modal-dialog.cascading-modal .modal-body .additional-option,
        .modal-dialog.cascading-modal .modal-footer .additional-option {
            margin-top: 1rem;
            text-align: center;
        }

    .modal-dialog.cascading-modal.modal-avatar {
        margin-top: 6rem;
    }

        .modal-dialog.cascading-modal.modal-avatar .modal-header {
            margin: -6rem 0 -1rem;
        }

            .modal-dialog.cascading-modal.modal-avatar .modal-header img {
                width: 130px;
                margin-left: auto;
                margin-right: auto;
            }

.modal-dialog.modal-notify .heading {
    margin: 0;
    padding: 0.3rem;
    font-size: 1.15rem;
    color: #ffffff;
}

.modal-dialog.modal-notify .modal-header {
    border: 0;
}

.modal-dialog.modal-notify .close {
    opacity: 1;
}

.modal-dialog.modal-notify .modal-body {
    padding: 1.5rem;
    color: #616161;
}

.modal-dialog.modal-notify.modal-primary .modal-header {
    background-color: #4285f4;
}

.modal-dialog.modal-notify.modal-primary .fa {
    color: #4285f4;
}

.modal-dialog.modal-notify.modal-primary .badge {
    background-color: #4285f4;
}

.modal-dialog.modal-notify.modal-danger .modal-header {
    background-color: #ff3547;
}

.modal-dialog.modal-notify.modal-danger .fa {
    color: #ff3547;
}

.modal-dialog.modal-notify.modal-danger .badge {
    background-color: #ff3547;
}

.modal-dialog.modal-notify.modal-warning .modal-header {
    background-color: #ffbb33;
}

.modal-dialog.modal-notify.modal-warning .fa {
    color: #ffbb33;
}

.modal-dialog.modal-notify.modal-warning .badge {
    background-color: #ffbb33;
}

.modal-dialog.modal-notify.modal-success .modal-header {
    background-color: #00c851;
}

.modal-dialog.modal-notify.modal-success .fa {
    color: #00c851;
}

.modal-dialog.modal-notify.modal-success .badge {
    background-color: #00c851;
}

.modal-dialog.modal-notify.modal-info .modal-header {
    background-color: #33b5e5;
}

.modal-dialog.modal-notify.modal-info .fa {
    color: #33b5e5;
}

.modal-dialog.modal-notify.modal-info .badge {
    background-color: #33b5e5;
}

.modal {
    padding-right: 0 !important;
}

@media (min-width: 768px) {
    .modal .modal-dialog.modal-top {
        top: 0;
    }

    .modal .modal-dialog.modal-left {
        left: 0;
    }

    .modal .modal-dialog.modal-right {
        right: 0;
    }

    .modal .modal-dialog.modal-bottom {
        bottom: 0;
    }

    .modal .modal-dialog.modal-top-left {
        top: 10px;
        left: 10px;
    }

    .modal .modal-dialog.modal-top-right {
        top: 10px;
        right: 10px;
    }

    .modal .modal-dialog.modal-bottom-left {
        bottom: 10px;
        left: 10px;
    }

    .modal .modal-dialog.modal-bottom-right {
        bottom: 10px;
        right: 10px;
    }
}

.modal.fade.top:not(.show) .modal-dialog {
    -webkit-transform: translate3d(0, -25%, 0);
    transform: translate3d(0, -25%, 0);
}

.modal.fade.left:not(.show) .modal-dialog {
    -webkit-transform: translate3d(-25%, 0, 0);
    transform: translate3d(-25%, 0, 0);
}

.modal.fade.right:not(.show) .modal-dialog {
    -webkit-transform: translate3d(25%, 0, 0);
    transform: translate3d(25%, 0, 0);
}

.modal.fade.bottom:not(.show) .modal-dialog {
    -webkit-transform: translate3d(0, 25%, 0);
    transform: translate3d(0, 25%, 0);
}

@media (min-width: 992px) {
    .modal.modal-scrolling {
        position: relative;
    }

        .modal.modal-scrolling .modal-dialog {
            position: fixed;
            z-index: 1050;
        }

    .modal.modal-content-clickable {
        top: auto;
        bottom: auto;
    }

        .modal.modal-content-clickable .modal-dialog {
            position: fixed;
        }

    .modal .modal-fluid {
        width: 100%;
        max-width: 100%;
    }

        .modal .modal-fluid .modal-content {
            width: 100%;
        }

    .modal .modal-frame {
        position: absolute;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

        .modal .modal-frame.modal-bottom {
            bottom: 0;
        }

    .modal .modal-full-height {
        position: absolute;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        margin: 0;
        width: 400px;
        height: 100%;
        top: 0;
        right: 0;
    }

        .modal .modal-full-height.modal-top, .modal .modal-full-height.modal-bottom {
            display: block;
            width: 100%;
            max-width: 100%;
            height: auto;
        }

        .modal .modal-full-height.modal-top {
            bottom: auto;
        }

        .modal .modal-full-height.modal-bottom {
            top: auto;
        }

        .modal .modal-full-height .modal-content {
            width: 100%;
        }

        .modal .modal-full-height.modal-lg {
            width: 90%;
            max-width: 90%;
        }
}

@media (min-width: 992px) and (min-width: 992px) {
    .modal .modal-full-height.modal-lg {
        width: 800px;
        max-width: 800px;
    }
}

@media (min-width: 992px) and (min-width: 1200px) {
    .modal .modal-full-height.modal-lg {
        width: 1000px;
        max-width: 1000px;
    }
}

@media (min-width: 992px) {
    .modal .modal-side {
        position: absolute;
        bottom: 10px;
        right: 10px;
        margin: 0;
        width: 400px;
    }
}


/* MBD-SELECT*/

.select-wrapper .select-dropdown {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.select-label {
    position: absolute;
}

.select-wrapper {
    position: relative;
}

    .select-wrapper input.select-dropdown {
        position: relative;
        cursor: pointer;
        background-color: transparent;
        border: none;
        border-bottom-style: solid;
        border-bottom-width: 1px;
        border-bottom-color: #ced4da;
        outline: none;
        height: 3rem;
        line-height: 3rem;
        width: 100%;
        font-size: 1rem;
        margin: 0 0 15px 0;
        padding: 0;
        display: block;
    }

        .select-wrapper input.select-dropdown:disabled {
            color: initial;
            border-bottom-color: rgba(0, 0, 0, 0.3);
            cursor: default;
        }

    .select-wrapper .search-wrap {
        padding: 1rem 0;
        width: 93%;
        display: block;
        margin: 0 auto;
    }

        .select-wrapper .search-wrap input {
            padding-bottom: .4rem;
        }

    .select-wrapper span.caret {
        color: initial;
        position: absolute;
        right: 0;
        top: 16px;
        font-size: 10px;
    }

        .select-wrapper span.caret.disabled {
            color: rgba(0, 0, 0, 0.46);
        }

    .select-wrapper + label {
        position: absolute;
        top: -14px;
        font-size: 0.8rem;
    }

    .select-wrapper i {
        color: rgba(0, 0, 0, 0.3);
    }

    .select-wrapper ul {
        list-style-type: none;
        padding-left: 0;
    }



select {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    display: none !important;
}

    select.browser-default {
        display: block !important;
    }

    select:disabled {
        color: rgb(0, 0, 0);
    }

.select-dropdown ul {
    list-style-type: none;
    padding: 0;
}

.select-dropdown li img {
    height: 30px;
    width: 30px;
    margin: 3px 12px;
    float: right;
}

.select-dropdown li.disabled, .select-dropdown li.disabled > span, .select-dropdown li.optgroup {
    color: rgba(0, 0, 0, 0.3);
    background-color: transparent !important;
    cursor: context-menu;
}

.select-dropdown li.optgroup {
    border-top: 1px solid #eee;
}

    .select-dropdown li.optgroup.selected > span {
        color: rgba(0, 0, 0, 0.7);
    }

    .select-dropdown li.optgroup > span {
        color: rgba(0, 0, 0, 0.4);
    }

.multiple-select-dropdown li [type="checkbox"] + label {
    height: 10px;
}


.z-depth-0, .hoverable, .modal-dialog.cascading-modal.modal-avatar .modal-header, .card.card-cascade.wider, .colorful-select .dropdown-content li.disabled.active span, .colorful-select .dropdown-content li:disabled.active span, .colorful-select .dropdown-content li.optgroup.active span, .colorful-select .dropdown-content li.disabled a:hover, .colorful-select .dropdown-content li.disabled span:hover, .colorful-select .dropdown-content li:disabled a:hover, .colorful-select .dropdown-content li:disabled span:hover, .colorful-select .dropdown-content li.optgroup a:hover, .colorful-select .dropdown-content li.optgroup span:hover {
    box-shadow: none;
}

.card-wrapper .back, .dropdown-content, .mdb-autocomplete-wrap, .side-nav, #toast-container > div, .pricing-card .price .version {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.dropdown-content {
    background-color: #ffffff;
    margin: 0;
    display: none;
    min-width: 100px;
    max-height: 650px;
    overflow-y: auto;
    opacity: 0;
    position: absolute;
    z-index: 999;
    will-change: width, height;
}

    .dropdown-content li {
        clear: both;
        color: #000;
        cursor: pointer;
        line-height: 1.3rem;
        width: 100%;
        text-align: left;
        text-transform: none;
    }

        .dropdown-content li:hover, .dropdown-content li.active {
            background-color: #eee;
        }

        .dropdown-content li > a,
        .dropdown-content li > span {
            /*font-size: 0.9rem;
            color: #4285f4;*/
            display: block;
            padding: 0.5rem;
        }

            .dropdown-content li > a > i {
                height: inherit;
                line-height: inherit;
            }

.colorful-select .dropdown-content {
    padding: 0.5rem;
}

    .colorful-select .dropdown-content li.active span {
        color: #fff !important;
    }

        .colorful-select .dropdown-content li.active span [type="checkbox"]:checked + label:before {
            border-color: transparent #ffffff #ffffff transparent;
        }

    .colorful-select .dropdown-content li a:hover, .colorful-select .dropdown-content li span:hover {
        color: #fff !important;
        -webkit-transition: all 0.1s linear;
        transition: all 0.1s linear;
        border-radius: 2px;
    }

        .colorful-select .dropdown-content li a:hover [type="checkbox"] + label:before, .colorful-select .dropdown-content li span:hover [type="checkbox"] + label:before {
            border-color: #ffffff;
        }

        .colorful-select .dropdown-content li a:hover [type="checkbox"]:checked + label:before, .colorful-select .dropdown-content li span:hover [type="checkbox"]:checked + label:before {
            border-color: transparent #ffffff #ffffff transparent;
        }

    .colorful-select .dropdown-content li.disabled.active span, .colorful-select .dropdown-content li:disabled.active span, .colorful-select .dropdown-content li.optgroup.active span {
        color: rgba(0, 0, 0, 0.3) !important;
        border-bottom-color: rgba(0, 0, 0, 0.3);
        cursor: default;
    }

    .colorful-select .dropdown-content li.disabled a:hover, .colorful-select .dropdown-content li.disabled span:hover, .colorful-select .dropdown-content li:disabled a:hover, .colorful-select .dropdown-content li:disabled span:hover, .colorful-select .dropdown-content li.optgroup a:hover, .colorful-select .dropdown-content li.optgroup span:hover {
        color: rgba(0, 0, 0, 0.3) !important;
        border-bottom-color: rgba(0, 0, 0, 0.3);
        cursor: default;
        background-color: #ffffff !important;
    }

    .colorful-select .dropdown-content li.disabled label, .colorful-select .dropdown-content li:disabled label, .colorful-select .dropdown-content li.optgroup label {
        cursor: default;
    }

.dropdown-primary .dropdown-content li.active, .dropdown-primary .dropdown-content li a, .dropdown-primary .dropdown-content li span:hover {
    background-color: #4285f4 !important;
}

.dropdown-primary .search-wrap input:focus {
    border-bottom: 1px solid #4285f4;
    box-shadow: 0 1px 0 0 #4285f4;
}

.dropdown-danger .dropdown-content li.active, .dropdown-danger .dropdown-content li a, .dropdown-danger .dropdown-content li span:hover {
    background-color: #cc0000 !important;
}

.dropdown-danger .search-wrap input:focus {
    border-bottom: 1px solid #cc0000;
    box-shadow: 0 1px 0 0 #cc0000;
}

.dropdown-default .dropdown-content li.active, .dropdown-default .dropdown-content li a, .dropdown-default .dropdown-content li span:hover {
    background-color: #2bbbad !important;
}

.dropdown-default .search-wrap input:focus {
    border-bottom: 1px solid #2bbbad;
    box-shadow: 0 1px 0 0 #2bbbad;
}

.dropdown-secondary .dropdown-content li.active, .dropdown-secondary .dropdown-content li a, .dropdown-secondary .dropdown-content li span:hover {
    background-color: #aa66cc !important;
}

.dropdown-secondary .search-wrap input:focus {
    border-bottom: 1px solid #aa66cc;
    box-shadow: 0 1px 0 0 #aa66cc;
}

.dropdown-success .dropdown-content li.active, .dropdown-success .dropdown-content li a, .dropdown-success .dropdown-content li span:hover {
    background-color: #00c851 !important;
}

.dropdown-success .search-wrap input:focus {
    border-bottom: 1px solid #00c851;
    box-shadow: 0 1px 0 0 #00c851;
}

.dropdown-info .dropdown-content li.active, .dropdown-info .dropdown-content li a, .dropdown-info .dropdown-content li span:hover {
    background-color: #33b5e5 !important;
}

.dropdown-info .search-wrap input:focus {
    border-bottom: 1px solid #33b5e5;
    box-shadow: 0 1px 0 0 #33b5e5;
}

.dropdown-warning .dropdown-content li.active, .dropdown-warning .dropdown-content li a, .dropdown-warning .dropdown-content li span:hover {
    background-color: #ffbb33 !important;
}

.dropdown-warning .search-wrap input:focus {
    border-bottom: 1px solid #ffbb33;
    box-shadow: 0 1px 0 0 #ffbb33;
}

.dropdown-dark .dropdown-content li.active, .dropdown-dark .dropdown-content li a, .dropdown-dark .dropdown-content li span:hover {
    background-color: #2e2e2e !important;
}

.dropdown-dark .search-wrap input:focus {
    border-bottom: 1px solid #2e2e2e;
    box-shadow: 0 1px 0 0 #2e2e2e;
}

.dropdown-ins .dropdown-content li.active, .dropdown-ins .dropdown-content li a, .dropdown-ins .dropdown-content li span:hover {
    background-color: #2e5e86 !important;
}

.white, .carousel-thumbnails .carousel-indicators .active, .picker__list-item, .picker__box .picker__header .picker__select--month.browser-default, .picker__box .picker__header .picker__select--year.browser-default {
    background-color: #ffffff !important;
}

/*select {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    display: none !important;
}

    select.browser-default {
        display: block !important;
    }

    select:disabled {
        color: rgba(0, 0, 0, 0.3);
    }*/

.select-wrapper + label {
    top: 0px !important;
    font-size: 14px
}
    .select-wrapper span.caret {
        top: 5px !important;
        right: 4px;
    }

.form-control {
    color: #000000
}


/* Alteracoes layout */
.white-box
{
    margin: -10px -12px 0;
    padding: 15px;
}

body {
    font-family: 'PT Mono', monospace;
    font-size: 12px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: inherit;
}

button, input, optgroup, select, textarea {
    font-family: inherit;
}

.form-material .form-group label {
    font-family: inherit;
}

i.cwcurrency, i.cwpercent, i.cwurl, i.cwphone, i.cwemail, i.cwdata {
    top: 12px;
    right: 20px;
}

i.cwtime {
    top: 8px;
    right: 20px;
}

select.form-control:not([size]):not([multiple]) {
    height: 25px;
}

form label {
    color: black;
}

@media (min-width: 769px) and (max-width: 1024px) {

    .div_btn_send_orcamento button, .div_btn_fechar_orcamento input {
        font-size: 1.0rem;
    }

    .div_btn_fechar_orcamento {
        margin-right: 0;
    }
}

@media (max-width: 769px) {

    #conteudo row {
        display: block;
    }

    .div_btn_send_orcamento button, .div_btn_fechar_orcamento input {
        font-size: 14px;
        padding: 7px 12px;
    }

    .div_btn_fechar_orcamento {
        right: 180px;
    }
}

@media (max-width: 630px) {

    .div_btn_send_orcamento button, .div_btn_fechar_orcamento input {
        font-size: 14px;
        padding: 7px 12px;
    }

    .div_btn_send_orcamento {
        position: relative;
        display: block;
        float: left;
        width: auto;
        margin-right: 20px;
        right: 0px;
        top: 0;
    }

    .div_btn_fechar_orcamento {
        position: relative;
        display: block;
        float: left;
        width: auto;
        margin-right: 0;
        right: 0px;
        top: 0;
    }

}


/* Reduzir altura da topbar (CK-50) */
.topbar .top-navbar
{
    min-height: 56px;
}
.topbar .top-navbar .navbar-header
{
    line-height: 53px;
}
.topbar .top-navbar .navbar-header .navbar-brand b
{
    line-height: 55px;
}
.topbar .top-navbar .navbar-nav>.nav-item>.nav-link
{
    line-height: 37px;
}
.left-sidebar
{
    padding-top: 56px
}
.form-control {
    min-height: 25px;
}
@media (max-width: 767px)
{
    .mini-sidebar .page-wrapper
    {
        padding-top: 56px;
    }
}


/* Reduzir altura da barra de titulo e da caixa da foto no menu lateral (CK-51) */
.page-titles
{
    height: 64px;
    padding-bottom: 16px;
}
@media (min-width: 768px)
{
    .mini-sidebar .user-profile
    {
        padding-bottom: 7px;
    }
    .mini-sidebar .user-profile .profile-img
    {
        padding-top: 9px;
        margin: 0 auto;
        text-align: center;
    }
    .mini-sidebar .user-profile .profile-img img
    {
        width: 96%;
    }
    .mini-sidebar .user-profile .profile-img:before
    {
        top: 9px;
        width: 48px;
        height: 48px;
    }
}


/* Alterações nas gridviews */
table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after {
    content: "";
    margin: 0;
}

/* BOTOES */
.dataTable td .btn-circle {
    margin-left: 3px;
    width: 10px;
    height: 10px;
    padding: 9px;
}

td button span.fa, td button i.fa {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 50%;
    transform: translate(-50%, -50%);
}

.file-actions td button i.fa {
    position: initial;
    top: initial;
    left: inherit;
    height: inherit;
    transform: inherit;
}


/* Correções dropdowns / checkboxes */
.select-wrapper + label {
    font-size: 12px;
}

.select-wrapper input.select-dropdown {
    height: 30px;
    margin: 5px 0 8px 0;
}

input[type="checkbox"] + label {
    font-size: 12px;
}


/* alteração design botões exportação / inserir */
.dataTables_wrapper {
    padding-top: 0;
}

.datatable-add-action {
    position: absolute;
    top: -18px;
    right: -5px;
    z-index: 1;
}

    .datatable-add-action > button {
        box-shadow: 0px 2px 4px rgba(0, 0, 0, .33);
    }

        .datatable-add-action > button > span {
            display: none;
        }

.page-titles .breadcrumb {
    display: inline-block;
}

.page-titles .datatable-export-actions {
    display: inline-block;
    position: relative;
    margin-left: 4px;
    vertical-align: top;
}

    .page-titles .datatable-export-actions > .btn {
        padding: 2px 8px 0;
        border-radius: 100%;
    }

    .page-titles .datatable-export-actions > .dropdown-menu {
        margin-top: 3px;
        padding: 0;
    }

        .page-titles .datatable-export-actions > .dropdown-menu > button:active {
            color: inherit;
            text-decoration: inherit;
            background-color: inherit;
        }

.page-titles > #datatable_filter {
    float: none;
    margin-top: 0;
}

    .page-titles > #datatable_filter > label {
        display: block;
        margin-bottom: 0;
        padding: 6px 0 4px;
        font-size: 0;
    }

        .page-titles > #datatable_filter > label > i {
            font-size: 14px;
        }

        .page-titles > #datatable_filter > label > input {
            font-size: 14px;
            width: calc(100% - 23px);
        }
#datatable > thead > tr > th:last-child {
    padding: 9px;
}

    #datatable > thead > tr > th:last-child > #datatable_filter {
        float: none;
        margin-top: 0;
    }

        #datatable > thead > tr > th:last-child > #datatable_filter > label {
            margin-bottom: 0;
            width: 100%;
            font-size: 0;
        }

            #datatable > thead > tr > th:last-child > #datatable_filter > label > i {
                font-size: 12px;
            }

            #datatable > thead > tr > th:last-child > #datatable_filter > label > input {
                width: calc(100% - 19px);
                font-size: 12px;
            }

/* CK-74 Reorganizar botões de acção de datatables em filhos e netos */
.tab-pane .datatable-add-action
{
    top: initial;
    right: 21px;
    margin-top: -14px;
}
.nav-tabs a.active .datatable-export-actions
{
    display: inline-block;
}
.nav-tabs .datatable-export-actions
{
    display: none;
    position: relative;
    margin: -3px -8px -4px 4px;
}
.nav-tabs .datatable-export-actions>button
{
    padding: 3px 9.5px 2px;
    border-radius: 100%;
}
.nav-tabs .datatable-export-actions>button>i.fa
{
    color: #666 !important;
}
.nav-tabs .datatable-export-actions>.dropdown-menu
{
    border-radius: .25rem;
    margin-top: 3px;
    padding: 0;
}
.nav-tabs .datatable-export-actions>.dropdown-menu>button:active
{
    color: inherit;
    text-decoration: inherit;
    background-color: inherit;
}
.tab-pane thead [class*="crud-"]
{
    padding: 9px;
}
.tab-pane thead [class*="crud-"]>.dataTables_filter
{
    float: none;
    margin-top: 0;
}
.tab-pane thead [class*="crud-"]>.dataTables_filter>label
{
    margin-bottom: 0;
    width: 100%;
    font-size: 0;
}
.tab-pane thead [class*="crud-"]>.dataTables_filter>label>i
{
    font-size: 12px;
}
.tab-pane thead [class*="crud-"]>.dataTables_filter>label>input
{
    width: calc(100% - 19px);
    font-size: 12px;
}

/* CK-75 Preloader a tapar a transformação das datatables */
.dataTables_wrapper .dataTables_processing
{
    height: 100%;
    top: 0;
    left: 0;
    margin: 0;
    background-color: #fff;
    background-image: url(/img/preloader.gif);
    background-position: center;
    background-repeat: no-repeat;
    font-size: 0;
    z-index: 2;
}


/* Correção na lista de contactos do chat */
.chat-left-inner ul.chatonline {
    height: calc(100% - 45px);
}


/* Correção na coluna dos botões nas grids */
.crud-3btns {
    max-width: none;
    width: 7%;
}

.crud-2btns {
    width: 5%;
    max-width: none;
}

.crud-1btns {
    width: 3%;
    max-width: none;
}

/*
    SPINNER
*/

#hide_content {
    background-color: #333;
    opacity: 0.8;
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 100;
    height: 100%;
    width: 100%;
    overflow: hidden;
    /*background-image: url('ajax-loader.gif');
    background-position: center;
    background-repeat: no-repeat;*/
}

.hide_content_in_modal {
    background-color: white;
    opacity: 1;
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 100;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.loader {
    border: 10px solid #f3f3f3; /* Light grey */
    border-top: 10px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    z-index: 200;
    position: absolute;
    top: 20%;
    left: calc(50% - 120px);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* CHECKBOXES */

.cwcheck {
    padding-top: 0;
}

div.cwcheck label::before {
    top: 8px;
}

[type="checkbox"] + label {
    height: 40px;
    line-height: 20px;
    font-weight: 400;
    display: inline-block;
    padding-top: 9px;
}

[type="checkbox"]:checked + label:before {
    top: 0px!important;
}

/* WARD4 - Multiple Checkbox (mcb) */
.mcb-table td {
    border-top: 0;
}
.mcb-table td:not(:first-child), .mcb-table th:not(:first-child) { text-align: center; }
.mcb-group-headed:hover { background-color: transparent !important; }
.mcb-group-headed td { padding-top: 1.5rem; color: #369; font-weight: 600; font-size: 1.05em; vertical-align: bottom; }
.mcb-group-item td:first-child { color: #212529; font-weight: 400; }
.mcb-group-item td:not(:first-child) { line-height: 0; white-space: nowrap; }
.mcb-group-item label { padding: 0; width: 18px; height: 18px; }
.mcb-group-item label::before { top: 0; margin: 0; }
.mcb-table .mcb-btn { line-height: 1; padding: 2px 0; width: 18px; margin-left: 4px; }
.mcb-table .mcb-btn .fa { font-size: .9em; position: initial; top: initial; left: initial; height: initial; transform: initial; }
.mcb-table .mcb-btn .fa.r-45 { transform: rotate(45deg); }
.mcb-rows-buttons td:nth-child(2) { text-align: right; }
.table-sm.mcb-table thead th { padding-top: .5rem; padding-bottom: .5rem; }
.table-sm .mcb-group-headed td { padding-top: 1rem; }

/* WARD4 - OptionBoxGroup (obg) */
.obg-table td { border-top: 0; }
.obg-table td:not(:first-child), .obg-table th:not(:first-child) { text-align: center; }
.obg-group-headed:hover { background-color: transparent !important; }
.obg-group-headed td { padding-top: 1.5rem; color: #369; font-weight: 600; font-size: 1.05em; }
.obg-group-item td:first-child { color: #212529; font-weight: 400; }
.obg-group-item td:not(:first-child) { line-height: 0; }
.obg-group-item .custom-radio { vertical-align: middle; }
.obg-group-item .custom-radio label { font-size: 1em; height: initial; line-height: 1em; font-weight: 300; padding-left: 20px; }
.obg-group-item .custom-radio label::before, .obg-group-item .custom-radio label::after { margin: calc(.5em - 9px) 0 0; }
.table-sm.obg-table thead th { padding-top: .5rem; padding-bottom: .5rem; }
.table-sm .obg-group-headed td { padding-top: 1rem; }

/* CK-189 Multiselect abre numa modal */
.mdb-select ~ .modal .modal-bg { position: fixed; width: 100vw; height: 100vh; background-color: rgba(0, 0, 0, .33); }
.mdb-select ~ .modal .modal-content { max-height: 90vh; }
.mdb-select ~ .modal h5 { margin: 0; padding: 12px 16px 8px; }
.mdb-select ~ .modal ul { position: initial !important; display: block !important; margin: 0 !important; padding: 0 8px 48px !important; width: initial !important; height: initial !important; opacity: 1 !important; list-style: none; column-count: 2; box-shadow: none; z-index: initial; max-height: initial; }
.mdb-select ~ .modal li { break-inside: avoid-column; }
.mdb-select ~ .modal li[data-id=""].disabled { display: none; }
.mdb-select ~ .modal .search-wrap { position: absolute; top: 6px; right: 12px; max-width: 128px; }
.mdb-select ~ .modal .search-wrap>div::before { content: '\f002'; display: inline-block; width: 20px; font: normal normal normal 14px/1 FontAwesome; }
.mdb-select ~ .modal .search-wrap>div>input { display: inline-block; width: calc(100% - 20px); }
.mdb-select ~ .modal .filtrable { padding: 6px 8px; }
.mdb-select ~ .modal .filtrable label { display: inline-block; float: initial; margin-top: initial; margin-left: initial; background: initial; padding-top: 16px; padding-right: initial; padding-bottom: initial; padding-left: 26px; color: black; overflow: initial; font-family: "Poppins", sans-serif; }
.mdb-select ~ .modal .btn { position: absolute; right: 12px; bottom: 12px; padding: 6px 16px 5px; }
.mdb-select ~ .modal.show { display: block; }

/* Para disabled SWITCH e S2M */
.select-wrapper input.select-dropdown:disabled { cursor: not-allowed; }
.aux-box-disabled { width: 100%; height: 100%; position: absolute; top: 0; cursor: not-allowed; }

/* CK-216 O rodapé deve desaparecer em resoluções baixas */
@media (max-width: 768px) {
    .page-wrapper>.footer { display: none; }
}

/* CK-217 Em resoluções baixas, nas páginas com datatables, a pesquisa deve passar para o footer */
@media (max-width: 768px) {
    .page-wrapper { padding-bottom: 68px; min-height: 100vh !important; }
    .page-wrapper>.footer { display: none; }
    .page-wrapper>.container-fluid>#conteudo { padding-bottom: 44px !important; }
    .page-wrapper>.container-fluid>#conteudo>.col-md-12>.container-fluid { padding-bottom: 25px !important; }
    .page-wrapper>.container-fluid>.page-titles>.dataTables_filter { position: absolute; bottom: 0; left: 0; padding: 0 15px; }
    .page-wrapper>.container-fluid>.page-titles>.dataTables_filter>label { max-width: 512px; margin: 0 auto; padding: 15px !important; background-color: #fff; }
}

/* CK-285e287e288 Botões de ação de um registo, à esquerda do botão de fechar modal */
.modal-header-buttons { float: right; margin-left: auto; }
.modal-header-buttons button { line-height: 1; color: #000; text-shadow: 0 1px 0 #fff; opacity: .5; background-color: transparent; border: 0; -webkit-appearance: none;  width: 24px; padding: 2px 0; font-size: 19px; overflow: hidden; }
.modal-header-buttons button:focus, .modal-header-buttons button:hover { color: #000; text-decoration: none; opacity: .75; }
.modal-header-buttons button:not(:disabled):not(.disabled) { cursor: pointer; }
.modal-header-buttons button:disabled, .modal-header-buttons button.disabled { color: #999; text-shadow: 0 1px 0 #000; opacity: .5; cursor: not-allowed; }

/* CK-261 FileInput alterar 'glyphicon' por 'fontawesome' */
.file-input .glyphicon { display: inline-block; font: normal normal normal 14px/1 FontAwesome; font-size: inherit; text-rendering: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.file-input .glyphicon-repeat::before { content: '\f01e'; }
.file-input .glyphicon-trash::before { content: '\f1f8'; }
.file-input .glyphicon-zoom-in::before { content: '\f00e'; }

/* CK-327 Corrigir avatar input para outros tamanhos de col-x */
.col-avatar { height: calc(48px * 6); margin-bottom: calc(-48px * 6); padding-bottom: 8px; }
.col-avatar .kv-avatar { height: 100%; display: block; }
.col-avatar .file-input { width: 100%; height: 100%; display: block; }
.col-avatar .file-preview { height: 100%; margin-bottom: 0; padding: 16px; }
.col-avatar .file-drop-zone { margin: 0; padding: 8px; }
.col-avatar .file-preview-thumbnails { height: 100%; }
.col-avatar .file-default-preview { overflow: hidden; }
.col-avatar .file-default-preview img { width: 100%; }
.col-avatar .file-default-preview h6 { margin-top: 4px; }
.col-avatar .file-preview-frame { width: 100%; height: 100%; }
.col-avatar .file-preview-frame .kv-file-content { width: 100%; height: calc(100% - 78px); overflow: hidden; }
.col-avatar .file-caption-info { width: 100%; }
.col-avatar .file-size-info { width: 100%; }

/* CK-000 Reparar largura das datatables filhas */
table[id*="datatable_"][style*="width: 0px;"] { width: 100% !important; }

/* TABS */
.tab-content > .active {
    padding-top: 15px;
}

/* GENERO */

.cwsex div.cwsexlbl {
    margin-bottom: 0px;
    top: -7px;
    display: block;
    position: relative;
    font-size: 10px;
}

.cwsex i {
    font-size: 17px;
}

.cwsex ~ .switch label {
    font-size: 11px;
}

.switch label .lever {
    height: 11px;
}

.switch label .lever:after {
    width: 15px;
    height: 15px;
}

/** {background-size: auto !important}*/

/* HELP-BLOCKS */
small.help-block {
    color: red;
}
/* CK-349 Passar .help-block para fora da div com as bordas */
.form-group.form7 { transition: margin .5s; }
.form-group.form7.has-error { margin-bottom: 30px; }
.form-group.form7 .help-block { position: absolute; background-color: #fee; border: solid 1px #fcc; border-radius: 2px; margin: 2px 4px 0 -6px; padding: 2px 2px 3px; z-index: 1; }

/* */
.modal .modal-body {
    overflow-y: auto;
}

/* Fazer desaparecer segundos botoes de reordenar na tabela */
table.dataTable thead .sorting:after {margin-left:0px}

/* TESTE NOVO ESTILO */
.form-group {
    overflow: visible!important;
}

html body .m-b-10 {
    margin-bottom: 15px;
}

i.cwcurrency, i.cwpercent, i.cwurl, i.cwphone, i.cwemail, i.cwdata, i.cwtime {
    padding-right: 0px;
}

i.mdi.mdi-calendar.cwdata {
    top: 9px;
}

i.cwdata.mdi-calendar-multiple {
    top: 7px !important;
}

i.cwmap {
    top: 9px;
    right: 8px;
}

i.mdi.mdi-calendar-clock.cwdata {
    top: 8px;
}

.form-material .form7 {
    padding-bottom: 0;
}

.form-material .form7 {
    overflow: inherit;
}

.form-style-7 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.form-style-7 li, .form7 {
    display: block;
    padding: 5px;
    border: 1px solid #DDDDDD;
    margin-bottom: 15px;
    border-radius: 3px;
}

    .form-style-7 li:last-child {
        border: none;
        margin-bottom: 0px;
        text-align: center;
    }

    .form-style-7 li > label, .form7 label {
        display: block;
        float: left;
        margin-top: -16px;
        margin-left: -5px;
        background: #FFFFFF;
        height: 17px;
        padding: 2px 5px 2px 5px;
        color: #666;
        font-size: 10px;
        overflow: hidden;
        font-family: Arial, Helvetica, sans-serif;
    }

    .form7 input[type="text"],
    .form7 input[type="date"],
    .form7 input[type="datetime"],
    .form7 input[type="email"],
    .form7 input[type="number"],
    .form7 input[type="search"],
    .form7 input[type="time"],
    .form7 input[type="url"],
    .form7 input[type="password"],
    .form7 input[type="numeric"],
    .form7 input[type="e-mail"],
    .form7 textarea,
    .form7 select {
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        width: 100%;
        display: block;
        outline: none;
        border: none;
        height: 25px;
        line-height: 20px;
        font-size: 12px;
        padding: 0;
        background: transparent !important;
        /*font-family: Georgia, "Times New Roman", Times, serif;*/
    }

    .form7 textarea {
        height: 60px!important;
    }
    .form7 input[type="text"]:focus,
    .form7 input[type="date"]:focus,
    .form7 input[type="datetime"]:focus,
    .form7 input[type="email"]:focus,
    .form7 input[type="number"]:focus,
    .form7 input[type="search"]:focus,
    .form7 input[type="time"]:focus,
    .form7 input[type="url"]:focus,
    .form7 input[type="password"]:focus,
    .form7 input[type="numeric"],
    .form7 input[type="e-mail"],
    .form7 textarea:focus,
    .form7 select:focus {
        background: transparent !important;
    }

.form-style-7 li > span {
    background: #F3F3F3;
    display: block;
    padding: 3px;
    margin: 0 -9px -9px -9px;
    text-align: center;
    color: #C0C0C0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
}

.select-wrapper + label {
    display: block;
    float: left;
    margin-top: -10px;
    margin-left: 2px;
    background: #FFFFFF;
    height: 17px;
    padding: 2px 5px 2px 5px;
    color: #666;
    font-size: 10px;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
}

.select-wrapper input.select-dropdown {
    margin: 0!important;
}

/*
.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9,
.col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9,
.col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9,
.col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9,
.col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9 {
    padding-right: 0px;
}
*/

.modal .row > .col-xs-1:not(:first-child), .modal .row > .col-xs-2:not(:first-child), .modal .row > .col-xs-3:not(:first-child),
.modal .row > .col-xs-4:not(:first-child), .modal .row > .col-xs-5:not(:first-child), .modal .row > .col-xs-6:not(:first-child),
.modal .row > .col-xs-7:not(:first-child), .modal .row > .col-xs-8:not(:first-child), .modal .row > .col-xs-8:not(:first-child),
.modal .row > .col-xs-9:not(:first-child), .modal .row > .col-xs-10:not(:first-child), .modal .row > .col-xs-11:not(:first-child),
.modal .row > .col-xs-12:not(:first-child),
.modal .row > .col-sm-1:not(:first-child), .modal .row > .col-sm-2:not(:first-child), .modal .row > .col-sm-3:not(:first-child),
.modal .row > .col-sm-4:not(:first-child), .modal .row > .col-sm-5:not(:first-child), .modal .row > .col-sm-6:not(:first-child),
.modal .row > .col-sm-7:not(:first-child), .modal .row > .col-sm-8:not(:first-child), .modal .row > .col-sm-8:not(:first-child),
.modal .row > .col-sm-9:not(:first-child), .modal .row > .col-sm-10:not(:first-child), .modal .row > .col-sm-11:not(:first-child),
.modal .row > .col-sm-12:not(:first-child),
.modal .row > .col-md-1:not(:first-child), .modal .row > .col-md-2:not(:first-child), .modal .row > .col-md-3:not(:first-child),
.modal .row > .col-md-4:not(:first-child), .modal .row > .col-md-5:not(:first-child), .modal .row > .col-md-6:not(:first-child),
.modal .row > .col-md-7:not(:first-child), .modal .row > .col-md-8:not(:first-child), .modal .row > .col-md-8:not(:first-child),
.modal .row > .col-md-9:not(:first-child), .modal .row > .col-md-10:not(:first-child), .modal .row > .col-md-11:not(:first-child),
.modal .row > .col-md-12:not(:first-child),
.modal .row > .col-lg-1:not(:first-child), .modal .row > .col-lg-2:not(:first-child), .modal .row > .col-lg-3:not(:first-child),
.modal .row > .col-lg-4:not(:first-child), .modal .row > .col-lg-5:not(:first-child), .modal .row > .col-lg-6:not(:first-child),
.modal .row > .col-lg-7:not(:first-child), .modal .row > .col-lg-8:not(:first-child), .modal .row > .col-lg-8:not(:first-child),
.modal .row > .col-lg-9:not(:first-child), .modal .row > .col-lg-10:not(:first-child), .modal .row > .col-lg-11:not(:first-child),
.modal .row > .col-lg-12:not(:first-child) {
    padding-left: 0;
}

.cwswitch { padding-top: 0px; }
.cwswitch label {
    display: block;
    width: 100%;
    float: left;
    margin-top: -7px;
    margin-left: -5px;
    background: #FFFFFF;
    height: 15px;
    padding: 0px 5px 1px 5px;
    color: #666;
    font-size: 10px;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
}

.bootstrap-switch .bootstrap-switch-handle-off,
.bootstrap-switch .bootstrap-switch-handle-on,
.bootstrap-switch .bootstrap-switch-label {
    padding: 2px 12px;
    font-size: 11px;
}

.form7.mdb-select, .form7.select-wrapper {
    padding: 6px;
    padding-bottom: 0;
}

/* BOTAO SUBSCRIÇÃO */
#onesignal-bell-container.onesignal-reset {
    z-index: 80 !important;
}

.modal-footer {
    padding-right: 8px;
    padding-left: 8px;
}

/* CK-307 Corrigir comportamento das modals (largura e posicionamento) */
.modal.left .modal-dialog.modal-full-height,
.modal.right .modal-dialog.modal-full-height {
    /* copy line 520 */
    position: absolute;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin: 0;
    width: 400px;
    height: 100%;
    top: 0;
    right: 0;
    
    /* add */
    width: 100%;
    max-width: initial;
}
@media (min-width: 870px) {
    .modal.left .modal-dialog.modal-full-height,
    .modal.right .modal-dialog.modal-full-height {
        max-width: 810px;
    }
    .modal.no-backdrop {
        width: 810px;
        box-shadow: 0 0 16px rgba(0, 0, 0, .25);
    }
    .modal.no-backdrop.right {
        left: initial;
    }
}
@media (max-width: 1619px) and (min-width: 870px) {
    .modal.no-backdrop.left {
        left: initial;
    }
}
@media (max-width: 1619px) {
    .modal.left .modal-dialog.modal-full-height {
        left: initial !important;
    }
}

/* SUB MODAL TITLES */
.modal.slideInRight.right.show h4 span:last-child {
    margin-left: 5px;
    font-size: 0.8em;
}
.modal .modal-footer button.btn {
    margin: 0 2px;
    padding: 5px 3px;
    font-size: 12px;
    letter-spacing: -1px;
}

/* MODAL MEDIA QUERIES */
@media  (max-width: 767px) {
    .col, .modal .row .col-1, .modal .row .col-10, .modal .row .col-11, .modal .row .col-12, .modal .row .col-2, .modal .row .col-3, .modal .row .col-4, .modal .row .col-5, .modal .row .col-6, .modal .row .col-7, .modal .row .col-8, .modal .row .col-9, 
    .modal .row .col-lg, .modal .row .col-lg-1, .modal .row .col-lg-10, .modal .row .col-lg-11, .modal .row .col-lg-12, .modal .row .col-lg-2, .modal .row .col-lg-3, .modal .row .col-lg-4, .modal .row .col-lg-5, .modal .row .col-lg-6, .modal .row .col-lg-7, .modal .row .col-lg-8, .modal .row .col-lg-9, 
    .modal .row .col-md, .modal .row .col-md-1, .modal .row .col-md-10, .modal .row .col-md-11, .modal .row .col-md-12, .modal .row .col-md-2, .modal .row .col-md-3, .modal .row .col-md-4, .modal .row .col-md-5, .modal .row .col-md-6, .modal .row .col-md-7, .modal .row .col-md-8, .modal .row .col-md-9, 
    .modal .row .col-sm, .modal .row .col-sm-1, .modal .row .col-sm-10, .modal .row .col-sm-11, .modal .row .col-sm-12, .modal .row .col-sm-2, .modal .row .col-sm-3, .modal .row .col-sm-4, .modal .row .col-sm-5, .modal .row .col-sm-6, .modal .row .col-sm-7, .modal .row .col-sm-8, .modal .row .col-sm-9, 
    .modal .row .col-xl, .modal .row .col-xl-1, .modal .row .col-xl-10, .modal .row .col-xl-11, .modal .row .col-xl-12, .modal .row .col-xl-2, .modal .row .col-xl-3, .modal .row .col-xl-4, .modal .row .col-xl-5, .modal .row .col-xl-6, .modal .row .col-xl-7, .modal .row .col-xl-8, .modal .row .col-xl-9 {
        padding-left: 15px!important;
    }
}

@media (max-width: 375px) {
    .modal-header  {
        min-height: 85px;
    }
    .modal-title {
        float: left;
        height: 100%;
    }
}
@media (min-width: 376px) and (max-width: 768px) {
    .modal-header {
        min-height: 55px;
    }
    .modal-title {
        float: left;
        height: 100%;
    }
}

/* CORRIGIR SUB TABS */
.nav.nav-tabs ~ .tab-content .p-20.form-material {
    padding: 0;
}
.nav.nav-tabs ~ .tab-content .nav.nav-tabs {
    margin-bottom: 15px;
}

/* CK-000 Scroll-X em .nav-tabs quando a largura total dos filhos ocupam mais que a largura do pai */
.nav-tabs { white-space: nowrap; }
.nav-tabs.scroll-x { overflow-x: auto; overflow-y: hidden; }
.nav-tabs .nav-item .active.has-actions { padding-right: 31px; }
.nav-tabs .nav-item .active .datatable-export-actions { position: absolute; white-space: normal; }
.nav-tabs .nav-item .active .datatable-export-actions .dropdown-menu { margin-top: 6px; }

/* CK-316 Fixar no top do pai (pai com scroll) */
.mcb-table thead/*.be-sticky-to-top*/ th {
    transition: background .5s, color .5s;
}
.mcb-table thead/*.be-sticky-to-top*/ th.sticky {
    position: relative;
    z-index: 1;
    top: 0px;
    background: #369;
    color: #fff;
}

/* CK-549 Corrigir a cor de adicionar/deminuir horas/minutos no timepicker */
.bootstrap-datetimepicker-widget .timepicker .timepicker-picker a.btn i.fa:before {
    color: rgb(0, 123, 255);
}

/* CK-632 Corrigir formato dos campos do tipo COR */
.asColorPicker-wrap { width: 100%; }
.asColorPicker-wrap input.asColorPicker-input { display: inline-block; width: calc(100% - 30px); }
.asColorPicker-wrap .asColorPicker-trigger { top: -3px; right: -7px; width: 25px; height: 25px; }

/* CK-641 Corrigir formato dos campos do tipo ICON */
[id^="icon_"].fa { font-size: 23px !important; padding-top: 5px !important; }

/* CK-700 Fixar menus dos separadores das Modals */
.modal .nav.nav-tabs {
    position: fixed;
    width: calc(100% - 47px);
    background-color: #fff;
    margin-top: -15px;
    padding-top: 15px;
    z-index: 1;
}
.modal .tab-content {
    padding-top: 32px;
}


/* Outros */
.hidden { display: none; }

#map {
    height: 100%;
}

table tbody tr td label {
    height: auto!important;
}

table tbody tr td [type="checkbox"]:checked + label:before {
    top: -10px !important;
}

table tbody tr td [type="checkbox"]:not(:checked):disabled + label:before,
table tbody tr td [type="checkbox"]:not(:checked) + label:before {
    top: -6px;
}
