﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

.alert.alert-danger:empty {
    display: none;
}

/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    /*max-width: 280px;*/
/*}*/

.masthead {
    background-color: black;
}

.nav-stacked > li > a.li-blue {
    background-color: #31b0d5;
    color: white;
}

    .nav-stacked > li > a.li-blue:hover {
        background-color: #23527c;
        color: white;
    }

.nav-stacked > li.active > a.li-blue {
    background-color: #23527c;
    color: white;
}

.nav-stacked > li > a {
    background-color: #f0f0f0;
    display: block;
    padding: 10px 15px;
    position: relative;
}
/*Padding menu pour tenir sur une ligne*/
.nav > li > a {
    padding-left: 5px;
    padding-right: 5px;
}

.progress-large {
    height: 30px !important;
}

    .progress-large .progress-bar {
        line-height: 30px !important;
    }

.dataTables_length {
    clear: both;
    float: left;
    padding-top: 0.755em;
}

.table-fixed {
    margin: 0 auto;
    width: 100%;
    clear: both;
    border-collapse: collapse;
    table-layout: fixed;
    word-wrap: break-word;
}

.home-chart {
    font-size: 12px;
}

.page-header h2 {
    width: 80%;
}

.search-form {
    top: 40px;
    right: 0;
    position: absolute;
    z-index: 1000;
    padding: 20px;
    width: 650px;
    background-color: #222;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}

    .search-form .searchBox {
        display: inline-block;
        margin-bottom: 0;
        margin-right: 10px;
    }

.form-control-notfull {
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555;
    display: block;
    font-size: 14px;
    height: 34px;
    line-height: 1.42857;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
}

select.readonly {
    left: -2px;
    background-color: #eee;
}

.select2 {
    width: 100%;
}

.panel-body {
    padding: 15px 15px 10px 15px;
}

#DataToFill {
    height: 120px;
}

.btn-grey {
    color: #333;
    background-color: #e6e6e6;
    border-color: #ccc;
}

    .btn-grey:hover {
        color: #333;
        background-color: #ccc;
        border-color: #adadad;
    }

tr.disable > td {
    font-style: italic;
    color:#777777;
}

tr.isSolde > td {
    color:#FF851B;
}

fieldset.lotAdvance {
    margin: 8px;
    border: 1px solid silver;
    padding: 8px;
    border-radius: 4px;
    min-width: 360px;
}

    fieldset.lotAdvance legend {
        padding: 2px;
        width: auto;
        border: 0;
    }

.lotAdvance label {
    margin-left: 20px;
    width: 80px;
}

.lotAdvance .isactive {
    display: inline-block;
    margin-left: 8px;
}

.advance {
    padding: 0;
    display: inline-block;
    position: absolute;
}

    .advance .cb-advance {
        display: inline-block;
        margin-left: 10px;
        height: 30px;
    }

    .advance .tx-advance {
        display: inline-block;
    }

    .advance .input-group {
        width: 100px;
    }

        .advance .input-group input {
            background-color: transparent;
            text-align: center;
            width: 70px !important;
        }

    .advance .progress {
        height: 33px;
        width: 70px;
        margin-bottom: 0;
        position: absolute;
    }

.table-borderblack > td {
    border-color: black;
}

.table-borderblack > thead > tr > th, .table-borderblack > tbody > tr > th, .table-borderblack > tfoot > tr > th, .table-borderblack > thead > tr > td, .table-borderblack > tbody > tr > td, .table-borderblack > tfoot > tr > td {
    border-color: black;
}

.table-borderblack > thead:first-child > tr:first-child > th {
    border-width: 2px;
    border-top: solid black;
}

table.table-borderblack {
    border: 2px solid black;
}

.titleReview {
    background-color: #4f4f4f;
    color: white;
    font-weight: bold;
    padding: 10px;
}

