/* MW FONTS */
/*
@font-face {
    font-family: 'titillium';
    src: url('../fonts/titillium-light-webfont.eot');
    src: url('../fonts/titillium-light-webfont.ttf') format('ttf'); 
    src: url('../fonts/titillium-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
*/
/* GERAL */

.sidebar {
    overflow: visible !important;
}

.logopanel {
    width: 205px !important;
}

.mw-flex {
    display: flex;
}

.mw-fit-height {
    height: 100%;
}

.mw-fit-width {
    width: 100%;
}

#lastTab {
    max-height: 40px;
}

/* LOGON LOGO */
.mw-logo-login {
    width: 250px;
    padding-bottom: 10px;
}

/* SIDEBAR LOGO */
.sidebar .logopanel h1.mw-product-logo, .mw-product-logo {
    font-family: titillium, sans-serif;
    letter-spacing: initial;
}

.sidebar-collapsed .topbar h1.mw-product-logo {
    display: inline-block;
    -webkit-animation-name: bounceIn;
    animation-name: bounceIn;
    -webkit-animation-duration: .75s;
    animation-duration: .75s;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.topbar h1.mw-product-logo {
    display: none;
    font-weight: 300;
    font-size: 30px;
    line-height: 31px;
    margin: 0;
    color: white;
    padding: 10px;
}

.mw-fixed-button {
    position: fixed;
    bottom: 0;
    right: 60px;
}

.mw-nav.nav.nav-tabs > li > a {
    background-color: transparent;
}

.mw-panel-content .tab-content {
    background-color: #e0e0e0 !important;
}

.mw-tabs-linetriangle li button, .mw-nav li button {
    display: none;
    box-shadow: 0px;
}

.mw-tabs-linetriangle ul.nav-tabs li:first-of-type button, .mw-nav li:first-of-type button {
    display: none !important;
}

.mw-tabs-linetriangle ul.dropdown-menu li button, .mw-nav ul.dropdown-menu li button {
    display: inline !important;
    position: relative;
    margin-left: 5px;
}

#collapsed-item {
    padding-bottom: 4px;
    padding-top: 8px;
}

.mw-tabs-linetriangle ul.dropdown-menu li, .mw-nav ul.dropdown-menu li {
    display: flex;
}

.mw-tabs-linetriangle ul.dropdown-menu li a, .mw-nav ul.dropdown-menu li a {
    flex-grow: 2;
}

.mw-tabs-linetriangle li:first-of-type a span, .mw-nav li:first-of-type a span {
    padding-right: 0px !important;
}

.mw-tabs-linetriangle li.active button, .mw-nav li.active button {
    display: inline;
    position: absolute;
    top: 3px;
    right: 0px;
    box-shadow: 0px 0px 0px 0px;
}

/*.mw-nav li.active button {
    top: -14px !important;
}*/
.mw-tabs-linetriangle li.active a {
    border-bottom: 2px solid !important;
}

.mw-tabs-linetriangle li.active a, .mw-nav li.active a {
    display: inline-block;
}

.mw-nav li.active a span {
    padding-right: 25px;
}

.mw-tabs-linetriangle li a span, .mw-nav li a span {
    display: inline;
}

/*
* Regra criada para corrigir um desalinhamento nos checkbox de permissões
* no módulo editUser.module : .mw-edit-user
*/
.mw-edit-user .form-group.checkbox {
    margin-top: 0;
}

.mw-user-edit-password {
    text-align: center !important;
}

/*
* Regra criada para diminuir o espaçamento nos paineis de cadastro
*/
.panel-header {
    padding-left: 15px !important;
}

/*
* Regras criada para diminuir o espaçamento geral das telas
*/
.header h2 {
    margin: 0;
}

.page-content.page-thin {
    padding: 5px !important;
}

.tabs-linetriangle .nav-tabs a span {
    left: -17px;
    position: relative;
}

.tabs-linetriangle .nav.nav-tabs > li > a {
    padding-bottom: 5px !important;
}

form.tab-content {
    padding: 0 !important;
}

/*
* Regras criadas para melhorar as tables de dentro dos cadastros
*/
mw-of-y-auto {
    overflow-y: auto !important;
}

/*
* Regras criadas para o result das buscas
*/
.widget-member2 h2 {
    text-transform: uppercase;
}

/*
* Regras criadas para personalizar iCheck plugin
*/

div[class*='iradio_'] {
    margin-left: -40px !important;
}

/*
* Regras criadas para corrigir falhas visuais do multidatepicker
*/

.widget_calendar .multidatepicker .ui-widget-content table td a:hover {
    color: white !important;
}

/*
* Regras criadas para corrigir o alto valor de z index no Classic
*/
.modal-open .modal .ui-datepicker, .modal-dropdown-select {
    z-index: 1070 !important;
}

