html {
    background: var(--primary-color-dark);
}
body {
    overflow-x: hidden;
}
#showFurnitureBtn,
.tour-title-widget {
    display: none !important;
}

.front-layer {
    /* CSS to wrap grid items with different widths when displaying visit form in narrow screens */
    grid-template-columns: 0 0 repeat(auto-fit, minmax(min(150px, 100%), 1fr));
    grid-template-rows: 1fr;
    grid-auto-rows: 3fr 5fr;
}

.close-live-chat {
    font-size: 2em;
    float: right;
    line-height: 0.75;
    cursor: pointer;
}
@media (min-width: 1200px) {
    #frame .content .messages {
        margin-bottom: 8em !important;
    }
}
.frame-header-content {
    padding: 0;
}
.voice-volume {
    pointer-events: all;
    position: fixed;
    left: 2em;
}
@media (min-width: 736px) {
    .voice-volume {
        display: block !important;
    }
}
.send-icon {
    width: 1em;
}
#liveContainer {
    left: 0 !important;
    position: absolute;
    width: 100%;
}
.icon-experience {
    display: inline-block;
}
#frame {
    opacity: 0;
    display: none !important;
    position: fixed;
    z-index: 99999;
    -moz-transform: translateX(100%) !important;
    -ms-transform: translateX(100%) !important;
    -webkit-transform: translateX(100%) !important;
    -o-transform: translateX(100%) !important;
     transform: translateX(100%) !important;
    transition: all 0.5s ease;
}
#frame.opened {
    opacity: 1;
    -moz-transform: translateX(0%) !important;
    -ms-transform: translateX(0%) !important;
    -webkit-transform: translateX(0%) !important;
    -o-transform: translateX(0%) !important;
    transform: translateX(0%) !important;
    transition: all 0.5s ease;
}
.ohchatcontainer.opened {
    display: initial !important;
    transition: all 0.5s ease;
}
#requestPermissions {
    z-index: 999999;
}
#videoCallsVisitorActionButtons .modal-body{
    display: flex;
    padding: 1.25em 0.75em;
}
#videoCallsVisitorActionButtons .action-button-text {
    width: 40%;
}
#remotestream.opened {
    transition: all 0.5s ease;
}
.live-container {
    height: 100%;
}
#tour {
    position: relative;
}

.show-all {
    pointer-events: none;
}

/* MEDIA QUERIES */
@media only screen and (max-width : 320px) and (orientation : landscape) {
    .call-animation {
        width: 8em;
        height: 8em;
    }
    .call-action{
        margin: 0.5em 0;
        font-size: 1em;
    }
}

/* SMARTPHONES (PORTRAIT) */
@media (min-width:320px)  {
    #videoCallsVisitorActionButtons .action-button{
        min-height: 7.25em;
    }
    #frame {
        height: 84.3vh;
    }
    .attachment {
        right: 3em !important;
        margin-top: 0 !important;
    }
    #frame .content .message-input .wrap button {
        width: 2.5em !important;
        height: 2.5em !important;
    }
    #frame .content .message-input .wrap input {
        padding: 8px 42px 8px 8px !important;
    }
    #remotestream.opened {
        right: 32em;
    }
    .call-agent-btn {
        display: none;
    }
    .daterangepicker.drop-up {
        margin-top: 13.5em !important;
        padding-right: 0 !important;
    }
    #ohUserNameModal .modal-dialog {
        padding: 0 !important;
        overflow: hidden;
    }
    .call-agent-bar {
        display: inline-block;
    }
    .snackbar-container.snackbar-link-copied {
        bottom: 15% !important;
    }
    #snackbarCustom {
        left: 0;
        bottom: 0;
    }
    .private-chat-empty ,
    .public-chat-empty {
        height: 33vh !important;
    }
    #frame .content .message-input {
        bottom: 0;
    }
    #remotestream.opened {
        right: 32em;
    }
    .call-agent-btn {
        display: none;
    }
    .call-agent-bar {
        display: inline-block;
    }
    .snackbar-container.snackbar-link-copied {
        bottom: 27% !important;
    }
    .private-chat-empty ,
    .public-chat-empty {
        height: 33vh !important;
    }
    #ohUserNameModal .modal-dialog {
        -webkit-transform: translate(0,-50%);
        -o-transform: translate(0,-50%);
        transform: translate(0,-50%);
    }
}

