/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/

#colorbox,
#cboxOverlay,
#cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    overflow: hidden;
    -webkit-transform: translate3d(0, 0, 0);
}

#cboxWrapper {
    max-width: none;
}

#cboxOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
}

#cboxMiddleLeft,
#cboxBottomLeft {
    clear: left;
}

#cboxContent {
    position: relative;
}

#cboxLoadedContent {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#cboxTitle {
    margin: 0;
}

#cboxLoadingOverlay,
#cboxLoadingGraphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#cboxPrevious,
#cboxNext,
#cboxClose,
#cboxSlideshow {
    cursor: pointer;
}

.cboxPhoto {
    float: left;
    margin: auto;
    border: 0;
    display: block;
    max-width: none;
    -ms-interpolation-mode: bicubic;
}

.cboxIframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    padding: 0;
    margin: 0;
}

#colorbox,
#cboxContent,
#cboxLoadedContent {
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
}


/* 
    User Style:
    Change the following styles to modify the appearance of Colorbox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/

#cboxOverlay {
    background: url(../images/vendor/jquery-colorbox/example1/overlay.png) repeat 0 0;
    opacity: 0.9;
    filter: alpha(opacity=90);
}

#colorbox {
    outline: 0;
}

#cboxTopLeft {
    width: 21px;
    height: 21px;
    background: url(../images/vendor/jquery-colorbox/example1/controls.png) no-repeat -101px 0;
}

#cboxTopRight {
    width: 21px;
    height: 21px;
    background: url(../images/vendor/jquery-colorbox/example1/controls.png) no-repeat -130px 0;
}

#cboxBottomLeft {
    width: 21px;
    height: 21px;
    background: url(../images/vendor/jquery-colorbox/example1/controls.png) no-repeat -101px -29px;
}

#cboxBottomRight {
    width: 21px;
    height: 21px;
    background: url(../images/vendor/jquery-colorbox/example1/controls.png) no-repeat -130px -29px;
}

#cboxMiddleLeft {
    width: 21px;
    background: url(../images/vendor/jquery-colorbox/example1/controls.png) left top repeat-y;
}

#cboxMiddleRight {
    width: 21px;
    background: url(../images/vendor/jquery-colorbox/example1/controls.png) right top repeat-y;
}

#cboxTopCenter {
    height: 21px;
    background: url(../images/vendor/jquery-colorbox/example1/border.png) 0 0 repeat-x;
}

#cboxBottomCenter {
    height: 21px;
    background: url(../images/vendor/jquery-colorbox/example1/border.png) 0 -29px repeat-x;
}

#cboxContent {
    background: #fff;
    overflow: hidden;
}

.cboxIframe {
    background: #fff;
}

#cboxError {
    padding: 50px;
    border: 1px solid #ccc;
}

#cboxLoadedContent {
    margin-bottom: 28px;
}

#cboxTitle {
    position: absolute;
    bottom: 4px;
    left: 0;
    text-align: center;
    width: 100%;
    color: #949494;
}

#cboxCurrent {
    position: absolute;
    bottom: 4px;
    left: 58px;
    color: #949494;
}

#cboxLoadingOverlay {
    background: url(../images/vendor/jquery-colorbox/example1/loading_background.png) no-repeat center center;
}

#cboxLoadingGraphic {
    background: url(../images/vendor/jquery-colorbox/example1/loading.gif) no-repeat center center;
}


/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */

#cboxPrevious,
#cboxNext,
#cboxSlideshow,
#cboxClose {
    border: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
    width: auto;
    background: none;
}


/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */

#cboxPrevious:active,
#cboxNext:active,
#cboxSlideshow:active,
#cboxClose:active {
    outline: 0;
}

#cboxSlideshow {
    position: absolute;
    bottom: 4px;
    right: 30px;
    color: #0092ef;
}

#cboxPrevious {
    position: absolute;
    bottom: 0;
    left: 0;
    background: url(../images/vendor/jquery-colorbox/example1/controls.png) no-repeat -75px 0;
    width: 25px;
    height: 25px;
    text-indent: -9999px;
}

#cboxPrevious:hover {
    background-position: -75px -25px;
}

#cboxNext {
    position: absolute;
    bottom: 0;
    left: 27px;
    background: url(../images/vendor/jquery-colorbox/example1/controls.png) no-repeat -50px 0;
    width: 25px;
    height: 25px;
    text-indent: -9999px;
}

#cboxNext:hover {
    background-position: -50px -25px;
}

#cboxClose {
    position: absolute;
    bottom: 0;
    right: 0;
    background: url(../images/vendor/jquery-colorbox/example1/controls.png) no-repeat -25px 0;
    width: 25px;
    height: 25px;
    text-indent: -9999px;
}

#cboxClose:hover {
    background-position: -25px -25px;
}


