.disabled a,
a.disabled {
    pointer-events: none;
}

a:hover {
    color: #0d99CC;
    /*#15848F*/
}

a {
    color: #2858a7;
    /* Modified - originally 1798A5 */
}

/*Q made this*/

.side-nav {
    background-color: #323232;
    height: 100%
}

.side-nav li a:not(.button) {
    color: #FFFFFF;
}

.side-nav li a:not(.button):hover {
    color: #FFFFFF;
    background-color: #91000C
        /* red menu button 952500 /*990000*/
}

header {
    background-color: #007095;
    color: #ffffff;
    font-size: 30px;
    height: 84px;
    line-height: 64px;
    padding: 16px 0px;
    box-shadow: 0px 1px rgba(0, 0, 0, 0.24);
}

legend {
    color: #007095;
}

/*
.row {
    max-width: 100%;
}
*/

.actions.columns {
    margin-top: 1rem;
    border-left: 5px solid #007095;
    padding-left: 15px;
    padding: 32px 20px;
}

.actions.columns h3 {
    color: #007095;
}

.index table {
    margin-top: 2rem;
    border: 0;
    width: 100%;
    table-layout: auto;
}

.index table thead {
    height: 3.5rem;
}

ul.pagination li a {
    color: rgba(0, 0, 0, 0.54);
}

ul.pagination li.active a {
    background-color: #DCE47E;
    color: #FFF;
    font-weight: bold;
    cursor: default;
}

ul.pagination .disabled:hover a {
    background: none;
}

.paginator {
    text-align: center;
}

.paginator ul.pagination li {
    float: none;
    display: inline-block;
}

.paginator p {
    text-align: right;
    color: rgba(0, 0, 0, 0.54);
}

.asc:after {
    content: " \2193";
}

.desc:after {
    content: " \2191";
}

/*
button {
    background: #007095;
	border-radius: 0.3em;
}
*/
button.red {
    background: #FF4500;
}

button .green {
    background: #38AB47;
}

button .white {
    background: #FFFFFF;
}

button.orange {
    background: #FF8317;
}

/*
button:hover,
button:focus,
.button:hover,
.button:focus {
    background-color: #0099CC;
}
button:hover,
button:focus,
.button:hover,
.button:focus {
    color: #fff
}
*/
/*
.form button:hover, .form button:focus {
    background: #7A6058;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.26) !important;
}

.form button[type="submit"] {
    float: right;
/*    text-transform: uppercase; Modified *
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.26);
}
*/

.form .error-message {
    display: block;
    padding: 0.375rem 0.5625rem 0.5625rem;
    margin-top: -1px;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: normal;
    font-style: italic;
    color: rgba(0, 0, 0, 0.54);
}

.required>label {
    font-weight: bold;
}

.required>label:after {
    content: ' *';
    color: #C3232D;
}

select[multiple] {
    min-height: 150px;
    background: none;
}

input[type=checkbox],
input[type=radio] {
    margin-right: 0.5em;
}

.date select,
.time select,
.datetime select {
    display: inline;
    width: auto;
    margin-right: 10px;
}

.error label,
.error label.error {
    color: #C3232D;
}

.view h2 {
    color: #6F6F6F;
}

.view .numbers {
    background-color: #B7E3EC;
    color: #FFF;
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
    margin-right: 0.7rem;
}

.view .columns.dates {
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
    margin-right: 0.7rem;
    background-color: #DCE47E;
    color: #fff;
}

.view .numbers .subheader,
.view .dates .subheader {
    color: #747474;
}

.view .texts .columns {
    margin-top: 1.2rem;
    border-bottom: 1px solid #eee;
}

/** Notices and Errors **/

.notice,
p.error,
p.notice {
    display: block;
    clear: both;
    background-repeat: repeat-x;
    margin-bottom: 18px;
    padding: 7px 14px;
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
}


.notice,
p.notice {
    color: #000000;
    background: #ffcc00;
}


p.error {
    color: #fff;
    background: #C3232D;
}