@media screen and (max-height: 700px)
        and (max-height: 700px)
        and (max-width: 700px) {
    #ohUserNameModal .modal-content {
        max-height: 60%;
        min-height: 60%;
    }

}
@media screen and (min-height: 700px)
        and (max-height: 850px)
        and (max-width: 700px) {
    #ohUserNameModal .modal-content {
        max-height: 46%;
        min-height: 46%;
    }
}
@media (min-width: 576px) {
    #videoCallsVisitorActionButtons .action-button {
        min-height: 6.5em;
    }
    #ohContact .modal-dialog {
         -webkit-transform: inherit;
        -o-transform:inherit !important;
         transform: inherit !important;
         top: inherit;
         margin:inherit;
    }
    #frame {
        height: 100vh;
    }
    #remotestream.opened {
        right: 32em;
    }
    .call-agent-btn {
        display: none;
    }
    .call-agent-bar {
        display: inline-block;
    }
    .snackbar-container.snackbar-link-copied {
        bottom: 15% !important;
    }
    .private-chat-empty ,
    .public-chat-empty {
        height: 33vh !important;
    }
    .swal-limit-connections-popup {
        max-width: 70% !important;
    }
    #frame .content .message-input .wrap input {
        width: calc(100% - 39px) !important;
    }
    .voice-volume {
        display: block !important;
    }
}

