@import url('https://fonts.googleapis.com/css?family=Rubik:300,400,500,700');
/* dbe9f9 */
:root{
    --bg-color: #f0f0f0;
    --sidebar-color: #5f7c9e;
    --sidebar-font-color: #fff;
    --navbar-border-color: #5f7c9e;
    --navbar-color: #333;
    --navbar-current-user: #5f7c9e;
    --font-current-user: #fff;
    --btn-bg: #3e548a;
    --btn-bg-hover: #11317d;
    --menu-item-active: #4f78da;
    --page-header-color: #333;
    --border-radius: 5px;
    --odd-segment-bg: #d2e0f3;
    --even-segment-bg: #f1f5f6;
    --statistic-bg: #fff;
    --statistic-font: #333;
    --statistic-boxshadow: 0px 0px 5px 1px rgba(95,124,158, .6);
    --dashboard-list-bg: #5f7c9e;
    --dashboard-header: #fff;
    --dashboard-subheader: #fff;
    --statusopen: #51af51;
    --statusopenfont: #fff;
    --statusclose: #d85252;
    --statusclosefont: #fff;
    --statuscreated: #4d91c3;
    --statuscreatedfont: #fff;
    --dashboardlist-btn: #f18450;
    --dashboardlist-font: #fff;
    --border: 2px solid #A1AFCA;
    --table-row-hover: #a7b9bd;
    --segment-header: #04416f;
    --filter-background: #EBF4FF;
}

body{
  font-size:14px; 
  font-family:'Rubik';
  background: var(--bg-color);
}

/* :root{
    --bg-color: #c5c5d4;
    --sidebar-color: #6b6b7d;
    --sidebar-font-color: #fff;
    --navbar-border-color: #b8b8ca;
    --navbar-color: #414859;
    --navbar-current-user: #b7b7c3;
    --page-header-color: #414859;
    --border-radius: 5px;
    --odd-segment-bg: #fff;
    --even-segment-bg: #781234;
} */

hr{
    border-top: 1px solid GhostWhite;
  }

body, .pusher, .body{
  font-family:arial !important;
}

.ui.blue.header{
    color: var(--segment-header) !important;
}

.ui.blue.button{
    background: #3573a2 !important;
}

.ui.blue.button:hover{
    background: #004d88 !important;
}

.ui.grey.button{
    background: #6f6d6d !important
}

.ui.grey.button:hover{
    background: #423e3e !important
}

.ui.red.button{
    background: #d65050 !important;
}

.ui.red.button:hover{
    background: #bb2f2f !important;
}

.input-border{
    border: var(--border) !important;
}

.loginBox {
    width:400px;
    margin: 0 auto;
    padding: 50px 0;   
}

.login-tb{
    border: 2px solid #A1AFCA !important;
}

.login-btn{
    background: var(--btn-bg) !important;
}

.login-btn:hover{
    background: var(--btn-bg-hover) !important;
}

.input-border{
    border: var(--border);
}

.statistic.centerbox {
    margin: 15px auto !important;
    
}

.center {
    text-align: center;
}
.right {
    text-align: right;   
}

.container{
    margin: 0 auto;
    margin-top: 15px;
    width: 100%;
    max-width: 1170px;
}

.reference-number{
    position: absolute;
    top: 7px;
    right: 25px;
    font-weight: 600;
}

.reference-detail{
    position: absolute;
    top: 5px;
    right: 15px;
    font-weight: 600;
}

.reference-item{
    position: relative;
    padding-left: 150px;
    margin-bottom: 5px;
}

.reference-label{
    position: absolute;
    left: 0;
    top: 10px;
}

