body {
    padding-top: 5px;
  }
  .starter-template {
    padding: 40px 15px;
    text-align: center;
  }
  
  html {
    position: relative;
    min-height: 100%;
  }
  body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
  }
  .header{
    background-color: #ffffff;
  }
  .header hr{padding-bottom: 0;margin-bottom: 0;}
  .MessageContainer{
    position: fixed;
    width: 100%;
    top: 50px;
    z-index: -1;
  }

  .footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 25px;
    background-color: #f5f5f5;
  }

  .hidden {
    display:none;
  }

  .nav-item {
    cursor:pointer;
  }

  .active {
    color:black;
    font-weight: bold;
  }

  .activeSidebar {
    width:100%;
    color:darkgray;
    font-weight: bold;
    border: 1px solid lightgray;
  }

  .tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

/* Style the buttons that are used to open the tab content */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
}
.dx-data-row * {
  padding: 5px;
}

.fc-day-grid-container {
  height:850px !important;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.activeTab {
    background-color: #dadada;
}

/* Style the tab content */
.tabcontent {
    display: none;
    border-top: none;
}

  .error-message{background-color: red; color: white; line-height: 30px; margin-top: -20px; margin-bottom: 20px;}
  .headerImage{float: left; margin-top: -10px; max-width: 100px;}
  address{margin-left: 10px;}
  .wait{cursor: wait !important;}
  .move{cursor: move !important;}
  
  .order-title{margin-top: 20px; margin-bottom: 10px;}
  .order-title .text{font-size: 30px;}
  .order-title .glyphicon{top: -20px; cursor: pointer;}
  .affix{top: 100px; width: 100%; z-index: 10;}
  .edit-results.affix{top: 92px;}
  .edit-page .edit-service.affix{top: 100px;}
  .create-page .edit-service.affix{top: 92px;}
  .sub-nav{background-color: #ffffff; border-bottom: 1px solid #e7e7e7; padding: 20px 0;}
  
  div.text-input{overflow: hidden; white-space: nowrap;}
  div.text-input[data-input='0']{opacity: .75;}
  div.text-input[data-input='1']{opacity: 1;}
  body .select2-container .select2-selection--single {height: 34px;}
  body .select2-container--default .select2-selection--single .select2-selection__rendered{line-height: 32px;}
  body .select2-container--classic .select2-selection--single .select2-selection__rendered{line-height: 32px;}
  body .select2-container--default .select2-selection--single .select2-selection__arrow b{margin-top: 1px;}
  body .select2-selection--multiple .select2-search__field{width:100%!important;}
  .input-group-addon{padding: 5px 12px;}
  .form-set{background-color: #f7f7f7; padding-top: 10px; padding-bottom: 10px; border-radius: 4px; border: 1px solid rgb(221,221,221);}
  .reset-password{margin-top: 24px;}
  .block-label{display: block;}
  
  .bottom-border{border-bottom: 1px solid #e7e7e7;}
  
  .top-padding-05{padding-top: 5px;}
  .top-padding-10{padding-top: 10px;}
  .top-padding-15{padding-top: 15px;}
  .top-padding-20{padding-top: 20px;}
  .top-padding-25{padding-top: 25px;}
  .right-padding-05{padding-right: 5px;}
  .right-padding-10{padding-right: 10px;}
  .right-padding-15{padding-right: 15px;}
  .right-padding-20{padding-right: 20px;}
  .right-padding-25{padding-right: 25px;}
  .bottom-padding-05{padding-bottom: 5px;}
  .bottom-padding-10{padding-bottom: 10px;}
  .bottom-padding-15{padding-bottom: 15px;}
  .bottom-padding-20{padding-bottom: 20px;}
  .bottom-padding-25{padding-bottom: 25px;}
  .left-padding-05{padding-left: 5px;}
  .left-padding-10{padding-left: 10px;}
  .left-padding-15{padding-left: 15px;}
  .left-padding-20{padding-left: 20px;}
  .left-padding-25{padding-left: 25px;}
  .left-padding-30{padding-left: 30px;}
  .left-padding-35{padding-left: 35px;}
  .left-padding-40{padding-left: 40px;}
  
  .top-margin-05{margin-top: 5px;}
  .top-margin-10{margin-top: 10px;}
  .top-margin-15{margin-top: 15px;}
  .top-margin-20{margin-top: 20px;}
  .top-margin-25{margin-top: 25px;}
  .top-margin-30{margin-top: 30px;}
  .right-margin-05{margin-right: 5px;}
  .right-margin-10{margin-right: 10px;}
  .right-margin-15{margin-right: 15px;}
  .right-margin-20{margin-right: 20px;}
  .right-margin-25{margin-right: 25px;}
  .bottom-margin-05{margin-bottom: 5px;}
  .bottom-margin-10{margin-bottom: 10px;}
  .bottom-margin-15{margin-bottom: 15px;}
  .bottom-margin-20{margin-bottom: 20px;}
  .bottom-margin-25{margin-bottom: 25px;}
  .left-margin-05{margin-left: 5px;}
  .left-margin-10{margin-left: 10px;}
  .left-margin-15{margin-left: 15px;}
  .left-margin-20{margin-left: 20px;}
  .left-margin-25{margin-left: 25px;}
  .vendor-info{margin-left: 10px; cursor: pointer;}
  .border-right{border-right: 2px solid #f5f5f5 }
  
  div.has-error .select2-selection {
    border-color: rgb(185, 74, 72) !important;
  }
  .entity-item.collapsed .entity-body{display: none;}
  .entity-item .entity-plus{display: none;}
  .entity-item .entity-minus{display: inline;}
  .entity-item.collapsed .entity-minus{display: none;}
  .entity-item.collapsed .entity-plus{display: inline;}
  
  .service-item.collapsed .service-body{display: none;}
  .service-item .service-plus{display: none;}
  .service-item .service-minus{display: inline;}
  .service-item.collapsed .service-minus{display: none;}
  .service-item.collapsed .service-plus{display: inline;}
  
  .undo-delete-entity{display: none;}
  .panel-danger .entity-body,
  .panel-danger .clone-entity,
  .panel-danger .delete-entity,
  .panel-danger .collapse-entity-toggle,
  .panel-danger .add-service{display: none;}
  .panel-danger .undo-delete-entity{display: block;}
  
  .undo-delete-service{display: none;}
  .panel-danger .service-body,
  .panel-danger .clone-service,
  .panel-danger .delete-service,
  .panel-danger .collapse-service-toggle{display: none;}
  .panel-danger .undo-delete-service{display: block;}
  
  
  .entity-service-count{margin: 10px 0 10px 10px;}
  .collapse-toggle{margin: 10px 10px 10px 0; cursor: pointer;}
  .loader{
    width: 100px;
    height: 100px;
    margin: 20px auto;
    background: url("../assets/loader.gif") transparent center center no-repeat;
  }
  
  .table-sort i, .order-table-sort i{display: none;}
  .table-sort.active[data-dir="desc"] i.desc, .order-table-sort.active[data-dir="desc"] i.desc{display: inline;}
  .table-sort.active[data-dir="desc"] i.asc, .order-table-sort.active[data-dir="desc"] i.asc{display: none;}
  .table-sort.active[data-dir="asc"] i.desc, .order-table-sort.active[data-dir="asc"] i.desc{display: none;}
  .table-sort.active[data-dir="asc"] i.asc, .order-table-sort.active[data-dir="asc"] i.asc{display: inline;}
  
  .sortable-list{list-style: none; margin: 0px; padding: 0;}

  .sortable-list .sortable-item .sort-handle{margin: 4px 10px 0 0;}
  body.dragging, body.dragging * {
    cursor: move !important;
  }
  .dragged {
    position: absolute;
    opacity: 0.5;
    z-index: 2000;
  }
  tr.placeholder{position: relative; height: 45px;}
  .sortable-list li.placeholder {
    position: relative;
    height: 45px;
    /** More li styles **/
  }
  tr.placeholder:before{position: absolute;}
  .sortable-list li.placeholder:before {
    position: absolute;
    /** Define arrowhead **/
  }

  /*
  * Notes
  */
  .note-item{border-top: 1px solid rgb(221,221,221); padding-top: 15px; }
  .note-item:first-child{border-top: none; padding-top: 0px;}
  /*
  * Search
  */
  .search-field{width: calc(100% - 200px); float: left;}
  
  
  
  .check-toggle{
    position: relative;
    display: inline-block;  
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Chrome/Safari/Opera */
    -khtml-user-select: none;    /* Konqueror */
    -moz-user-select: none;      /* Firefox */
    -ms-user-select: none;       /* IE/Edge */
    user-select: none;           /* non-prefixed version, currently not supported by any browser */
  }
  .toggle-box{
    position: absolute;
    height: 0;
    width: 0;
    visibility: hidden;
  }
  .toggle-container{
    position: relative;
    display: inline-block;
    border-radius: 1rem;
    transition: background-color 500ms ease;
    vertical-align: middle;
    box-shadow: 0px 2px 7.68px 0.32px rgba(52, 57, 58, 0.24);
  }
  .toggle-container{
    height: 2rem;
    width: 4rem;
    /*padding: 2px .2rem;*/
  }
  .toggle-box + .toggle-container{
    background-color: #abb2b5;
  }
  .toggle-box:checked + .toggle-container{
    background-color: #5cb85c;
  }
  .toggle-slider{
    position: absolute;
    transition: margin-left 150ms linear;
    background-color: #FFF;
    border-radius: 50%;
    box-shadow: 0px 2px 7.68px 0.32px rgba(52, 57, 58, 0.24);
    height: 1.8rem;
    width: 1.8rem;
    margin-top: .1rem;
  }
  .toggle-box + .toggle-container .toggle-slider
  {
    margin-left: 0.2rem;
  }
  .toggle-box:checked + .toggle-container .toggle-slider
  {
    margin-left: 2rem;
  }
  
  /* DATE PICKER */
  .datepicker.dropdown-menu{
    z-index: 2000;
  }
  
  /*info2*/
    .btn-info2 {
      color: #fff;
      background-color: #1c829a;
      border-color: #1b7d93;
    }
    .btn-info2:focus,
    .btn-info2.focus {
      color: #fff;
      background-color: #1a798e;
      border-color: #197286;
    }
    .btn-info2:hover {
      color: #fff;
      background-color: #1a798e;
      border-color: #197286;
    }
    .btn-info2:active,
    .btn-info2.active,
    .open > .dropdown-toggle.btn-info2 {
      color: #fff;
      background-color: #1a798e;
      border-color: #197286;
    }
    .btn-info2:active:hover,
    .btn-info2.active:hover,
    .open > .dropdown-toggle.btn-info2:hover,
    .btn-info2:active:focus,
    .btn-info2.active:focus,
    .open > .dropdown-toggle.btn-info2:focus,
    .btn-info2:active.focus,
    .btn-info2.active.focus,
    .open > .dropdown-toggle.btn-info2.focus {
      color: #fff;
      background-color: #197286;
      border-color: #156374;
    }
    .btn-info2:active,
    .btn-info2.active,
    .open > .dropdown-toggle.btn-info2 {
      background-image: none;
    }
    .btn-info2.disabled:hover,
    .btn-info2[disabled]:hover,
    fieldset[disabled] .btn-info2:hover,
    .btn-info2.disabled:focus,
    .btn-info2[disabled]:focus,
    fieldset[disabled] .btn-info2:focus,
    .btn-info2.disabled.focus,
    .btn-info2[disabled].focus,
    fieldset[disabled] .btn-info2.focus {
      background-color: #1f8fa8;
      border-color: #1b7d93;
    }
    .btn-info2 .badge {
      color: #1f8fa8;
      background-color: #fff;
    }
  
  /*other2*/
    .btn-other2 {
      color: #fff;
      background-color: #507a43;
      border-color: #4e7641;
    }
    .btn-other2:focus,
    .btn-other2.focus {
      color: #fff;
      background-color: #49703e;
      border-color: #476d3c;
    }
    .btn-other2:hover {
      color: #fff;
      background-color: #49703e;
      border-color: #476d3c;
    }
    .btn-other2:active,
    .btn-other2.active,
    .open > .dropdown-toggle.btn-other2 {
      color: #fff;
      background-color: #49703e;
      border-color: #476d3c;
    }
    .btn-other2:active:hover,
    .btn-other2.active:hover,
    .open > .dropdown-toggle.btn-other2:hover,
    .btn-other2:active:focus,
    .btn-other2.active:focus,
    .open > .dropdown-toggle.btn-other2:focus,
    .btn-other2:active.focus,
    .btn-other2.active.focus,
    .open > .dropdown-toggle.btn-other2.focus {
      color: #fff;
      background-color: #476d3c;
      border-color: #062206;
    }
    .btn-other2:active,
    .btn-other2.active,
    .open > .dropdown-toggle.btn-other2 {
      background-image: none;
    }
    .btn-other2.disabled:hover,
    .btn-other2[disabled]:hover,
    fieldset[disabled] .btn-other2:hover,
    .btn-other2.disabled:focus,
    .btn-other2[disabled]:focus,
    fieldset[disabled] .btn-other2:focus,
    .btn-other2.disabled.focus,
    .btn-other2[disabled].focus,
    fieldset[disabled] .btn-other2.focus {
      background-color: #507a43;
      border-color: #4e7641;
    }
    .btn-other2 .badge {
      color: #507a43;
      background-color: #fff;
    }
  
  /*other*/
    .btn-other {
      color: #fff;
      background-color: #005b00;
      border-color: #005600;
    }
    .btn-other:focus,
    .btn-other.focus {
      color: #fff;
      background-color: #004C00;
      border-color: #002800;
    }
    .btn-other:hover {
      color: #fff;
      background-color: #004C00;
      border-color: #002800;
    }
    .btn-other:active,
    .btn-other.active,
    .open > .dropdown-toggle.btn-other {
      color: #fff;
      background-color: #004C00;
      border-color: #002800;
    }
    .btn-other:active:hover,
    .btn-other.active:hover,
    .open > .dropdown-toggle.btn-other:hover,
    .btn-other:active:focus,
    .btn-other.active:focus,
    .open > .dropdown-toggle.btn-other:focus,
    .btn-other:active.focus,
    .btn-other.active.focus,
    .open > .dropdown-toggle.btn-other.focus {
      color: #fff;
      background-color: #002800;
      border-color: #062206;
    }
    .btn-other:active,
    .btn-other.active,
    .open > .dropdown-toggle.btn-other {
      background-image: none;
    }
    .btn-other.disabled:hover,
    .btn-other[disabled]:hover,
    fieldset[disabled] .btn-other:hover,
    .btn-other.disabled:focus,
    .btn-other[disabled]:focus,
    fieldset[disabled] .btn-other:focus,
    .btn-other.disabled.focus,
    .btn-other[disabled].focus,
    fieldset[disabled] .btn-other.focus {
      background-color: #005b00;
      border-color: #005600;
    }
    .btn-other .badge {
      color: #005b00;
      background-color: #fff;
    }
  
  /* invoice template */
  table.invoice_table tr td{
    padding-top: 2px;
    padding-bottom: 2px;
  }
  table.invoice_table .cell-divider{height: 1px !important; padding-top: 20px !important; padding-bottom: 8px !important;}
  table.invoice_table .kill-border-top{border-top: 0px !important;}
  table.invoice_table .kill-border-bottom{border-bottom: 0px !important;}
  table.invoice_table .top-padding-20{padding-top: 20px !important;}
  table.invoice_table .left-padding-10{padding-left: 10px !important;}
  table.invoice_table .left-padding-15{padding-left: 15px !important;}
  table.invoice_table .left-padding-20{padding-left: 20px !important;}
  table.invoice_table .left-padding-25{padding-left: 25px !important;}
  table.invoice_table .left-padding-30{padding-left: 30px !important;}
  table.invoice_table .left-padding-35{padding-left: 35px !important;}
  table.invoice_table .left-padding-40{padding-left: 40px !important;}
  table.invoice_table .left-padding-60{padding-left: 60px !important;}
  table.statement_header_table tr td{
    padding-top: 0px;
    padding-bottom: 0px;
  }
  table.statement_body_table{
    margin-bottom: 10px;
  }
  table.statement_body_table, table.statement_body_table tr td, table.statement_body_table tr th{
    border-left: none;
    border-right: none;
  }
  .bold{
    font-weight: bold;
  }
  
  
    [data-tab-info] {
        display: none;
    }
  
    .active[data-tab-info] {
        display: block;
        background: rgb(55, 219, 46);
    }
  
    .mainTabs span {
        background: rgb(16, 153, 9);
        padding: 10px;
        border: 1px solid rgb(255, 255, 255);
    }
  
    .mainTabs span:hover {
        background: rgb(55, 219, 46);
        cursor: pointer;
        color: black;
    }
    .tab {
      overflow: hidden;
      border: 1px solid #ccc;
      background-color: #f1f1f1;
    }
  
    /* Style the buttons that are used to open the tab content */
    .tab span {
      background-color: inherit;
      float: left;
      border: none;
      outline: none;
      cursor: pointer;
      transition: 0.3s;
    }
  
    /* Change background color of buttons on hover */
    .tab span:hover {
      background: rgb(55, 219, 46);
    }
  
    /* Create an active/current tablink class */
    .tab span.active {
      background: rgb(55, 219, 46);
    }
  
    /* Style the tab content */
    .tabcontent {
      display: none;
      padding: 6px 12px;
      border: 1px solid #818181;
      border-top: none;
    }
  
    .greyed {
      opacity: 0.33;;
    } 
  
    .notGreyed {
      opacity: 1;
      border: .25px solid rgb(85, 247, 85);
    }
  
    .cc {
      transform: scale(1.5,1.5);
      margin-right:10px;
    }