/*
  The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
  when an alpha filter (opacity change) is set on the element or ancestor element.  This style is not applied to or needed in IE9.
  See: http://jacklmoore.com/notes/ie-transparency-problems/
*/

.cboxIE #cboxTopLeft,
.cboxIE #cboxTopCenter,
.cboxIE #cboxTopRight,
.cboxIE #cboxBottomLeft,
.cboxIE #cboxBottomCenter,
.cboxIE #cboxBottomRight,
.cboxIE #cboxMiddleLeft,
.cboxIE #cboxMiddleRight {
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF, endColorstr=#00FFFFFF);
}

body {
    font-size: 0.8rem;
}

input:focus,
button:focus {
    outline: none;
}

a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.error {
    color: red;
}

.success {
    color: green;
}

.global-message {
    text-align: center;
    padding: 2px 10px;
}

.global-message.error {
    background: #ffebeb;
}

.global-message.success {
    background: #e9ffee;
}

.global-message a {
    background: #00da62;
    min-width: 20px;
    line-height: 16px;
    text-align: center;
    color: #fff;
    border-radius: 5px;
    display: inline-block;
    padding: 0px 5px;
    vertical-align: middle;
    margin-left: 10px;
}

.form-message {
    background: #f1f1f1;
    padding: 10px;
}

.inbox {
    padding: 0px;
    margin: 0px;
    list-style: none;
    flex-direction: column;
    display: flex;
    align-items: flex-start;
    height: calc(100vh - 140px);
    overflow: auto;
    padding: 20px;
    background: #eae4e4;
    max-width: 1000px;
}

.inbox-item {
    padding: 10px;
    padding-bottom: 20px;
    background: #fff;
    box-shadow: 1px 1px 1px 0px #ccc;
    margin: 0px 0px 10px;
    flex-grow: 0;
    border-radius: 5px;
    max-width: 50%;
    position: relative;
}

.inbox-item.sent {
    align-self: flex-end;
    background: #d4f9c8;
}

.inbox-item .m-message {
    margin: 5px 0px;
}

.inbox-item .m-message img {
    max-width: 200px;
    cursor: pointer;
}

.message-file .m-message-content a,
.message-video .m-message-content a {
    color: #969696;
}

.message-file .m-message-content,
.message-video .m-message-content {
    padding: 10px 15px;
    background: #f7f7f7;
    border-radius: 5px;
}

.m-message-content a:hover {
    text-decoration: none;
}

.inbox-item .m-date {
    color: #b5b5b5;
    text-align: right;
}
.inbox-item .m-status {
    position: absolute;
    right: 10px;
    bottom: 5px;
    font-size: 9px;
    color: #b5b5b5;
}
.inbox-item .m-status.read,
.inbox-item .m-status.received {
    color: #5cf39c;
}
.inbox-item .m-status.failed,
.inbox-item .m-status.rejected {
    color: red;
}


