html body{
  font-family: "Open Sans", "Roboto",  "Helvetica";
}

body{
	font-size: 12px;
}

.sidebar{
  -webkit-transition: all 0.33s cubic-bezier(0.685, 0.0473, 0.346, 1) !important;
  -moz-transition: all 0.33s cubic-bezier(0.685, 0.0473, 0.346, 1)!important;
  -o-transition: all 0.33s cubic-bezier(0.685, 0.0473, 0.346, 1)!important;
  -ms-transition: all 0.33s cubic-bezier(0.685, 0.0473, 0.346, 1)!important;
  transition: all 0.33s cubic-bezier(0.685, 0.0473, 0.346, 1)!important;
}

.main-panel>.content {
  margin-top: 0px;
  padding: 5px;
}

.mainPanelCollapse{
  margin: 0;
}

.no-padding{
  padding: 0 !important;
}

.sidebar-wrapper{
	overflow: hidden !important;
}

.sidebar .logo {
  padding: 15px;
  display: none;
}

.sidebar .nav li>a, .sidebar .nav li:first-child>a {
  margin: 0;
  border-radius: 0;
}

.sidebar .nav {
  margin-top: 0;
}

.sidebar .sidebar-wrapper{
  height: auto;
}

.sidebar[data-active-color="blue"] li.active>a{
  background-color: #2c2f86;
}

.table>thead>tr>th{
  font-weight: bold;
}

.product-table-img{
  max-width: 125px;
}

.awesomplete {
  display: block;
  margin-top: 15px;
}

.blue{
  background: #2c2f86;
}

#header-fix{
  z-index: 100;
  color: #FFFFFF;
  margin: 5px 0;
  font-size: 1.4em;
  padding: 0 0 5px 0;
}
#header-fix p{
  margin: 0px;
  font-size: .9vw;
}
.has-problems {
    background: #2c2f86;
    border-bottom: 10px solid #e71717;
    padding-bottom: 1em !important;
}
/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky {
  position: fixed;
  top: 0;
  width: 63%;
  margin: 5px 0;
  padding: 0 5px;
}

/* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
  padding-top: 102px;
}

.orders-table td .btn.btn-xs{
  font-weight: bold;
  padding: 1px 5px;
}

.orders-table>thead>tr>th, .orders-table>tbody>tr>th, .orders-table>tfoot>tr>th, .orders-table>thead>tr>td, .orders-table>tbody>tr>td, .orders-table>tfoot>tr>td {
    padding: 1px !important;
}

.toggle-visibility-table button{
  font-size: 1.2em;
  font-weight: bold;
}

.product-table img{
	max-width: 40px;
}

.card-add:hover{
	cursor: pointer;
}

.orders-table{
	font-size: 1em;
}

.margin-cards{
    margin: 0 0 25px 0;
}

.add-icon:hover{
    cursor:pointer;
}

img.ornament-img{
    height: 40px;
    width: auto;
    max-width: 125px;
}

.card.order-products i.inline-icon:hover{
  cursor: pointer;
}

.price-block p{
  font-size: 1.5em;
  font-weight: bold;
  padding-top: 0px;
  text-align:right;
}

.alert{
  margin-bottom: 8px;
  padding: 8px 10px;
}

.gold{
  background: #cc9900;
  color: white;
}

.red{
  background: #f44336 !important;
  color: white;
}

.light-red{
  background: red !important;
  color: white;
}

.green{
  background: #4caf50 !important;
  color: white;
}

.orange{
  background: #4caf50 !important;
  color: white;
}

#tracking-button{
  margin: 0 1px;
}

.update-text{
  color: black;
  font-size: 1.5em;
  word-break: break-all;
}

.alert-status{
  background-color: #f1f0f0;
  border-radius: 5px;
  box-shadow: 0 0 6px #B2B2B2;
}

.update-by{
  color: #2c2f86;
  font-size: 0.9em;
  font-weight: normal;
}

.order-info .card-header.card-header-text{
	margin-top: 10px;
}

.order-info .card-header.card-header-text:first-child{
	margin-top: -20px;
}

.card{
	margin: 15px 0;
}

.table-actions>thead>tr>th:last-child, .table-actions>tbody>tr>td:last-child {
    white-space: nowrap;
    width: 10%
}

.table-responsive{
  overflow-x: hidden;
}

.table>thead>tr>th{
  font-size: 1em;
}
.card-content .card-title {
    padding-bottom: 15px;
}

.inline-icon{
  vertical-align: bottom;
}

.order-section{
  margin: 15px 0 0 0;
  font-weight: bold;
}


.order-details .card .form-horizontal .label-on-right{
  padding: 20px 0px 0 15px;
}

.order-details .form-group {
    margin: 4px 0 0 0;
}

#editor{

}

#payment-status::before, #application-status::before,#ld-status::before, #cad-status::before, #location::before, #assembler::before  {
  display: block;
  content: " ";
  margin-top: -200px;
  height: 280px;
  visibility: hidden;
  pointer-events: none;
}

.card-header.card-header-text{
  margin: 0;
  width: 100%;
  border-radius: 0;
  padding: 8px 20px;
}

.checkbox label, .radio label, label, .label-on-left, .label-on-right{
  color: #444;
}

label.col-md-3.label-on-left {
    padding-top: 22px;
    text-align: right;
}

.order-details .card .card-content .form-horizontal .label-on-left, .order-details .card-content .form-horizontal .label-on-left{
  padding: 7px 5px 0 0;
  text-align: right;
}

.row.order-details .card .card-content .form-horizontal .label-on-left {
  padding: 11px 5px 0 0;
  text-align: right;
}

.no-underline{
  background: none;
  padding: 2px 0;
}

.form-group {
  padding-bottom: 0px;
  margin: 12px 0 0 0;
}

.spacer {
  margin-top: 30px;
}

.font-bigger{
  font-size: 1.5em;
}

table a, .card a{
  color: #2c2f86;
}


#add-sketch-panel h3{
  padding: 0px;
  margin: 0px;
}

.approved-overlay{
  position: absolute;
  right: 15px;
  padding: 5px;
  background: #4caf50;
  border-top-right-radius: 3px;
  border-bottom-left-radius: 3px;
  color: #FFF;
}

.navbar{
  padding: 5px 0 0 0;
}

.card .card-content {
    padding: 5px 15px;
}

.sketch-box{
  margin-bottom: 7px;
}

.sketch-box:hover{
  cursor: pointer;
}

.card [data-background-color="blue"]{
	background: #2c2f86;
}

.btn.btn-fill{
	 background-color: #2c2f86;
}

.btn-no-margin{
  margin: 0px;
  padding: 5px;
}

.card .card-header.card-header-icon {
    margin: -10px 15px 0;
    padding: 5px;
}

.text-smaller{
  font-size: 0.75em;
}

.text-red a{
  color: #f44336 !important;
}

.text-white{
  color: #ffffff !important;
}

ul.list{
  list-style: none;
  margin: 0;
  padding: 0;
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr>th:first-child:before {
    margin-top: 0px;
    margin-right: 5px;
		left: 0;
    height: 18px;
    width: 18px;
    display: block;
    position: relative;
    float: left;
}

textarea {
    resize: none;
}

/* Removed word-break for better looking in mobile view -Francis 04-07-2018*/
/*td{
  word-break: break-word;
}*/

/** Chatbox CSS **/

.form-group>textarea.chat-status{
  height: 120px;
  border: 0.5px solid #D2D2D2;
  padding: 10px 7px;
  background-image: none;
  border-radius: 6px;
}

.chat {
  width: 100%;
}

.checklisticon{
  position: absolute;
  right: -35px;
  top: 20%;
  color: #2c2f86;
}

.checklisticon-admin:hover, .delete-message-icon:hover{
  cursor: pointer;
}

