:root {
   /* --color-primary: #0346c9;
    --color-primary-light: #2266e7;
    --color-secondary: #24ffff;*/
    --color-primary: #002F4D;
    --color-primary-light: #11537B;
    --color-secondary: #5BD6F8;
    --color-black: #171123;
    --color-white: #f8feff;
   /* --color-white: #fff;*/
    --color-grey-dark: #777;
    --color-grey-light: #f7f7f7;
    --red-color: #C20000FF;
    --orange-color: #c26700;
    --green-color: #009138;
    --background-color: #f1f1f1;
}
.filepond--credits{
    display: none!important;
}
.filepond--root,
.filepond--root .filepond--drop-label {
    height: 60px;
}
.leaflet-control-attribution{
    display: none;
}

.text-warning{
    color: var(--orange-color) !important;
}

.bg-warning{
    background-color: var(--orange-color) !important;
}


html:not(.riopreto) .showRioPreto{
    display: none!important;
}
.riopreto .hideRioPreto{
    display: none!important;
}


.hueA90{filter: hue-rotate(60deg);}
.hueK52{filter: hue-rotate(120deg);}
.hueJ06{filter: hue-rotate(180deg);}

.barGraphPeakParent{
    -moz-box-flex: 1;
    flex: 1 1 auto;
    position: relative;
    width: 0;
    height: 71px;
    display: flex;
    justify-content: center;
    /*width: 12px;*/
    /*text-align: center;*/
}

.barGraphPeak{
    position: absolute;
    background-color: #1b6ef3;
    opacity: .8;
    border-radius: 3px 3px 0 0;
    width: 12px;
    bottom: 0;
}
.textGraphPeak{

    color: #70757a;
    font-size: 11px;
    /*left: -5px;*/
    margin-top: 80px;
    position: absolute;
    white-space: nowrap;

}

.filepond--root { font-size: 1.1rem !important; }

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /*10px*/
}


html, body {
    min-height: 100vh;
    min-height: 100dvh;
}
.isPwaL body {
    height: 100vh !important;
    overflow-y:auto ;
}

body {
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-black);
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    overflow-x: hidden;
}

header, main, footer {
    width: 100%;
}

header .navbar-top {
    background-color: var(--color-primary);
    min-height: 6rem;
}

header .navbar-bottom {
    background-color: transparent;
}

header .navbar-top .navbar-brand img {
    height: 3.8rem;
}

header .navbar-top .user-info {
    transform: translateY(1.5px);
}

header .navbar-top .user-info h2 {
    font-size: 1.1rem;
}

header .navbar-top .user-info h3 {
    font-size: 1.05rem;
}

main {
    flex: 1 1 auto;
}

footer {
    width: 100%;
    min-height: 5rem;
    text-align: center;
}

.footer-menu {
    font-size: 1rem;
    min-height: unset;
    box-shadow: rgba(17, 17, 26, 0.1) 0px -1px 0px;
    background-color: #fff;
}

.footer-menu .footer-menu-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

.footer-menu .footer-menu-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background-color .2s ease;
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
}

.footer-menu .footer-menu-item a {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
    padding: 1em;
    flex: 1 1 auto;
    transition: all .2s ease;
    position: relative;
}

.footer-menu .footer-menu-item a.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 66%;
    height: .4rem;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    background-color: var(--color-primary-light);
}

.footer-menu .footer-menu-item a:not(.active):focus,
.footer-menu .footer-menu-item a:not(.active):hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

.footer-menu .footer-menu-item .footer-menu-icon {
    width: 2.3em;
    height: auto;
    margin-bottom: .4rem !important;
}

.footer-menu .footer-menu-item .footer-menu-text {
    font-size: 1.2em;
    line-height: 1;
    font-weight: bolder;
    text-align: center;
}

a {
    text-decoration: none;
}

.container {
    width: 550px;
    max-width: 85vw;
}

.text-primary {
    color: var(--color-primary) !important;
}

.text-primary-light {
    color: var(--color-primary-light) !important;
}