.inbox-item .m-status i {
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.inbox-item .m-status i + i {
    bottom: 3px;
    right: 1px;
}
.inbox-item .m-status.sent i + i,
.inbox-item .m-status.pending i + i,
.inbox-item .m-status.transmitted i + i {
    display: none;
}
.conversations-wrap {
    max-width: 350px;
    width: 100%;
    border-right: 1px solid #eae4e4;
}

ul.conversations {
    padding: 0px;
    margin: 0px;
    list-style: none;
    background: #fff;
    height: calc(100vh - 130px);
    overflow: auto;
}

ul.conversations li {
    padding: 5px 20px;
    display: flex;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    position: relative;
}

ul.conversations li:hover {
    background: #f7f7f7;
}

ul.conversations li.selected {
    background: #ebebeb;
}

.conversations span.c-date {
    padding: 10px 0px 0px;
    justify-self: end;
    color: #ccc;
}

.conversations span.c-new {
    position: absolute;
    top: 35px;
    right: 20px;
    background: #00da62;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    color: #fff;
    border-radius: 30px;
}

.conversations span.c-pic {
    width: 50px;
    height: 50px;
    background: #ccc;
    border-radius: 100px;
    overflow: hidden;
    margin-right: 10px;
    background: url(../images/profile-pic.png) no-repeat center center;
    background-size: 100%;
}

ul.conversations {}

ul.conversations span.c-phone {
    padding: 10px 0px 0px;
    flex-grow: 1;
    font-weight: 700;
}

ul.conversations span.c-phone-alt {
    position: absolute;
    left: 80px;
    top: 33px;
    color: #ccc;
}

.conversation-message {
    display: flex;
    background: #f8f9fa;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.conversation-message {
    margin: 0px;
}

.chat-panel {
    display: flex;
}

.chat-wrap {
    flex-grow: 1;
    position: relative;
}

.chat-profile {
    width: 100%;
    background: #ededed;
    display: flex;
    padding: 10px 10px;
    position: relative;
    align-items: center;
}

.chat-profile span.p-pic {
    width: 50px;
    height: 50px;
    background: #ccc;
    border-radius: 100%;
    background: url(../images/profile-pic.png) no-repeat center center;
    background-size: 100%;
}

.chat-profile span.p-phone {
    padding: 10px;
    font-weight: 700;
}

.chat-profile span.p-phone-alt {
    position: absolute;
    left: 71px;
    top: 38px;
    color: #ccc;
}

.chat-profile span.p-back {
    display: none;
}

.chat-profile span.p-back a {
    color: #ccc;
    display: block;
    width: 25px;
    height: 20px;
    line-height: 20px;
    text-align: center;
}

.reply-box {
    width: 100%;
    background: #f0f0f0;
    padding: 15px;
    position: absolute;
    bottom: 0px;
    left: 0px;
}

.reply-box input {
    width: 100%;
    border: none;
    border-radius: 30px;
    display: block;
    resize: none;
    padding: 5px 10px;
    height: 40px;
}

.reply-box input:focus {
    border: none;
    box-shadow: none;
    outline: none;
}

.chat-window {
    display: flex;
    flex-direction: column;
    justify-content: start;
    height: 100vh;
    position: relative;
    background: #eae4e4;
}

.loader {
    position: relative;
    z-index: 1;
    min-width: 60px;
    min-height: 60px;
    background: rgba(255, 255, 255, 0.3);
}

.loader:after {
    content: "";
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*background: url(../images/loader.svg) no-repeat center center;*/
    background-size: 100% 100%;
    border-radius: 100%;
}

.select-media {
    position: relative;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 24px;
    margin-right: 10px;
    color: #ccc;
    cursor: pointer;
    overflow: hidden;
}

.select-media input[type="file"] {
    opacity: 0;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
    cursor: pointer;
}

.reply-box form {
    display: flex;
}

.select-media i {
    cursor: pointer;
}

.media-preview {
    position: absolute;
    top: 70px;
    left: 0px;
    width: 100%;
    height: calc(100% - 70px);
    z-index: 2;
    background: #e6e6e6;
}

.mp-title {
    background: #00c2a9;
    padding: 10px 20px;
    font-size: 20px;
    color: #fff;
}

.mp-title>a {
    display: inline-block;
    margin-right: 10px;
}

a.mp-close {
    color: #fff;
}

.mp-media {
    padding: 20px;
    text-align: center;
}

.mp-media img {
    max-width: 200px;
    max-height: 200px;
}

.mp-caption {
    display: none;
}

.mp-caption input {
    width: 100%;
    height: 30px;
    padding: 0px 0px;
    border: none;
    border-bottom: 2px solid #00c2a9;
    background: none;
}

.mp-caption input:focus {
    outline: none;
}

button.mp-send {
    border: none;
    background: #00ec6c;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 100%;
    font-size: 24px;
    color: #fff;
    margin-top: 10px;
    margin-right: 30px;
}

.mp-caption {
    max-width: 800px;
    margin: auto;
    padding: 0px 20px;
}

.image-popup {
    position: absolute;
    top: 70px;
    left: 0px;
    width: 100%;
    height: calc(100% - 70px);
    z-index: 2;
    background: #e6e6e6;
}

.ip-title {
    background: #00c2a9;
    padding: 10px 20px;
    font-size: 20px;
    color: #fff;
}

.ip-title>a {
    display: inline-block;
    margin-right: 10px;
}

a.ip-close {
    color: #fff;
}

.ip-media {
    padding: 20px;
    text-align: center;
}

.ip-media img {
    max-width: 80%;
    max-height: 80%;
}

.c-title {
    width: 100%;
    background: #ededed;
    display: flex;
    padding: 10px 21px;
    position: relative;
    align-items: center;
    min-height: 70px;
    align-items: center;
}

.c-title h3 {
    font-size: 16px;
    margin-bottom: 0px;
    flex-grow: 1;
}

.action-btn {
    border: none;
    padding: 0px;
    width: 20px;
    background: none;
}

.c-search {
    position: relative;
    background: #f6f6f6;
    padding: 10px 10px;
}

.c-search input {
    width: 100%;
    border: none;
    border-radius: 30px;
    display: block;
    resize: none;
    padding: 5px 10px;
    height: 40px;
    padding-left: 42px;
}

.c-search i {
    position: absolute;
    left: 25px;
    top: 23px;
    font-size: 15px;
    color: #000;
}

.link-box-title {
    font-size: 18px;
    margin: 30px 0px 10px;
    font-weight: 600;
}

.link-box-row {
    display: flex;
    margin: 15px -15px;
}

.link-box {
    position: relative;
    border-radius: 5px;
    box-shadow: 2px 2px 3px rgb(210, 214, 218);
    border: 1px solid rgb(210, 214, 218);
    background: #ffffff;
    margin-bottom: 10px;
    text-align: center;
    max-width: 150px;
    width: 100%;
    margin: 0px 15px 10px;
}

.link-box>a {
    color: #62a8ea;
    padding: 10px;
}

.link-box.blue>a {
    color: #62a8ea;
}

.link-box.green>a {
    color: #46be8a;
}

.link-box.orange>a {
    color: #f2a654;
}

.link-box.red>a {
    color: #fa2a00;
}

.link-box>a span {
    display: block;
}

.link-box .box-icon {
    font-size: 30px;
}

.link-box .box-number {
    font-weight: 600;
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 15px;
}
.link-box .box-number small {
    font-size: 40%;
    width: 100%;
    display: block;
    line-height: 40px;
    color: #ff7600;
}
.link-box .box-title {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
}

.receipt-info {
    margin-bottom: 20px;
    padding-bottom: 10px;
    /* border-bottom: 1px solid #ccc; */
    background: #f5f5f5;
    padding: 10px;
    border-radius: 5px;
}

.receipt-info p {
    margin-bottom: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dadada;
}

.receipt-info p>label {
    width: 80px;
    margin-right: 10px;
}

.receipt-info p>span {
    width: 370px;
}

.receipt-info p:last-child {
    margin-bottom: 0px;
    padding-bottom: 0px;
    border-bottom: none;
}

.receipt-info label {
    font-weight: bold;
    margin-bottom: 0px;
}

.receipt-info {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

.receipt-info .form-control {
    height: 28px;
    padding: 0px 10px;
}

.action-buttons .btn:hover,
.action-buttons .btn:focus {
    box-shadow: 0 0 0 0.2rem #000 !important;
}

.dashboard-nav {
    text-transform: uppercase;
    font-weight: 600;
}

.dashboard-nav li {
    margin-right: 1.5rem;
}

#reports-table_length,
#reports-table_filter,
#reports-table_info,
#reports-table_paginate {
    display: none !important;
}

.table-header .actions {
    display: flex;
    justify-content: flex-end;
}

.table-header .actions>* {
    margin-left: 10px;
}

.table-header .actions .btn {
    min-width: 110px;
    text-align: center;
}

.table-header .actions select {
    height: 29px;
    padding: 0 10px;
}

form.search-form {
    display: flex;
}
form.search-form input[type="text"],
form.search-form input[type="number"] {
    height: 29px;
    margin-right: 10px;
    min-width: 200px;
}
form.search-form input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    margin-right: 10px;
}
form.search-form > label {
    margin-right: 10px;
}
.pagination {
    margin-bottom: 0px;
}
.inline-error {
    border: 1px solid #ff0000;
}