.modal-open .modal .ui-datepicker.ui-datepicker-inline {
    z-index: 1060 !important;
}

.modal-open .modal {
    z-index: 1050 !important;
}

.mw-fixed-button, .fixed-topbar .topbar {
    z-index: 30 !important;
}

.select2-container, .sp-container {
    z-index: 20 !important;
}

.ui-datepicker.ui-datepicker-inline {
    z-index: 10 !important;
}

/* Z-INDEX ANTIGOS
.modal .select2-container {
    z-index: 9999 !important;
}
.topbar {
    z-index:9999999 !important;
}
.ui-datepicker{
    z-index: 999999 !important;
}
.sp-container {
    z-index: 99999999999 !important;
}
.mw-fixed-button {
	z-index: 999999;
}*/
/* Regras criadas para estilização geral da listagem do resultado das buscas */
.widget-member2 {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    padding: 0px !important;
}

hr {
    margin-top: 5px !important;
    margin-bottom: 10px !important;
}

.widget-member2 p {
    margin-bottom: 0px !important;
}

.jstree-default .jstree-clicked {
    background: #5f1a5d !important;
    border-radius: 2px !important;
    color: white !important;
}

.mw-digital-commitment table tr {
    position: relative;
}

/* regra criada para ajustar previamente o calendário triplo */
.ui-datepicker-multi {
    display: flex !important;
    justify-content: space-around;
}

.ui-datepicker-multi .ui-datepicker-group {
    width: 100% !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
}

.ui-datepicker-multi .ui-datepicker-row-break {
    display: none !important;
}

.mw-history-item h5 strong {
    /*border-bottom: lightgray solid 2px;*/
    /*box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);*/
    word-break: break-word;
}

.mw-history-gray {
    /*background-color:lightgray;*/
}

.mw-history-item {
    cursor: default;
}

.mw-history-item.active, .mw-history-item:hover.active {
    /*background-color: lightgray;*/
    box-shadow: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .23);
    border-top: #6a1b9a solid 1px;
    border-bottom: #6a1b9a solid 1px;
    width: 100%;
    left: 1px;
    z-index: 2;
    background-color: white !Important;
}

.mw-history-item:hover {
    /*background-color: lightgray;*/
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
}

.mw-history-preview {
    border-left: #6a1b9a solid 1px;
}

/*
* Regra criada para as telas que possuem o colorpicker
*/
.sp-replacer.sp-light {
    border: solid 2px #EDEDED;
}

/*
* Regra criada para suprir a necessidade de z-index do calendário
*/

.mw-zindex-9 {
    z-index: 9 !important;
}

/*
* Regras criadas para sobrescrever estilos dos botões do ui.css
*/
.btn.btn-sm {
    font-size: 11px;
    padding: 6px 0px !important;
}

.sp-container {
    z-index: 99999999999 !important;
}

/* tela de seções */
.jstree-anchor.jstree-hovered.jstree-clicked {
    text-shadow: none !important;
}

/*
* Regras criada para corrigir um bug no scroll da barra lateral
*/
.sidebar {
    transition-duration: 0.1s;
    overflow: auto;
}

.sidebar-collapsed .sidebar {
    overflow: unset;
}

.sidebar::-webkit-scrollbar {
    z-index: 30;
    width: 0 !important;
}

.mw-responsive-tabs {
    max-height: 46px;
    overflow-x: auto !important;
    overflow-y: hidden;
    width: 100%;
    display: inline-flex;
}

.mw-responsive-tabs::-webkit-scrollbar {
    height: 2px;
}

/*
* Regras criada para as paginas de captação
*/

img.mw-ads-artpreview {
    width: 100%;
}

/*.radio label {
    padding-left:0 !important;
    position:inherit !important;
}*/
/*
.mw-fixed-button{
    display:none;
}
*/
/*
* Regras criada para melhorar o layout no MOBILE
*/

/* Melhorando user experience alterando cursor*/
.mw-action {
    cursor: pointer;
}

/* classes para o modal personalizado */

.mw-modal {
    margin: 20% auto;
}

.mw-modal.modal-sm {
    width: 30%;
}

.mw-modal.modal-md {
    width: 50%;
}

.mw-modal.modal-md {
    width: 75%;
}

.mw-modal .modal-title {
    width: 80%;
    float: left;
}

.mw-table-panel {
    max-height: 500px;
    overflow-y: auto !important;
}

.mw-responsive-modal .modal-body {
    max-height: 350px;
    overflow-y: auto;
    overflow-x: hidden;
}

.modal .modal-xlg {
    width: 98%;
}

.sidebar .sidebar-inner .nav-sidebar .children > li > a {
    color: #A9A9A9 !important;
}

.sidebar .sidebar-inner .nav-sidebar .children > li > a:hover {
    color: #fff !important;
}

