html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

a {
    color: #00a9e7;
}

.header {
    background-color: #231f20;
}

    .header .logo {
        background-color: #cfd0d1;
        padding: 10px;
        padding-left: 30px;
    }

    .header .x-logo {
        background-color: #cfd0d1;
        padding-left: 2px;
    }

    .header .x-text {
        color: #cfd0d1;
        line-height: 20px;
        font-size: 10px;
    }

.navbar {
    line-height: 50px;
}

h2 {
    color: #00aae7;
    font: 20px 'Varela Round',Arial,verdana,sans-serif;
}

#video-chat {
    display: inline-block;
    height: 100%;
    width: 100%;
}

.fixed-height {
    height: 100%;
}

footer {
    width: 100%;
    height: 90px;
    background-color: #f5f5f5;
}

#footer-content {
    font-size: 12px;
    margin-top: 10px;
}

#header-text {
    padding-left: 15px;
    font: 14px 'Varela Round',Arial,verdana,sans-serif;
    color: white;
    line-height: 44px;
}

#fullscreen {
    /* This is for the `a` element that toggles fullscreen mode */
    position: absolute;
    display: block;
    right: 45px;
    top: 10px;
    z-index: 9;
    color: rgba(178, 229, 247, 0.4);
    border-color: rgba(178, 229, 247, 0.4);
    background-color: rgba(178, 229, 247, 0.4);
    padding: 6px;
    border: 3px solid rgba(178, 229, 247, 0.4);
    text-align: center;
    outline: none;
    text-decoration: none;
    cursor: pointer;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s linear, color 0.3s ease-in, border-color 0.3s ease-in;
}

    #fullscreen:hover,
    #fullscreen:active {
        color: #00a9ec;
        border-color: #00a9ec;
    }

#fullscreen-icon {
    font-size: 24px;
}

#video.visible-controls #fullscreen {
    opacity: 1;
}

#video.fs-fallback {
    /* 
        This class provides styles for full screen fallback for browsers that do not support it natively.

        This is not quite working yet because of the header/footer and column layout of the chat page.
        We have plans to redo that UI getting rid of header/footer and having the video container occupy
        100% of the page space. This fallback should work at that point (but will need to be tested). 
    */
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

/* Media Queries */

/* Hid footer on screens smaller than 500 px */
@media only screen and (min-width: 500px) {

    footer {
        /* Should match footer height */
        margin-top: -90px;
    }

    .well {
        min-height: 350px;
        max-height: 350px;
    }
}

@media only screen and (max-width: 500px) {
    #img-logo {
        content: url("/images/fm-logo-xs.png");
    }

    .well {
        min-height: 200px;
        max-height: 200px;
    }
}

@media only screen and (min-width: 768px) {
    .row.is-flex {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

        .row.is-flex > [class*='col-'] {
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            -webkit-flex-direction: column;
            -ms-flex-direction: column;
            flex-direction: column;
        }

    .well {
    }
}

/* For 100% Div Height
@media only screen and (min-width: 768px) {
    .row.table-row {
        display: table;
        width:100%;
    }

        .row.table-row > [class*="col-"] {
            float:none;
            display: table-cell;
            vertical-align: top;
        }
}
*/

@media only screen and (min-width: 992px) {
    .header .logo {
        padding-left: 15px;
        padding-top: 34px;
        height: 138px;
    }

    .header .text {
        padding-top: 55px;
        height: 138px;
    }

    .well {
        min-height: 350px;
        max-height: 350px;
    }

    #header-text {
        padding-left: 30px;
        /*font: 34px 'Varela Round',Arial,verdana,sans-serif;*/
        font: 400 50px/1.3em 'Varela Round',Arial,verdana,sans-serif;
        color: white;
        /*line-height: 138px;*/
    }
}

.hidden {
    display: none;
}

circle {
    fill: #666;
    fill-opacity: 0.6;
}

svg.on circle {
    fill-opacity: 0;
}

path.on {
    display: none;
}

path.off {
    display: block;
}

svg.on path.on {
    display: block;
}

svg.on path.off {
    display: none;
}

svg:hover {
    box-shadow: 4px 4px 48px #666;
}