fieldset.lotAdvancePrint {
    min-width: 210px;
}

    fieldset.lotAdvancePrint legend {
        border: 0 none;
        padding: 2px;
        width: auto;
        font-size: 13px;
        margin-bottom: 0;
    }

    fieldset.lotAdvancePrint .control-label {
        padding-top: 0;
        width: 100px;
        margin-left: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }

    fieldset.lotAdvancePrint span {
        position: absolute;
        margin-left: 10px;
    }

.formPrint-control-static {
    min-height: initial;
}

.form-groupPrint {
    margin-bottom: 0px;
}

.control-labelPrint {
    padding-top: 0 !important;
    text-align: right;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    padding: 0 !important;
}


#docAdd .qq-uploader .qq-upload-button {
    padding: 2px 6px !important;
    margin-top: -5%;
    margin-right: -23%;
}

    #docAdd .qq-uploader .qq-upload-button .btn-primary {
        padding: 2px 5px !important;
        margin-top: 0%;
    }

.helperColor {
    color: #09b71d;
}

#projectRow {
    margin-top: -10px !important;
}

#projectFormgrp {
    margin-top: -7px !important;
}

#projectFormgrp2 {
    margin-top: -17px !important;
}

.results {
    color: black;
    padding: 3px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    border-radius: 2px;
}

.text-right-mobile {
    text-align: right;
}
 
.disabledRow {
    font-style: italic;
}

table.dataTable tbody th, table.dataTable tbody td {
    padding: 2px 8px !important;
}

table.dataTable tfoot th, table.dataTable tfoot td {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.Hourtxt {
    padding-left: 1px !important;
    padding-right: 1px !important;
    padding-top: 1px !important;
    padding-bottom: 1px !important;
    height: auto !important;
    text-align: center;
}

.Hourdlt {
    padding-left: 15px !important;
    padding-right: 15px !important;
    padding-top: 1px !important;
    padding-bottom: 1px !important;
    height: auto !important;
    text-align: center;
}

.ui-widget-content {
    background-color: white !important;
    padding: 15px;
    border: 1px solid #ccc;
}

.ui-dialog-titlebar-close {
    background-color: white !important;
    color: transparent;
    background-image: url(../Images/close.png);
    background-repeat: no-repeat;
    width: 20px !important;
    height: 20px !important;
}

    .ui-dialog-titlebar-close:hover {
        background-color: white !important;
        color: transparent;
        border-color: white !important;
        background-image: url(../Images/close.png);
        background-repeat: no-repeat;
        width: 20px !important;
        height: 20px !important;
    }

.folderBtn {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.form-group-customer {
    margin-bottom: 0px;
}

.colamount {
    /*min-width: 100px !important;*/
    white-space: nowrap;
}

.colsmall {
    max-width: 60px !important;
}

.sizedesignation {
    min-width: 250px !important;
}

@media only screen and (max-width: 500px) {
    #projectsWinTable {
        table-layout: fixed;
        width: 100%;
    }

    #ClientTypeId {
        width: 100%;
    }

    #BankId {
        width: 100%;
    }
    .search-table-outter {
        overflow-x: scroll;
    }


    #ordersBookTable {
        table-layout: fixed;
        width: 100%;
    }

    #tdCount {
        width: 1px !important;
    }

    #fixedTable {
        font-size: 14px;
        display: table;
        width: 750px;
        table-layout: fixed;
        display: inline-table;
    }

        #fixedTable thead tr th, #fixedTable tbody tr th, #fixedTable tfoot tr th, #fixedTable thead tr td, #fixedTable tbody tr td, #fixedTable tfoot tr td {
            padding: 10px 10px 10px 0px !important;
        }

    .form-control-notfull {
        display: inline-block !important;
    }

    .text-editor {
        margin-left: 10%;
    }

    #mobileContainer {
        max-height: 450px !important;
        overflow-y: auto;
    }

    #mobileContainerButton {
        max-height: 450px !important;
        overflow-y: auto;
    }

    #mobileContainerCustomer {
        max-height: 300px !important;
        overflow-y: auto;
    }

    #mobileContainerComment {
        max-height: 200px !important;
        overflow-y: auto;
    }

    #mobileContainerContact {
        max-height: 200px !important;
        overflow-y: auto;
    }

    #mobileContainerDocument {
        max-height: 200px !important;
        overflow-y: auto;
    }

    #mobileContainerProject {
        max-height: 300px !important;
        overflow-y: auto;
    }

    #mobileContainerProjectWork {
        max-height: 350px !important;
        overflow-y: auto;
    }

    #mobileContainerProjectPhase {
        max-height: 350px !important;
        overflow-y: auto;
    }

    #mobileContainerAgency {
        max-height: 450px !important;
        overflow-y: auto;
    }

    .text-right-mobile {
        text-align: left;
        display: inline-block;
    }

    .text-right-mobile-text {
        position: absolute;
        margin-top: -20px;
        right: 5%;
    }


    .deleteCross {
        text-align: right;
        margin-top: -20px;
    }

    .passwdform {
        width: 250px;
        text-align: center;
        margin-left: 15% !important;
    }

    .menumobile {
        margin-top: -2%;
    }

    .mobile-title {
        font-size: 22px;
    }
}