span.checklisticon-admin {
    position: absolute;
    left: -30px;
    top: 18%;
    color: #2c2f86;
}

.delete-message-icon{
  position: absolute;
  top: 0;
  right: 0;
}

.bubble{
    font-size: 1.2em;
    border-radius: 5px;
    box-shadow: 0 0 6px #B2B2B2;
    display: block;
    padding: 10px 18px;
    position: relative;
    vertical-align: top;
    word-break: break-all;
}

.bubble.me, .bubble.me::before{
  background-color: #f1f0f0;
}

.bubble.you, .bubble.you::before{
  background-color: #0084ff;
}

.bubble::before {
    background-color: #F2F2F2;
    content: "\00a0";
    display: block;
    height: 16px;
    position: absolute;
    top: 11px;
    transform:         rotate( 29deg ) skew( -35deg );
    -moz-transform:    rotate( 29deg ) skew( -35deg );
    -ms-transform:     rotate( 29deg ) skew( -35deg );
    -o-transform:      rotate( 29deg ) skew( -35deg );
    -webkit-transform: rotate( 29deg ) skew( -35deg );
    width:  20px;
}

.me {
    margin: 10px 30% 10px 10px;
    color: rgba(0, 0, 0, 1);
}

.me::before {
    box-shadow: -2px 2px 2px 0 rgba( 178, 178, 178, .4 );
    left: -9px;
}

.you {
    margin: 10px 10px 10px 30%;
    color: #FFF;
}

.you::before {
    box-shadow: 2px -2px 2px 0 rgba( 178, 178, 178, .4 );
    right: -9px;
}
.text-chatinfo{
  color: #fff;
  background: rgba(0,0,0, 1);
  border-radius: 3px;
  padding: 3px 7px;
}

.card img.message-img{
  width: auto;
  height: auto;
  max-height: 150px;
  max-width: 150px;
}

#order-buttons button{
  font-size: 0.8em;
  font-weight: bold;
  padding: 3px 6px;
  margin: 0;
}

#order-buttons a:hover{
  text-decoration: none;
}

.dataTables_filter input[type="search"]{
  height: 10px;
  padding: 8px 0;
}

div.dataTables_wrapper div.dataTables_filter{
  text-align: left;
}

#qc-order label{
  color: #666666;
}

#qc-order label.btn{
  background: none;
  box-shadow: none;
  border: 0px;
  font-weight: bold;
  padding: 10px 5px;
  color: white;
}

#qc-order label.btn:hover{
  color: #2c2f86;
}

#qc-order label.btn.active{
  color: #20e028;
}

#qc-order label.btn{
  background: #6666;
  padding: 5px 25px;
  margin: 0 1px;
}

#qc-order .btn .material-icons{
  font-size: 24px !important;
  font-weight: bolder;
}

#qc-order .card img{
  margin: 0 auto;
  width: 80%;

}

#qc-order .sketch-match:hover{
  cursor: pointer;
}

#qc-order .sketch-match{
  color: blue;
}

.top-padding{
  padding: 25px 0;
}

.padding-top-50{
  padding-top: 50px;
}

#qc-order .card img.ornament-img{
  width: 100%;
  height: auto;
}

#qc-order .affix{
  position: fixed;
  width: 20%;
}


#qc-order .btn-group{
  margin: 0;
}

#inscriptions-row .form-group{
  margin: 2px 0 0 0;
}

/* Rules for sizing the icon. */
.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }
.material-icons.md-60 { font-size: 60px; }
.material-icons.md-72 { font-size: 72px; }

/* Rules for using icons as black on a light background. */
.material-icons.md-dark { color: rgba(0, 0, 0, 0.54); }
.material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); }

/* Rules for using icons as white on a dark background. */
.material-icons.md-light { color: rgba(255, 255, 255, 1); }
.material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); }