.bg-primary {
    background: linear-gradient(to right, var(--color-primary), var(--color-primary-light)) !important;
}

.bg-primary-light {
    background-color: var(--color-primary-light) !important;
}

.btn.bg-primary-light:focus {
    background-color: var(--color-primary) !important;
}

.bg-black {
    background-color: var(--color-black);
}

.text-danger {
    color: var(--red-color) !important;
}

.text-success {
    color: var(--green-color) !important;
}

.text-secondary {
    color: var(--color-secondary) !important;
}

.bg-secondary {
    background-color: var(--color-secondary) !important;
}

.text-muted {
    color: var(--color-grey-dark) !important;
}

.bg-gray {
    background-color: #343434;
}

.border-bottom {
    border-bottom: 1px solid #ccd1d2 !important;
}

.fw-extra-bold {
    font-weight: 900;
}

.bf {
    font-family: 'Beatrice', sans-serif;
}

.cP {
    cursor: pointer;
}

.overflow-y-auto {
    overflow-y: auto;
}

.opacity-75 {
    opacity: .75;
}

.card,
.card-header,
.card-body,
.card-footer {
    background-color: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: unset;
}

.btn-call {
    width: 100%;
    font-size: 1.6rem;
    font-weight: 800;
    height: 6rem;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    border-radius: 10rem !important;
    border: .2rem solid #fff;
    color: #fff !important;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
    transition: background-color .15s ease;
}

.btn-call span {
    transform: translateY(10%);
}