/*#projectsWinTable td {
  word-wrap:break-word;
  word-break:break-all;
}*/

@media (max-width: 1200px) {
    .navbar-header {
        float: none;
    }

    .navbar-left, .navbar-right {
        float: none !important;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
        max-height: 100% !important;
    }

    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }

    .navbar-fixed-top-array {
        top: 0;
        border-width: 0 0 1px;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-nav {
        float: none !important;
        margin-top: 7.5px;
    }

        .navbar-nav > li {
            float: none;
        }

            .navbar-nav > li > a {
                padding-top: 10px;
                padding-bottom: 10px;
            }

    .collapse.in {
        display: block !important;
    }

    html input[disabled] {
        cursor: not-allowed;
        background-color: #eee;
    }
}

@media screen and (min-width:992px) and (max-width:1200px) {
    .main {
        margin-left: 5px !important;
        margin-right: 5px !important;
        width: auto !important;
    }

    .home-chart {
        font-size: 11px;
    }

    .home-chart-display {
        font-size: 11px;
    }

    /*.colamount {
        min-width: 80px !important;
    }*/
}



.colorpicker-control .input-group-addon i {
    border: solid 1px #808080;
}

/*Margin and padding from Bootstrap 4*/
.m-0 {
  margin: 0 !important;
}

.mt-0,
.my-0 {
  margin-top: 0 !important;
}

.mr-0,
.mx-0 {
  margin-right: 0 !important;
}

.mb-0,
.my-0 {
  margin-bottom: 0 !important;
}

.ml-0,
.mx-0 {
  margin-left: 0 !important;
}

.m-1 {
  margin: 0.25rem !important;
}

.mt-1,
.my-1 {
  margin-top: 0.25rem !important;
}

.mr-1,
.mx-1 {
  margin-right: 0.25rem !important;
}

.mb-1,
.my-1 {
  margin-bottom: 0.25rem !important;
}

.ml-1,
.mx-1 {
  margin-left: 0.25rem !important;
}

.m-2 {
  margin: 0.5rem !important;
}

.mt-2,
.my-2 {
  margin-top: 0.5rem !important;
}

.mr-2,
.mx-2 {
  margin-right: 0.5rem !important;
}

.mb-2,
.my-2 {
  margin-bottom: 0.5rem !important;
}

.ml-2,
.mx-2 {
  margin-left: 0.5rem !important;
}

.m-3 {
  margin: 1rem !important;
}

.mt-3,
.my-3 {
  margin-top: 1rem !important;
}

.mr-3,
.mx-3 {
  margin-right: 1rem !important;
}

.mb-3,
.my-3 {
  margin-bottom: 1rem !important;
}

.ml-3,
.mx-3 {
  margin-left: 1rem !important;
}

.m-4 {
  margin: 1.5rem !important;
}

.mt-4,
.my-4 {
  margin-top: 1.5rem !important;
}

