body { overflow-y: scroll;
	padding-right: 16px;
	background: linear-gradient(to right, rgba(204, 204, 204, 0.4),rgb(255, 255, 255),rgba(204, 204, 204, 0.4));
}

.row {
  margin-left: 0px;
  margin-right: 0px;
}
.bold {
  font-weight: bold;
}
.table-container {
  margin-top: 15px;
}
.form-date > div:first-child {
	margin-bottom:0px;
}
.form-date > div:last-child > label{
	display:none;
}
.form-range > div:first-child{
	margin-bottom:0px;
}
.form-range > div:last-child > label{
	display:none;
}
.btn-default {
	background-color: #fff;
	color: #f5f5f5;
	border-color: #111;
	background: repeating-linear-gradient(#777, #3a3a3a,#141414,rgba(43, 43, 43, 0.63) 100%);
}
input.form-control, select.form-control {
    background: #ffffff;
    border: 1px solid #cccccc;
	border-radius: 4px;
}
.support-files-btn {
  display: block;
  margin: 5px auto;
  width: 230px;
}
.fileName {
	width: 100% !important;
}
.fileDownload {
	margin-top: calc(1.43em + 5px);
}
.shiny-progress-notification .progress {
  position: relative;
}
.shiny-progress-notification .progress .progress-tick {
  width: 1px;
  position: absolute;
  height: inherit;
  background-color: rgb(51, 122, 183);
}
.selectize-input:active, .selectize-input:focus , .selectize-dropdown:active, .selectize-dropdown:focus {

box-shadow: 0px 0px 8px #c0ad81 !important;

}
.selectize-input.focus {
    border-color: #c0ad81 !important;
    box-shadow: 0px 0px 8px #c0ad81 !important;
    -webkit-box-shadow: 0px 0px 8px #c0ad81 !important;
}

.selectize-input.focus {
    border-color: #c0ad81;
    box-shadow: 0px 0px 8px #c0ad81;
}

.smartIcon {
  display: inline-block;
  background: url('smartIcon.png');
  width: 20px;
  height: 20px;
  background-size: contain;
}
.form-control:focus {
    border-color: #c0ad81;
    box-shadow: 0px 0px 8px #c0ad81;
}
.checkbox input[type=checkbox]:hover, .checkbox-inline input[type=checkbox]:hover, .radio input[type=radio]:hover, .radio-inline input[type=radio]:hover,.checkbox input[type=checkbox]:active, .checkbox-inline input[type=checkbox]:active, .radio input[type=radio]:active, .radio-inline input[type=radio]:active, .checkbox input[type=checkbox]:focus, .checkbox-inline input[type=checkbox]:focus, .radio input[type=radio]:focus, .radio-inline input[type=radio]:focus {
    border-color: #c0ad81;
    box-shadow: 0px 0px 8px #c0ad81;
	outline: 5px auto #c0ad81;
	outline-offset: -2px;
}
.inline-btn {
	margin-top: 1.8em;
}
.btn-default:hover {
	color: #ceb541;
}
.recordLink {
	color: #a7966e;
}
.btn-default:focus {
	color: #ceb541;
	border-color: #ceb541;
	outline: none !important;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px #ceb541 !important;
}
.btn-primary {
	background-color: #a7966f;
	color: #f5f5f5;
	border-color: #a7966f;
}
.btn-primary:hover, .btn-primary:active {
  color: #a7966f !important;
  background: #fafafa !important;
}
.btn-primary:focus {
  color: #a7966f;
	border-color: #a7966f;
	outline: none !important;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px #ceb541 !important;
	background: #fafafa;
}
#sales_additionalDeductionsTbl td .disabled {
  cursor: not-allowed;
  opacity: 25%;
}
#sales_contactForm {
    border: 4px solid #c1ae82;
    padding: 20px;
    border-radius: 20px;
    margin-right: 20px;
    background: #eeeeee;
}
#sales_contactForm .card-header {
    font-size: 1.3em;
    font-weight: bold;
    margin-left: 15px;
}
#sales_contactForm .card-footer {
    margin-left: 15px;
}
.modal-xl {
	width: 90vw;
	height: 95vh;
	margin-top: 5vh;
	margin-bottom:0px;
}
.modal-xl .row {
	margin-left:0%;
	margin-right:0%;
}
.backing {
	background: radial-gradient(rgb(249, 249, 249) 50%, rgba(138, 109, 59, 0.5) 100%);
}
.front {
	background: rgba(128, 128, 128, 0.27);
	border-width: 3px;
	border-color: rgba(128, 128, 128, 0.18);
}
.contain:after {
	clear: both;
}
.tableToggle {
margin-bottom: 9px;
}
.dataTables_scrollHead {
	border-radius: 5px 5px 0px 0px;
}
thead {
	background: repeating-linear-gradient(#777, #3a3a3a,#141414,rgba(43, 43, 43, 0.63) 100%);
	color: #f5f5f5;
 }
.dataTable td[data-type="factor"]>div:not([class="form-control"]){
  width: inherit !important;
  position: absolute !important;
}
.dataTables_scrollBody {
    overflow-y: scroll !important;
}
.tab-pane {
  height: calc(100vh - 50px);
}
.tab-pane#shiny-tab-sales_estimate {
  overflow-y: hidden;
}
.tab-pane:not(#shiny-tab-sales_estimate) {
  overflow-y: auto !important;
}
.tab-pane>.row:last-child{
	padding-bottom: 2em;
}
.dashboard-container .row {
  margin-left: 0px !important;
  margin-right: 0px !important;
}
 .nav-tabs {
	 margin-bottom: 10px;
}
.nav-tabs li {
	float: left;
	margin-bottom: -1px
}
.nav-tabs li.active a,.nav-tabs li.active a:focus,.nav-tabs li.active a:hover {
	color: white;
	cursor: default;
	background: #3c8dbc;
}
.first td {
	border-top: 2px solid black !important;
}
.outside {
	margin-top: 5px;
	padding-left: 0px;
	padding-top: 5px;
	padding-bottom: 5px;
	background: radial-gradient(rgb(249, 249, 249) 5%, rgba(138, 109, 59, 0.5) 100%);
	border: 3px solid black;
	border-radius: 10px;
}
.outside div {
	padding-left: 0px;
	text-align: center;
}
.inside {
	padding-bottom: 5px;
	border: 3px rgba(128, 128, 128, 0.18) solid;
	border-radius: 10px;
	background: rgba(128, 128, 128, 0.27);
}
td.lastColumn {
	border-right: 2px solid black;
}
div.radius {
	z-index:99;
	border-radius: 4px 0 0 4px;
	border-left: 0;
	background: linear-gradient(to bottom, rgba(138, 109, 59, 0.28),rgba(222, 190, 78, 0.09),rgba(204, 204, 204, 0.63));
	font-size: 12px;
	line-height: 30px;
	height: 30px;
	background-color: #919187;
	color: #FFF;
	text-decoration: none;
	padding-left: 10px;
	padding-right: 10px;
	display: block;
	text-align: center;
}