/*////// icons CSS start ////////////////////////*/

#iconsLeft {
    bottom: 6vh;
    left: 6vw;
    position: fixed;
    z-index: 100;
}

    #iconsLeft svg {
        border-radius: 48px;
        box-shadow: 2px 2px 24px #444;
        display: block;
        margin: 0 0 3vh 0;
        transform: translateX(calc(-6vw - 96px));
        transition: all .1s;
        transition-timing-function: ease-in-out;
    }

    #iconsLeft.active svg {
        transform: translateX(0);
    }

.iconsBottom {
    bottom: 6vh;
    left: calc(6vw + 96px);
    right: calc(6vw + 96px);
    position: fixed;
    z-index: 100;
    text-align: center;
}

    .iconsBottom svg {
        border-radius: 48px;
        box-shadow: 2px 2px 24px #444;
        margin: 0 0 0 3vh;
        transform: translateY(calc(6vw + 96px));
        transition: all .1s;
        transition-timing-function: ease-in-out;
    }

    .iconsBottom.active svg {
        transform: translateX(0);
    }

.iconsTopRight {
    top: 6vh;
    right: 6vh;
    position: fixed;
    z-index: 100;
}

    .iconsTopRight svg {
        border-radius: 48px;
        box-shadow: 2px 2px 24px #444;
        margin: 0 0 0 3vh;
        transform: translateY(calc(6vw + 96px));
        transition: all .1s;
        transition-timing-function: ease-in-out;
    }

    .iconsTopRight.active svg {
        transform: translateX(0);
    }


#toggleVideoChange {
    transition: 280ms;
}

    #toggleVideoChange:hover,
    #toggleVideoChange.on {
        background: #407cf7;
    }

        #toggleVideoChange:hover rect {
            fill: #407cf7;
        }

#toggleOpenCaptureImage {
    transition: 280ms;
}

    #toggleOpenCaptureImage:hover,
    #toggleOpenCaptureImage.on {
        background: #407cf7;
    }

        #toggleOpenCaptureImage:hover rect {
            fill: #407cf7;
        }

#toggleCaptureImage {
    transition: 280ms;
}

    #toggleCaptureImage:hover,
    #toggleCaptureImage.on {
        background: #407cf7;
    }

        #toggleCaptureImage:hover rect {
            fill: #407cf7;
        }

#toggleCaptureClose {
    transition: 280ms;
    transform: translateX(0) !important;
}

    #toggleCaptureClose:hover,
    #toggleCaptureClose.on {
        background: #407cf7;
    }

        #toggleCaptureClose:hover rect {
            fill: #407cf7;
        }

#otherSideWaitMsg {
    font-size: 22px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    font-weight: bold;
    color: white;
    -webkit-text-stroke: 0.9px #000000;
}

#otherSideConnectedMsg {
    word-break: normal;
    font-size: 16px;
    position: fixed;
    bottom: 10px;
    left: 20px;
    z-index: 1000;
    color: white;
    background-color: #00000038;
    padding: 1px 10px 1px 10px;
}

.fm-video-local video {
    height: 100% !important;
    max-height: 100% !important;
    max-width: 100% !important;
    /* object-fit: cover !important;*/
    transition: opacity 1s;
    width: 100% !important;
    padding: 20px;
}

.fm-video-remote video {
    display: block;
    height: 100% !important;
    max-height: 100% !important;
    max-width: 100% !important;
    /* object-fit: cover !important;*/
    -moz-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    transition: opacity 1s;
    width: 100% !important;
    /* fix mirror */
    -moz-transform: scale(1, 1) !important;
    -ms-transform: scale(1, 1) !important;
    -o-transform: scale(1, 1) !important;
    -webkit-transform: scale(1, 1) !important;
    transform: scale(1, 1) !important;
    padding: 20px;
}

video::-webkit-media-controls {
    display: none;
}

video {
    pointer-events: none;
}

