﻿/* Styles by RB */

#sidebarToggle svg {
    color: #009000 !important;
}

.sidenav-light .sidenav-menu .nav-link:hover {
    color: #007000 !important;
}

.sidenav .sidenav-menu .nav .nav-link.active {
    font-weight: normal !important;
}

.sidenav-light .sidenav-menu .nav-link.active {
    color: black !important;
}

    .sidenav-light .sidenav-menu .nav-link.active:hover {
        color: #007000 !important;
    }

.sidenav-light .sidenav-menu .nav-link .nav-link-icon {
    color: #009000 !important;
}

    .sidenav-light .sidenav-menu .nav-link .nav-link-icon:hover {
        color: #007000 !important;
    }

.dropdown-item:hover, .dropdown-item:focus {
    color: #007000 !important;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #007000 !important;
    color: white !important;
}

.card:not([class*=bg-]) .card-header {
    color: black !important;
}

.nav-link .nav-link-icon span {
    color: black !important;
}

.nav-item a.active {
    color: #009000 !important;
}

    .nav-item a.active:hover {
        color: #007000 !important;
    }


.nav-item .nav-link {
    color: black !important;
}

    .nav-item .nav-link:hover {
        color: #007000 !important;
    }

a {
    color: black;
}

    a:hover {
        color: #007000;
    }

    a svg {
        color: #009000 !important;
        font-size: medium !important;
    }

        a svg:hover {
            color: #007000 !important;
        }

    a.icon-action {
        margin-left: 6px;
        margin-right: 6px;
    }

    a svg.font-xxl {
        min-width: 45px;
    }


.btn .feather:hover {
    color: #007000 !important;
}

.btn .fa:hover {
    color: #007000 !important;
}

.btn .fas:hover {
    color: #007000 !important;
}

.bg-gradient-primary-to-secondary {
    background-color: #007000 !important;
    background-image: linear-gradient(135deg, lightgrey 0%, rgba(0, 135, 46, 0.7) 150%) !important;
}

.fixed-top, .nav-fixed #layoutSidenav #layoutSidenav_nav, .nav-fixed .topnav {
    background-color: #dbdcdd !important;
}

.sidenav-light {
    background-color: #e9ebee !important;
}


.sidenav .sidenav-menu .nav .nav-link .nav-link-icon {
    width: 20px !important;
}

.img-logo {
    max-height: 40px;
    max-width: 112px;
    width: auto;
    height: auto;
}

.img-grid {
    max-height: 80px;
    max-width: 80px;
    width: auto;
    height: auto;
}

.progress-bar-custom {
    background-color: #00ac69 !important;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #009000 !important;
    background-color: #009000 !important;
}

.custom-actions {
    align-items: center;
    justify-content: space-between;
    display: inline-flex;
    width: 100%;
    max-width: 100px;
    min-width: 80px;
}

    .custom-actions .custom-switch {
        margin-top: -10px;
    }

    .custom-actions .custom-control-input:not(:checked) ~ .custom-control-label::before {
        color: #fff;
        border-color: #e73d4a !important;
        background-color: #e73d4a !important;
    }

.textarea-resize-none {
    resize: none;
}

.table tbody td {
    vertical-align: middle;
}

.table th, .table td {
    white-space: nowrap;
}

.pull-right {
    float: right;
}

.sweet-alert {
    border: 2px solid #007000;
}

.multiselect-input-search {
    margin-bottom: 5px;
    width: 167px;
}

.input-group-text-sm {
    padding: 0 10px 0 10px !important;
}

.input-group-action-button {
    background-color: #00ac69;
    color: white;
}

.separator-10 {
    margin-top: 10px;
}

.separator-20 {
    margin-top: 20px;
}

.fix-header {
    overflow: auto;
    height: 320px;
}

.fix-header thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: white;
}

#calendar {
    max-width: 1100px;
    margin: 50px auto;
}


/*Css defs Whatsapp*/

.chat-body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
}


.chat {
    height: calc(80% - 69px);
}

.chat-container {
    height: 100%;
}

.user-bar {
    height: 55px;
    background: #005e54;
    color: #fff;
    padding: 0 8px;
    font-size: 24px;
    position: relative;
    z-index: 1;
}

.user-bar:after {
    content: "";
    display: table;
    clear: both;
}

.user-bar div {
    float: left;
    transform: translateY(-50%);
    position: relative;
    top: 50%;
}

.user-bar .actions {
    float: right;
    margin: 0 0 0 20px;
}

.user-bar .actions.more {
    margin: 0 12px 0 32px;
}

.user-bar .actions.attachment {
    margin: 0 0 0 30px;
}

.user-bar .actions.attachment i {
    display: block;
    transform: rotate(-45deg);
}

.user-bar .avatar {
    margin: 0 0 0 5px;
    width: 36px;
    height: 36px;
}

.user-bar .avatar img {
    border-radius: 50%;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
    display: block;
    width: 100%;
}

.user-bar .name {
    font-size: 17px;
    font-weight: 600;
    text-overflow: ellipsis;
    letter-spacing: 0.3px;
    margin: 0 0 0 8px;
    overflow: hidden;
    white-space: nowrap;
    width: auto;
}

.user-bar .status {
    display: block;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
    width: auto;
}

.conversation {
    height: calc(80% - 12px);
    position: relative;
    background: #efe7dd url("https://cloud.githubusercontent.com/assets/398893/15136779/4e765036-1639-11e6-9201-67e728e86f39.jpg") repeat;
    z-index: 0;
}