.radio {
    margin: 0.5rem;
    display: inline-block;
  }
  .radio input[type="radio"] {
    position: absolute;
    opacity: 0;
  }
  .radio input[type="radio"] + .radio-label:before {
    content: '';
    background: #f4f4f4;
    border-radius: 100%;
    border: 1px solid #b4b4b4;
    display: inline-block;
    width: 1.4em;
    height: 1.4em;
    position: relative;
    top: -1px;
    margin-right: 1em;
    vertical-align: top;
    cursor: pointer;
    text-align: center;
    -webkit-transition: all 250ms ease;
    transition: all 250ms ease;
  }
  .radio input[type="radio"]:checked + .radio-label:before {
    background-color: #f39c12;
    box-shadow: inset 0 0 0 4px #f4f4f4;
  }
  .radio input[type="radio"]:focus + .radio-label:before {
    outline: none;
    border-color: #f39c12;
  }
  .radio input[type="radio"]:disabled + .radio-label:before {
    box-shadow: inset 0 0 0 4px #f4f4f4;
    border-color: #b4b4b4;
    background: #b4b4b4;
  }
  .radio input[type="radio"] + .radio-label:empty:before {
    margin-right: 0;
  }
  
  .radio-label{
      padding-left: 0 !important;
  }

  .radio-content-container{
      display: inline-block;
  }
  
  .radio-content{
    display: none;
  }
  
  #first{
    display: block;
  }

  .textarea-box{
      width: 100%;
      padding: 10px 15px;
      background: #fff;
      border: 1px solid rgba(34,36,38,.15);
      border-radius: .28571429rem;
      line-height: 1.6;
      vertical-align: top;
  }

  .quotation-ta{
    height: 200px;
  }

  .textarea-box-readonly{
    width: 100%;
    padding: 10px 15px;
    background: #fff;
    border: 1px solid rgba(34,36,38,.15);
    border-radius: .28571429rem;
    line-height: 1.6;
    vertical-align: top;
}

  .right-textarea, .left-textarea{
      display: none;
  }

  .tnc-item{
      position: relative;
      padding-left: 0%;
      margin-top: 15px;
  }

  .tnc-label{
      position: absolute;
      top: 5px;
      left: 0;
  }

.service-price{
    position: absolute;
    top: 0;
    right: 0;
}

.service-price label{
    position: relative;
    top: 8px;
    font-weight: bold;
}

.price-tb{
    width: 150px !important;
    line-height: 1.21428571em;
    padding: .67857143em 1em;
    font-size: 1em;
    background: #fff;
    border: 1px solid rgba(34,36,38,.15);
    color: rgba(0,0,0,.87);
    border-radius: .28571429rem;
    -webkit-box-shadow: 0 0 0 0 transparent inset;
    box-shadow: 0 0 0 0 transparent inset;
}

#standardservice{
    display: none;
}

#servicedetailcontainer{
    display: none;
}

i{
    margin: 0 !important;
    padding: 0 !important;
}

.delete-service{
    width: 100% !important;
    padding: .7em 0 !important;
}

.delete-select-service, .delete-tnc, .delete-existing-appendix, .delete-custom-service, .noPadding{
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.full-width{
    width: 100% !important;
}

.ui.labeled.input:not([class*="corner labeled"]) .label:first-child+input{
    text-align: right;
}

.total-label{
    position: relative;
}

.service-detail-item{
    position: relative;
    padding-left: 90px;
    margin: 12px 0;
}

.service-detail-label{
    position: absolute;
    top: 0;
    left: 0;
    font-weight: bold;
}

.service-detail-seperator:last-of-type{
    display: none;
}

.send-tac{
    width: 100% !important;
    line-height: 1.5 !important;
}

#startwork, #finishwork, .authorization-finish{
    display: none;
}

.upload-photo{
    position: relative;
    margin: 0 auto;
    width: 40%;
    padding: 15px;
    border: 1px solid rgba(34,36,38,.15);
    border-radius: .28571429rem;
}

.photobox-container{
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important;
    width: 100%;
}

.photo-box{
    width: 100%;
    border: 1px solid rgba(34,36,38,.15);
    border-radius: .28571429rem;
    margin: 5px 0;
}

.photo-box img{
    width: 100%;
    display: block;
}

label{
    font-weight: 700;
}

.card-field{
    margin-bottom: 10px;
}

.read-only{
    display: block !important;
}

#selectTeamMember{
    display: none;
}

#add-appendix{
    position:absolute;
    right: 0;
    display: none;
}

#add-tnc{
    position:absolute;
    right: 0;
}

