.logo img {
    max-width: 200px;
}

.sp_disable {
    pointer-events: none;
}

.custom_estimate_title {
    width: 100%;
    text-align: left;
    box-shadow: none !important;
}

.panel-heading .accordion-toggle:after {
    font-family: 'Glyphicons Halflings';
    content: "\e114";
    float: right;
    color: #3c8dbc;
}

.panel-heading .accordion-toggle.collapsed:after {
    content: "\e080";
}

.tab-content .box-header {
    padding-left: 0px;
}

.tab-content .content {
    min-height: 110px;
}

.help-block.checklist {
    display: inline-block;
}

.help-block.checklist::before {
    content: 'Summary: '
}

.e-signature .box-header {
    border-bottom: 1px solid #f4f4f4;
}

.e-signature-wrapper {
    width: 400px;
    border: 1px solid lightgrey;
    border-radius: 5px;
    margin-bottom: 10px;
}

.new-e-signature-wrapper {
    width: 48%;
    float: left;
    height: auto;
    margin: 10px;
}

#signature-pad, #second-signature-pad {
    touch-action: auto !important;
    border: 1px solid lightgrey;
    display: block;
    border-radius: 5px;
    margin-bottom: 10px;
}

.new-e-signature-wrapper #save, .new-e-signature-wrapper #clear, .new-e-signature-wrapper #undo {
    border: 1px solid lightgrey;
}

.e-signature .error-message {
    color: red;
}

.total-saved {
    font-weight: bold;
}

.contract-signature .custommer-contract-signature {
    padding-bottom: 80px;
}

.contract-signature .custommer-contract-signature-date {
    position: relative;
}

.contract-signature .custommer-contract-signature-date .contract-signature-border {
    display: inline-block;
    border-bottom: 1px solid #0f0f0f;
}

/* Made table th be one line*/
.table > thead > tr > th, .table > tbody > tr > th {
    white-space: nowrap;
}

td > .field-container,
.sonata-ba-field-standard-natural.sonata-ba-field,
.sonata-ba-field-standard-natural.sonata-ba-field > .field-container {
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-direction: row;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    align-items: center;
    flex: 1;
}

td > .field-container > .field-widget:not(.inline),
.sonata-ba-field-standard-natural > .form-control,
.sonata-ba-field-standard-natural > .field-container > span {
    flex: 1 1 75%;
    margin-right: 5px;
}

td > .field-container > .field-actions,
.sonata-ba-field-standard-natural > .field-container > .field-actions,
.sonata-ba-field-standard-natural > .field-actions {
    flex: 1 1;
    margin-top: 0;
}

.sonata-ba-field-standard-natural > .list-unstyled,
.sonata-ba-field-standard-natural > .checkbox {
    width: 100%;
}

.nav-tabs-custom > .nav-tabs > li {
    margin-bottom: 0;
    margin-right: 0;
    border-right: 1px solid #ddd;
    padding-right: 5px;
}

.nav-tabs-custom > .nav-tabs > li > a,
.nav-tabs-custom > .nav-tabs > li:hover > a {
    padding: 10px 20px;
    letter-spacing: 0.2px;
}

.nav-tabs-custom > .nav-tabs > li.active > a,
.nav-tabs-custom > .nav-tabs > li.active:hover > a {
    font-weight: 500;
    background: #f8f8f8;
    border-right: none;
}

#nested-navigation > .nav-tabs li:last-child {
    border: none;
    margin-left: 5px;
    margin-top: 5px;
}

.nav-tabs-custom > .nav-tabs > li.active,
.nav-tabs-custom > .nav-tabs > li.active:hover {
    background: #f8f8f8;

}

.icheckbox_square-blue input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.icheckbox_square-blue .iCheck-helper {
    position: absolute;
    top: 0%;
    left: 0%;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    background: rgb(255, 255, 255);
    border: 0px;
    opacity: 0;
}

.icheckbox_square-blue.checked.disabled {
    background-position: -48px 0;
}

.error-message {
    color: #ff0000;
}

.term-conditions-content .icheckbox_square-blue, .term-conditions-content .icheckbox_square-blue.hover, .deep-profile .icheckbox_square-blue, .deep-profile .icheckbox_square-blue.hover {
    margin-top: -3px;
    margin-bottom: -2px;
}

