﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

#header {
    padding-bottom: 7px;
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 70px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px; /*Set the fixed height of the footer here */
    line-height: 45px; /* Vertically center the text there */
    overflow:hidden;
}



/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

.container {
    width: auto;
    max-width: 680px;
    padding: 0 15px;
}


/* SignalWire
*/

.localVideo {
    position: fixed;
    bottom: 1em;
    left: 1em;
    height: 15vh;
    z-index: 8;
}

.remoteVideo {
    width: 100%;
    height: 99vh;
}

/* Twilio / Video 
-------------------------------------------------- */
.local-vid {
    position: fixed;
    bottom: 1em;
    left: 1em;
    height: 15vh;
    z-index: 8;
}

.local-vid video {
    width: auto;
    height: 100%;
}

.mirrored {
    transform: scale(-1, 1);
}

.remote-vid {
    width: 97vw;
    height: 70vh;
}

.remote-vid video {
    width: 100%;
    height: 99vh;
}

.flip-camera {
    z-index: 10;
    width: 48px;
    margin-left: 15px !important;
}

.hidden {
    display: none;
}

/* Browser Detection Page
-------------------------------------------------- */
.compat-icon-small {
    width: 48px;
    height: 48px;
}

.compat-icon-large {
    width: 128px;
    height: 128px;
}

.popupText {
    font-size: 1.2em;
}

/* Header navbar (Bootstrap) with DevExpress theme colors
-------------------------------------------------- */
#header .nav_bar.navbar {
    /* Fallback for browsers without color-mix() */
    background-color: var(--dx-component-color-bg, var(--dx-color-main-bg, #363640));
    border-bottom: var(--dx-border-width, 1px) solid var(--dx-color-primary, var(--dx-color-separator, #515159));
    min-height: var(--dx-toolbar-height, 56px);
    padding: 0 16px;
}

@supports (background-color: color-mix(in srgb, red 50%, blue)) {
    #header .nav_bar.navbar {
        background-color: color-mix(in srgb,
            var(--dx-component-color-bg, var(--dx-color-main-bg, #363640)) 92%,
            var(--dx-color-text, #fff) 8%);
    }
}

/* Logo image */
#header .nav_bar .navbar-brand {
    padding: 0;
    margin: 0;
}

.navbar_logo {
    height: 32px !important;
    width: auto !important;
}

/* Hamburger toggler. Uses the DevExtreme dx-icon-menu glyph so it simply
   inherits the theme text color - no per-theme icon asset needed. */
#header .nav_bar .navbar-toggler {
    padding: 4px 10px;
    border-color: var(--dx-color-border, var(--dx-color-separator, #515159));
    outline: none;
}

#header .nav_bar .navbar-toggler:focus {
    box-shadow: 0 0 0 2px var(--dx-color-primary, #03a9f4);
}

#header .nav_bar .navbar_toggler_icon {
    color: var(--dx-color-text, #fff);
    font-size: var(--dx-font-size-icon, 24px);
    height: auto !important;
    line-height: 1;
}

/* Phone / website links: stacked under the hamburger on small screens,
   inline and right-aligned from the md breakpoint up. */
#header .nav_bar .navbar_links {
    gap: 24px;
}

@media (min-width: 768px) {
    #header .nav_bar .navbar_links {
        align-items: center;
    }
}

@media (max-width: 767.98px) {
    #header .nav_bar .navbar_links {
        gap: 4px;
        padding: 8px 0 12px;
    }

    #header .nav_bar .navbar_extra {
        font-size: 1.15rem;
    }
}

/* Phone / website links - text/icon colors from the theme */
#header .nav_bar .navbar_extra {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    font-size: 1.4rem;
    white-space: nowrap;
    color: var(--dx-color-text, #fff) !important;
}

/* Scoped with #header .nav_bar so it outranks the global
   `.dx-icon { height: 32px !important }` rule further down this file.
   A natural height + line-height:1 lets the parent's align-items:center
   actually center the glyph against the text. */
#header .nav_bar .navbar_icon {
    display: inline-flex;
    align-items: center;
    height: auto !important;
    width: auto !important;
    font-size: 28px;
    line-height: 1;
    margin-right: 6px;
    color: var(--dx-color-icon, var(--dx-color-text, #fff));
}

.dx-icon {
    height: 32px !important;
    width: auto !important;
}

.dx-icon.fas {
    height: unset !important;
    width: unset !important;
}

.dx-nav-item {
    display: inline-flex !important;
    background-color: transparent !important;
    vertical-align: top !important;
    position: unset !important;
}

.dx-tab a {
    position: unset !important;
    top: unset !important;
    left: unset !important;
    width: unset !important;
    height: unset !important;
    background-color: unset !important;
    color: unset !important;
    text-decoration: unset !important;
    opacity: 1 !important;
}

.dx-tabs.dx-navbar .dx-tab-text {
    display: unset !important;
    vertical-align: unset !important;
}

.dx-tab-content, .dx-tab-text {
    vertical-align: unset !important;
    text-transform: uppercase !important;
    line-height: unset !important;
    font-weight: 500 !important;
}

.dx-tabs {
    display: inline-block !important;
    text-align: left !important;
}

.dx-tab-text {
    display: inline-block !important;
    margin: 0 auto !important;
    text-align: center !important;
    max-width: 100% !important;
    -webkit-user-drag: none !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.dx-tabs.dx-navbar .dx-icon {
    display: inline !important;
    margin: 0 auto !important;
}

.dx-popup-title {
    padding: 0 !important;
}

/* Misc
-------------------------------------------------- */
.messages {
    position: fixed;
    left: 0;
    right: 0;
    margin: 10% auto;
}


/* Used to spin the testing icon during browser detection*/
.spinning {
    animation: spin 1.5s infinite linear;
}

@keyframes spin {
    from {
        transform: rotate(359deg);
    }
    to {
        transform: rotate(0deg);
    }
}

.welcome-screen {
    padding-top: 10%;
}

.welcome-message-div {
    
}

.welcome-img-div {
    /*float: right;
    display:inline-block;*/
}
.welcome-img {
    border-radius: 10px;
}

.error-padding {
    padding-top: 10%;
}

.session-tools {
    position: fixed !important;
    top: 80% !important;
    left: 50% !important;
    z-index: 10 !important;
    transform: translate(-50%);
    white-space: nowrap !important;
}

.session-buttons {
    height: 42px !important;
    min-width: 175px !important;
    margin-left: 10px !important;
}

.begin-session-button {
    text-align: center;
}

.session-buttons .dx-button-content {
    padding: unset !important;
}

.session-buttons .dx-button-has-text {
    padding: unset !important;
    overflow: unset !important;
    text-overflow: unset !important;
}

.leave-session-popup {
    text-align: center;
}

.stay-in-session-button {
    margin-right: 15px;
}

.finished-session-text {
    text-align:center;
    padding-top: 5%;
}

.provider-finished-info {
    display:inline;
    padding-right: 10px;
}

.provider-finished-info-value {
    display:inline;
}

.patient-check-in-finshed {
    text-align: center;
    padding-top: 5%;
}