.ellipsis{
    display: block;
    display: -webkit-box;
    height: 150px;
    min-height: 150px;
    max-height: 150px;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.custom-upload-btn{
    width: 120px;
    height: 120px;
    margin: 0 auto;
    padding: 10px;
    background: #fff;
    border: 2px solid #333;
    border-radius: 5px; 
    display: table;
    color: #fff;
}

input[type="file"] {
    display: none;
}

div.dataTables_wrapper div.dataTables_filter input{
    margin-left: 0.5em;
    min-height: 2.71428571em;
    background: #fff;
    display: inline-block;
    padding: .78571429em 2.1em .78571429em 1em;
    color: rgba(0,0,0,.87);
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid rgba(34,36,38,.15);
    border-radius: .28571429rem;
}

.contact-container{
    position: relative;
    padding-left: 27px;
}

.att-label{
    position: absolute;
    top: 0;
    left: 0;
}

.swipetable{
    display: none;
}

body.pushable>.pusher{
    background: #f9f9f9;
}

.card-item{
    margin-bottom: 8px;
}

.card-item h4{
    text-transform: capitalize !important;
    font-size: 13px !important;
}

.card-item-content{
    color: rgba(0,0,0,.6);
}

.equal-width {
    width: 31.4% !important;
}

.usercontact{
    min-height: 310px;
}

.calendar-icon{
    cursor: pointer;
    color: #4183c4
}

.calendar-icon:hover{
    color: #04af77;
}

/* .inputtext{
    font-family: Lato,'Helvetica Neue',Arial,Helvetica,sans-serif;
    margin: 0;
    outline: 0;
    -webkit-appearance: none;
    tap-highlight-color: rgba(255,255,255,0);
    line-height: 1.21428571em;
    padding: .67857143em 1em;
    font-size: 1em;
    background: #fff;
    border: 1px solid rgba(34,36,38,.15);
    color: rgba(0,0,0,.87);
    border-radius: .28571429rem;
    -webkit-box-shadow: 0 0 0 0 transparent inset;
    box-shadow: 0 0 0 0 transparent inset;
    -webkit-transition: color .1s ease,border-color .1s ease;
    transition: color .1s ease,border-color .1s ease;
} */

#backtoservices{
    display: none;
}

.statistic-container{
    position: relative;
    text-align: center;
    padding: 12px 12px 15px 12px;
    background: var(--statistic-bg);
    color: var(--statistic-font);
    border-radius: 5px;
    border: 1px solid var(--navbar-border-color);
    /* box-shadow: var(--statistic-boxshadow); */
}

.statistic-label{
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--btn-bg);
}

.statistic-content{
    margin-top: 7px;
    font-size: 25px;
    font-weight: bold;
    color: var(--dashboardlist-btn) !important;
}

.todaysjobcard{
    position: relative;
    margin: 8px 0 !important;
    cursor: pointer;
}

.dashboardlist{
    background: #0F5BA5 !important;
}

.dashboardlistheader, .bossdashboardlistheader{
    font-size: 1.71428571rem;
    color: var(--dashboard-header);
    font-weight: bold;
}

.bossdashboardlistheader{
    position: relative;
    top: 8px;
}

.dashboardlistsubheader{
    font-size: .98rem;
    margin-top: 5px; 
    margin-bottom: 10px; 
    font-weight: normal;
    color: var(--dashboard-subheader);
    font-weight: normal;
}

.joblistdetail{
    position: relative;
}

.cardlabel{
    font-size: 12px;
    font-weight: bold;
    color: #585353;
}

.jobliststatus{
    position: relative;
    padding: .5833em .833em;
    border-radius: .28571429rem;
    font-size: .85714286rem;
    font-weight: 700;
}

.jobliststatus.open{
    background: var(--statusopen);
    color: var(--statusopenfont);
}

.jobliststatus.closed{
    background: var(--statusclose);
    color: var(--statusclosefont);
}

.jobliststatus.created{
    background: var(--statuscreated);
    color: var(--statuscreatedfont);
}

.dashboardlistbtn{
    position: absolute;
    top: 0;
    right: 10px;
    background: var(--dashboardlist-btn) !important;
    color: var(--dashboardlist-font) !important;
}

@media(max-width: 550px){
    #navbar{
        display: none;
    }

    #backtoservices{
        display: block;
        position: absolute;
        top: 10px;
        left: 10px;
    }

    .loginBox{
        width: 100%;
        padding: 15px;
    }

    .mbl-btn{
        width: 100%;
    }

    .loginasdesktop{
        display: none !important;
    }

    .loginasmobile{
        margin-bottom: 15px;
        float:right;
    }

    .ui.menu:not(.vertical) .right.item, .ui.menu:not(.vertical) .right.menu{
        margin-left: 0 !important;
    }

    .signout-mbl{
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
    }

    .menu-btn{
        display: none !important;
    }
}

