.modal-loading{
	display: none;
	position: fixed;
	z-index: 9000;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: rgba( 0, 0, 0, .6);
	padding-top: 10%;
}
body{
    background-color: #F5F5F5;
    color: #000;
}
body.loading-modal{
	overflow: hidden;
}

body.loading-modal .modal-loading{
	display: block;
}
a{
    color: #000;
}
a:hover{
    text-decoration: underline;
}
p{
    font-size: .8rem;
}

ul.list-inline{
    margin-bottom: 0;
}

@media (min-width: 1367px){
    body[data-layout=topnav] .container-fluid, 
    body[data-layout=topnav] .container-lg, 
    body[data-layout=topnav] .container-md, 
    body[data-layout=topnav] .container-sm, 
    body[data-layout=topnav] .container-xl {
        max-width: 100%;
    }
}
@media (min-width: 992px){
    body[data-layout=topnav] .container-fluid, 
    body[data-layout=topnav] .container-lg, 
    body[data-layout=topnav] .container-md, 
    body[data-layout=topnav] .container-sm, 
    body[data-layout=topnav] .container-xl {
        max-width: 100%;
    }

}

/* ========================
    BUTTONS
======================== */
.btn{
    text-transform: uppercase;
    font-size: .8rem;
}
.btn-primary{
    background-color: #344856;
    border-color: #344856;
}
.btn-primary.focus, 
.btn-primary:focus,
.btn-dark.focus, 
.btn-dark:focus,
.btn.focus, 
.btn:focus{
    box-shadow: none;
}
.btn-secondary {
    background-color: #C3C3C3;
    border-color: #C3C3C3;
}
.btn-danger,
.bg-danger {
    color: #fff;
    background-color: #ED0E0E !important;
    border-color: #ED0E0E !important;
}

.btn-inline{
    margin-top: 33px;
}
.badge{
    font-size: 12px;
    font-weight: 400;
}
a.badge{
    text-decoration: none !important;
}
a.badge:hover{
    color: initial !important;
}
.button-submit-inline{
    padding-top: 33px;
}
.button-submit-inline a.btn{
    padding: 0 8px;
    line-height: normal;
}
.button-submit-inline a.btn i{
    font-size: 25px;
    color: #FFF;
    font-weight: 400;
}

.btn-search{
    padding: 0 14px;
}
.btn-search i{
    font-size: 23px;
}
    
/* ========================
    END BUTTONS
======================== */

/* ========================
    FOOTER
======================== */
footer{
    z-index: 999;
    padding: 5px 0 !important;
    background-color: #313a46;
}
/* ========================
    END FOOTER
======================== */

/* ========================
    LOGIN
======================== */
.auth-fluid{
    background: none;
    /* background: url(../../assets/img/bg-medical-03.jpg) center;
    background-size: cover;
    background-repeat: no-repeat; */
}
.auth-fluid .auth-fluid-form-box{
    background-color: #f5f5f5;
}
.auth-brand{
    position: relative;
    top: 0;
}

/* ========================
    END LOGIN
======================== */

