@import url("automated.css");

.tag-schedule-flags {
    background-color: rgb(200, 76, 76);
    color: #FFF;
    animation: animation-blink 1.5s linear infinite;
}

.schedule-item-note {
    min-height: auto !important;
    background-color: #fffbd8;
}

.schedule-item-task {
    background-color: #d8f7ff;
}

.schedule-item-estimate {
    background-color: #d8ffdd;

}

.tag-status-schedule-tasks-open {
    background: #cd670e;
    color: #fff;
}

.tag-status-schedule-tasks-completed {
    background: #4f925c;
    color: #fff;
}

.smartSchedulingOption {
    transition: background-color 0.5s ease-in-out;
    padding: 10px;
    margin: 0;
    background-color: #FFF;
    border: 1px solid #F4F4F4;
}

.smartSchedulingOption:hover {
    cursor: pointer;
    background-color: #f5f5f5;
}

#smartSchedulingContent {
    max-height: 300px;
    overflow: auto;
    border: 1px solid #F4F4F4;
    border-radius: 10px;
}

.smartSchedulingOption.active {
    background: #f1f9ff;
}

.map-marker-label-unscheduled {
    animation: animation-blink 0.5s linear infinite;
}

.map-marker-label-super_home_warranty {
    border: 3px dashed #e58510;
}

.map-marker-label-cinch_home_services {
    border: 3px dashed #1db63b;
}

.map-marker-label-bbb {
    border: 3px dashed #1f9bba;
}

.map-marker-label-bordeaux_luxury_homes {
    border: 3px dashed #5325be;
}

.schedule-noUser .schedule-item {
    width: 150px !important;
    height: auto !important;
}


.dashboard-item {
    padding: 10px;
    margin: 20px;
    border: 1px solid #F4F4F4;
    background: #FFF;
    border-radius: 10px;
    transition: scale 0.5s ease-in-out;
}

.dark-mode .dashboard-item {
    background: #272D48;
}

.dashboard-item h1,
.dashboard-item h4 {
    margin: 5px;
}

.dashboard-item:hover {
    cursor: pointer;
    scale: 1.1;
}

.dashboard-item.active {
    border: 5px solid #c1ddec;
}


/* SMS CHAT BOX */
.chat-app .people-list {
    width: 280px;
    position: absolute;
    left: 0;
    top: 0;
    padding: 20px;
    z-index: 7
}

.chat-app .chat {
    margin-left: 280px;
    border-left: 1px solid #eaeaea
}

.people-list {
    -moz-transition: .5s;
    -o-transition: .5s;
    -webkit-transition: .5s;
    transition: .5s
}

.people-list .chat-list li {
    padding: 10px 15px;
    list-style: none;
    border-radius: 3px
}

.people-list .chat-list li:hover {
    background: #d0eeff;
    cursor: pointer;
    color: #009dff;
}

.people-list .chat-list li.active {
    background: #d0eeff;
    color: #009dff;
}

.people-list .chat-list li .name {
    font-size: 15px;
    font-weight: bold;
}

.people-list .chat-list img {
    width: 45px;
    border-radius: 50%
}

.people-list img {
    float: left;
    border-radius: 50%
}

.people-list .about {
    float: left;
    padding-left: 8px
}

.people-list .status {
    color: #999;
    font-size: 10px
}

.chat .chat-header {
    padding: 15px 20px;
    border-bottom: 2px solid #f4f7f6
}

.chat .chat-header img {
    float: left;
    border-radius: 40px;
    width: 40px
}

.chat .chat-header .chat-about {
    float: left;
    padding-left: 10px
}

.chat .chat-history {
    padding: 20px;
    border-bottom: 2px solid #fff;
    height: calc(100vh - 400px);
    overflow-x: auto;
}

.chat .chat-history ul {
    padding: 0
}

.chat .chat-history ul li {
    list-style: none;
    margin-bottom: 30px
}

.chat .chat-history ul li:last-child {
    margin-bottom: 0px
}

.chat .chat-history .message-data {
    margin-bottom: 15px
}

.chat .chat-history .message-data img {
    border-radius: 40px;
    width: 40px
}

.chat .chat-history .message-data-time {
    color: #999;
    padding-left: 6px
}

.chat .chat-history .message {
    color: #444;
    padding: 18px 20px;
    line-height: 26px;
    font-size: 16px;
    border-radius: 7px;
    display: inline-block;
    position: relative
}

.chat .chat-history .message:after {
    bottom: 100%;
    left: 7%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #fff;
    border-width: 10px;
    margin-left: -10px
}

.chat .chat-history .my-message {
    background: #efefef
}

.chat .chat-history .my-message:after {
    bottom: 100%;
    left: 30px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #efefef;
    border-width: 10px;
    margin-left: -10px
}

.chat .chat-history .other-message {
    background: #e8f1f3;
    text-align: right
}

.chat .chat-history .other-message:after {
    border-bottom-color: #e8f1f3;
    left: 93%
}

.chat .chat-message {
    padding: 20px
}

.online,
.offline,
.me {
    margin-right: 2px;
    font-size: 8px;
    vertical-align: middle
}

.online {
    color: #86c541
}

.offline {
    color: #e47297
}

.me {
    color: #1d8ecd
}

.float-right {
    float: right
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0
}

@media only screen and (max-width: 767px) {
    .chat-app .people-list {
        height: 200px;
        width: 100%;
        position: relative;
        display: block;
        overflow: auto;
        margin-bottom: 20px;
    }

    .chat-app .chat {
        margin: 0
    }

    .chat-app .chat .chat-header {
        border-radius: 0.55rem 0.55rem 0 0
    }

    .chat-app .chat-history {
        height: 300px;
        overflow-x: auto
    }
}

@media only screen and (min-width: 768px) and (max-width: 992px) {
    .chat-app .chat-list {
        height: 650px;
        overflow-x: auto
    }

    .chat-app .chat-history {
        height: 600px;
        overflow-x: auto;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
    .chat-app .chat-list {
        height: 480px;
        overflow-x: auto
    }

    .chat-app .chat-history {
        height: calc(100vh - 350px);
        overflow-x: auto
    }
}

#fileDisplay {
    margin-top: 20px;
}

.selected-file-item {
    position: relative;
    display: inline-block;
    margin: 10px;
}

.remove-selected-file-btn {
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    position: absolute;
    top: 5px;
    left: 5px;
}

.file-list {
    list-style-type: none;
    padding: 0;
}

.file-list li {
    margin: 5px 0;
    display: flex;
    align-items: center;
    position: relative;
}

.file-list .remove-selected-file-btn {
    margin-right: 10px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    position: static;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
}

.image-gallery img {
    max-width: 100px;
    margin: 5px;
}