.hidden-content {
    display: none;
}

div.estimate-product-product-type, div.new_custom_estimate_basic_product {
    width: 100%;
}

div.estimate-products-tab table th:nth-child(2), div.estimate-products-tab table th:nth-child(5) {
    width: 20%;
}
div.estimate-products-tab table th:nth-child(1){
    display: none !important;
}
div.estimate-products-tab table td:nth-child(1){
    display: none !important;
}

div.estimate_notes_tab table th:nth-child(1){
    display: none !important;
}
div.estimate_notes_tab table td:nth-child(1){
    display: none !important;
}

div.estimate-products-tab table th:nth-child(3), div.estimate-products-tab table th:nth-child(4), div.estimate-products-tab table th:nth-child(6), div.estimate-products-tab table th:nth-child(7) {
    width: 10%;
}
.estimate-products-tab{
    overflow: auto;
}

@media (min-width: 1029px) and (max-width: 1399px) {
    .sonata-ba-collapsed-fields > .col-md-3 {
        width: 50%;
    }
}

@media (max-width: 1029px) {
    .main-header .logo {
        position: relative;
        width: 100%;
        z-index: 3000;
    }

    .main-header .logo > span {
        display: none;
    }

    .content-header {
        padding-top: 0;
    }

    .main-header .navbar {
        margin: 0;
    }
}

@media (max-width: 991px) {
    .skin-black .main-header > .logo {
        background-color: #ffffff;
    }

    .sonata-ba-collapsed-fields > .col-md-3 {
        width: 100%;
    }
}

.sub_phase th {
    padding-left: 30px;
}

.custom_estimate_special_note_hidden {
    display: none !important
}

.custom_estimate_special_note {
    width: 0% !important;
    padding: 0px !important;
    margin: 0px !important;
}

.contract-signature {
    padding-top: 30px;
    padding-bottom: 20px;
    padding-left: 10px;
    float: left;
    width: 50%;
}

.signature-title {
    font-size: 13px !important;
    width: 120px;
    font-weight: 700;
    float: left;
}

.e-signature-signed {
    width: 50%;
    float: left;
}

.contract-signature-border {
    width: 380px;
}

.custommer-contract-second-signature-date .signature-title {
    width: 190px;
}

.custommer-contract-second-signature-date .contract-date.contract-signature-border {
    width: 450px !important;
}

.save-contract-no-esign {
    clear: both;
}

.contract-signature-border {
    float: left !important;
    width: 300px !important;
    padding-top: 13px !important;
}

.custommer-contract-signature-date {
    height: 40px !important;
}

.disabled-note textarea {
    pointer-events: none;
    background-color: #eee;
    cursor: not-allowed;
}

.disabled-user div.select2-container.select2-allowclear a {
    pointer-events: none;
    background: #eee;
    cursor: not-allowed;
}

/*Sonata admin - breadcrumb*/
.sonata-bc .breadcrumb {
    max-width: 1000px;
}

.sonata-bc .breadcrumb li a, .sonata-bc .breadcrumb li span {
    overflow: hidden;
    padding-left: 5px;
    padding-right: 5px;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
    text-overflow: ellipsis;
}

.sonata-bc .breadcrumb li:nth-child(5) + li a, .sonata-bc .breadcrumb li:nth-child(5) span {
    max-width: 260px;
}

.sonata-bc .breadcrumb li:nth-child(8), .sonata-bc .breadcrumb li:nth-child(9) {
    display: none !important;
}

table.sales-rep-dashboard-block th, table.sales-rep-dashboard-block td {
    border: solid 1px #000000 !important;
}

.open-estimates-block .tr-red td {
    background-color: #e05038 !important;
}

.open-estimates-block .tr-yellow td {
    background-color: #f2b632 !important;
}

.open-estimates-block .tr-green td {
    background-color: #89dbd3 !important;
}

/* Material Pull Sheet*/
.material-pull-box {
    position: relative;
}

.material-print-pdf {
    position: absolute;
    right: 10px;
    top: 10px;
}

.material-pull-box table th:first-child {
    width: 25%;
}

/* Contract Par */
.par-box {
    position: relative;
}

.par-print-pdf {
    position: absolute;
    right: 10px;
    top: -38px;
}