.btn-call:focus {
    background: linear-gradient(to right, #043ead, #1d57c9);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
}

.bg-return{
    background: linear-gradient(to right, #098b00, #0cc100) !important;
}
.bg-agendamentos{
    background: linear-gradient(to right, #199b9b, #0a8585)  !important;
}

.bg-return img {
    filter: brightness(0) invert(1);
}
.bg-agendamentos img {
    filter: brightness(0) invert(1);
}

.btn-call img {
    width: 2.6rem;
    margin-right: 1.1rem;
}

.btn-close:focus {
    outline: none !important;
    box-shadow: unset !important;
}

.last-documents-list,
.my-queries-list {
    font-size: 1rem;
}

.last-documents-list .document-item,
.my-queries-list .query-item {
    width: 100%;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    padding: 1rem 1.2em;
    border-radius: .5rem;
}

.last-documents-list .document-item h4 {
    font-size: 1.4em;
    margin-bottom: .45rem;
}

.last-documents-list .document-item h5,
.my-queries-list .query-item h4 {
    font-size: 1.2em !important;
}

.last-documents-list .document-item .icon {
    width: 1.15em;
    height: auto;
    transition: filter .15s ease;
}

.last-documents-list .document-item .icon:not(.no-hoverable):hover {
    filter: invert(68%) sepia(28%) saturate(2681%) hue-rotate(142deg) brightness(103%) contrast(112%);
}

.my-queries-list {

}

.text-ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis-2-lines {
    -webkit-line-clamp: 2;
}

.alert-message-list {
    position: fixed;
    bottom: 3.5%;
    right: 3.5%;
    width: 100%;
    max-width: 350px;
    height: auto;
    z-index: 9999;
    visibility: hidden;
}
.mx-w-350 {
    max-width: 350px;
}

.alert-message-list .alert-message-item {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 1.2rem 1.5em;
    background-color: var(--background-color);
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    color: #fff !important;
    border-radius: .25rem;
    cursor: pointer;
    opacity: 0;
    transform: scale(.7);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.alert-message-list .alert-message-item.show {
    animation: alert-fade-in .3s ease forwards;
}

.alert-message-list .alert-message-item p {
    font-size: 1.35rem;
}

@keyframes alert-fade-in {
    0% {
        opacity: 0;
        transform: scale(.7);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.alert-message-list .alert-message-item.hidden {
    animation: alert-fade-out .3s ease forwards;
}

@keyframes alert-fade-out {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}

.alert-message-list .alert-message-item:not(:last-child) {
    margin-bottom: 1.25rem;
}

.alert-message-list .alert-message-item .alert-msg-icon,
.alert-message-list .alert-message-item .alert-close-icon {
   width: 2.6rem;
}

.alert-message-list .alert-message-item.success-alert {
    background-color: rgba(43,220,114,1);
}

.alert-message-list .alert-message-item.warning-alert {
    background-color: rgba(248, 110, 26, 1);
}

.alert-message-list .alert-message-item.error-alert {
    background-color: rgba(232, 57, 57, 1);
}

.btn-sm {
    /*padding: .25rem .5rem;*/
    font-size: 1rem;
    /*border-radius: .2rem;*/
}
.noShadowBoxPlz .btn{
    box-shadow: unset !important;
}

.disabled{
    opacity: 0.4 !important;
    pointer-events: none;
    cursor: default;
}

.stream-test img {
    cursor: pointer;
    max-width: 200px;
    filter: grayscale(.85);
    transition: filter .25s ease;
    backface-visibility: hidden;
    position: relative;
    background-color: rgba(34, 102, 231, 0.7);
    border-radius: 10%;
    padding: 30px;
    max-height: 200px;
}

.stream-test.sound-test.active img {
    filter: unset;
    animation: scaleAnimation .5s ease infinite;
}

@keyframes scaleAnimation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

.stream-test.microphone-test {
    position: relative;
    border-radius: 50%;
}

.stream-test.microphone-test.active img {
    filter: unset;
}

.stream-test.microphone-test.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    z-index: 1;
    animation: pulseAnimation 1.25s ease infinite;
    animation-delay: .25s;
}

@keyframes pulseAnimation {
    0% {
        transform: scale(1);
        box-shadow: 0 0 12px 0px rgba(3, 70, 201, 0.1);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 0 24px 0px rgba(3, 70, 201, 0.7);
    }
    75% {
        transform: scale(1);
        box-shadow: 0 0 12px 0px rgba(3, 70, 201, 0.1);
    }
}

.stream-test.cam-test.active img {
    filter: unset;
}

.default-container {
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.modal .modal-content {
    max-width: 92.5vw;
    margin: auto;
}

.modal .modal-header .btn-close {
    padding: 0.4rem;
    border-radius: 0.357rem;
    opacity: 1;
    width: 2.5rem;
    height: 2.5rem;
    transition: all 0.23s ease 0.1s;
    transform: translate(7px, -10px);
    text-shadow: none;
    background-color: var(--color-primary) !important;
    color: #b4b7bd;
    box-shadow: 0 3px 8px 0 rgba(11, 10, 25, 0.49) !important;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23b4b7bd'><path d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/></svg>");
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1999;
}
.modal .modal-header .btn-close:hover {
    transform: translate(7px, -10px) scale(1.2);
}

@keyframes rotatingTrans {
    from {
        -ms-transform: translateY(-50%) rotate(0deg);
        -moz-transform:  translateY(-50%) rotate(0deg);
        -webkit-transform: translateY(-50%)  rotate(0deg);
        -o-transform: translateY(-50%)  rotate(0deg);
        transform:  translateY(-50%) rotate(0deg);
    }
    to {
        -ms-transform: translateY(-50%)  rotate(360deg);
        -moz-transform: translateY(-50%)  rotate(360deg);
        -webkit-transform: translateY(-50%)  rotate(360deg);
        -o-transform: translateY(-50%)  rotate(360deg);
        transform: translateY(-50%)  rotate(360deg);
    }
}

.rotatingTrans {
    -webkit-animation: rotatingTrans 2s linear infinite;
    -moz-animation: rotatingTrans 2s linear infinite;
    -ms-animation: rotatingTrans 2s linear infinite;
    -o-animation: rotatingTrans 2s linear infinite;
    animation: rotatingTrans 2s linear infinite;
}

#loadingCep {
    width: 2.5rem;
    right: 1rem;
}

.pid {
    width: 10%;
    height: 1.3rem;
    margin: 5px;
}

.pid:not(:last-child) {
    margin-right: 5px;
}

.skeleton {
    background: linear-gradient(to right, #e5e5e5 8%, #f0f0f0 18%, #e5e5e5 33%);
    background-size: 200% 100%;
    animation: 1.5s shine linear infinite;
}

.skeleton-text {
    height: 1.4rem;
    border-radius: .25rem;
}

.skeleton-100 {
    width: 100%;
}

.skeleton-75 {
    width: 75%;
}

.skeleton-50 {
    width: 50%;
}

.skeleton-25 {
    width: 25%;
}

.datatable-footer {
    margin-bottom: .5rem;
}

.paginate_button {
    margin: 0 .5rem;
    padding: .6rem .8rem;
    border-radius: .5rem;
    cursor: pointer;
}

.paginate_button.current {
    background-color: var(--color-primary-light);

}

.dataTables_paginate.paging_simple_numbers a.current, .dataTables_paginate.paging_simple_numbers span {
    color: #fff !important;
}

.nav-tabs .nav-link.active {
    color: var(--color-primary);
}

.nav-tabs .nav-link {
    font-size: 1.5rem;
    color: #8c8c8c;
}
@keyframes shine {
    to {
        background-position-x: -200%
    }
}

@media (min-width: 1200px) {
    .footer-menu {
        font-size: 1.3rem;
    }

    .last-documents-list {
        font-size: 1.2rem;
    }
}

@media (max-width: 991px) {
    .alert-message-list {
        max-width: unset;
        top: 0;
        right: 0;
        bottom: unset;
        font-size: 1.5rem;
        min-height: 60px;
    }

    .alert-message-list .alert-message-item {
        min-height: 60px;
    }
}

@media (max-width: 360px) {
    html {
        font-size: 50%; /*8px*/
    }
}
.dataTables_wrapper select{
    font-size: 1.45rem;
    padding: .5rem 1.25rem;
    margin-left: 1rem;
    margin-right: 1rem;
    background-color: transparent;
    border-radius: 5px;
    border: 1px solid rgb(0, 47, 77);
}

.specialSelect span.select2-selection{
    min-height: 46px!important;
}
.specialSelect .select2-search__field{
    padding-left: 10px !important;
}
.specialSelect .select2-selection__choice{
    margin-left: 10px !important;
}

.btn-error {
    animation: shake 1s cubic-bezier(.36, .07, .19, .97) both;
    backface-visibility: hidden;
}
@keyframes shake {
    0% {
        background-color: rgb(255, 0, 0);
        transform: translateX(0);
    }
    100%{
        transform: translateX(0);
        background-color: var(--color-primary-light);
    }
    10%{
        background-color: rgb(255, 0, 0);
        transform: translateX(-10px);
    }
    30%, 50%, 70%, 90% {transform: translateX(-10px);}
    20%, 40%, 60%, 80% {transform: translateX(0px);}
}

.radioForm{
    display: flex;
    align-items: center;
}

.radioForm .form-check-input{
    padding: 1rem!important;
    margin: 0px!important;
}

.radioForm .form-check-label{

    margin-left: 10px!important;
}

.chat-container {
    width: auto;
    position:fixed;
    bottom: 3%;
    right: calc(1rem + 3%);
    z-index: 2999;
}

.chat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    border-radius: 50% !important;
    background-color: #fff;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.chat-icon svg {
    width: 50%;
    height: 50%;
}

.chat-box {
    transform: scale(.8) translateY(70px);
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    width: 0;
    height: 0;
    overflow: hidden;
}

.chat-box.active {
    width: auto;
    height: auto;
    transform: scale(1) translateY(0px);
    opacity: 1;
    visibility: visible;
}

.chat {
    max-width: 90vw;
    width: 320px;
    height: 450px;
    border-radius: .5rem;
    background-color: #fff;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    margin-bottom: 4rem;
}

.chat-header,
.chat-footer {
    height: 100%;
    max-height: 58px;
}

.chat-header,
.chat-body {
    padding: 0 1.5rem;
}

.chat-scrollable {
    max-height: 334px;
    height: 100%;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.chat-scrollable::-webkit-scrollbar {
    display: none;
}

.chat-doctor-name {
    font-size: calc(1rem + .25vw);
    font-weight: 800;
    color: var(--color-white);
}

.chat-footer {
    background-color: #e1e1e1 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
}

.chat-input {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    border: 0;
    box-shadow: unset;
    font-size: calc(1rem + .25vw);
    padding: 1rem 1.5rem !important;
    width: calc(100% - 5rem) !important;
    background-color: transparent !important;
    margin-right: auto;
}

.chat-input:focus {
    box-shadow: unset;
}

.btn-send-message {
    width: 4rem;
    height: 4rem;
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    border-radius: 50% !important;
    background-color: #d2d2d2 !important;
    transition: all .1s ease;
}

.btn-send-message svg {
    width: 70%;
    height: 70%;
    transition: all .1s ease;
    stroke: #8B8B8B;
    transform: translateX(1px);
}

.btn-send-message:hover {
    background-color: #efefef !important;
}

.btn-send-message:hover svg path {
    stroke: var(--color-primary);
}

.btn-send-message.active {
    background-color: #efefef !important;
}

.btn-send-message.active svg path {
    stroke: var(--color-primary);
}

.chat-message + .chat-message {
    margin-top: 2rem;
}

.chat-message-name {
    font-size: calc(1.1rem + .1vw);
    font-weight: 700;
}

.chat-message-text {
    display: inline-block;
    background-color: #F6F6F6;
    border: 1px solid #c0c0c0;
    border-top-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
    border-top-left-radius: 1rem;
    padding: 1.4rem;
    font-size: calc(1.1rem + .1vw);
}

.chat-message.message-received .chat-message-box {
    margin-right: auto;
}

.chat-message:not(.message-received) .chat-message-text {
    background-color: var(--color-primary-light);
    color: var(--color-white);
}

.chat-message-time {
    font-size: calc(.9rem + .1vw);
}

.btn-close-chat {
    width: 3.5rem;
    height: 3.5rem;
}

.btn-close-chat svg {
    width: 100%;
    height: 100%;
}

.btn-close-chat svg path {
    stroke: #b7b7b7;
    transition: all .1s ease;
}

.btn-close-chat:hover svg path {
    stroke: #fff;
}

.new-message-balloon {
    width: 200px;
    height: 70px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 75% 75%, 75% 100%, 50% 75%, 0% 75%);
    --webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 75% 75%, 75% 100%, 50% 75%, 0% 75%);
    --moz-clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 75% 75%, 75% 100%, 50% 75%, 0% 75%);
    position: absolute;
    top: -35%;
    left: 0;
    /*background-color: #002b45;*/
    background-color: #009cfa;
    opacity: 0;
    visibility: hidden;
    transform: scale(.8) translateY(-4rem);;
    padding: .75rem 1rem;
    color: #fff;
}

.new-message-balloon.active {
    animation: balloon 6s ease both;
}

.chat-new-message {
    font-size: calc(1.1rem + .1vw);
}

.loader {
    width: 4.4rem;
    height: 4.4rem;
    border: 5px solid var(--color-primary-light);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.flex-auto {
    flex: 1 1 auto;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes balloon {
    0%,100% {
        opacity: 0;
        visibility: hidden;
        transform: scale(.1) translateX(-75%) translateY(-5rem);
    }
    5% {
        opacity: 1;
        visibility: visible;
        transform: scale(1) translateX(-75%) translateY(-5rem);
    }
    90% {
        opacity: 1;
        visibility: visible;
        transform: scale(1) translateX(-75%) translateY(-5rem);
    }
}

#userStatusThing {
    position: absolute;
    padding: 7px;
    border-radius: 50%;
    top: 0;
    right: 0;
}

.font-family-poppins {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600;
    letter-spacing: .05rem;
}

.font-family-mont {
    font-family: 'Montserrat', sans-serif !important;
    letter-spacing: .05rem;
}