﻿.x-grid-cell {
    cursor:pointer;
}

textarea {
    padding:5px !important;
}

.inventory-grid .products-grid-client .x-tree-icon {
    background:url(/images/icons/clients-16.png);
}

.inventory-grid .products-grid-site .x-tree-icon {
    background:url(/images/icons/sites-16.png);
}

.inventory-grid .products-grid-location .x-tree-icon {
    background:url(/images/icons/locations-16.png);
}


.inventory-grid .x-grid-row-selected .products-grid-location .x-tree-icon {
    background:url(/images/icons/locations-open-16.png);
}

.inventory-grid .products-grid-product .x-tree-icon {
    background:url(/images/icons/products-16.png);
}

.inventory-grid .x-grid-row-selected .products-grid-product .x-tree-icon {
    background:url(/images/icons/products-open-16.png);
}

.no-background > .x-panel-body {
    background:transparent;
}

.no-border > .x-panel-body {
    border-width: 0px;
}

.x-tab {
    border-width:0px !important;
    margin-left:2px !important;
}

.icon-btn-32 {
    background:transparent !important;
    border:none !important;
    min-width:38px;
    height:58px;
}

.icon-btn-32 .x-btn-inner {
    padding-top:38px !important;
}

.icon-btn-32 .x-btn-icon-el {
    width:100% !important;
    height:32px !important; 
    background-repeat:no-repeat;
    background-position:center center;
}

.icon-btn-32.x-btn-pressed .x-btn-icon-el,
.icon-btn-32.x-btn-pressed .x-btn-inner {
    background-size:30px 30px;
}

legend div {
    font-weight:bold !important;
}

.x-form-readonly input,
.x-form-readonly textarea,
.x-form-readonly select {
    /*border:none;*/
    background-color:#eee;
}

/*.x-tab.permanent-tab a.x-tab-button {
    border-bottom:1px dashed #FFF;
}

.x-tab-active.permanent-tab a.x-tab-button {
    border-bottom:1px dashed #157fcc;
}*/

/* Neptune theme doesn't render tree grids properly - lame! */
.x-tree-elbow, .x-tree-elbow-end, .x-tree-elbow-plus, .x-tree-elbow-end-plus, .x-tree-elbow-empty, .x-tree-elbow-line {
	height: 24px;
	width: 18px;
	vertical-align: top;
    margin-right:2px;
}
.x-tree-icon {
    margin-top: 2px !important;
    height: 16px;
}

.grid-no-padding .x-grid-cell-inner {
    padding:0px !important;
}

.grid-low-padding .x-grid-cell-inner {
    padding:3px !important;
}

.x-btn-default-toolbar-small-disabled {
    opacity: 0.25;
    filter: alpha(opacity=25)
}

.form-answer {
    padding:10px;
    border-radius:10px;
    width: 50px;
    text-align:center;
}

.form-answer-pass {
    background:lime;
}

.form-answer-fail {
    background:red;
    color:white;
}

.form-answer-skip {
    background:#EEE;
}

.mandatory-field-marker {
    color:red;
    cursor:help;
}

/*::-webkit-input-placeholder {
    color:    #000;
}
:-moz-placeholder {
    color:    #000;
}
::-moz-placeholder { 
    color:    #000;
}
:-ms-input-placeholder { 
    color:    #000;
}*/

.x-btn-group-header-icon {
    top: 0px !important;
}

.assigned-to-vendor .x-grid-cell {
    color:#00F;
    font-style:italic;
}

.todo-urgent .x-grid-cell {
    color:#F00;
}

.button-badge {
    background-color: red;
    position: absolute;
    z-index: 500;
    left: 50%;
    width: 26px;
    height:26px;
    margin-left:15px;
    border-radius: 15px;
    padding: 4px;
    top: -5px;
    color: white;
    font-weight: bold;
    text-align:center;
}

.active-tab-button .x-btn-inner {
    text-decoration:underline;
}

.planner-cell > .x-panel-body {
    text-align:center;
    border-color:#8DC0E6;
    border-top:none;
    border-left:none;
    padding:5px 0px 0px 5px;
}

