/*!
 * Copyright 2020-2024 Drastic Technologies Ltd.  All Rights Reserved.
 * http://www.drastic.tv
 * support@drastictech.com
 * 523 The Queensway, Suite 201, Toronto, ON, M8V 1J7
 *
 * NOTE:  Do not minify, the "@media xxx" are getting removed
 */
 
html {
    height: 100%;
}

:root {
    --hover-highlight: rgb(123,123,123);
    --chat-input-background: #212529;
    --chat-show-background: #18191a;
    --chat-input-text: #f8f9fa;
    --placeholder-text: rgb(226,225,225); 
}

body{
    font-family: nunito, robot, lato !important;
    font-size: large;
    height: 100dvh;
    overflow: hidden;
}
ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
.logo{
    padding-left: 10px;
    height: 40px;
}
.logotype{
    height: 40px;
}
.navbar-brand{
    font-size: 24px;
    padding-left: 10px;
    /*font-family: 'Lato';*/
}
.nav-item a{
    color: gray !important;
    font-size: 20px;
    padding: 0px 5px;
    font-weight: 600;
}
.display-center{
    display: flex;
    justify-content: center;
    align-items: center;
}
li.nav-item{
    padding: 0 10px;
}
.signin-image{
    height: 390px;
     border: 25px solid white;
     border-radius: 5px;
     box-shadow: 1px 1px 5px grey;
}
textarea:focus, input:focus{
    outline: none !important;
}
.cursor-pointer{
    cursor: pointer;
}
.jumbotron{
    background-color: white;
}

/*.......... index page........... */
.home-wrap{
    background-color: rgb(31,30,30);
}
.g-top{
    position:relative;
    height: 90vh;
}

#divUsers {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    overflow-y: auto
}

.video-wrap>*{
    z-index: 0;
    flex: 1 1 250px;
    /* border: 1px solid white; */
}
.g-top-left{
    position: absolute;
    right:0;
    height: 8vh;
    top:0;
    border-bottom-left-radius: 10px;
    z-index: 2;
}
.top-left-participant-wrap{
    position: relative;
}
.cursor-pointer{
    cursor: pointer;
    padding: 5px;
}
.cursor-pointer:hover{
    cursor: pointer;
    padding: 5px;
    background-color: var(--hover-highlight);
    border-radius: 5px;
}
.top-left-participant-count{
    position:absolute;
    top: -2px;
    right: -3px;
    font-size: 15px;
}
.g-bottom{
    /* margin: 0 -10px !important; */
    position: sticky;
    bottom: 0;

    padding: 0 20px;
    box-shadow: 0 0 5px black;
    width: 100%;
    margin: 0;
    min-height: 55px;
}
.bottom-left, .bottom-right{
    position: relative;
    padding: 5px;
    height: 10vh;
}
.action-icon-style{
    font-size: 8px !important;
    height: 40px;
    width: 40px;
    border: 1px solid lightgray;
    border-radius: 50%;
}
.action-icon-style span.material-icons{
    /* font-size: 18px; */
}
.end-call-wrap span{
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
}
.top-remote-video-show-wrap {
    /* display: flex; */
    display:block;
    justify-content: center;
    align-items: flex-end;
    align-content: flex-end;
    height: 100%;
    background-color: black;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    /* background-image: url(../images/bg.png) !important; */
}

.user-video-wrap {
    border: 3px solid gray;
    overflow: hidden;
}

.user-video-wrap > video, .video-dt-box{
    width: 100%;
    height: 100%;
}

.video-dt-box {
    padding: 0 !important;
}

.dl_videoPlayer-dimensions {
    width: 100%;
    height: 100%;
}

.video-preview {
    width:400px !important;
    height: 225px !important;
    background-color: black;
}

.active{
    background-color: #00808047;
    border-radius: 5px;
}
.top-box-show {
    position: absolute;
    left: 50%;
    top: 25%;
}

.top-box{
    background-color: rgb(14 6 6);
    position: relative;
    left: -50%;
    width: 300px;
    height: 150px;
    display: block;
    box-shadow: 0 0 5px white;
    border-radius: 10px;
    z-index: 999;
    columns: white;
    border: 2px solid white;
}
.bottom-left{
    position: relative;
    padding: 5px;
}
.g-details{
    position: absolute;
    background-color: white;
    margin-top: -135px;
    counter-reset: black;
    border-radius: 5px;
    padding: 5px;

    min-height: 19.5vh; 
    width: 35em; 
    max-width: 90vw;
    z-index: 4;
    display: none
}