.par-indent-style {
    text-indent: 16px;
}

.par-bold-style {
    font-weight: bold;
}

.contract-color-green {
    color: #4abf2f;
}

.contract-color-red {
    color: red;
}

ul.select2-results li.select2-disabled {
    display: none;
}

.col-md-12.linked-ptos-and-pas table th:first-child {
    width: 30px;
}

.col-md-12.linked-ptos-and-pas table th:nth-child(2) {
    width: 23%;
}

.col-md-12.linked-ptos-and-pas table th:nth-child(3) {
    width: 23%;
}

.project_name_font {
    font-weight: bold;
    font-size: 1.5em;
}

.disabled-warning {
    color: #e0d7d7 !important;
    background-color: #f39c12 !important;
}

.work_order_product_section .box-primary .box-body .sonata-ba-collapsed-fields .form-group, .work_order_phase_section .box-primary .box-body .sonata-ba-collapsed-fields .form-group, .work_order_crew_section .box-primary .box-body .sonata-ba-collapsed-fields .form-group {
    padding-left: 10px;
}

.work_order_work_section .box-primary .box-body .sonata-ba-collapsed-fields .col-md-12 {
    width: 100% !important;
}
.work_order_work_section .box-primary .box-body .sonata-ba-collapsed-fields .form-group:not(.col-md-12) {
    padding-left: 10px;
    width: auto !important;
}

.work_order_work_section .box-primary .box-body .sonata-ba-collapsed-fields .form-group textarea {
    padding-left: 10px;
    min-width: 400px !important;
}

.work_order_col_md_2 {

}

.work_order_col_md_1 {
    width: 10%;
}

.work_order_white_space {
    /*white-space: unset !important;*/
}

.dashboard-calendar-block .box-body {
    padding-left: 10%;
    padding-right: 10%;
}

.dashboard-calendar-block .fc-row {
    border-left: 1px solid #ddd !important;
    border-right: 1px solid #ddd !important;
}

.dashboard-calendar-block .fc-head-container .fc-row, .dashboard-calendar-block .fc-basicDay-view .fc-row {
    border-left: 2px solid #ddd !important;
}

.dashboard-calendar-block .fc-title a {
    color: #fff !important;
}

.dashboard-calendar-block .fc-basicDay-view a.fc-event {
    line-height: 2.5;
    font-size: 1em;
}

.dashboard-calendar-block .crew-details-column h1 {
    text-align: center;
}

.dashboard-calendar-block .crew-details-column .align-right {
    text-align: right;
}

.dashboard-calendar-block .crew-details-column .table > thead > tr > th {
    white-space: normal;
    vertical-align: top;
}

.fc-day-number:hover {
    text-decoration: underline;
    cursor: pointer;
}

.login-box-body .checkbox label {
    margin-left: 0px;
}

.fc-day-grid-event .fc-content {
    white-space: normal !important;
}

.work_order_summary ul {
    padding-left: 12px;
    padding-bottom: 2px;
    padding-top: 2px;
}

.ppl_rezise_smaller {
    width: 6%
}

.link_detail {
    display: none;
}

.tooltipevent .link_detail {
    display: block;
}

.tooltipevent {
    text-align: center;
    padding: 15px;
    border-radius: 7px;
    min-width: 180px;
    min-height: 60px;
    position: absolute;
    z-index: 10001;
    background: #ddd;
    padding-top:5px;
}
.link_day_detail{
    display: none;
}
.fc-basicDay-view .link_day_detail{
    display: inline-block;
    font-size: 12px;
}
.fc-basicDay-view .fc-content .fc-title, .fc-basicDay-view .fc-content .fc-time{
    font-size: 12px !important;
}
.link_detail .fa-clock-o{
    margin-left:  -20px;
}
.tooltipevent span{
    font-weight: bold;
}
.project-summary-block .tr-green{
    background-color: #008000 !important;
}
.project-summary-block .tr-blue{
    background-color: #87CEFA !important;
}
.project-summary-block .tr-orange{
    background-color: #FFA500 !important;
}
.project_summary_container{
    overflow: auto;
}
.project_summary_container table tr .dashboard-summary-content{
    min-width: 272px;
}
.project_summary_container table tr td .dashboard-summary-title{
    color: #fff !important;
}
.project_summary_container table tr td .dashboard-summary-phase{
    color: #000 !important;
}
.project_summary_container table tr td{
    min-width: 150px;
}