pre {
    background: none repeat scroll 0% 0% #FFF;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
    margin: 15px 0px;
    color: rgba(0, 0, 0, 0.74);
    padding: 5px;
}

.home header {
    width: 100%;
    height: 85%;
    position: relative;
    display: table;
}

.home h1 {
    font-family: "Gill Sans MT", Calibri, sans-serif;
}

.home header h1 {
    color: #fff;
}

#content {
    padding-top: 2em;
    margin: 0 auto;
    width: 95%;
    height: 95%;
}

.checks {
    padding: 30px;
    color: #626262;
    background-color: #B7E3EC;
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
    margin-bottom: 2em;
}

.checks h4 {
    margin-bottom: 1.5rem;
}

.checks hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.checks .success,
.checks .problem {
    margin-left: 10px;
}

.checks .success:before,
.checks .problem:before {
    line-height: 0px;
    font-size: 28px;
    height: 12px;
    width: 12px;
    border-radius: 15px;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    position: relative;
    left: -11px;
}

.checks .success:before {
    content: "✓";
    color: green;
    margin-right: 9px;
}

.checks .problem:before {
    content: "✘";
    color: red;
    margin-right: 9px;
}

.side-nav li.heading {
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0.4375rem 0.875rem;
}

#actions-sidebar {
    background: #fafafa;
}

.index table {
    margin-top: 0rem;
    border: 0;
}

table {
    /* background: #fff; */
    margin-bottom: 0.75rem;
    /*1.25rem*/
    border: none;
    table-layout: auto;
    width: 100%;
}

table thead {
    background: none;
}

/*
table tr th {
    padding: 0.5625rem 0.625rem;
    font-size: 0.875rem;
    color: #007095;
    text-align: center;
    border-bottom: 2px solid #007095;
}

/* Q removed 
table tr:nth-of-type(even) {
    background: none;
}
*/

fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

fieldset legend {
    border-bottom: 2px solid #007095;
    width: 100%;
    line-height: 2rem;
}

/*
.form button[type="submit"] {
    float: right;
/*    text-transform: uppercase; Modified *
    box-shadow: none;
}

.form button:hover, .form button:focus {
    background: #0099CC;
    box-shadow: none;
}
*/

.sku input[type="number"],
.invoice input[type="number"],
.item input[type="number"],
.watch input[type="number"],
.jewelry input[type="number"] {
    width: 100px;
}

.sku input[type="text"] {
    width: 150px;
}

.invoice input,
.item input,
.watch input,
.jewelry input {
    width: 200px;
}

.stone input {
    width: 75px;
}

.invoice input[type="checkbox"] {
    width: 20px;
}

.pricing input {
    width: 100px;
}

div.message {
    text-align: center;
    cursor: pointer;
    display: block;
    font-weight: normal;
    padding: 0 1.5rem 0 1.5rem;
    transition: height 300ms ease-out 0s;
    background-color: #a0d3e8;
    color: #626262;
    top: 15px;
    right: 15px;
    z-index: 999;
    overflow: hidden;
    height: 50px;
    line-height: 2.5em;
}

div.message:before {
    line-height: 0px;
    font-size: 20px;
    height: 12px;
    width: 12px;
    border-radius: 15px;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    position: relative;
    left: -11px;
    background-color: #FFF;
    padding: 12px 14px 12px 10px;
    content: "i";
    color: #a0d3e8;
}

div.message.error {
    background-color: #C3232D;
    color: #FFF;
}

div.message.error:before {
    padding: 11px 16px 14px 7px;
    color: #C3232D;
    content: "x";
}

div.message.hidden {
    height: 0;
}

.content {
    padding: 1rem;
}

/* Use 'one true layout' methods to get equal height columns */
.container {
    overflow: hidden;
    /*min-height: 92%; /* full height almost always */
}

/* Force equal height by overflowing *
.content,
#actions-sidebar {
    margin-bottom: -99999px;
    padding-bottom: 99999px;
}
@media(max-width: 640px) {
    #actions-sidebar {
        padding-bottom: 2rem;
        margin-bottom: 0;
    }
}*/