.g-details-heading-show{
    font-size: 14px;
    padding-left: 10px;
}

.g-language{
    position: absolute;
    background-color: white;
    margin-top: -280px;
    counter-reset: black;
    border-radius: 5px;
    padding: 5px;

    min-width: 12.5vw; 
    height: 17em; 
    max-height: 90vh;
    z-index: 4;
    display: none
}

.option-wrap {
    position: relative;
}

.extra-show {
    display: none;
    position: absolute;
    bottom: 5em;
    left: -75px;
}

.option-wrap, .extra-show {
    z-index: 999;
}

.extra-show > button {
    min-width: 150px;
    z-index: 999;
}

.blink {
    animation: blinker 2s linear infinite;
  }
  
  @keyframes blinker {
    50% {
      opacity: 0;
    }
  }

.modal-dialog {
    position: relative;
    display: table; /* This is important */ 
    overflow-y: auto;    
    /* overflow-x: auto; */
    width: auto;
    max-width: 760px; 
}

.g-right-details-wrap {
    display: flex;
    flex-direction: column;
    height: 35vh;
    /* max-height: calc(100vw - 19.5vw); */
    flex-basis: 25%;
    min-width:100%;
    z-index: 3;
    padding: 0;
    margin: 0;
    bottom: 0;
}

.in-call-chat-wrap {
    flex-grow: 2;
}

.participant-name, .chat-username {
    max-width: 105px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-username {
    display: block;
    max-width: 150px;
}

.home-wrap {
    display: flex;
    flex-direction: column;
}

.home-wrap {
    height: 100%;
}

.call-wrap {
    display: flex;
    overflow: auto;
    min-height: 0px;
}

#divUsersSideColumn {
    /* width: 500px; */
    overflow-y: auto;
}

.NOTdivUsersSideColumn .userbox {
    --widthFull: 100%;
    width: calc((var(--widthFull) / 50)*16);
    height: calc((var(--widthFull) / 50)*9);
}

#divUsersSideColumn .userbox {
    width: calc(10px*16);
    height: calc(10px*9);
}

/* #divUsersSideColumn .small-side-userbox{
    width: calc(16px*16) !important;
    height: calc(16px*9) !important;
} */

#divUsers video,
#divUsers .video-dt-box {
    width:100%;
}

.userbox {
    flex-grow: 1;
    padding: 0.25em;
    /* padding-top: 0.9em; */
    padding-bottom: 0.1em;
    flex-basis: 25%;

    height: 100%;
    max-width: 100%;
}


.modal-body * {
    margin: .1em
}

.modal-body #export-options *,
.modal-body #import-options * {
    margin: 0;
}

.user-video-wrap {
    display: flex; /* for canvas overlay */
    flex-flow: row nowrap; /* for canvas overlay */
    position:relative;
}

.user-video-wrap video,
.user-video-wrap canvas,
.user-video-wrap .video-dt-box {
    box-sizing: border-box; /* for canvas overlay */
    width: 100%; /* for canvas overlay */
    height: 100%; /* for canvas overlay */
    flex: none; /* for canvas overlay */
}

.user-video-wrap canvas {
    margin-left: -100%; /* for canvas overlay */
}

#whiteboard-userbox .user-video-wrap canvas {
    margin-left: 0; /* no margin needed for whiteboard */
}

#whiteboard-userbox > .user-video-wrap {
    background-color: white;
}

.telestrator-canvas {
    z-index: 2;
    pointer-events: none;
    /* background-color:rgba(255,0,0,0.5); */
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
}

.sub-icon {
    position:absolute;
    /* top: -2px; */
    right: -10px;
    font-size: 15px !important;
}

.sub-icon-2 {
    position:absolute;
    top: 2px;
    right: -12px;
    font-size: 20px !important;
}

#brushModal > .modal-dialog,  
#exportModal > .modal-dialog,
#importModal > .modal-dialog {
    width: 500px;
    position: absolute;
    bottom: 20px;
    right: 20px;
    max-width: 90vw;
}

#addVideoModal > .modal-dialog {
    width: 50vw;
}

/* #shape-tools {
    border-right: solid 1px lightgray;
} */