.fm-video-fullscreen {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.fixer-mirror {
    -moz-transform: rotateY(0) !important;
    -ms-transform: rotateY(0) !important;
    -o-transform: rotateY(0) !important;
    -webkit-transform: rotateY(0) !important;
    transform: rotateY(0) !important;
}
/*Photo Click Effect*/
#shutter {
    opacity: 0;
    transition: all 60ms ease-in; /* Shutter speed */
    position: fixed;
    height: 0%;
    width: 0%;
    pointer-events: none;
    background-color: white; /* Shutter Color */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    z-index: 9999;
}

    #shutter.on {
        opacity: 1; /* Shutter Transparency */
        height: 100%;
        width: 100%;
    }

/*Layout request video & microphone permissions*/
.S7_rT {
    display: inline-block;
    line-height: normal;
    white-space: pre-wrap;
    margin-bottom: 5px;
}

.FV2Qy {
    text-transform: uppercase;
    position: relative;
    font-size: 14px;
    transition: box-shadow .18s ease-out,background .18s ease-out,color .18s ease-out;
    padding: 10px 24px;
    border-radius: 3px;
}

.S7_rT:hover {
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.06),0 2px 5px 0 rgba(0,0,0,.2);
}

.FV2Qy {
    color: #fff;
    background-color: #2b4c81;
}

    .FV2Qy:hover {
        background-color: #2b6181;
    }

._3ZqlX {
    overflow: auto;
    z-index: 800;
    background-color: hsla(0,0%,100%,0.85);
}

._2Oo_9 {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    min-height: 100%;
    width: 100%;
    max-width: 100%;
}

    ._2Oo_9:after, ._2Oo_9:before {
        content: "";
        flex: 0 0 50px;
    }

.G_MLO {
    box-sizing: border-box;
    display: flex;
    overflow: hidden;
    max-width: 400px;
    flex-direction: column;
    flex: none;
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 0 17px 50px 0 rgba(0,0,0,.19),0 12px 15px 0 rgba(0,0,0,.24);
    padding: 22px 24px 20px;
}

._2HE5l {
    flex: 1 1 100%;
    white-space: normal;
    position: relative;
    overflow-wrap: break-word;
}

._3pTi5 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 20px;
    text-align: left;
}

._9a59P {
    font-size: 14.2px;
    line-height: 20px;
}

._2LPYs {
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: flex-end;
    overflow: hidden;
    white-space: nowrap;
    padding: 50px 5px 0;
    text-align: right;
}