span.details-control {
  font-size: 2em;
  cursor: pointer;
}
a.qc-inspection-date {
  cursor: pointer;
}
.close-popover{
  cursor: pointer;
  position: absolute;
  top: 0.4em;
  right: 0.5em;
  font-size: 2em;
}
.qc-inspection-div {
  margin-top: 2em;
}
.qc-inspection-status .progress{
  height: 1em;
  margin-bottom: 0;
}
.qc-inspection-status .status-complete{
  background-color: #009f3b !important;
}
.qc-inspection-status .status-incomplete{
  background-color: #ff9900 !important;
}
.qc-inspection-status .qc-status{
  margin-bottom: 3em;
}
.qc-inspection-text {
  margin-bottom: 1em;
}
.status-icon{
  border: 1px solid black;
  position: absolute;
  top: 25%;
  right: 10%;
}
.status-container{
  padding-bottom: 1em;
}
.qc-headstone-img{
  width: 15em !important;
}
.qc-problems{
  color: #e84b3c;
  font-size: 0.9em;
}
.qc-shipment-table>tbody>tr>td {
  vertical-align: unset;
}

.col-xs-15,
.col-sm-15,
.col-md-15,
.col-lg-15 {
  position: relative;
  min-height: 1px;
  padding-right: 10px;
  padding-left: 10px;
}
.col-xs-15 {
  width: 20%;
  float: left;
}

@media (min-width: 768px) {
  .col-sm-15 {
    width: 20%;
    float: left;
  }
}

@media (min-width: 992px) {
  .col-md-15 {
    width: 20%;
    float: left;
  }
  .status-box{
    border-right: 1px solid black;
  }
}

@media (min-width: 1200px) {
  .col-lg-15 {
    width: 20%;
    float: left;
  }
}


/*ORDER PAGE*/
.row.order-list-row {
    border-bottom: 1px solid #e5e5e5;
    padding: 1em;
}

.row.order-list-row .col-sm-3:first-of-type {
    text-align: center;
    padding: 1em;
    border-radius: 5px;
}

img.ornament-img {
    height: auto;
    max-height: 45px;
    max-width: 100%;
}

.row.order-total-row {
    padding: 2em 1em 2em 1em;
    background: #fbfbfb;
}

/*FACTORY*/
.content-img {
  text-align: center;
}
.content-text,.content-img {
    /*background: #fbfbfb3d;*/
    margin: 0em 0em 1em 0em;
    padding: 1em;
    height: 100%;
}
.content-img {
    padding-top: 2.5em;
}

.content-card {
  background: #fbfbfb3d;
    min-height: 115px;
    margin: 0px 0px;
    border: 1px solid #e9e9e987;
    padding: 0;
}
img.ornament-factory-img {
    max-width: 100%;
    max-height: 55px;
    width: auto;
}
table.draft-status-tbl tr {
    border-bottom: 1px solid #8080801f;
}
table.draft-status-tbl tr td {
    padding: 5px 0px;
}
table.draft-status-tbl tr td:first-of-type {
    border-right: 1px solid #8080801f;
    padding-right: 10px;
    min-width: 7em;
}
table.draft-status-tbl tr td:nth-of-type(2) {
    padding: 0px 10px;
    font-weight: bold;
}
@media (min-width: 768px) {
  .modal-xl {
    width: 90%;
   max-width:1200px;
  }
}


.magic-link-header{
  margin-left: 0 !important;
  margin-right: 0 !important;
  /*background: linear-gradient(60deg,#2c2e85,#00acc1) !important;*/
  background: #2c2e85 !important;
}

.btn-blue-form{
  color: white !important;
}
.btn-blue-form-inv {
    background: #2c2e85 !important;
}
.logo img {
    /*max-width: 220px;*/
}
.m-auto{
  margin: auto;
}
.d-flex{
  display: flex;
}
.card [data-background-color="blue"] {
    background: #2c2f86;
}
.card-header.card-header-text {
    margin: 0;
    width: 100%;
    border-radius: 0;
    padding: 8px 20px;
}
.btn.btn-fill {
    background-color: #2c2f86;
}
.logo{
    margin-top: 30%;
}