/* ========================
    NAV BAR
======================== */
.topbar-dropdown .nav-link{
    line-height: inherit;
}
.topnav-navbar .topnav-logo{
    min-width: auto;
}
.navbar-custom .topbar-right-menu li{
    padding: 5px 10px;
    height: 70px;
    cursor: pointer;
}
.navbar-custom .topbar-right-menu li:hover,
.navbar-custom .navbar-nav li.nav-item:hover{
    border-bottom: 3px solid #87BCBF;
}
.navbar-custom .topbar-right-menu li:hover a{
    color: #FFF;
}
.navbar-custom .topbar-right-menu li{
    font-size: .7rem;
}
.navbar-custom .topbar-right-menu li a.nav-link:hover,
.navbar-custom .navbar-nav .nav-item a.nav-link:hover{
    color: #FFF;
}
.navbar-custom .topbar-right-menu .nav-link i{
    display: block;
    text-align: center;
    font-size: 30px;
    margin-right: .2rem;
}
.navbar-custom .navbar-nav .nav-item a.nav-link{
    padding: 0;
    color: #98a6ad;
    min-width: 32px;
    display: block;
    text-align: center;
    margin: 0 10px;
    position: relative;
    font-size: 12px;
}
.app-button{
    float: left;
    padding: calc(32px / 2) 5px calc(32px / 2) 0;
}
.navbar-nav .dropdown-menu{
    border-top: 3px solid #87BCBF;
}
.topnav-navbar-dark {
    background-color: #313a46 !important;
}
.topnav-navbar-dark .nav-user{
    border: none;
    background-color: transparent;
}
.navbar-nav.user{
    position: absolute;
    right: 0;
}
.navbar-custom .menu-item{
    height: 70px;
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center top 10px;
}
.navbar-custom .menu-item a{
    height: 100%; 
    width: 100%;
}
.navbar-custom .calendario{
    background-image: url('/assets/img/icon-calendario-cinza.png');
}
.navbar-custom .calendario:hover{
    background-image: url('/assets/img/icon-calendario-white.png');
}
.navbar-custom .paciente{
    background-image: url('/assets/img/icon-pacientes-cinza.png');
}
.navbar-custom .paciente:hover{
    background-image: url('/assets/img/icon-pacientes-white.png');
}
.navbar-custom .enfermagem{
    background-image: url('/assets/img/icon-tube-cinza.png');
}
.navbar-custom .enfermagem:hover{
    background-image: url('/assets/img/icon-tube-white.png');
}
.navbar-custom .financeiro{
    background-image: url('/assets/img/icon-financial-cinza.png');
}
.navbar-custom .financeiro:hover{
    background-image: url('/assets/img/icon-financial-white.png');
}
.navbar-custom .relatorio{
    background-image: url('/assets/img/icon-relatorio-cinza.png');
}
.navbar-custom .relatorio:hover{
    background-image: url('/assets/img/icon-relatorio-white.png');
}
.navbar-custom .configuracao{
    background-image: url('/assets/img/icon-configuracao-cinza.png');
}
.navbar-custom .configuracao:hover{
    background-image: url('/assets/img/icon-configuracao-white.png');
}
.navbar-custom .clinica{
    background-image: url('/assets/img/icon-clinica-cinza.png');
}
.navbar-custom .clinica:hover{
    background-image: url('/assets/img/icon-clinica-white.png');
}
.dropdown-item{
    color: #838f9c !important;
}

/* ========================
    MOBILE
======================== */
@media (max-width: 991.98px){
    .topnav .navbar-nav .nav-link {
        padding: .25rem 1.3rem;
    }
}
/* ========================
    END MOBILE
======================== */

/* ========================
    END NAV BAR
======================== */

/* ========================
    FORMS
======================== */
.col-form-label,
.custom-control-label{
    font-size: .7rem;
    cursor: pointer;
}
.form-control{
    border: 1px solid #344856;
    border-radius: 0;
    font-size: .8rem;
    padding: .45rem 0.4rem;
}
.form-control:disabled, 
.form-control[readonly]{
    border-color: #dee2e6;
}
.select2-container .select2-selection--single{
    border: 1px solid #344856;
    border-radius: 0;
    font-size: .8rem;
}
.select2-results__option{
    font-size: 13px;
}
.custom-control-label::before,
.custom-control-label::after{
    top: 0;
}
.input-group-text{
    border: 1px solid #344856;
    border-left: none;
}

.form-control.is-valid, 
.was-validated .form-control:valid{
    border-color: initial;
    background-image: none;
}
.custom-radio .is-invalid{
    display: none !important;
}
select.is-invalid ~ .select2-container .select2-selection,
form.was-validated select:invalid ~ .select2-container .select2-selection{
    border-color: #dc3545; 
}
.custom-control-input.is-valid~.custom-control-label, 
.was-validated .custom-control-input:valid~.custom-control-label{
    color: initial;
}
/* ========================
    END FORMS
======================== */