.content h3 {
    color: #be140b;
    padding-bottom: 0.5rem;
    margin-bottom: 20px;
}

.content h4 {
    color: #be140b;
    padding-bottom: 0.5rem;
    /* originally 0.5rem; */
    margin-bottom: 12px;
    /* originally 20px */
    border-bottom: 2px solid #be140b;
}




/*Written by sukunj, added here by Waqas */
#lightbox {
    position: fixed;
    /* keeps the lightbox window in the current viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../img/overlay.png") repeat;
    text-align: center;
    z-index: 10;
}

#lightbox p {
    text-align: right;
    color: #fff;
    margin-right: 20px;
    font-size: 12px;
    margin-top: 20px;
}

#lightbox img {
    box-shadow: 0 0 25px #111;
    -webkit-box-shadow: 0 0 25px #111;
    -moz-box-shadow: 0 0 25px #111;
    max-width: 940px;
    max-height: 85%;
}

.lightbox_trigger {
    cursor: pointer;
}

#lightbox #content {
    padding: 0px;
}

.popup_lightbox {
    position: fixed;
    /* keeps the lightbox window in the current viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../img/overlay.png") repeat;
    /*text-align: center;*/
    z-index: 5;
}

.popup_lightbox p {
    text-align: right;
    color: #fff;
    margin-right: 20px;
    font-size: 12px;
    margin-top: 20px;
}

.popup_image_trigger {
    cursor: pointer;
}

.popup_lightbox .image_content {
    padding: 40px;
    width: 50%;
    margin: 40px auto;
    background: white;

    box-shadow: 0 0 25px #111;
    -webkit-box-shadow: 0 0 25px #111;
    -moz-box-shadow: 0 0 25px #111;
    max-width: 940px;
}

.popup_payment {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    /* adjust as per your needs */
    height: 600px;
    /* adjust as per your needs */
    margin-left: -300px;
    /* negative half of width above */
    margin-top: -300px;
    /* negative half of height above */
    /*
	padding: 20px;
	width: 70%;
	height:50%;
	margin: 40px auto;
	background:white;*/
}

.popup_lightbox .disc_content {
    padding: 40px;
    width: 25%;
    margin: 40px auto;
    background: white;
}


.popup_lightbox .item_sku_content {
    padding: 20px;
    width: 650px;
    height: 450px;
    margin: 5% auto;
    background: white;
    overflow: auto;
}


.popup_lightbox .item_sku_history_content {
    padding: 20px;
    max-width: 900px;
    height: 70%;
    margin: 5% auto;
    background: white;
    overflow: auto;
    z-index: 1001;
}

.thpad4 th {
    padding: 4px;
}

.table_title {
    font-size: 1rem;
    background-color: #606060;
    color: #FFFFFF;
    padding: 8px;
    font-weight: bold;
    margin-bottom: 5px;
    /*margin: 5px 0;*
	border-radius: 8px;*/
}

/*Sale Block Color Scheme*/

.tr_sale_item td center button {
    background-color: #4CAF50;
}

/*Job Block Color Scheme*/

/*Tasks Block Color Scheme*/

/*
.tasks_block button {
	background-color:#2858a7;
}
*/

/*Parts Block Color Scheme*/

/*Notes Block Color Scheme*/

.nozebra>tr:nth-of-type(even) {
    background: none;
}

/* Changes input boxes to be more white
input[type="text"] {
	padding: 5px;
	border: none;
	border-bottom: solid 1px #c9c9c9;
	transition: border 0.3s;
	box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.1);
}

input[type="text"]:focus,
input[type="text"].focus {
	border-bottom: solid 1px #fafafa;
	box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.1);
}
input[type="text"][readonly].exception {
	background-color: #ffffff;
}
*/

.menuboxes {
    height: 10em;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
}

.menuboxes p {
    margin: 0;
    font-size: 1.7em;
}

.menuboxes a {
    color: #000000;
}

.menuboxes.red {
    background: #F44336;
}

.menuboxes.orange,
.menuboxes.customers {
    background: #FF8317;
}


.menuboxes.jobs {
    background: #2858a7;
}