.telestrator-tool {
    margin-right: .5em;
    margin-left: .5em;
}

.user-name-display {
    z-index: 2;
    width: 100%; /* for canvas overlay */
    height: 100%; /* for canvas overlay */
    flex: none; /* for canvas overlay */
    margin-left: -100%; /* for canvas overlay */
    pointer-events:none;
}

.user-name-display h2{
    display: inline-block;
    margin-top: .5em;
    margin-left: .5em;
}

.avatar-initials-display {
    z-index: 1;
    width: 100%; /* for canvas overlay */
    height: 100%; /* for canvas overlay */
    flex: none; /* for canvas overlay */
    position: absolute;
}

::placeholder {
    color: var(--placeholder-text);
}

.chat-message-sent {
    position: sticky;
}

.chat-message-sent-input-field {
    background-color: var(--chat-input-background)!important;
    color: var(--chat-input-text);
}

.chat-show-wrap,
.drawings-show-wrap {
    background-color: var(--chat-show-background)!important;
}

.chat-message-show {
    background-color: var(--chat-show-background)!important;
}

.chat-bottom {
    background-color: var(--chat-show-background)!important;
}

.chat-username {
    font-weight: 600;
}

.comment-edit-menu > * {
    display:none;
    cursor: pointer;
    flex-grow: 1;
}

.message:hover .comment-edit-menu {
    display: flex;
}

.message:hover .comment-edit-menu > * {
    display: flex;
    justify-content: left;
    align-items: center;
}

.message, .drawing-message {
    padding: .25em;   
    margin-bottom: .5em;
}

.dark {
    background-color: #212529;
    color: #f8f9fa;
    --hover-highlight: rgb(123,123,123);
    --chat-input-background: #18191a;
    --chat-show-background: #18191a;
    --chat-input-text: #f8f9fa;
    --placeholder-text: rgb(123,123,123); 
}

.light {
    background-color: #f8f9fa;
    color: #212529;
    --hover-highlight:  rgb(226,225,225);
    --chat-input-background: #f8f9fa;
    --chat-show-background: #f8f9fa;
    --chat-input-text: #212529;
    --placeholder-text: rgb(123,123,123); 
}

#session-tools-wrap {
    font-size: 0.66em;
    padding-left: 1em;
    border-left: solid 1px lightgray;
    height: 100%;
}

.small-tc {
    position: absolute;
    top: 0;
    right: 0;
}

#color-picker-darwin {
    width: 18px;
    height: 18px;
}

#help-wrap-mobile {
        display: none;
        visibility: hidden;
        width: 0px;
}

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(../vendor/iconfont/MaterialIcons-Regular.eot); /* For IE6-8 */
    src: local('Material Icons'),
         local('MaterialIcons-Regular'),
         url(../vendor/iconfont/MaterialIcons-Regular.ttf) format('truetype');
 }
 
 .material-icons {
   font-family: 'Material Icons';
   font-weight: normal;
   font-style: normal;
   font-size: 24px;  /* Preferred icon size */
   display: inline-block;
   line-height: 1;
   text-transform: none;
   letter-spacing: normal;
   word-wrap: normal;
   white-space: nowrap;
   direction: ltr;
 
   /* Support for all WebKit browsers. */
   -webkit-font-smoothing: antialiased;
   /* Support for Safari and Chrome. */
   text-rendering: optimizeLegibility;
 
   /* Support for Firefox. */
   -moz-osx-font-smoothing: grayscale;
 
   /* Support for IE. */
   font-feature-settings: 'liga';
 }


.toast {
    max-width: 50vw;
}

.video-input-box::placeholder {
    color: gray;
}


/* large screens, monitors */
@media only screen and (min-width:992px)
{
    .top-remote-video-show-wrap {
        flex-wrap: nowrap;
        align-items: center;
        padding: 0;
        margin: 0;
    }

    .g-right-details-wrap {
        min-width: 266px;
        height: 100%;
    }

    .call-wrap {
        max-height: 100%;
        height: 100%;
    }

    .meeting-container {
        height: 100%;
    }

    #color-picker-darwin {
        width: 24px;
        height: 24px;
    }

    #inner-import-adobe, #inner-export-adobe {
        border-right: 1px solid var(--chat-input-text);
    }

    .comment-edit-button-text {
        display: none;
    }
}

