/* MODAL VIEW  */

#modalViewContrat { overflow: hidden; }

#modalViewContrat div.modal-header { border-bottom: none; padding-bottom: 5px; }

#modalViewContrat .formContrat { margin: -15px; }

#modalViewContrat div.tabPaniers table { margin-bottom: 0!important; }

/* CONTRAT FORM */

.formContrat div.custom_type { margin-top: -10px; }

@media (max-width: 1000px) {
    .formContrat div.custom_type { 
        display: block;
        padding: 6px 6px 1px 6px;
        border: 1px solid #CCC;
        background-color: #f6f6f6;
        border-radius: 4px;
    }
    .formContrat div.custom_type span.input-group-addon { 
        float: left;
        box-sizing: border-box;
        width: 100px;
        height: 35px;
        padding: 9px;
        border-top-left-radius: 4px!important;
        border-bottom-left-radius: 4px!important;
        margin-bottom: 5px;
        border-right: none;
    }
    .formContrat div.custom_type .form-control { 
        display: inline-block;
        box-sizing: border-box;
        height: 35px;
        width: calc(100% - 100px);
        border-top-right-radius: 4px!important;
        border-bottom-right-radius: 4px!important;
        margin-bottom: 5px;
    }
}

@media only screen and (hover: none) and (pointer: coarse) {
    .formContrat .form-control[type=date] { width: calc(100vw - 52px); }
    
    .formContrat div.checkbox > label { line-height: 24px; }
    .formContrat div.checkbox:not(.last) { margin-bottom: 15px; }
}

/* NAV TABS */

.formContrat ul.nav.nav-tabs { padding-left: 10px; }