.page-title-box{
    background: #9EB5CB!important;
    color: #FFF;
    margin: 10px 0;
    padding: 10px 25px;
}
.page-title-box .page-title{
    line-height: initial;
    color: #000;
    font-weight: 600;
}
.page-title-box .page-title-right{
    margin-top: 0;
}
.page-title-box .breadcrumb{
    padding-top: 0;
}
.page-title-box .breadcrumb{
    padding: 0;
}
.page-title-box .breadcrumb li a{
    color: #FFF;
}
.breadcrumb-item.active{
    color: #52565a;
}

/* ========================
    CARDS
======================== */
.card {
    border-left: 2px solid #313a46;
    border-radius: 0;
}
.card-header{
    background: #B2CDE6!important;
    color: #FFF;
    padding: 0 25px;
    border-radius: 0 !important;
    color: #000;
}
.card-header h4{
    font-weight: 600;
}
.card-header .btn{
    font-size: 25px;
    padding: 0;
    background-color: transparent;
    border: none;
    color: #FFF;
    margin-top: 2px;
}
.card-body{
    padding: 1rem;
}

/* ========================
    END CARDS
======================== */

/* ========================
    DATEPICKER
======================== */
.datepicker-inline,
.datepicker-inline table{
    width: 100%;
}
.datepicker td, 
.datepicker th{
    border-radius: 5px;
}
.datepicker table tr td.today{
    background-color: #f9bc0d!important;
    background-image: none!important;
    color: #fff;
}

/* ========================
    END DATEPICKER
======================== */

/* ========================
    TABLE
======================== */
table tr td {
    color: #000;
}
table .text-white td,
table .text-white td a{
    color: #FFF !important;
}
table tr td .new-customer,
table tr td .new-customer a{
    color: #ED0E0E
}
.table a{
    color: #000;
    text-decoration: underline;
}
.table a:hover{
    color: #0360e2;
}
.table-sm th,
.table-sm td{
    font-size: .8rem;
}
tr.text-blocked td {
    color: #707173!important;
    background-color: #f8f8f8;
    text-transform: uppercase;
}

.tr-checked,
.tr-checked td{
    color: #FFF;
    background-color: #344856;
}

table tr{
    cursor: pointer;
}

.log-item-fatura{
    display: none;
}

/* ========================
    END TABLE
======================== */

/* ========================
    PROFILE
======================== */
.card-body.profile-user-box{
    padding: 10px;
}

.profile-user-box h4{
    font-size: 1rem;
}
.profile-user-box p{
    font-size: 14px;
}
.profile-user-box p{
    margin-bottom: 2px;
}
.profile-user-box .btn{
    padding: 5px 10px
}
.profile-user-box .btn i{
    font-size: 16px;
    color: #FFF;
}
.profile-user-box .smile{
    font-size: 25px;
    position: absolute;
    top: 0;
    right: 10px;
}
.profile-user-box .status-marcar-consulta{
    font-size: 22px;
    position: absolute;
    top: 0;
    right: 10px;
    color: #fa6767;
    cursor: pointer;
}
.profile-user-box .status-financeiro{
    font-size: 22px;
    position: absolute;
    top: 30px;
    right: 10px;
    color: #fa6767;
    cursor: pointer;
}

/* ========================
    END PROFILE
======================== */


/* ========================
    TOAST
======================== */
.toast{
    max-width: initial;
}
/* ========================
    END TOAST
======================== */

/* ========================
    MODAl
======================== */
@media (min-width: 1300px){
    .modal-xl{
        max-width: 1140px;
    }
}
.modal-header{
	background: #1E1E2D;
	color: #FFF;
	border-radius: 0;
}
.modal-body{
	font-size: 12px;
}

.modal-dialog{
    max-height: 700px;
 }
/* ========================
    END MODAl
======================== */

/* ========================
    UPLOAD FILE
======================== */
.button-wrapper {
    position: relative;
    text-align: center;
    cursor: pointer;
}
.button-wrapper img{
    cursor: pointer;
}
#upload {
    display: inline-block;
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 75px;
    top: 0;
    right: 0;
    opacity: 0;
    cursor: pointer;
    overflow: hidden;
}
/* ========================
    END UPLOAD FILE
======================== */