div.radius, div.radius:before, div.radius:after {
      -webkit-user-select: auto;
      -khtml-user-select: auto;
      -moz-user-select: auto;
      -ms-user-select: auto;
      user-select: auto;
     } 

#mainBody > .content-wrapper {
	margin-left: 0px;
}
.counter {
  padding-left: 5px;
}
.shiny-output-error-input, .error {
	color: red;
	white-space: pre-wrap;
}
.file-downloader {
	visibility: hidden;
}
.dataTable tbody i{
	color: #39393b;
}
.status {
	display: inline-block;
}
.dataTable tbody a>i:active, 
.dataTable tbody a>i:hover,
.dataTable tbody a>i:focus {
	color: #a7966e;
}
.title {
	margin: 5px;
}

.keyValue > h3, .keyValue > h4 {
	display: inline-block;
}
.keyValue > span {
	margin-left: 5px;
}
.sidebar-container {
  overflow: hidden;
}
.main-subsidebar {
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 50px;
    min-height: 100%;
    width: 230px;
    z-index: 810;
    -webkit-transition: -webkit-transform .3s ease-in-out,width .3s ease-in-out;
    -moz-transition: -moz-transform .3s ease-in-out,width .3s ease-in-out;
    -o-transition: -o-transform .3s ease-in-out,width .3s ease-in-out;
    transition: transform .3s ease-in-out,width .3s ease-in-out
}
.fixed .main-subsidebar {
    position: fixed
}
body.hold-transition .main-subsidebar {
    -webkit-transition: none;
    -o-transition: none;
    transition: none
}
.main-subsidebar .user-panel,.sidebar-menu,.sidebar-menu>li.header {
    white-space: nowrap;
    overflow: hidden
}
#editUserImg {
	width: 50px;
	height: 50px;
	overflow: hidden;
	border-radius: 50%;
}
#editUserImg img {
	width: 100%;
	height: auto;
}
.user-panel>.info a {
	margin-top: 1.5em !important;
}
.estimate-content .shiny-input-checkboxgroup {
  border: 2px solid #7e7e7e;
  border-radius: 10px 10px 0px 0px;
}
.estimate-content .shiny-input-checkboxgroup .shiny-options-group {
  padding: 0px 10px 0px 10px;
  min-height: 40px;
}
.estimate-content .shiny-input-checkboxgroup .shiny-options-group .footer {
  display: block;
  padding-top: 20px;
}
.estimate-content .shiny-input-checkboxgroup .shiny-options-group .checkbox ~ .footer {
  padding-top: 0px;
}
.estimate-content .shiny-input-checkboxgroup .control-label {
  padding: 0px 0px 0px 10px;
  background: #a7966e;
  color: white;
  border-radius: 7px 7px 0px 0px;
}
.estimate-content .shiny-input-checkboxgroup, 
.estimate-content .shiny-input-checkboxgroup .control-label,
.estimate-content .shiny-input-checkboxgroup .control-label .shiny-input-container {
	width: 100%;
}
.estimate-content .shiny-input-checkboxgroup .shiny-options-group .checkbox {
	display: inline-block;
	width: 250px;
}
.subtitle {
  display: inline-block;
}
.sales-contact {
  display: inline;
  margin-left: 14px;
  font-size: 18px;
  text-wrap: nowrap;
}
.sales-contact a {
  font-size: 14px;
}
.msaNav.nav-pills li a {
    padding: 5px 10px;
    font-size: 14px;
    min-width: 100px !important;
    text-align: center;
    width: auto !important;
    border-radius: 20px !important;
    border: none;
    margin-bottom: 10px;
	margin-top: 10px;
	margin-right: 11px;
}
.msaNav li a {
    background: #f2f2f2;
    color: #7d7d80;
}
.nav-tabs li {
    float: none;
}
.msaNav.nav-pills li .tab-only {
	margin-top: 10px;
    padding: 0px 10px;
    min-width: 100px !important;
    width: auto !important;
}
ul.nav.nav-tabs {
}
.nav-tabs {
    border-bottom: 4px solid #c1ae82;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    display: -webkit-box;
}
.msaNav.nav-pills li .right .switch-field {
	float: right;
}
.msaNav.nav-pills li .tab-only .switch-field label {
	border: none !important;
	font-size: 14px !important;
}
.msaNav.nav-pills li .tab-only .switch-field label:first-of-type {
	border-radius: 20px 0px 0px 20px !important;
}
.msaNav.nav-pills li .tab-only .switch-field label:last-of-type {
	border-radius: 0px 20px 20px 0px !important;
}