.planner-cell-weekend > .x-panel-body {
    background:#DAE5F5;
}

.planner-cell-day-heading > .x-panel-body,
.planner-cell-month-heading > .x-panel-body {
    background:#a4bfe7;
    font-weight:bold;
    padding-top:40px;
}

.planner-date {
    color:#8DC0E6;
    font-weight:bold;
    font-size:18px;
    position:absolute;
    right:5px;
    top:5px;
}

.planner-cell-empty > .x-panel-body {
    background:#DDD;
    border-color:#BBB;
}

.scheduled-service .x-panel-body {
    background:red;
    border:none;
    border-radius:20px;
    margin:0px 5px 5px 0px;
    cursor:pointer;
}

.scheduled-service .x-panel-body:hover {
    border:2px solid black;
}

.align-right {
    text-align:right;
}

.x-grid-empty {
    text-align:center;
}

.jobs-grid .jobs-grid-job .x-tree-icon {
    background:url(/images/icons/jobs-16.png);
}

.jobs-grid .jobs-grid-job-group .x-tree-icon {
    background:url(/images/icons/jobs-16.png);
}

.note-voided {
    text-decoration:line-through;
    color:#AAA;
}

 .x-grid-row .x-grid-cell-inner,
 .x-grid-row-over .x-grid-cell-inner {
    white-space: normal;
}

a:link,
a:visited {
    color:#00F;
}

a:hover {
    color:#F00;
}

.booking-job-completed {
    color: #808080;
}

.inventory-no-products {
    color:#AAA;
}

.inventory-checked {
    color:#00F;
}

.inventory-different-site {
    color:#F00;
}

/*.inventory-out-of-order {
    color:#F00;
}*/

.inventory-condemned {
    /*text-decoration:line-through;*/
    color:#808080;
}

.invoice-line-invoiced {
    color: #808080;
}

.row-grey {
    color: #808080;
}

.grid-icon {
    margin:auto;
    display:block;
}

.x-table-layout td {
    vertical-align:top;
}


.new-invoice-site .x-tree-icon {
    background:url(/images/icons/sites-16.png);
}

.new-invoice-job .x-tree-icon {
    background:url(/images/icons/jobs-16.png);
}

.new-invoice-labour .x-tree-icon {
    background:url(/images/icons/labour-16.png);
}

.new-invoice-part .x-tree-icon {
    background:url(/images/icons/parts-16.png);
}

.new-invoice-additional-charge .x-tree-icon {
    background:url(/images/icons/additionalcharge-16.png);
}

.invoice-job td {
    background-color:#EEE;
}

/*.invoice-line-zero-qty {
    background-color:rgb(230, 110, 110) !important;

}*/

.invoice-line-zero-qty > div {
    border:2px dashed #F00 !important;

}

.help-btn-icon {
    background:url(/images/icons/help.png);
}

.omnisearch input {
    background:url(/images/icons/search.png) center right no-repeat;
}

.recently-completed-invoiced {
    color:#AAA;
}

.preview-panel {
    background:#DDD;
    overflow-x:hidden;
    overflow-y:scroll;
    text-align:center;
}

.preview-panel-no-scroll {
    background:#DDD;
    text-align:center;
}
.incorrect-row .x-grid-cell{
    background-color:red;
}
.completed-row .x-grid-cell{
    background-color:#C0C0C0;
}
.lost-row .x-grid-cell{
    background-color:red;
}
.x-form-add-trigger{
    background:url(/images/icons/x-form-add-trigger.png);
}
.x-form-facebook-website-trigger{
    background:url(/images/icons/x-form-facebook-website-trigger.png);
}
.x-form-linkedin-website-trigger{
    background:url(/images/icons/x-form-linkedin-website-trigger.png);
}
.x-form-google-website-trigger{
    background:url(/images/icons/x-form-google-website-trigger.png);
}
.x-form-twitter-website-trigger{
    background:url(/images/icons/x-form-twitter-website-trigger.png);
}
.x-form-website-website-trigger{
    background:url(/images/icons/x-form-website-website-trigger.png);
}
.en {
background-image:url('/images/icons/en.png') !important;
}
.ext-ux-slider-highlight { 
    position: absolute;
    background : yellow;
    overflow:hidden;
}