/* vertical tablet specific */
@media screen and (min-width: 768px) and (max-width: 992px) and (orientation: portrait)
{
    .g-details{
        margin-top: -20vh;
    }

    #inner-import-adobe, #inner-export-adobe {
        border-right: 1px solid var(--chat-input-text);
    }

    .participant-name, .chat-username {
        max-width: 75vw;
    }
}

/* landscape all sizes */
@media screen and (orientation: landscape)
{
    .g-bottom{
        position: relative;
    }
}

/* small screens */
@media only screen and (max-width:992px)
{
    .top-remote-video-show-wrap {
        max-height: 100%;
        position: absolute;
        bottom: 0px;
    }

    .call-wrap {
        height: 100%;
        max-height: 100%;
        display: flex !important;
        flex-direction: column;
    }

    #divUsers {
        flex-basis: 75%;
    }

    #divUsersSideColumn.not-empty {
        flex-wrap: wrap;
        flex-basis: 25%;
        display: flex !important;
        flex-direction: column;
        width: 100vw;
    }

    .meeting-container {
        height: 60%;
        max-height: 100%;
    }

    .meeting-heading-wrap {
        height: 4vh!important;
    }

    .people-chat-wrap {
        height: 4vh!important;
    }

    .g-top {
        z-index: 0;
    }

    .g-bottom {
        flex-wrap: wrap-reverse;
        min-height: 150px;
        align-items: flex-end!important;
    }

    .bottom-right {
        height: 6vh;
        display: flex; 
        min-width: 100%;
        justify-content: right;
        font-size: 12px;
        border-bottom: solid 1px #333741;
    }

    .bottom-left, .bottom-right, .bottom-middle, #help-wrap-mobile {
        height: 50%;
        min-height: 50px;
    }
    #help-wrap-mobile {
        display: block;
    }

    #draw-wrap, #session-wrap, #help-wrap {
        padding-top: 10px;
    }
}

.align-items-center {
    align-items: center;
    align-content: center;
}

/* vertical phone */
@media only screen and (max-width: 768px) and (orientation: portrait) {
    .action-icon-style {
        height: 30px;
        width: 30px;
    }

    .action-icon-style.material-icons {
        height: 50%;
        width: 50%;
    }

    .cursor-pointer {
        padding: 2px;
    }
    .cursor-pointer:hover{
        padding: 2px;
    }

    .bottom-left {
        font-size: small;
    }

    .g-bottom {
        max-height: 200px;
        flex: 1 1 auto;
    }

    .meeting-container {
        height: 50%;
        max-height: 100%;
    }

    .g-right-details-wrap {
        height: 50%;
        max-height: 100%;
    }

    .call-wrap {
        min-height: 0px;
    }

    .timecodes-visible {
        height: 70px!important;
        max-height: 33%;
    }

    .video-preview {
        width:90vw !important;
        height: 25vh !important;
    }

    .modal-open {
        font-size: small;
    }

    .brush-modal-vertical-phone {
        width: 90vw!important;
        margin-bottom: 15vh;
    }

    .emoji-picker {
        --emoji-per-row: 7!important;
        }

    .participant-name, .chat-username {
        max-width: 75vw;
    }

    .toast, .allow-btn, .deny-btn {
        font-size: 12px;
    }

    #inner-import-adobe, #inner-export-adobe {
        border-bottom: 1px solid var(--chat-input-text);
    }
}

/* Horizontal phone */
@media only screen and (max-width: 992px) and (orientation: landscape) {

    .action-icon-style {
        height: 30px;
        width: 30px;
    }

    .top-remote-video-show-wrap {
        flex-wrap: nowrap;
        align-items: center;
        padding: 0;
        margin: 0;
    }

    .g-right-details-wrap {
        min-width: 266px;
        height: 100%;
    }

    .call-wrap {
        max-height: 100%;
        height: 100%;
    }

    .meeting-container {
        height: 100%;
    }

    .g-bottom {
        min-height: 100px;
    }

    .material-icons {
        font-size: 18px;
    }

    #shape-tools {
        max-height: 75%;
        margin-top: 0.5em;
    }
    .meeting-heading-wrap {
        height: 10vh!important;
    }

    .cursor-pointer {
        padding-top: 2px;
        padding-bottom: 2px;
    }
    .cursor-pointer:hover {
        padding-top: 2px;
        padding-bottom: 2px;
    }

    .dropdown-content {
        font-size: 12px!important;

    }

    .comment-edit-button-text {
        display: none;
    }

    #inner-import-adobe, #inner-export-adobe {
        border-right: 1px solid var(--chat-input-text);
    }
}

