@font-face {
    font-family: 'digital-regular';
    src: url('/font/digital-dismay-regular.otf') format('truetype');
    /*src: url('/font/poppins-regular.ttf') format('truetype');*/
}

@font-face {
    font-family: 'default-regular';
    src: url('/font/poppins-regular.ttf') format('truetype');
    /*src: url('/font/poppins-regular.ttf') format('truetype');*/
}

@font-face {
    font-family: 'default-italic';
    src: url('/font/poppins-italic.ttf') format('truetype');
    /*src: url('/font/poppins-regular.ttf') format('truetype');*/
}

@font-face {
    font-family: 'default-bold';
    src: url('/font/poppins-bold.ttf') format('truetype');
    /*src: url('/font/poppins-bold.ttf') format('truetype');*/
}

@font-face {
    font-family: 'magra-regular';
    src: url('/font/magra-regular.ttf') format('truetype');
}

@font-face {
    font-family: 'magra-bold';
    src: url('/font/magra-bold.ttf') format('truetype');
}

* {
    font-family: 'default-regular';
    line-height: 1.6rem;
    font-size: .9rem;
    margin: 0rem;
    padding: 0rem;
    border: 0rem;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-print-color-adjust: exact;
}

MAIN.container {
    max-width: 95% !important;
}

BODY, .modal-body {
    background-color: #efefef;
    color: #212529;
}

.seta-titulo {
    background-size: 2rem !important;
    background: url(/svg/titulo.svg) left center no-repeat;
    padding-left: 2.25rem;
}

.modal-footer {
    white-space: nowrap;
    display: initial;
}

.modal-header H5 {
    font-family: 'default-bold';
}

TABLE {
    margin-bottom: 0 !important
    /*border-spacing: .065rem;
    border-collapse: separate;*/
}

A {
    color: #69818f;
    transition: ease .5s;
}

    A:HOVER {
        color: #516171;
    }

    A.link-img:HOVER {
        background-color: transparent;
    }

/*HEADER {
    position: fixed;
    top: 0px;
    z-index: 10;
    width: 100%;
}*/

HR {
    height: 4px !important;
    background-color: #999;
    margin-top: -1rem;
}

H1, H2, H3, H4, H5 {
    font-family: 'default-bold';
}

TH, TD {
    white-space: nowrap;
    vertical-align: top !important;
    border: 0;
}

BUTTON {
    text-transform: uppercase;
    font-family: 'default-bold';
}

TEXTAREA {
    resize: none;
}

H2 .svg {
    height: 1.8rem;
    cursor: pointer;
    float: right;
    margin-left: .5rem;
    margin-right: .5rem;
}

NAV UL LI:hover A:HOVER {
    color: #fff !important;
    background-color: #516171
}

SPAN.gray {
    color: #ddd;
}

.btn-custom {
    background-color: #516171;
    color: #fff;
    border: 1px solid #516171;
    padding: .375rem .75rem;
    border-radius: .25rem;
    text-align: center;
    display: inline-block;
    cursor: pointer;
}

    .btn-custom:hover {
        background-color: #3e4d4d;
        border-color: #3e4d4d;
        color: #fff;
    }

    .btn-custom:focus, .btn-custom:active {
        background-color: #3e4d4d;
        border-color: #516171;
        color: #fff;
        box-shadow: 0 0 0 .2rem rgba(81, 97, 113, .5);
        outline: none;
    }

    .btn-custom:active {
        background-color: #3e4d4d;
        border-color: #516171;
    }

.select2-dropdown {
    background: #f9f9f9 !important;
    border: solid 0.075rem #ccc !important;
    box-shadow: .0rem .0rem .5rem rgba(0, 0, 0, .15);
}

.select2-container {
    /*width: 100% !important; Resulta em problema como na edição do prefixo do usuário da clínica*/
}

    .select2-container .select2-results__option, .select2-container .select2-selection__rendered {
        font-size: .875rem;
    }