.copyable-area {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

._1LkpH {
    visibility: visible;
}

.selectable-text {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

._3Whw5 {
    visibility: visible;
}

._2fpYo {
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
}

.overlay {
    height: 100%;
    position: fixed;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    left: 0;
}

._3YtMn {
    font-weight: 300;
    color: #666;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 20px;
}

.btn-down {
    z-index: 2;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 48px;
}


.MuiSvgIcon-root {
    fill: currentColor;
    width: 24px;
    height: 24px;
    display: inline-block;
    font-size: 1.5rem;
    transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    flex-shrink: 0;
    user-select: none;
}

.MuiSvgIcon-colorPrimary {
    color: #3f51b5;
}

.MuiSvgIcon-colorSecondary {
    color: #f50057;
}

.MuiSvgIcon-colorAction {
    color: rgba(0, 0, 0, 0.54);
}

.MuiSvgIcon-colorError {
    color: #f44336;
}

.MuiSvgIcon-colorDisabled {
    color: rgba(0, 0, 0, 0.26);
}

.MuiSvgIcon-fontSizeInherit {
    font-size: inherit;
}

.MuiSvgIcon-fontSizeSmall {
    font-size: 1.25rem;
}

.MuiSvgIcon-fontSizeLarge {
    font-size: 2.1875rem;
}


.MuiIconButton-root {
    flex: 0 0 auto;
    color: rgba(0, 0, 0, 0.54);
    padding: 12px;
    overflow: visible;
    font-size: 1.5rem;
    text-align: center;
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    border-radius: 50%;
}

    .MuiIconButton-root:hover {
        background-color: rgba(0, 0, 0, 0.04);
    }

    .MuiIconButton-root.Mui-disabled {
        color: rgba(0, 0, 0, 0.26);
        background-color: transparent;
    }

@media (hover: none) {
    .MuiIconButton-root:hover {
        background-color: transparent;
    }
}

.MuiIconButton-edgeStart {
    margin-left: -12px;
}

.MuiIconButton-sizeSmall.MuiIconButton-edgeStart {
    margin-left: -3px;
}

.MuiIconButton-edgeEnd {
    margin-right: -12px;
}

.MuiIconButton-sizeSmall.MuiIconButton-edgeEnd {
    margin-right: -3px;
}

.MuiIconButton-colorInherit {
    color: inherit;
}

.MuiIconButton-colorPrimary {
    color: #3f51b5;
}

    .MuiIconButton-colorPrimary:hover {
        background-color: rgba(63, 81, 181, 0.04);
    }

@media (hover: none) {
    .MuiIconButton-colorPrimary:hover {
        background-color: transparent;
    }
}

.MuiIconButton-colorSecondary {
    color: #f50057;
}

    .MuiIconButton-colorSecondary:hover {
        background-color: rgba(245, 0, 87, 0.04);
    }

@media (hover: none) {
    .MuiIconButton-colorSecondary:hover {
        background-color: transparent;
    }
}

.MuiIconButton-sizeSmall {
    padding: 3px;
    font-size: 1.125rem;
}

.MuiIconButton-label {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: inherit;
    justify-content: inherit;
}


.MuiButton-root {
    color: rgba(0, 0, 0, 0.87);
    padding: 6px 16px;
    font-size: 0.875rem;
    min-width: 64px;
    box-sizing: border-box;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-weight: 500;
    line-height: 1.75;
    border-radius: 4px;
    letter-spacing: 0.02857em;
    text-transform: uppercase;
}

    .MuiButton-root:hover {
        text-decoration: none;
        background-color: rgba(0, 0, 0, 0.04);
    }

    .MuiButton-root.Mui-disabled {
        color: rgba(0, 0, 0, 0.26);
    }

@media (hover: none) {
    .MuiButton-root:hover {
        background-color: transparent;
    }
}

.MuiButton-root:hover.Mui-disabled {
    background-color: transparent;
}

.MuiButton-label {
    width: 100%;
    display: inherit;
    align-items: inherit;
    justify-content: inherit;
}

.MuiButton-text {
    padding: 6px 8px;
}

.MuiButton-textPrimary {
    color: #3f51b5;
}

    .MuiButton-textPrimary:hover {
        background-color: rgba(63, 81, 181, 0.04);
    }

@media (hover: none) {
    .MuiButton-textPrimary:hover {
        background-color: transparent;
    }
}

.MuiButton-textSecondary {
    color: #f50057;
}

    .MuiButton-textSecondary:hover {
        background-color: rgba(245, 0, 87, 0.04);
    }

@media (hover: none) {
    .MuiButton-textSecondary:hover {
        background-color: transparent;
    }
}

.MuiButton-outlined {
    border: 1px solid rgba(0, 0, 0, 0.23);
    padding: 5px 15px;
}

    .MuiButton-outlined.Mui-disabled {
        border: 1px solid rgba(0, 0, 0, 0.12);
    }

.MuiButton-outlinedPrimary {
    color: #3f51b5;
    border: 1px solid rgba(63, 81, 181, 0.5);
}

    .MuiButton-outlinedPrimary:hover {
        border: 1px solid #3f51b5;
        background-color: rgba(63, 81, 181, 0.04);
    }

@media (hover: none) {
    .MuiButton-outlinedPrimary:hover {
        background-color: transparent;
    }
}

.MuiButton-outlinedSecondary {
    color: #f50057;
    border: 1px solid rgba(245, 0, 87, 0.5);
}

    .MuiButton-outlinedSecondary:hover {
        border: 1px solid #f50057;
        background-color: rgba(245, 0, 87, 0.04);
    }

    .MuiButton-outlinedSecondary.Mui-disabled {
        border: 1px solid rgba(0, 0, 0, 0.26);
    }

@media (hover: none) {
    .MuiButton-outlinedSecondary:hover {
        background-color: transparent;
    }
}

.MuiButton-contained {
    color: rgba(0, 0, 0, 0.87);
    box-shadow: 0px 3px 1px -2px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 1px 5px 0px rgba(0,0,0,0.12);
    background-color: #e0e0e0;
}

    .MuiButton-contained:hover {
        box-shadow: 0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12);
        background-color: #d5d5d5;
    }

    .MuiButton-contained.Mui-focusVisible {
        box-shadow: 0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12);
    }

    .MuiButton-contained:active {
        box-shadow: 0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12);
    }

    .MuiButton-contained.Mui-disabled {
        color: rgba(0, 0, 0, 0.26);
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.12);
    }