/* Extra thin vertical */
@media only screen and (max-width: 450px) and (orientation: portrait) {
    .bottom-left, .bottom-middle, .bottom-right {
        height: 70px!important;
        max-height: 33%;
    }   

    .bottom-middle {
        width: 100%;
    }

    .material-icons {
        font-size: 18px;
    }

    .telestrator-tool {
        margin-left: 0.25em;
        margin-right: 0.25em;
    }

    .g-bottom {
        padding: 0px;
    }

    .emoji-picker {
    --emoji-per-row: 5!important;
    }

    .chat-heading, .people-heading {
        height: 100%;
    }

    #help-wrap {
        visibility: hidden;
        width: 0px;
    }

    #help-wrap-mobile {
        visibility: visible;
        width: auto;
        font-size: 12px;
        height: 70px!important;
        max-height: 33%;
        margin-right: 10px;
    }

    .dropdown-content {
        font-size: 12px;
    }

    .comment-edit-button-text {
        display: none;
    }
}

.emoji-picker__wrapper {
    z-index: 4;
}

/* #draw-extra-buttons,
#draw-wrap,
#session-wrap,
#session-tools-wrap,
.meeting-details-button {
    background-color: #111314;
    margin: .2em;
    border-radius: .5em;    
}

#draw-wrap,
#session-wrap {
    padding-right: .5em;
    padding-left: .5em;
}

.meeting-details-button {
    margin-left: .6em;
} */

.not-connected {
    color: red;
}

.dropdown {
    display: inline-block;
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    left: 50% !important;
    right: auto !important;
    text-align: Left !important;
    transform: translate(-100%, -20px);
    overflow: auto;
    box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.4);
    border: 1px solid gray;
    z-index: 10;
}

.dropdown-content .participant-action-item {
    display: block;
    padding: 5px;
    text-decoration: none;
    border-bottom: 1px solid gray;
}

.dropdown-content .participant-action-item:hover {
    background-color: var(--hover-highlight);
}

.btn-primary {
    background-color: #00808047;
    border-color: #00808047;
}

.btn-primary:hover {
    background-color: var(--hover-highlight);
    border-color: #212529;
}

#drawings {
    margin-top: 0.5em;
}

#whiteboard-buttons,
.flowcaster-mute-button {
    display: none;
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 4;
    display: none;
}

#whiteboard-buttons > *,
.flowcaster-mute-button {
    border-radius: 10px;
    background-color: rgba(75, 75, 75 ,0.80);
    cursor: pointer;
    padding: .5em;
    margin: .2em;
}

#whiteboard-userbox:hover #whiteboard-buttons {
    display: flex;
}

#divUsersSideColumn > * #media-controls,
#divUsersSideColumn > * #whiteboard-buttons {
    display: none !important;
}

.userbox:hover .flowcaster-mute-button {
    display: block;
}

#whiteboard-save-button > * ,
#whiteboard-background-button > *,
#whiteboard-clear-background-button > *,
.flowcaster-mute-button > * {
    align-items: center;
    vertical-align: middle;
    margin: .2em;
}

#mini-user-list {
    display: flex;
}

.mini-user {
    width: 10vh;
    flex-basis: 100%;
}

.mini-user > .user-video-wrap {
    border: none;
}

.mini-user > .user-video-wrap > .user-name-display {
    display: none;
}

.thumb-image-container {
    background-position: 50%;
    background-size: cover;
    background-repeat: no-repeat;
}
.fameioTableRow .thumb-image-container{
    height: 32px;
    width: 56px;
}
.fameioTableRow {
    display: flex;
}
#frameioModalTable tbody tr {
    cursor: pointer;
}


#tg-dialog-next-btn,
#tg-dialog-prev-btn {
    color: white !important
}

.tour-backdrop {
    z-index: 999999;
}

@media only screen and (min-width: 768px) {
    #configModal {
        overflow: hidden;
    }

    #configModal .modal-content  {
        max-height: calc(100dvh - 28px*2); /* 28 is the top/bottom margin of the modal*/
    }
}

#configModal .modal-body  {
    overflow-x: hidden;
    overflow-y: auto;
}