@media(min-width: 551px){
    .loginasmobile{
        display: none;
    }
}

 /* .img{
    border-radius: 50%;
 } */

 /* .statuscolor{
    color: red
 }

 .textboxsize{
    height:250px;
    overflow:scroll;
    font-size:15px;
 }

 
 .ui.calendar .ui.popup {
    max-width: none;
    padding: 0;
    border: none;
    user-select: none;
  }

.ui.fluid.input{
    margin-top: 5px;
}

.ui.fluid.search.selection.dropdown{
    margin-top: 5px;
}

.notedescription{
    padding: 10px;
    height:325px;
    overflow-y:scroll;
    font-size:16px;
} */

 @media only screen 
 and (min-device-width: 768px) 
 and (max-device-width: 1024px) 
 and (orientation: portrait) 
 and (-webkit-min-device-pixel-ratio: 1){
    html{
        font-size: 1.2em;
    }
 }

 @media only screen and (min-width: 768px) and (max-width: 1024px){
    .ui.cards>.card.notes{
        /* font-size:15.5px !important; */
        width: 48.3% !important;
        
    }

    .ui.big.button, .ui.big.buttons .button, .ui.big.buttons .or{
        font-size: 1rem;
    }
 }

.main-container{
    position: relative;
    width: 100%;
}

.sidebar-container{
    position: fixed;
    top: 0;
    left: 0;
    /* width: 250px; */
    width: 200px;
    height: 100%;
    max-height: 100%;
    overflow: auto;
    background: #0F5BA5;
    z-index: 12;
    text-align: center;
    padding: 30px 0 85px 0;
}

.sidebar-companylogo{
    position: relative;
    margin: 0 auto;
    padding: 15px;
    width: 140px;
    height: 140px;
    background: #fff;
    display: flex;
    align-items: center;
}

.sidebar-companylogo img{
    width: 100%;
}

.sidebar-companyname{
    margin-top: 30px;
    line-height: 1.5;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--sidebar-font-color);
}

.sidebar-label{
    font-weight: 500;
    font-size: 14px;
    letter-spacing: .5px;
    color: var(--sidebar-font-color);
}

.sidebar-menu-list{
    margin-top: 30px;    
}

.sidebar-menu-list a{
    color: var(--sidebar-font-color);
}

/* .menu-item{
    margin-left: 25px;
    padding: 13px 0 13px 13px;
    text-align: left;
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
} */

.menu-item{
    margin-right: 25px;
    /* padding: 13px 0 13px 13px; */
    padding: 11px 0 11px 13px;
    text-align: left;
}

.menu-item i{
    position: relative;
    top: 3px;
    font-size: 20px;
}

.menu-item span{
    position: relative;
    margin-left: 8px;
    top: -2px;
}

a.active .menu-item{
    background: var(--dashboardlist-btn);
    color: #fff;
    font-weight: bold;
}

.navbar-container{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    /* padding-left: 275px; */
    padding-left: 225px;
    background: var(--bg-color);
    border-bottom: 1px solid var(--navbar-border-color);
    z-index: 11;
}

#breadcrumb{
    position: relative;
    margin-top: 18px;
}

.ui.breadcrumb a.section{
    font-size: 15px;
    color: var(--navbar-color);
}

.signout-btn{
    position: relative;
    float: right;
    right: 25px;
    top: -28px;
    padding: 10px 15px;
    background: var(--btn-bg);
    color: #fff;
    font-weight: bold;
    border-radius: var(--border-radius);
}

.signout-btn:hover{
    background: var(--btn-bg-hover);
    color: #fff;
}

.current-user{
    position: relative;
    float: right;
    top: -38px;
    right: 50px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    background: var(--navbar-current-user);
    border-left: 2px solid var(--navbar-border-color);
    border-right: 2px solid var(--navbar-border-color);
    color: var(--font-current-user);
}

.current-user-label{
    font-size: 12px;
    font-weight: normal;
}

.content-container{
    width: 100%;
    margin: 0 auto;
    /* padding: 85px 25px 25px 275px; */
    padding: 85px 25px 25px 225px;
}

.page-header{
    color: var(--page-header-color);
    line-height: 1.1;
    margin-bottom: 15px;
}

.page-title{
    font-size: 14px;
    font-weight: normal;
}

.segment-background:nth-child(odd) .segment-container{
    background: var(--odd-segment-bg);
}

.segment-background:nth-child(even) .segment-container{
    background: var(--even-segment-bg); 
}

.segment-background:last-of-type{
    margin-bottom: 30px;
}

.segment-container{
    position: relative;
    width: 100%;
    margin: 15px 0;
    padding: 20px 25px;
    border: 1px solid var(--navbar-border-color);
}

.table-overflow{
    position: relative;
    overflow-x: auto;
    padding: 15px;
}

.menu-btn{
    display: none;
}

.additionaladdress-container{
    position: relative;
    width: 100%;
    padding: 0;
}