.tab-pane .nav-tabs li a:hover,.tab-pane .nav-tabs li a:focus {
    border: none !important;
}
.msaNav li.active a, .msaNav li.active a:hover, .msaNav li.active a:focus {
    background: #c0ad81;
    border: none;
}
.right-sidebar-buttons-container {
  margin: 10px 0px;
  text-align: center;
  width: calc(100% + 40px);
  margin-left: -20px;
}
.right-sidebar-buttons-container button {
  width: 65px;
  margin: 0px 26px;
  padding: 6px;
  text-transform: uppercase;
}
.right-sidebar-buttons-container .shiny-panel-conditional {
  display: inline-block; 
}
.right-sidebar-selection {
  color: white;
  max-height: 100px;
  overflow: auto;
}
#shiny-tab-sales_estimate>.row{
  height: 100%;
  padding-bottom: 0px;
}
.estimate-container {
  height: 100%;
}
.estimate-content {
  height: calc(100% - 391px);
}
.estimate-header:has(div.contactForm.hide) ~ div.estimate-content {
	height: calc(100% - 169px);
}
.estimate-content>div, .estimate-content>div>div {
  height: 100%;
}
.estimate-content .tab-content {
  height: calc(100% - 53px);
  overflow-y: scroll;
}
.estimate-content .tab-content>.tab-pane {
  height: fit-content;
}
@media (min-width: 1250px) {
  .estimate-container {
    width: calc(80% - 50px);
  }
  body.sidebar-collapse .estimate-container {
    width: calc(80% - 6px);
  }
}
@media (max-width: 1249px) {
  .estimate-container {
    width: calc(100% - 250px);
  }
}
.estimate-content .shiny-options-group input[type="checkbox"] {
  filter: hue-rotate(202deg) brightness(1.32)
}
.estimate-content .control-label input[type="checkbox"] {
  filter: grayscale(1) contrast(2)
}
.estimate-content .control-label span {
	font-weight: bold;
}
.right-sidebar {
  position: absolute;
  top: 50px;
  right: 0px;
  width: 20%;
  min-width: 250px;
  height: calc(100vh - 50px);
  background: #39393b;
  padding: 0px 20px 20px 20px;
}
.right-sidebar {
	animation: scrolling forwards;
	animation-timeline: scroll(self);
	overflow-y: auto;
	overflow-x: hidden;
}
#sales_overview_totalPrice{
    position: absolute;
    bottom: 0;
    height: 50px;
    background: #a7966f;
    color: white;
    width: 100%;
    margin-left: -20px;
    text-align: center;
    font-size: calc(7pt + .6vw);
    padding-top: 10px;
    text-wrap: nowrap;
    direction: rtl;
}
#sales_overview_totalPrice{
	animation: parent-scrolling forwards;
	animation-timeline: scroll();
}