.conversation ::-webkit-scrollbar {
    transition: all .5s;
    width: 5px;
    height: 1px;
    z-index: 10;
}

.conversation ::-webkit-scrollbar-track {
    background: transparent;
}

.conversation ::-webkit-scrollbar-thumb {
    background: #b3ada7;
}

.conversation .conversation-container {
    height: calc(80% - 68px);
    box-shadow: inset 0 10px 10px -10px #000000;
    overflow-x: hidden;
    padding: 0 16px;
    margin-bottom: 5px;
}

.conversation .conversation-container:after {
    content: "";
    display: table;
    clear: both;
}

.message {
    color: #000;
    clear: both;
    line-height: 18px;
    font-size: 15px;
    padding: 8px;
    position: relative;
    margin: 8px 0;
    max-width: 80%;
    word-wrap: break-word;
}

.message:after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
}

.metadata {
    display: inline-block;
    float: right;
    padding: 0 0 0 7px;
    position: relative;
    bottom: -4px;
}

.metadata .time {
    color: rgba(0, 0, 0, .45);
    font-size: 11px;
    display: inline-block;
}

.metadata .tick {
    display: inline-block;
    margin-left: 2px;
    position: relative;
    top: 4px;
    height: 16px;
    width: 16px;
}

.metadata .tick svg {
    position: absolute;
    transition: .5s ease-in-out;
}

.metadata .tick svg:first-child {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: perspective(800px) rotateY(180deg);
    transform: perspective(800px) rotateY(180deg);
}

.metadata .tick svg:last-child {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: perspective(800px) rotateY(0deg);
    transform: perspective(800px) rotateY(0deg);
}

.metadata .tick-animation svg:first-child {
    -webkit-transform: perspective(800px) rotateY(0);
    transform: perspective(800px) rotateY(0);
}

.metadata .tick-animation svg:last-child {
    -webkit-transform: perspective(800px) rotateY(-179.9deg);
    transform: perspective(800px) rotateY(-179.9deg);
}

.message:first-child {
    margin: 16px 0 8px;
}

.message.received {
    background: #fff;
    border-radius: 0px 5px 5px 5px;
    float: left;
}

.message.received .metadata {
    padding: 0 0 0 16px;
}

.message.received:after {
    border-width: 0px 10px 10px 0;
    border-color: transparent #fff transparent transparent;
    top: 0;
    left: -10px;
}

.message.sent {
    background: #e1ffc7;
    border-radius: 5px 0px 5px 5px;
    float: right;
}

.message.sent:after {
    border-width: 0px 0 10px 10px;
    border-color: transparent transparent transparent #e1ffc7;
    top: 0;
    right: -10px;
}


.conversation-compose {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    overflow: hidden;
    height: 50px;
    width: 100%;
    z-index: 2;
}

.conversation-compose div,
.conversation-compose input {
    background: #fff;
    height: 80%;
}

.conversation-compose .emoji {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 5px 0 0 5px;
    flex: 0 0 auto;
    margin-left: 8px;
    width: 48px;
}

.conversation-compose .input-msg {
    border: 0;
    flex: 1 1 auto;
    font-size: 16px;
    margin: 0;
    outline: none;
    min-width: 50px;
}

.conversation-compose .photo {
    flex: 0 0 auto;
    border-radius: 0 0 5px 0;
    text-align: center;
    position: relative;
    width: 48px;
}

.conversation-compose .photo:after {
    border-width: 0px 0 10px 10px;
    border-color: transparent transparent transparent #fff;
    border-style: solid;
    position: absolute;
    width: 0;
    height: 0;
    content: "";
    top: 0;
    right: -10px;
}

.conversation-compose .photo i {
    display: block;
    color: #7d8488;
    font-size: 24px;
    transform: translate(-50%, -50%);
    position: relative;
    top: 50%;
    left: 50%;
}

.conversation-compose .send {
    background: transparent;
    border: 0;
    cursor: pointer;
    flex: 0 0 auto;
    margin-left: 8px;
    margin-right: 8px;
    padding: 0;
    position: relative;
    outline: none;
}

.conversation-compose .send .circle {
    background: #008a7c;
    border-radius: 50%;
    color: #fff;
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .conversation-compose .send .circle i {
        font-size: 24px;
        margin-left: 5px;
    }


.marvel-device .status-bar {
    display: none;
}

.screen-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.conversation {
    height: calc(50vh - 55px);
}

.conversation .conversation-container {
    height: calc(50vh - 120px);
}

.back {
    font-size: 30px;
    float: left;
}

.forword {
    font-size: 30px;
    float: right;
}

.input-msg{
    margin-left: 10px !important;
    padding: 20px !important;
    border-radius: 20px;
}

.center-element-chat{
    position:relative;
    bottom: 250px;
}

.spinner-border {
    width: 3.5rem !important;
    height: 3.5rem !important;
}

.chat-blur{
    filter: blur(5px);
}

.warning-late-task {
    background-color: rgb(255, 200, 200) !important;
    color: black;
}
.warning-message {
   color: rgb(206, 153, 54);
    font-weight: bold;
    display: block;

}
.table-align {
    display :flex;
    align-items: baseline; 
    justify-content: center;
    gap: 10px;
}
.table-align-warning-buttom {
    padding-left: 35px !important;
}

.divCenterSwitch {
    display: flex;
    flex-direction: column-reverse;
}

.switch-style {
    display: flex;
    align-items: initial;
}

.card-header_with-loading {
    display: flex;
    justify-content: space-between;
}