/* ========================
    SUMMERNOTE
======================== */
.card-header.note-toolbar, 
.note-popover .popover-content{
    background-color: #313a46 !important;
}
.note-toolbar .note-btn{
    padding: .28rem .65rem;
    font-size: 13px;
}
/* ========================
    END SUMMERNOTE
======================== */

/* ========================
    TAB CONTENT
======================== */
.nav-pills .nav-item{
    padding: .5rem 1rem;
    border: 1px solid #FFF;
    text-transform: uppercase;
    font-weight: 800;
}
.nav-pills .nav-item.active{
    background-color: #B2CDE6 ;
    color: #000000;
    text-transform: uppercase;
    font-weight: 800;
}
.nav-pills .nav-item.active a{
    color: #000000;
}

.nav-items-customer .nav-item{
    padding: 0;
}
.nav-items-customer .nav-item a{
    font-size: 10px;
    font-weight: 800;
    padding-left: 5px;
    padding-right: 5px;
}
/* ========================
    END TAB CONTENT
======================== */

/* ========================
    TREE VIEW
======================== */
.tree ul{
    list-style: none;
    padding-left: 10px;
}
.tree ul > li > ul{
    list-style: none;
    padding-left: 20px;
}
.tree li input{
    margin-right: 10px;
    margin-bottom: 15px;
}

/* ========================
    END TREE VIEW
======================== */

/* ========================
    ck-editor
======================== */

.ck-editor__editable {
    min-height: 250px;
    max-height: 450px;
}
.ck-editor__editable p{
    margin: 0;
}

/* ========================
    end ck-editor
======================== */


/* ========================
    CHAT
======================== */
#chat-warning{
    position: absolute;
    bottom: 10px;
    z-index: 9999;
    left: 24px;
    width: 100%;
}
#chat-warning .icon-chat-image{
    bottom: 30px;
    cursor: pointer;
    position: absolute;
    right: 10px;
}
#chat-warning .chat-warning-user h4{
    font-size: 12px;
}
/* ========================
    END CHAT
======================== */

/* =====================================
    BUTTON FLOAT RIGHT FATURA
===================================== */
.call-button-fatura{
    margin-top: -3px;
    padding-right: 8px
}
.call-button-fatura i{
    font-size: 27px;
}
/* =====================================
    END BUTTON FLOAT RIGHT FATURA
===================================== */

/* =====================================
    TIMELINE
===================================== */
.timeline.width-full{
    margin-bottom: 5px;
}
.timeline.width-full:before{
    left: 2%;
}
.timeline.width-full .timeline-desk{
    display: initial;
}
.timeline.width-full .timeline-lg-item{
    display: initial;
}
.timeline.width-full .timeline-box{
    margin-left: 74px;
    padding: 1rem 1.5rem;
}
.timeline-box{
    margin: 15px 20px;
}
/* =====================================
    END TIMELINE
===================================== */




.dropzone {
    border: 1px dashed #223467 !important;
    border-radius: 5px;
    min-height: auto !important;
    padding: 5px 10px !important;
}

.dropzone .btn-primary {
    min-width: 90px;
    font-size: 12px;
    padding: 10px 15px;
    border-radius: 5px;
}

.fsize-10{
    font-size: 10px;
}
.fsize-11{
    font-size: 11px;
}
.fsize-15{
    font-size: 15px;
}
.fsize-20{
    font-size: 20px;
}
.italic{
    font-style: italic;
}
.orange{
    color: #f9a70d;
}
.red{
    color: red;
}

.bg-dark{
    background-color: #313a46;
    color: #FFF;
}
.bg-dark th, 
.bg-dark td{
    color: #FFF;
}

.input-group-text{
    padding: 0 10px;
}
.input-group-text i{
    font-size: 20px;
}

@media print {
    * {
        background: transparent;
        color: #000;
        text-shadow: none; 
        filter: none;
       -ms-filter: none;
    }

    .page-break { 
        page-break-before: always; 
    }
}


.agenda-buttons .btn-icon{
    padding: 2px 10px;
}
.agenda-buttons i{
    font-size: 20px;

}
.text-cinza,
table .text-cinza td, 
table .text-cinza td a,
table tr.text-cinza td a{
    color: #848080;
}

.text-through{
    text-decoration: line-through !important
}