.select2-container--default .select2-results__option[aria-disabled=true] {
    display: none;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: solid 0.075rem #f0f0f0 !important;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .select2-container--default .select2-search--dropdown .select2-search__field:focus {
        border: solid 0.075rem #f0f0f0 !important;
        outline: 0;
        /*border-color: #80bdff;*/
        /*box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);*/
    }

.transparente {
    background-color: transparent !important;
}

.offcanvas .toast-header {
    background-color: #666 !important;
    border-radius: 0 !important;
}

    .offcanvas .toast-header .btn-close {
        filter: invert(1);
    }

.black {
    font-family: 'default-bold';
}

    .black.gray {
        color: #999;
    }

.dropdown-menu {
    transition: ease .5s;
}

.animate {
    animation-duration: .3s;
    -webkit-animation-duration: .3s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
}

@keyframes slideIn {
    0% {
        transform: translateY(-1rem);
        opacity: 0;
    }

    100% {
        transform: translateY(0rem);
        opacity: 1;
    }

    0% {
        transform: translateY(-1rem);
        opacity: 0;
    }
}

@-webkit-keyframes slideIn {
    0% {
        -webkit-transform: transform;
        -webkit-opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0);
        -webkit-opacity: 1;
    }

    0% {
        -webkit-transform: translateY(-1rem);
        -webkit-opacity: 0;
    }
}

.slideIn {
    -webkit-animation-name: slideIn;
    animation-name: slideIn;
}

#loading-overlay {
    position: fixed;
    flex-direction: column;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 9999;
    pointer-events: none;
}

    #loading-overlay img {
        width: 20rem;
    }

body.overlay-active #loading-overlay {
    opacity: 1;
    pointer-events: auto;
}

#carregando {
    font-size: .9rem;
    font-family: magra-bold;
}

#erro {
    font-size: .9rem;
    font-family: magra-bold;
}

.img-tipo {
    transition: ease .3s;
    opacity: .75;
    filter: grayscale(100%);
    transform: scale(.9)
}

    .img-tipo:HOVER {
        transition: ease .3s;
        opacity: 1;
        filter: grayscale(0%);
        transform: scale(1)
    }

.toast-body {
    text-align: left;
}

.hr_mini {
    margin-top: .2rem;
    height: 2px !important;
    background-color: #ccc;
    margin-top: .1rem;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .15);
}

#menuNavBar {
    box-shadow: 0 1.25rem .75rem rgba(0, 0, 0, .15);
}

.navbar {
    margin-bottom: 0;
    z-index: 1020;
}

    .navbar .nav-link {
        border-radius: .25rem;
    }

.btn {
    padding: .75rem
}

.text-left {
    text-align: left !important
}

.totalItens {
    font-size: .8rem;
    color: #ccc;
    margin-top: .1rem;
}

.opcoes {
    background-color: rgba(255, 255, 255, .5);
    margin-top: .9rem;
    display: flex;
    align-items: center;
    border-top-right-radius: 1rem;
    height: 3.25rem;
}

.divScroll {
    clear: both;
    overflow-x: scroll;
    border: #ccc .065rem dotted;
    margin-bottom: .3rem;
}

.divScrollVertical {
    clear: both;
    overflow-y: scroll;
    max-height: 300px;
}

.admin TD, .admin TH, .admin TFOOT .footer {
    padding: .5rem .625rem .438rem .625rem;
    display: table-cell;
    vertical-align: middle;
}

.admin TH, .admin TFOOT .footer {
    background-color: #666;
    font-family: 'default-bold';
    color: #fff;
    font-weight: bold;
    text-align: left;
    vertical-align: bottom;
    border-bottom: none
}

.admin TFOOT .footer {
    white-space: nowrap
}

.admin TD INPUT[type=checkbox] {
    margin: 0
}

.admin TD LABEL {
    margin-left: .25rem;
    font-weight: normal
}

.admin TD .td {
    padding-top: .5rem;
}

.admin TBODY TR:nth-child(even) {
    background-color: #dedede;
}

.admin TBODY TR:nth-child(odd) {
    background-color: #fafafa;
}

.admin.semBackground TBODY TR {
    background-color: transparent !important;
}

.admin TBODY TR.bordaInferior:not(:last-child) {
    border-bottom: solid 0.075rem #eee !important
}

