.form-control::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #cecece;
    opacity: 1;
    /* Firefox */
}

.form-control:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #cecece;
}

.form-control::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #cecece;
}

span.va {
    color: #0000ccff;
}

.btn-primary {
    background-color: #0000ccff;
    color: #ffffff;
    border-color: #0000ccff;
}

.btn.btn-primary:active {
    background-color: rgb(157, 157, 255);
    color: #333;
    border-color: #0000ccff;
}

.btn-primary:hover {
    background-color: rgb(220, 220, 255);
    color: #333;
    border-color: #0000ccff;
}

.btn-primary:disabled {
    background-color: #dedede;
    color: #7c7c7c;
    border-color: #c4c4c4;
}

.btn-outline-primary {
    color: #0000ccff;
    border-color: #0000ccff;
    background-color: #fff;
}

.btn.btn-outline-primary:active {
    background-color: rgb(171, 171, 255);
    color: #fff;
    border-color: #0000ccff;
}


.btn-outline-primary:hover {
    background-color: rgb(220, 220, 255);
    color: #fff;
    border-color: #0000ccff;
}

.btn-outline-primary:disabled {
    background-color: #d8d8d8;
    color: #5c5c5c;
    border-color: #999999;
}

.card.portal-location .btn-outline-secondary:hover {
    color: #fff;
}

.btn span {
    vertical-align: text-bottom;
}

.btn-outline-danger {
    background-color: #fff;
}

.form-control.va, 
.form-select.va, 
.input-group-text.va,
.form-check-input.va {
    border-color: #0000ccff;
}

.form-control.va.is-invalid, 
.form-select.va.is-invalid, 
.input-group-text.va.is-invalid,
.form-check-input.va.is-invalid {
    border-color: var(--bs-danger);
    /* border-color: inherit !important; */
}

input[type=number].no-spinner::-webkit-inner-spin-button, 
input[type=number].no-spinner::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}
input[type="number"].no-spinner {
    -moz-appearance: textfield;
}

.alert ul {
    margin-bottom: 0;
}

.fs-small {
    font-size: 0.9em;
}

/* button juice */
.btn-animated {
    position: relative;
    overflow: hidden;
    transition: .3s;
}

.btn-animated:after {
    position: absolute;
    transition: .3s;
    content: '';
    width: 0;
    left: 50%;
    bottom: 0;
    height: 3px;
    background: #0000ccff;
    right: 0;
    left: auto;
    left: 0;
    top: auto;
    bottom: -3px;
    width: 100%;
}

.btn-animated:hover:after {
    bottom: 0;
    /* calc(100% - 3px); */
}
/* based on https://uifresh.net/css-button-style-animation-examples/ */

.alert {
    font-size: 0.9em;
}

.noimageholder {
    font-size: 110%;
    background-image: radial-gradient(#0000004f 1px, transparent 0);
    background-size: 20px 20px;
    display: table;
    text-align: center;
    aspect-ratio: 1/0.5;
}

.noimageholder span {
    color: #0000004f;
    font-size: calc(6vw + 6vh + 2vmin);
    display: table-cell;
}

.portal-location .card-footer {
    border-top-color:  rgb(241, 242, 243);
    background-color: rgb(251, 252, 253);
}

img.avatar {
    max-width: 40px;
    max-height: 40px;
}

.portal-location {
    overflow: hidden;
}

.card.portal-location .card-body a, .card.portal-location .card-body a:hover {
    text-decoration: none;
    color: #333;
}

.usher a {
    color: #333;
    text-decoration: none;
}

.usher-indicator {
    color: #0000ccff;
}
.blink {
    animation: blinker 2s linear infinite;
}
@keyframes blinker {  
    50% { opacity: 0; }
}

.nav-avatar button, .nav-avatar button:active {
    border: none;
}

@media (min-width: 992px)  {
    #userNavbar .nav-item + .nav-item::before {
        content: '';
        border-left: 1px solid #d2d2d2;
        height: 25%;
        top: 37%;
        position: absolute;
    }
}

.opener_image {
    float: left;
    width: 18dvh;
    height: 18dvh;
    border-radius: 100%;
    overflow: hidden;
    background-color: rgb(168, 168, 168);
    position: relative;
    transition: all 1s ease-in-out;
}
.opener_image button {
    border: none;
    padding: 0;
}

.opener_image_end {
    width: 100px;
    height: 100px;
}