@media (hover: none) {
    .MuiButton-contained:hover {
        box-shadow: 0px 3px 1px -2px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 1px 5px 0px rgba(0,0,0,0.12);
        background-color: #e0e0e0;
    }
}

.MuiButton-contained:hover.Mui-disabled {
    background-color: rgba(0, 0, 0, 0.12);
}

.MuiButton-containedPrimary {
    color: #fff;
    background-color: #3f51b5;
}

    .MuiButton-containedPrimary:hover {
        background-color: #303f9f;
    }

@media (hover: none) {
    .MuiButton-containedPrimary:hover {
        background-color: #3f51b5;
    }
}

.MuiButton-containedSecondary {
    color: #fff;
    background-color: #f50057;
}

    .MuiButton-containedSecondary:hover {
        background-color: #c51162;
    }

@media (hover: none) {
    .MuiButton-containedSecondary:hover {
        background-color: #f50057;
    }
}

.MuiButton-disableElevation {
    box-shadow: none;
}

    .MuiButton-disableElevation:hover {
        box-shadow: none;
    }

    .MuiButton-disableElevation.Mui-focusVisible {
        box-shadow: none;
    }

    .MuiButton-disableElevation:active {
        box-shadow: none;
    }

    .MuiButton-disableElevation.Mui-disabled {
        box-shadow: none;
    }

.MuiButton-colorInherit {
    color: inherit;
    border-color: currentColor;
}

.MuiButton-textSizeSmall {
    padding: 4px 5px;
    font-size: 0.8125rem;
}

.MuiButton-textSizeLarge {
    padding: 8px 11px;
    font-size: 0.9375rem;
}

.MuiButton-outlinedSizeSmall {
    padding: 3px 9px;
    font-size: 0.8125rem;
}

.MuiButton-outlinedSizeLarge {
    padding: 7px 21px;
    font-size: 0.9375rem;
}

.MuiButton-containedSizeSmall {
    padding: 4px 10px;
    font-size: 0.8125rem;
}

.MuiButton-containedSizeLarge {
    padding: 8px 22px;
    font-size: 0.9375rem;
}

.MuiButton-fullWidth {
    width: 100%;
}

.MuiButton-startIcon {
    display: inherit;
    margin-left: -4px;
    margin-right: 8px;
}

    .MuiButton-startIcon.MuiButton-iconSizeSmall {
        margin-left: -2px;
    }

.MuiButton-endIcon {
    display: inherit;
    margin-left: 8px;
    margin-right: -4px;
}

    .MuiButton-endIcon.MuiButton-iconSizeSmall {
        margin-right: -2px;
    }

.MuiButton-iconSizeSmall > *:first-child {
    font-size: 18px;
}

.MuiButton-iconSizeMedium > *:first-child {
    font-size: 20px;
}

.MuiButton-iconSizeLarge > *:first-child {
    font-size: 22px;
}


/*.MuiButtonBase-root {
    color: inherit;
    border: 0;
    cursor: pointer;
    margin: 0;
    display: inline-flex;
    outline: 0;
    padding: 0;
    position: relative;
    align-items: center;
    user-select: none;
    border-radius: 0;
    vertical-align: middle;
    -moz-appearance: none;
    justify-content: center;
    text-decoration: none;
    background-color: transparent;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    width: 40px;
    height: 40px;
}*/

    .MuiButtonBase-root::-moz-focus-inner {
        border-style: none;
    }

    .MuiButtonBase-root.Mui-disabled {
        cursor: default;
        pointer-events: none;
    }

@media print {
    .MuiButtonBase-root {
        -webkit-print-color-adjust: exact;
    }
}