.admin TBODY TR.bordaSuperior:not(:first-child) {
    border-top: solid 0.075rem #eee !important
}

.admin #ordenar TR:first-child #sobe {
    visibility: hidden
}

.admin #ordenar TR:last-child #desce {
    visibility: hidden
}

.admin #ordenar.subitem TR:first-child #sobe-subitem {
    visibility: hidden
}

.admin #ordenar.subitem TR:last-child #desce-subitem {
    visibility: hidden
}

.tdCheckbox {
    text-align: center !important;
    width: 2.5rem
}

    .tdCheckbox .form-check-input {
        margin-left: 0 !important;
        margin-top: .3rem !important;
    }

.tdAcao {
    text-align: center !important;
    width: 6rem;
    min-width: 6rem
}

    .tdAcao A {
        height: 1.2rem;
        cursor: pointer;
    }

        .tdAcao A:first-child {
            margin-right: .5rem;
        }

        .tdAcao A.unica {
            margin-right: 0;
        }

.tdOrdem IMG {
    width: 1.25rem;
    transform: rotate(180deg);
    cursor: pointer;
}

    .tdOrdem img:first-child {
        margin-right: .5rem;
        transform: rotate(0deg);
    }

.icone-tabela {
    position: relative;
    font-size: 1.3rem;
    top: .2rem;
}

.icone-full {
    position: relative;
    opacity: .75;
    top: .75rem;
}

    .icone-full:HOVER {
        opacity: 1;
    }

.input-group-text {
    font-family: 'magra-regular';
    padding: 0 .5rem 0rem .6rem;
}

.form-floating LABEL {
    margin-top: .125rem;
    transition: ease .3s;
}

.row {
    margin-bottom: .875rem;
}

.form-check {
    display: flex;
}

    .form-check .form-check-input {
        min-width: 2em;
        cursor: pointer;
        font-size: 1.2rem;
        margin-top: .15rem !important;
        margin-left: -2.3rem !important;
        margin-right: .3rem;
    }

    .form-check .form-check-label {
        cursor: pointer;
    }

.seta {
    margin-top: -.375rem;
}

.tox-tinymce {
    border-radius: .2rem !important;
    border: 0.075rem solid #ced4da !important;
    height: 300px !important;
}

.tox-statusbar__branding {
    display: none !important;
}

.arquivo {
    border-radius: .2rem;
    background-color: #dedede;
    border: dotted 0.075rem #ced4da;
}

    .arquivo .row {
        margin-bottom: 0rem
    }

        .arquivo .row #file-disclaimer {
            font-style: italic;
            font-size: .8rem;
            line-height: 1.1rem;
        }

        .arquivo .row IMG {
            max-width: 100%;
            /*width: 100%;
            height: auto;
            margin-right: 0rem !important;*/
        }

/*Resolve o problema de campo oculto pelo tinyMCE não validar pelo required*/
.tinyTextArea {
    top: -100rem;
    width: 0;
    padding: 0;
    resize: none;
    display: initial !important;
    position: absolute;
    height: 0;
    border: 0;
}

/*Resolve o problema de campo oculto pelo upload não validar pelo required*/
#Item_Imagem, #Item_ImagemPrincipal, #Item_ImagemSecundario, #Item_ImagemDesktop, #Item_ImagemMobile, #Item_Arquivo {
    top: -100rem;
    width: 0;
    padding: 0;
    resize: none;
    display: initial /* !important*/;
    position: absolute;
    height: 0;
    border: 0;
}

.desktopEnabled {
    display: none
}

.mobileEnabled {
    display: block
}

@media (min-width: 992px) {
    .desktopEnabled {
        display: block
    }

    .mobileEnabled {
        display: none
    }

    #menuNavBar {
        box-shadow: none;
    }
}

@media (min-width: 576px) {
    /* .arquivo .row IMG {
        width: auto;
        height: 7.9rem;
        margin-right: .5rem !important;
    }

    .modal-body .arquivo .row IMG {
        width: 100%;
        height: auto;
        margin-right: 0rem !important;
    }*/
}