@media (min-width: 768px) {
    #remotestream.opened {
        right: 32em;
    }
    .daterangepicker {
        padding: 1em 0 !important;
        -webkit-border-radius: 1em !important;
        -moz-border-radius: 1em !important;
        border-radius: 1em !important;
        transform: scale(1.3);
    }
    .daterangepicker.drop-up {
        margin-left: 7em !important;
        margin-top: 12em !important;
    }
    .call-agent-btn {
        display: inline-block;
    }
    .call-agent-bar {
        display: none;
    }
    .snackbar-container.snackbar-link-copied {
        bottom: 20% !important;
    }
    .private-chat-empty ,
    .public-chat-empty {
        height: 33vh !important;
    }
    .swal-limit-connections-popup {
        max-width: 60% !important;
    }
}
@media (min-width: 992px) {
    #remotestream.opened {
        right: 22.5em;
    }
    .snackbar-container.snackbar-link-copied {
        bottom: 15% !important;
    }
    .private-chat-empty ,
    .public-chat-empty {
        height: 33vh !important;
    }
}
@media (min-width: 1200px) {
    #remotestream.opened {
        right: 26em;
    }
    .snackbar-container.snackbar-link-copied {
        bottom: 15% !important;
    }
    .private-chat-empty ,
    .public-chat-empty {
        height: 33vh !important;
    }
    .swal-limit-connections-popup {
        max-width: 50% !important;
    }
}
@media screen and (min-width: 1400px) {
    #remotestream.opened {
        right: 31em;
    }
    .snackbar-container.snackbar-link-copied {
        bottom: 15% !important;
    }
    .private-chat-empty ,
    .public-chat-empty {
        height: 33vh !important;
    }
    .swal-limit-connections-popup {
        max-width: 50% !important;
    }
}
@media screen and (min-width: 1600px) {
    #remotestream.opened {
        right: 35em;
    }
    .snackbar-container.snackbar-link-copied {
        bottom: 15% !important;
    }
    .private-chat-empty ,
    .public-chat-empty {
        height: 33vh !important;
    }
    .swal-limit-connections-popup {
        max-width: 50% !important;
    }
}
@media screen and (min-width: 1900px) {
    #remotestream.opened {
        right: 32em;
    }
    .snackbar-container.snackbar-link-copied {
        bottom: 15% !important;
    }
    .private-chat-empty ,
    .public-chat-empty {
        height: 33vh !important;
    }
    .swal-limit-connections-popup {
        max-width: 50% !important;
    }
}
.call-agent-btn {
    position: fixed;
    right: 2em;
    margin: 0;
}
.call-action-button {
    box-shadow: 0px 1px 6px rgb(3 14 99 / 20%);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 0.5em;
    color:#030E63 !important;
}
#videoCallsVisitorActionButtons .action-button {
    cursor: pointer;
}
.daterangepicker {
    z-index: 999 !important;
}
.daterangepicker {
    z-index:99999 !important;
    color:var(--primary-color) !important;
}
.daterangepicker td.active, .daterangepicker td.active:hover {
    background-color:var(--primary-color) !important;
}
.daterangepicker.drop-up {
    padding: 1.75em 5.33em 2.45em 5.33em;
    margin-left: 2.2em;
}
.daterangepicker td.available:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}
.daterangepicker.drop-up:before,
.daterangepicker.drop-up:after,
.daterangepicker.drop-up {
    border:none !important;
}
.daterangepicker.single .ranges, .daterangepicker.single .drp-calendar {
    display: inline !important;
    float:initial !important;
}
.daterangepicker .drp-calendar.right {
    display: none !important;
}
.daterangepicker select.hourselect, .daterangepicker select.minuteselect, .daterangepicker select.secondselect, .daterangepicker select.ampmselect {
    width: 25px !important;
}
.schedule-date-input {
    padding: 0.9em 0.75em !important;
}
.rectangles {
    padding: 172px 0 0 0;
    top: -3.5em;
}
#ohUserNameModal {
    background: var(--blue-gray-800);
}
#ohUserNameModal .form-control {
    width:100%;
    height: 44px;
    -webkit-border-radius: 0.5em !important;
    -moz-border-radius: 0.5em !important;
    border-radius: 0.5em !important;
    background: #fff !important;
    -webkit-box-shadow: 0 12px 48px 0 rgba(84,93,120,.2) !important;
    transition: all 0.3s cubic-bezier(.25,.8,.25,1) !important;
    box-shadow: 0 12px 48px 0 rgba(84,93,120,.2) !important;
    border: 0 !important;
    line-height: 2 !important;
    padding: 0 1em; !important;
}
.terms-text {
    color:var(--gray-500);
    font-size: 12px;
}
.terms-text a{
    color:var(--gray-500);
    text-decoration: underline;
}
#usernameModalLogo {
    margin: 4em 0;
}
#scheduleVisitDate {
    cursor: pointer;
    color: var(--gray-500);
}
#scheduleVisitTime {
    width: 100%;
    border: 1px solid #C5CBD3;
    box-sizing: border-box;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-image: none !important;
    font-size: initial;
    color: var(--gray-500);
    cursor: pointer;
    padding: 1em 0.5em;
    height: auto;
}
.calendar-label:before {
    cursor:pointer;
    content: "";
    position: absolute;
    right: 1em;
    top: 0;
    bottom: 0.1em;
    width: 20px;
    background: url("https://floorfy-img-local-j.s3-eu-west-1.amazonaws.com/viewer/svg/calendar.svg") center / contain no-repeat;
}
.calendar-label {
    width: 100%;
}
.tour-title-widget ,
#showFurnitureBtn {
    visibility: hidden;
    display: none !important;
}
.chat-icon-dot {
    margin-left: 1.5em;
    right: initial;
    top: initial;
}
.sidebar-header {
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%);
}
.snackbar-container {
    left: 50% !important;
    width: 0 !important;
}
.openhouse-finish-live-swal-content {
    display: none !important;
}
.openhouse-finish-live-swal-header {
    padding-top: 2em;
}
.openhouse-finish-feedback-popup .icon-experience {
    display: flex !important;
}
#frame .content {
    background: #fff;
}
.viewer-container {
    height: calc(100% - 4.125rem);
    top: 0;
}
.tour-container {
    background: #11132C;
}

.pictures-container {
    height: calc(100% - 11.5rem - .935rem); /* 100% - margin-top - margin-bottom */
    margin-top: 11.5rem;
}

.swal2-icon.swal2-icon--visit-form-sent {
    border: none;
}

.swal2-icon--visit-form-sent img {
    width: .833em;
    filter: invert(38%) sepia(48%) saturate(1877%) hue-rotate(201deg) brightness(99%) contrast(98%);
}