/*.sonata-ba-form .alert-danger{*/
/*display: none;*/
/*}*/
.sp_show{
    display: block !important;
}
.disabled_error{
    color: #000 !important;
    background: red !important;
}
.tooltipevent .month_title{
    display: none;
}
.fc-month-view .fc-content .fc-time{
    display: none;
}
.fc-basicDay-view .month_title{
    display: none;
}
.change_order_title{
    font-size: 20px;
    color: #008000;
    padding: 10px;
}
.project_phase_blocker{
    pointer-events: none;
    opacity: 0.4;
}
.change_order_highlight{
    background:#f0f8ff !important;
}
.customer_register_error{
    color:red;
}
.customer_register label{ width: 38%;}
.customer_register input{ width: 60%;}
.cutstomer_title{text-align: center; margin-bottom: 15px;}

.customer_button_link{
    min-width: 100px;
    min-height: 18px;
    display: block;
    float: left;
    background: #fefefe;
    border: 1px solid #e9e9e9;
    border-radius: 4px 4px 4px 4px;
    list-style: none outside none;
    margin: 7px 15px ;
    padding: 4px 15px;
    background: #ccc;
}
.customer_sale_location table tbody tr{
    border-right: 1px solid;
}
.custom_contract_document{float: left; width: 100%}
.payment_disclaimer{float: left; width: 100%; font-style: italic;}
.customer_contract_child{float:left;}
/*.register_box_support{float:left; width:70%; margin-left: 30%}*/
.change_order_item_remove{font-size: 27px !important;}
.customer_container h3{padding-left: 10px;}
.doashboard_customer_info_text{margin-left: 10px; font-style: italic; font-size: 16px;}
.alert-success .icheckbox_square-blue, .alert-success .read-more-trigger{
    display: none !important;
}
.additional_info{margin-top: 10px;}
.additional_info p, .additional_info textarea{font-family: 'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: 400;}
.wet_legalese_add_input{float: left; width: 100%}

/*Crew*/
.crew_container{
    width: 100%;
}

.crew-item {
    background: #1f568b;
    color: #fff;
}


.crew-item {
    background: #1f568b;
    color: #fff;
}

.crew-item h2 {
    margin-bottom: 2px;
}

.crew-item.crew-item-child {
    margin-left: 20px;
}

.crew-item.crew-item-child h2{
    margin-top: 2px;
    margin-bottom: 2px;
}

label.crew-item {
    display: inline-block;
    width: auto;
    padding: 5px 10px;
    font-size: 16px;
}

label.crew-item .crew_member_name {
    font-weight: 400;
    padding-right: 5px;
}

.assigned_crew label {
    background: #1f568b;
    color: #fff;
    border-radius: 10px;
    padding: 10px 5px;
    margin: 8px;
}
.assign_fully_crew_input{
    cursor: pointer;
}
.assign_crew_member{
    padding: 0px 20px;
}
.assign_crew_member .card-body{
    padding: 0px 7px 0px 10px;
}

.assign_title{
    margin-bottom: 20px;
    color: #1f568b;
    font-weight: bold;
}

.crew_container_spacing{
    padding: 10px;
}

label.assign-crew-item {
    display: block;
    width: auto;
    padding: 1px 5px;
    font-size: 14px;
}

label.assign-crew-item .crew_member_name {
    font-weight: 400;
    padding-right: 5px;
}
.assigned_fully_crew_input{
    cursor: pointer;
}
.assign_crew_cursor{
    cursor: pointer;
}
.assign_crew_header{
    width: auto;
}
.assign_crew_header::after{
    margin-left: 20px;
}
.assign_all_cm{
    float: right;
}
.day_crew_member{
    margin: 0px !important;
    padding: 0px !important;
}

.td-w-40{
    width: 40%;
}

div.project_note table th:nth-child(1) {
    width: 5%;
    text-align: center;
}

div.project_note table tr td:nth-child(1) {
    text-align: center;
}

.cke{
    width: 100% !important;
}

.work_order_work_section .col-md-12 .cke {
   width: 100%;
}

.work_to_be_completed{
    width: 10% !important;
}