.menuboxes.green,
.menuboxes.sales {
    background: #4CAF50;
}


.menuboxes.inventory {
    background: #E7E7E7;
}

.sku_row td div {
    text-align: center;
}

.billinglabel {}

.billingnumber {
    text-align: right;
}

.negative {
    color: #FF0000;
}

.list_search_result {
    font-size: 1em;
    list-style: none;
}

.list_search_result li {
    font-size: 12px;
}

.list_search_result li a {
    font-size: 16px;
}

.highlight_orange,
.input_box_orange {
    background-color: #FFB366 !important;
    /*background-color:#FFA300 !important;*/
}

.highlight_red,
.input_box_red {
    background-color: #FF0000 !important;
}

.div_link {
    color: black;
}

.div_link:hover {
    color: black;
}

tr.selected {
    background-color: #87CEEB !important;
    /*important directive is here to fix issue with zebra tables*/
}

tbody tr td table thead tr th {
    padding: 0.3125rem 0.3125rem;
    padding-top: 0.3125rem;
    padding-right: 0.3125rem;
    padding-bottom: 0.3125rem;
    padding-left: 0.3125rem;
}

/*NEW TEXT CHAT WINDOW*/
.panel-left {
    width: calc(35% - 0.5px);
    max-width: 450px;
    float: left;
    height: 100%;
    overflow: auto;
    border: 1px;
    background-color: #fafafa;
}

.panel-border {
    width: 1px;
    float: left;
    height: 100%;
}

.panel-right {
    width: calc(65% - 0.5px);
    float: left;
    height: 100%;
    overflow: auto;
}




/* Chat Window CSS */

.message_frame {
    border: 1px solid #c4c4c4;
    clear: both;
    overflow: hidden;
    padding: 20px;
}

.message_history {
    height: calc(100vh - 300px);
    overflow-y: auto;
}

.time_date {
    color: #747474;
    display: block;
    font-size: 12px;
    margin: 4px 0 0;
}

.received_msg {
    display: inline-block;
    vertical-align: top;
    max-width: 57%;
}

.received_msg p {
    background-color: #f0f0f0;
    border-radius: 0.50rem;
    color: #646464;
    font-size: 14px;
    margin: 0;
    padding: 5px 10px 5px 12px;
    width: 100%;
    white-space: pre-line;
}

.mark_read_block {
    padding-right: 10px;
    display: inline-block;
    vertical-align: top;
}

.message_block {
    overflow: hidden;
    margin: 20px;
}

.sent_msg {
    float: right;
    max-width: 46%;
}

.sent_msg p {
    background: #2858a7 none repeat scroll 0 0;
    border-radius: 0.50rem;
    font-size: 14px;
    margin: 0;
    color: #fff;
    padding: 5px 10px 5px 12px;
    max-width: 100%;
    white-space: pre-line;
}

.message_input_block {
    border-top: 1px solid #c4c4c4;
    position: relative;
}

.chat_ib h5 {
    font-size: 15px;
    margin: 0 0 0 0;
}

.chat_ib h5 span {
    font-size: 13px;
    font-style: bold;
    float: right;
}

.chat_ib p {
    font-size: 14px;
    color: #989898;
    margin: auto
}

.chat_ib {
    float: left;
    padding: 0 0 0 5px;
    width: 100%;
}

.chat_people {
    overflow: hidden;
    clear: both;
}

.chat_list {
    /*
    border-top: 1px solid #c4c4c4;
	margin: 0;
    */
    padding: 10px;
}

.unread_conversation {
    /*background:#ebebeb;*/
    color: red;
}

h5 .unread_conversation {
    color: orange !important;
}

.text_button {
    background-color: #2858a7;
    float: right;
}

.selected {
    border-left: 12px solid #2858a7 !important;
    background: #dbf3fc !important;
}

button[disabled] {
    background-color: #464646;
}

.badge {
    position: relative;
    top: -11px;
    right: 3px;
    padding: 2px 6px;
    border-radius: 50%;
    background: red;
    color: white;
}

td {
    vertical-align: middle !important;
}