.opener_button, button.opener_button.btn {
    width: 6.5dvh;
    height: 6.5dvh;
    border-radius: 100%;
    margin-left: -6.5dvh;
    margin-top: 11.5dvh;
    font-size: 4dvh;
    line-height: 2dvh;
    padding-left: 0.6dvh;
    position: relative;
    transition: all 1s ease-in-out;
}
.opener_button_end {
    margin-top: 6.5dvh;
}

.opener_button i {
    position: absolute;top: 20%;left: 20%;
}

.opener-page #section-appointment-opener .spinner, .opener-page #end_lock .spinner {
    display: none;
}
.opener-page #section-appointment-opener .spinner::before, .opener-page #end_lock .spinner::before {
    animation: 1.5s linear infinite spinner;
    animation-play-state: inherit;
    border: solid 5px #cfd0d1;
    border-bottom-color: #0000ccff;
    border-radius: 50%;
    content: "";
    position: absolute;
    transform: translate3d(-50%, -50%, 0);
    height: 100%;
    width: 100%;
    will-change: transform;
    top: 9dvh;
    left: 9dvh;
}
@keyframes spinner {
    0% {
      transform: translate3d(-50%, -50%, 0) rotate(0deg);
    }
    100% {
      transform: translate3d(-50%, -50%, 0) rotate(360deg);
    }
}

.opener-page .opener_button.success {
    background: #198754;
    border-color: #198754;
    animation: active-blink-success 0.5s linear 3;
}

.fs-small {
    font-size:.9rem!important;
}

@keyframes active-blink-success {
    0% {
        background: #20df86;
    }
    50% {
        background: #198754;
    }
}

.opener-page h2 {
    font-size: 2.6vh;
    color: #0000ccff;
    font-weight: bold;
}

.opener-page h3 {
    font-size: 1em;
    color: #0000ccff;
    font-weight: bold;
}

.opener-page p, .opener-page .btn, .opener-page a.btn {
    font-size: 2dvh;
}

/* .opener-page .mt-4, .opener-page h2.mt-4, .opener-page .mt-4 {
    margin-top: 1dvh !important;
} */

.opener-page .mb-2 {
    margin-bottom: 1dvh !important;
}

.rounded-circle.btn-xl {
    width: 7rem;
    height: 7rem;
    line-height: 6.5rem;
    font-size: 3em;
    border-width: 2px;
}

.color-primary {
    color: #0000ccff;
}

.border-primary {
    border-color: 1px solid #0000ccff !important;
}

.background-secondary {
    background-color: rgb(220, 220, 255);
}

.opener-page footer {
    display: none;
}

.show-block {
    display: block !important;
}
.show-flex {
    display: flex !important;
}
.hide {
    display: none !important;
}



/*
.chat-btn {
    position: fixed;
    z-index: 1;
    right: 14px;
    bottom: 30px;
    cursor: pointer
}

.chat-btn .close {
    display: none
}

.chat-btn i {
    transition: all 0.9s ease
}

#chat-check:checked~.chat-btn i {
    display: block;
    pointer-events: auto;
    transform: rotate(180deg)
}

.chat-btn .comment img {
    height: 40px;
}

#chat-check:checked~.chat-btn .comment {
    display: none
}

.chat-btn i {
    font-size: 22px;
    color: #000 !important
}

.chat-btn {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    background-color: #0000ccff;
    color: #fff;
    font-size: 22px;
    border: none
}

.chat-wrapper {
    position: fixed;
    z-index: 1;
    right: 20px;
    bottom: 100px;
    width: 300px;
    height: 500px;
    background-color: #fff;
    border-radius: 5px;
    opacity: 0;
    transition: all 0.4s;
}

#chat-check:checked~.chat-wrapper {
    opacity: 1
}

#chat-check {
    display: none !important
}
/* 
.chat-wrapper .header {
    padding: 13px;
    background-color: blue;
    border-radius: 5px 5px 0px 0px;
    margin-bottom: 10px;
    color: #fff
}

.chat-form {
    padding: 15px
}

.chat-form input,
textarea,
button {
    margin-bottom: 10px
}

.chat-form textarea {
    resize: none
}

.chat-wrapper .form-control:focus,
.chat-wrapper .btn:focus {
    box-shadow: none
}

.chat-wrapper .btn,
.chat-wrapper .btn:focus,
.chat-wrapper .btn:hover {
    background-color: blue;
    border: blue
} */