.mr-4,
.mx-4 {
  margin-right: 1.5rem !important;
}

.mb-4,
.my-4 {
  margin-bottom: 1.5rem !important;
}

.ml-4,
.mx-4 {
  margin-left: 1.5rem !important;
}

.m-5 {
  margin: 3rem !important;
}

.mt-5,
.my-5 {
  margin-top: 3rem !important;
}

.mr-5,
.mx-5 {
  margin-right: 3rem !important;
}

.mb-5,
.my-5 {
  margin-bottom: 3rem !important;
}

.ml-5,
.mx-5 {
  margin-left: 3rem !important;
}

.p-0 {
  padding: 0 !important;
}

.pt-0,
.py-0 {
  padding-top: 0 !important;
}

.pr-0,
.px-0 {
  padding-right: 0 !important;
}

.pb-0,
.py-0 {
  padding-bottom: 0 !important;
}

.pl-0,
.px-0 {
  padding-left: 0 !important;
}

.p-1 {
  padding: 0.25rem !important;
}

.pt-1,
.py-1 {
  padding-top: 0.25rem !important;
}

.pr-1,
.px-1 {
  padding-right: 0.25rem !important;
}

.pb-1,
.py-1 {
  padding-bottom: 0.25rem !important;
}

.pl-1,
.px-1 {
  padding-left: 0.25rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.pt-2,
.py-2 {
  padding-top: 0.5rem !important;
}

.pr-2,
.px-2 {
  padding-right: 0.5rem !important;
}

.pb-2,
.py-2 {
  padding-bottom: 0.5rem !important;
}

.pl-2,
.px-2 {
  padding-left: 0.5rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.pt-3,
.py-3 {
  padding-top: 1rem !important;
}

.pr-3,
.px-3 {
  padding-right: 1rem !important;
}

.pb-3,
.py-3 {
  padding-bottom: 1rem !important;
}

.pl-3,
.px-3 {
  padding-left: 1rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.pt-4,
.py-4 {
  padding-top: 1.5rem !important;
}

.pr-4,
.px-4 {
  padding-right: 1.5rem !important;
}

.pb-4,
.py-4 {
  padding-bottom: 1.5rem !important;
}

.pl-4,
.px-4 {
  padding-left: 1.5rem !important;
}

.p-5 {
  padding: 3rem !important;
}

.pt-5,
.py-5 {
  padding-top: 3rem !important;
}

.pr-5,
.px-5 {
  padding-right: 3rem !important;
}

.pb-5,
.py-5 {
  padding-bottom: 3rem !important;
}

.pl-5,
.px-5 {
  padding-left: 3rem !important;
}

.m-auto {
  margin: auto !important;
}

.mt-auto,
.my-auto {
  margin-top: auto !important;
}

.mr-auto,
.mx-auto {
  margin-right: auto !important;
}

.mb-auto,
.my-auto {
  margin-bottom: auto !important;
}

.ml-auto,
.mx-auto {
  margin-left: auto !important;
}

/*Label size*/
.label-sm {
  font-size: 12px;
}

.label-md {
  font-size: 16px;
}

.label-lg {
  font-size: 20px;
}

.is-valid {
  border-color: #28a745;
}
.is-invalid {
  border-color: #dc3545;
}

.breakAll{
     word-break: break-all;
}

.form-control-xs {
        height: 22px;
        padding: 2px 5px;
        font-size: 12px;
        line-height: 1.5; /* If Placeholder of the input is moved up, rem/modify this. */
        border-radius: 3px;
}

.bootstrap-switch-container {
    width: 50px;
}

#lien-color{
  color: #fff;     
  color:inherit;
}

input:invalid {
    box-shadow: 0 0 1.5px 1px red;
}

table.dataTable tbody th,
table.dataTable tbody td {
    padding: 2px 10px
}
.text-bold {
    font-weight: bold;
}

table.childTable {
    padding: 0 5px 4px 5px;
    background-color: #F0F0F0 !important;
}

td.parentTable {
    font-weight: bold;
}