@keyframes parent-scrolling {
  0%,to{
    /* the CSS applied to #sales_overview_totalPrice when .right-sidebar has overflow */
	  position: fixed;
	  width: calc(20% - 16px);
  }
}
#bulkDiscountsContainer {
  border-top: 2px solid #525254;
  border-bottom: 2px solid #525254;
  margin: 20px 0px;
}
#sales_overview_bulkDiscounts {
  margin: auto;
  width: 100%;
  margin-top: 30px;
}
#sales_overview_bulkDiscounts thead {
  font-size: calc(4pt + .6vw);
  background: #a7966f;
  border-color: #a7966f;
}
#sales_overview_bulkDiscounts tbody {
  color: #f5f5f5;
  opacity: 80%;
}
#sales_overview_bulkDiscounts thead>tr:first-child>th {
  border-bottom: none;
}
#sales_overview_bulkDiscounts thead>tr>th {
  border-top: none;
}
table#sales_overview_table {
  width: 100%;
  font-size: calc(10px + .4vw);
  color: white;
  margin-bottom: 50px;
}
table#sales_overview_table td {
  text-align: right;
  padding-left: calc(5px + .2vw);
  padding-right: calc(5px + .2vw);
}
table#sales_overview_table td:first-child {
  text-align: left;
  width: 40%;
}
table#sales_overview_table tr>td:nth-child(2) {
	width: 30%;
}
table#sales_overview_table tr>td:nth-child(3) {
	width: 30%;
}
table#sales_overview_table tr {
  height: 2em;
}
tr#sales_totalSavingsRow.green {
  color: #68ff68;
}
.hide {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.5s linear;
}
@media (max-width: 767px) {
    .main-subsidebar, .right-sidebar {
        padding-top:100px
    }
}
@media (max-width: 767px) {
    .main-subsidebar {
        -webkit-transform:translate(230px,0);
        -ms-transform: translate(230px,0);
        -o-transform: translate(230px,0);
        transform: translate(230px,0)
    }
}

@media (min-width: 768px) {
    .sidebar-collapse>.main-subsidebar {
        -webkit-transform:translate(230px,0);
        -ms-transform: translate(230px,0);
        -o-transform: translate(230px,0);
        transform: translate(230px,0);
        transition: ;
    }
}

@media (max-width: 767px) {
    .sidebar-open>.main-subsidebar {
        -webkit-transform:translate(0,0);
        -ms-transform: translate(0,0);
        -o-transform: translate(0,0);
        transform: translate(0,0);
        display:none;
    }
}
@media print {
    ..main-subsidebar {
        display: none!important
    }
}