.product-list-inputs {
    display: flex;
    flex-wrap: wrap;
}

.product-list-inputs>span {
    margin: 0px 1px;
    width: 150px;
    display: inline-block;
    margin-bottom: 2px;
}

.product-list-inputs .p-name {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom: 0px;
    text-align: center;
}

.product-list-inputs .p-qty {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    text-align: center;
}

.receipt-info .input-prepended {
    position: relative;
}

.receipt-info .input-prepended .input-prepend {
    position: absolute;
    background: #e9ecef;
    height: 26px;
    width: 50px;
    line-height: 28px;
    padding: 0px 0px;
    border-radius: 0.25rem 0 0 0.26rem;
    top: 1px;
    left: 1px;
    text-align: center;
    font-style: initial;
}

.receipt-info .input-prepended .form-control {
    padding-left: 55px;
}

ul.searched-values {
    display: flex;
    list-style: none;
    padding: 0px;
}

ul.searched-values li {
    margin-right: 5px;
    padding: 3px 10px;
    background: #ccc;
    border-radius: 30px;
}
/*.receipt-wrap .action-buttons {
    position: fixed;
    bottom: 30px;
    right: 5px;
    max-width: 110px;
}
.receipt-wrap .action-buttons .btn, 
.receipt-wrap .action-buttons .dropdown {
    text-transform: uppercase;
    font-size: 11px;
    width: 100%;
    margin-bottom: 5px;
    margin-right: 0px;
    padding-left: 0px;
    padding-right: 0px;
}*/

.failed-status{
    color: red;
    text-transform: capitalize;
}

.report-img-wrapper{
    min-height: 900px;
}



@media only screen and (max-width: 768px) {
  .chat-wrap {
    display: none;
  }
  .conversations-wrap {
    max-width: 100%;
  }

  .messages-loaded .chat-wrap {
    display: block;
  }
  .messages-loaded .conversations-wrap {
    display: none;
  }
  .chat-profile span.p-back {
    display: block;
  }
}