.x-slider-vert .ext-ux-slider-highlight {
    width:6px;
    left:8px;
}

.x-slider-horz .ext-ux-slider-highlight {
    height:6px;
    top:8px;
}



/* Form Module */


.form-module {
  position: relative;
  background: #ffffff;
  max-width: 320px;
  min-height: 320px;
  width: 100%;
  border-top: 5px solid #157fcc;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}
.form-module .toggle {
  cursor: pointer;
  position: absolute;
  top: -0;
  right: -0;
  background: #157fcc;
  width: 30px;
  height: 30px;
  margin: -5px 0 0;
  color: #ffffff;
  font-size: 12px;
  line-height: 30px;
  text-align: center;
}
.form-module .toggle .tooltip {
  position: absolute;
  top: 5px;
  right: -65px;
  display: block;
  background: rgba(0, 0, 0, 0.6);
  width: auto;
  padding: 5px;
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
}
.form-module .toggle .tooltip:before {
  content: '';
  position: absolute;
  top: 5px;
  left: -5px;
  display: block;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 5px solid rgba(0, 0, 0, 0.6);
}
.form-module .form {
  display: block;
  padding: 40px;
}

.form-module h2 {
  margin: 0 0 20px;
  color: #157fcc;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}
.form-module input {
  outline: none;
  display: block;
  width: 100%;
  border: 1px solid #d9d9d9;
  margin: 0 0 20px;
  padding: 10px 15px;
  box-sizing: border-box;
  font-wieght: 400;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}
.form-module input:focus {
  border: 1px solid #33b5e5;
  color: #333333;
}
.form-module button {
  cursor: pointer;
  background: #33b5e5;
  width: 100%;
  border: 0;
  padding: 10px 15px;
  color: #ffffff;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}
.form-module button:hover {
  background: #178ab4;
}
.form-module .cta {
  background: #f2f2f2;
  width: 100%;
  padding: 15px 40px;
  box-sizing: border-box;
  color: #666666;
  font-size: 12px;
  text-align: center;
}
.form-module .cta a {
  color: #333333;
  text-decoration: none;
}
.x-boxselect.x-form-text {
    height: auto;
	cursor: text;
    padding: 0;
    overflow-y: auto;
}
.x-boxselect ul.x-boxselect-list {
    padding: 1px 3px;
}
ul.x-boxselect-list.x-boxselect-singleselect {
    white-space: nowrap;
    overflow: hidden;
}
.x-boxselect-input, .x-boxselect-item {
	display: inline-block;
	position: relative;
	*display:inline; /* IE7 */
	zoom:1; /* IE */
}
.x-boxselect-input input, .x-boxselect-input div {
	border: none;
	background: none;
	line-height: 18px !important;
	height: 20px;
	width: 100%;
}
.x-boxselect-emptyinput {
    display: none;
}
.x-boxselect-stacked .x-boxselect-item {
	display: block;
}
.x-boxselect-item {
	-moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; o-border-radius: 6px; khtml-border-radius: 6px; border: 1px solid #CAD8F3;
	padding: 0px 1px 0px 5px !important;
	margin: 1px 1px 1px 0;
	background-color: #DEE7F8;
	cursor: default;
}
.x-field:not(.x-item-disabled) .x-boxselect-item:hover {
	background: #BBCEF1;
	border: 1px solid #6D95E0;
}
.x-field:not(.x-item-disabled) .x-boxselect-item.selected {
	border: 1px solid #316AD3 !important;
	background: #658FDC !important;
}
.x-boxselect-item-text {
	line-height: 16px;
	padding-right: 20px !important;
}
.x-boxselect-item-close {
	cursor: pointer;
}
.x-boxselect-hideselections .x-boundlist-selected {
    display: none;
}
