.ui-dialog.ui-draggable {
    min-width: 1224px;
    max-width: 1224px;
}


.ui-dialog.ui-draggable h1 {
  font-size: 34px;
  line-height: 36px;
  text-transform: uppercase;
  font-weight: bold;
  border-bottom: 1px solid;
  margin-bottom: 12px;
}


.calendar-day .day-content > .run-manager-calendar-day {padding:8px;}

.calendar-day .day-content > .run-manager-calendar-day.invoices-complete .rm-invoices-not-raised {
    background-color: green;
    color: #fff;
    background-image: url(/run-manager/images/tick);
    background-size: 14px;
    padding-left: 24px;
    background-repeat: no-repeat;
    background-position: 4px center;
}



/*******RUNS***********/

.run-day-wrapper > div {padding:2px;}
.run-day-wrapper > div + div {border-top:1px solid #ccc;}

.rm-holiday {position:relative;} 

.rm-run-count .edit-run {
    position: absolute;
top: -41px;
right: -16px;
    font-size: 10px;
    background-color: #0871b0;
    border-radius: 0px;
    border: none;
    line-height: 13px;
    border-left: 2px solid #fff;
    background-image: url(/userfiles/images/editicon.png);
}

.rm-holiday .edit-holiday {
    position: absolute;
    top: -25px;
    right: 0px;
    font-size: 10px;
    background-color: #0871b0;
    border-radius: 0px;
    border: none;
        border-left-color: currentcolor;
        border-left-style: none;
        border-left-width: medium;
    border-left-color: currentcolor;
    border-left-style: none;
    border-left-width: medium;
    line-height: 13px;
    border-left: 2px solid #fff;
    background-image: url(/userfiles/images/editicon.png);
}
.rm-holiday-entries {
    padding: 8px;
}
.run-info-slide-box {border:1px solid #ccc; padding:12px;}

.run-info-slide-box .controls {text-align:center;}

.run-info-slide-box .controls .add-run {
    width: 80%;
    border: none;
    background-color: green;
    padding: 8px;
    font-size: 12px;
    margin: 8px auto;
    background-image: url(/userfiles/images/add.png);
    background-position: 98% center;
}


.run-info-entry {
    border: 1px dashed #8e8e8e;
    margin-bottom: 12px;
    padding: 12px;
    background-color: #efefef;
}


/**********EDIT RUN PAGE**********/

.all-runs .run-controls {
  position: fixed;
  top: 58px;
  right: 10px;
  z-index: 10;
  display: flex;
  align-content: center;
  align-items: center;
}

.run-controls .button {
  margin-top: 6px !important;
  margin-left: 2px !important;
  margin-right: 2px !important;
}

.all-runs .run-controls .button.rb {
  line-height: 12px !important;
  font-size: 10px;
}


.all-runs .run-controls .button.ib {
  padding-left: 30px;
  background-position: 8px center;
  background-size: 16px;
}

.all-runs .add-run {
    background-image: url("/run-manager/images/add");
}

.all-runs .history {
    background-image: url("/run-manager/images/history");
}

.all-runs .notes {
    line-height: 24px;
    background-image: url("/run-manager/images/pen");
    background-size: 20px;
    background-position: 8px center;
    padding-left: 36px;
}

.all-runs .toggle-resources {
    background-image: url("/run-manager/images/add");
}

.all-runs .run-controls .button.next, .all-runs .run-controls .button.prev {
  border-radius: 50%;
  height: 24px;
  width: 24px;
  background-color: #253746;
  font-size: 0px;
  margin: 0px 2px;
  background-size: 10px;
  background-repeat: no-repeat;
  padding: 0px;
}

.all-runs .run-controls .button.next {
    background-image: url(/userfiles/images/nexttarrow.png);
    background-position: 55% center;
}

.all-runs .run-controls .button.prev {
    background-image: url(/userfiles/images/prevarrow.png);
    background-position: 42.5% center;
}

.title-notice {
  text-align: left;
  color: #fff;
  background-color: #253746;
  padding: 12px;
  font-size: 22px !important;
}

.title-notice span {
  font-size: 18px;
  padding-right: 12px;
  display: inline-block !important;
  border-right: 2px solid #fff;
  margin-right: 12px;
}

.all-runs > .title-notice {
    position: fixed;
    top: 50px;
    width: 100%;
    left: 0px;
    z-index: 1;
}


.sub-title-notice {
    text-align: left;
    color: #fff;
    background-color: #253746;
    padding: 12px;
    font-size: 24px !important;
}
.sub-title-notice span {
    font-size: 16px;
    padding-left: 20px;
    display: inline-block !important;
    border-left: 4px solid #fff;
    margin-left: 20px;
}




.status-indicator {
  background-color: #86b756;
  color: #fff;
  font-size: 14px;
  padding: 6px;
  text-align: center;
  font-weight: bold;
  border-radius: 0px 0px 4px 4px;
  position: fixed;
  bottom: 0px;
  width: 100%;
  left: 0px;
  z-index: 100;
}

.no-runs {
    margin-top: 24px;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    border: 2px dashed #ccc;
    padding: 50px;
    font-size: 30px;
    color: #888;
}

.all-runs > .runs {
  margin-top: 62px;
}

.rm-run-edit {
    margin: 12px 0px;
    border-bottom: 4px solid #ccc;
    padding-bottom: 12px;
    position:relative;
}

.rm-run-edit > .delete {
    position: absolute;
    top: 14px;
    right: 8px;
    border: 1px solid #fff;
}

.display-block {
    margin-top: 12px;
    vertical-align: top;
}

.column-block {
  background-color: #fff;
  margin-top: 12px;
  border: 2px solid #186cb3;
}


.list-edit-title {
  text-align: left;
  background-color: #186cb3;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 4px;
}

.list-edit-title > h3 {
    color: #fff;
    font-size: 20px;
    line-height: 36px;
    display: inline-block;
    padding: 0px 4px;
}

.list-edit-title > span {
    color: #fff;
}

.list-edit-title > a {
  float: right;
  margin-top: 6px;
  margin-right: 4px;
  line-height: 12px;
  font-size: 10px !important;
  border-radius: 50px;
  border: 1px solid #fff;
  padding-bottom: 4px;
}



.list-edit-title > a.add-job  {
    padding-left: 28px;
    background-size: 14px;
    background-position: 8px center;
    background-image: url("/run-manager/images/add");
}



span.job-count {

}

.column-block > h3 {
  background-color: #253746;
  color: #fff;
  font-size: 20px;
  line-height: 36px;
  padding: 2px 12px;
  background-image: url("/run-manager/images/add");
  background-position: 98% center;
  background-repeat: no-repeat;
  background-size: 20px;
  cursor: pointer;
  display: none;
}

.column-block.open > h3 {    background-image: url("/run-manager/images/minus");}

.resources-container.hidden {
  display: block !important;
  visibility: visible !important;
}



/**********RUN COLUMNS**********/


.basic-edit .button.remove.cancel {
  position: absolute;
  top: 0px;
  right: 0px;
  border-radius: 0px 0px 0px 4px;
  border: none !important;
  background-size: 6px;
  width: 16px;
  height: 16px;
}


.button.view-installer-images {
  position: absolute;
  right: 0px;
  top: 0px;
  bottom: 0px;
  border-radius: 0px;
  border: none;
  height: 100%;
  font-size: 0px;
  background-image: url("/run-manager/images/pen");
  background-size: 12px;
  background-position: center;
  background-color: #eaeaea;
  border-left: 1px solid #ccc;
  width: 20px !important;
  padding: 0px;
}

/*******resources*********/



.column-block .resource-item {
  text-align: center;
  clear: both;
  position: relative;
}

.column-block .resource-item + .resource-item{border-top:1px solid #ccc;}

.column-block .resource-item > label {
  display: inline-block;
  font-size: 20px;
  line-height: 38px;
  color: #fff;
  width: 100%;
  background-color: #186cb3;
  text-align: left;
  text-indent: 14px;
}

.column-block .resource-item > a {
  background-repeat: no-repeat;
  background-size: 16px;
  line-height: 14px;
  padding-left: 36px;
  background-position: 8px center;
  font-size: 10px;
  font-weight: normal;
  position: absolute;
  top: 4px;
  right: 4px;
}

.column-block .resource-item > a.add-installer {
    background-image: url("/run-manager/images/fix");
}

.column-block .resource-item > a.add-vehicle {
    background-image: url("/run-manager/images/smalltruck");
    background-size: 20px;
}


.tabs-container {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    margin-bottom: 12px;
}
.tabs-container > .tab {
    background-color: #253746;
    color: #fff !important;
    padding: 8px 12px;
    display: inline-block;
    font-size: 14px;
}


.tabs-container > .tab:hover {
    background-image: url("/run-manager/images/downward");
    background-repeat: no-repeat;
    background-position: 8px center;
    background-color: #44733e;
    padding: 8px 12px 8px 32px;
    background-size: 16px;
}

/***********INSTALLERS LIST************/

/**********DTOP TABLE***********/

.dtop-table-display {
    display: table;
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border:1px solid #ccc;
}


.dtop-table-headings {
    display: table-row !important;
    background-color: #253746;
}

.dtop-table-body {display:table-row-group !important;}
.dtop-table-row {display:table-row !important;}

.dtop-table-headings > div, 
.dtop-table-row > div {
    display: table-cell !important;
    border: 1px solid #ccc;
    width: auto !important;
    vertical-align: middle;
    position:static;
}


.dtop-table-headings > div.wide, 
.dtop-table-row > div.wide {min-width:10%;} 

.dtop-table-headings > div.slim-col, 
.dtop-table-row > div.slim-col {width:15% !important; max-width:100px;}

.dtop-table-headings > div.job-actions,
.dtop-table-row > div.job-actions {
    width: 150px !important;
}

.rm-job.dtop-table-row > div {position:relative;}

.dtop-table-row.ui-sortable-handle > div {vertical-align:middle;}

.dtop-table-headings > div:first-child, .dtop-table-row > div:first-child {border-left:none;}
.dtop-table-headings > div:last-child, .dtop-table-row > div:last-child {border-right:none;}

.dtop-table-headings > div {
    color: #fff;
    font-size: 10px;
    padding: 6px 4px;
    font-weight: bold;
}

.dtop-table-row > div {
  font-size: 12px;
  padding: 4px 8px;
  height: 40px;
  vertical-align: top;
}

.dtop-table-row .location-photos {
  width: 300px !important;
}


.dtop-table-row:nth-child(2n) {
    background-color: rgba(239, 239, 239,0.25);
}

.dtop-table-display input {
    height: 30px !important;
    line-height: 30px !important;
    margin: 0px !important;
}


.dtop-table-display.empty {display:inline-block !important; border:none !important; background-color:transparent;}
.dtop-table-display.empty .dtop-table-headings {display:none !important;}
.dtop-table-display.empty .job-list {display:inline-block !important; border:2px dashed #ccc; min-height:100px; width:100% !important;}


@media screen and (min-width:1001px) {
    .dtop-table-display .resp-label {display:none !important;}
}


@media screen and (max-width:1000px) {

    .dtop-table-display .customer {
        background-color: #333;
        padding: 12px;
    }

    .dtop-table-display .customer label, 
    .dtop-table-display .customer .customer-name {
        color: #fff;
        font-size: 16px;
        line-height: 18px;
    }

    .dtop-table-display .address-info {
        border-top: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
    }

}


.dtop-table-display .resp-label {
    font-size: 14px;
}

.dtop-table-display .inline-info .resp-label {
    display: inline-block;
    margin-right: 4px;
}

.dtop-table-display .inline-info span {

}

.dtop-table-display .address-info {
    padding: 6px 0px;
    margin: 6px 0px;
}



.dtop-table-display.empty .asset-list {
    display: inline-block !important;
    border: 2px dashed #ccc;
    min-height: 40px;
    width: 100% !important;
}


.dtop-table-row > .paid, .dtop-table-row > .yes {
    background-color: rgba(46, 111, 2,0.3);
    border-color: #fff;
}

.dtop-table-row > .un-paid, .dtop-table-row > .no {
    background-color: rgba(206, 118, 118, 0.4);
    border-color: #fff;
}


.column-block .dtop-table-display {
  border: 1px solid #ccc;
  width: 96%;
  margin: 12px auto !important;
}

.column-block .dtop-table-row > div {
    font-size: 10px;
    padding: 4px;
    height: 40px;
}

.button.view {
  background-color: #df940b;
  border: 1px solid #df940b !important;
}

.button.remove.cancel {
    font-size: 0px;
    padding: 0px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    vertical-align: top;
    background-image: url("/run-manager/images/smallcross");
    background-size: 10px;
    background-position: center;
}

.button.move-job {
    font-size: 0px;
    padding: 0px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    vertical-align: top;
    background-image: url("/run-manager/images/arrows");
    background-size: 10px;
    background-position: center;
    background-color: #186eb5;
    border:none !important;
}

.ad-run-count {
    margin-left: 2px;
    font-weight: bold;
}


.button.notify {
    background-image: url(/run-manager/images/smallnotify);
    background-size: 12px;
    background-position: center;
    font-size: 0px;
    width: 24px;
    height: 24px;
    padding: 0px;
    vertical-align: top;
    border-radius: 50%;
    border: none;
}

.dtop-table-display img {
    max-width: 75px;
    border-radius: 4px;
}

.dtop-table-display .asset-avatar {
    width: 150px !important;
    text-align: center;
}


.job-actions > * {margin-left:4px;}

@media screen and (max-width:1000px) {

    .dtop-table-display.list-output {
        display: inline-block;
        width: 100%;
        background-color: #fff;
        border: 0px solid #fff;
    }


    .dtop-table-display.list-output .dtop-table-headings {
        display: none !important;
    }

    .dtop-table-display.list-output .dtop-table-body {display: inline-block !important;}

    .dtop-table-display.list-output .dtop-table-row {
        display: inline-block !important;
        width: 100%;
        margin-bottom: 24px;
        background-color: #efefef4d;
        box-shadow: 0px 10px 10px -8px rgba(0, 0, 0,0.5);
        border: 1px solid #ccc;
    }

    .dtop-table-display.list-output .dtop-table-headings > div, 
    .dtop-table-display.list-output .dtop-table-row > div {
        display: inline-block !important;
        width: 100% !important;
        border: none;
        border-bottom: 1px solid #ccc;
    }

    .dtop-table-display.list-output .dtop-table-row > div {
        height: auto;
        padding:6px 12px;
    }

}

/***********END TABLE*********/


 .layout .run-form {
  display: flex;
  gap: 1%;
}


.layout .run-form .display-block {
  width: 75%;
  display: inline-block;
  flex-grow: 1;
}

.layout .run-form .column-block {
  width: 25%;
  display: inline-block;
  flex-grow: 1;
}

@media screen and (max-width:1250px) {

    .layout .run-form .display-block {width: 100%; margin-right:0px;}
    .layout .run-form .column-block {width: 100%;}


    .column-block .resource-item {
        width: 50%;
        display: inline-block;
        vertical-align: top;
    }

}


@media screen and (max-width:800px) {

    .column-block .resource-item {
        width: 100%; margin-bottom:24px;
    }
}





.input-container.address-input {
    padding: 12px;
    background: #efefef;
    border: 1px solid #ccc;
    min-width: 300px;
}
/*
.rm-edit input[type="text"] {min-width:300px;}
*/
.input-container.address-input label {
    display: block;
    font-size: 14px;
}

.input-container.address-input div {margin-bottom:4px;}

.rm-edit .ci-value.open {}

.rm-edit.basic-edit span.yn {
    vertical-align: top;
    margin-top: 6px;
    display: inline-block;
    margin-right: 8px;
    margin-left: 8px;
}



.run-form .search-results {
    padding: 12px;
    border: 1px solid #ccc;
    background-color: #efefef;
    margin-top: 12px;
}

.customer.search-result + .customer.search-result {border-top:1px dashed #ccc;}

.search-ctrl-container .search-ctrl-slide-box {
    opacity:0;
    padding: 12px;
    border: 2px solid #253746;
}
.search-ctrl-container.open .search-ctrl-slide-box {opacity:1;}

/*******EFFECTS***********/

.tabs-container > .tab, .search-ctrl-container .search-ctrl-slide-box {
    -webkit-transition: all 0.25s linear;
    -moz-transition: all 0.25s linear;
    -ms-transition: all 0.25s linear;
    -o-transition: all 0.25s linear;
    transition: all 0.25s linear;
}

.ci-value {
    z-index:1;
    position:relative;
}

.rm-edit {
    position:relative;
}


.search-ctrl-container {
    position:absolute;
    bottom:0px;
    left:0px;
    overflow:hidden;
    z-index:-1;
}

.search-ctrl-slide-box {
    position:relative;
    top:0px;
    left:-300px;
    background-color: #FFF;
    width:300px;
    height:200px;
    overflow-y:auto;
}

/***TBR***/
.run-info { display:none !important;}
/***TBR***/

.new-temp {
    border: 1px solid #ccc;
    margin-top: 24px;
    background-color: #efefef;
    position:relative;
}
.new-temp > h4 {
    background-color: #333;
    color: #fff;
    padding: 10px;
    font-size: 20px;
    line-height: 19px;
}
.new-temp > .i {padding:12px;}
.new-temp > .i > div {text-align:left;}

.new-temp .add-temp {
    position: absolute;
    top: 0px;
    right: 0px;
    border-radius: 0px;
    border: none;
    padding-left: 50px !important;
    background-position: 12px center;
}

.new-temp-staff .add-temp {
    background-image: url("/run-manager/images/fix");
}

.new-temp-vehicle .add-temp {
    background-image: url("/run-manager/images/smalltruck");
    background-size: 20px;
}




/*********FRONT END EDIT DEFAULTS*******/

.edit-listing .layout-update {border:1px solid #ccc; padding:12px; background-color:#efefef;}

.edit-listing .image-upload-container {position:relative; margin-top:12px; }
.edit-listing .image-upload-container > span {
    position: absolute;
    display: inline-block;
    width: 100%;
    height: 40px;
    top: 0px;
    font-size: 14px;
    background-color: green;
    border-radius: 4px;
    cursor: pointer;
    color: #fff;
    line-height: 40px;
}
.edit-listing .image-upload-container .ajax-image-upload {
    margin: 0px !important;
    opacity: 0;
    z-index: 1000;
    position: relative;
}

/********QUOTES*********/

.layout-component.customer .customer-list {
    position:absolute;
    max-height: 300px;
    overflow: auto;
    z-index:9999;
    background-color: #FFFFFF;
}

.quote-box {
    padding: 12px;
    background-color: #efefef;
    border: 1px solid #ccc;
}

.button.new-quote {
    width: 100%;
    font-size: 18px;
    line-height: 30px;
    background-image: url(/run-manager/images/add);
    background-position: 98% center;
    background-size: 26px;
}

.quote-search-results {
    border-top: 4px solid #ccc;
    padding-top: 12px;
}

.quote-search-results .search-quote {
    font-size: 14px;
    padding: 8px;
    background-color: #253746;
    color: #fff;
    margin-bottom: 8px;
    border-radius: 4px;
}

.quote-search-results .search-quote .quote-number {
    font-weight: bold;
    font-size: 16px;
}

.quote-controls {
    text-align: right;
    z-index: 100000000;
    position: absolute;
    right: 12px;
    top: 8px;
    width: auto !important;
    display: inline-block;
}

.quote-controls .button {
    font-size: 14px;
    line-height: 20px;
    padding-left: 40px;
    background-size: 20px;
    background-position: 10px center;
}

.quote-controls .save-quote  {
    background-image: url("/run-manager/images/save");
}

.quote-controls .email-quote  {
    background-image: url("/run-manager/images/send");
}

.quote-controls .print-quote  {
    background-image: url("/run-manager/images/print");
}

.quote-number {
    font-size: 24px;
    padding: 8px;
    background-color: #253746;
    color: #fff;
    margin-bottom: 8px;
    border-radius: 4px;
}

.quote-number label {
    display: inline-block;
    color: #fff;
}

.ui-widget-content a.button {
    color: #fff !important;
}

.location-photos .multi-image-entry {
  display: inline-block;
  margin-bottom: 12px !important;
}

.location-photos .multi-image-entry .col8 {
    width: auto !important;
}





.clickable {
    cursor: pointer;
}

.multi-image-entry.error {
    border: 1px solid red;
}