@media only screen and (max-device-width : 1024px) {
    .sidebar-container{
        left: -100%;
        transition: .1s ease;
    }

    .sidebar-container.active{
        top: 58px;
        left: 0;
    }

    .menu-bg{
        position: fixed;
        top: 58px;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0, .5);
        opacity: 0;
        z-index: -1;
        display: none;
        transition: .1s ease;
    }

    .menu-bg.active{
        display: block;
        opacity: 1;
        z-index: 1;
    }

    .noScroll{
        overflow: hidden;
    }

    .menu-btn{
        position: absolute;
        top: 0px;
        left: 0px;
        width: 58px;
        height: 58px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2em;
        color: #fff;
        background: var(--sidebar-color);
        border-right: 1px solid #ddd;
        cursor: pointer;
    }

    .content-container{
        width: 100%;
        padding: 85px 25px 25px 25px;
    }

    .navbar-container{
        padding-left: 75px;
    }

    .sidebar-companyname{
        margin-top: 20px;
    }

    .sidebar-menu-list{
        margin-top: 15px;
    }

    .menu-item{
        padding: 9px 0 9px 22px;
    }

    .quotation-ta{
        height: 220px;
    }

    .reference-item{
        padding-left: 122px;
    }

    .reference-label{
        font-size: 12px;
    }
}

#overduepayment tr:hover{
    background: var(--table-row-hover);
    cursor: pointer;
}

.textbox-white{
    font-family: Lato,'Helvetica Neue',Arial,Helvetica,sans-serif;
    margin: 0;
    outline: 0;
    -webkit-appearance: none;
    tap-highlight-color: rgba(255,255,255,0);
    line-height: 1.21428571em;
    padding: .67857143em 1em;
    font-size: 1em;
    background: #fff;
    border: 1px solid rgba(34,36,38,.15);
    color: rgba(0,0,0,.87);
    border-radius: .28571429rem;
    -webkit-box-shadow: 0 0 0 0 transparent inset;
    box-shadow: 0 0 0 0 transparent inset;
    -webkit-transition: color .1s ease,border-color .1s ease;
    transition: color .1s ease,border-color .1s ease;
}

.filterjob{
    max-height: 400px;
    overflow: auto;
    margin-top: 15px;
}

.filterquotation{
    max-height: 500px;
    overflow: auto;
    margin-top: 15px;
}

.filter-container{
    position: relative;
    padding: 15px;
    background: var(--filter-background);
    clear: both;
    margin-top: 30px;
    border-radius: .28571429rem;
}

.reset-date{
    background: transparent !important;
    border: 1px solid #cac9c9 !important;
}

.filter-search{
    background: #3D8AF8 !important;
    color: #fff !important;
}

.report-menu-container{
    position: relative;
    width: 100%;
    margin: 15px 0;
    padding: 20px 25px;
    border: 1px solid var(--navbar-border-color);
    background: var(--odd-segment-bg);
  }


  .reports-icon-container{
      position: relative;
      padding: 15px;
      background: #fff;
  }

  /* Unstackable Table */
  .ui.unstackable.table {
    display: table;
  }
  
  .ui.unstackable.table thead {
    display: table-header-group;
  }
  
  .ui.unstackable.table tbody {
    display: table-row-group;
  }
  
  .ui.unstackable.table tfoot {
    display: table-footer-group;
  }
  
  .ui.unstackable.table tr {
    display: table-row;
  }
  
  .ui.unstackable.table td:first-child {
    font-weight: normal;
  }
  
  .ui.unstackable.table tr > td {
    width: auto !important;
    display: table-cell;
    padding: 0.4em 0.7em;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
  }
  
  .ui.unstackable.celled.table th, .ui.unstackable.celled.table td {
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
  }
  
  .ui.unstackable.celled.table.segment th:first-child,
  .ui.unstackable.celled.table.segment td:first-child {
    border-left: none !important;
  }
  
  .ui.unstackable.celled.table.segment th:last-child,
  .ui.unstackable.celled.table.segment td:last-child {
    border-right: none !important;
  }
  
  .ui.unstackable.celled.table.segment > *:first-child > tr:first-child > th,
  .ui.unstackable.celled.table.segment > *:first-child > tr:first-child > td {
    border-top: none !important;
  }
  
  .ui.unstackable.celled.table.segment > *:last-child > tr:last-child > th,
  .ui.unstackable.celled.table.segment > *:last-child > tr:last-child > td {
    border-bottom: none !important;
  }

.activitylogcard{
    padding: 15px !important;
}