.sidebar .sidebar-inner .nav-sidebar .children > li > a.mw-menu-disabled {
    color: gray !important;
    cursor: not-allowed !important;
}

.mw-dropdown-menu .dropdown-menu {
    border: solid 1px lightgray;
    width: 100%;
}

.mw-dropdown-menu .dropdown-menu a {
    font-size: 18px;
}

input:disabled {
    background-color: #eee !important;
}

.mw-disabled {
    cursor: not-allowed;
}

.topbar .header-right .header-menu .username {
    max-width: 140px !important;
}

.username-widget {
    display: inline-flex;
    flex-direction: column;
    top: -8px;
    position: relative;
}

.username-widget span.username {
    display: inline-block;
    max-height: 33px;
    line-height: 2;
}

.username-widget .current-time {
    display: inline-flex;
    line-height: 1;
    margin: 0 auto;
}

.program-panel-content {
    height: auto;
    transition-duration: 0.6s;
}

.closed-program-panel {
    overflow-y: hidden;
    height: 53px;
}

.break-panel-content {
    height: auto;
    transition-duration: 0.6s;
}

.closed-break-panel {
    height: 35px !important;
    overflow: hidden;
}

.mw-textarea {
    border: solid 1px lightgray !important;
}

tr.past-listing {
    background-color: lightgray;
}

.sale-lateral-summary,
.sale-product-type,
.mw-registration-panel,
.registration-panel-wrap {
    transition-duration: 0.6s;
}

.sale-lateral-summary.closed,
.sale-product-type.closed {
    width: 0;
    overflow: hidden;
}


@media screen and (min-width: 992px) {
    /*
    * Regra criada para o botão de adcionar novo item a tabela nos cadastros
    */
    .mw-add-table-item {
        position: absolute;
        right: 15px;
    }
}

@media screen and (min-width: 1025px) {
    .mw-fixed-button.mw-mobile {
        display: none !important;
    }
}

@media screen and (max-width: 419px) {
    .mw-blocked-phone-result .member-name,
    .mw-payment-condition-result .member-name,
    .mw-captation-result .member-name,
    .mw-card-result .member-name {
        margin-top: 8% !important;
    }

    /*
    ul.mw-nav li {
        display: none;
    }

    ul.mw-nav li:nth-child(1),ul.mw-nav li:nth-child(2) {
        display: block;
    }
    */
}

@media screen and (max-width: 527px) {
    .mw-contract-result h2 {
        font-size: 18px;
    }
}

@media screen and (max-width: 991px) {
    .mw-blocked-phone-search .mw-button,
    .mw-payment-condition-search .mw-button,
    .mw-captation-search .mw-button,
    .mw-bank-search .mw-button,
    .mw-card-search .mw-button,
    .mw-category-search .mw-button,
    .mw-special-word-search .mw-button,
    .mw-promotion-search .mw-button,
    .mw-holiday-search .mw-button,
    .mw-forbidden-date-search .mw-button,
    .mw-section-search .mw-button {
        margin-top: 5%;
        margin-bottom: 1% !important;

    }

    .mw-user-edit-password {
        text-align: left !important;
        margin-left: 15px !important;
    }

    .sp-container {
        left: 33% !important;
    }

    .mw-flex {
        flex-direction: column;
    }
}

@media screen and (max-width: 1024px) {
    .mw-fixed-button.mw-desktop {
        display: none !important;
    }

    .mw-flex {
        flex-direction: column;
    }

    /* Botões de ação pequenos */
    .mw-mobile .btn-icon {
        /*height: 56px !important;
        width: 56px !important;*/
    }

    .mw-mobile .btn-icon i {
        font-size: 17px !important;
        width: 100%;
    }

    /* Botões de ação grandes 
    .mw-mobile .btn-icon {
    height: 56px !important;
    width: 56px !important;
}
.mw-mobile .btn-icon i {
    font-size: 24px !important;
}
.mw-mobile .btn-icon i {
    width: 100%;
}*/
}

@media screen and (min-width: 957px) {
    .ui-datepicker-multi {
        width: 100% !important;
    }
}

@media screen and (min-width: 495px) and (max-width: 1024px) {
    .widget-member2.mw-item .radio.radio-material-purple {
        width: 30%;
    }

    .widget-member2.mw-item h2.text-center {
        width: 50%;
    }
}

@media screen and (min-width: 992px) {
    .mw-flex {
        flex-direction: row;
    }
}

@media screen and (min-width: 1401px) {
    .mw-lg-pull-right {
        width: 50% !important;
        float: right !important;
    }
}

@media screen and (max-width: 1201px) {
    button.btn {
        font-size: 12px;
        padding: 13px;
    }
}

/*
@media screen and (min-width:1800px) {
    .mw-fixed-button {
        left: 1170px;
    }
}*/

@media print {
    .no-print, .no-print * {
        display: none !important;
    }
}